/* press sheet of trading cards
   paper, ink, crop marks; cards are objects that lift off the sheet */

:root {
	--table: #ecebe5;
	--sheet: #f8f7f3;
	--card: #ffffff;
	--ink: #0d0d0d;
	--muted: #6f6e69;
	--rule: #c9c7bf;
	--red: #e7040f;
	--gold: #ffb700;
	--blue: #003f9b;
	--lead: #4b4a46;
	--pencil-red: #c8102e;

	--sans: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
	--cond: 'HelveticaNeue-CondensedBlack', 'HelveticaNeue-CondensedBold', 'Helvetica Neue Condensed Bold',
		'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
	--hand: 'Bradley Hand', 'Noteworthy', 'Segoe Print', 'Comic Neue', cursive;
	--serif: 'Iowan Old Style', Georgia, serif;
	--spring: cubic-bezier(.34, 1.45, .5, 1);
	--ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: dark) {
	:root {
		--table: #161615;
		--sheet: #1f1f1d;
		--ink: #ecebe5;
		--muted: #9a988f;
		--rule: #3c3b37;
		--lead: #bdbab0;
		--pencil-red: #ff6b6b;
	}
}

* { box-sizing: border-box; }
html { color-scheme: light dark; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--table);
	color: var(--ink);
	font: 16px/1.4 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.locked { overflow: hidden; }
button { font: inherit; color: inherit; }
.for-touch { display: none; }
@media (hover: none) {
	.for-mouse { display: none; }
	.for-touch { display: inline; }
}

/* masthead */
.mast {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 12px 24px;
	border-bottom: 1px solid var(--ink);
	font: 11px/1 var(--mono);
	letter-spacing: .06em;
}
.marque { font: 600 15px/1 var(--mono); letter-spacing: 0; text-transform: lowercase; }
.mast-bars { display: flex; height: 12px; border: 1px solid var(--ink); }
.mast-bars i { width: 12px; }
.mast-bars i:nth-child(1) { background: #00b7eb; }
.mast-bars i:nth-child(2) { background: #ff0090; }
.mast-bars i:nth-child(3) { background: #ffe600; }
.mast-bars i:nth-child(4) { background: #000; }
.mast-bars i:nth-child(5) { background: #555; }
.mast-bars i:nth-child(6) { background: #999; }
.mast-bars i:nth-child(7) { background: #ccc; }
.mast-bars i:nth-child(8) { background: #fff; }
.mast-slug { margin-left: auto; color: var(--muted); }

/* hero: a specimen plate */
.hero { padding: 22px 24px 8px; }
.plate {
	position: relative;
	padding: clamp(26px, 2.6vw, 36px) clamp(22px, 3.2vw, 46px) clamp(18px, 2vw, 26px);
	background: #0d0d0d;
	color: #f2f1ec;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 50px -40px rgba(0, 0, 0, .6);
}
.plate::before { content: ''; position: absolute; inset: 12px; border: 1px dashed rgba(242, 241, 236, .28); pointer-events: none; }
.plate-meta, .plate-foot { position: relative; display: flex; justify-content: space-between; gap: 16px; margin: 0; font: 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(242, 241, 236, .62); }
.plate h1 { position: relative; margin: 0; font-weight: 400; min-width: 0; }

.plate-num {
	display: block;
	font: 900 clamp(60px, 10vw, 172px)/.8 var(--cond);
	letter-spacing: -.035em;
	text-transform: uppercase;
	text-shadow: -.012em .006em 0 rgba(0, 183, 235, .55), .012em -.006em 0 rgba(255, 0, 144, .5);
}
.plate-line { display: block; max-width: 24em; margin-top: clamp(10px, 1.4vw, 18px); font: 700 clamp(17px, 1.9vw, 30px)/1.1 var(--sans); letter-spacing: -.015em; }
.plate-foot { align-items: center; text-transform: none; letter-spacing: .02em; font-size: 12px; }
.barcode-gone {
	flex: none;
	width: 150px;
	height: 26px;
	background: repeating-linear-gradient(90deg, #f2f1ec 0 2px, transparent 2px 4px, #f2f1ec 4px 5px, transparent 5px 8px, #f2f1ec 8px 11px, transparent 11px 12px, #f2f1ec 12px 13px, transparent 13px 16px);
	opacity: .8;
}
@media (prefers-color-scheme: dark) { .plate { background: #050505; box-shadow: 0 0 0 1px #2c2c29; } }
@media (max-width: 600px) { .plate-meta span:nth-child(3), .barcode-gone { display: none; } }

.lede { max-width: 32em; margin: 22px 0 0; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); animation: rise .9s .4s var(--ease) both; }
.hint { margin: 26px 0 0; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; animation: rise .9s .55s var(--ease) both; }
.hint::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--red); border-radius: 50%; vertical-align: 1px; animation: blink 1.6s steps(2) infinite; }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } }
@keyframes blink { 50% { opacity: .15; } }

/* the set: a press sheet */
.sheet-wrap { padding: 40px 24px 40px; }
.sec-head h2 { margin: 0; font: 900 clamp(34px, 4vw, 56px)/.9 var(--cond); letter-spacing: -.02em; text-transform: uppercase; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 0 auto; font: 11px var(--mono); color: var(--muted); }

.sheet {
	position: relative;
	isolation: isolate;
	background: var(--sheet);
	padding: 76px 52px 56px;
	box-shadow: 0 1px 0 var(--rule), 0 30px 60px -40px rgba(0, 0, 0, .35);
	transform: rotate(-.35deg);
}
.colorbar { position: absolute; top: 22px; left: 52px; display: flex; height: 14px; border: 1px solid var(--ink); }
.colorbar i { width: 22px; }
.colorbar i:nth-child(1) { background: #00b7eb; }
.colorbar i:nth-child(2) { background: #ff0090; }
.colorbar i:nth-child(3) { background: #ffe600; }
.colorbar i:nth-child(4) { background: #000; }
.colorbar i:nth-child(5) { background: #1a1a1a; }
.colorbar i:nth-child(6) { background: #333; }
.colorbar i:nth-child(7) { background: #666; }
.colorbar i:nth-child(8) { background: #999; }
.colorbar i:nth-child(9) { background: #ccc; }
.colorbar i:nth-child(10) { background: #e5e5e5; }
.colorbar i:nth-child(11) { background: #e7040f; }
.colorbar i:nth-child(12) { background: #003f9b; }
.reg {
	position: absolute;
	width: 22px;
	height: 22px;
	border: 1px solid var(--ink);
	border-radius: 50%;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 1px 34px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 34px 1px no-repeat;
}
.reg::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink); }
.reg.tl { top: 18px; right: 52px; }
.reg.bl { bottom: 18px; left: 18px; }
.reg.br { bottom: 18px; right: 18px; }
.sheet-slug { margin: 36px 0 0; font: 10px/1.6 var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.sheet-aside {
	position: absolute;
	top: 20px;
	left: 380px;
	margin: 0;
	font: 19px/1.1 var(--hand);
	color: var(--lead);
	transform: rotate(-1.5deg);
}

/* things on the table */
.tape {
	position: absolute;
	z-index: 4;
	width: 110px;
	height: 30px;
	background: rgba(236, 222, 178, .72);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
	clip-path: polygon(0 8%, 3% 0, 6% 10%, 9% 2%, 12% 0, 88% 0, 91% 9%, 94% 1%, 97% 8%, 100% 3%, 100% 92%, 97% 100%, 94% 91%, 91% 99%, 88% 100%, 12% 100%, 9% 92%, 6% 100%, 3% 90%, 0 97%);
	pointer-events: none;
}
.tape.t1 { top: -12px; left: 40px; transform: rotate(-6deg); }
.tape.t2 { top: -10px; right: 60px; transform: rotate(5deg); }
.tape.t3 { bottom: -12px; left: 46%; transform: rotate(-3deg); }
.tape.t4 { bottom: 90px; right: -40px; transform: rotate(82deg); }
.ring {
	position: absolute;
	right: 9%;
	bottom: 58px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: radial-gradient(closest-side, transparent 80%, rgba(140, 90, 40, .16) 86%, rgba(140, 90, 40, .05) 92%, transparent 97%);
	transform: rotate(20deg) scaleY(.94);
	pointer-events: none;
}
.proof {
	position: absolute;
	z-index: 5;
	top: 8px;
	right: 110px;
	display: grid;
	place-items: center;
	width: 118px;
	height: 118px;
	border: 3px double var(--pencil-red);
	border-radius: 50%;
	color: var(--pencil-red);
	transform: rotate(14deg);
	opacity: .78;
	mix-blend-mode: multiply;
	pointer-events: none;
	text-align: center;
	line-height: 1;
}
.proof b { font: 900 30px var(--cond); letter-spacing: .04em; margin-top: 18px; }
.proof small { font: 700 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-top: -26px; }
.proof i { font: 22px var(--hand); margin-top: -34px; transform: rotate(-12deg); }
@media (prefers-color-scheme: dark) { .proof { mix-blend-mode: normal; } }

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
	grid-auto-flow: dense;
	gap: 6px;
}
.slot {
	--m: 16px;
	position: relative;
	padding: var(--m);
	perspective: 1200px;
	/* crop marks in the margin around each card */
	background:
		linear-gradient(var(--ink), var(--ink)) 0 var(--m) / 10px 1px no-repeat,
		linear-gradient(var(--ink), var(--ink)) var(--m) 0 / 1px 10px no-repeat,
		linear-gradient(var(--ink), var(--ink)) 100% var(--m) / 10px 1px no-repeat,
		linear-gradient(var(--ink), var(--ink)) calc(100% - var(--m)) 0 / 1px 10px no-repeat,
		linear-gradient(var(--ink), var(--ink)) 0 calc(100% - var(--m)) / 10px 1px no-repeat,
		linear-gradient(var(--ink), var(--ink)) var(--m) 100% / 1px 10px no-repeat,
		linear-gradient(var(--ink), var(--ink)) 100% calc(100% - var(--m)) / 10px 1px no-repeat,
		linear-gradient(var(--ink), var(--ink)) calc(100% - var(--m)) 100% / 1px 10px no-repeat;
}
.slot.featured { grid-column: span 2; grid-row: span 2; --m: 22px; }
.slot.clip { overflow: hidden; }
.deal { position: relative; }
.deal.out { visibility: hidden; }
.slot .card {
	transform: translate(var(--jx), var(--jy)) rotate(var(--jr));
	transition: transform .5s var(--spring);
}
.deal { --jx: 0px; --jy: 0px; --jr: 0deg; }
.slot:hover { z-index: 6; }
@media (hover: hover) { .slot .card:hover, .slot .card:focus-visible { transform: translateY(-8px) rotate(0deg) scale(1.04); outline: none; } }

/* pencil notes from the press operator */
.note {
	position: absolute;
	z-index: 7;
	top: -6px;
	max-width: 11em;
	font: 18px/1.05 var(--hand);
	color: var(--lead);
	transform: rotate(var(--nr));
	pointer-events: none;
	white-space: nowrap;
}
.note.red { color: var(--pencil-red); }
.note.right { right: -14px; text-align: right; }
.note.left { left: -10px; }
.note::after {
	content: '';
	position: absolute;
	top: calc(100% - 2px);
	width: 26px;
	height: 22px;
	border: 1.6px solid currentColor;
	border-color: currentColor transparent transparent transparent;
	border-radius: 50% 50% 0 0;
	transform: rotate(38deg);
}
.note.right::after { right: 12px; transform: rotate(-38deg) scaleX(-1); }
.note.left::after { left: 12px; }
.slot.featured .note { font-size: 24px; top: -10px; }

/* the card */
.card {
	--rx: 0deg;
	--ry: 0deg;
	--mx: 50;
	--my: 50;
	--hov: 0;
	--flip: 0deg;
	container-type: inline-size;
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 63 / 88;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transform: rotateX(var(--rx)) rotateY(var(--ry));
	border-radius: 4.6cqw;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 6px 14px -8px rgba(0, 0, 0, .35);
	transition: box-shadow .35s;
}
.card-flip {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	transform-style: preserve-3d;
	transform: rotateY(var(--flip));
}
.card.spinning .card-flip { transition: none; }
@media (hover: hover) { .slot .card:hover .card-inner { box-shadow: 0 2px 2px rgba(0, 0, 0, .1), 0 30px 40px -18px rgba(0, 0, 0, .45); } }

.face {
	position: absolute;
	inset: 0;
	border-radius: 4.6cqw;
	overflow: hidden;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	background: var(--card);
	color: #0d0d0d;
}
.front {
	display: flex;
	flex-direction: column;
	padding: 4.2cqw;
	border: 1px solid rgba(0, 0, 0, .14);
}
.front::before {
	content: '';
	position: absolute;
	inset: 2.4cqw;
	border-radius: 2.6cqw;
	border: .9cqw solid var(--band);
	pointer-events: none;
}
.c-head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2cqw;
	padding: 1.6cqw 2.2cqw 1.8cqw;
	background: var(--band);
	color: #fff;
	border-radius: 1.6cqw 1.6cqw 0 0;
}
.c-tool { font: 900 9.4cqw/.95 var(--cond); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-out {
	flex: none;
	padding: 1cqw 1.8cqw;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 99px;
	font: 600 3.1cqw/1 var(--mono);
	letter-spacing: .06em;
}
.r-foil .c-out { background: #fff; color: var(--band); border-color: #fff; }
.c-art {
	position: relative;
	flex: none;
	aspect-ratio: 1.42;
	background: var(--art);
	overflow: hidden;
}
.c-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.c-off {
	position: absolute;
	right: 1.8cqw;
	bottom: 1.5cqw;
	padding: .6cqw 1.2cqw;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font: 2.8cqw/1 var(--mono);
}
.c-cap {
	display: flex;
	justify-content: space-between;
	gap: 2cqw;
	padding: 1.4cqw 2.2cqw;
	background: var(--band);
	color: rgba(255, 255, 255, .85);
	font: 2.7cqw/1.2 var(--mono);
	letter-spacing: .04em;
	text-transform: uppercase;
	border-radius: 0 0 1.6cqw 1.6cqw;
}
.c-cap span:last-child { text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-body {
	position: relative;
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding: 3.4cqw 2.2cqw 1.6cqw;
	overflow: hidden;
}
.c-line {
	margin: 0;
	font: 600 5.9cqw/1.15 var(--sans);
	letter-spacing: -.012em;
	text-wrap: pretty;
	overflow-wrap: anywhere;
}
.c-flavor {
	margin: auto 0 0;
	padding-top: 1.6cqw;
	font: italic 3.5cqw/1.25 var(--serif);
	color: #6a6a66;
}
.c-wild {
	position: relative;
	margin: 0 2.2cqw 2.2cqw;
	padding: 1.2cqw 1.8cqw;
	border: 1px dashed #b88a00;
	background: #fff6d6;
	color: #6b4f00;
	font: 600 2.6cqw/1.25 var(--mono);
	letter-spacing: .02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.c-wild b { letter-spacing: .08em; }
.c-foot {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.8cqw 2.2cqw 0;
	border-top: 1px solid #0d0d0d;
	font: 2.75cqw/1 var(--mono);
	color: #555;
}
.c-rar { font-size: 4.2cqw; color: #0d0d0d; }
.r-rare .c-rar { color: #c79300; }
.r-foil .c-rar { color: var(--red); }

/* gags */
.card.dead .front::after {
	content: attr(data-died);
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 8cqw;
	background: #000;
	color: #e9e9e6;
	font: 4.2cqw/1.4 var(--mono);
	text-align: center;
	white-space: pre-line;
	z-index: 10;
	animation: crt .38s ease-out both;
}
@keyframes crt {
	0% { clip-path: inset(0 0 0 0); filter: brightness(3); }
	40% { clip-path: inset(48% 0 48% 0); filter: brightness(5); }
	100% { clip-path: inset(0 0 0 0); filter: none; }
}
@keyframes jitter { 50% { transform: translateX(1px); } }
@keyframes slide { to { transform: translateY(100%); } }


/* focus */
.focus { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; }
.focus[hidden] { display: none; }
.focus-shade { position: absolute; inset: 0; background: rgba(14, 14, 13, .86); }
.focus-stage { position: relative; width: min(460px, 86vw, calc((100vh - 110px) * 63 / 88)); perspective: 1800px; }
.focus-stage .card { width: 100%; }
.focus-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: rgba(0, 0, 0, .3);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: transform .3s var(--spring), background .2s;
}
.focus-nav:hover { background: rgba(255, 255, 255, .14); transform: scale(1.1); }
.focus-nav.prev { left: max(16px, calc(50% - 360px)); }
.focus-nav.next { right: max(16px, calc(50% - 360px)); }
.focus-help { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; font: 11px var(--mono); letter-spacing: .08em; color: rgba(255, 255, 255, .6); }

/* toast */
.toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 60;
	transform: translate(-50%, 20px) rotate(-1deg);
	padding: 12px 16px;
	background: var(--ink);
	color: var(--table);
	font: 12px/1.4 var(--mono);
	opacity: 0;
	transition: opacity .25s, transform .4s var(--spring);
	pointer-events: none;
}
.toast.on { opacity: 1; transform: translate(-50%, 0) rotate(-1deg); }

@media (max-width: 860px) {
	.mast-slug { display: none; }
	.sheet { padding: 70px 10px 40px; transform: none; }
	.sheet-aside { left: 16px; top: 44px; font-size: 16px; }
	.colorbar { left: 10px; }
	.reg.tl { right: 10px; }
	.proof { right: 18px; top: -28px; width: 92px; height: 92px; }
	.proof b { font-size: 24px; }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
	.slot { --m: 10px; }
	.slot.featured { grid-row: auto; --m: 14px; }
	.note { font-size: 15px; }
	.legend { margin-left: 0; }
	.focus-nav { top: auto; bottom: 40px; }
	.focus-nav.prev { left: 16px; }
	.focus-nav.next { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* sections, tape, deck, terminal */

.is-out { visibility: hidden !important; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 26px; margin-bottom: 28px; }
.sec-head p { max-width: 34em; margin: 0; color: var(--muted); }
.sec-head code { font: 13px var(--mono); padding: 1px 5px; border: 1px dotted var(--ink); color: var(--ink); }
.sec-no {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1.5px solid var(--ink);
	border-radius: 50%;
	font: 700 12px var(--mono);
	transform: rotate(-8deg);
	align-self: center;
}
.btn {
	display: inline-block;
	padding: 10px 14px;
	border: 1px solid var(--ink);
	background: var(--gold);
	color: #0d0d0d;
	font: 700 11px/1 var(--mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 3px 3px 0 var(--ink);
	transition: transform .15s, box-shadow .15s;
}
.btn:active { transform: translate(3px, 3px); box-shadow: none; }

/* terminal */
.run { padding: 70px 24px 40px; }
.run .sec-head .btn { margin-left: auto; }
.term {
	max-width: 900px;
	margin: 0 auto;
	border-radius: 12px;
	overflow: hidden;
	background: #0c0c0b;
	color: #e7e6df;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 60px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .5);
	transform: rotate(.4deg);
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: #23231f; font: 11px var(--mono); color: #8a897f; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #4a4a44; }
.term-bar i:nth-child(1) { background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin: 0 auto; transform: translateX(-24px); }
.term-body { height: min(460px, 62vh); overflow-y: auto; padding: 14px 16px 18px; font: 13px/1.5 var(--mono); cursor: text; overscroll-behavior: contain; }
.term-out { white-space: pre-wrap; word-break: break-word; }
.term-out .cmd { color: #fff; }
.term-out .cmd::before { content: 'you@mac ~ % '; color: #7dd3fc; }
.term-out .dim { color: #85847a; }
.term-out .err { color: #ff6b6b; }
.term-out .ok { color: #86efac; }
.term-out .gold { color: #ffd400; }
.term-out a { color: #7dd3fc; cursor: pointer; text-decoration: underline dotted; }
.term-line { display: flex; gap: 8px; align-items: baseline; }
.term-ps { color: #7dd3fc; white-space: nowrap; }
.term-line input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	padding: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	caret-color: #ffd400;
}

/* focus close */
.focus-x {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: rgba(0, 0, 0, .3);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: transform .3s var(--spring);
}
.focus-x:hover { transform: rotate(90deg) scale(1.08); }

@media (max-width: 860px) {
	.term-body { font-size: 11.5px; height: 58vh; }
	.run .sec-head .btn { margin-left: 0; }
	.note.left { left: 2px; }
	.note.right { right: 2px; }
}

.c-line.tiny { font-size: 3.2cqw; color: #9a9a96; }
.slot .card:focus-visible { transform: translateY(-8px) rotate(0deg) scale(1.04); outline: none; }
.tabbing .card:focus-visible .card-inner { box-shadow: 0 0 0 3px var(--table), 0 0 0 5px var(--ink); }

/* objects are objects: nothing on them selects as text */
.card, .note, .proof, .focus-nav, .focus-x, .cardback { -webkit-user-select: none; user-select: none; }
.back .b-cmd, .back .hex, .back .src, .back .b-text, .back .b-spec { -webkit-user-select: text; user-select: text; }

/* light on the card: a soft highlight that never washes out the words */
.shine { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
/* rare and foil cards get a lit edge: the white die-cut margin and the band catch the light */
.r-rare .shine, .r-foil .shine {
	padding: 3.2cqw;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	transition: opacity .35s;
}
.r-rare .shine {
	background: linear-gradient(115deg, #b98a10 0%, #ffe9a3 calc(var(--mx) * 1% - 12%), #fff8dc calc(var(--mx) * 1%), #ffe9a3 calc(var(--mx) * 1% + 12%), #b98a10 100%);
	opacity: calc(.55 + var(--hov) * .45);
}
.r-foil .shine {
	background: linear-gradient(115deg, #ff3d6e, #ffb547, #4dffa6, #3fb8ff, #a979ff, #ff3d6e, #ffb547, #4dffa6) calc(var(--mx) * 1%) calc(var(--my) * 1%) / 300% 300%;
	opacity: calc(.75 + var(--hov) * .25);
}
/* foil cards: the art itself is holographic */
.c-art .holo {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		repeating-linear-gradient(55deg, rgba(255, 255, 255, 0) 0 1.4cqw, rgba(255, 255, 255, .22) 1.4cqw 1.7cqw),
		linear-gradient(115deg, #ff3d6e, #ffb547, #4dffa6, #3fb8ff, #a979ff, #ff3d6e) calc(var(--mx) * 1%) calc(var(--my) * 1%) / 300% 300%;
	mix-blend-mode: color-dodge;
	opacity: calc(.16 + var(--hov) * .34);
	transition: opacity .35s;
}

/* a card's back, for packs: the set's emblem */
.cardback {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 63 / 88;
	border-radius: 4.6% / 3.3%;
	padding: 4.2%;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .14);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 6px 14px -8px rgba(0, 0, 0, .35);
	container-type: inline-size;
}
.cardback i {
	position: relative;
	display: grid;
	place-items: center;
	height: 100%;
	border-radius: 2.6cqw;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 50%, transparent 21cqw, #ff2a3c 21.2cqw 22cqw, transparent 22.2cqw),
		linear-gradient(#ff2a3c66, #ff2a3c66) 50% 0 / 1px 100% no-repeat,
		linear-gradient(90deg, #ff2a3c66, #ff2a3c66) 0 50% / 100% 1px no-repeat,
		radial-gradient(circle, rgba(255, 255, 255, .16) .55cqw, transparent .7cqw) 0 0 / 4.2cqw 4.2cqw,
		#0d0d0d;
	font: 900 26cqw/1 var(--cond);
	font-style: normal;
	letter-spacing: -.04em;
	color: #fff;
	text-shadow: -.9cqw .5cqw 0 #00b7eb, .8cqw -.4cqw 0 #ff0090;
}




@media (max-width: 860px) {
}

/* the back: the evidence, laid out like a lab sheet */
.back {
	transform: rotateY(180deg) translateZ(1px);
	display: flex;
	flex-direction: column;
	gap: 3.2cqw;
	padding: 6cqw 5.5cqw 5cqw;
	border: 1px solid rgba(0, 0, 0, .14);
	background:
		linear-gradient(var(--band), var(--band)) 0 0 / 100% 1.8cqw no-repeat,
		repeating-linear-gradient(0deg, transparent 0 5.4cqw, rgba(0, 0, 0, .035) 5.4cqw calc(5.4cqw + 1px)),
		#fbfaf6;
	font: 3cqw/1.4 var(--sans);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}
.back::-webkit-scrollbar { display: none; }
.back > * { flex-shrink: 0; }
.flipped .front .shine, .flipped .front .holo { opacity: 0; }
.b-top { display: flex; justify-content: space-between; align-items: baseline; }
.b-top b { font: 900 9cqw/.9 var(--cond); letter-spacing: -.01em; color: #0d0d0d; }
.b-top span { font: 3cqw var(--mono); color: #8a8984; }
.stamps { display: flex; flex-wrap: wrap; gap: 2.4cqw 3cqw; margin: -1cqw 0 0; }
.stamp {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	padding: 1.3cqw 2.6cqw;
	border: .6cqw solid var(--ink-stamp, #b00020);
	border-radius: 1.2cqw;
	color: var(--ink-stamp, #b00020);
	font: 800 2.9cqw/1.1 var(--mono);
	letter-spacing: .1em;
	text-decoration: none;
	transform: rotate(var(--sr, -4deg));
	mix-blend-mode: multiply;
	opacity: .9;
}
.stamp small { margin-top: .5cqw; font: 500 2.3cqw var(--mono); letter-spacing: .04em; }
.stamp.blue { --ink-stamp: #003f9b; }
.stamp.green { --ink-stamp: #00794c; }
.flipped .stamp { animation: thump .5s var(--spring) .25s both; }
.flipped .stamp:nth-child(2) { animation-delay: .38s; }
@keyframes thump { 0% { transform: scale(2.4) rotate(var(--sr)); opacity: 0; } 60% { opacity: .9; } }
.b-cmd {
	margin: 0;
	padding: 2.4cqw 3cqw;
	border-radius: 1.4cqw;
	background: #0d0d0d;
	color: #f0efe9;
	font: 3cqw/1.45 var(--mono);
	white-space: pre-wrap;
	word-break: break-word;
}
.b-cmd::before { content: '$ '; color: #ffb700; }
.b-box { border: 1px solid #0d0d0d; border-radius: 1.2cqw; overflow: hidden; background: #fff; }
.b-label { margin: 0; padding: 1.2cqw 2.4cqw; border-bottom: 1px solid #0d0d0d; font: 600 2.5cqw/1.2 var(--mono); letter-spacing: .06em; color: #0d0d0d; background: #f1efe7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hex { margin: 0; padding: 2cqw 2.4cqw; font: 2.32cqw/1.55 var(--mono); color: #3a3a38; white-space: pre; overflow: hidden; }
.hex .o { color: #b5b3ab; }
.hex .z { color: #d0cec6; }
.hex .f { background: #ff2a3c; color: #fff; border-radius: .4cqw; box-shadow: 0 0 0 .3cqw #ff2a3c; }
.src { margin: 0; padding: 2cqw 0; font: 2.5cqw/1.55 var(--mono); white-space: pre; overflow: hidden; color: #3a3a38; }
.src span { display: block; padding: 0 2.4cqw; }
.src .d { background: #ffe3e3; color: #a00000; box-shadow: inset .8cqw 0 0 #ff2a3c; }
.b-spec { margin: 0; padding: 2.4cqw 3cqw; border-left: .8cqw solid var(--band); background: #fff; font: italic 3.2cqw/1.4 var(--serif); color: #2a2a28; }
.b-get { display: flex; gap: 2cqw; margin-top: auto; padding-top: 1cqw; }
.b-get a {
	flex: 1;
	padding: 2.2cqw 0;
	border: 1px solid #0d0d0d;
	border-radius: 1.2cqw;
	background: #fff;
	color: #0d0d0d;
	font: 700 2.7cqw/1 var(--mono);
	letter-spacing: .04em;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 .8cqw 0 #0d0d0d;
	transition: transform .12s, box-shadow .12s;
}
.b-get a:first-child { background: #ffb700; }
.b-get a:hover { transform: translateY(-.3cqw); box-shadow: 0 1.1cqw 0 #0d0d0d; }
.b-get a:active { transform: translateY(.8cqw); box-shadow: 0 0 0 #0d0d0d; }

/* footer: one line */
.foot { padding: 34px 24px 46px; border-top: 1px solid var(--ink); }
.foot p { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin: 0; font: 12px/1.5 var(--mono); color: var(--muted); }

/* a sealed card in the set: face down, taped, numbered */
.slot.sealed .cardback { cursor: not-allowed; transform: translate(var(--jx, 0), var(--jy, 0)) rotate(var(--jr)); }
.sealed-back em { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font: 600 3.4cqw var(--mono); font-style: normal; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.slot.sealed .cardback:focus-visible { outline: 2px dashed var(--ink); outline-offset: 4px; }
.card.in-focus:focus-visible .card-inner { box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 6px 14px -8px rgba(0, 0, 0, .35); }
.card.in-focus { outline: none; }
.sealed-back { overflow: hidden; }
.sealed-back b {
	position: absolute;
	left: -12%;
	right: -12%;
	top: 44%;
	padding: 3cqw 0;
	background: #e7040f;
	color: #fff;
	font: 700 7cqw/1 var(--mono);
	letter-spacing: .14em;
	text-align: center;
	text-transform: uppercase;
	transform: rotate(-14deg);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.sheet-wrap .sec-head .legend { flex-basis: 100%; margin: 0; }
@media (max-width: 860px) {
	.sheet-aside { top: 46px; left: 12px; right: 40%; font-size: 15px; }
	.proof { top: -44px; right: 6px; width: 84px; height: 84px; }
	.proof b { font-size: 21px; margin-top: 12px; }
	.proof small { font-size: 7px; margin-top: -18px; }
	.proof i { font-size: 16px; margin-top: -24px; }
	.sheet { padding-top: 96px; }
}

/* the face that shows follows the live angle, so neither face ever bleeds through the other */
.card .back { visibility: hidden; }
.card.showing-back .back { visibility: visible; }
.card.showing-back .front { visibility: hidden; }

/* acts: what a card does while you hover it */
.c-line.bad { color: var(--red); }
.c-line.mono { font: 700 5cqw/1.25 var(--mono); letter-spacing: -.02em; word-break: break-all; }
.c-line.mono.long { font-size: 3.3cqw; line-height: 1.35; letter-spacing: 0; }
.c-num.hot { color: var(--red); font-weight: 700; }
.c-line mark.space { display: inline-block; min-width: 1.1em; background: #ffe1e1; outline: 1px dashed var(--red); animation: blink 1s steps(2) infinite; }
.c-line .snip { margin-left: .3em; color: var(--red); font-size: 1.4em; }
.fx { position: absolute; z-index: 4; pointer-events: none; }
.fx-chip {
	left: 50%;
	top: calc(var(--art-bottom, 52%) - 9cqw);
	transform: translateX(-50%);
	padding: 1.4cqw 2.6cqw;
	border-radius: 99px;
	background: #0d0d0d;
	color: #fff;
	font: 700 2.9cqw/1 var(--mono);
	white-space: nowrap;
	box-shadow: 0 0 0 .5cqw rgba(255, 255, 255, .9);
	animation: fx-pop .38s cubic-bezier(.22,1.4,.36,1) both;
}
.fx-chip ~ .fx-chip { top: calc(var(--art-bottom, 52%) - 17cqw); }
@keyframes fx-pop { from { transform: translateX(-50%) scale(.6); opacity: 0; } }
.fx-stamp {
	left: 50%;
	top: 34%;
	padding: 2cqw 4cqw;
	border: 1.2cqw solid #d0021b;
	border-radius: 2cqw;
	color: #d0021b;
	background: rgba(255, 255, 255, .86);
	font: 900 10cqw/1 var(--cond);
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
	transform: translate(-50%, -50%) rotate(-12deg);
	animation: fx-slam .42s cubic-bezier(.2,1.6,.4,1) both;
}
.fx-stamp.fx-green { border-color: #00794c; color: #00794c; }
@keyframes fx-slam { 0% { transform: translate(-50%, -50%) rotate(-12deg) scale(2.6); opacity: 0; } 60% { opacity: 1; } }
.fx-big {
	left: 0;
	right: 0;
	top: 6%;
	height: 40%;
	display: grid;
	place-items: center;
	color: #fff;
	font: 900 18cqw/1 var(--cond);
	text-shadow: 0 0 4cqw rgba(0, 0, 0, .8);
	animation: fx-pop2 .3s ease-out both;
}
.fx-big.fx-mono { font: 700 13cqw/1 var(--mono); }
.fx-big.fx-bad { color: #ff2a3c; }
.fx-big.fx-struck { text-decoration: line-through 1.4cqw #ff2a3c; opacity: .7; }
.fx-big.fx-swell { animation: fx-swell 1s cubic-bezier(.6,0,.9,.4) forwards; }
@keyframes fx-swell { to { transform: scale(3.4); color: #ff2a3c; } }
@keyframes fx-pop2 { from { opacity: 0; transform: scale(.8); } }
.fx-big-x {
	left: 0; right: 0; top: 2%; height: 46%;
	display: grid; place-items: center;
	color: #ff2a3c;
	font: 52cqw/1 var(--hand);
	transform: rotate(-8deg);
	animation: fx-slam2 .35s cubic-bezier(.2,1.6,.4,1) both;
}
@keyframes fx-slam2 { from { transform: rotate(-8deg) scale(2); opacity: 0; } }
.fx-ray {
	left: 50%; top: 24%;
	height: 2px; width: 0;
	background: #ff2a3c;
	box-shadow: 0 0 2cqw #ff2a3c;
	transform-origin: 0 50%;
	transform: rotate(-24deg);
	animation: fx-ray .8s cubic-bezier(.5,0,.2,1) forwards;
}
.fx-ray span { position: absolute; right: 0; top: -6cqw; font: 700 3cqw var(--mono); color: #ff2a3c; white-space: nowrap; }
@keyframes fx-ray { to { width: 140%; } }
.fx-spill { left: 4%; right: 4%; top: 44%; bottom: 4%; }
.fx-spill canvas { width: 100%; height: 100%; display: block; }
.fx-tag {
	left: 6%; top: 10%;
	padding: .8cqw 1.8cqw;
	background: #ffb700;
	color: #0d0d0d;
	font: 700 2.8cqw var(--mono);
	transition: transform .5s cubic-bezier(.22,1,.36,1);
	animation: fx-pop2 .3s ease-out both;
}
.fx-tag::after { content: ''; position: absolute; left: 100%; top: 50%; width: 30cqw; border-top: 1px dashed #ffb700; }
.fx-tag.slid { transform: translateY(14cqw); }
.fx-ghost {
	left: 10%; right: 10%; top: 10%; height: 34%;
	display: grid; place-items: center;
	border: .6cqw dashed #ffb700;
	color: #ffb700;
	font: 700 4.6cqw/1.2 var(--mono);
	text-align: center;
	white-space: pre;
	background: rgba(255, 183, 0, .08);
	animation: fx-ghost 1s cubic-bezier(.22,1,.36,1) both;
}
@keyframes fx-ghost { from { transform: scale(.2); opacity: 0; } 60% { opacity: 1; } to { transform: scale(1.35); } }
.fx-scan {
	left: 0; right: 0; top: 8%; height: 1.4cqw;
	background: #7dd3fc;
	box-shadow: 0 0 3cqw #7dd3fc;
	animation: fx-scan .8s ease-in-out forwards;
}
@keyframes fx-scan { to { top: 46%; } }
.fx-exit { left: 0; right: 0; top: 42%; text-align: center; font: 700 9cqw var(--mono); color: #00794c; animation: fx-pop2 .4s ease-out both; }
.fx-verdict { left: 6%; right: 6%; top: 40%; text-align: center; font: 700 5cqw/1.2 var(--mono); color: #ff2a3c; animation: fx-pop2 .4s ease-out both; }
.fx-poke {
	right: 0; top: 30%;
	width: 4cqw; height: 4cqw;
	background: #ff2a3c;
	box-shadow: 0 0 3cqw #ff2a3c;
	animation: fx-poke .6s cubic-bezier(.22,1.4,.36,1) forwards;
}
@keyframes fx-poke { to { right: -2cqw; } }
.fx-slip { left: 0; right: 0; top: 4%; height: 44%; border-top: .5cqw solid #ff2a3c; animation: fx-slip 1.5s steps(3) forwards; }
@keyframes fx-slip { to { transform: translateY(100%); } }
.front.fade-out .c-art, .front.fade-out .c-body, .front.fade-out .c-cap, .front.fade-out .c-wild { transition: opacity .8s, filter .8s; opacity: .06; filter: blur(2px); }
.front.ghosted > :not(.fx) { transition: opacity .4s, filter .4s; opacity: .22; filter: grayscale(1); }
.front.doubled .c-art { animation: fx-double .6s steps(2) infinite; }
@keyframes fx-double { 50% { transform: translate(3cqw, -1cqw); filter: drop-shadow(-3cqw 1cqw 0 rgba(255, 42, 60, .6)); } }
.front.shuffled .c-art { animation: fx-shuffle .8s cubic-bezier(.5,0,.2,1) forwards; }
.front.shuffled .c-head { animation: fx-shuffle2 .8s cubic-bezier(.5,0,.2,1) forwards; }
@keyframes fx-shuffle { to { transform: translateY(18cqw) rotate(-3deg); } }
@keyframes fx-shuffle2 { to { transform: translateY(60cqw) rotate(2deg); } }

/* the hero number, misread by the tools in turn */
.plate-num { white-space: nowrap; }
#count-text { display: inline-block; font-size: calc(1em * var(--fit, 1)); transition: font-size .45s cubic-bezier(.22,1,.36,1); }
.plate-num.misreading #count-text { animation: misread .5s steps(2) both; }
@keyframes misread {
	0% { text-shadow: -.04em 0 0 rgba(0, 183, 235, .9), .04em 0 0 rgba(255, 0, 144, .9); transform: translateX(-.01em); }
	50% { text-shadow: .03em 0 0 rgba(0, 183, 235, .9), -.03em 0 0 rgba(255, 0, 144, .9); transform: translateX(.01em) skewX(-4deg); }
	100% { text-shadow: -.012em .006em 0 rgba(0, 183, 235, .55), .012em -.006em 0 rgba(255, 0, 144, .5); transform: none; }
}
.plate-num.wrong #count-text { color: #ff5a67; }
.reader { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 13px !important; border: 1px solid rgba(242, 241, 236, .3); border-radius: 99px; color: #f2f1ec; font: 12px var(--mono); }
.reader i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.plate.wrong .reader i { background: #ff2a3c; box-shadow: 0 0 8px #ff2a3c; }
.reader b { font-weight: 600; }
.plate { cursor: default; }
@media (max-width: 600px) { .plate-foot { flex-direction: column; align-items: flex-start; } }

.fx-big.fx-burst { animation: fx-burst .35s ease-in forwards; }
@keyframes fx-burst { from { transform: scale(3.4); color: #ff2a3c; opacity: 1; } to { transform: scale(5); opacity: 0; filter: blur(4px); } }
.front.greyed .c-art { transition: filter .4s, opacity .4s; filter: grayscale(1) brightness(.5); }
.fx-cross { inset: 4% 4% 48%; }
.fx-cross::before, .fx-cross::after {
	content: '';
	position: absolute;
	left: -6%; right: -6%; top: 50%;
	height: 1.6cqw;
	background: #ff2a3c;
	box-shadow: 0 0 2cqw rgba(255, 42, 60, .7);
	transform: rotate(28deg) scaleX(0);
	transform-origin: 0 50%;
	animation: fx-strike .28s ease-out forwards;
}
.fx-cross::after { transform: rotate(-28deg) scaleX(0); transform-origin: 100% 50%; animation-delay: .22s; animation-name: fx-strike2; }
@keyframes fx-strike { to { transform: rotate(28deg) scaleX(1); } }
@keyframes fx-strike2 { to { transform: rotate(-28deg) scaleX(1); } }
/* each way of dying looks like itself */
.front[data-dies="panic"]::after { background: #2b1300; color: #ffb366; }
.front[data-dies="fatal"]::after { background: #330006; color: #ff8a93; }
.front[data-dies="abort"]::after { background: #0d0d0d; color: #e9e9e6; border: 1.2cqw solid #ff2a3c; }
.deal.dealing { pointer-events: none; }

.fx-ok {
	left: 50%; top: 24%;
	padding: 2cqw 4cqw;
	border-radius: 99px;
	background: #00794c;
	color: #fff;
	font: 800 6cqw/1 var(--mono);
	transform: translate(-50%, -50%);
	animation: fx-slam .4s cubic-bezier(.2,1.6,.4,1) both;
}
.fx-halt {
	left: -10%; right: -10%; top: 40%;
	padding: 2.2cqw 0;
	overflow: hidden;
	background: repeating-linear-gradient(45deg, #ffd400 0 4cqw, #0d0d0d 4cqw 8cqw);
	transform: rotate(-9deg) scaleX(0);
	transform-origin: 0 50%;
	box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .45);
	animation: fx-tape .36s cubic-bezier(.22,1,.36,1) forwards;
}
.fx-halt span { display: block; margin: 0 4%; padding: 1cqw 2cqw; background: #ffd400; color: #0d0d0d; font: 900 5.4cqw/1 var(--mono); letter-spacing: .08em; white-space: nowrap; }
@keyframes fx-tape { to { transform: rotate(-9deg) scaleX(1); } }
.front.halted .c-art { transition: filter .3s; filter: saturate(0) contrast(1.4) brightness(.7); }
.c-line.runaway { white-space: nowrap; overflow: visible; }
.c-line .past { color: var(--red); }
.fx-drip {
	left: 46%; top: 6%;
	width: 3cqw; height: 3cqw;
	background: #ff2a3c;
	box-shadow: 0 0 2.4cqw #ff2a3c;
	animation: fx-drip .9s cubic-bezier(.55,0,.85,.35) forwards;
}
@keyframes fx-drip { 60% { top: 44%; } 100% { top: 104%; } }
.front.underread .c-head, .front.underread .c-art, .front.underread .c-cap, .front.underread .c-body { transition: transform .8s cubic-bezier(.22,1,.36,1); transform: translateY(22%); }

/* the plate, in more detail */
.plate-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; margin: clamp(14px, 2vw, 26px) 0 clamp(14px, 2vw, 24px); }
.pm { position: absolute; width: 18px; height: 18px; pointer-events: none; }
.pm::before, .pm::after { content: ''; position: absolute; background: rgba(242, 241, 236, .55); }
.pm::before { left: 8px; top: 0; width: 1px; height: 18px; }
.pm::after { top: 8px; left: 0; height: 1px; width: 18px; }
.pm.tl { left: 4px; top: 4px; } .pm.tr { right: 4px; top: 4px; } .pm.bl { left: 4px; bottom: 4px; } .pm.br { right: 4px; bottom: 4px; }
.ruler {
	position: absolute;
	left: 12px; right: 12px; top: 12px;
	height: 9px;
	background: repeating-linear-gradient(90deg, rgba(242, 241, 236, .35) 0 1px, transparent 1px 8px) bottom / 100% 4px no-repeat, repeating-linear-gradient(90deg, rgba(242, 241, 236, .6) 0 1px, transparent 1px 64px) bottom / 100% 9px no-repeat;
	pointer-events: none;
}
.ruler b {
	position: absolute;
	top: 11px;
	left: var(--rx, -100px);
	transform: translateX(-50%);
	padding: 1px 5px;
	background: #ff2a3c;
	color: #fff;
	font: 600 10px/1.3 var(--mono);
	opacity: 0;
	transition: opacity .2s;
}
.ruler b::before { content: ''; position: absolute; left: 50%; top: -9px; width: 1px; height: 9px; background: #ff2a3c; }
.plate:hover .ruler b { opacity: 1; }
.plate-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.strip { display: grid; grid-template-columns: repeat(18, 11px); gap: 4px; }
.strip button {
	width: 11px;
	height: 15px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
	cursor: pointer;
	transition: transform .25s cubic-bezier(.22,1.4,.36,1), box-shadow .2s;
}
.strip button:hover, .strip button:focus-visible { transform: translateY(-4px) scale(1.5); box-shadow: inset 0 0 0 1px #fff, 0 4px 10px rgba(0, 0, 0, .6); outline: none; z-index: 1; }
.strip button.foil { background: linear-gradient(135deg, #ff3d6e, #ffb547, #4dffa6, #3fb8ff, #a979ff); }
.strip button.rare { box-shadow: inset 0 0 0 1.5px #ffcc33; }
.strip button.sealed { background: #000; box-shadow: inset 0 0 0 1px #ff2a3c; }
.strip button.sealed::after { content: ''; display: block; height: 3px; margin-top: 6px; background: #ff2a3c; transform: rotate(-20deg); }
.strip-note { margin: 0; font: 10px/1.4 var(--mono); letter-spacing: .08em; color: rgba(242, 241, 236, .55); max-width: 270px; text-align: right; min-height: 2.8em; }
.strip-note b { color: #f2f1ec; font-weight: 600; }
@media (max-width: 860px) {
	.plate-body { grid-template-columns: 1fr; }
	.plate-side { align-items: flex-start; }
	.strip { grid-template-columns: repeat(18, 1fr); width: 100%; }
	.strip button { width: auto; }
	.strip-note { text-align: left; }
}

/* fx leave softly */
.fx.leaving { transition: opacity .18s ease-in; opacity: 0; }
.fx-under {
	left: 2.4cqw; right: 2.4cqw; top: 2.4cqw; height: 0;
	background:
		repeating-linear-gradient(90deg, rgba(255, 42, 60, .9) 0 2.6cqw, rgba(13, 13, 13, .9) 2.6cqw 3cqw, rgba(255, 255, 255, .5) 3cqw 4.2cqw, rgba(13, 13, 13, .9) 4.2cqw 5cqw),
		#0d0d0d;
	z-index: 1;
	animation: fx-under .8s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes fx-under { to { height: 20%; } }

/* the art reads the byte under the pointer */
.c-art::after {
	content: '';
	position: absolute;
	left: var(--px, 50%); top: var(--py, 50%);
	width: 6cqw; height: 6cqw;
	margin: -3cqw 0 0 -3cqw;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .5);
	opacity: 0;
	transition: opacity .2s, left .08s linear, top .08s linear;
	pointer-events: none;
}
.c-art.reading::after { opacity: 1; }
.c-off { transition: background .15s, color .15s; }
.c-off.hit { background: #ff2a3c; color: #fff; }

/* the sealed card: redacted, under a tamper seal */
.slot.sealed .card { transform: translate(var(--jx, 0), var(--jy, 0)) rotate(var(--jr)); cursor: not-allowed; }
.card.redacted { --band: #0d0d0d; --art: #050505; }
.card.redacted .front { background: #f4f2ec; }
.card.redacted .c-art { background: #050505; }
.card.redacted .c-art canvas { image-rendering: pixelated; filter: contrast(1.2); }
.card.redacted .scan {
	position: absolute; left: 0; right: 0; top: -10%; height: 8%;
	background: linear-gradient(transparent, rgba(255, 42, 60, .55), transparent);
	animation: scan 3.2s linear infinite;
	pointer-events: none;
	will-change: transform;
}
/* moved, not re-laid-out: animating top repainted the sheet every frame */
@keyframes scan { to { transform: translateY(1500%); } }
.c-line.bars { display: grid; gap: 1.6cqw; margin-top: 1cqw; }
.c-line.bars i { display: block; height: 4.6cqw; background: #0d0d0d; color: #ff2a3c; font: 700 3cqw/4.6cqw var(--mono); font-style: normal; padding-left: 1.4cqw; overflow: hidden; white-space: nowrap; }
.card.redacted .c-flavor { color: #8a8984; }
.tamper-box {
	position: absolute;
	z-index: 3;
	left: 50%; top: 52%;
	width: 46cqw; height: 46cqw;
	margin: -23cqw 0 0 -23cqw;
	transform: rotate(-12deg);
	pointer-events: none;
}
.tamper {
	position: absolute; inset: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		radial-gradient(circle at calc(var(--mx) * 1%) calc(var(--my) * 1%), rgba(255, 255, 255, .85), transparent 40%),
		repeating-radial-gradient(circle at 50% 50%, transparent 0 1.2cqw, rgba(255, 255, 255, .18) 1.2cqw 1.5cqw),
		conic-gradient(from calc(var(--mx) * 3.6deg), #ff3d6e, #ffb547, #4dffa6, #3fb8ff, #a979ff, #ff3d6e);
	box-shadow: 0 0 0 1cqw rgba(255, 255, 255, .9), 0 1.5cqw 4cqw rgba(0, 0, 0, .45);
}
.tamper .seal-ring { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.card.redacted:hover .tamper .seal-ring { animation-duration: 6s; }
.tamper .seal-ring span {
	position: absolute; left: 50%; top: 3cqw;
	height: 20cqw;
	transform-origin: 50% 100%;
	transform: translateX(-50%) rotate(var(--a));
	font: 800 2.6cqw/1 var(--mono);
	color: rgba(13, 13, 13, .8);
}
.tamper b { position: relative; font: 900 15cqw/1 var(--cond); color: rgba(13, 13, 13, .88); letter-spacing: -.04em; }
@keyframes static { 50% { background-position: 0 0, 3cqw -5cqw, 0 0; } }
.fx-ok.fx-cracked { background: #ff2a3c; clip-path: polygon(0 0, 46% 0, 52% 40%, 44% 58%, 55% 100%, 0 100%, 0 0, 100% 0, 100% 100%, 58% 100%, 50% 62%, 57% 42%, 50% 0); transition: background .2s; }
/* pause: frozen mid-frame, like a paused tape */
.card.dead .front[data-dies="pause"]::after {
	background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .35) 0 2px, transparent 2px 5px), rgba(10, 10, 20, .55);
	color: #fff;
	font: 900 12cqw/1.1 var(--cond);
	letter-spacing: .04em;
	animation: none;
}
.card.dead .front[data-dies="pause"] .c-art { filter: saturate(.3) blur(.4px); transform: translateX(1.4cqw); }
/* blank: it was meant to print a report. it prints nothing */
.card.dead .front[data-dies="blank"]::after { background: #fbfaf6; color: #0d0d0d; font: 700 7cqw var(--mono); place-items: start; padding: 10cqw 8cqw; animation: blink 1s steps(2) infinite; }
/* torn: it read past the edge, and the edge gave */
.card.dead .front[data-dies="torn"] { clip-path: polygon(0 0, 78% 0, 74% 9%, 81% 18%, 73% 30%, 80% 41%, 72% 53%, 79% 66%, 71% 78%, 78% 90%, 74% 100%, 0 100%); transition: clip-path .25s cubic-bezier(.5,0,.75,0); }
.card.dead .front[data-dies="torn"]::after { background: transparent; color: #ff2a3c; font-weight: 700; place-items: end start; padding: 6cqw; animation: none; }
/* gone: it went looking for a file that is not there */
.card.dead .front[data-dies="gone"] > :not(.fx) { transition: opacity .5s; opacity: 0; }
.card.dead .front[data-dies="gone"]::after { background: #fbfaf6; color: #6a6964; font-size: 3.2cqw; outline: .5cqw dashed #b9b6ab; outline-offset: -5cqw; animation: none; }
/* drain: the byte fell out the bottom, and everything followed */
.card.dead .front[data-dies="drain"] > :not(.fx) { transition: transform .7s cubic-bezier(.55,0,.85,.35); transform: translateY(140%); }
.card.dead .front[data-dies="drain"] > .c-art { transition-delay: .08s; }
.card.dead .front[data-dies="drain"] > .c-cap { transition-delay: .14s; }
.card.dead .front[data-dies="drain"] > .c-head { transition-delay: .2s; }
.card.dead .front[data-dies="drain"]::after { background: transparent; color: #ff2a3c; font-weight: 700; animation: fx-pop2 .3s .6s ease-out both; }
/* bus: the slices of the card stop agreeing on where they are */
.card.dead .front[data-dies="bus"] .c-art { animation: bus .5s steps(3) infinite; }
.card.dead .front[data-dies="bus"] .c-body { animation: bus .5s steps(3) infinite reverse; }
.card.dead .front[data-dies="bus"] .c-head { animation: bus .7s steps(2) infinite; }
@keyframes bus { 0% { transform: translateX(-4cqw); filter: hue-rotate(90deg); } 50% { transform: translateX(3cqw); } 100% { transform: translateX(-1cqw); filter: none; } }
.card.dead .front[data-dies="bus"]::after { background: transparent; color: #ff2a3c; font-weight: 800; place-items: end center; padding: 5cqw; animation: none; text-shadow: 0 0 1cqw #fff, 0 0 2cqw #fff; }
/* collapse: the pieces were out of order; now they are on the floor */
.card.dead .front[data-dies="collapse"] > :not(.fx) { transition: transform .8s cubic-bezier(.55,0,.85,.35), opacity .8s; }
.card.dead .front[data-dies="collapse"] > .c-head { transform: translate(4%, 340%) rotate(14deg); }
.card.dead .front[data-dies="collapse"] > .c-art { transform: translate(-6%, 120%) rotate(-9deg); }
.card.dead .front[data-dies="collapse"] > .c-cap { transform: translate(8%, 600%) rotate(6deg); }
.card.dead .front[data-dies="collapse"] > .c-body { transform: translate(-4%, 60%) rotate(-4deg); opacity: .4; }
.card.dead .front[data-dies="collapse"]::after { background: rgba(43, 19, 0, .9); color: #ffb366; animation: fx-pop2 .3s .55s ease-out both; }
/* fatal: the compiler's own stack trace */
.card.dead .front[data-dies="fatal"]::after { text-align: left; place-items: center start; font-size: 2.8cqw; line-height: 1.5; padding: 6cqw; }
/* xcode: the debugger stops on the line */
.fx-xcode {
	left: 2.4cqw; right: 2.4cqw; top: 30%;
	display: flex; align-items: center; gap: 2cqw;
	padding: 1.6cqw 2cqw;
	background: rgba(255, 214, 214, .96);
	border-top: 1px solid #f19c9c;
	border-bottom: 1px solid #f19c9c;
	color: #9b1111;
	font: 600 2.8cqw/1.2 'SF Pro Text', var(--sans);
	animation: fx-pop2 .25s ease-out both;
}
.fx-xcode b { flex: none; color: #2fa24a; font-size: 4cqw; }

/* otool-4: what lies before the file floods in */
.front.underread::before { background: repeating-linear-gradient(90deg, #ff2a3c 0 2cqw, #0d0d0d 2cqw 3cqw), #0d0d0d; }
.fx-big { font-size: 22cqw; }
.fx-big.fx-mono { font-size: 11cqw; letter-spacing: -.03em; }
.fx-big.fx-small { font-size: 6cqw; top: 30%; height: auto; color: #ffd400; }
.c-line.mono.huge { font-size: 8cqw; }
.fx-ray { height: 1.2cqw; top: 22%; }
.fx-ray span { top: -8cqw; font: 800 5cqw var(--mono); text-shadow: 0 0 2cqw rgba(0, 0, 0, .8); }
.fx-poke { right: 0; top: 24%; width: 16cqw; height: 16cqw; border-radius: 1cqw; }
.fx-poke span { position: absolute; right: 2cqw; top: 105%; font: 800 3.4cqw var(--mono); color: #ff2a3c; white-space: nowrap; }
@keyframes fx-poke { to { right: -9cqw; } }
.fx-tag { font-size: 4.4cqw; padding: 1.2cqw 2.4cqw; }
.fx-tag.slid { transform: translateY(18cqw); }
/* the note under the strip keeps one size, whatever card it names */
.strip-note { height: 4.3em; min-height: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; width: min(270px, 100%); }
.card.dead .shine, .card.dead .holo { opacity: 0 !important; }

/* a card on its side: the card on the left, its bug drawn large on the right */
.slot.wide { grid-column: span 2; }
.slot.wide .card { aspect-ratio: 128 / 88; }
.slot.wide .card-inner, .slot.wide .face { border-radius: 2.3cqw; }
.slot.wide .front { flex-direction: row; padding: 0; border: 0; background: transparent; }
.slot.wide .front::before { display: none; }
.slot.wide .shine { display: none; }
.col { position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; container-type: inline-size; }
.col.l { padding: 4.2cqw; background: var(--card); border: 1px solid rgba(0, 0, 0, .14); border-right: 0; border-radius: 4.6cqw 0 0 4.6cqw; }
.col.l::before { content: ''; position: absolute; inset: 2.4cqw; border-radius: 2.6cqw; border: .9cqw solid var(--band); pointer-events: none; }
.scene {
	justify-content: center;
	gap: 4cqw;
	padding: 8cqw 7cqw;
	background: var(--art);
	color: #f2f1ec;
	border-radius: 0 4.6cqw 4.6cqw 0;
	overflow: hidden;
	box-shadow: inset 0 0 0 2.4cqw var(--card), inset 0 0 0 3.3cqw var(--band);
	font-family: var(--mono);
}

/* llvm-objdump-7: a split-flap board */
.flap-row { display: grid; grid-template-columns: 7cqw 1fr; align-items: center; gap: 2cqw; font: 600 4cqw/1 var(--mono); transition: opacity .2s; }
.scene-llvm-objdump-7 { gap: 1.6cqw; }
.flap-row .idx { color: #5f6f8f; }
.flap-row .tile { padding: 1.6cqw 2.4cqw; background: #142446; border-radius: 1cqw; box-shadow: inset 0 -.5cqw 0 rgba(0, 0, 0, .35), inset 0 50% 0 rgba(255, 255, 255, .03); }
.flap-row.read .idx { color: #ffd400; }
.flap-row .tile.flip { animation: flapflip .28s ease-in-out; }
.flap-row .tile.stuck { background: #4a0c14; color: #ff6b6b; }
@keyframes flapflip { 50% { transform: rotateX(90deg); } }

/* filemanager-1: the path grows; the folder at the end stops being one */
.scene-filemanager-1 { align-items: flex-start; }
.fm-icon { width: 24cqw; fill: #9a9a9a; transition: fill .3s; }
.fm-icon svg { display: block; width: 100%; stroke: #fff; stroke-width: 1.2; }
.scene-filemanager-1.dead .fm-icon { fill: #ff2a3c; animation: fx-slam2 .35s cubic-bezier(.2,1.6,.4,1); }
.fm-count { font: 900 16cqw/1 var(--cond); }
.scene-filemanager-1.near .fm-count { color: #ffd400; }
.scene-filemanager-1.dead .fm-count { color: #ff2a3c; }
.scene-filemanager-1.dead .fm-count::after { content: '  Not a directory'; font: 700 4cqw var(--mono); }
.fm-ruler { position: relative; width: 100%; height: 3cqw; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 1px, transparent 1px 4.5%); border-bottom: 1px solid rgba(255, 255, 255, .4); }
.fm-ruler i { position: absolute; left: 0; top: 0; bottom: 0; background: #9a9a9a; }
.scene-filemanager-1.near .fm-ruler i { background: #ffd400; }
.scene-filemanager-1.dead .fm-ruler i { background: #ff2a3c; }
.fm-ruler b { position: absolute; left: 93.1%; top: -1.5cqw; bottom: -6cqw; border-left: 1.5px dashed #ff2a3c; padding-left: 1cqw; padding-top: 5cqw; font: 600 2.8cqw var(--mono); color: #ff2a3c; }
.fm-path { width: 100%; font: 2.8cqw/1.4 var(--mono); color: rgba(255, 255, 255, .5); word-break: break-all; height: 12cqw; overflow: hidden; }

/* libdyld-1: the name stutters */
.ld-want, .ld-got { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1.2cqw 0; font: 3.6cqw/1.3 var(--mono); }
.ld-want span, .ld-got span { flex-basis: 100%; font-size: 2.8cqw; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ld-want b, .ld-got b { font-weight: 700; padding: 1cqw 1.4cqw; background: rgba(255, 255, 255, .08); border-radius: .8cqw; }
.ld-want b { color: #86efac; }
.ld-got .b, .ld-got .one { max-width: 0; padding-inline: 0; overflow: hidden; white-space: nowrap; color: #ff6b6b; background: rgba(255, 42, 60, .14); transition: max-width .7s cubic-bezier(.22,1,.36,1), padding .7s; }
.scene-libdyld-1.go .ld-got .b { max-width: 70cqw; padding-inline: 1.4cqw; }
.scene-libdyld-1.go .ld-got .one { max-width: 8cqw; padding-inline: 1.4cqw; transition-delay: .5s; }
.ld-miss { align-self: flex-start; padding: 1.4cqw 2.6cqw; border: .5cqw dashed #ff2a3c; color: #ff2a3c; font: 800 4cqw var(--mono); opacity: 0; transform: scale(.8); transition: opacity .3s .9s, transform .4s .9s cubic-bezier(.2,1.6,.4,1); }
.scene-libdyld-1.go .ld-miss { opacity: 1; transform: none; }

/* openssl-1: cut at 79, two IDs become one */
.scene-openssl-1 { gap: 6cqw; }
.oid { position: relative; font: 600 3.7cqw/1.45 var(--mono); word-break: break-all; padding: 2cqw 2.6cqw; background: rgba(255, 255, 255, .06); border-radius: 1cqw; }
.oid .tail { display: inline-block; color: #ffd400; font-weight: 800; transition: transform .6s cubic-bezier(.55,0,.85,.35) .5s, opacity .6s .5s; }
.oid.b .tail { color: #7dd3fc; }
.scene-openssl-1.go .oid .tail { transform: translate(4cqw, 40cqw) rotate(70deg); opacity: 0; }
.scissors { position: absolute; left: 6cqw; top: 50%; font-size: 14cqw; color: #ff2a3c; transform: translateY(-50%); opacity: 0; transition: left .5s ease-in, opacity .2s; }
.scene-openssl-1.go .scissors { left: 80%; opacity: 1; }
.oid-eq { position: absolute; right: 50%; top: 50%; font: 900 26cqw/1 var(--cond); text-shadow: 0 0 4cqw rgba(0,0,0,.8); color: #ff2a3c; transform: translate(50%, -50%) scale(0); transition: transform .4s cubic-bezier(.2,1.6,.4,1) 1.1s; }
.scene-openssl-1.go .oid-eq { transform: translate(50%, -50%) scale(1); }
.scene-openssl-1.go .oid { outline: .5cqw solid #ff2a3c; transition: outline-color .3s 1.1s; }

/* dyld-info-10: the read runs off the end */
.rd-strip { display: flex; gap: .8cqw; width: 100%; }
.rd-strip i { flex: 1 1 0; min-width: 0; height: 9cqw; display: grid; place-items: center; font: 700 4.2cqw var(--mono); font-style: normal; border-radius: .8cqw; background: rgba(255, 255, 255, .1); transition: background .15s, color .15s; }
.rd-strip i.eof { flex: 2 1 0; background: #f2f1ec; color: #0d0d0d; font-size: 3cqw; }
.rd-strip i.void { background: repeating-linear-gradient(45deg, transparent 0 1cqw, rgba(255, 255, 255, .07) 1cqw 2cqw); color: transparent; border: 1px dashed rgba(255, 255, 255, .2); }
.rd-strip i.lit { background: #ffd400; color: #0d0d0d; }
.rd-strip i.void.lit { background: #ff2a3c; color: #fff; border-color: #ff2a3c; }
.rd-strip i.eof.lit { background: #ff2a3c; color: #fff; }
.rd-track { position: relative; padding-top: 5cqw; }
.rd-head { position: absolute; left: 0; top: 0; margin-left: -2cqw; width: 0; height: 0; border: 2cqw solid transparent; border-top: 3cqw solid #ffd400; transition: transform .12s linear; }
.scene-dyld-info-10.past .rd-track { position: relative; padding-top: 5cqw; }
.rd-head { position: absolute; left: 0; top: 0; margin-left: -2cqw; width: 0; height: 0; border: 2cqw solid transparent; border-top: 3cqw solid #ffd400; transition: transform .12s linear; }
.rd-label { font: 2.8cqw var(--mono); color: rgba(255, 255, 255, .55); }
.scene-dyld-info-10.crashed { animation: fx-glitchbox .3s steps(2) 3; }
@keyframes fx-glitchbox { 50% { transform: translateX(1.5cqw); filter: hue-rotate(90deg); } }

/* ipsw-2: a 13 GB region that is not there */
.scene-ipsw-2 { overflow: visible; }
.cmap-real { font: 2.8cqw var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); transition: color .3s; }
.cmap { display: flex; gap: .6cqw; height: 16cqw; width: 100%; transition: width .9s cubic-bezier(.7,0,.3,1); }
.cmap i { display: grid; place-items: center; overflow: hidden; background: #0f766e; border-radius: .8cqw; font: 600 2.6cqw var(--mono); font-style: normal; white-space: nowrap; color: #d6fff7; }
.cmap i:nth-child(2) { background: #14a394; }
.cmap i:nth-child(3) { background: #0b5a54; }
.cmap i:nth-child(4) { background: #0a4743; }
.cmap-ghost { position: relative; height: 22cqw; width: 0; border: .6cqw dashed #ffb700; border-radius: 1cqw; background: repeating-linear-gradient(45deg, rgba(255, 183, 0, .14) 0 2cqw, transparent 2cqw 4cqw); color: #ffb700; display: flex; flex-direction: column; justify-content: center; padding-left: 4cqw; overflow: hidden; white-space: nowrap; opacity: 0; transition: width 1s cubic-bezier(.22,1,.36,1) .3s, opacity .2s .3s; }
.cmap-ghost b { font: 900 7cqw/1 var(--cond); }
.cmap-ghost span { font: 800 5cqw/1.2 var(--mono); }
.scene-ipsw-2.go .cmap { width: 9%; }
.scene-ipsw-2.go .cmap i { font-size: 0; }
.scene-ipsw-2.go .cmap-ghost { width: 160%; opacity: 1; }
.scene-ipsw-2.go .cmap-real { color: #ffb700; }

/* the sealed card stays flat: Safari drops clipped, spinning layers inside a 3D tilt */
.card.redacted .card-inner { transform-style: flat; transform: perspective(900px) rotateX(calc(var(--rx) * .5)) rotateY(calc(var(--ry) * .5)); }
.card.redacted .face { -webkit-backface-visibility: visible; backface-visibility: visible; }
.tamper { overflow: visible; }
.tamper .seal-ring { animation: none; transition: transform 6s linear; }
.card.redacted:hover .tamper .seal-ring { transform: rotate(140deg); }
.tamper .keyhole { position: relative; width: 15cqw; display: block; filter: drop-shadow(0 .3cqw 0 rgba(255, 255, 255, .6)); }
.tamper .keyhole svg { display: block; width: 100%; fill: rgba(13, 13, 13, .9); stroke: rgba(13, 13, 13, .7); }
.tamper .keyhole svg circle:last-child { fill: none; }
/* a bigger corner comes up when you pick at it */


.tamper { clip-path: none !important; }

html { overflow-x: clip; }
.card.rest-back .card-flip, .card.rest-back .card-inner { transform-style: flat; }
.card.rest-back .card-flip { transform: none !important; }
.card.rest-back .back { transform: none; }
.focus-shade { z-index: 0; } .focus-stage { z-index: 1; }

/* a wide card opens wide */
.focus-stage.wide { width: min(960px, 94vw, calc((100vh - 110px) * 128 / 88)); }
.focus-stage.wide .card { aspect-ratio: 128 / 88; }
.focus-stage.wide .card-inner, .focus-stage.wide .face { border-radius: 2.3cqw; }
.focus-stage.wide .front { flex-direction: row; padding: 0; border: 0; background: transparent; }
.focus-stage.wide .front::before, .focus-stage.wide .shine { display: none; }
@media (max-width: 860px) {
	.focus-stage.wide { width: 94vw; }
}
.focus:has(.focus-stage.wide) .focus-nav.prev { left: max(8px, calc(50% - min(480px, 47vw) - 64px)); }
.focus:has(.focus-stage.wide) .focus-nav.next { right: max(8px, calc(50% - min(480px, 47vw) - 64px)); }

/* the wide back, as a spread */
.back.spread { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 2.2cqw; padding: 3.4cqw 3.6cqw 3cqw; overflow: hidden; }
.sp-top { display: flex; align-items: center; gap: 4cqw; }
.sp-top .b-top { flex: 1; }
.sp-top .b-top b { font-size: 5.4cqw; }
.sp-top .b-top span { font-size: 1.6cqw; }
.sp-top .stamps { margin: 0; padding: 0; flex-wrap: nowrap; }
.spread .stamp { font-size: 1.6cqw; padding: .8cqw 1.6cqw; border-width: .35cqw; }
.spread .stamp small { font-size: 1.3cqw; }
.sp-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; min-height: 0; }
.sp-mid > * { min-height: 0; overflow: hidden; }
.sp-mid > :only-child { grid-column: 1 / -1; }
.spread .b-box { display: flex; flex-direction: column; }
.spread .b-label { font-size: 1.5cqw; padding: .8cqw 1.4cqw; }
.spread .hex { flex: 1; display: block; font-size: 1.36cqw; line-height: 1.62; padding: 1.4cqw 1.6cqw; }
.spread .src { flex: 1; display: block; font-size: 1.5cqw; line-height: 1.75; padding: 1.4cqw 0; overflow: hidden; }
.spread .src span { padding: 0 1.4cqw; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.spread .b-spec { font-size: 1.8cqw; padding: 1.6cqw 2cqw; border-left-width: .5cqw; }
.sp-low { display: grid; grid-template-columns: 1fr auto; gap: 2.4cqw; align-items: center; }
.spread .b-cmd { font-size: 1.6cqw; padding: 1.4cqw 1.8cqw; border-radius: .8cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spread .b-get { margin: 0; padding: 0; gap: 1.2cqw; }
.spread .b-get a { flex: none; padding: 1.3cqw 2.4cqw; font-size: 1.5cqw; border-radius: .7cqw; box-shadow: 0 .45cqw 0 #0d0d0d; }
.spread .b-cmd:hover::after { font-size: 1.3cqw; }

/* ===== acts drawn inside the art ===== */
.fx-layer { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 2cqw; padding: 4cqw 5cqw; color: #f2f1ec; font-family: var(--mono); background: color-mix(in srgb, var(--art) 88%, transparent); animation: fx-pop2 .3s ease-out both; overflow: hidden; }
.fx-out { position: absolute; z-index: 6; pointer-events: none; }
.dg { display: inline-block; }
.bits { display: flex; gap: .6cqw; justify-content: center; }
.bits i { display: grid; place-items: center; width: 3.6cqw; height: 5.4cqw; border-radius: .6cqw; background: rgba(255, 255, 255, .1); font: 700 3cqw var(--mono); font-style: normal; transition: background .3s, color .3s, opacity .3s, transform .4s; }
.bits i.sign { background: #00794c; color: #fff; }
.bits i.sign.lost { background: transparent; color: rgba(255, 255, 255, .25); text-decoration: line-through; transform: translateY(-1.5cqw) rotate(-14deg); }
.di7-val { align-self: center; font: 900 15cqw/1 var(--cond); }
.di7-val.bad { color: #ff2a3c; }

/* 1 dsc-extract-1 */
.dx1 { padding: 2cqw 5cqw; justify-content: flex-start; }
.dx1-list { display: flex; flex-direction: column; gap: .4cqw; width: 60%; }
.dx1-list i { display: block; height: 3.8cqw; padding-left: 1.4cqw; font: 600 2.5cqw/3.8cqw var(--mono); font-style: normal; background: rgba(255, 255, 255, .08); border-radius: .5cqw; overflow: hidden; }
.dx1-list i.pub { background: rgba(125, 211, 252, .25); }
.dx1-list i.imp { background: rgba(255, 212, 0, .2); }
.dx1-list i.new { background: #ff2a3c; color: #fff; }
.dx1-m { position: absolute; left: 68%; font: 700 2.6cqw var(--mono); transition: color .3s; }
.dx1-m.p { top: calc(2cqw + 3 * 4.2cqw + .3cqw); color: #7dd3fc; }
.dx1-m.i { top: calc(2cqw + 7 * 4.2cqw + .3cqw); color: #ffd400; }
.dx1.off .dx1-m { color: #ff2a3c; }
.dx1.off .dx1-m::after { content: '  ✕ 5 off'; }

/* 2 dsc-extract-2 */
.dx2-track { position: relative; height: 10cqw; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.dx2-list { position: absolute; left: 0; bottom: 0; width: 60%; height: 8cqw; display: grid; place-items: center; background: #7dd3fc; color: #0d0d0d; font: 700 2.6cqw var(--mono); font-style: normal; transform-origin: 0 100%; white-space: nowrap; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.dx2-ptr { position: absolute; left: 120%; bottom: 9cqw; transform: translateX(-50%); color: #ff2a3c; font: 800 3.2cqw var(--mono); white-space: nowrap; transition: left .4s cubic-bezier(.22,1,.36,1); }
.dx2-scale { align-self: flex-end; font: 900 9cqw/1 var(--cond); color: rgba(255, 255, 255, .85); }
.dx2.far .dx2-ptr { animation: blink .8s steps(2) infinite; }

/* 3 dyld-info-1 */
.di1-name { position: relative; font: 800 5.6cqw/1.2 var(--mono); white-space: nowrap; animation: fx-pop2 .3s ease-out both; }
.di1-name .tail { display: inline-block; color: #7dd3fc; transition: transform .7s cubic-bezier(.55,0,.85,.35), opacity .7s; }
.di1-name .tail.drop { transform: translate(3cqw, 30cqw) rotate(80deg); opacity: 0; }
.di1-snip { position: absolute; left: 30%; top: 30%; font-size: 9cqw; color: #ff2a3c; font-style: normal; animation: snip .4s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes snip { to { left: 74%; } }
.di1-code { align-self: flex-start; padding: 1.2cqw 2.4cqw; border-radius: .8cqw; background: rgba(255, 255, 255, .12); font: 800 5cqw var(--mono); transition: background .3s; }
.di1-code.bad { background: #ff2a3c; }
.di1-code small { margin-left: 2cqw; font-size: 3cqw; opacity: .85; }

/* 13 libdyld-2 */
.ld2 { padding: 0; }
.ld2 canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .25s; }
.ld2 canvas.gone { opacity: 0; }
.ld2-n { position: relative; align-self: center; padding: 1cqw 3cqw; background: rgba(0, 0, 0, .7); font: 900 14cqw/1 var(--cond); }
.ld2-n.bad { color: #ff2a3c; animation: fx-slam2 .35s cubic-bezier(.2,1.6,.4,1); }

/* 14 libdyld-3 */
.ld3 { display: grid; grid-template-columns: 1fr 1fr 1fr; align-content: center; gap: 1cqw; }
.ld3 i { display: grid; place-items: center; height: 6.5cqw; border-radius: .6cqw; background: rgba(210, 210, 218, .18); font: 600 2.1cqw var(--mono); font-style: normal; transition: transform .6s cubic-bezier(.55,0,.85,.35), opacity .6s, border .2s; }
.ld3 i.objc { background: rgba(255, 183, 0, .3); }
.ld3 i.out { transform: translateX(80cqw) rotate(18deg); opacity: 0; border: 1px dashed #ffb700; }
.ld3-n { grid-column: 1 / -1; justify-self: center; font: 900 12cqw/1 var(--cond); }
.ld3-n.bad { color: #ff2a3c; }

/* 15 libdyld-4 */
.ld4 { align-items: center; }
.ld4-seg { font: 700 3.6cqw var(--mono); }
.lock { position: relative; width: 14cqw; height: 11cqw; margin-top: 7cqw; border-radius: 1.4cqw; background: #d6d3c8; }
.lock::before { content: ''; position: absolute; left: 2.5cqw; right: 2.5cqw; bottom: 100%; height: 7cqw; border: 1.6cqw solid #d6d3c8; border-bottom: 0; border-radius: 6cqw 6cqw 0 0; transform-origin: 85% 100%; transition: transform .4s cubic-bezier(.2,1.6,.4,1); }
.lock.open::before { transform: translateY(-2cqw) rotate(28deg); }
.lock.open { background: #ff2a3c; }
.lamps { display: flex; gap: 2cqw; }
.lamps i { width: 7cqw; height: 7cqw; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); font: 800 3.6cqw var(--mono); font-style: normal; color: rgba(255, 255, 255, .35); }
.lamps i.on { background: #00b26b; color: #fff; box-shadow: 0 0 3cqw #00b26b; }
.lamps i.wrong { background: #ff2a3c; color: #fff; box-shadow: 0 0 3cqw #ff2a3c; }

/* 18 lipo-2 */
.lp2 { justify-content: flex-end; }
.shelf { display: flex; gap: 3cqw; justify-content: center; }
.shelf .sl { padding: 2.4cqw 3cqw; border-radius: .8cqw; background: rgba(255, 255, 255, .14); font: 800 3.8cqw var(--mono); font-style: normal; transition: transform .35s cubic-bezier(.22,1,.36,1), background .3s; }
.shelf .sl.listed { box-shadow: 0 0 0 .5cqw #00b26b; }
.shelf .sl.dodge { transform: translateX(24cqw); }
.shelf .sl.taken { background: #ff2a3c; transform: translateY(-26cqw); }
.claw { position: absolute; left: 62%; top: -30%; width: 1px; height: 30%; background: #f2f1ec; transition: height .45s cubic-bezier(.5,0,.5,1), left .35s; }
.claw b { position: absolute; left: -3cqw; bottom: -2cqw; width: 6cqw; height: 3cqw; border: .7cqw solid #f2f1ec; border-top: 0; border-radius: 0 0 1cqw 1cqw; }
.claw.grab1 { animation: grab 1s ease-in-out; }
.claw.grab2 { left: 38%; animation: grab 1s ease-in-out forwards; }
@keyframes grab { 50% { height: 90%; } }

/* 19 otool-1 */
.ot1 { left: 9%; top: 63%; right: auto; }
.ot1-line { font: 700 5.2cqw var(--mono); color: #0d0d0d; white-space: nowrap; }
.ot1-line .past { color: #ff2a3c; text-shadow: 0 0 1cqw rgba(255, 42, 60, .4); }
.card .front:has(~ *) .c-line { transition: opacity .2s; }
.card:has(.ot1) .c-body .c-line { opacity: 0; }

/* 25 llvm-mc-1 */
.mc-hex { align-self: center; font: 800 4cqw var(--mono); color: rgba(255, 255, 255, .7); }
.mc-bits i { width: 2.2cqw; height: 4cqw; font-size: 2cqw; }
.mc-bits.lit i.f-s { background: #ffd400; color: #0d0d0d; }
.mc-bits.lit i.f-rd { background: #ff2a3c; color: #fff; }
.mc-out { align-self: center; padding: 1.4cqw 3cqw; border-radius: 99px; font: 800 4.6cqw var(--mono); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s cubic-bezier(.2,1.6,.4,1); }
.mc-out.arm { background: #00794c; }
.mc-out.llvm { background: #ff2a3c; }
.mc-out.in { opacity: 1; transform: none; }
.mc-out.arm.pushed { opacity: .35; transform: scale(.85) translateY(-2cqw); text-decoration: line-through; }

/* 26, 31 llvm-objdump-1, -6 */
.odo { align-self: center; font: 800 5.2cqw/1 var(--mono); letter-spacing: -.02em; transition: color .3s; }
.odo.wrap { color: #ff2a3c; }
.od-plus { align-self: flex-end; font: 700 4cqw var(--mono); color: #ffd400; }
.od-ok { align-self: center; padding: 1.4cqw 3cqw; border-radius: 99px; background: #00794c; color: #fff; font: 800 4.4cqw var(--mono); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s cubic-bezier(.2,1.6,.4,1); }
.od-ok.in { opacity: 1; transform: none; }
.od6 { justify-content: center; }
.od6-file { position: absolute; left: 18%; top: 22%; width: 34%; height: 30%; border: .6cqw dashed rgba(255, 255, 255, .6); display: grid; place-items: center; font: 700 3.4cqw var(--mono); }
.od6-bar, .od6-back { position: absolute; top: 34%; height: 6cqw; background: #ffd400; width: 0; border-radius: .6cqw; }
.od6-bar { left: 18.5%; }
.od6-bar.run { animation: segrun .9s cubic-bezier(.6,0,.9,.5) forwards; }
@keyframes segrun { to { width: 90%; } }
.od6-back { left: 0; }
.od6-back.run { animation: segback .5s cubic-bezier(.1,.6,.3,1) forwards; background: #ff2a3c; }
@keyframes segback { to { width: 26%; } }
.od6 .od-ok { position: absolute; left: 50%; bottom: 10%; translate: -50% 0; }

/* 47 fnv1a64-1 */
.fnv { justify-content: center; gap: 1.2cqw; }
.fnv i { position: relative; font: 600 3.3cqw/1.5 var(--mono); font-style: normal; white-space: pre; }
.fnv i.bad { color: #ff2a3c; font-weight: 800; }
.fnv-hl { position: absolute; left: 3cqw; right: 3cqw; height: 5cqw; background: rgba(255, 212, 0, .28); border-left: .8cqw solid #ffd400; opacity: 0; transition: opacity .2s; }
.fnv-hl.on { opacity: 1; }
.fnv-hl.fall { transition: top .55s cubic-bezier(.5,0,.75,1.4), background .3s; background: rgba(255, 42, 60, .35); border-color: #ff2a3c; }

/* 43 gobjdump-2 */

/* 48 ipsw-1 */
.ip1 { flex-direction: row; align-items: center; gap: 3cqw; }
.ip1-lab, .ip1-rng { display: flex; flex-direction: column; gap: 1cqw; }
.ip1-lab i, .ip1-rng i { height: 6cqw; display: flex; align-items: center; padding: 0 2cqw; border-radius: .6cqw; font: 700 3cqw var(--mono); font-style: normal; background: rgba(255, 255, 255, .1); }
.ip1-lab { transition: transform .5s cubic-bezier(.2,1.6,.4,1); }
.ip1.slip .ip1-lab { transform: translateY(-7cqw); }
.ip1.slip .ip1-lab i { background: rgba(255, 42, 60, .45); }

/* 52 swiftformat-1 */
.sf { background: #1e1e22; gap: 2cqw; }
.sf .ln { font: 600 3.6cqw/1.5 var(--mono); font-style: normal; white-space: nowrap; color: #e7e6df; }
.sf .self { display: inline-block; max-width: 20cqw; overflow: hidden; vertical-align: bottom; color: #ff7ab2; transition: max-width .45s cubic-bezier(.22,1,.36,1), opacity .3s; }
.sf .self.cut { max-width: 0; opacity: 0; }
.sf .squiggle { text-decoration: underline wavy #ff2a3c; text-decoration-thickness: .5cqw; text-underline-offset: 1cqw; }
.sf-err { align-self: flex-start; padding: 1.2cqw 2cqw; border-radius: .8cqw; background: #4a0c14; color: #ff8a93; font: 600 2.6cqw var(--mono); animation: fx-pop2 .3s ease-out both; }

/* 27 llvm-objdump-2 */
.od2 { gap: 1.6cqw; }
.rec { display: flex; justify-content: space-between; align-items: center; padding: 1.6cqw 2.4cqw; border-radius: .8cqw; background: rgba(255, 255, 255, .1); font: 600 2.6cqw var(--mono); }
.rec b { padding: .8cqw 2cqw; border-radius: 99px; background: #7dd3fc; color: #0d0d0d; font: 800 3.4cqw var(--mono); }
.rec b.stamped { background: #ff2a3c; color: #fff; animation: fx-slam2 .35s cubic-bezier(.2,1.6,.4,1); }

/* 28 llvm-objdump-3 */
.od3 { justify-content: space-between; }
.slot3 { align-self: center; padding: 1.4cqw 4cqw; border-radius: 0 0 1.6cqw 1.6cqw; background: #0d0d0d; border: .5cqw solid rgba(255, 255, 255, .5); border-top: 0; font: 700 3cqw var(--mono); }
.core { align-self: center; padding: 2.4cqw 4cqw; border-radius: .8cqw; background: #f2f1ec; color: #0d0d0d; font: 800 3.6cqw var(--mono); font-style: normal; }
.core.rejected { background: #ff2a3c; color: #fff; }

/* 33, 38 llvm-objdump-8, -15 */
.od8, .od15 { padding: 0; }
.od8 canvas, .od15 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.od8-n { position: relative; align-self: center; padding: 1.2cqw 3cqw; border-radius: .8cqw; background: rgba(0, 0, 0, .78); font: 900 8cqw/1 var(--cond); }
.od8-n.bad { color: #ffd400; }

/* 34 llvm-objdump-9 */
.od9-bad { align-self: center; padding: 1cqw 2.6cqw; border-radius: 99px; background: #ff2a3c; font: 800 3cqw var(--mono); animation: fx-pop2 .3s ease-out both; }

/* 36 llvm-objdump-12 */
.od12 { gap: 3cqw; }
.el { padding: 2.2cqw 3cqw; border-radius: .8cqw; background: rgba(255, 255, 255, .1); font: 700 3.2cqw var(--mono); width: 72%; transition: background .3s; }
.el.good { background: #00794c; }
.el.bad { background: #ff2a3c; }
.who { position: absolute; right: 4cqw; font: 800 3cqw var(--mono); opacity: 0; transform: translateX(6cqw); transition: opacity .3s, transform .4s cubic-bezier(.22,1,.36,1); }
.who.dyld { top: 56%; color: #86efac; }
.who.obj { top: 30%; color: #ff8a93; }
.who.in { opacity: 1; transform: none; }

/* 37 llvm-objdump-14 */
.od14 { gap: 1.6cqw; padding-left: 14cqw; }
.fx14-slot { height: 6cqw; display: flex; align-items: center; padding-left: 2cqw; border-radius: .6cqw; background: rgba(255, 255, 255, .1); font: 700 3cqw var(--mono); font-style: normal; }
.fx14-ar { position: absolute; left: 6cqw; font: 900 6cqw/1 var(--mono); color: #ffd400; transition: transform .5s cubic-bezier(.2,1.6,.4,1), color .3s; }
.fx14-ar.off { transform: translateY(5cqw); color: #ff2a3c; }
.od14-off { position: absolute; right: 4cqw; bottom: 6cqw; font: 900 8cqw var(--cond); color: #ff2a3c; animation: fx-pop2 .3s ease-out both; }

/* 39 llvm-objdump-16 */
.c-art:has(.od16) { overflow: visible; }
.od16 { overflow: visible; background: transparent; animation: none; }
.od16-row { position: absolute; left: 5%; right: 5%; bottom: 8%; display: flex; gap: .8cqw; }
.od16-row i { flex: 1; height: 7cqw; display: grid; place-items: center; border-radius: .6cqw; background: rgba(255, 255, 255, .14); font: 700 2.8cqw var(--mono); font-style: normal; }
.od16-head { position: absolute; bottom: calc(8% + 8cqw); left: 6%; width: 0; height: 0; border: 2.2cqw solid transparent; border-top: 3.2cqw solid #ffd400; transition: left .1s linear; }
.od16-head.out { bottom: -12%; border-top-color: #ff2a3c; transition: left .3s cubic-bezier(.22,1,.36,1), bottom .3s; }
.od16-head.boom { animation: boom .5s ease-out forwards; }
@keyframes boom { 50% { transform: scale(2.4); filter: drop-shadow(0 0 3cqw #ff2a3c); } 100% { transform: scale(1.6); opacity: .9; } }
.od16-check { position: absolute; right: 3%; bottom: -24%; padding: .8cqw 1.6cqw; background: #0d0d0d; color: #ffd400; border: 1px dashed #ffd400; font: 700 2.6cqw var(--mono); animation: fx-slam2 .35s cubic-bezier(.2,1.6,.4,1) both; white-space: nowrap; }

/* 40 llvm-objdump-17 */
.od17 { justify-content: flex-start; gap: 0; padding-top: 3cqw; }
.od17 i { display: flex; align-items: center; height: 6cqw; margin-bottom: 1cqw; padding-left: 2cqw; border-radius: .6cqw; background: rgba(255, 255, 255, .12); font: 700 3.2cqw var(--mono); font-style: normal; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.od17 i:nth-child(n+2) { background: rgba(255, 183, 0, .25); }
.od17 i.fall { animation: fallout .8s cubic-bezier(.55,0,.85,.35) forwards; }
@keyframes fallout { to { transform: translate(8cqw, 80cqw) rotate(24deg); opacity: 0; } }

/* 24 dsymutil-3 */
.fx-lens { left: 55%; top: 66%; width: 18cqw; height: 18cqw; border-radius: 50%; border: 1.2cqw solid #0d0d0d; background: rgba(255, 255, 255, .55); backdrop-filter: blur(.4px); display: grid; place-items: center; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .3); animation: lens .8s cubic-bezier(.22,1,.36,1) both; }
.fx-lens::after { content: ''; position: absolute; right: -6cqw; bottom: -4cqw; width: 8cqw; height: 2cqw; background: #0d0d0d; border-radius: 1cqw; transform: rotate(40deg); }
.fx-lens span { font: 900 5cqw var(--mono); color: #ff2a3c; }
@keyframes lens { from { transform: translate(-30cqw, 10cqw) scale(.6); opacity: 0; } }

/* deaths of their own */
.card.dead .front[data-dies="tvoff"]::after { background: #000; color: rgba(255, 255, 255, .5); animation: tvoff .9s ease-in both; }
@keyframes tvoff {
	0% { background: #fff; clip-path: inset(0 0 0 0); color: transparent; }
	35% { background: #fff; clip-path: inset(49.5% 0 49.5% 0); color: transparent; }
	60% { background: #fff; clip-path: inset(49.5% 49% 49.5% 49%); color: transparent; }
	75% { background: #000; clip-path: inset(0 0 0 0); color: transparent; }
	100% { background: #000; color: rgba(255, 255, 255, .5); }
}
.fx-trace { inset: 0; z-index: 9; padding: 5cqw 4cqw; background: #1d0a03; color: #ffb366; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; animation: fx-pop2 .2s ease-out both; }
.fx-trace i { font: 2.3cqw/1.5 var(--mono); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-trace b { margin-top: 2cqw; padding: 1.4cqw 2cqw; background: #ff6a00; color: #1d0a03; font: 800 3.6cqw var(--mono); }
.card.dead .front[data-dies="dissolve"] > :not(.fx) { animation: dissolve 1s steps(8) forwards; }
@keyframes dissolve { to { opacity: 0; filter: blur(2px); transform: scale(.96); -webkit-mask: radial-gradient(circle, #000 0 1px, transparent 1.5px) 0 0 / 4px 4px; mask: radial-gradient(circle, #000 0 1px, transparent 1.5px) 0 0 / 4px 4px; } }
.card.dead .front[data-dies="dissolve"]::after { background: repeating-conic-gradient(#ff2a3c 0 25%, #0d0d0d 0 50%) 0 0 / 3cqw 3cqw; color: #fff; text-shadow: 0 0 1cqw #000, 0 0 2cqw #000; font-weight: 800; animation: fx-pop2 .3s .9s ease-out both; }

/* 12 libdyld-1 scene */
.ld1-k { font: 2.6cqw var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ld1-shelf { display: flex; flex-direction: column; gap: 1.4cqw; }
.ld1-file { display: flex; align-items: center; gap: 1.6cqw; padding: 1.6cqw 2cqw; border-radius: .8cqw; background: rgba(255, 255, 255, .08); font: 700 3cqw var(--mono); transition: background .3s, outline .3s; }
.ld1-file::before { content: ''; width: 3cqw; height: 3.8cqw; background: #d6d3c8; clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%); }
.ld1-built { display: flex; flex-wrap: wrap; font: 700 3cqw/1.4 var(--mono); }
.ld1-built b { padding: .6cqw 0; }
.ld1-built .b, .ld1-built .one { max-width: 0; overflow: hidden; white-space: nowrap; color: #ff6b6b; transition: max-width .8s cubic-bezier(.22,1,.36,1); }
.scene-libdyld-1.go .ld1-built .b { max-width: 70cqw; }
.scene-libdyld-1.go .ld1-built .one { max-width: 4cqw; transition-delay: .6s; }
.ld1-beam { position: absolute; left: 7cqw; right: 7cqw; height: .6cqw; top: 26%; background: #ff2a3c; box-shadow: 0 0 2cqw #ff2a3c; opacity: 0; }
.scene-libdyld-1.go .ld1-beam { animation: beam 1.2s 1s ease-in-out forwards; }
@keyframes beam { 0% { opacity: 1; top: 22%; } 80% { opacity: 1; top: 44%; } 100% { opacity: 0; top: 44%; } }
.scene-libdyld-1.go .ld1-file { transition-delay: 2s; outline: .4cqw dashed rgba(255, 42, 60, .7); }

/* hero letters */
#count-text { position: relative; perspective: 600px; }
#count-text .L { display: inline-block; white-space: pre; }
#count-text .strike { position: absolute; left: 44%; right: -2%; top: 46%; height: .08em; background: #ff2a3c; transform-origin: 0 50%; }
#count-text .scrawl { font-family: var(--hand); font-weight: 400; color: #ff2a3c; }
#count-text .scissor { position: absolute; top: 18%; font-size: .45em; font-style: normal; color: #ff2a3c; }
.plate-line em { font-style: normal; color: #ff5a67; }
#count-text .scrawl { line-height: .8; display: inline-block; height: 1em; }

/* the terminal, livelier */
.term-field { position: relative; flex: 1; min-width: 0; display: flex; }
.term-ghost { position: absolute; inset: 0; color: #55544c; white-space: pre; pointer-events: none; overflow: hidden; }
.term-line input { position: relative; caret-color: transparent; }
.term-line { position: relative; }
.term-field::after { content: ''; position: absolute; left: calc(var(--caret, 0) * 1ch); top: .1em; width: .62em; height: 1.2em; background: #ffd400; mix-blend-mode: difference; animation: blink 1.05s steps(2) infinite; pointer-events: none; }
.term-rp { flex: none; margin-left: 12px; padding: 1px 8px; border-radius: 99px; font: 600 11px/1.6 var(--mono); }
.term-rp.good { background: #12351f; color: #86efac; }
.term-rp.bad { background: #3d0d12; color: #ff8a93; }
.term.crashed { animation: termhit .45s cubic-bezier(.36,.07,.19,.97); }
.term.crashed .term-body { animation: termflash .45s ease-out; }
@keyframes termhit { 20% { transform: rotate(.4deg) translateX(-6px); } 40% { transform: rotate(.4deg) translateX(5px); } 60% { transform: rotate(.4deg) translateX(-3px); } 80% { transform: rotate(.4deg) translateX(2px); } }
@keyframes termflash { 0% { box-shadow: inset 0 0 0 9999px rgba(255, 42, 60, .18); } 100% { box-shadow: inset 0 0 0 9999px rgba(255, 42, 60, 0); } }
.term-out .err { border-left: 3px solid #ff2a3c; padding-left: 8px; margin-left: -11px; background: rgba(255, 42, 60, .07); }

/* a row of keys, one per tool */
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 10px; max-width: 900px; margin: 26px auto 0; }
.key {
	--c: #333;
	position: relative;
	display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
	min-width: 104px;
	padding: 10px 12px 9px;
	border: 1px solid #0d0d0d;
	border-radius: 9px;
	background: linear-gradient(#fbfaf6, #ecebe5);
	color: #0d0d0d;
	box-shadow: 0 4px 0 #0d0d0d, inset 0 -3px 0 rgba(0, 0, 0, .08), inset 4px 0 0 var(--c);
	cursor: pointer;
	transition: transform .08s, box-shadow .08s;
	-webkit-tap-highlight-color: transparent;
}
.key b { font: 700 13px var(--mono); }
.key small { font: 10px var(--mono); color: #8a8984; letter-spacing: .04em; }
.key:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #0d0d0d, inset 0 -3px 0 rgba(0, 0, 0, .08), inset 4px 0 0 var(--c); }
.key:active, .key.hit { transform: translateY(4px); box-shadow: 0 0 0 #0d0d0d, inset 0 -1px 0 rgba(0, 0, 0, .08), inset 4px 0 0 var(--c); }
.key.hit { animation: keyup .25s .12s ease-out forwards; }
@keyframes keyup { to { transform: none; box-shadow: 0 4px 0 #0d0d0d, inset 0 -3px 0 rgba(0, 0, 0, .08), inset 4px 0 0 var(--c); } }
.key.ghost { background: transparent; border-style: dashed; box-shadow: none; }
@media (prefers-color-scheme: dark) { .key { border-color: #000; } }

/* half a screen: cards stay card-sized */
@media (max-width: 1100px) and (min-width: 561px) {
	.grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
	.slot.featured { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 860px) {
	.slot.featured { grid-column: span 1; grid-row: span 1; --m: 10px; }
	.slot.wide { grid-column: span 2; }
}
@media (min-width: 561px) and (max-width: 860px) {
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.slot.featured { grid-column: span 2; grid-row: span 2; }
}

/* the headline keeps one height whatever a misread does to it */
.plate-num { height: .8em; line-height: .8; overflow: visible; }
#count-text { line-height: .8; vertical-align: top; }
#count-text .L { line-height: .8; vertical-align: top; }
#count-text .scrawl { line-height: .8; height: .8em; }

/* wide cards: the column's own radius is in card units, its insides in column units, so the curves nest */
.col.l { border-radius: 2.3cqw 0 0 2.3cqw; padding: 2.1cqw; }
.col.l::before { inset: 2.4cqw; border-radius: calc(4.6cqw - 2.4cqw); }
.scene { border-radius: 0 2.3cqw 2.3cqw 0; box-shadow: inset 0 0 0 1.2cqw var(--card), inset 0 0 0 1.65cqw var(--band); }
#count-text .past { color: #ff5a67; } #count-text .dup { color: #ff5a67; } #count-text .ok { color: #3ddc84; font-size: .4em; vertical-align: middle; }

/* floods that run off the card */
.fx-out.flood { left: 8%; top: 61%; width: 150%; font: 700 4.6cqw/1.25 var(--mono); color: #0d0d0d; word-break: break-all; z-index: 8; text-shadow: 0 0 .4cqw #fff; }
.fx-out.flood.path { color: #444; font-size: 3.8cqw; }
.fx-out.flood.path.dead { color: #ff2a3c; }
.slot:has(.fx-out) { z-index: 7; }

/* 47 the switch as a drop */
.plk { justify-content: space-around; padding: 6cqw 6cqw 4cqw; }
.plk-row { position: relative; height: 9cqw; border-bottom: .8cqw solid #f2f1ec; display: flex; align-items: flex-end; padding-bottom: 1cqw; font: 700 3.2cqw var(--mono); transition: background .2s; }
.plk-row.nofloor { border-bottom: .8cqw dashed rgba(255, 255, 255, .25); }
.plk-row.def { border-bottom-color: #ff2a3c; }
.plk-row.hit { background: rgba(255, 212, 0, .14); }
.plk-row.def.hit { background: rgba(255, 42, 60, .25); }
.plk-ball { position: absolute; left: 62%; top: -20%; width: 8cqw; height: 8cqw; border-radius: 50%; display: grid; place-items: center; background: #ffd400; color: #0d0d0d; font: 900 4.6cqw var(--mono); box-shadow: 0 .6cqw 1.6cqw rgba(0, 0, 0, .5); }
.plk-msg { font: 700 2.6cqw var(--mono); color: #ff6b6b; font-style: normal; animation: fx-pop2 .3s ease-out both; }

/* 43 the ruler */
.ruler4 .tick { position: absolute; left: 4cqw; right: 4cqw; border-top: 1px dashed rgba(255, 255, 255, .25); font: 600 2.3cqw var(--mono); font-style: normal; color: rgba(255, 255, 255, .5); padding-top: .4cqw; }
.ruler4 .flag { position: absolute; left: 34%; transform: translateY(-50%); padding: 1.2cqw 2.4cqw; border-radius: .8cqw; background: #00b26b; color: #fff; font: 800 3cqw var(--mono); white-space: nowrap; transition: top .38s cubic-bezier(.6,0,.9,.4), background .3s; }
.ruler4 .flag.drop { background: #ff2a3c; box-shadow: 0 -8cqw 3cqw -2cqw rgba(255, 42, 60, .4); }
.ruler4 .flag.ghost { background: transparent; border: .5cqw dashed #ffd400; color: #ffd400; left: 18%; animation: fx-pop2 .35s ease-out both; }

/* 33 see-through imports and the two bars */
.od8b { padding: 0; }
.od8b canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.od8-bars { position: absolute; left: 5%; right: 5%; bottom: 6%; display: grid; gap: 1.4cqw; }
.od8-bars .bar { position: relative; height: 5.6cqw; background: rgba(0, 0, 0, .55); border-radius: .6cqw; overflow: hidden; }
.od8-bars .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; transition: width 1s cubic-bezier(.22,1,.36,1); }
.od8-bars .bar.a i { background: #ff2a3c; }
.od8-bars .bar.b i { background: #ffd400; transition-delay: .3s; }
.od8-bars.go .bar.a i { width: 100%; }
.od8-bars.go .bar.b i { width: 5.2%; }
.od8-bars .bar span { position: relative; padding-left: 2cqw; font: 800 2.8cqw/5.6cqw var(--mono); color: #fff; text-shadow: 0 0 1cqw #000; }

/* 26 wheels */
.wheels { flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; gap: .5cqw; padding: 4cqw 3cqw; }
.wh { width: 3.3cqw; height: 6cqw; overflow: hidden; border-radius: .5cqw; background: linear-gradient(#000, #2a2a2e 30%, #3a3a40 50%, #2a2a2e 70%, #000); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.wh:nth-child(3n+2) { margin-right: .9cqw; }
.wh b { display: flex; flex-direction: column; width: 3.3cqw; font: 800 3.8cqw var(--mono); color: #f2f1ec; }
.wh b span { display: block; height: 6cqw; line-height: 6cqw; text-align: center; }
.wheels.spin .wh b { color: #ff6b6b; filter: blur(.25cqw); }
.wh-plus { flex-basis: 100%; text-align: right; font: 700 3.6cqw var(--mono); color: #ffd400; margin-top: 2cqw; }
.wheels .od-ok { flex-basis: auto; margin-top: 2cqw; }

/* 14 jenga */
.jenga { justify-content: flex-end; align-items: center; gap: .6cqw; padding-bottom: 4cqw; }
.jenga i { width: 62%; height: 4.4cqw; display: grid; place-items: center; border-radius: .4cqw; background: linear-gradient(#d8c39a, #b99b66); color: #3b2b12; font: 700 2.3cqw var(--mono); font-style: normal; box-shadow: inset 0 -.4cqw 0 rgba(0, 0, 0, .2); transition: transform .45s cubic-bezier(.55,0,.85,.35), opacity .45s, height .35s cubic-bezier(.2,1.6,.4,1) .1s, margin .35s .1s; }
.jenga i.objc { background: linear-gradient(#ffcf6a, #e3a52a); }
.jenga i.pull { transform: translateX(70cqw) rotate(8deg); opacity: 0; }
.jenga i.gone { height: 0; margin: -.3cqw 0; }
.jenga-n { position: absolute; right: 5cqw; top: 4cqw; font: 900 14cqw/1 var(--cond); }
.jenga-n::after { content: ' / 9'; font-size: .4em; opacity: .6; }
.jenga-n.bad { color: #ff2a3c; }

/* 38 the belt */
.belt { padding: 0; }
.lane { position: absolute; left: 0; right: 0; top: 52%; height: 1.6cqw; background: repeating-linear-gradient(90deg, #555 0 3cqw, #333 3cqw 6cqw); animation: beltmove .6s linear infinite; }
@keyframes beltmove { to { background-position: 6cqw 0; } }
.lib { position: absolute; top: -8cqw; width: 11cqw; height: 8cqw; display: grid; place-items: center; border-radius: .6cqw; background: #7aa2ff; color: #04122b; font: 800 2.4cqw var(--mono); }
.gate { position: absolute; left: 44%; top: 14%; padding: 1cqw 2cqw; border: .5cqw solid #ff2a3c; color: #ff6b6b; font: 700 2.6cqw var(--mono); font-style: normal; background: rgba(0, 0, 0, .6); }
.belt-n { position: absolute; left: 5cqw; bottom: 5cqw; font: 900 9cqw/1 var(--cond); color: #ff2a3c; }

/* 25 decoder */
.dec { gap: 3cqw; }
.dec-strip { display: flex; justify-content: center; gap: 0; transition: gap .5s cubic-bezier(.22,1,.36,1); }
.dec-strip.split { gap: 1.4cqw; }
.dec-strip .grp { display: flex; flex-direction: column; align-items: center; }
.dec-strip .grp b { padding: .8cqw .6cqw; background: rgba(255, 255, 255, .1); font: 700 2.4cqw var(--mono); letter-spacing: .02em; border-radius: .4cqw; }
.dec-strip .grp small { height: 2.4cqw; font: 600 2cqw var(--mono); color: rgba(255, 255, 255, .5); opacity: 0; transition: opacity .3s .4s; }
.dec-strip.split .grp small { opacity: 1; }
.dec-strip.split .grp.s b { background: #ffd400; color: #0d0d0d; }
.dec-strip.split .grp.rd b { background: #ff2a3c; color: #fff; }
.dec-name { align-self: flex-start; padding: 1.6cqw 3.4cqw; border-radius: 99px; font: 800 5cqw var(--mono); white-space: nowrap; opacity: 0; transform: translateY(3cqw); transition: opacity .3s, transform .45s cubic-bezier(.2,1.6,.4,1); }
.dec-name.arm { background: #00794c; }
.dec-name.llvm { background: #ff2a3c; align-self: flex-end; }
.dec-name.in { opacity: 1; transform: none; }
.dec-name.arm.shoved { transform: translateX(-90cqw) rotate(-12deg); transition: transform .5s cubic-bezier(.55,0,.85,.35); }

/* 34 the minus breaks off */
.od9b { align-items: center; gap: 5cqw; }
.n9wrap { display: flex; align-items: baseline; font: 900 18cqw/1 var(--cond); transition: transform .7s cubic-bezier(.55,0,.85,.35); }
.n9wrap .minus { display: inline-block; color: #00b26b; transition: transform .6s cubic-bezier(.55,0,.85,.35), opacity .6s; }
.n9wrap .minus.drop { transform: translate(-4cqw, 40cqw) rotate(-120deg); opacity: 0; }
.n9wrap .n9 { color: #ff2a3c; }
.n9wrap.fly { transform: translateX(34cqw) scale(.7); }
.n9wrap.fly .n9::after { content: ' ?'; }
.shelf9 { display: flex; gap: 1cqw; }
.shelf9 i { width: 7cqw; height: 7cqw; display: grid; place-items: center; border-radius: .6cqw; background: rgba(255, 255, 255, .1); font: 700 2.8cqw var(--mono); font-style: normal; }

/* 36 who takes which list */
.pick { flex-direction: row; justify-content: center; align-items: center; gap: 4cqw; }
.tag12 { display: flex; flex-direction: column; gap: 1cqw; padding: 3cqw 3.4cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .1); font: 700 3cqw var(--mono); opacity: 0; transform: translateX(-40cqw); transition: opacity .3s, transform .5s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.tag12 small { font: 800 3.4cqw var(--mono); opacity: 0; transition: opacity .3s; }
.tag12.in { opacity: 1; transform: none; }
.tag12.taken-g { box-shadow: 0 0 0 .7cqw #00b26b; }
.tag12.taken-r { box-shadow: 0 0 0 .7cqw #ff2a3c; }
.pick.reveal .tag12 small { opacity: 1; }
.pick.reveal .tag12.taken-g small { color: #86efac; }
.pick.reveal .tag12.taken-r small { color: #ff8a93; }
.hand { position: absolute; padding: .8cqw 2cqw; border-radius: 99px; font: 800 2.8cqw var(--mono); opacity: 0; transition: opacity .3s, transform .45s cubic-bezier(.2,1.6,.4,1); }
.hand.dy { right: 6%; bottom: 10%; background: #00794c; transform: translateY(6cqw); }
.hand.ob { left: 6%; top: 10%; background: #ff2a3c; transform: translateY(-6cqw); }
.hand.go { opacity: 1; transform: none; }

/* 52 the formatter */
.sf2 { background: #1e1e22; gap: 2.6cqw; }
.sf2 .ln { font: 600 3.6cqw/1.5 var(--mono); font-style: normal; white-space: nowrap; color: #e7e6df; }
.sf2 .sc { display: inline-block; color: #ff7ab2; }
.sf2 .ln.two.err { background: rgba(255, 42, 60, .18); box-shadow: inset .8cqw 0 0 #ff2a3c; text-decoration: underline wavy #ff2a3c; text-underline-offset: 1cqw; animation: fx-glitchbox .3s steps(2) 2; }
.sweep { position: absolute; top: 0; bottom: 0; left: -20%; width: 14%; background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .35), transparent); animation: sweep .8s ease-in-out forwards; }
@keyframes sweep { to { left: 110%; } }
.sf-bar { align-self: stretch; padding: 1.2cqw 2cqw; border-radius: .6cqw; background: #ff2a3c; color: #fff; font: 700 2.6cqw var(--mono); animation: fx-pop2 .3s ease-out both; }
.buildfail { position: absolute; left: 0; right: 0; top: 0; padding: 1.6cqw 0; text-align: center; background: #d81b2a; color: #fff; font: 800 3.6cqw var(--sans); animation: drop-in .4s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes drop-in { from { transform: translateY(-100%); } }

/* the seal: a beetle under holo glass */
.tamper .beetle { position: relative; width: 17cqw; display: block; filter: drop-shadow(0 .3cqw 0 rgba(255, 255, 255, .55)); }
.tamper .beetle svg { display: block; width: 100%; fill: rgba(13, 13, 13, .86); stroke: rgba(13, 13, 13, .86); }
.tamper .beetle .split { stroke: rgba(255, 255, 255, .55); }
.tamper .beetle .dot { fill: url(#none); fill: rgba(255, 255, 255, .35); }
.tamper .serial { position: absolute; bottom: 9cqw; font: 800 2.4cqw var(--mono); font-style: normal; color: rgba(13, 13, 13, .7); letter-spacing: .14em; }
.tamper .keyhole { display: none; }

/* ===== hero, on paper: printed in the same ink as the set ===== */
.hero { padding: 26px 24px 4px; }
.plate {
	background: var(--sheet);
	color: var(--ink);
	box-shadow: 0 1px 0 var(--rule), 0 30px 60px -44px rgba(0, 0, 0, .35);
	padding: 44px 52px 26px;
}
.plate::before { inset: 14px; border: 1px solid var(--ink); opacity: .12; }
.pm::before, .pm::after { background: var(--ink); }
.ruler { background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px) bottom / 100% 4px no-repeat, repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 64px) bottom / 100% 9px no-repeat; opacity: .55; }
.plate-meta, .plate-foot { color: var(--muted); }
.plate-num { text-shadow: none; color: var(--ink); letter-spacing: -.03em; }
.plate-num.wrong #count-text { color: var(--ink); }
.plate-num.wrong #count-text .L { color: var(--red); }
#count-text .L { transform-origin: 50% 60%; backface-visibility: hidden; }
.plate-line { color: var(--ink); font-weight: 700; }
.plate-line em { font: italic 400 1em/1 var(--serif); color: var(--muted); letter-spacing: 0; }
#count-text .past, #count-text .dup { color: var(--red); }
.strip-note { color: var(--muted); }
.strip-note b { color: var(--ink); }
.strip button { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.reader { border: 0; border-radius: 0; padding: 0; gap: 8px; color: var(--muted); font: 11px var(--mono) !important; letter-spacing: .08em; text-transform: uppercase; }
.reader b { color: var(--ink); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 13px; }
.reader i { box-shadow: none; background: var(--ink); width: 7px; height: 7px; }
.plate.wrong .reader i { background: var(--red); box-shadow: none; }
.plate.wrong .reader b { color: var(--red); }
@media (prefers-color-scheme: dark) { .plate { background: var(--sheet); box-shadow: 0 1px 0 var(--rule); } }

/* section heads without numbers; the legend sits on its own line */
.sec-head { align-items: baseline; }
.sheet-wrap .sec-head .legend { flex-basis: 100%; margin: 0; }

/* terminal: a long command scrolls inside its line, never the window */
.term-body { overflow-x: hidden; }
.term-line { min-width: 0; }
.term-field { overflow: hidden; }
.term-field.long::after { display: none; }
.term-field.long input { caret-color: #ffd400; }
.term-field.long .term-ghost { display: none; }
.term-out { overflow-wrap: anywhere; }

/* 11: folders inside folders */
.nest { padding: 3cqw; }
.nest-f { position: relative; flex: 1; display: flex; flex-direction: column; padding: 1.6cqw 1.6cqw 1.6cqw; border: .4cqw solid #9a9a9a; border-radius: .8cqw; background: rgba(255, 255, 255, .03); opacity: 0; transform: scale(.94); transition: opacity .2s, transform .3s cubic-bezier(.22,1,.36,1), border-color .2s; }
.nest-f > span { font: 700 2.2cqw var(--mono); color: rgba(255, 255, 255, .7); margin: -.4cqw 0 .8cqw; }
.nest-f.open { opacity: 1; transform: none; }
.nest-f.open:has(.nest-f.open) { border-color: #6b6b6b; }
.nest-f.file { border-color: #ff2a3c; background: rgba(255, 42, 60, .35); animation: fx-glitchbox .3s steps(2) 2; }
.nest-n { position: absolute; right: 4cqw; bottom: 3cqw; padding: .8cqw 2cqw; background: #0d0d0d; font: 900 6cqw/1 var(--cond); color: #f2f1ec; }
.nest-n.bad { color: #ff2a3c; }

/* the seal: classified */
.tamper .classified { position: relative; width: 16cqw; display: block; }
.tamper .classified svg { display: block; width: 100%; fill: rgba(13, 13, 13, .86); }
.tamper .classified .star { fill: rgba(255, 255, 255, .78); }
.tamper .serial { bottom: 8cqw; padding: .5cqw 1.4cqw; background: rgba(13, 13, 13, .85); color: #ff2a3c; letter-spacing: .2em; font-size: 2.2cqw; }
.tamper .beetle { display: none; }

/* the board: room in the margins, and a few more things on the table */
.sheet { padding-top: 128px; padding-bottom: 150px; }
.proof { top: 14px; right: 150px; width: 104px; height: 104px; }
.postit {
	position: absolute; z-index: 5; left: 70px; bottom: 34px;
	width: 132px; padding: 16px 14px 18px;
	background: #fff27a; color: #3a3410;
	font: 19px/1.1 var(--hand);
	box-shadow: 0 10px 14px -10px rgba(0, 0, 0, .45);
	transform: rotate(-4deg);
	transform-origin: 50% 0;
	transition: transform .5s cubic-bezier(.22,1.4,.36,1);
	pointer-events: auto;
	-webkit-mask: linear-gradient(#000, #000);
}
.postit::after { content: ''; position: absolute; right: 0; bottom: 0; border: 9px solid transparent; border-right-color: rgba(0, 0, 0, .12); border-bottom-color: rgba(0, 0, 0, .12); }
.postit:hover { transform: rotate(-1deg) translateY(-3px) skewX(-2deg); }
.pencil {
	position: absolute; z-index: 4; left: 34%; bottom: 58px;
	width: 300px; height: 13px;
	background: linear-gradient(90deg, #f1c27d 0 12px, #2a2a2a 12px 16px, #ffcf3a 16px 270px, #c0c0c0 270px 282px, #e88a9b 282px);
	clip-path: polygon(0 50%, 16px 0, 100% 0, 100% 100%, 16px 100%);
	box-shadow: 0 4px 6px -3px rgba(0, 0, 0, .4);
	transform: rotate(-3deg);
	transition: transform .6s cubic-bezier(.22,1.4,.36,1);
	pointer-events: auto;
}
.pencil:hover { transform: rotate(-3deg) translateX(14px); }
.loupe {
	position: absolute; z-index: 4; right: 210px; bottom: 26px;
	width: 74px; height: 74px; border-radius: 50%;
	border: 8px solid #1d1d1d;
	background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .7), rgba(255, 255, 255, .1) 40%, rgba(180, 210, 255, .15));
	box-shadow: 0 8px 12px -6px rgba(0, 0, 0, .5);
	pointer-events: auto;
	transition: transform .5s cubic-bezier(.22,1.4,.36,1);
}
.loupe::after { content: ''; position: absolute; left: 58px; top: 54px; width: 50px; height: 12px; border-radius: 6px; background: #1d1d1d; transform: rotate(40deg); transform-origin: 0 50%; }
.loupe:hover { transform: rotate(-20deg) scale(1.06); }
.sheet-slug { position: relative; z-index: 3; margin-left: 230px; margin-right: 320px; }
@media (max-width: 860px) {
	.sheet { padding-top: 110px; padding-bottom: 130px; }
	.proof { right: 18px; top: 12px; }
	.pencil { left: 40%; width: 180px; }
	.loupe { display: none; }
	.postit { left: 14px; width: 112px; font-size: 16px; }
	.sheet-slug { margin-left: 140px; margin-right: 0; }
}
.sheet-wrap .sec-head .legend { flex-basis: auto; flex-wrap: nowrap; white-space: nowrap; margin: 0 0 0 6px; }
.tamper .serial { bottom: 11.5cqw; }
@media (max-width: 860px) { .sheet-wrap .sec-head .legend { flex-wrap: wrap; white-space: normal; } }
/* the board: back to a slim top margin; the stamp joins the things in the bottom margin */
.sheet { padding-top: 84px; }
.proof { top: auto; bottom: 26px; right: 64px; width: 100px; height: 100px; transform: rotate(-10deg); }
.loupe { right: 230px; }
.sheet-slug { margin-right: 360px; }
@media (max-width: 860px) { .sheet { padding-top: 76px; } .proof { right: 12px; bottom: 30px; top: auto; } }
/* the help key reads in both themes */
.key.ghost { color: var(--ink); border-color: var(--ink); }
.key.ghost small { color: var(--muted); }
@media (prefers-color-scheme: dark) {
	.loupe { border-color: #cfcbbf; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05) 40%, rgba(180, 210, 255, .08)); }
	.loupe::after { background: #cfcbbf; }
}
.sheet { padding-bottom: 130px; }
.sheet-slug { margin-left: 0; margin-right: 200px; }
@media (max-width: 860px) { .sheet-slug { margin-right: 120px; } }
/* the bottom margin: the slug line and the stamp share one row */
.sheet { padding-bottom: 46px; }
.sheet-slug { margin: 34px 190px 0 0; }
.proof { width: 86px; height: 86px; bottom: 14px; right: 74px; }
.proof b { font-size: 24px; margin-top: 14px; }
.proof small { font-size: 7px; margin-top: -20px; }
.proof i { font-size: 17px; margin-top: -26px; }
.ring { bottom: 20px; right: 16%; width: 110px; height: 110px; }
@media (max-width: 860px) { .sheet { padding-bottom: 40px; } .sheet-slug { margin-right: 110px; } .proof { right: 10px; bottom: 12px; } }
@media (max-width: 860px) { .proof { right: 44px; bottom: 30px; } .ring { display: none; } }
.plate-foot { justify-content: flex-end; }

/* masking tape: translucent paper with fibres, soft torn ends, lifting a little at one corner */
.tape {
	width: 118px;
	height: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .06)),
		repeating-linear-gradient(93deg, rgba(120, 100, 60, .025) 0 1px, transparent 1px 5px),
		repeating-linear-gradient(101deg, rgba(120, 100, 60, .02) 0 1px, transparent 1px 7px),
		rgba(236, 226, 196, .62);
	clip-path: polygon(1.97% 0.0%, 1.46% 7.1%, 3.00% 14.3%, 2.35% 21.4%, 2.75% 28.6%, 0.54% 35.7%, 2.39% 42.9%, 2.38% 50.0%, 1.15% 57.1%, 0.73% 64.3%, 1.62% 71.4%, 1.02% 78.6%, 3.14% 85.7%, 0.89% 92.9%, 2.17% 100.0%, 97.15% 100.0%, 97.72% 92.9%, 98.33% 85.7%, 97.67% 78.6%, 99.88% 71.4%, 96.81% 64.3%, 99.16% 57.1%, 99.46% 50.0%, 98.59% 42.9%, 99.56% 35.7%, 97.93% 28.6%, 97.89% 21.4%, 99.82% 14.3%, 99.71% 7.1%, 98.68% 0.0%);
	box-shadow: none;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .14));
	mix-blend-mode: multiply;
}
.tape::after {
	/* the corner that has started to lift catches the light */
	content: '';
	position: absolute;
	right: 0; top: 0;
	width: 22px; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35));
}
@media (prefers-color-scheme: dark) {
	.tape {
		mix-blend-mode: normal;
		background:
			linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 35%),
			repeating-linear-gradient(93deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 5px),
			repeating-linear-gradient(101deg, rgba(255, 255, 255, .015) 0 1px, transparent 1px 7px),
			rgba(214, 204, 172, .2);
		filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
	}
	.tape::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12)); }
}
/* the sheet lies square: a tilt on something this tall moves its top edge sideways by tens of pixels */
.sheet { transform: none; }
.stamp.done { border-style: double; border-width: 1cqw; }



/* ===== set 01, the second batch ===== */
/* llvm-dwarfdump-1: play, rewind, play again */
.dd1 { gap: 5cqw; }
.dd1-osd { align-self: flex-start; font: 800 5.4cqw var(--mono); color: #f2f1ec; text-shadow: .35cqw 0 rgba(0, 183, 235, .8), -.35cqw 0 rgba(255, 0, 144, .8); }
.dd1-reel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; }
.dd1-t { display: grid; place-items: center; height: 15cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .12); font: 800 5cqw var(--mono); font-style: normal; transition: background .15s, box-shadow .15s; }
.dd1-t.read { background: rgba(255, 183, 0, .5); }
.dd1-t.head { box-shadow: 0 0 0 .6cqw #f2f1ec; }
.dd1-t.bad { background: #ff2a3c; color: #fff; font-size: 3.8cqw; }
.dd1::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: repeating-linear-gradient(0deg, transparent 0 4cqw, rgba(255, 255, 255, .5) 4cqw 4.5cqw, transparent 4.5cqw 11cqw); }
.dd1.rew::after { opacity: 1; animation: vhs .14s linear infinite; }
.dd1.rew .dd1-reel { filter: blur(.25cqw); }
@keyframes vhs { to { background-position: 0 -11cqw; } }


/* shared: the second batch draws on the same small vocabulary as the first */
.fx-layer .tag { align-self: center; padding: .8cqw 2cqw; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; font: 700 2.8cqw var(--mono); color: rgba(255, 255, 255, .8); }




@keyframes beach { to { transform: rotate(360deg); } }



/* gobjdump-4 */

/* gobjdump-2 */

/* gobjdump-5 */

/* gobjdump-6 */

/* llvm-objdump-18 */

/* llvm-dwarfdump-2 */

/* llvm-dwarfdump-3 */

/* ---- gobjdump-2, -4, -5, -6: the jump the wrong way, the eight-byte bite, the train at the signal, the calipers ---- */


.ga2-step { position: absolute; left: 50%; top: 8cqw; display: flex; align-items: center; gap: 2cqw; padding: 1.4cqw 3.2cqw; border-radius: 99px; background: #ffd400; color: #0d0d0d; font: 800 4.6cqw var(--mono); translate: -50% 0; transition: background .25s, color .25s; }
.ga2-step.bad { background: #ff2a3c; color: #fff; }
.ga2-sign { position: relative; width: 3.8cqw; height: 3.8cqw; }
.ga2-sign i { position: absolute; background: currentColor; border-radius: .3cqw; }
.ga2-sign .h { left: 0; right: 0; top: 50%; height: 1cqw; margin-top: -.5cqw; }
.ga2-sign .v { top: 0; bottom: 0; left: 50%; width: 1cqw; margin-left: -.5cqw; transition: transform .55s cubic-bezier(.55, 0, .85, .35), opacity .55s; }
.ga2-sign .v.off { transform: translate(4cqw, 30cqw) rotate(120deg); opacity: 0; }
.ga2-fn { position: absolute; left: 50%; top: 32cqw; width: 20cqw; height: 14cqw; margin-left: -10cqw; display: grid; place-items: center; border-radius: 1cqw; background: #f2f1ec; color: #0d0d0d; font: 900 8cqw/1 var(--cond); transform-origin: 50% 100%; }
.ga2-fn.gone { visibility: hidden; }
.ga2-fn.ghost { background: transparent; color: #ffd400; border: .6cqw dashed #ffd400; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s cubic-bezier(.2, 1.6, .4, 1); }
.ga2-fn.ghost.in { opacity: 1; transform: none; animation: ga2-bob 1.4s ease-in-out .5s infinite; }
@keyframes ga2-bob { 50% { translate: 0 -1cqw; } }

.ga4-row { position: absolute; left: 50%; top: 34cqw; display: flex; gap: .7cqw; translate: -50% 0; }
.ga4-row > i { display: grid; place-items: center; width: 7.8cqw; height: 9cqw; border-radius: .7cqw; background: rgba(255, 255, 255, .14); font: 800 3.4cqw var(--mono); font-style: normal; }
.ga4-row > i.n { background: #ffd400; color: #0d0d0d; }
.ga4-row > i.alone { box-shadow: inset 0 0 0 .4cqw #ff2a3c; animation: ga4-wob .6s ease-in-out; }
@keyframes ga4-wob { 25% { rotate: -7deg; } 60% { rotate: 5deg; } }
.ga4-two { position: absolute; left: 0; top: calc(100% + 1.6cqw); width: 16.3cqw; padding-top: 1cqw; border-top: .5cqw solid #ffd400; text-align: center; color: #ffd400; font: 800 2.6cqw var(--mono); opacity: 0; transition: opacity .3s, color .3s, border-color .3s; }
.ga4-two.on { opacity: 1; }
.ga4-two.bad { color: #ff2a3c; border-color: #ff2a3c; }
.ga4-jaw { position: absolute; left: -.8cqw; top: -1.4cqw; width: 68.9cqw; height: 11.8cqw; display: grid; place-items: center; border-radius: .9cqw; background: #ff2a3c; color: #fff; font: 800 4cqw var(--mono); translate: 0 -40cqw; transform-origin: 50% 100%; box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .35); }



/* gobjdump-2: the stage the function leaves from */
.fx-out.ga2-sky { inset: 0; z-index: 8; transform: translateZ(2px); }
.ga2-fn.fly { margin: 0; transform-origin: 50% 50%; animation: fx-pop2 .3s ease-out both; }

/* gobjdump-5: dominoes */
.gd5 { display: block; padding: 0; }
.gd5-row { position: absolute; left: 13.4cqw; right: 0; top: 0; bottom: 0; }
.gd5-row::before { content: ''; position: absolute; left: -13.4cqw; right: 0; bottom: 12cqw; height: 2px; background: rgba(242, 241, 236, .5); }
.gd5-row > i { position: absolute; bottom: 12cqw; width: 6.6cqw; height: 21cqw; margin-left: 0; border-radius: .7cqw; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transform-origin: 0 100%; transition: background .2s; }
.gd5-row > i:nth-child(n+5) { transform-origin: 100% 100%; }
.gd5-row > i.read { background: rgba(255, 255, 255, .3); }
.gd5-row > i.odd { display: grid; place-items: center; background: #ffd400; box-shadow: none; color: #0d0d0d; font: 800 2.8cqw var(--mono); font-style: normal; writing-mode: vertical-rl; }
.gd5-ball { position: absolute; left: -2cqw; bottom: 12cqw; width: 4cqw; height: 4cqw; border-radius: 50%; background: #f2f1ec; }
.ga2, .ga4 { display: block; padding: 0; gap: 0; }

/* gobjdump-6: an ID of 0, read too far */
.gn6 { align-items: center; justify-content: flex-start; gap: 0; padding: 6cqw 4cqw 0; }
.gn6-row { display: flex; gap: .8cqw; }
.gn6-row i { display: grid; place-items: center; width: 7.2cqw; height: 6cqw; border-radius: .6cqw; background: rgba(255, 255, 255, .1); font: 700 3cqw var(--mono); font-style: normal; transition: background .2s, color .2s; }
.gn6-row i.id { background: #ffd400; color: #0d0d0d; }
.gn6-row i.extra { background: #ff2a3c; color: #fff; animation: fx-slam2 .3s cubic-bezier(.2, 1.6, .4, 1); }
.gn6-num { display: grid; place-items: center; height: 24cqw; margin-top: 3cqw; font: 900 16cqw/1 var(--cond); letter-spacing: -.01em; white-space: nowrap; transition: font-size .3s cubic-bezier(.2, .8, .2, 1), color .2s; }
.gn6-num.bad { color: #ff2a3c; }
.gn6-pill { padding: 1.2cqw 3cqw; border-radius: 99px; background: #00794c; color: #fff; font: 800 3.8cqw var(--mono); white-space: nowrap; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s cubic-bezier(.2, 1.6, .4, 1); }
.gn6-pill.in { opacity: 1; transform: none; }
.gn6-pill.bad { background: #ff2a3c; }


/* llvm-dwarfdump-3: falling notes, and a key that isn't there */
.dk3 { display: block; padding: 0; }
.dk3-keys { position: absolute; left: 6%; right: 6%; bottom: 4cqw; display: flex; gap: 1cqw; }
.dk3-keys > i { flex: 1; height: 24cqw; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2cqw; border-radius: .6cqw; background: rgba(255, 255, 255, .14); font-style: normal; transition: background .1s, transform .1s, opacity .5s .1s; }
.dk3-keys > i b { font: 800 3.2cqw var(--mono); }
.dk3-keys > i.hit { background: #ffd400; color: #0d0d0d; transform: translateY(.8cqw); }
.dk3-keys > i.gap { background: transparent; box-shadow: inset 0 0 0 .4cqw rgba(242, 241, 236, .22); }
.dk3-keys > i.gap b { color: rgba(242, 241, 236, .45); }
.dk3-keys > i.gap.miss { box-shadow: inset 0 0 0 .5cqw #ff2a3c; }
.dk3-keys > i.gap.miss b { color: #ff6b6b; }
.dk3-keys > i.out { transform: translateY(40cqw) rotate(var(--r)); opacity: 0; transition: transform .55s cubic-bezier(.55, 0, .85, .35), opacity .5s .15s; }
.dk3-note { position: absolute; top: -8cqw; width: 9cqw; height: 5.6cqw; display: grid; place-items: center; translate: -50% 0; border-radius: 99px; background: #f2f1ec; color: #0d0d0d; font: 800 2.8cqw var(--mono); transition: opacity .3s; }
.dk3-note.played { opacity: 0; transition-delay: .2s; }
.dk3-note.gone { opacity: 0; }



.dk3-keys > i { position: relative; }


/* llvm-objdump-18: the clown car */
.cc18 { display: block; padding: 0; }
.cc18 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cc18-box { position: absolute; left: 50%; top: 12cqw; translate: -50% 0; font: 900 14cqw/1 var(--cond); color: rgba(242, 241, 236, .8); transition: scale .08s; }
.cc18-n { position: absolute; left: 5cqw; top: 4cqw; font: 900 8cqw/1 var(--cond); color: #ff2a3c; text-shadow: 0 0 2cqw rgba(0, 0, 0, .6); font-variant-numeric: tabular-nums; }
.cc18-n.done { animation: fx-slam2 .35s cubic-bezier(.2, 1.6, .4, 1); }

/* llvm-dwarfdump-3: the keyboard smash */
.dk3-keys > i.smash { background: #ff2a3c; color: #fff; transform: translateY(1.6cqw); transition: transform .06s, background .06s; }
.dk3-keys > i.dim { opacity: .35; transition: opacity .4s, transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.dk3-keys > i.gap.exit::after { content: 'exit 1'; position: absolute; left: 50%; top: 42%; translate: -50% 0; font: 800 2.6cqw var(--mono); color: #ff6b6b; white-space: nowrap; animation: fx-slam2 .35s cubic-bezier(.2, 1.6, .4, 1) both; }

.cc18 .od-ok { position: absolute; right: 5cqw; top: 4cqw; }

/* llvm-dwarfdump-2: a swarm that is the value */
.dd2p { display: block; padding: 0; }
.dd2p canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dd2p .swl { position: absolute; left: 5cqw; top: 4cqw; z-index: 1; font: 700 3cqw var(--mono); color: rgba(242, 241, 236, .75); }
.dd2p .swc { position: absolute; left: 0; right: 0; bottom: 3.6cqw; z-index: 1; text-align: center; font: 700 2.6cqw var(--mono); color: rgba(242, 241, 236, .75); transition: color .3s; }
.dd2p .swc.bad { color: #ff5a67; }

/* ---- ghidra ---- */




/* ghidra-4: the spinner, and the count winding out of it */
.sp4 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp4 .ball { position: absolute; left: 50%; top: 52%; width: 18cqw; height: 18cqw; margin: -9cqw 0 0 -9cqw; border-radius: 50%; background: conic-gradient(#ff3b30, #ff9500, #ffcc00, #34c759, #007aff, #5856d6, #af52de, #ff3b30); box-shadow: inset 0 0 0 .6cqw rgba(0, 0, 0, .2), 0 1.5cqw 4cqw rgba(0, 0, 0, .5); animation: beach .9s linear infinite; }
.sp4 .ball::after { content: ''; display: block; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .7), transparent 45%); }
.sp4-nr { position: absolute; left: 0; right: 0; top: 3.4cqw; z-index: 1; text-align: center; font: 700 3.2cqw var(--sans); color: #f2f1ec; }

/* ghidra-5: the arrow that points at itself */
.ar5-l { position: absolute; left: 6cqw; top: 4cqw; font: 700 2.6cqw var(--mono); color: rgba(242, 241, 236, .65); }
.ar5-n { position: absolute; left: 12%; top: 46%; font: 900 18cqw/1 var(--cond); color: #f2f1ec; transform-origin: 50% 100%; }
.ar5-n.bad { color: #ff2a3c; }
.ar5-m { position: absolute; left: 50%; top: 56%; padding: 1cqw 2.6cqw; border-radius: 99px; box-shadow: inset 0 0 0 .35cqw #ffd400; color: #ffd400; font: 800 3.2cqw var(--mono); transition: transform .5s cubic-bezier(.55, 0, .85, .35), opacity .5s; }
.ar5-m.off { transform: translateY(30cqw) rotate(18deg); opacity: 0; }
.ar5-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ar5-svg path { fill: none; stroke: #ff2a3c; stroke-width: 1.1cqw; stroke-linecap: round; stroke-linejoin: round; }
.ar5-svg path:last-child { opacity: 0; }
.ar5-svg path:last-child.in { opacity: 1; animation: fx-slam2 .3s cubic-bezier(.2, 1.6, .4, 1); transform-box: fill-box; transform-origin: 50% 50%; }



/* ghidra-6: the sign bit spreading like ink */
.ink6 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ink6-l { position: absolute; left: 6cqw; top: 6cqw; font: 700 2.6cqw var(--mono); color: rgba(242, 241, 236, .65); }
.ink6-hex { position: absolute; left: 6cqw; top: 14cqw; width: 26cqw; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: .6cqw; font: 900 7.4cqw/1 var(--cond); }
.ink6-hex i { text-align: center; font-style: normal; color: #f2f1ec; transition: color .15s; }
.ink6-hex i.dim { color: rgba(242, 241, 236, .2); }
.ink6-hex i.sign { color: #ffd400; }
.ink6-hex i.f { color: #ff2a3c; animation: fx-slam2 .25s cubic-bezier(.2, 1.6, .4, 1); }

/* ghidra-1: the guillotine */
.gl1-tape { position: absolute; top: 30cqw; display: flex; }
.gl1-tape i, .gl1-pad { display: grid; place-items: center; width: 9cqw; height: 9cqw; background: rgba(255, 255, 255, .16); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .25); font: 800 3.4cqw var(--mono); font-style: normal; color: #f2f1ec; transition: background .3s, color .3s; }
.gl1-pad { position: absolute; background: #ffd400; color: #0d0d0d; animation: fx-slam2 .3s cubic-bezier(.2, 1.6, .4, 1) both; }
.gl1.bad .gl1-tape i { background: rgba(255, 42, 60, .55); color: #fff; }
.gl1-mark { position: absolute; top: 25cqw; height: 19cqw; width: 0; border-left: .5cqw dashed #ffd400; margin-left: -.25cqw; }
.gl1-blade { position: absolute; top: -14cqw; width: 2.2cqw; height: 22cqw; margin-left: -1.1cqw; border-radius: 0 0 .6cqw .6cqw; background: #ff2a3c; box-shadow: 0 0 2cqw rgba(255, 42, 60, .6); opacity: 0; transition: left .24s cubic-bezier(.3, .7, .3, 1), opacity .2s; }
.gl1-blade.in { opacity: 1; }
.gl1-cut { position: absolute; top: 29cqw; height: 11cqw; width: .5cqw; margin-left: -.25cqw; background: #0d0d0d; }

/* ghidra-3: the platform and the blocks that slide off it */
.pf3-plat { position: absolute; height: 1.4cqw; border-radius: .7cqw; background: rgba(242, 241, 236, .45); }
.pf3-lab { position: absolute; font: 700 2.6cqw var(--mono); color: rgba(242, 241, 236, .7); }
.pf3-home { position: absolute; border-radius: .6cqw; box-shadow: inset 0 0 0 .35cqw #ffd400; opacity: 0; transition: opacity .3s; }
.pf3-home.on { opacity: 1; border: 0; background: repeating-linear-gradient(90deg, transparent 0 1cqw, rgba(255, 212, 0, .12) 1cqw 2cqw); }
.pf3-blk { position: absolute; display: grid; place-items: center; border-radius: .6cqw; background: #ffd400; color: #0d0d0d; font: 800 2.8cqw var(--mono); transition: background .2s, color .2s; }
.pf3-blk.bad { background: #ff2a3c; color: #fff; }
.pf3-flag { position: absolute; padding: .5cqw 1.4cqw; translate: -50% 1.6cqw; border-radius: .6cqw; background: #ff2a3c; color: #fff; font: 800 2.4cqw var(--mono); white-space: nowrap; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .4s cubic-bezier(.2, 1.6, .4, 1); }
.pf3-flag.up { opacity: 1; transform: none; }
.pf3-flag::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: .4cqw; height: 3cqw; margin-left: -.2cqw; background: #ff2a3c; }

/* ghidra-2: memory flowing 15 places on */
.sd2 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sd2-noz { position: absolute; translate: -50% -100%; padding: .5cqw 1.2cqw; border-radius: .6cqw .6cqw 0 0; background: rgba(242, 241, 236, .9); color: #0d0d0d; font: 800 2.4cqw var(--mono); white-space: nowrap; transition: background .2s, color .2s; }
.sd2-noz.bad { background: #ff2a3c; color: #fff; }
.fl2-or { position: absolute; left: 50%; top: 2.6cqw; translate: -50% 0; padding: .8cqw 2.4cqw; border-radius: 99px; background: #ff2a3c; color: #fff; font: 800 3.2cqw var(--mono); opacity: 0; }
.fl2-or.in { opacity: 1; animation: fx-slam2 .3s cubic-bezier(.2, 1.6, .4, 1); }

/* the spicy lines */
.sp4-nsa { position: absolute; left: 0; right: 0; top: 7.6cqw; z-index: 1; text-align: center; font: 700 2.6cqw var(--mono); color: #ffd400; animation: fx-pop2 .3s ease-out both; }
.ar5-q { position: absolute; left: 6cqw; right: 6cqw; bottom: 4cqw; font: 700 2.6cqw var(--mono); color: rgba(242, 241, 236, .8); animation: fx-pop2 .3s ease-out both; }
.c-line .quip { display: block; margin-top: 2.2cqw; font: 600 3.1cqw/1.35 var(--sans); letter-spacing: 0; word-break: normal; color: #6a6964; animation: quip-in .35s ease-out both; }
@keyframes quip-in { from { opacity: 0; transform: translateY(1cqw); } }
.fx-halt.fx-agi { top: 54%; transform: rotate(8deg) scaleX(0); transform-origin: 100% 50%; animation: fx-tape-agi .36s cubic-bezier(.22,1,.36,1) forwards; }
.fx-halt.fx-agi span { text-align: center; margin: 0 8%; }
@keyframes fx-tape-agi { to { transform: rotate(8deg) scaleX(1); } }
.front .c-wild { transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.front.wild-lit .c-wild { background: #ffd400; border-color: #0d0d0d; color: #0d0d0d; box-shadow: 0 0 0 .5cqw rgba(255, 212, 0, .35); }
.di7-val.up { color: #00b26b; transition: color .35s; }
.od-ok.di7-q { margin-top: 2cqw; font-size: 3.6cqw; }
.ga2-step.wp { background: #0d0d0d; color: #ffd400; box-shadow: inset 0 0 0 .4cqw #ffd400; }
.ga2-redact { position: absolute; left: 12%; right: 12%; top: 34%; height: 32%; background: #0d0d0d; transform: scaleX(0); transform-origin: 0 50%; animation: ga2-redact .3s cubic-bezier(.3, .7, .3, 1) forwards; }
@keyframes ga2-redact { to { transform: scaleX(1); } }
.cc18 .od-ok.cc18-tp { top: auto; bottom: 4cqw; font-size: 3.6cqw; box-shadow: 0 .8cqw 2cqw rgba(0, 0, 0, .5); }

/* the marque goes home, to mi11ion.io */
a.marque {
	color: inherit;
	text-decoration: none;
}

/* the reader line keeps the height of its longest caption on narrow screens,
   so the captions cycling never push the page about. Dot, label and caption
   sit on the first line, and the dot never gives up its shape. */
.reader { align-items: baseline; }
.reader i { flex: none; align-self: center; }
.reader-say { display: inline-grid; align-self: baseline; }
.reader-say > b { grid-area: 1 / 1; }
.reader-sizer { display: none; visibility: hidden; }
@media (max-width: 600px) {
	.reader-sizer { display: block; }
	.reader i { align-self: flex-start; margin-top: .36em; }
}

/* not dealt yet */
.deal.pending, .note.pending { opacity: 0; }
