/* SlateProof Edge — "Do this now". A wallet of passes on slate night.
   Tokens come from DESIGN-BRIEF.md; nothing below uses a raw colour outside
   the token block except drawn material gradients derived from the ramps. */

:root {
  color-scheme: dark;

  /* slate night (ground) and its ramp */
  --ground: #0b1118;
  --ground-2: #0f1620;
  --graphite: #141b24;
  --graphite-2: #1b2430;
  --graphite-3: #222d3b;
  --rule: #263241;
  --rule-2: #334152;

  /* ink on slate */
  --frost: #eef3f7;
  --frost-2: #c9d3dc;
  --mist: #93a1b0;

  /* titanium passes and their ink */
  --ti: #e3e8ed;
  --ti-hi: #f2f5f7;
  --ti-lo: #d3dae1;
  --ti-rule: #c3ccd5;
  --carbon: #10161d;
  --steel: #56616d;

  /* the one accent: money you can lock, and the next action */
  --mint: #5ce6cf;
  --mint-hi: #8ff0df;
  --mint-deep: #076d5d;
  --mint-deep-hi: #0a8370;
  --on-mint: #052a23;

  /* small marks only */
  --dk: #53d769;
  --dk-deep: #127534;
  --fd: #4d9cff;
  --fd-deep: #1a5fc8;
  --mgm: #d9b77e;
  --mgm-deep: #7a5a1c;
  --fan: #ff7aa8;
  --fan-deep: #a8285a;
  --br: #39c6e8;
  --br-deep: #0d6e86;
  --hr: #b48cff;
  --hr-deep: #5d36b5;
  --other: #93a1b0;
  --caution: #f2c46d;
  --caution-deep: #8a5a00;
  --loss: #ff9387;
  --loss-deep: #a3281c;

  /* one key light, upper left */
  --light-x: -0.6;
  --light-y: -0.8;
  --key: 235 244 250;
  --fill: 92 230 207;
  --shade: 3 7 11;

  /* elevation (aesthetics §2.3) */
  --e1: 0 1px 1px rgb(var(--shade) / .35), 0 2px 6px rgb(var(--shade) / .3), 0 14px 30px -18px rgb(var(--shade) / .7);
  --e2: 0 1px 2px rgb(var(--shade) / .4), 0 6px 14px rgb(var(--shade) / .35), 0 28px 48px -22px rgb(var(--shade) / .8);
  --e3: 0 2px 4px rgb(var(--shade) / .45), 0 12px 24px -6px rgb(var(--shade) / .45), 0 40px 70px -28px rgb(var(--shade) / .9);

  /* type */
  --sans: "Geist", ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --t-label: 11px;
  --t-small: 13px;
  --t-body: 16px;
  --t-lede: 20px;
  --t-sub: 24px;
  --t-money: 48px;
  --t-display: clamp(64px, 8.4vw, 128px);

  /* space, shape, motion */
  --gutter: clamp(16px, 3.4vw, 48px);
  --r-pass: 22px;
  --out: cubic-bezier(.2, .8, .2, 1);
  --settle: cubic-bezier(.3, 1.22, .42, 1);
  --t-fast: 160ms;
  --t-move: 280ms;
  --bar-h: 64px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* bet tracking is per user: shown only where the server turns it on */
html:not(.tracking) [data-tracking], html.tracking [data-no-tracking] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(70vw 60vh at 68% 22%, rgb(var(--key) / .055), transparent 70%),
    radial-gradient(120vw 80vh at 50% -10%, var(--ground-2), transparent 70%),
    var(--ground);
  background-attachment: fixed;
  color: var(--frost);
  font: 400 var(--t-body)/1.5 var(--sans);
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* honed slate: a faint cleft grain across the ground, tinted with the key light */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0025 .045' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .92  0 0 0 0 .95  0 0 0 0 .98  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .9  0 0 0 0 .94  0 0 0 0 .97  0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 640px 640px, 160px 160px;
}
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
p, li, dd, h3 { text-wrap: pretty; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.num, .money, .price, .stake, td.n { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 10px; }
.locked :focus-visible, .on-ti :focus-visible { outline-color: var(--mint-deep); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: var(--frost); color: var(--carbon); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.lbl, .eyebrow {
  font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist);
}

/* ------------------------------------------------------------------ bar */

.bar {
  position: sticky; top: 0; z-index: 40; height: var(--bar-h);
  background: rgb(11 17 24 / .94); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgb(255 255 255 / .05);
}
.bar-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; border-radius: 8px; box-shadow: var(--e1); }
.brand em { font-style: normal; color: var(--mist); font-weight: 500; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--mist);
  font-size: 14px; transition: color var(--t-fast) var(--out), background var(--t-fast) var(--out);
}
.nav a:hover { color: var(--frost); background: rgb(255 255 255 / .05); }
.nav a[aria-current="true"] { color: var(--frost); }
.nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--mint);
}
.engine { display: flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--mist); white-space: nowrap; text-align: right; }
.engine #engine-text { color: var(--frost); font-weight: 500; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--mist); flex: none; }
.engine.live .led { background: var(--mint); box-shadow: 0 0 0 0 rgb(var(--fill) / .5); animation: led 2.4s var(--out) infinite; }
.engine.delayed .led { background: var(--caution); }
.engine.stopped .led { background: var(--loss); }
@keyframes led { 0% { box-shadow: 0 0 0 0 rgb(var(--fill) / .5); } 70%, 100% { box-shadow: 0 0 0 7px rgb(var(--fill) / 0); } }

.banner {
  max-width: 1320px; margin: 16px auto 0; padding: 12px 20px; border-radius: 999px; font-size: var(--t-small);
  background: var(--graphite); border: 1px solid var(--rule); color: var(--frost-2); width: calc(100% - 2 * var(--gutter));
}
.banner.warn { border-color: rgb(242 196 109 / .35); }
.banner.bad { border-color: rgb(255 147 135 / .4); }
.banner strong { color: var(--frost); }
.banner code { font-family: var(--mono); font-size: 12px; }

/* ----------------------------------------------------------------- hero */

.hero { padding: clamp(32px, 6vh, 64px) 0 clamp(48px, 8vh, 96px); min-height: calc(100svh - var(--bar-h)); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; column-gap: 64px;
  grid-template-areas: "copy wallet" "sheet wallet"; align-items: start;
}
.hero-copy { grid-area: copy; }
.runsheet { grid-area: sheet; }
.wallet { grid-area: wallet; }
.hero-copy { padding-top: 24px; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow .led { width: 6px; height: 6px; background: var(--mint); }
.display {
  margin-top: 24px; font-size: var(--t-display); font-weight: 600; line-height: .9; letter-spacing: -0.055em;
  color: var(--frost); text-wrap: balance;
}
.display .nb { display: block; }
/* the key light that sheens the passes catches the headline now and then */
.display {
  background: linear-gradient(100deg, var(--frost) 0 42%, #ffffff 50%, var(--frost) 58% 100%) 100% 0 / 320% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: glint 11s cubic-bezier(.6, 0, .2, 1) 1.2s infinite;
}
.display::selection { -webkit-text-fill-color: var(--carbon); }
@keyframes glint { 0%, 74% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
.lede { margin-top: 32px; font-size: var(--t-lede); line-height: 1.4; color: var(--frost-2); text-wrap: pretty; }
.tally { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); }
.tally .lede { grid-column: 1 / -1; margin-top: 0; }
.tally-item .money { margin-top: 10px; color: var(--frost); }
.tally-item.lock .money { color: var(--mint); }
.tally-item .lbl b { color: var(--frost-2); font-weight: 500; }
.lede b { color: var(--frost); font-weight: 600; }
.lede .m { color: var(--mint); font-weight: 600; font-variant-numeric: tabular-nums; }
.meta { margin-top: 14px; font-size: var(--t-small); color: var(--mist); text-wrap: pretty; }
.meta .warn { color: var(--caution); }

.runsheet { margin-top: 36px; }
.rs-more button { width: 100%; padding: 10px 0; background: none; border: 0; border-top: 1px solid var(--rule); text-align: left; color: var(--mist); font-size: 14px; }
.rs-more button:hover { color: var(--frost); }
.rs-group { font: 500 var(--t-label)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); padding: 16px 0 8px; }
.rs-group:first-child { padding-top: 0; }
.rs-item button {
  width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: baseline; gap: 12px;
  padding: 8px 12px 8px 0; background: none; border: 0; border-top: 1px solid var(--rule); text-align: left; color: var(--frost-2);
  transition: color var(--t-fast) var(--out);
}
.rs-group + .rs-item button { border-top-color: transparent; }
.rs-item button:hover { color: var(--frost); }
.rs-n { font: 500 12px/1 var(--mono); color: var(--mist); letter-spacing: .04em; }
.rs-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-val { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--frost-2); }
.rs-val.lock { color: var(--mint); }
.rs-item[aria-current="true"] button { color: var(--frost); }
.rs-item[aria-current="true"] .rs-n { color: var(--mint); }
.rs-item[aria-current="true"] .rs-name { font-weight: 600; }
.rs-item.placed .rs-name { text-decoration: line-through; text-decoration-color: var(--mist); color: var(--mist); }
.rs-item.placed .rs-val::before { content: "Placed "; color: var(--mist); }

/* --------------------------------------------------------------- wallet */

.wallet { position: relative; padding-top: 40px; }
.stack { position: relative; display: grid; max-width: 560px; perspective: 1800px; isolation: isolate; }
.stack-shadow {
  position: relative; z-index: -1; max-width: 560px; height: 40px; margin-top: -26px;
  background: radial-gradient(50% 50% at 50% 50%, rgb(var(--shade) / .85), transparent 70%);
  filter: blur(6px); pointer-events: none;
}

.pass {
  --d: 0; --peek: 16px;
  grid-area: 1 / 1; position: relative; display: grid;
  transform: translate3d(0, calc(var(--d) * var(--peek) * -1), 0) scale(calc(1 - var(--d) * .045));
  transform-origin: 50% 0;
  transition: transform 640ms var(--settle), opacity 360ms var(--out);
  z-index: calc(10 - var(--d));
}
.pass[data-d="1"], .pass[data-d="2"] { cursor: pointer; }
/* only the front pass sets the stack's height; the ones waiting behind are cut to it */
.pass:not([data-d="0"]) { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r-pass); }
.pass[data-d="0"]:not(.flipped) .face.back, .pass[data-d="0"].flipped .face.front { position: absolute; inset: 0; }
/* only the top edge of a waiting pass shows, so its contents need not paint */
.pass:not([data-d="0"]) .face > * { visibility: hidden; }
/* while the front pass turns over, the ones waiting behind step out of the way */
.stack.flipping .pass:not([data-d="0"]) { opacity: 0; transition: opacity 140ms linear; }
.stack.sizing { transition: height 440ms var(--out); overflow: visible; }
.pass[data-d="3"] { opacity: 0; pointer-events: none; visibility: hidden; transition: transform 640ms var(--settle), opacity 360ms var(--out), visibility 0s 360ms; }
.pass.leaving { transform: translate3d(0, 48px, 0) scale(.94); opacity: 0; transition-duration: 520ms; }
.pass-tilt { display: grid; will-change: transform; }
.pass-inner { display: grid; transform-origin: 50% 50%; }
/* The flip is two quarter turns (JS): edge-on, swap faces, back to facing you. Which face shows
   is decided here, never by back-face culling, so a browser that flattens 3D still shows a face. */
.face {
  grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; min-width: 0;
  border-radius: var(--r-pass); padding: 22px 24px 20px; overflow: hidden;
}
.pass:not(.flipped) .face.back, .pass.flipped .face.front { visibility: hidden; pointer-events: none; }

/* dim the passes waiting behind */
.face::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: rgb(var(--shade)); opacity: calc(var(--d) * .09); transition: opacity 400ms var(--out);
}

/* titanium: profit you can lock */
.locked .face {
  color: var(--carbon);
  background:
    radial-gradient(130% 80% at 12% 0%, rgb(255 255 255 / .62), transparent 52%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18' viewBox='0 0 160 18'%3E%3Cg fill='none' stroke='%2310161d' stroke-width='.45'%3E%3Cpath d='M0 9C20 0 20 18 40 9S60 0 80 9s20 9 40 0 20-9 40 0'/%3E%3Cpath d='M0 9C20 18 20 0 40 9S60 18 80 9s20-9 40 0 20 9 40 0'/%3E%3Cpath d='M0 4.5C20-4.5 20 13.5 40 4.5S60-4.5 80 4.5s20 9 40 0 20-9 40 0' opacity='.6'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 160px 18px,
    linear-gradient(162deg, var(--ti-hi) 0%, var(--ti) 46%, var(--ti-lo) 100%);
  background-blend-mode: normal, soft-light, normal;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 -1px 0 rgb(16 22 29 / .12), var(--e3);
}
/* graphite: profit that is only expected */
.expected .face {
  color: var(--frost);
  background:
    radial-gradient(130% 80% at 12% 0%, rgb(var(--key) / .085), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18' viewBox='0 0 160 18'%3E%3Cg fill='none' stroke='%23eef3f7' stroke-width='.45'%3E%3Cpath d='M0 9C20 0 20 18 40 9S60 0 80 9s20 9 40 0 20-9 40 0'/%3E%3Cpath d='M0 9C20 18 20 0 40 9S60 18 80 9s20-9 40 0 20 9 40 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 160px 18px,
    linear-gradient(162deg, var(--graphite-3) 0%, var(--graphite) 48%, #10161e 100%);
  background-blend-mode: normal, overlay, normal;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .09), inset 0 0 0 1px rgb(255 255 255 / .05), var(--e3);
}

/* world-fixed sheen; JS moves --sx with the tilt and a slow idle drift */
.face::after {
  content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(104deg, transparent 38%, rgb(255 255 255 / var(--sheen, .32)) 50%, transparent 62%) var(--sx, 60%) 0 / 300% 100% no-repeat;
  mix-blend-mode: soft-light;
}
.expected .face::after { --sheen: .16; mix-blend-mode: screen; }
.face > * { position: relative; z-index: 1; }

/* pass anatomy */
.pass-top { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.pass-no { font: 600 12px/1 var(--mono); letter-spacing: .04em; margin-right: 10px; color: var(--carbon); }
.expected .pass-no { color: var(--frost); }
.pass-kind { font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.pass-books { margin-left: auto; text-align: right; font: 500 var(--t-label)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pass-books .dot { margin: 0 6px 0 0; vertical-align: 0; }
.pass-books .arrow { margin: 0 8px; }
.locked .pass-kind, .locked .pass-books, .locked .lbl { color: var(--steel); }
.expected .pass-kind, .expected .pass-books { color: var(--mist); }
.arrow { opacity: .6; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--other); flex: none; }
.dot.dk { background: var(--dk); } .dot.fd { background: var(--fd); }
.locked .dot.dk, .on-ti .dot.dk { background: var(--dk-deep); }
.locked .dot.fd, .on-ti .dot.fd { background: var(--fd-deep); }
.dot.mgm { background: var(--mgm); } .dot.fan { background: var(--fan); }
.dot.br { background: var(--br); } .dot.hr { background: var(--hr); }
.locked .dot.mgm, .on-ti .dot.mgm { background: var(--mgm-deep); }
.locked .dot.fan, .on-ti .dot.fan { background: var(--fan-deep); }
.locked .dot.br, .on-ti .dot.br { background: var(--br-deep); }
.locked .dot.hr, .on-ti .dot.hr { background: var(--hr-deep); }
.locked .dot.other { background: var(--steel); }

.pass-money { margin-top: 24px; }
.money { display: block; margin-top: 8px; font-size: var(--t-money); font-weight: 500; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.money .cents { font-size: .5em; letter-spacing: -0.01em; position: relative; top: -0.78em; margin-left: .06em; }
.money .approx { font-size: .6em; color: var(--mist); margin-right: .14em; position: relative; top: -0.12em; }
.locked .money { color: var(--mint-deep); }
.money.neg { color: var(--loss); }
.locked .money.neg { color: var(--loss-deep); }
.pass-sub { margin-top: 8px; font-size: var(--t-small); }
.locked .pass-sub { color: var(--steel); }
.expected .pass-sub { color: var(--mist); }

.pass-event { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pass-event b { font-weight: 600; font-size: var(--t-body); }
.pass-event span { font-size: var(--t-small); }
.locked .pass-event span { color: var(--steel); }
.expected .pass-event span { color: var(--mist); }
.soon { color: var(--caution); }
.locked .soon { color: var(--caution-deep); }

.perf {
  height: 4px; margin: 20px -24px 4px;
  background: radial-gradient(circle 1.6px at 50% 50%, rgb(var(--shade) / .28) 98%, transparent) 0 0 / 10px 4px repeat-x;
}
.expected .perf { background-image: radial-gradient(circle 1.6px at 50% 50%, rgb(255 255 255 / .13) 98%, transparent); }

.steps { display: grid; }
.step { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; }
.step + .step { border-top: 1px solid var(--step-rule, var(--ti-rule)); }
.expected .step { --step-rule: var(--rule); }
.step-n {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
  font: 600 11px/1 var(--mono); border: 1px solid currentColor; opacity: .55;
}
.step-book { font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.step-book .dot { margin-right: 6px; vertical-align: 0; }
.step-book a { text-decoration: none; }
.step-book a svg { margin-left: 4px; vertical-align: 0; }
.step-book a:hover { text-decoration: underline; }
.ext { width: 9px; height: 9px; margin-left: 4px; stroke: currentColor; fill: none; stroke-width: 1.6; flex: none; vertical-align: 0; }
a:hover .ext { transform: translate(1px, -1px); }
.venue a, .who a, .slip-book a, .foot a { text-decoration: none; }
.venue a:hover, .who a:hover, .slip-book a:hover { text-decoration: underline; }
.venue .dot, .who .dot, .slip-book .dot { margin-right: 6px; vertical-align: 0; }
.needs { padding-left: 36px; }
.locked .step-book { color: var(--steel); }
.expected .step-book { color: var(--mist); }
.step-bet { margin-top: 4px; font-size: var(--t-body); font-weight: 600; line-height: 1.3; }
.step-note { margin-top: 2px; font-size: var(--t-small); }
.locked .step-note { color: var(--steel); }
.expected .step-note { color: var(--mist); }
.step-amt { text-align: right; }
.stake { font-size: var(--t-lede); font-weight: 600; letter-spacing: -0.01em; display: block; }
.price { font-size: var(--t-small); }
.locked .price { color: var(--steel); }
.expected .price { color: var(--mist); }

.checks { display: grid; gap: 6px; margin-top: 6px; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: var(--t-small); line-height: 1.45; }
.check::before { content: ""; width: 6px; height: 6px; border-radius: 50%; margin: 7px auto 0; background: var(--check-dot, var(--steel)); }
.check.warn { --check-dot: var(--caution); }
.locked .check { color: var(--carbon); }
.locked .check.warn { --check-dot: #c98a12; }
.expected .check { color: var(--frost-2); }
.expected .check:not(.warn) { --check-dot: var(--mist); }
details.more-checks { margin-top: 6px; }
details.more-checks > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: var(--t-small); font-weight: 600; }
details.more-checks > summary::-webkit-details-marker { display: none; }
details.more-checks > summary::before { content: "+"; font: 500 13px/1.45 var(--mono); text-align: center; }
details.more-checks[open] > summary::before { content: "\2212"; }
details.more-checks > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.locked details.more-checks > summary { color: var(--steel); }
.expected details.more-checks > summary { color: var(--mist); }
details.more-checks .checks { margin-top: 6px; }
.needs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; font-size: var(--t-small); }
.locked .needs { color: var(--steel); }
.expected .needs { color: var(--mist); }
.needs b { font-weight: 600; color: inherit; }

.pass-foot { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pass-foot .grow { flex: 1; }

/* buttons in pass material */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent; background: none; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background var(--t-fast) var(--out), border-color var(--t-fast) var(--out), color var(--t-fast) var(--out), transform var(--t-fast) var(--out);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.btn.ghost { border-color: var(--rule-2); color: var(--frost); }
.btn.ghost:hover { border-color: var(--mist); background: rgb(255 255 255 / .04); }
.btn.primary { background: var(--mint); color: var(--on-mint); box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 8px 20px -10px rgb(var(--fill) / .7); }
.btn.primary:hover { background: var(--mint-hi); }
.btn.text { padding: 0 6px; min-height: 32px; font-weight: 500; color: var(--mist); }
.btn.text:hover { color: var(--frost); }
.locked .btn.ghost, .on-ti .btn.ghost { border-color: rgb(16 22 29 / .22); color: var(--carbon); }
.locked .btn.ghost:hover, .on-ti .btn.ghost:hover { border-color: rgb(16 22 29 / .5); background: rgb(16 22 29 / .04); }
.locked .btn.primary, .on-ti .btn.primary { background: var(--mint-deep); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 8px 18px -10px rgb(7 109 93 / .9); }
.locked .btn.primary:hover, .on-ti .btn.primary:hover { background: var(--mint-deep-hi); }
.locked .btn.text { color: var(--steel); }
.locked .btn.text:hover { color: var(--carbon); }

/* "?" explain chips */
.ex {
  display: inline-grid; place-items: center; width: 18px; height: 18px; padding: 0; border-radius: 50%;
  border: 1px solid currentColor; background: none; font: 600 10px/1 var(--sans); letter-spacing: 0; opacity: .7;
  vertical-align: 1px; transition: opacity var(--t-fast) var(--out), background var(--t-fast) var(--out);
  position: relative;
}
.ex::after { content: ""; position: absolute; inset: -12px; }
.ex:hover { opacity: 1; }

/* PLACED stamp */
.stamp {
  position: absolute; z-index: 4; right: 22px; top: 70px; padding: 6px 12px; border: 2px solid currentColor; border-radius: 8px;
  font: 600 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mint-deep);
  transform: rotate(-4deg); pointer-events: none; opacity: 0; scale: 1.6;
}
.expected .stamp { color: var(--mint); }
.pass.stamped .stamp { opacity: .92; scale: 1; transition: opacity 180ms var(--out), scale 260ms cubic-bezier(.5, 1.6, .4, 1); }

/* back faces: the balance and the hundred nights */
.why-lede { margin-top: 14px; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.locked .why-lede { color: var(--carbon); }
.balance { display: block; width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.balance .beam-g { transition: transform 600ms var(--settle); }
.balance text { font-family: var(--sans); }
.outs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2px; }
.out { text-align: center; }
.out-name { font-size: var(--t-small); }
.locked .out-name { color: var(--steel); }
.expected .out-name { color: var(--mist); }
.out-val { font-size: var(--t-lede); font-weight: 600; font-variant-numeric: tabular-nums; }
.locked .out-val { color: var(--mint-deep); }
.out-val.neg { color: var(--loss-deep); }
.expected .out-val.neg { color: var(--loss); }
.math { margin-top: 16px; display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--step-rule, var(--ti-rule)); }
.expected .math { --step-rule: var(--rule); }
.math li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; font-size: var(--t-small); line-height: 1.45; }
.math .eq { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.locked .math li { color: var(--steel); }
.locked .math .eq { color: var(--carbon); }
.expected .math li { color: var(--mist); }
.expected .math .eq { color: var(--frost); }
.math li.total { font-weight: 600; }
.locked .math li.total, .locked .math li.total .eq { color: var(--mint-deep); }
.expected .math li.total, .expected .math li.total .eq { color: var(--frost); }
.lean { margin-top: 16px; display: grid; gap: 8px; }
.lean-row { display: flex; justify-content: space-between; font-size: 12px; gap: 12px; }
.locked .lean-row { color: var(--steel); }
.expected .lean-row { color: var(--mist); }
.caveat { margin-top: 14px; font-size: 12px; line-height: 1.45; }
.locked .caveat { color: var(--steel); }
.expected .caveat { color: var(--mist); }

.nights { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 16px; }
.nights svg { width: 148px; height: 148px; display: block; }
.legend { display: grid; gap: 10px; }
.legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; font-size: var(--t-small); line-height: 1.35; color: var(--mist); }
.legend li b { color: var(--frost); font-weight: 600; font-variant-numeric: tabular-nums; }
.legend i { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; }

/* range inputs in pass material */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: var(--track, var(--rule-2)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: var(--track, var(--rule-2)); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%;
  background: var(--thumb, var(--frost)); box-shadow: 0 1px 2px rgb(var(--shade) / .5), 0 0 0 4px rgb(var(--shade) / .12);
}
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--thumb, var(--frost)); }
.locked input[type="range"] { --track: var(--ti-rule); --thumb: var(--carbon); }

/* wallet bar under the stack */
.wallet-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; max-width: 560px; margin-top: 20px; }
.pager { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-size: var(--t-small); color: var(--mist); font-variant-numeric: tabular-nums; }
.round {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule-2); background: none;
  transition: border-color var(--t-fast) var(--out), background var(--t-fast) var(--out);
}
.round:hover { border-color: var(--mist); background: rgb(255 255 255 / .04); }
.round svg { width: 14px; height: 14px; fill: none; stroke: var(--frost); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.budget { display: inline-block; white-space: nowrap; }
.budget .lbl { margin-right: 10px; vertical-align: middle; }
.budget .money-in { vertical-align: middle; }
.money-in {
  display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--graphite); box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--mist); font-variant-numeric: tabular-nums;
}
.money-in:focus-within { box-shadow: inset 0 0 0 1px var(--mint); }
.money-in input { width: 64px; border: 0; background: none; color: var(--frost); font-weight: 600; outline: none; -webkit-appearance: none; appearance: none; -moz-appearance: textfield; }
.money-in input::-webkit-inner-spin-button, .money-in input::-webkit-outer-spin-button { -webkit-appearance: none; }
.pill-btn {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-2); background: none; font-size: var(--t-small); color: var(--frost-2);
  transition: border-color var(--t-fast) var(--out), color var(--t-fast) var(--out);
}
.pill-btn:hover { border-color: var(--mist); color: var(--frost); }
.pill-btn b { font-weight: 600; color: var(--frost); font-variant-numeric: tabular-nums; }

/* empty wallet */
.pass.empty-pass .face {
  color: var(--mist); background: none; border: 1.5px dashed var(--rule-2); box-shadow: none; min-height: 420px;
  justify-content: center; align-items: flex-start;
}
.pass.empty-pass .face::after, .pass.empty-pass .face::before { display: none; }
.empty-title { font-size: var(--t-sub); font-weight: 600; color: var(--frost); letter-spacing: -0.01em; }
.empty-pass p + p { margin-top: 10px; max-width: 36ch; }

/* ------------------------------------------------------------- sections */

.sec { padding: clamp(64px, 9vw, 128px) 0 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 40px; }
.sec-head > div:first-child { max-width: 46rem; }
.sec-title { font-size: var(--t-money); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sec-lede { margin-top: 14px; color: var(--mist); max-width: 60ch; text-wrap: pretty; }
.sec-foot { margin-top: 24px; font-size: var(--t-small); color: var(--mist); }
.paper-tag {
  font: 500 var(--t-label)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--caution);
  border: 1px solid rgb(242 196 109 / .45); padding: 6px 10px; border-radius: 999px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-2); background: none; color: var(--frost-2);
  font-size: var(--t-small); display: inline-flex; align-items: center; gap: 8px; transition: all var(--t-fast) var(--out);
}
.chip:hover { border-color: var(--mist); color: var(--frost); }
.chip[aria-pressed="true"] { background: var(--frost); border-color: var(--frost); color: var(--carbon); font-weight: 600; }
.chip .count { font-variant-numeric: tabular-nums; opacity: .7; }

.notice { margin-bottom: 24px; padding: 14px 20px; border-radius: 999px; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--rule); font-size: var(--t-small); color: var(--frost-2); }
.notice strong { color: var(--frost); }
.notice.warn strong { color: var(--caution); }
.empty { padding: 32px; border-radius: var(--r-pass); border: 1.5px dashed var(--rule-2); color: var(--mist); }
.empty strong { display: block; color: var(--frost); font-size: var(--t-lede); font-weight: 600; margin-bottom: 6px; }
.empty p { max-width: 60ch; }
.empty code { font-family: var(--mono); font-size: 12px; color: var(--frost-2); }
.spinner { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; border: 2px solid var(--rule-2); border-top-color: var(--mint); animation: spin 900ms linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------- sign-up offers */

.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.offer {
  border-radius: var(--r-pass); padding: 20px 22px 18px; color: var(--frost); display: grid; gap: 10px;
  background: linear-gradient(162deg, var(--graphite-3), var(--graphite) 50%, #10161e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), inset 0 0 0 1px rgb(255 255 255 / .045), var(--e1);
}
.offer.used { opacity: .6; }
.offer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.offer-book { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.offer-kind { font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); display: inline-flex; align-items: center; gap: 6px; }
.offer-name { font-size: var(--t-body); font-weight: 600; letter-spacing: -0.005em; }
.offer-money .money { color: var(--mint); }
.offer-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: var(--t-small); color: var(--frost-2); }
.offer-steps b { color: var(--frost); }
.offer-steps .muted { color: var(--mist); }
.offer-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font-size: 12px; color: var(--mist); border-top: 1px solid var(--rule); padding-top: 10px; }

/* taxes in the "Where you bet" sheet, and after-tax figures */
.tax-box { display: grid; gap: 10px; }
.tax-row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 18px; }
.tax-row .where-field { flex: 1 1 200px; }
.tax-check { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--frost-2); min-height: 44px; }
.tax-check input { width: 18px; height: 18px; accent-color: var(--mint); }
.tax-check:has(input:disabled) { opacity: .55; }
.lstat span + span { display: block; }
.lstat .tax-loss { color: var(--caution); }

/* ------------------------------------------------------- promo drawers */

.drawers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.drawer-head { display: flex; align-items: center; gap: 10px; font: 500 var(--t-label)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); margin-bottom: 16px; }
.drawer-list { display: grid; }
.drawer-empty { padding: 20px 0; color: var(--mist); font-size: var(--t-small); }

.token { position: relative; border-radius: var(--r-pass); }
.token + .token { margin-top: 12px; }
.token > summary { list-style: none; }
.token > summary::-webkit-details-marker { display: none; }
.token { overflow: hidden; }
.token {
  color: var(--frost);
  background: linear-gradient(162deg, var(--graphite-3), var(--graphite) 50%, #10161e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), inset 0 0 0 1px rgb(255 255 255 / .045), var(--e1);
}
.token[open] { box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), inset 0 0 0 1px rgb(255 255 255 / .07), var(--e2); }
.tag-mint { font: 500 var(--t-label)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); border: 1px solid rgb(var(--fill) / .4); padding: 4px 7px; border-radius: 999px; }
.token-strip {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 4px 16px; align-items: center;
  padding: 18px 22px; cursor: pointer;
}
.token-kind { font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.token.locked .token-kind { color: var(--steel); }
.token.expected .token-kind { color: var(--mist); }
.token-name { grid-column: 1; font-size: var(--t-body); font-weight: 600; margin-top: 6px; letter-spacing: -0.005em; }
.token-bet { grid-column: 1; font-size: var(--t-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.token.locked .token-bet { color: var(--steel); }
.token.expected .token-bet { color: var(--mist); }
.token-val {
  grid-column: 2; grid-row: 1 / span 3; align-self: stretch; position: relative; min-width: 128px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
  padding-left: 20px; margin: -18px 0; border-left: 1.5px dashed var(--rule-2);
}
.token-val::before, .token-val::after {
  content: ""; position: absolute; left: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--ground);
}
.token-val::before { top: -7px; }
.token-val::after { bottom: -7px; }
.token[open] .token-val::after { display: none; }
.token-val .approx { display: inline-block; width: .9em; text-align: left; color: var(--mist); font-weight: 500; }
.token-val .v { display: block; font-size: var(--t-sub); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.token-val .k { display: block; font-size: 12px; margin-top: 2px; }
.token.lockable .token-val .v { color: var(--mint); }
.token.expected .token-val .k { color: var(--mist); }
.chev { grid-column: 3; grid-row: 1 / span 3; align-self: center; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .55; transition: transform var(--t-move) var(--out); }
.token[open] .chev { transform: rotate(180deg); }
.token > summary:hover .token-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.token[open] { z-index: 2; }
.token-body { padding: 0 22px 26px; display: grid; gap: 16px; }
.token.locked .token-body { color: var(--carbon); }
.token-blurb { font-size: var(--t-small); line-height: 1.5; }
.token.locked .token-blurb { color: var(--steel); }
.token.expected .token-blurb { color: var(--mist); }
.betbox { padding: 16px 0; border-top: 1px solid var(--step-rule, var(--ti-rule)); border-bottom: 1px solid var(--step-rule, var(--ti-rule)); }
.token.expected .betbox { --step-rule: var(--rule); }
.betbox-main { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 6px; }
.betbox-main b { font-size: var(--t-lede); font-weight: 600; letter-spacing: -0.01em; }
.betbox-main .price { font-size: var(--t-lede); font-weight: 600; color: inherit; }
.betbox-sub { margin-top: 4px; font-size: var(--t-small); }
.token.locked .betbox-sub { color: var(--steel); }
.token.expected .betbox-sub { color: var(--mist); }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field dt { font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.token.locked .field dt { color: var(--steel); }
.token.expected .field dt { color: var(--mist); }
.field dd { margin-top: 6px; font-size: var(--t-body); font-weight: 600; font-variant-numeric: tabular-nums; }
.lockline { font-size: var(--t-small); line-height: 1.5; }
.lockline b { font-weight: 600; }
.token.locked .lockline .m { color: var(--mint-deep); font-weight: 600; }
.token.expected .lockline .m { color: var(--mint); font-weight: 600; }
.token.expected .lockline { color: var(--frost-2); }
.token details.more > summary { cursor: pointer; font-size: var(--t-small); font-weight: 600; display: flex; align-items: center; gap: 8px; list-style: none; }
.token details.more > summary::-webkit-details-marker { display: none; }
.token details.more > summary::before { content: "+"; font: 500 14px/1 var(--mono); width: 14px; }
.token details.more[open] > summary::before { content: "−"; }
.opts { display: grid; margin-top: 8px; }
.opt { padding: 10px 0; border-top: 1px solid var(--step-rule, var(--ti-rule)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; font-size: var(--t-small); }
.token.expected .opt { --step-rule: var(--rule); }
.opt-sub { grid-column: 1 / -1; color: var(--mist); font-size: 12px; }
.token.locked .opt-sub { color: var(--steel); }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin-top: 10px; font-size: var(--t-small); }
.kv dt { color: var(--mist); }
.token.locked .kv dt { color: var(--steel); }
.mini { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: var(--t-small); }
.mini th, .mini td { text-align: left; padding: 6px 0; border-top: 1px solid var(--step-rule, var(--ti-rule)); }
.mini .r { text-align: right; font-variant-numeric: tabular-nums; }
.token.expected .mini th, .token.expected .mini td { --step-rule: var(--rule); }

/* ------------------------------------------- arbitrage: why + ledger */

.why {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center;
  padding: 40px; border-radius: var(--r-pass); margin-bottom: 48px;
  background: linear-gradient(162deg, var(--graphite-2), var(--graphite) 55%, #10161e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), inset 0 0 0 1px rgb(255 255 255 / .04), var(--e2);
}
.why:empty { display: none; }
.why-steps { display: grid; gap: 4px; counter-reset: why; }
.why-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
.why-step:first-child { border-top: 0; padding-top: 0; }
.why-step .n { font: 600 12px/1.6 var(--mono); color: var(--mist); }
.why-step h3 { font-size: var(--t-body); font-weight: 600; }
.why-step p { margin-top: 4px; font-size: var(--t-small); color: var(--mist); line-height: 1.5; }
.why-step p .eq { font-family: var(--mono); font-size: 12px; color: var(--frost); white-space: nowrap; }
.why-card { border-radius: var(--r-pass); padding: 24px 26px; position: relative; overflow: hidden; }
.why-card .why-head { display: flex; align-items: center; gap: 10px; }
.why-real { font-size: var(--t-small); color: var(--steel); margin-top: 4px; }
.why-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.why-controls label { display: grid; gap: 4px; font-size: 12px; color: var(--steel); }
.why-controls output { font-weight: 600; color: var(--carbon); font-variant-numeric: tabular-nums; }
.not-free { margin-top: 20px; display: grid; gap: 8px; font-size: var(--t-small); color: var(--mist); }
.not-free b { color: var(--frost); font-weight: 600; }

.ledger-plate {
  padding: 8px 32px 20px; border-radius: var(--r-pass);
  background: linear-gradient(162deg, var(--graphite-2), var(--graphite) 55%, #10161e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), inset 0 0 0 1px rgb(255 255 255 / .04), var(--e2);
}
.ledger-shared { padding: 20px 0 16px; border-bottom: 1px solid var(--rule); }
.ledger-shared ul { display: grid; gap: 6px; margin-top: 10px; }
.ledger-shared li { display: flex; justify-content: space-between; gap: 24px; font-size: var(--t-small); color: var(--frost-2); }
.ledger-shared li b { font-weight: 500; color: var(--mist); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger-foot { padding-top: 16px; font-size: var(--t-small); color: var(--mist); }
.ldivider { display: flex; align-items: center; gap: 12px; padding: 28px 0 8px; font: 500 var(--t-label)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.ldivider b { font-weight: 500; color: var(--frost-2); }
.ldivider::after { content: ""; flex: 1; border-top: 1px dashed var(--rule-2); }
.lrow.off { opacity: .62; }
.chip-block { display: inline-block; justify-self: start; padding: 4px 10px; border-radius: 999px; border: 1px solid rgb(242 196 109 / .45); color: var(--caution); }
.ledger { display: grid; }
.lrow {
  display: grid; grid-template-columns: 112px minmax(0, 1.2fr) minmax(0, 1.6fr) 150px; gap: 8px 24px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--rule);
}
.ledger > .lrow:first-child { border-top: 0; }
.lrow.off { color: var(--mist); }
.lmargin { font-size: var(--t-sub); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--mint); }
.lrow.off .lmargin { color: var(--mist); }
.lmargin small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--mist); margin-top: 2px; }
.lwhat b { display: block; font-weight: 600; color: var(--frost); }
.lwhat span { display: block; font-size: var(--t-small); color: var(--mist); margin-top: 2px; }
.llegs { display: grid; gap: 6px; font-size: var(--t-small); }
.lleg { display: grid; grid-template-columns: 132px minmax(0, 1fr) 64px; gap: 12px; align-items: baseline; }
.lleg .who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--frost-2); }
.lleg .who .o { display: block; font-size: 11px; }
.lleg .o { color: var(--mist); font-variant-numeric: tabular-nums; }
.lleg .s { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; }
.lstat { text-align: right; font-size: var(--t-small); }
.lstat b { display: block; font-size: var(--t-body); font-weight: 600; font-variant-numeric: tabular-nums; }
.lrow.off .lstat b { color: var(--mist); }
.lnotes { grid-column: 2 / -1; display: grid; gap: 4px; font-size: 12px; color: var(--mist); }
.lnotes .block { color: var(--caution); }
.rej { display: grid; gap: 4px; margin-top: 10px; max-width: 28rem; }
.rej li { display: flex; justify-content: space-between; gap: 16px; }
.rej b { color: var(--frost-2); font-variant-numeric: tabular-nums; }
details.plain > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------ tables */

.tbl-wrap { overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.tbl th { text-align: left; font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); padding: 0 12px 12px 0; white-space: nowrap; }
.tbl td { padding: 14px 12px 14px 0; border-top: 1px solid var(--rule); vertical-align: top; color: var(--frost-2); }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .main { display: block; color: var(--frost); font-weight: 600; font-size: var(--t-body); }
.tbl .sub { display: block; color: var(--mist); margin-top: 2px; }
.pos { color: var(--mint); }
.neg { color: var(--loss); }
.res { font: 500 var(--t-label)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--mist); }
.res.win { color: var(--mint); border-color: rgb(var(--fill) / .4); }
.res.loss { color: var(--loss); border-color: rgb(255 147 135 / .4); }

/* statement + pocket figures */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin-bottom: 32px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fig { padding: 20px 24px 20px 0; }
.fig + .fig { padding-left: 24px; border-left: 1px solid var(--rule); }
.fig dt { font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); display: flex; align-items: center; gap: 8px; }
.fig dd { margin-top: 10px; font-size: var(--t-money); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.fig .s { display: block; margin-top: 8px; font-size: var(--t-small); color: var(--mist); font-weight: 400; letter-spacing: 0; line-height: 1.4; }
.subhead { margin: 40px 0 16px; font-size: var(--t-lede); font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.subhead small { font-size: var(--t-small); font-weight: 400; color: var(--mist); }
.note { margin-top: 12px; font-size: var(--t-small); color: var(--mist); max-width: 70ch; }
.meter { display: inline-block; position: relative; width: 120px; height: 6px; border-radius: 999px; background: var(--rule); vertical-align: middle; }
.meter i { position: absolute; inset: 0 auto 0 0; width: var(--hit); border-radius: inherit; background: var(--frost-2); }
.meter b { position: absolute; top: -4px; bottom: -4px; left: var(--fair); width: 2px; margin-left: -1px; background: var(--mint); }
.more { margin-top: 20px; }

/* ------------------------------------------- statement, pocket, paper */

.statement {
  position: relative; padding: 32px 36px 28px; border-radius: var(--r-pass); color: var(--carbon);
  background:
    radial-gradient(130% 60% at 12% 0%, rgb(255 255 255 / .6), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18' viewBox='0 0 160 18'%3E%3Cg fill='none' stroke='%2310161d' stroke-width='.45'%3E%3Cpath d='M0 9C20 0 20 18 40 9S60 0 80 9s20 9 40 0 20-9 40 0'/%3E%3Cpath d='M0 9C20 18 20 0 40 9S60 18 80 9s20-9 40 0 20 9 40 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 160px 18px,
    linear-gradient(170deg, var(--ti-hi) 0%, var(--ti) 40%, var(--ti-lo) 100%);
  background-blend-mode: normal, soft-light, normal;
  box-shadow: inset 0 1px 0 #fff, var(--e3);
}
.statement .lbl, .statement .fig dt, .statement .fig .s, .statement .note, .statement .st-head small,
.statement .st-empty, .statement .tbl th, .statement .tbl .sub, .statement .st-date, .statement .st-foot { color: var(--steel); }
.statement .fig dd, .statement .tbl .main { color: var(--carbon); }
.statement .tbl td { color: #2c3540; border-top-color: var(--ti-rule); }
.statement .figures, .statement .fig + .fig, .statement .st-head, .statement .st-empty { border-color: var(--ti-rule); }
.statement .st-top, .statement .st-foot { border-color: #aeb8c2; }
.statement .pos { color: var(--mint-deep); }
.statement .neg { color: var(--loss-deep); }
.statement .meter { background: var(--ti-rule); }
.statement .meter i { background: var(--carbon); }
.statement .meter b { background: var(--mint-deep); }
.fig dd.quiet { font-size: var(--t-lede); font-weight: 500; letter-spacing: 0; color: var(--mist); }
.statement .fig dd.quiet { color: var(--steel); }
.st-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; padding-bottom: 20px; margin-bottom: 4px; border-bottom: 2px solid var(--rule-2); }
.st-acct { margin-top: 8px; font-size: var(--t-lede); font-weight: 600; letter-spacing: -0.01em; }
.st-acct b { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--mint-deep); letter-spacing: 0; white-space: nowrap; }
.st-date { text-align: right; font: 500 12px/1.6 var(--mono); color: var(--mist); }
.st-date span { display: block; }
.statement .figures { border-top: 0; margin-bottom: 8px; }
.settle-help { margin-top: 16px; font-size: var(--t-small); color: var(--mist); }
.settle-help code { font-family: var(--mono); font-size: 12px; color: var(--frost-2); }
.st-block { margin-top: 32px; }
.st-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); font-size: var(--t-body); font-weight: 600; }
.st-head small { font-size: var(--t-small); font-weight: 400; color: var(--mist); }
.st-sub { margin: 20px 0 8px; font-size: var(--t-small); font-weight: 600; color: var(--frost-2); }
.st-empty { padding: 14px 0; font-size: var(--t-small); color: var(--mist); border-bottom: 1px dashed var(--rule); }
.st-foot { margin-top: 28px; padding-top: 14px; border-top: 2px solid var(--rule-2); font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); text-align: center; }

.pocket {
  border-radius: var(--r-pass); padding: 10px; position: relative;
  background: linear-gradient(180deg, #080d13, var(--ground-2));
  box-shadow: inset 0 12px 24px -12px rgb(var(--shade) / .95), inset 0 0 0 1px rgb(255 255 255 / .05);
}
.pocket::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 12px; height: 0;
  border-top: 1.5px dashed rgb(255 255 255 / .1);
}
.pocket-in { padding: 28px 26px 22px; }
.pocket .figures { border-top: 0; }
.slips { display: grid; }
.slip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 16px 0; border-top: 1px solid var(--rule); }
.slip-book { font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.slip-tag { color: var(--mint); }
.slip-desc { margin-top: 6px; font-weight: 600; }
.slip-sub { margin-top: 4px; font-size: var(--t-small); color: var(--mist); }
.slip-id { font-family: var(--mono); font-size: 12px; }
.slip-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.slip-profit { font-size: var(--t-body); font-weight: 600; font-variant-numeric: tabular-nums; }
.btn.text.armed { color: var(--loss); }

.paper-plate {
  position: relative; padding: 32px 36px; border-radius: var(--r-pass); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgb(255 255 255 / .022) 0 1px, transparent 1px 9px),
    linear-gradient(162deg, #161c23, #12171e);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .05), var(--e1);
}
.paper-stamp {
  position: absolute; right: 28px; top: 24px; padding: 6px 12px; border: 2px solid currentColor; border-radius: 8px;
  font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--caution); opacity: .78;
  transform: rotate(-4deg); pointer-events: none;
}
.plate-title { font-size: var(--t-lede); font-weight: 600; color: var(--frost); }
.plate-text { margin-top: 8px; max-width: 62ch; color: var(--mist); }
.plate-text b { color: var(--frost); }
.paper-plate .tbl-wrap { margin-top: 56px; }

/* --------------------------------------------------------------- footer */

.foot { margin-top: clamp(80px, 10vw, 140px); padding: 48px 0 64px; border-top: 1px solid var(--rule); color: var(--mist); font-size: var(--t-small); }
.foot-in { display: grid; gap: 12px; max-width: 1320px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; margin-bottom: 32px; border-bottom: 1px solid var(--rule); }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { max-width: 34ch; }
.foot-grid .lbl { margin-bottom: 14px; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid a { color: var(--frost-2); }
.foot-grid a:hover { color: var(--frost); text-decoration: underline; }
.foot-in p { max-width: 75ch; }
.foot-lead strong { color: var(--frost); }
.foot a { color: var(--frost-2); }
.foot-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }

/* --------------------------------------------- sheet, explain, toast */

.sheet {
  width: min(560px, calc(100vw - 32px)); max-height: min(86svh, 760px); padding: 0; border: 0; border-radius: var(--r-pass);
  color: var(--frost); background: linear-gradient(162deg, var(--graphite-3), var(--graphite) 50%, #10161e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .09), 0 3px 6px rgb(var(--shade) / .5), 0 24px 48px -12px rgb(var(--shade) / .6), 0 70px 110px -40px rgb(var(--shade) / .9);
}
.sheet::backdrop { background: rgb(5 9 13 / .62); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheet-in 300ms var(--out); }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
.sheet form { padding: 26px 26px 22px; display: grid; gap: 18px; }
.sheet-title { font-size: var(--t-sub); font-weight: 600; letter-spacing: -0.02em; }
.sheet-lede { font-size: var(--t-small); color: var(--mist); margin-top: 6px; }
.sheet-legs { display: grid; gap: 0; }
.sheet-leg { display: grid; grid-template-columns: minmax(0, 1fr) 112px 112px; gap: 8px 12px; align-items: end; padding: 14px 0; border-top: 1px solid var(--rule); }
.sheet-leg .who { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.sheet-leg .what { font-weight: 600; align-self: center; }
.fld { display: grid; gap: 6px; font-size: 12px; color: var(--mist); }
.fld input {
  height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--ground); color: var(--frost);
  box-shadow: inset 0 0 0 1px var(--rule-2); font-weight: 600; font-variant-numeric: tabular-nums; width: 100%;
}
.fld input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--mint); }
.fld input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--loss); }
.sheet-note { font-size: var(--t-small); color: var(--mist); }
.sheet-err { font-size: var(--t-small); color: var(--loss); }
.sheet-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.acct-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.acct {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--rule-2); background: none; text-align: left; transition: all var(--t-fast) var(--out);
}
.acct .t { font-size: 12px; color: var(--mist); display: block; }
.acct .tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--rule-2); display: grid; place-items: center; }
.acct .tick svg { width: 10px; height: 10px; fill: none; stroke: var(--on-mint); stroke-width: 2.4; opacity: 0; }
.acct[aria-pressed="true"] { border-color: rgb(var(--fill) / .5); background: rgb(var(--fill) / .06); }
.acct[aria-pressed="true"] .tick { background: var(--mint); border-color: var(--mint); }
.acct[aria-pressed="true"] .tick svg { opacity: 1; }
.acct.illegal .t { color: var(--caution); }

/* where you bet: the state picker */
.eyebrow { flex-wrap: wrap; row-gap: 8px; }
.where-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--rule-2); background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--frost-2);
  transition: border-color var(--t-fast) var(--out), color var(--t-fast) var(--out);
}
.where-btn:hover { border-color: var(--mist); color: var(--frost); }
.where-btn.ask { border-color: rgb(var(--fill) / .5); color: var(--mint); }
.where-btn .pin { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.where-code { font: 600 12px/1 var(--mono); letter-spacing: .08em; color: var(--mint); margin-right: 8px; }
.btn.text.inline { display: inline; padding: 0; min-height: 0; color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.where-field { display: grid; gap: 8px; }
.where-field select {
  height: 44px; padding: 0 44px 0 16px; border-radius: 999px; border: 0; color: var(--frost); font: 600 var(--t-body)/1 var(--sans);
  background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6' fill='none' stroke='%2393a1b0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 14px;
  box-shadow: inset 0 0 0 1px var(--rule-2); -webkit-appearance: none; appearance: none;
}
.where-field select:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--mint); }
.where-note { font-size: var(--t-small); color: var(--frost-2); margin-top: -6px; text-wrap: pretty; }
.where-foot { font-size: 12px; color: var(--mist); text-wrap: pretty; }
.acct-head { margin-bottom: -8px; }
.lwhat .lane-tag {
  display: inline-block; margin-top: 8px; font: 500 var(--t-label)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--mint); border: 1px solid rgb(var(--fill) / .4); padding: 4px 7px; border-radius: 999px;
}

.explain {
  margin: 0; inset: auto; position: fixed; width: min(320px, calc(100vw - 32px)); padding: 18px 20px; border: 0; border-radius: 18px;
  color: var(--carbon); background: linear-gradient(162deg, var(--ti-hi), var(--ti) 60%, var(--ti-lo));
  box-shadow: inset 0 1px 0 #fff, var(--e3); font-size: var(--t-small); line-height: 1.5;
}
.explain:popover-open { animation: pop 200ms var(--out); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.explain h4 { font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.explain p + p { margin-top: 8px; }
.explain .eq { font-family: var(--mono); font-size: 12px; }

.toast {
  position: fixed; z-index: 60; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 999px;
  background: var(--frost); color: var(--carbon); font-size: 14px; font-weight: 500; box-shadow: var(--e3);
  animation: toast-in 300ms var(--settle);
}
.toast .btn { min-height: 34px; background: var(--carbon); color: var(--frost); }
@keyframes toast-in { from { transform: translate(-50%, 16px); opacity: 0; } }

.tabbar { display: none; }

/* ------------------------------------------------- admin: operations */

.admin-page .bar-in { gap: 20px; }
.admin-page .engine { margin-left: auto; }
.site-link { display: inline-flex; align-items: center; text-decoration: none; }
.ops { padding-top: 48px; padding-bottom: 32px; display: grid; gap: 24px; }
.ops-head { margin-bottom: 8px; }
.ops-plate {
  padding: 24px 28px; border-radius: var(--r-pass); min-width: 0;
  background: linear-gradient(162deg, var(--graphite-2), var(--graphite) 55%, #10161e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), inset 0 0 0 1px rgb(255 255 255 / .04), var(--e2);
}
.ops-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ops-title { font-size: var(--t-body); font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px; }
.ops-title small { font-size: var(--t-small); font-weight: 400; color: var(--mist); }
.ops-sub { margin-top: 24px; }
.ops-plate .figures { margin-bottom: 0; border-top: 0; border-bottom: 0; }
.ops-plate .fig dd { font-size: var(--t-sub); }
.ops-note { margin-top: 12px; font-size: var(--t-small); color: var(--mist); }
.quota-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 12px; }
.quota-top .money { margin: 0; color: var(--mint); }
.quota-of { font-size: var(--t-small); font-weight: 400; letter-spacing: 0; color: var(--mist); margin-left: 8px; }
.quota-meter { flex: 1; min-width: 160px; height: 8px; border-radius: 999px; background: var(--rule); overflow: hidden; }
.quota-meter i { display: block; height: 100%; border-radius: inherit; background: var(--mint); }
.quota-chart { display: block; width: 100%; height: 96px; margin-top: 18px; }
.quota-chart .axis { stroke: var(--rule-2); stroke-width: 1; }
.quota-chart .tick { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; }
.quota-chart .line { fill: none; stroke: var(--mint); stroke-width: 2; vector-effect: non-scaling-stroke; }
.quota-chart .dot { fill: var(--mint); }
.chart-axis { display: flex; justify-content: space-between; margin-top: 6px; font: 500 var(--t-label)/1 var(--mono); letter-spacing: .08em; color: var(--mist); }
.ops-list { display: grid; margin-top: 12px; }
.ops-list li { display: grid; grid-template-columns: 112px 128px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: var(--t-small); color: var(--frost-2); }
.ops-list li:first-child { border-top: 0; }
.ops-list b { font-weight: 600; color: var(--caution); }
.ops-when { color: var(--mist); font-variant-numeric: tabular-nums; }
.ops-list .ops-ok { display: block; color: var(--mist); }
.ops-list b.ok { color: var(--mint); }

/* --------------------------------------------- accounts: bar and menu */

/* the account section and its links exist only for a signed-in person */
html:not(.signed-in) [data-signed-in] { display: none !important; }
.acct-slot { display: flex; align-items: center; flex: none; }
.acct-slot:empty { display: none; }
.sign-in { white-space: nowrap; }
.sign-in.pending { border-color: rgb(var(--fill) / .5); color: var(--mint); }
.acct-menu-wrap { position: relative; }
.acct-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 4px; border-radius: 999px;
  border: 1px solid var(--rule-2); background: none; font-size: var(--t-small); color: var(--frost-2);
  transition: border-color var(--t-fast) var(--out), color var(--t-fast) var(--out);
}
.acct-btn:hover, .acct-btn[aria-expanded="true"] { border-color: var(--mist); color: var(--frost); }
.acct-btn .chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .7; transition: transform var(--t-move) var(--out); }
.acct-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(162deg, var(--ti-hi), var(--ti) 60%, var(--ti-lo)); color: var(--carbon);
  font: 600 13px/1 var(--sans); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(var(--shade) / .5);
}
.acct-email { max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Signed in, the bar holds one more link (Account): links never wrap, and the
   email folds into the avatar (it stays in the menu) until the bar is wide. */
.nav a { white-space: nowrap; }
@media (max-width: 1440px) { .acct-email { display: none; } }
@media (max-width: 1240px) { .nav { gap: 0; } .nav a { padding: 8px 9px; } }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 45; min-width: 232px; max-width: calc(100vw - 32px); padding: 8px;
  display: grid; gap: 2px; border-radius: 18px;
  background: linear-gradient(162deg, var(--graphite-3), var(--graphite) 55%, #10161e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .09), inset 0 0 0 1px rgb(255 255 255 / .05), var(--e3);
  animation: pop 180ms var(--out);
}
.acct-menu a, .acct-menu button {
  display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left;
  text-decoration: none; color: var(--frost-2); font-size: 14px;
}
.acct-menu a:hover, .acct-menu button:hover { background: rgb(255 255 255 / .05); color: var(--frost); }
.acct-menu-who { padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--mist); overflow-wrap: anywhere; }

/* sound alerts: the bell beside the state pill */
.bell-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--rule-2); background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--mist);
  transition: border-color var(--t-fast) var(--out), color var(--t-fast) var(--out);
}
.bell-btn:hover { border-color: var(--mist); color: var(--frost); }
.bell-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.bell-btn[aria-pressed="true"] { border-color: rgb(var(--fill) / .5); color: var(--mint); }
.bell-btn.big { height: 44px; padding: 0 18px; font: 600 14px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--frost-2); align-self: end; }
.bell-btn.big[aria-pressed="true"] { color: var(--mint); }
.sound-hint { color: var(--frost-2); }
.eyebrow .led.ping { animation: ping 1.2s var(--out) 2; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(var(--fill) / .7); } 100% { box-shadow: 0 0 0 10px rgb(var(--fill) / 0); } }
.btn.text.inline.quiet { color: var(--frost-2); text-decoration-color: var(--rule-2); }

/* -------------------------------------------- one-click exchange orders */

.step-buy { grid-column: 2 / -1; margin-top: -4px; }
.buy { display: grid; justify-items: start; gap: 6px; min-width: 0; }
.btn.buy-btn {
  min-height: 40px; height: auto; padding: 8px 16px; text-align: left; line-height: 1.3; font-variant-numeric: tabular-nums;
  border-color: rgb(var(--fill) / .55); color: var(--mint); max-width: 100%;
}
.btn.buy-btn:hover { border-color: var(--mint); background: rgb(var(--fill) / .08); }
.locked .btn.buy-btn, .on-ti .btn.buy-btn { border-color: rgb(7 109 93 / .55); color: var(--mint-deep); }
.locked .btn.buy-btn:hover, .on-ti .btn.buy-btn:hover { border-color: var(--mint-deep); background: rgb(7 109 93 / .07); }
.btn.buy-all { min-height: 44px; height: auto; padding: 10px 20px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.btn[aria-disabled="true"]:active { transform: none; }
.btn[aria-busy="true"] { opacity: .8; }
.btn.tiny { min-height: 30px; padding: 4px 12px; font-size: 12px; }
.btn .spinner { margin-right: 0; }
.btn.primary .spinner { border-color: rgb(5 42 35 / .25); border-top-color: var(--on-mint); }
.locked .btn.primary .spinner, .on-ti .btn.primary .spinner { border-color: rgb(255 255 255 / .3); border-top-color: #fff; }
.buy-note { font-size: 12px; line-height: 1.45; color: var(--mist); max-width: 60ch; }
.locked .buy-note { color: var(--steel); }
.buy-note a { color: inherit; }
.buy-res {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 12px; border-radius: 14px;
  font-size: 13px; line-height: 1.45; max-width: 100%;
}
.buy-res.ok { color: var(--mint); background: rgb(var(--fill) / .08); box-shadow: inset 0 0 0 1px rgb(var(--fill) / .3); }
.buy-res.miss { color: var(--frost-2); background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--rule-2); }
.buy-res.warn { color: var(--caution); background: rgb(242 196 109 / .07); box-shadow: inset 0 0 0 1px rgb(242 196 109 / .35); }
.buy-res.bad { color: var(--loss); background: rgb(255 147 135 / .07); box-shadow: inset 0 0 0 1px rgb(255 147 135 / .35); }
.locked .buy-res.ok { color: var(--mint-deep); background: rgb(7 109 93 / .07); box-shadow: inset 0 0 0 1px rgb(7 109 93 / .3); }
.locked .buy-res.miss { color: var(--carbon); background: rgb(16 22 29 / .04); box-shadow: inset 0 0 0 1px var(--ti-rule); }
.locked .buy-res.warn { color: var(--caution-deep); background: rgb(138 90 0 / .06); box-shadow: inset 0 0 0 1px rgb(138 90 0 / .3); }
.locked .buy-res.bad { color: var(--loss-deep); background: rgb(163 40 28 / .05); box-shadow: inset 0 0 0 1px rgb(163 40 28 / .3); }
.btn.close-btn { min-height: 32px; padding: 0 14px; border-color: currentColor; color: inherit; }
.buy-closing { display: inline-flex; align-items: center; gap: 6px; }
.order-all { margin-top: 14px; }
.lleg-buy { grid-column: 1 / -1; padding: 2px 0 6px; }
.lbuy-all { padding-top: 6px; }

/* --------------------------------------------- accounts: the section */

.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.acct-plate {
  min-width: 0; padding: 24px 28px; border-radius: var(--r-pass); display: grid; gap: 14px; align-content: start;
  background: linear-gradient(162deg, var(--graphite-2), var(--graphite) 55%, #10161e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), inset 0 0 0 1px rgb(255 255 255 / .04), var(--e2);
}
.acct-plate:empty { display: none; }
.acct-plate.wide { grid-column: 1 / -1; }
.plate-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.plate-head h3 { font-size: var(--t-lede); font-weight: 600; letter-spacing: -0.01em; }
.who-email { font-size: var(--t-sub); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; margin-top: -6px; }
.xkv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: var(--t-small); }
.xkv dt { color: var(--mist); }
.xkv dd { color: var(--frost-2); overflow-wrap: anywhere; }
.xkv dd.warn { color: var(--caution); }
.xnote { font-size: var(--t-small); line-height: 1.5; color: var(--mist); }
.xnote.warn { color: var(--caution); }
.xactions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn.danger { border-color: rgb(255 147 135 / .45); color: var(--loss); }
.btn.danger:hover { border-color: var(--loss); background: rgb(255 147 135 / .06); }
.btn.primary.danger-fill { background: var(--loss); color: #2a0703; box-shadow: none; }
.btn.primary.danger-fill:hover { background: #ffaba1; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.text.armed { color: var(--loss); }
.btn.small.armed { border-color: rgb(255 147 135 / .55); color: var(--loss); }
.xstate { font: 500 var(--t-label)/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.xstate.on { color: var(--mint); }
.xstate.warn { color: var(--caution); }
.xnotes { display: grid; gap: 6px; }
.xnotes li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; font-size: var(--t-small); line-height: 1.5; color: var(--frost-2); }
.xnotes li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; margin: 8px 0 0 3px; background: var(--mint); }
.xcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.xcard {
  min-width: 0; display: grid; gap: 10px; align-content: start; padding: 16px 18px; border-radius: 16px;
  background: rgb(var(--shade) / .28); box-shadow: inset 0 0 0 1px var(--rule);
}
.xcard.ready { box-shadow: inset 0 0 0 1px rgb(var(--fill) / .45); }
.xcard.off { opacity: .72; }
.xhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.xname { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.max-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.max-row .money-in input { width: 84px; }
.sec-rows { display: grid; }
.sec-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 14px 0; border-top: 1px solid var(--rule); }
.sec-row:first-child { border-top: 0; padding-top: 0; }
.sec-row > div { min-width: 0; flex: 1 1 260px; }
.sec-row-t { font-weight: 600; }
.sub.inline { display: inline; margin: 0 0 0 6px; font-weight: 400; font-size: var(--t-small); color: var(--mist); }
.sessions { display: grid; }
.sessions li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.sessions li:first-child { border-top: 0; }
.sess-dev { font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.acct-plate .st-sub { margin: 6px 0 0; }
.tbl.orders td { padding-top: 12px; padding-bottom: 12px; }
.tbl .nowrap { white-space: nowrap; }
.tbl .nowrap .dot { margin-right: 6px; vertical-align: 0; }
.tbl .mono { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.ostatus { font: 500 var(--t-label)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--mist); white-space: nowrap; display: inline-block; }
.ostatus.filled { color: var(--mint); border-color: rgb(var(--fill) / .4); }
.ostatus.partial { color: var(--caution); border-color: rgb(242 196 109 / .45); }
.ostatus.rejected, .ostatus.error { color: var(--loss); border-color: rgb(255 147 135 / .4); }
.tbl .ostatus + .sub { margin-top: 6px; max-width: 36ch; }
.acct-plate.danger { box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), inset 0 0 0 1px rgb(255 147 135 / .16), var(--e2); }

/* ------------------------------------------ accounts: the sign-in sheet */

.sheet .notice, .acct-plate .notice { margin: 0; border-radius: 16px; }
.sheet-actions .grow { flex: 1; }
.auth form { gap: 16px; }
.fld textarea, .mono-area {
  width: 100%; min-height: 104px; padding: 12px 14px; border: 0; border-radius: 14px; resize: vertical;
  background: var(--ground); color: var(--frost); box-shadow: inset 0 0 0 1px var(--rule-2); font: 500 12px/1.5 var(--mono);
}
.fld textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--mint); }
.fld textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--loss); }
.fld input[type="file"] { padding: 8px 14px; height: auto; font-weight: 500; }
.fld input[type="checkbox"], .fld input[type="radio"] { width: 18px; height: 18px; }
.fld-help { font-size: 12px; line-height: 1.45; color: var(--mist); }
.fld-help a { color: var(--frost-2); }
.pw-fld label { font-size: 12px; color: var(--mist); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 72px; }
.pw-show {
  position: absolute; right: 4px; top: 4px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px;
  background: none; color: var(--mist); font-size: 12px; font-weight: 600;
}
.pw-show:hover { color: var(--frost); background: rgb(255 255 255 / .05); }
.pw { display: grid; gap: 6px; }
.pw-meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.pw-meter i { height: 4px; border-radius: 999px; background: var(--rule-2); transition: background var(--t-fast) var(--out); }
.pw-meter[data-score="1"] i:nth-child(1) { background: var(--loss); }
.pw-meter[data-score="2"] i:nth-child(-n + 2) { background: var(--caution); }
.pw-meter[data-score="3"] i:nth-child(-n + 3), .pw-meter[data-score="4"] i { background: var(--mint); }
.pw-hint { font-size: 12px; color: var(--frost-2); }
.fld input.code-input { height: 52px; font: 600 22px/1 var(--mono); letter-spacing: .32em; text-align: center; padding: 0 12px; }
.fld input.code-input.rc { letter-spacing: .14em; font-size: 18px; }
.auth-steps { display: grid; gap: 14px; counter-reset: s; }
.auth-steps > li { display: grid; gap: 10px; padding-left: 34px; position: relative; font-size: var(--t-small); color: var(--frost-2); }
.auth-steps > li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font: 600 11px/1 var(--mono); border: 1px solid var(--rule-2); color: var(--mist);
}
.auth-steps b { color: var(--frost); font-weight: 600; }
.enroll-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.qr { width: 184px; height: 184px; padding: 10px; border-radius: 16px; background: var(--ti-hi); color: var(--carbon); box-shadow: var(--e1); }
.qr svg { display: block; width: 100%; height: 100%; }
.qr.none { display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--steel); }
.enroll-alt { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.secret { font: 600 15px/1.6 var(--mono); letter-spacing: .06em; word-spacing: .25em; color: var(--frost); overflow-wrap: anywhere; }
.codes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding: 16px 18px; border-radius: 16px;
  background: var(--ground); box-shadow: inset 0 0 0 1px var(--rule-2);
}
.codes code { font: 600 15px/1.4 var(--mono); letter-spacing: .06em; color: var(--frost); }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--t-small); color: var(--frost-2); cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--mint); flex: none; }
.auth-ok { font-size: var(--t-small); color: var(--mint); }
.auth-ok:empty, .sheet-err:empty { display: none; }
.howto-box { display: grid; gap: 8px; }
.howto { display: grid; gap: 6px; padding-left: 20px; list-style: decimal; font-size: var(--t-small); line-height: 1.5; color: var(--frost-2); }
.howto li::marker { color: var(--mist); font: 500 12px var(--mono); }
.modes { border: 0; margin: 0; padding: 0; display: grid; gap: 2px; }
.modes legend { padding: 0; margin-bottom: 4px; }
.keygen { display: grid; gap: 8px; justify-items: start; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--rule-2); }
.keygen .fld-help:empty { display: none; }

/* ------------------------------------------------------------ phones */

@media (max-width: 1080px) {
  .nav { display: none; }
  .engine { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "copy" "wallet" "sheet"; }
  .hero-copy { padding-top: 0; }
  .wallet { margin-top: 32px; }
  .stack, .stack-shadow, .wallet-bar { max-width: 600px; }
  .runsheet { max-width: 600px; }
  .why { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
  .lrow { grid-template-columns: 96px minmax(0, 1fr); }
  .llegs { grid-column: 1 / -1; }
  .lstat { grid-column: 1 / -1; text-align: left; display: flex; gap: 16px; align-items: baseline; }
  .lnotes { grid-column: 1 / -1; }
  .ops-pair { grid-template-columns: minmax(0, 1fr); }
  .ops-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .admin-page .foot { padding-bottom: 48px; }
  .tabbar {
    position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgb(11 17 24 / .82);
    backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-top: 1px solid rgb(255 255 255 / .06);
  }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; min-height: 48px; text-decoration: none; color: var(--mist); font-size: 11px; font-weight: 500; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a[aria-current="true"] { color: var(--frost); }
  .tabbar a[aria-current="true"] svg { stroke: var(--mint); }
  .foot { padding-bottom: 112px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .statement, .paper-plate { padding: 24px 20px; }
  .pocket-in { padding: 24px 14px 18px; }
  .st-date { text-align: left; }
  .paper-stamp { position: static; display: inline-block; margin-bottom: 16px; }
  .paper-plate .tbl-wrap { margin-top: 8px; }
  .lleg { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 6px 0; }
  .ledger-plate { padding: 4px 18px 16px; }
  .token-val { min-width: 104px; padding-left: 14px; }
  .lleg .who { grid-column: 1 / -1; }
  .token-bet { white-space: normal; }
  .toast { bottom: 92px; }
}

@media (max-width: 720px) {
  :root { --t-money: 34px; --t-sub: 20px; --t-lede: 17px; --bar-h: 56px; }
  .engine-sub { display: none; }
  .display { margin-top: 16px; font-size: clamp(56px, 17vw, 76px); }
  .lede { margin-top: 18px; }
  .wallet { padding-top: 34px; margin-top: 24px; }
  .face { padding: 20px 18px 18px; }
  .perf { margin-left: -18px; margin-right: -18px; }
  .face.front .pass-books { display: none; }
  .meta .cov { display: none; }
  .step { grid-template-columns: minmax(0, 1fr) auto; }
  .step-n { display: none; }
  .pass { --peek: 10px; }
  .wallet { padding-top: 24px; }
  .wallet-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .pager { margin-right: 0; }
  .budget { grid-column: 1; }
  #accounts-btn { grid-column: 2; grid-row: 1; }
  #hidden-btn { grid-column: 2; grid-row: 2; }
  .tally { gap: 16px; margin-top: 28px; }
  .tally-item .lbl b { display: none; }
  .drawers { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .token-strip { padding: 16px 18px 28px; }
  .token-body { padding: 0 18px 22px; }
  .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .nights { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .why-controls { grid-template-columns: minmax(0, 1fr); }
  .sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-pass) var(--r-pass) 0 0; max-height: 92svh; }
  .sheet-leg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sheet-leg .what { grid-column: 1 / -1; }
  .acct-list { grid-template-columns: minmax(0, 1fr); }
  .fig + .fig { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .figures { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fig:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .fig:nth-child(-n + 2) { border-top: 0; }
  .bar-in { gap: 12px; }
  .brand { gap: 10px; }
  .acct-email, .acct-btn .chev { display: none; }
  .acct-btn { padding: 0 4px; }
  .step-buy { grid-column: 1 / -1; margin-top: 0; }
  .btn.buy-btn { width: 100%; }
  .acct-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .acct-plate { padding: 20px 18px; }
  .enroll-grid { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .qr { width: 168px; height: 168px; }
  .sheet-actions .grow { flex-basis: 100%; height: 0; }
  .sheet-actions .btn.text { margin-right: auto; }
}
@media (max-width: 400px) {
  .brand span { font-size: 15px; }
  .engine { gap: 6px; }
}

/* ------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pass, .pass[data-d="3"] { transition: opacity 200ms linear; }
  .pass-inner { transform: none !important; }
  .engine.live .led { animation: none; }
  .display { animation: none; background-position: 100% 0; }
  .pass.stamped .stamp { transition: opacity 200ms linear; scale: 1; }
  .balance .beam-g { transition: none; }
  .sheet[open], .explain:popover-open, .toast { animation: none; }
  .acct-menu, .eyebrow .led.ping { animation: none; }
  .spinner { animation-duration: 2.4s; }
  .acct-btn .chev, .pw-meter i { transition: none; }
}

.meta .paused-link { color: var(--frost-2); text-decoration: underline; text-decoration-color: var(--rule-2); }
.meta .paused-link:hover { color: var(--frost); text-decoration-color: var(--mist); }
