/* Hanvo site (from draft D "Too big for the pool", owner's pick, with red points instead of the blue cast).
   Tokens, and only tokens, carry colour. Three inks: a near-black ground in five steps, warm white for the desk
   (the 0% line, the desk's figures, "0.00%"), and one vermilion signal used for points only: the pool's loss, the
   stem being read, the strike through $25,000, Dump Watch amounts, the primary button, the active dock mark,
   the brand bar, the COMING SOON lamp and focus rings. */
@font-face { font-family: "Familjen Grotesk"; src: url(/fonts/familjen-grotesk-var.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(/fonts/atkinson-next-var.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url(/fonts/fragment-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink-0: #07080b;            /* the black band: our answer */
  --ink-1: #0d1016;            /* page ground */
  --ink-2: #13171f;            /* raised: the tape, panels */
  --ink-3: #1c212b;            /* fields, hover step */
  --ink-4: #272d39;            /* pressed step */
  --line: rgba(200, 205, 215, .10);
  --line-2: rgba(200, 205, 215, .20);
  --t1: #eef0f3;               /* 17.1:1 on ink-1 */
  --t2: #b4b9c3;               /* 9.6:1 */
  --t3: #868d99;               /* 5.4:1 */
  --desk: #f3efe8;             /* warm white: the desk line and the desk's figures */
  --desk-ink: #0d1016;
  --desk-12: rgba(243, 239, 232, .12);
  --signal: #ff4f3f;           /* the one red: points, never floods */
  --signal-ink: #140706;
  --signal-12: rgba(255, 79, 63, .12);
  --paper: #ece6db;            /* lightest shade, used once per page as relief */
  --paper-ink: #0d1016;

  --f-title: "Familjen Grotesk", sans-serif;
  --f-body: "Atkinson Hyperlegible Next", sans-serif;
  --f-num: "Fragment Mono", monospace;

  /* two named easings, three durations */
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --d1: 150ms;
  --d2: 250ms;
  --d3: 900ms;

  --gut: 48px;
  --gap: 24px;
}
@media (max-width: 760px) { :root { --gut: 16px; --gap: 16px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink-1); }
body {
  margin: 0; background: var(--ink-1); color: var(--t1);
  font: 400 18px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--desk); color: var(--desk-ink); }

.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.t2 { color: var(--t2); }
.t3 { color: var(--t3); }
.desk { color: var(--desk); }
.loss { color: var(--signal); }
.small { font-size: 14px; line-height: 1.5; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; font-size: 14px; }
[hidden] { display: none !important; }

/* map-legend label: a sample of the mark, then the word, sentence case */
.legend { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--t2); }
.legend i { display: inline-block; flex: none; }
.lg-desk { width: 22px; height: 2px; background: var(--desk); }
.lg-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--t1); }
.lg-loss { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }
.lg-dash { width: 22px; height: 0; border-top: 1.5px dashed var(--t2); }
.lg-stem { width: 1px; height: 14px; background: var(--t2); }
.lg-read { width: 1px; height: 14px; background: var(--t1); }
.lg-bar { width: 22px; height: 8px; background: var(--ink-4); }
.lg-vdash { width: 0; height: 14px; border-left: 1.5px dashed var(--t2); }

/* ---------- buttons: round pills ---------- */
.btn {
  position: relative; display: inline-grid; place-items: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 16px/1 var(--f-title); letter-spacing: -.005em;
  background: transparent; color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color var(--d1) var(--e-out), color var(--d1) var(--e-out), box-shadow var(--d1) var(--e-out), transform var(--d1) cubic-bezier(.4, 0, .2, 1), opacity var(--d1);
}
.btn > * { grid-area: 1 / 1; }
.btn:hover { background: var(--ink-3); }
.btn:active { transform: scale(.97); background: var(--ink-4); }
.btn:focus-visible, .chip:focus-visible, .seg button:focus-visible, .dock a:focus-visible, .dock button:focus-visible,
input:focus-visible, select:focus-visible, .linkish:focus-visible, .switch:focus-visible, [tabindex]:focus-visible, summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.btn-desk { background: var(--signal); color: var(--signal-ink); box-shadow: none; }
.btn-desk:hover { background: #ff6a5c; }
.btn-desk:active { background: #e8402f; }
.btn-desk:focus-visible { outline-color: var(--t1); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn[disabled]:active, .btn[aria-disabled="true"]:active { transform: none; }
.btn .lbl-busy, .btn .lbl-ok, .btn .lbl-err { visibility: hidden; }
.btn.is-busy .lbl-rest, .btn.is-ok .lbl-rest, .btn.is-err .lbl-rest { visibility: hidden; }
.btn.is-busy .lbl-busy, .btn.is-ok .lbl-ok, .btn.is-err .lbl-err { visibility: visible; }
.btn.is-busy { cursor: progress; }
.btn.is-err { box-shadow: inset 0 0 0 1px var(--t1); }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -3px; margin-right: 8px; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-sm::after { content: ""; position: absolute; inset: -4px 0; }

.linkish { background: none; border: 0; padding: 0; cursor: pointer; color: var(--t2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: color var(--d1), text-decoration-color var(--d1); font: inherit; }
.linkish:hover { color: var(--t1); text-decoration-color: var(--t1); }
.linkish:active { transform: scale(.94); }

/* ---------- inputs ---------- */
.field { display: grid; gap: 6px; }
.field > span:first-child { font-size: 14px; color: var(--t2); }
.input {
  width: 100%; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; outline: 0;
  background: var(--ink-3); color: var(--t1); box-shadow: inset 0 0 0 1px var(--line);
  font: 400 16px/1 var(--f-num); transition: box-shadow var(--d1), background-color var(--d1);
}
.input::placeholder { color: #8a909b; font-family: var(--f-body); }
.input:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--signal); }
.hint { min-height: 21px; font-size: 14px; color: var(--t3); }
.hint.is-err { color: var(--t1); }
.hint.is-err::before { content: "Not valid · "; color: var(--t2); }
.hint.is-plain-err::before { content: none; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form .input { flex: 1; min-width: 0; }

/* segmented: one indicator slides */
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { position: relative; z-index: 1; min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: none; cursor: pointer; color: var(--t2); font: 500 15px/1 var(--f-title); transition: color var(--d1); white-space: nowrap; }
.seg button:hover { color: var(--t1); }
.seg button:active { transform: scale(.97); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { color: var(--desk-ink); }
.seg .seg-ind { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; border-radius: 999px; background: var(--desk); transition: transform var(--d2) var(--e-out), width var(--d2) var(--e-out); }
.seg.is-instant .seg-ind { transition: none; }

.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; background: var(--ink-2); color: var(--t2); box-shadow: inset 0 0 0 1px var(--line); font: 500 15px/1 var(--f-title); transition: background-color var(--d1), color var(--d1); }
.chip:hover { background: var(--ink-3); color: var(--t1); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--t1); color: var(--ink-1); }

.switch { position: relative; width: 52px; height: 30px; border-radius: 999px; border: 0; cursor: pointer; background: var(--ink-4); transition: background-color var(--d2); flex: none; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--t1); transition: transform var(--d2) var(--e-out); }
.switch[aria-checked="true"] { background: var(--desk); }
.switch[aria-checked="true"]::after { transform: translateX(22px); background: var(--desk-ink); }
.switch::before { content: ""; position: absolute; inset: -7px -2px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--desk); border: 3px solid var(--ink-1); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--desk); border: 3px solid var(--ink-1); }

/* ---------- rolling digits ---------- */
.roll { display: inline-flex; white-space: nowrap; }
.roll .rd { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; }
.roll .rd > span { display: flex; flex-direction: column; transition: transform var(--d3) cubic-bezier(.16, 1, .3, 1); }
.roll .rd > span > span { height: 1em; line-height: 1; }
.roll .rc { display: inline-block; line-height: 1; transition: opacity 400ms var(--e-out); }

/* strike line drawn across the nominal figure */
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left center; transition: transform 350ms var(--e-io); }
.strike.is-on::after { transform: scaleX(1); }
.strike.is-reset::after { transition: none; transform: scaleX(0); }

/* ---------- dock (bottom navigation) ---------- */
.dock {
  position: fixed; z-index: 40; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(7, 8, 11, .92); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); max-width: calc(100vw - 24px);
}
.dock a, .dock button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: none; cursor: pointer; text-decoration: none; color: var(--t2); font: 500 16px/1 var(--f-title); white-space: nowrap; transition: background-color var(--d1), color var(--d1); }
.dock a:hover, .dock button:hover { background: var(--ink-3); color: var(--t1); }
.dock a:active, .dock button:active { transform: scale(.97); }
.dock [aria-current="page"], .dock [aria-current="true"] { color: var(--t1); background: var(--ink-3); }
.dock [aria-current="page"]::after, .dock [aria-current="true"]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--signal); }
.dock .dock-mark { color: var(--t1); font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.dock .sep { width: 1px; height: 24px; background: var(--line-2); margin: 0 4px; flex: none; }
.dock .key { font: 400 14px/1 var(--f-num); color: var(--t3); }
.dock .wallet-btn { color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2); }
.dock .wallet-btn .wdot { width: 8px; height: 8px; border-radius: 50%; background: var(--t3); }
.dock .wallet-btn.is-on .wdot { background: var(--desk); }
.dock .wallet-btn.is-warn .wdot { background: var(--t1); box-shadow: 0 0 0 3px var(--ink-4); }
.dock .wallet-btn .wl { font-variant-numeric: tabular-nums; }
.dock .wallet-btn.is-on .wl { font-family: var(--f-num); font-weight: 400; font-size: 15px; }
.dock .x-link { font-weight: 600; }

.mark { display: inline-block; width: 22px; height: 22px; flex: none; }

/* ---------- wallet picker ---------- */
dialog.wp { width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 22px; background: var(--ink-2); color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, .55); overflow: auto; }
dialog.wp[open] { animation: dlg-in var(--d2) var(--e-out); }
dialog.wp::backdrop { background: rgba(3, 4, 6, .7); }
@keyframes dlg-in { from { opacity: 0; transform: scale(.96); } }
.wp-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px 24px; }
.wp-head h2 { margin: 0; font: 600 22px/1.2 var(--f-title); letter-spacing: -.01em; }
.wp-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--t2); cursor: pointer; font: 400 22px/1 var(--f-title); }
.wp-x:hover { background: var(--ink-3); color: var(--t1); }
.wp-sec { padding: 8px 20px 4px 24px; font-size: 14px; color: var(--t2); }
.wp-rows { display: grid; gap: 6px; padding: 4px 16px 8px; }
.wp-row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 14px; border-radius: 16px; border: 0; cursor: pointer; background: var(--ink-3); color: var(--t1); text-align: left; font: 500 17px/1.2 var(--f-title); transition: background-color var(--d1); }
.wp-row:hover { background: var(--ink-4); }
.wp-row:active { transform: scale(.98); }
.wp-row[aria-busy="true"] { cursor: progress; }
.wp-row img { width: 34px; height: 34px; border-radius: 9px; }
.wp-row .tag { margin-left: auto; font: 400 14px/1 var(--f-body); color: var(--t2); }
.wp-row.is-busy .tag::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 900ms linear infinite; vertical-align: -1px; }
.wp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 16px 12px; }
@media (max-width: 520px) { .wp-tiles { grid-template-columns: 1fr; } }
.wp-tile { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; border-radius: 14px; text-decoration: none; color: var(--t1); background: transparent; box-shadow: inset 0 0 0 1px var(--line); font: 500 15px/1.2 var(--f-title); transition: background-color var(--d1); }
.wp-tile:hover { background: var(--ink-3); }
.wp-tile img { width: 28px; height: 28px; border-radius: 7px; }
.wp-tile .go { margin-left: auto; color: var(--t3); font-family: var(--f-num); font-size: 14px; }
.wp-msg { margin: 4px 24px 12px; min-height: 22px; font-size: 14px; color: var(--t2); }
.wp-msg.is-err { color: var(--t1); }
.wp-foot { padding: 12px 24px 20px; font-size: 14px; color: var(--t3); border-top: 1px solid var(--line); }

/* connected wallet panel */
.wpanel { position: fixed; z-index: 45; bottom: 86px; left: 50%; width: min(400px, calc(100vw - 24px)); transform: translateX(-50%); padding: 20px; border-radius: 20px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transform-origin: 50% 100%; transition: opacity var(--d1) var(--e-out), transform var(--d1) var(--e-out); }
.wpanel.is-open { opacity: 1; pointer-events: auto; transition-duration: var(--d2); }
.wpanel:not(.is-open) { transform: translateX(-50%) scale(.97); }
.wpanel dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 14px 0 16px; font-size: 15px; }
.wpanel dt { color: var(--t2); }
.wpanel dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.wpanel dd.num { font-family: var(--f-num); }
.wpanel .addr { display: flex; align-items: center; gap: 10px; font: 400 16px/1.2 var(--f-num); }
.wpanel .row { display: flex; gap: 8px; flex-wrap: wrap; }
.wpanel .warn { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ink-0); font-size: 14px; color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2); }

/* toasts */
.toasts { position: fixed; z-index: 60; left: 50%; bottom: 88px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { padding: 12px 18px; border-radius: 999px; background: var(--t1); color: var(--ink-1); font: 500 15px/1.2 var(--f-title); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: toast-in 400ms var(--e-out); max-width: min(560px, calc(100vw - 32px)); text-align: center; }
.toast.is-out { opacity: 0; transform: translateY(8px); transition: opacity var(--d1), transform var(--d1); }
@keyframes toast-in { from { transform: translateY(100%); opacity: 0; } }

/* ---------- the tape (top band) ---------- */
.tape { position: relative; background: var(--ink-2); border-bottom: 1px solid var(--line); overflow: hidden; user-select: none; }
.tape-top { position: relative; z-index: 3; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 14px var(--gut) 0; min-height: 44px; }
.tape-top .legends { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.tape-field { position: relative; height: var(--field-h, 296px); }
.tape-grid { position: absolute; left: 0; right: 0; height: 1px; background: rgba(200, 205, 215, .06); }
.tape-axis { position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: calc(var(--gut) + 64px); padding-left: var(--gut); background: linear-gradient(90deg, var(--ink-2) 80%, rgba(19, 23, 31, 0)); pointer-events: none; }
.tape-axis span { position: absolute; left: var(--gut); transform: translateY(-50%); font: 400 14px/1 var(--f-num); color: var(--t3); }
.tape-deskline { position: absolute; z-index: 2; left: 0; right: 0; height: 2px; background: var(--desk); pointer-events: none; }
.tape-axis span.z { color: var(--desk); }
.tape-track { position: absolute; z-index: 1; left: 0; top: 0; height: 100%; display: flex; will-change: transform; }
.tcol { position: relative; flex: none; width: var(--col-w, 168px); height: 100%; cursor: pointer; }
.tcol .nm { position: absolute; left: 18px; top: 8px; font: 600 16px/1 var(--f-title); letter-spacing: -.01em; color: var(--t2); white-space: nowrap; transition: color var(--d2); }
.tcol .dx { position: absolute; left: 18px; top: 30px; font: 400 14px/1 var(--f-num); color: var(--t3); white-space: nowrap; }
.tcol .stem { position: absolute; left: 18px; width: 1px; background: var(--t3); transform-origin: top; transition: background-color var(--d2); }
.tcol .dot { position: absolute; left: 13px; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--ink-2); border: 1.5px solid var(--t2); transition: transform 600ms cubic-bezier(.16, 1, .3, 1), border-color var(--d2), background-color var(--d2); }
.tcol .val { position: absolute; left: 32px; margin-top: -9px; font: 400 14px/1.3 var(--f-num); color: var(--t2); white-space: nowrap; transition: color var(--d2); }
.tcol .val small { display: block; font-size: 14px; color: var(--t3); }
.tcol .ext { position: absolute; left: 18px; width: 0; border-left: 1px dashed rgba(200, 205, 215, .34); }
.tcol .tick { position: absolute; left: 13px; width: 11px; height: 1px; background: var(--t3); }
.tcol .tick.past { height: 0; width: 0; left: 13px; margin-top: -2px; border-left: 5.5px solid transparent; border-right: 5.5px solid transparent; border-top: 6px solid var(--t3); background: none; }
.tcol .xl { position: absolute; left: 32px; margin-top: -8px; font: 400 14px/1.2 var(--f-num); color: var(--t3); white-space: nowrap; }
.tcol:hover .ext, .tcol.is-read .ext, .tcol.is-sel .ext { border-left-color: rgba(238, 240, 243, .6); }
.tcol .noroute { position: absolute; left: 18px; font: 400 14px/1.3 var(--f-num); color: var(--t3); white-space: nowrap; }
.tcol:hover .nm, .tcol.is-read .nm, .tcol.is-sel .nm { color: var(--t1); }
.tcol:hover .stem { background: var(--t1); }
.tcol:hover .val, .tcol.is-read .val, .tcol.is-sel .val { color: var(--t1); }
.tcol.is-read .stem, .tcol.is-sel .stem { background: var(--signal); }
.tcol.is-read .dot, .tcol.is-sel .dot { border-color: var(--signal); background: var(--signal); transform: scale(1.35); }
.tcol.is-pop .dot { animation: dotpop 600ms cubic-bezier(.16, 1, .3, 1); }
@keyframes dotpop { 0% { transform: scale(.4); } 45% { transform: scale(2); } 100% { transform: scale(1.35); } }
.tape-head { position: absolute; z-index: 3; top: 0; bottom: 0; width: 1px; background: var(--t1); opacity: .55; pointer-events: none; }
.tape-head.is-flash { animation: headflash 900ms cubic-bezier(.16, 1, .3, 1); }
@keyframes headflash { 0% { opacity: 1; transform: scaleX(2.5); } 100% { opacity: .55; transform: none; } }
.tape-head::before { content: ""; position: absolute; left: -4px; top: 0; width: 9px; height: 9px; background: var(--t1); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.tape-note { position: absolute; z-index: 2; left: calc(var(--gut) + 56px); right: var(--gut); top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--t3); pointer-events: none; }
.tape-note b { font-weight: 400; color: var(--t2); }
.tape-sells { position: relative; height: 48px; border-top: 1px solid var(--line); overflow: hidden; }
.tape-sells .lbl { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 16px 0 var(--gut); background: var(--ink-2); font-size: 14px; color: var(--t2); white-space: nowrap; }
.tape-sells .lbl::after { content: ""; position: absolute; left: 100%; top: 0; bottom: 0; width: 40px; background: linear-gradient(90deg, var(--ink-2), rgba(19, 23, 31, 0)); }
.tape-sells .lbl-note { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); max-width: 55%; overflow: hidden; text-overflow: ellipsis; font-size: 14px; color: var(--t3); white-space: nowrap; }
@media (max-width: 760px) { .tape-top .source { display: none; } .tape-top .legends .legend:nth-child(n+2) { display: none; } .tape-sells .lbl { font-size: 14px; } }
@media (max-width: 520px) { .tcol .xl { display: none; } }
.sells-track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; will-change: transform; }
.sell { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 28px; font: 400 14px/1 var(--f-num); color: var(--t3); white-space: nowrap; border-left: 1px solid var(--line); text-decoration: none; }
.sell b { font-weight: 400; color: var(--signal); }
.sell em { font-style: normal; color: var(--t2); }
a.sell:hover b { text-decoration: underline; }

/* source line (instrument grammar: every panel ends with where its numbers came from) */
.source { font-size: 14px; color: var(--t3); }
.source b { font-weight: 400; color: var(--t2); }
.source.is-stale b { color: var(--t1); }

/* notices: data state, program state */
.notice { padding: 12px 16px; border-radius: 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; color: var(--t2); max-width: 72ch; }
.notice b { color: var(--t1); font-weight: 600; }
.notice.is-err { box-shadow: inset 0 0 0 1px var(--signal); }

/* launch status line: lamp, stamp, sentence */
.status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 22px 0 0; font-size: 14px; color: var(--t2); max-width: 40ch; }
.status b { font: 600 16px/1 var(--f-title); letter-spacing: .02em; color: var(--t1); }
.status .lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); align-self: center; animation: lamp 2.4s var(--e-io) infinite; }
.status.is-live .lamp { background: var(--desk); animation: none; }
@keyframes lamp { 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .roll .rd > span { transition: none; }
}
