/* IRL Pad: venue wayfinding over a light city map. Map paper, ink sign plates, one sign yellow, route green only
   for what a host device verified, soft grey for anything GPS. Zero radius everywhere: signs are cut plates. */
:root {
  --paper: #f2f1ec; --paper-2: #e9e8e1; --paper-3: #dcdbd3;
  --ink: #111214; --ink-2: #1c1d20; --ink-3: #2a2b2f;
  --on-ink: #f2f1ec; --on-ink-2: rgba(242, 241, 236, .66); --on-ink-3: rgba(242, 241, 236, .38); --rule-ink: rgba(242, 241, 236, .13);
  --mute: #5f5e58; --soft: #c9c8c1; --soft-d: #a3a29a;
  --yellow: #ffc919; --yellow-d: #efb800; --green: #0b7a4f; --green-l: #3fbf87; --red: #b8452f;
  --rule: rgba(17, 18, 20, .14); --rule-2: rgba(17, 18, 20, .28);
  --f: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --m: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* 1.25 scale on a 15px base */
  --t-xs: 11px; --t-s: 12.5px; --t-b: 15px; --t-m: 18.75px; --t-l: 23.4px; --t-xl: 29.3px; --t-2: 36.6px; --t-3: 45.8px; --t-4: 57.2px;
  --ease: cubic-bezier(.2, .7, .1, 1); --d1: 160ms; --d2: 320ms; --d3: 640ms;
  --top: 72px; --gut: 24px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-b)/1.5 var(--f); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
.mono, .num { font-family: var(--m); font-variant-numeric: tabular-nums; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.012em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.board :focus-visible, .dlg.board-dlg :focus-visible, .strip :focus-visible { outline-color: var(--yellow); }
.skip { position: absolute; left: 8px; top: 8px; z-index: 50; background: var(--yellow); padding: 10px 14px; font-weight: 700; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--ink); }

/* ------------------------------------------------------------------ sign plates (buttons) */
.sign { --bg: var(--yellow); --fg: var(--ink); --ib: var(--ink); --if: var(--yellow);
  display: inline-flex; align-items: stretch; min-height: 46px; background: var(--bg); color: var(--fg); text-decoration: none;
  font: 700 13px/1 var(--f); font-stretch: 88%; letter-spacing: .075em; text-transform: uppercase; white-space: nowrap;
  transition: background-color var(--d1) var(--ease); position: relative; user-select: none; }
.sign .sg-ico { flex: 0 0 auto; width: 38px; margin: 4px 0 4px 4px; display: grid; place-items: center; background: var(--ib); color: var(--if); }
.sign .sg-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; transition: transform var(--d2) var(--ease); }
.sign .sg-t { display: flex; align-items: center; padding: 0 18px 0 16px; }
.sign:hover { --bg: var(--yellow-d); }
.sign:hover .sg-ico svg { transform: translateX(3px); }
.sign:active { transform: translateY(1px); }
.sign-ink { --bg: var(--ink); --fg: var(--on-ink); --ib: var(--yellow); --if: var(--ink); }
.sign-ink:hover { --bg: var(--ink-3); }
.sign-line { --bg: transparent; --fg: var(--ink); --ib: var(--ink); --if: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sign-line:hover { --bg: var(--paper-2); }
.board .sign-line, .dlg.board-dlg .sign-line { --fg: var(--on-ink); --ib: var(--on-ink); --if: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule-ink); }
.board .sign-line:hover, .dlg.board-dlg .sign-line:hover { --bg: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--on-ink-3); }
.sign-sm { min-height: 38px; font-size: 12px; }
.sign-sm .sg-ico { width: 30px; }
.exit-snd { padding: 0 18px; border-left: 1px solid var(--rule-ink); color: var(--on-ink-2); font: 600 13px/1 var(--f); }
.exit-snd:hover { background: var(--ink-2); color: var(--yellow); }
.sign-wide { width: 100%; }
.sign-wide .sg-t { flex: 1; }
.sign[disabled], .sign[aria-disabled="true"] { --bg: var(--paper-3); --fg: var(--mute); --ib: var(--soft-d); --if: var(--paper); cursor: not-allowed; transform: none; }
.board .sign[disabled] { --bg: var(--ink-3); --fg: var(--on-ink-3); --ib: var(--ink-2); --if: var(--on-ink-3); }
.sign[data-state="busy"] { cursor: progress; }
.sign[data-state="busy"] .sg-ico svg { opacity: 0; }
.sign[data-state="busy"] .sg-ico { background-image: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px); background-size: 16px 3px; background-repeat: repeat-x; background-position: 0 50%; animation: sig-run 600ms linear infinite; color: var(--if); }
@keyframes sig-run { to { background-position: 16px 50%; } }
.sign[data-state="ok"] .sg-ico { background: var(--green); color: var(--paper); }
.sign[data-state="err"] { animation: sig-err 280ms var(--ease); }
@keyframes sig-err { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* ------------------------------------------------------------------ header */
.top { position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 30; display: flex; align-items: center; gap: 14px; padding: 0 var(--gut); pointer-events: none; }
.top > * { pointer-events: auto; }
.top.top-solid { position: sticky; background: var(--paper); box-shadow: 0 1px 0 var(--rule); pointer-events: auto; }
.top.scrolled { background: var(--paper); box-shadow: 0 1px 0 var(--rule); pointer-events: auto; transition: background-color var(--d2); }
.brand { display: inline-flex; align-items: center; gap: 0; height: 46px; background: var(--ink); color: var(--on-ink); text-decoration: none; font: 700 18px/1 var(--f); letter-spacing: -.01em; }
.brand img { width: 46px; height: 46px; }
.brand span { padding: 0 16px 0 13px; }
.padtoken { display: inline-flex; align-items: stretch; height: 46px; background: var(--yellow); color: var(--ink); }
.pt-k { display: flex; align-items: center; padding: 0 12px; font: 700 11px/1 var(--f); font-stretch: 85%; letter-spacing: .14em; text-transform: uppercase; border-right: 1.5px solid var(--ink); }
.pt-v { display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .02em; }
.pt-v:hover { background: var(--yellow-d); }
.pt-v[data-empty] { color: rgba(17, 18, 20, .6); }
.nav { margin-left: auto; display: flex; align-items: stretch; height: 46px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.nav a, .nav button { display: flex; align-items: center; gap: 6px; padding: 0 15px; font: 600 13px/1 var(--f); text-decoration: none; color: var(--ink); border-left: 1.5px solid var(--rule); white-space: nowrap; }
.nav > :first-child { border-left: 0; }
.nav a:hover, .nav button:hover { background: var(--paper-2); }
.nav a.on { background: var(--ink); color: var(--on-ink); }
.nav a[data-log] b, .nav button b { font: 500 11px/1 var(--m); color: var(--mute); }
.nav a.on b { color: var(--on-ink-2); }
.nav-host { font-weight: 700 !important; }
.wallet .sg-t { font-family: var(--m); letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: 13px; }
.wallet[data-on] .sg-ico { background: var(--green); color: var(--paper); }

/* ------------------------------------------------------------------ stage: map + board + arrivals + deck */
.stage { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--paper); isolation: isolate; }
.map { position: absolute; inset: 0; }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(var(--paper) 0, rgba(242, 241, 236, 0) 120px), radial-gradient(120% 90% at 50% 45%, rgba(242, 241, 236, 0) 55%, rgba(220, 219, 211, .55) 100%); }
.map-fallback { position: absolute; inset: 0; }
.map-fallback img { width: 100%; height: 100%; object-fit: cover; }
.maplibregl-ctrl-attrib { font: 400 10px/1.4 var(--m) !important; background: rgba(242, 241, 236, .9) !important; }
.maplibregl-ctrl-attrib a { color: var(--mute) !important; }
.maplibregl-ctrl-bottom-right { bottom: 124px !important; right: calc(var(--gut) + 332px) !important; }
.maplibregl-ctrl-attrib-button { cursor: pointer; }

.board { position: absolute; z-index: 5; left: var(--gut); top: calc(var(--top) + 8px); bottom: 132px; width: 412px; background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(17, 18, 20, .55); }
.arrivals { position: absolute; z-index: 5; right: var(--gut); top: calc(var(--top) + 8px); bottom: 132px; width: 316px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink), 0 24px 60px -34px rgba(17, 18, 20, .4); display: flex; flex-direction: column; overflow: hidden; }
.deck { position: absolute; z-index: 6; left: var(--gut); right: var(--gut); bottom: 20px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.deck > * { pointer-events: auto; }

/* entrance: the board slides in like a sign being hung, the arrivals follow */
@media (prefers-reduced-motion: no-preference) {
  .board { animation: hang var(--d3) var(--ease) both 120ms; }
  .arrivals { animation: hang-r var(--d3) var(--ease) both 260ms; }
  .deck { animation: rise var(--d3) var(--ease) both 380ms; }
}
@keyframes hang { from { transform: translateX(-24px); opacity: 0; } }
@keyframes hang-r { from { transform: translateX(24px); opacity: 0; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }

/* skeleton while the chain answers: flat bars in the board's own rhythm */
.bd-skel { padding: 22px; display: grid; gap: 14px; }
.bd-skel i { display: block; height: 14px; background: linear-gradient(90deg, var(--ink-2) 0 40%, var(--ink-3) 50%, var(--ink-2) 60% 100%); background-size: 300% 100%; animation: skel 1.4s linear infinite; }
.bd-skel i:first-child { height: 54px; width: 70%; }
.bd-skel i:nth-child(3) { width: 82%; }
.bd-skel i:nth-child(5) { width: 56%; }
@keyframes skel { to { background-position: -150% 0; } }

/* ------------------------------------------------------------------ board: plate row, departures, spot face */
.bd-plate { display: flex; align-items: stretch; height: 40px; flex: 0 0 auto; border-bottom: 1px solid var(--rule-ink); }
.bd-plate .k { display: flex; align-items: center; gap: 10px; padding: 0 16px; font: 700 12px/1 var(--f); font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; }
.bd-plate .k svg { width: 16px; height: 16px; fill: none; stroke: var(--yellow); stroke-width: 2; }
.bd-plate .clock { margin-left: auto; display: flex; align-items: center; padding: 0 16px; font: 500 12.5px/1 var(--m); color: var(--on-ink-2); border-left: 1px solid var(--rule-ink); }
.bd-back { display: flex; align-items: center; gap: 8px; padding: 0 14px 0 12px; font: 700 12px/1 var(--f); font-stretch: 85%; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink); border-right: 1px solid var(--rule-ink); }
.bd-back:hover { background: var(--ink-2); }
.bd-back svg { width: 16px; height: 16px; fill: none; stroke: var(--yellow); stroke-width: 2; }
.bd-scroll { flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
.bd-intro { padding: 26px 22px 20px; }
.bd-intro h1 { font-size: var(--t-3); line-height: .94; letter-spacing: -.028em; font-stretch: 92%; }
.bd-intro h1 em { font-style: normal; color: var(--yellow); }
.bd-intro p { margin-top: 14px; color: var(--on-ink-2); font-size: var(--t-b); max-width: 34ch; }
.bd-cta { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 22px 22px; }

.dep-h { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; padding: 10px 22px 8px; font: 500 10.5px/1 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); border-top: 1px solid var(--rule-ink); }
.deps { list-style: none; margin: 0; padding: 0; }
.dep { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; width: 100%; min-height: 58px; padding: 9px 22px; text-align: left; border-top: 1px solid var(--rule-ink); transition: background-color var(--d1) var(--ease); }
.dep:hover { background: var(--ink-2); }
.dep-g { font: 500 15px/1 var(--m); color: var(--yellow); letter-spacing: .02em; }
.dep-n { min-width: 0; }
.dep-n b { display: block; font: 700 15px/1.15 var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dep-n span { display: block; margin-top: 3px; font: 400 11.5px/1.2 var(--m); color: var(--on-ink-3); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dep-s { text-align: right; font: 500 11.5px/1.25 var(--m); letter-spacing: .06em; text-transform: uppercase; }
.dep-s i { display: block; font-style: normal; color: var(--on-ink-3); margin-top: 3px; font-size: 11px; }
.flag { display: inline-block; padding: 4px 7px 3px; font: 700 10.5px/1 var(--f); font-stretch: 85%; letter-spacing: .14em; text-transform: uppercase; }
.flag-open { background: var(--green); color: var(--paper); }
.flag-soon { background: transparent; color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
.flag-ended { background: var(--yellow); color: var(--ink); }
.flag-born { background: var(--paper); color: var(--ink); }
.flag-failed, .flag-expired { background: transparent; color: var(--on-ink-3); box-shadow: inset 0 0 0 1px var(--on-ink-3); }
.flag-demo { background: transparent; color: var(--on-ink-2); box-shadow: inset 0 0 0 1px var(--on-ink-3); }

.phone { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; margin: 4px 22px 22px; padding: 14px; background: var(--ink-2); }
.phone .qr { width: 112px; height: 112px; padding: 6px; background: var(--paper); box-shadow: 0 0 0 3px var(--yellow); }
.phone b { display: block; font: 700 15px/1.2 var(--f); }
.phone p { margin-top: 6px; font-size: 12.5px; color: var(--on-ink-2); }
.phone .mono { display: inline-block; margin-top: 8px; font-size: 11.5px; color: var(--yellow); }
.bd-foot { margin-top: auto; padding: 14px 22px; border-top: 1px solid var(--rule-ink); font: 400 11.5px/1.45 var(--m); color: var(--on-ink-3); }

/* empty state: the demo row and the invitation */
.demo-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 22px 14px; padding: 6px 9px; font: 500 11px/1 var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-2); box-shadow: inset 0 0 0 1px var(--on-ink-3); }
.demo-tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.invite { margin: 18px 22px 22px; padding: 18px; border: 1px dashed var(--on-ink-3); }
.invite p { color: var(--on-ink-2); font-size: 13.5px; margin-bottom: 14px; max-width: 32ch; }

/* spot face */
.sp-head { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 20px 22px 18px; align-items: start; }
.sp-pic { width: 104px; height: 104px; background: var(--paper); object-fit: cover; }
.sp-pic.ph { display: grid; place-items: center; background: var(--ink-2); color: var(--on-ink-3); font: 500 11px/1 var(--m); }
.sp-gate { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sp-gate .g { background: var(--yellow); color: var(--ink); font: 500 14px/1 var(--m); padding: 5px 7px 4px; }
.sp-head h2 { font-size: var(--t-l); line-height: 1.02; letter-spacing: -.02em; }
.sp-sub { margin-top: 6px; font: 400 12px/1.35 var(--m); color: var(--on-ink-2); text-transform: uppercase; letter-spacing: .05em; }
.sp-sub b { color: var(--on-ink); font-weight: 500; }
.rows { margin: 0; padding: 0 22px; display: grid; }
.row { display: grid; grid-template-columns: 124px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--rule-ink); align-items: baseline; }
.row dt { font: 500 10.5px/1.3 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); }
.row dd { margin: 0; font: 500 14px/1.35 var(--m); font-variant-numeric: tabular-nums; }
.row dd small { color: var(--on-ink-3); font-size: 11.5px; }
.row dd .ok { color: var(--green-l); }
.meter { position: relative; height: 6px; margin-top: 8px; background: var(--ink-3); }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--paper); transition: width var(--d3) var(--ease); }
.meter .min { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--yellow); }
.hist { margin: 4px 22px 0; padding: 12px 0 14px; border-top: 1px solid var(--rule-ink); }
.hist-h { display: flex; justify-content: space-between; font: 500 10.5px/1 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); margin-bottom: 10px; }
.hist-bars { display: flex; align-items: flex-end; gap: 2px; height: 54px; }
.hist-bars span { flex: 1; min-width: 2px; background: var(--ink-3); position: relative; }
.hist-bars span i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--green-l); }
.hist-bars span b { position: absolute; left: 0; right: 0; bottom: 0; background: var(--yellow); }
.hist-bars span.now { box-shadow: 0 -2px 0 var(--paper); }
.hist-k { display: flex; gap: 14px; margin-top: 8px; font: 400 11px/1 var(--m); color: var(--on-ink-3); }
.hist-k i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: -1px; }
.sp-acts { display: grid; gap: 10px; padding: 16px 22px 22px; }
.sp-note { font: 400 12px/1.5 var(--m); color: var(--on-ink-2); }
.sp-note b { color: var(--on-ink); font-weight: 500; }
.mypass { margin: 0 22px 6px; padding: 14px; background: var(--paper); color: var(--ink); position: relative; }
.mypass::before { content: ""; position: absolute; left: 0; right: 0; top: 50px; border-top: 1.5px dashed var(--paper-3); }
.mp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 36px; }
.mp-top b { font: 700 12px/1 var(--f); font-stretch: 85%; letter-spacing: .14em; text-transform: uppercase; }
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.mp-grid div span { display: block; font: 500 10px/1 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.mp-grid div b { display: block; margin-top: 6px; font: 500 14px/1 var(--m); }
.stampv { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 4px; background: var(--green); color: var(--paper); font: 700 10.5px/1 var(--f); font-stretch: 85%; letter-spacing: .14em; text-transform: uppercase; }
.stampv svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.picks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; box-shadow: inset 0 0 0 1px var(--rule-ink); }
.picks button { min-height: 42px; font: 500 13px/1 var(--m); color: var(--on-ink); border-left: 1px solid var(--rule-ink); }
.picks button:first-child { border-left: 0; }
.picks button:hover { background: var(--ink-2); }
.picks button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.picks button[disabled] { color: var(--on-ink-3); cursor: not-allowed; background: none; }
.pick-l { font: 500 10.5px/1 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); margin-bottom: 8px; display: flex; justify-content: space-between; }
.linkrow { display: flex; flex-wrap: wrap; gap: 8px 16px; font: 500 12px/1 var(--m); }
.linkrow a, .linkrow button { color: var(--on-ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--on-ink-3); padding: 6px 0; }
.linkrow a:hover, .linkrow button:hover { color: var(--on-ink); text-decoration-color: var(--yellow); }

/* ------------------------------------------------------------------ arrivals */
.ar-h { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 0; background: var(--ink); color: var(--on-ink); flex: 0 0 auto; }
.ar-ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--green); color: var(--paper); }
.ar-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.ar-h h2 { font: 700 12px/1 var(--f); font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; }
.ar-sub { margin-left: auto; font-size: 10.5px; color: var(--on-ink-3); letter-spacing: .04em; }
.ar-list { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; overscroll-behavior: contain; scrollbar-width: thin; }
.ar { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.ar.fresh { animation: arr var(--d3) var(--ease); }
@keyframes arr { from { background: rgba(11, 122, 79, .14); } }
.ar-v { width: 36px; height: 36px; display: grid; place-items: center; font: 700 10px/1 var(--f); font-stretch: 85%; letter-spacing: .08em; }
.ar-v.qr { background: var(--ink); color: var(--yellow); }
.ar-v.tap { background: var(--green); color: var(--paper); }
.ar-t b { display: block; font: 500 13px/1.2 var(--m); }
.ar-t span { display: block; margin-top: 3px; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.ar-t span button { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--rule-2); }
.ar-w { text-align: right; font: 400 11px/1.3 var(--m); color: var(--mute); }
.ar-w em { display: block; font-style: normal; color: var(--ink); }
.ar-empty { padding: 22px 18px; display: grid; gap: 14px; justify-items: start; }
.ar-empty svg { width: 100%; height: auto; }
.ar-empty p { font-size: 13.5px; color: var(--mute); max-width: 30ch; }

/* ------------------------------------------------------------------ deck: place chips + totals strip */
.chips { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; align-self: flex-start; max-width: 100%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; font: 600 12.5px/1 var(--f); border-left: 1.5px solid var(--rule); white-space: nowrap; }
.chip:first-child { border-left: 0; }
.chip:hover { background: var(--paper-2); }
.chip[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.chip b { font: 500 11px/1 var(--m); color: var(--mute); }
.chip[aria-selected="true"] b { color: var(--yellow); }
.strip { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; min-height: 46px; background: var(--ink); color: var(--on-ink-2); font-size: 12.5px; }
.strip li { display: flex; align-items: center; gap: 8px; padding: 0 18px; border-left: 1px solid var(--rule-ink); white-space: nowrap; }
.strip li:first-child { border-left: 0; }
.strip li b { color: var(--on-ink); font-weight: 500; font-size: 14px; }
.strip li.kill { margin-left: auto; background: var(--green); color: rgba(242, 241, 236, .82); }
.strip li.kill b { color: var(--paper); }
.strip a { color: inherit; text-decoration: none; }

/* ------------------------------------------------------------------ pins on the map */
.pin { display: flex; flex-direction: column; align-items: center; cursor: pointer; position: absolute; top: 0; left: 0; }
.pin-code { display: grid; place-items: center; min-width: 40px; height: 30px; padding: 0 6px; background: var(--yellow); color: var(--ink); font: 500 12.5px/1 var(--m); box-shadow: 0 0 0 1.5px var(--ink); transition: transform var(--d2) var(--ease); }
.pin-tail { width: 2px; height: 12px; background: var(--ink); }
.pin-name { position: absolute; left: calc(100% + 6px); top: 0; height: 30px; display: flex; align-items: center; padding: 0 10px; background: var(--ink); color: var(--on-ink); font: 700 12px/1 var(--f); white-space: nowrap; opacity: 0; transform: translateX(-4px); transition: opacity var(--d1), transform var(--d2) var(--ease); pointer-events: none; }
.pin:hover .pin-name, .pin.sel .pin-name, .pin:focus-visible .pin-name { opacity: 1; transform: none; }
.pin:hover .pin-code { transform: translateY(-2px); }
.pin.sel .pin-code { transform: translateY(-4px) scale(1.12); }
.pin[data-phase="born"] .pin-code { background: var(--ink); color: var(--yellow); }
.pin[data-phase="failed"] .pin-code, .pin[data-phase="expired"] .pin-code { background: var(--paper); color: var(--mute); box-shadow: 0 0 0 1.5px var(--soft-d); }
.pin[data-phase="soon"] .pin-code { background: var(--paper); }
.pin.stamp .pin-code::after { content: ""; position: absolute; inset: -8px; box-shadow: 0 0 0 2px var(--green); animation: stamp 900ms var(--ease) forwards; }
@keyframes stamp { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* ------------------------------------------------------------------ below the map */
.sec-h { display: grid; gap: 10px; margin-bottom: 36px; }
.sec-k { display: inline-flex; align-self: start; justify-self: start; padding: 6px 9px 5px; background: var(--ink); color: var(--yellow); font: 700 11px/1 var(--f); font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; }
.sec-h h2 { font-size: var(--t-2); letter-spacing: -.024em; max-width: 22ch; }
.how, .trust { padding: 96px var(--gut); max-width: 1320px; margin: 0 auto; }
.how { border-bottom: 1.5px solid var(--ink); }
.how-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; box-shadow: inset 0 0 0 1.5px var(--ink); }
.how-c { padding: 26px 24px 28px; border-left: 1.5px solid var(--ink); display: grid; gap: 14px; align-content: start; }
.how-c:first-child { border-left: 0; }
.how-pic { height: 120px; background: var(--paper-2); display: grid; place-items: center; }
.how-pic svg { width: 150px; height: 100px; }
.how-pic .k { fill: var(--ink); }
.how-pic .y { fill: var(--yellow); }
.how-pic .yl { stroke: var(--yellow); stroke-width: 4; fill: none; }
.how-pic .s { stroke: var(--green); stroke-width: 4; fill: none; stroke-linecap: square; }
.how-pic .ring { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-dasharray: 5 5; }
.how-n { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.how-c p { font-size: 16px; max-width: 34ch; }
.how-vid { margin: 28px 0 0; box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--ink); }
.how-vid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.how-vid figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 14px 18px; color: var(--on-ink-2); font-size: 14px; border-top: 1px solid var(--rule-ink); }
.how-vid .hv-k { background: var(--yellow); color: var(--ink); padding: 5px 8px 4px; font: 700 11px/1 var(--f); font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; }
.how-vid .hv-t { margin-left: auto; font-size: 12.5px; color: var(--on-ink-3); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.tr-c { padding: 24px; display: grid; gap: 10px; align-content: start; min-height: 220px; }
.tr-c h3 { font-size: var(--t-m); letter-spacing: -.01em; }
.tr-c p { font-size: 14.5px; max-width: 34ch; }
.tr-k { font: 500 11px/1 var(--m); letter-spacing: .12em; text-transform: uppercase; }
.tr-green { background: var(--green); color: var(--paper); }
.tr-green p, .tr-green .tr-k { color: rgba(242, 241, 236, .8); }
.tr-soft { background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--soft-d); }
.tr-soft .tr-k { color: var(--mute); }
.tr-ink { background: var(--ink); color: var(--on-ink); }
.tr-ink p, .tr-ink .tr-k { color: var(--on-ink-2); }

/* the last sign in the terminal */
.exit { display: flex; flex-wrap: wrap; align-items: stretch; min-height: 52px; background: var(--ink); color: var(--on-ink); font: 600 13px/1 var(--f); }
.exit-sign { display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; background: var(--green); color: var(--paper); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-stretch: 85%; }
.exit-sign svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.exit a { display: inline-flex; align-items: center; padding: 0 18px; text-decoration: none; border-left: 1px solid var(--rule-ink); }
.exit a:hover { background: var(--ink-2); color: var(--yellow); }
.exit-note { margin-left: auto; display: flex; align-items: center; padding: 0 20px; color: var(--on-ink-3); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* ------------------------------------------------------------------ dialogs (check-in, mine, wallet picker) */
.dlg { border: 0; padding: 0; background: var(--paper); color: var(--ink); max-width: min(560px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.dlg::backdrop { background: rgba(17, 18, 20, .62); }
.dlg.board-dlg { background: var(--ink); color: var(--on-ink); }
.dlg-x { position: absolute; right: 0; top: 0; width: 48px; height: 48px; font: 400 26px/1 var(--f); display: grid; place-items: center; }
.dlg-x:hover { background: var(--paper-2); }
.board-dlg .dlg-x:hover { background: var(--ink-2); }
.dlg-h { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 60px 0 18px; border-bottom: 1px solid var(--rule); font: 700 12px/1 var(--f); font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; }
.board-dlg .dlg-h { border-color: var(--rule-ink); }
.dlg-b { padding: 20px 18px 22px; display: grid; gap: 16px; }
.dlg-b h2 { font-size: var(--t-xl); letter-spacing: -.02em; }
.dlg-b p { color: var(--mute); font-size: 14px; }
.board-dlg .dlg-b p { color: var(--on-ink-2); }
.wpick { padding: 22px 18px; }
.wpick h2 { font-size: var(--t-l); margin: 0 50px 16px 0; }
.wp-list { display: grid; gap: 0; box-shadow: inset 0 0 0 1.5px var(--ink); }
.wp-item { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; text-align: left; font-weight: 600; border-top: 1.5px solid var(--rule); }
.wp-item:first-child { border-top: 0; }
.wp-item:hover { background: var(--paper-2); }
.wp-item img { width: 28px; height: 28px; }
.wp-dot { width: 28px; height: 28px; background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); }
.wp-get { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 13px; }
.wp-get a { color: var(--mute); }
.wp-cur { margin-bottom: 12px; font-size: 14px; }
.wp-err { color: var(--red); margin-top: 10px; font-size: 13px; }
.wp-off { margin-top: 14px; min-height: 42px; padding: 0 16px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; }
.wp-none { color: var(--mute); }

.scan { position: relative; aspect-ratio: 1; background: #000; overflow: hidden; }
.scan video { width: 100%; height: 100%; object-fit: cover; }
.scan .reticle { position: absolute; inset: 14%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .38); }
.scan .reticle::before, .scan .reticle::after { content: ""; position: absolute; width: 38px; height: 38px; border: 4px solid var(--yellow); }
.scan .reticle::before { left: -4px; top: -4px; border-right: 0; border-bottom: 0; }
.scan .reticle::after { right: -4px; bottom: -4px; border-left: 0; border-top: 0; }
.scan-msg { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; background: rgba(17, 18, 20, .85); font: 500 12px/1.4 var(--m); color: var(--on-ink); }
.pass { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: 1fr auto; }
.pass-main { padding: 16px; display: grid; gap: 10px; }
.pass-main .k { font: 500 10px/1 var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.pass-main h3 { font-size: var(--t-l); }
.pass-main .v { font: 500 13px/1.3 var(--m); }
.pass-stub { width: 108px; border-left: 1.5px dashed var(--paper-3); display: grid; place-items: center; align-content: center; gap: 6px; padding: 12px; text-align: center; }
.pass-stub b { font: 500 26px/1 var(--m); }
.pass-stub span { font: 500 10px/1.2 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.pass-timer { height: 4px; background: var(--paper-3); position: relative; grid-column: 1 / -1; }
.pass-timer i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--green); }
.pass.done { box-shadow: inset 0 0 0 3px var(--green); }
.walletqr { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.walletqr .qr { background: var(--paper); padding: 8px; box-shadow: 0 0 0 3px var(--yellow); }
.form-msg { font: 400 12.5px/1.45 var(--m); color: var(--on-ink-2); min-height: 18px; }
.form-msg.err { color: #ff8d77; }

/* mine */
.mine-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); align-items: center; }
.mine-row b { font-weight: 700; }
.mine-row span { display: block; font: 400 12px/1.35 var(--m); color: var(--mute); margin-top: 3px; }
.mine-row .amt { font: 500 14px/1.2 var(--m); text-align: right; }
.mine-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; border-top: 1.5px solid var(--ink); font: 500 13px/1 var(--m); }
.mine-total b { font-size: 20px; }

/* toasts */
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(520px, calc(100vw - 24px)); pointer-events: none; }
.toast { display: flex; align-items: stretch; background: var(--ink); color: var(--on-ink); font: 500 13px/1.45 var(--f); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); animation: rise var(--d2) var(--ease); pointer-events: auto; }
.toast::before { content: ""; flex: 0 0 8px; background: var(--yellow); }
.toast.err::before { background: var(--red); }
.toast.ok::before { background: var(--green); }
.toast { padding: 0; }
.toast { padding-right: 16px; }
.toast { gap: 14px; }
.toast { min-height: 48px; align-items: center; }

/* ------------------------------------------------------------------ phone */
@media (max-width: 1180px) {
  .arrivals { width: 280px; }
  .board { width: 380px; }
  .strip li:nth-child(4) { display: none; }
  .maplibregl-ctrl-bottom-right { right: calc(var(--gut) + 296px) !important; }
}
@media (max-width: 980px) {
  .nav a[href="/stats"], .nav a[href="/log"] { display: none; }
  .padtoken .pt-v { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 819px) {
  :root { --top: 60px; --gut: 12px; }
  .top { position: sticky; top: 0; background: var(--paper); height: var(--top); gap: 8px; box-shadow: 0 1px 0 var(--rule); }
  .brand { height: 40px; font-size: 16px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { padding: 0 12px 0 10px; }
  .padtoken, .nav { display: none; }
  .wallet { margin-left: auto; min-height: 40px; }
  .wallet .sg-ico { width: 32px; }
  .stage { height: auto; min-height: 0; overflow: visible; }
  .map, .map-fallback { position: relative; height: 54svh; min-height: 330px; }
  .map::after { background: radial-gradient(120% 90% at 50% 45%, rgba(242, 241, 236, 0) 55%, rgba(220, 219, 211, .5) 100%); }
  .maplibregl-ctrl-bottom-right { bottom: 36px !important; right: 6px !important; }
  .board { position: relative; left: auto; top: auto; bottom: auto; width: auto; margin: -28px var(--gut) 0; min-height: 640px; box-shadow: none; }
  .bd-intro h1 { font-size: 38px; }
  .arrivals { position: relative; right: auto; top: auto; bottom: auto; width: auto; margin: 12px var(--gut) 0; }
  .ar-list { overflow: visible; }
  .deck { position: relative; left: auto; right: auto; bottom: auto; margin: 12px var(--gut) 0; }
  .chips { align-self: stretch; }
  .strip { flex-wrap: wrap; }
  .strip li { flex: 1 1 50%; min-height: 46px; border-top: 1px solid var(--rule-ink); }
  .strip li:nth-child(4) { display: flex; }
  .strip li.kill { flex-basis: 100%; margin-left: 0; white-space: normal; padding: 12px 18px; }
  .phone { display: none; }
  .how, .trust { padding: 64px var(--gut); }
  .sec-h h2 { font-size: 28px; }
  .how-row { grid-template-columns: 1fr; }
  .how-c { border-left: 0; border-top: 1.5px solid var(--ink); }
  .how-c:first-child { border-top: 0; }
  .trust-row { grid-template-columns: 1fr; }
  .tr-c { min-height: 0; }
  .exit a { padding: 16px 14px; }
  .exit-note { margin-left: 0; width: 100%; padding: 14px 20px; border-top: 1px solid var(--rule-ink); }
  .row { grid-template-columns: 104px 1fr; }
  .sp-head { grid-template-columns: 84px 1fr; }
  .sp-pic { width: 84px; height: 84px; }
  .walletqr { grid-template-columns: 1fr; justify-items: start; }
  .dlg { max-height: calc(100dvh - 12px); max-width: calc(100vw - 12px); }
}
@media (max-width: 380px) {
  .brand span { display: none; }
  .bd-intro h1 { font-size: 34px; }
  .picks { grid-template-columns: repeat(3, 1fr); }
  .picks button:nth-child(4) { border-left: 0; }
  .picks button:nth-child(n+4) { border-top: 1px solid var(--rule-ink); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* departures filter tabs (after the 21st.dev "Departures Board" status filter) */
.dep-tabs { display: flex; gap: 0; margin: 0 22px 12px; box-shadow: inset 0 0 0 1px var(--rule-ink); overflow-x: auto; scrollbar-width: none; }
.dep-tabs button { flex: 0 0 auto; min-height: 34px; padding: 0 11px; font: 600 12px/1 var(--f); color: var(--on-ink-2); border-left: 1px solid var(--rule-ink); }
.dep-tabs button:first-child { border-left: 0; }
.dep-tabs button:hover { color: var(--on-ink); background: var(--ink-2); }
.dep-tabs button b { font: 500 11px/1 var(--m); color: var(--on-ink-3); margin-left: 3px; }
.dep-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.dep-tabs button[aria-selected="true"] b { color: var(--mute); }

/* arrivals empty state: blank ticket rows drift up behind the invitation (after "Empty State with Marquee") */
.ar-empty { position: relative; }
.ar-ghost { height: 220px; overflow: hidden; width: 100%; -webkit-mask: linear-gradient(transparent, #000 30%, #000 60%, transparent); mask: linear-gradient(transparent, #000 30%, #000 60%, transparent); }
.ar-ghost-t { display: grid; gap: 8px; animation: drift 18s linear infinite; }
.gh { display: grid; grid-template-columns: 30px 1fr 34px; gap: 10px; align-items: center; height: 38px; padding: 0 4px; border-bottom: 1px solid var(--rule); }
.gh i { width: 30px; height: 30px; background: var(--paper-3); }
.gh i.qr { background: var(--soft); }
.gh b { height: 8px; background: var(--paper-3); }
.gh em { height: 8px; background: var(--paper-3); }
@keyframes drift { to { transform: translateY(-50%); } }

/* boarding pass: perforated stub with punched notches (after "Admit One Ticket") */
.pass { -webkit-mask: radial-gradient(circle 9px at calc(100% - 108px) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at calc(100% - 108px) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 9px at calc(100% - 108px) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at calc(100% - 108px) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
.pass-stub img { width: 72px; height: 72px; object-fit: cover; }

/* toasts carry a status plate (after the stacked "Toast" with status icons) */
.toast::before { content: "i"; flex: 0 0 42px; align-self: stretch; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 700 16px/1 var(--f); }
.toast.err::before { content: "!"; background: var(--red); color: var(--paper); }
.toast.ok::before { content: "\2713"; background: var(--green); color: var(--paper); }
.toast { padding: 12px 16px 12px 0; }
.toast::before { margin: -12px 0; }

/* example coins are pixel art: keep the pixels square at every size */
.sp-pic, .pass-stub img, .g-foot img, .ph img { image-rendering: pixelated; }

.arrivals.is-empty { bottom: auto; }
@media (max-width: 819px) { .arrivals.is-empty { max-height: none; } }

/* the three signs below the map are miniatures of the real interface, not icons */
.how-pic { height: 150px; overflow: hidden; }
.hp-gate { background: var(--ink); display: grid; grid-template-columns: auto 92px; grid-template-rows: 1fr auto; gap: 10px 16px; align-items: center; justify-content: center; padding: 16px 18px 14px; }
.hp-g { background: var(--yellow); color: var(--ink); padding: 6px 8px 5px; font-size: 16px; align-self: start; }
.hp-qr { width: 92px; height: 92px; background: var(--paper); padding: 4px; box-shadow: 0 0 0 3px var(--yellow); grid-row: 1 / 3; grid-column: 2; }
.hp-qr svg { width: 100%; height: 100%; display: block; }
.hp-bar { height: 4px; width: 58px; background: var(--ink-3); position: relative; align-self: end; }
.hp-bar i { position: absolute; inset: 0 40% 0 0; background: var(--yellow); }
@media (prefers-reduced-motion: no-preference) { .hp-bar i { animation: codelife 15s linear infinite; } }
@keyframes codelife { from { right: 0; } to { right: 100%; } }
.hp-pool { background: var(--ink); display: grid; align-content: center; justify-content: center; grid-template-columns: min(260px, 100%); gap: 12px; padding: 18px; justify-items: stretch; }
.hp-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; box-shadow: inset 0 0 0 1px var(--rule-ink); }
.hp-picks i { font-style: normal; text-align: center; padding: 9px 0; color: var(--on-ink-2); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; border-left: 1px solid var(--rule-ink); }
.hp-picks i:first-child { border-left: 0; }
.hp-picks i.on { background: var(--yellow); color: var(--ink); }
.hp-sign { display: flex; align-items: center; gap: 12px; height: 40px; background: var(--yellow); color: var(--ink); font: 700 12px/1 var(--f); font-stretch: 88%; letter-spacing: .075em; text-transform: uppercase; padding: 4px; }
.hp-sign b { width: 32px; height: 32px; background: var(--ink); }
.hp-born { background: var(--ink); display: grid; align-content: center; justify-content: center; grid-template-columns: min(300px, 100%); padding: 18px; }
.hp-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule-ink); border-bottom: 1px solid var(--rule-ink); color: var(--on-ink); }
.hp-c { color: var(--yellow); font-size: 14px; }
.hp-n b { display: block; font-size: 14px; }
.hp-n i { display: block; font-style: normal; font-size: 11px; color: var(--on-ink-3); margin-top: 3px; }

/* stake-to-earn */
.stake { display: grid; grid-template-columns: 1fr 1fr; box-shadow: inset 0 0 0 1px var(--rule-ink); }
.stake div { padding: 12px 14px; border-left: 1px solid var(--rule-ink); }
.stake div:first-child { border-left: 0; }
.stake span { display: block; font: 500 10.5px/1.2 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-3); }
.stake b { display: block; margin-top: 6px; font-size: 16px; font-weight: 500; color: var(--green-l); }
.unstake-box { padding: 14px; background: var(--paper-2); display: grid; gap: 4px; }
.unstake-box p { color: var(--ink) !important; font-size: 13.5px; }
.k-un { min-height: 38px; padding: 0 14px; font: 700 12px/1 var(--f); letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px var(--ink); }
.k-un:hover { background: var(--ink); color: var(--yellow); }
.k-un[disabled] { opacity: .45; cursor: not-allowed; background: none; color: inherit; }

/* arrivals lead with the spot's picture; the way in (room code / tap) is a tag on its corner */
.ar-v { position: relative; overflow: visible; }
.ar-v img { width: 36px; height: 36px; object-fit: cover; image-rendering: pixelated; background: var(--paper); }
.ar-v img + i { position: absolute; right: -6px; bottom: -5px; padding: 2px 3px 1px; font: 700 8.5px/1 var(--f); letter-spacing: .06em; font-style: normal; }
.ar-v.qr img + i { background: var(--ink); color: var(--yellow); }
.ar-v.tap img + i { background: var(--green); color: var(--paper); }
.ar-v:has(img) { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); }
.ar-v i { font-style: normal; }
@media (max-width: 819px) {
  .dep { grid-template-columns: 48px 1fr; row-gap: 6px; padding: 11px 16px; }
  .dep-h { grid-template-columns: 48px 1fr; padding: 10px 16px 8px; }
  .dep-h span:last-child { display: none; }
  .dep-s { grid-column: 2; text-align: left; display: flex; align-items: center; gap: 10px; }
  .dep-s i { margin-top: 0; }
  .bd-intro, .bd-cta { padding-left: 16px; padding-right: 16px; }
  .dep-tabs { margin: 0 16px 12px; }
}
@media (max-width: 819px) {
  .linkrow a, .linkrow button { min-height: 40px; display: inline-flex; align-items: center; }
  .board { margin-top: 0; }
  .ar-t span button { min-height: 32px; }
}
