/* Blockdesk - a cutaway day office in honest pixels. Pale sky, mint panels, ink outlines, one yellow accent, cardboard
   only on crates, the stamp red only on CANCELLED and errors. Jersey 10 words, Reddit Sans body and every number
   (700, tabular), Tiny5 tiny labels. Notched corners, solid side shadows, no blur, no glow, no gradients. */
:root {
  --paper: #E4F6EC; --sky: #BFE3F7; --mint: #CDEEDC; --mint-d: #7CC6A0; --ink: #1E3A4C; --ink2: #2F5368;
  --yel: #FFDE5C; --yel-d: #F2B91F; --yel-dd: #C98A0E; --card: #FFFFFF; --cardboard: #DDB06A; --stamp: #E0584B;
  --s1: #DDF1FC; --s3: #86C2EA; --g2: #AFBEC6; --g1: #D3DEE3;
  --j: "Jersey 10", "Reddit Sans", system-ui, sans-serif;
  --r: "Reddit Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t: "Tiny5", ui-monospace, monospace;
  --hdr: 64px;
  --n3: polygon(3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px), 0 3px, 3px 3px);
  --n6: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 3px) calc(100% - 6px), calc(100% - 3px) calc(100% - 3px), calc(100% - 6px) calc(100% - 3px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 6px), 0 calc(100% - 6px), 0 6px, 3px 6px, 3px 3px, 6px 3px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--r); cursor: url(/assets/cur/arrow.png) 0 0, default; }
body.home { background: var(--sky); overflow: hidden; height: 100svh; }
a, button, [role=button], [role=switch], [role=slider], [role=radio], summary, label[for], .ca, .chip, [data-qa-click] { cursor: pointer; }
input, textarea { cursor: text; }
a { color: inherit; }
img, canvas, video { display: block; }
.num { font-family: var(--r); font-weight: 700; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--yel); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--j); font-weight: 400; margin: 0; letter-spacing: .5px; line-height: .95; }
p { margin: 0 0 .6em; }

/* ------------------------------------------------------------------ icons (12 px grids at x2) */
.ic { display: inline-block; width: 24px; height: 24px; flex: none; image-rendering: pixelated; background: center / 24px 24px no-repeat; vertical-align: middle; }
.ic-copy { background-image: url(/assets/cur/ic-copy.png); } .ic-x { background-image: url(/assets/cur/ic-x.png); } .ic-play { background-image: url(/assets/cur/ic-play.png); }
.ic-pause { background-image: url(/assets/cur/ic-pause.png); } .ic-sound { background-image: url(/assets/cur/ic-sound.png); } .ic-mute { background-image: url(/assets/cur/ic-mute.png); } .ic-full { background-image: url(/assets/cur/ic-full.png); }
.top .ic-copy, .player .ic { filter: none; }
.player .ic-play { background-image: url(/assets/cur/ic-play-w.png); } .player .ic-pause { background-image: url(/assets/cur/ic-pause-w.png); } .player .ic-sound { background-image: url(/assets/cur/ic-sound-w.png); } .player .ic-mute { background-image: url(/assets/cur/ic-mute-w.png); } .player .ic-full { background-image: url(/assets/cur/ic-full-w.png); }

/* ------------------------------------------------------------------ buttons: ink frame with notched corners, a face, a
   solid 5 px side at the bottom; press = the face drops 3 px onto its side */
.btn { --face: var(--yel); --side: var(--yel-d); --fg: var(--ink); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 8px 20px 12px; border: 0; margin: 0; background: var(--ink); clip-path: var(--n3); color: var(--fg);
  font: 400 24px/1 var(--j); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; white-space: nowrap; user-select: none; transition: transform .06s steps(1); }
.btn::before { content: ""; position: absolute; inset: 3px; z-index: -1; background: var(--face); box-shadow: inset 0 -5px 0 var(--side), inset 0 3px 0 rgba(255, 255, 255, .45); clip-path: var(--n3); }
.btn:hover { --face: #FFE77F; }
.btn:active, .btn.busy { transform: translateY(3px); }
.btn:active::before, .btn.busy::before { box-shadow: inset 0 -2px 0 var(--side); }
.btn.sec { --face: var(--card); --side: var(--mint-d); }
.btn.sec:hover { --face: var(--mint); }
.btn:disabled, .btn[aria-disabled=true] { --face: var(--g1); --side: var(--g2); --fg: #6F8593; cursor: not-allowed; transform: none; }
.btn.big { width: 100%; min-height: 56px; font-size: 28px; }
.btn .ic { margin: -3px 0 0; }
.lk { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; background: none; border: 0; padding: 4px 0; margin: 0; font: 400 22px/1 var(--j); letter-spacing: 1px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lk:hover { color: var(--ink2); text-decoration-color: var(--yel-d); }

/* ------------------------------------------------------------------ header (fixed, phone too) */
.top { position: fixed; z-index: 30; left: 0; right: 0; top: 0; height: var(--hdr); display: flex; align-items: center; gap: 12px; padding: 0 20px; background: var(--ink); color: var(--card); }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; color: var(--card); flex: none; }
.brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.wm { font: 400 32px/1 var(--j); letter-spacing: 1px; margin: 0; }
.wm em { font-style: normal; color: var(--yel); }
.brand.sm img { width: 20px; height: 20px; } .brand.sm .wm { font-size: 22px; }
.mini { display: flex; gap: 2px; margin-left: 8px; }
.mini a { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 52px; min-height: 44px; justify-content: center; text-decoration: none; color: var(--s3); }
.mini a i { width: 24px; height: 12px; background: var(--ink2); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: transform .1s steps(2); }
.mini a span { font: 400 10px/1 var(--t); letter-spacing: .5px; }
.mini a:hover i { background: var(--mint-d); }
.mini a[aria-current] i { background: var(--yel); transform: translateY(-3px); }
.mini a[aria-current] { color: var(--card); }
.tnav { display: flex; gap: 2px; margin-left: 10px; }
.tnav a { font: 400 22px/1 var(--j); letter-spacing: 1px; color: var(--s1); text-decoration: none; padding: 10px 8px; min-height: 44px; display: inline-flex; align-items: center; }
.tnav a:hover, .tnav a[aria-current] { color: var(--yel); }
.sp { flex: 1; }
.ca { display: inline-flex; align-items: center; gap: 8px; }
.topca { background: var(--ink2); padding: 0 0 0 10px; min-height: 40px; clip-path: var(--n3); }
.topca b { font: 400 13px/1 var(--t); color: var(--yel); }
.topca .num { font-size: 14px; color: var(--card); }
.cbtn { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 10px; border: 0; background: var(--mint); color: var(--ink); font: 400 18px/1 var(--j); letter-spacing: 1px; }
.cbtn:hover { background: var(--yel); }
.ca-off .cbtn { background: var(--g1); color: #6F8593; cursor: not-allowed; }
.copied .cbtn, .copied.cbtn { background: var(--yel); }
.top .btn { min-height: 42px; font-size: 20px; padding: 6px 14px 10px; }
.top .xbtn { padding: 6px 12px 10px; }
.top .xbtn .bl { display: none; }

/* ------------------------------------------------------------------ the office */
.office { position: fixed; inset: 0; }
.map { position: absolute; inset: 0; overflow: hidden; background: var(--sky); cursor: url(/assets/cur/crate.png) 12 10, grab; touch-action: pan-x pan-y; }
.stage { position: absolute; left: 0; top: 0; width: 2016px; height: 1230px; transform: translate3d(-200px, 40px, 0); will-change: transform; }
.stage img.still, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.stage.live img.still { visibility: hidden; }

/* sky text: the name in the sky, top right */
.sky { position: absolute; z-index: 5; top: calc(var(--hdr) + 28px); right: 36px; width: min(620px, calc(100vw - 600px)); text-align: right; pointer-events: none; }
.sky > * { pointer-events: auto; }
.name { font: 400 clamp(96px, 10vw, 168px)/.82 var(--j); color: var(--ink); letter-spacing: 1px; margin: 0; }
.name span { color: var(--yel-d); }
.line { font: 400 24px/1.25 var(--r); color: var(--ink2); margin: 14px 0 18px; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hca { justify-content: flex-end; margin-top: 14px; background: var(--card); padding: 0 0 0 12px; clip-path: var(--n3); box-shadow: inset 0 0 0 3px var(--ink); min-height: 46px; }
.hca b { font: 400 14px/1 var(--t); }
.hca .num { font-size: 15px; word-break: break-all; padding: 6px 0; }
.hca .cbtn { min-height: 46px; background: var(--mint); box-shadow: inset 0 3px 0 var(--ink), inset 0 -3px 0 var(--ink), inset -3px 0 0 var(--ink); }
.three { display: flex; justify-content: flex-end; gap: 28px; margin: 18px 0 6px; }
.three div { text-align: right; }
.three dt { font: 400 11px/1 var(--t); color: var(--ink2); letter-spacing: .5px; text-transform: uppercase; }
.three dd { margin: 4px 0 0; font-size: 34px; line-height: 1; }
.watch { margin-top: 4px; }
.rtitle h2 { font-size: clamp(64px, 6.4vw, 96px); }
.rtitle p { font-size: 20px; color: var(--ink2); margin: 10px 0 0 auto; max-width: 440px; }
.rtitle .rn { font-size: 18px; color: var(--ink2); }
body.demo .hero .three dd::after { content: ""; }

/* ------------------------------------------------------------------ docks: mint panel, ink frame, notched */
.docks { position: absolute; z-index: 6; left: 20px; top: calc(var(--hdr) + 20px); bottom: 20px; width: 500px; display: flex; flex-direction: column; background: var(--ink); clip-path: var(--n6); padding: 3px; }
.dnav { display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--card); padding: 4px 6px 7px; }
.dn { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.dn b { font: 400 26px/1 var(--j); letter-spacing: 1px; color: var(--yel); font-weight: 400; }
.dn .num { font-size: 13px; color: var(--s3); }
.nb { width: 44px; height: 40px; border: 0; background: var(--ink2); color: var(--card); font: 400 30px/1 var(--j); clip-path: var(--n3); }
.nb:hover { background: var(--yel); color: var(--ink); }
.nb:disabled { opacity: .35; cursor: default; background: var(--ink2); color: var(--card); }
.dock { flex: 1; overflow: auto; overscroll-behavior: contain; background: var(--mint); padding: 20px 22px 24px; scrollbar-width: thin; scrollbar-color: var(--mint-d) var(--mint); }
.dh { font-size: 52px; }
.dh3 { font-size: 30px; margin: 22px 0 10px; }
.dl { color: var(--ink2); font-size: 17px; margin: 8px 0 18px; }
body.demo .dock .dh::after { content: "DEMO"; display: inline-block; margin-left: 12px; padding: 3px 7px 2px; background: var(--yel); color: var(--ink); font: 400 13px/1 var(--t); vertical-align: middle; box-shadow: 0 0 0 2px var(--ink); }
.hint { font-size: 14px; color: var(--ink2); margin: 6px 0 0; }
.fine { font-size: 14px; color: var(--ink2); margin: 12px 0 0; }
.fine a { color: var(--ink); }
.err { background: var(--card); border-left: 6px solid var(--stamp); padding: 8px 12px; font-size: 15px; margin: 10px 0; }

/* form pieces */
.form .row { margin: 0 0 16px; }
.form .row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lab { display: block; font: 400 13px/1 var(--t); letter-spacing: .5px; margin: 0 0 7px; }
.opt { font: 400 13px/1 var(--r); color: var(--ink2); text-transform: none; }
.inp { width: 100%; min-height: 48px; padding: 10px 12px; border: 3px solid var(--ink); background: var(--card); color: var(--ink); font: 700 18px/1.2 var(--r); border-radius: 0; outline: 0; }
.inp::placeholder { color: #8AA0AC; font-weight: 400; }
.inp:focus { background: #FFFBE6; box-shadow: inset 0 -3px 0 var(--yel-d); }
.fld { position: relative; display: flex; }
.fld .inp { padding-right: 104px; }
.unit { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: var(--ink); color: var(--card); font: 400 11px/1 var(--t); padding: 5px 6px 4px; letter-spacing: .5px; pointer-events: none; }
.pills { display: flex; gap: 6px; margin-top: 8px; }
.pills button, .seg button { flex: 1; min-height: 40px; border: 0; background: var(--card); color: var(--ink); font: 400 20px/1 var(--j); letter-spacing: 1px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); }
.pills button:hover, .seg button:hover { background: var(--paper); }
.seg { display: flex; gap: 0; }
.seg button { clip-path: none; margin-left: -3px; }
.seg button:first-child { margin-left: 0; clip-path: polygon(3px 0, 100% 0, 100% 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px), 0 3px, 3px 3px); }
.seg button:last-child { clip-path: polygon(0 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 0 100%); }
.seg button[aria-checked=true] { background: var(--yel); box-shadow: inset 0 0 0 3px var(--ink), inset 0 -5px 0 var(--yel-d); }
.coinpick .mine-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 10px 4px 4px; border: 0; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); font: 700 14px/1 var(--r); clip-path: var(--n3); }
.chip .num { font-size: 13px; color: var(--ink2); }
.chip.on { background: var(--yel); }
.chip .cimg { width: 28px; height: 28px; }

/* discount slider: crate-tape track, a crate thumb, a paper bubble */
.slide { --p: .3; position: relative; height: 72px; margin: 34px 14px 0; touch-action: none; }
.slide .track { position: absolute; left: -14px; right: -14px; top: 44px; height: 18px; background: repeating-linear-gradient(90deg, var(--cardboard) 0 12px, #C99A55 12px 15px); box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); }
.slide .fillb { position: absolute; left: -11px; top: 47px; height: 12px; width: calc(var(--p) * 100% + 11px); background: var(--yel); }
.slide .thumb { position: absolute; top: 30px; left: calc(var(--p) * 100%); width: 34px; height: 38px; margin-left: -17px; background: url(/assets/site/crate-s-y2.png) center / 34px 38px no-repeat; image-rendering: pixelated; }
.slide.drag .thumb { transform: translateY(-3px); }
.bub { position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--card); padding: 4px 9px; box-shadow: 0 0 0 3px var(--ink); font-size: 13px; color: var(--ink2); display: flex; gap: 6px; align-items: baseline; }
.bub b { font-size: 18px; color: var(--ink); }
.bub::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 12px; height: 6px; margin-left: -6px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.slide:focus-visible { outline-offset: 8px; }

/* honest-seller lever */
.lever { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; background: var(--card); padding: 12px 14px; color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); font: inherit; }
.lever .lv { position: relative; flex: none; width: 34px; height: 58px; background: var(--ink2); clip-path: var(--n3); }
.lever .knob { position: absolute; left: 5px; width: 24px; height: 24px; top: 29px; background: var(--g2); box-shadow: inset 0 -4px 0 #7F929E; transition: top .12s steps(3); }
.lever[aria-checked=true] .knob { top: 5px; background: var(--yel); box-shadow: inset 0 -4px 0 var(--yel-d); }
.lever .lt b { display: block; font: 400 24px/1 var(--j); letter-spacing: 1px; font-weight: 400; }
.lever .lt span { display: block; font-size: 14px; color: var(--ink2); margin-top: 4px; }
.lever[aria-checked=true] .lt b::after { content: ""; display: inline-block; width: 20px; height: 20px; margin-left: 8px; vertical-align: -2px; background: url(/assets/mark-native.png) center / 32px 32px; image-rendering: pixelated; }
.sum { display: grid; gap: 4px; background: var(--card); padding: 10px 14px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); margin: 0 0 14px; }
.sum div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink2); }
.sum b { color: var(--ink); font-size: 15px; text-align: right; }

/* rows (floor list, results, lockers, honest) */
.rows { display: grid; gap: 8px; }
.brow, .rrow, .vrow, .hrow { display: grid; align-items: center; gap: 10px; width: 100%; border: 0; text-align: left; background: var(--card); color: var(--ink); padding: 8px 12px 8px 8px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); font: inherit; }
.brow { grid-template-columns: 30px 40px 1fr auto auto auto; min-height: 64px; }
.brow:hover { background: var(--paper); }
.brow.on { background: #FFF6CC; box-shadow: inset 0 0 0 3px var(--ink), inset 0 -5px 0 var(--yel-d); }
.who { display: flex; flex-direction: column; min-width: 0; }
.who b { font: 700 16px/1.15 var(--r); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who span { font-size: 13px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv { display: flex; flex-direction: column; align-items: flex-end; }
.kv > span:first-child { font: 400 10px/1 var(--t); color: var(--ink2); margin-bottom: 4px; }
.kv b { font-size: 16px; }
.cimg { display: inline-block; width: 40px; height: 40px; background: var(--paper); box-shadow: 0 0 0 2px var(--ink); overflow: hidden; flex: none; }
.cimg img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.crate { display: inline-block; width: 30px; height: 34px; background: center / contain no-repeat; image-rendering: pixelated; }
.crate.c-s { background-image: url(/assets/site/crate-s-s3.png); } .crate.c-m { background-image: url(/assets/site/crate-m-s3.png); } .crate.c-l { background-image: url(/assets/site/crate-l-s3.png); }
.crate.c-s.st { background-image: url(/assets/site/crate-s-stamped.png); } .crate.c-m.st { background-image: url(/assets/site/crate-m-stamped.png); } .crate.c-l.st { background-image: url(/assets/site/crate-l-stamped.png); }
.invite { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--paper); padding: 14px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); }
.invite p { margin: 0; flex: 1; min-width: 160px; }
.invite .crate { width: 46px; height: 50px; }
.more { margin-top: 12px; }

/* split-flap clock */
.flip { display: inline-flex; gap: 2px; font-size: 16px; }
.flip .fl { position: relative; display: inline-block; min-width: .9em; text-align: center; padding: 2px 2px 1px; background: var(--ink); color: var(--card); }
.flip .fl::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink2); }
.flip .sep { padding: 0 1px; }
.flip .fl.go { animation: flap .16s steps(2) 1; }
@keyframes flap { 0% { transform: scaleY(1); } 50% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }

/* join panel */
.join { margin-top: 14px; background: var(--card); padding: 14px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n6); }
.jhead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.jhead b { font: 400 30px/1 var(--j); flex: 1; font-weight: 400; }
.jhead .flip, #jLeft { font-size: 22px; }
.jstats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-bottom: 12px; }
.jstats div { display: flex; flex-direction: column; }
.jstats span { font: 400 10px/1 var(--t); color: var(--ink2); margin-bottom: 4px; text-transform: uppercase; }
.jstats b { font-size: 15px; }
.jstats b.warn { color: var(--stamp); }
.jform { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jform .btn { grid-column: 1 / -1; }
.jform .fld .inp { padding-right: 86px; }

/* window: three chutes */
.chutes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chute { position: relative; display: flex; flex-direction: column; background: var(--card); padding: 12px 10px 10px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 100%, 70% calc(100% - 6px), 30% calc(100% - 6px), 30% 100%, 0 100%); min-height: 210px; }
.chute b { font: 400 22px/1 var(--j); letter-spacing: .5px; font-weight: 400; }
.chute p { font-size: 13px; color: var(--ink2); margin: 8px 0 auto; }
.chute .tag { font-size: 14px; margin-top: 10px; margin-bottom: 8px; }
.chute.hit { background: #FFF6CC; box-shadow: inset 0 0 0 3px var(--ink), inset 0 -8px 0 var(--yel); }
.stampx { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) rotate(-12deg); padding: 4px 8px 2px; border: 4px solid var(--stamp); color: var(--stamp); font: 400 30px/1 var(--j); letter-spacing: 1px; background: rgba(255, 255, 255, .85); opacity: 0; pointer-events: none; }
.chute[data-k=cancel].hit .stampx { opacity: 1; }
.chute.thud .stampx { animation: thud .24s steps(2) 1; }
@keyframes thud { 0% { transform: translate(-50%, -50%) rotate(-12deg) scale(1.6); opacity: .3; } 50% { transform: translate(-50%, -50%) rotate(-12deg) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }
.rows.slim { gap: 6px; }
.rrow { grid-template-columns: 32px auto auto 1fr; min-height: 50px; }
.rrow .cimg, .vrow .cimg, .hrow .cimg { width: 32px; height: 32px; }
.rrow .d { font-size: 13px; color: var(--ink2); text-align: right; }
.st { font: 400 11px/1 var(--t); padding: 4px 5px 3px; background: var(--paper); box-shadow: 0 0 0 2px var(--ink); white-space: nowrap; }
.st.over, .st.kept { background: var(--yel); }
.st.cancel { color: var(--card); background: var(--stamp); }

/* vesting */
.vme { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.vme div { background: var(--card); padding: 10px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); display: flex; flex-direction: column; gap: 6px; }
.vme span { font: 400 10px/1.1 var(--t); color: var(--ink2); text-transform: uppercase; }
.vme b { font-size: 15px; }
.vme .flip { font-size: 18px; }
.vrow { grid-template-columns: 32px auto 1fr auto; min-height: 50px; }
.lk12 { display: flex; gap: 2px; justify-content: flex-end; }
.lk12 i { width: 9px; height: 16px; background: var(--s3); box-shadow: inset 0 0 0 2px var(--ink2); }
.lk12 i.o { background: var(--ink); box-shadow: inset 0 -5px 0 var(--yel); }
.hrow { grid-template-columns: 22px 32px 1fr auto auto; min-height: 52px; }
.seal { width: 22px; height: 22px; background: url(/assets/mark-native.png) center / 32px 32px no-repeat; image-rendering: pixelated; }
.ending { margin-top: 22px; padding-top: 18px; border-top: 3px solid var(--ink); }
.endl { font: 400 34px/1 var(--j); margin-bottom: 14px; }
.ending .acts { justify-content: flex-start; }
.endnav { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; }
.endnav a { font: 400 20px/1 var(--j); letter-spacing: 1px; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.endnav a:hover { color: var(--ink2); text-decoration: underline; }

/* ------------------------------------------------------------------ tooltip (paper tag) + cursor label + toasts */
.tip { position: fixed; z-index: 60; max-width: 260px; background: var(--card); color: var(--ink); padding: 7px 10px; font: 400 13px/1.3 var(--r); box-shadow: 0 0 0 3px var(--ink); pointer-events: none; clip-path: polygon(0 -3px, calc(100% - 9px) -3px, calc(100% + 3px) 9px, calc(100% + 3px) calc(100% + 3px), -3px calc(100% + 3px), -3px -3px); }
.curlab { position: fixed; z-index: 70; left: 0; top: 0; pointer-events: none; background: var(--ink); color: var(--yel); font: 400 10px/1 var(--t); letter-spacing: .5px; padding: 4px 5px 3px; opacity: 0; }
.curlab.on { opacity: 1; }
.tstack { position: fixed; z-index: 80; right: 16px; top: calc(var(--hdr) + 12px); display: grid; gap: 8px; width: min(400px, calc(100vw - 32px)); }
.toast { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; background: var(--card); padding: 10px 12px; box-shadow: inset 0 0 0 3px var(--ink), inset 6px 0 0 var(--mint-d); clip-path: var(--n3); font-size: 15px; }
.toast.ok { box-shadow: inset 0 0 0 3px var(--ink), inset 6px 0 0 var(--yel-d); }
.toast.err { box-shadow: inset 0 0 0 3px var(--ink), inset 6px 0 0 var(--stamp); }
.toast a { grid-column: 1; font-size: 14px; }
.toast .tx { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; border: 0; background: none; font: 400 26px/1 var(--j); color: var(--ink); }

/* ------------------------------------------------------------------ modal + player */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(30, 58, 76, .55); }
.modal { position: fixed; z-index: 41; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(980px, calc(100vw - 32px)); background: var(--ink); padding: 3px; clip-path: var(--n6); }
.mhead { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 8px 14px; color: var(--yel); }
.mhead h2 { font-size: 34px; }
.dx { width: 44px; height: 44px; border: 0; background: var(--ink2); color: var(--card); font: 400 30px/1 var(--j); clip-path: var(--n3); }
.dx:hover { background: var(--yel); color: var(--ink); }
.player { position: relative; background: #000; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; object-fit: contain; background: var(--sky); }
.player.fs { width: 100vw; height: 100vh; aspect-ratio: auto; }
.bigplay { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border: 0; background: var(--ink); clip-path: var(--n6); display: grid; place-items: center; }
.bigplay .ic { width: 48px; height: 48px; background-size: 48px 48px; }
.bigplay:hover { background: var(--yel-dd); }
.player.playing .bigplay { display: none; }
.ctrl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--ink); color: var(--card); }
.cb { width: 40px; height: 40px; border: 0; background: var(--ink2); display: grid; place-items: center; clip-path: var(--n3); flex: none; }
.cb:hover { background: var(--yel-dd); }
.ctrl .t { font-size: 13px; white-space: nowrap; }
.tl { position: relative; flex: 1; height: 40px; touch-action: none; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 8px; background: var(--ink2); }
.tl .buf { position: absolute; left: 0; top: 16px; height: 8px; width: 0; background: var(--mint-d); }
.tl .fill { position: absolute; left: 0; top: 16px; height: 8px; width: 0; background: var(--yel); }
.tl .head { position: absolute; top: 9px; left: -6px; width: 17px; height: 19px; background: url(/assets/site/crate-s-y2.png) center / 17px 19px no-repeat; image-rendering: pixelated; }
.player.scrub .tl .head { transform: translateY(-2px); }
.vol { width: 80px; accent-color: var(--yel); }

/* wallet picker (kit dialog) */
.dlg { border: 0; padding: 22px; background: var(--mint); color: var(--ink); width: min(420px, calc(100vw - 32px)); box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n6); font: 400 16px/1.4 var(--r); }
.dlg::backdrop { background: rgba(30, 58, 76, .55); }
.dlg h2 { font-size: 36px; margin: 0 0 14px; }
.dlg-x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; background: var(--ink2); color: var(--card); font: 400 28px/1 var(--j); clip-path: var(--n3); }
.wp-list { display: grid; gap: 8px; }
.wp-item { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border: 0; background: var(--card); color: var(--ink); font: 700 16px/1 var(--r); box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); text-align: left; }
.wp-item:hover { background: #FFF6CC; }
.wp-item img { width: 32px; height: 32px; }
.wp-dot { width: 32px; height: 32px; background: var(--yel); }
.wp-get { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }
.wp-off { margin-top: 14px; }
.wp-err { color: var(--stamp); }
.mono { font-family: var(--r); font-weight: 700; }

/* ------------------------------------------------------------------ inner pages */
body.inner { padding-top: var(--hdr); }
.pghead { position: relative; height: 300px; background: var(--sky) url(/assets/site/base.png) no-repeat; background-size: calc(672px * var(--pk, 4)) calc(410px * var(--pk, 4)); image-rendering: pixelated; border-bottom: 3px solid var(--ink); overflow: hidden; }
.pghead .in { position: absolute; left: 0; right: 0; bottom: 26px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.pghead h1 { font-size: clamp(68px, 9vw, 128px); display: inline-block; background: var(--sky); padding: 6px 14px 0; box-shadow: 0 0 0 3px var(--ink); }
.pghead p { display: inline-block; background: var(--card); padding: 8px 14px; margin: 10px 0 0; box-shadow: 0 0 0 3px var(--ink); font-size: 18px; max-width: 640px; }
.pg { max-width: 1180px; margin: 0 auto; padding: 32px 24px 64px; }
.panel { background: var(--mint); padding: 22px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n6); margin: 0 0 22px; }
.panel h2 { font-size: 44px; margin-bottom: 10px; }
.panel h3 { font-size: 28px; margin: 18px 0 8px; }
.grid2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: start; }
.kvs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.kvs div { background: var(--card); padding: 12px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); }
.kvs span { display: block; font: 400 11px/1.1 var(--t); color: var(--ink2); text-transform: uppercase; margin-bottom: 6px; }
.kvs b { font-size: 26px; line-height: 1.1; }
.killer { font: 400 clamp(40px, 5.2vw, 72px)/1 var(--j); margin: 0 0 22px; }
.killer .num { font-family: var(--r); font-size: .74em; background: var(--yel); padding: 0 8px; box-shadow: 0 0 0 3px var(--ink); }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 15px; }
.tbl th { font: 400 11px/1 var(--t); text-align: left; color: var(--ink2); padding: 0 10px 4px; white-space: nowrap; text-transform: uppercase; }
.tbl td { background: var(--card); padding: 9px 10px; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); white-space: nowrap; }
.tbl td:first-child { border-left: 3px solid var(--ink); }
.tbl td:last-child { border-right: 3px solid var(--ink); }
.tbl .r { text-align: right; }
.tblw { overflow-x: auto; }
.filters { display: flex; gap: 0; margin: 0 0 14px; }
.carow { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.carow .lab { margin: 0; }
.cachip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 8px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); font-size: 13px; color: var(--ink); }
.cachip .cl { font: 400 16px/1 var(--j); }
.cachip.copied { background: var(--yel); }
.carow .lk { font-size: 16px; min-height: 36px; }
.doc h2 { scroll-margin-top: calc(var(--hdr) + 16px); }
.doc p, .doc li { max-width: 760px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 0 0 6px; }
.doc code { font: 700 14px/1 var(--r); background: var(--card); padding: 2px 5px; box-shadow: 0 0 0 2px var(--ink); }
.strip { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding: 22px 24px; background: var(--ink); color: var(--card); }
.strip nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.strip nav a { font: 400 20px/1 var(--j); letter-spacing: 1px; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; color: var(--s1); }
.strip nav a:hover { color: var(--yel); }
.strip .fine { color: var(--s3); margin: 0 0 0 auto; }
.strip .fine a { color: var(--card); }
.lform .row { margin-bottom: 14px; }
.drop { display: flex; align-items: center; gap: 14px; background: var(--card); padding: 12px; box-shadow: inset 0 0 0 3px var(--ink); clip-path: var(--n3); }
.drop .pv { width: 96px; height: 96px; background: var(--paper) url(/assets/site/crate-l-y2.png) center / 54px 62px no-repeat; image-rendering: pixelated; box-shadow: 0 0 0 2px var(--ink); flex: none; }
.drop .pv img { width: 100%; height: 100%; object-fit: cover; }
.drop input[type=file] { font: 400 14px/1.2 var(--r); max-width: 100%; }
.mine-grid { display: grid; gap: 8px; }
.e404 { min-height: calc(100svh - var(--hdr)); display: grid; place-items: center; text-align: center; padding: 30px 16px; background: var(--sky); }
.e404 img { width: min(744px, 100%); height: auto; image-rendering: pixelated; margin: 0 auto 18px; }
.e404 h1 { font-size: clamp(64px, 12vw, 140px); }
.e404 p { font-size: 20px; margin: 10px 0 20px; }

/* ------------------------------------------------------------------ phones: the docks become a bottom sheet */
@media (max-width: 1180px) and (min-width: 900px) {
  .docks { width: 440px; } .sky { width: min(520px, calc(100vw - 500px)); } .tnav { display: none; } .mini a span { display: none; } .mini a { min-width: 40px; }
}
@media (max-width: 899px) {
  :root { --hdr: 104px; }
  .top { flex-wrap: wrap; height: var(--hdr); padding: 6px 10px; gap: 6px 8px; align-content: center; }
  .wm { font-size: 26px; }
  .top .brand { order: 1; }
  .top .sp { order: 2; }
  .top .xbtn { order: 3; } .top .pbtn { order: 4; } .top .wbtn { order: 5; }
  .top .btn { min-height: 40px; font-size: 18px; padding: 5px 9px 9px; }
  .mini { order: 6; margin: 0; flex: none; }
  .mini a { min-width: 32px; } .mini a span { display: none; }
  .mini a i { width: 20px; height: 10px; }
  .topca { order: 7; margin-left: auto; min-width: 0; flex: 0 1 auto; }
  .topca .num { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .topca .cbtn .cl { display: none; }
  .tnav { display: none; }
  .docks { left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 47svh; clip-path: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 3px, 100% 3px, 100% 100%, 0 100%, 0 3px, 6px 3px); padding: 3px 3px 0; }
  .dock { padding: 14px 14px 22px; }
  .dh { font-size: 40px; }
  .sky { left: 0; right: 0; width: auto; top: var(--hdr); text-align: left; padding: 8px 12px 10px; }
  .hero { background: var(--sky); margin: -8px -12px 0; padding: 8px 12px 10px; }
  .rtitle { display: inline-block; background: var(--sky); padding: 4px 8px; box-shadow: 0 0 0 3px var(--ink); }
  .rtitle p, .rtitle .rn { display: none; }
  .name { font-size: clamp(58px, 18vw, 88px); }
  .line { font-size: 16px; margin: 6px 0 8px; }
  .hero .acts, .hero .hca { display: none; }
  .three { justify-content: flex-start; gap: 16px; margin: 6px 0 0; }
  .three div { text-align: left; }
  .three dd { font-size: 22px; }
  .watch { font-size: 18px; min-height: 36px; }
  .rtitle h2 { font-size: 34px; }
  .rtitle p { font-size: 15px; margin: 4px 0 0; max-width: 300px; }
  .brow { grid-template-columns: 26px 36px 1fr auto auto; padding-right: 8px; gap: 8px; }
  .brow .dc { display: none; }
  .brow .cimg { width: 36px; height: 36px; }
  .chutes { grid-template-columns: 1fr; }
  .chute { min-height: 0; }
  .stampx { top: 50%; left: 70%; }
  .vme { grid-template-columns: 1fr 1fr; }
  .vme div:last-child { grid-column: 1 / -1; }
  .grid2 { grid-template-columns: 1fr; }
  .pghead { height: 220px; }
  .pghead h1 { font-size: 58px; }
  .pghead p { font-size: 15px; }
  .pg { padding: 22px 14px 48px; }
  .panel { padding: 16px; }
  .panel h2 { font-size: 36px; }
  .form .row.two { grid-template-columns: 1fr; }
  .jform { grid-template-columns: 1fr; }
  .strip .fine { margin: 0; }
  .ctrl .vol { display: none; }
}
@media (max-width: 420px) {
  .top .brand .wm { display: none; }
  .mini { gap: 0; }
  .topca .num { max-width: 128px; }
}
@media (max-width: 360px) {
  .topca .num { max-width: 120px; }
  .top .mini { display: none; }
  .topca { margin-left: 0; }
  .top .pbtn .bl { font-size: 15px; }
  .top .wbtn { padding: 5px 8px 9px; }
  .wm { font-size: 22px; }
  .brand img { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
label.lab { display: flex; align-items: flex-end; min-height: 32px; margin-bottom: 4px; }
.top .brand { min-width: 40px; }

.stage .sign { position: absolute; left: 0; top: 0; z-index: 2; background: var(--ink); color: var(--yel); font: 400 calc(var(--k, 3) * 3px)/1 var(--t); letter-spacing: .5px; padding: calc(var(--k, 3) * 1px) calc(var(--k, 3) * 2px); white-space: nowrap; pointer-events: none; transform-origin: 0 0; }
.stage .sign::after { content: ""; position: absolute; left: calc(var(--k, 3) * 3px); top: 100%; width: calc(var(--k, 3) * 1px); height: calc(var(--k, 3) * 4px); background: var(--ink); }
