/* Jenkins & Jones app v3 (app_v3/DIRECTION.md 1-3). Near-black surfaces, white primary buttons, one big number.
   Up #1ED98A / Down #FF5C5C; gold only on the J&J mark. Inter for words, JetBrains Mono (tabular) for every number.
   Mobile: top row + bottom tab bar (safe-area aware, standalone aware). Desktop: 240px rail + 640px column (+320px on Live). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-var.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/jetbrainsmono-latin-var.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/sourceserif4-display-latin.woff2) format("woff2"); }

:root {
  --bg: #0A0B0E; --surface: #12141A; --surface-2: #1A1D25; --surface-3: #232733; --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.12);
  --fg: #F5F7FA; --fg-2: #AEB6C2; --fg-3: #6B7482; --focus: #8FB0FF;
  --up: #1ED98A; --up-ink: #0A2F1F; --up-soft: rgba(30,217,138,.14); --down: #FF5C5C; --down-ink: #3A0F0F; --down-soft: rgba(255,92,92,.14);
  --accent: #FFFFFF; --brand: #E0B35A; --warn: #FFB547;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --side: var(--fg); --side-soft: rgba(255,255,255,.06);
  --top-h: 52px; --tab-h: 64px; --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body.app { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.5 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
a { color: var(--fg); text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--fg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 90; background: var(--accent); color: #000; padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: calc(12px + var(--sat)); }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 18px; height: 18px; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- shell */
.shell { min-height: 100vh; min-height: 100dvh; }
.col { max-width: 640px; margin: 0 auto; padding: 0 16px calc(var(--tab-h) + var(--sab) + 28px); min-width: 0; }
.top { position: sticky; top: 0; z-index: 30; height: calc(var(--top-h) + var(--sat)); padding-top: var(--sat); margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  background: rgba(10,11,14,.82); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top-c { font: 500 13px/1 var(--sans); color: var(--fg-2); white-space: nowrap; text-align: center; }
.top-r { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.mark { width: 28px; height: 28px; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-weight: 650; font-size: 15px; letter-spacing: -.01em; }
.brand .wm { display: none; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; font: 600 13px/1 var(--sans); color: var(--fg); padding: 7px 10px; border-radius: 999px; }
.live-pill[data-s="off"] { color: var(--fg-3); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(30,217,138,.55); animation: pulse 2s infinite; flex: none; }
.live-pill[data-s="off"] .live-dot { background: var(--fg-3); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,217,138,.5); } 70% { box-shadow: 0 0 0 7px rgba(30,217,138,0); } 100% { box-shadow: 0 0 0 0 rgba(30,217,138,0); } }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--fg-2); cursor: pointer; }
.icon-btn:hover { color: var(--fg); background: var(--surface); }

/* bottom tabs (mobile) */
.tabs { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + var(--sab)); padding-bottom: var(--sab);
  display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(26,29,37,.92); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px);
  border-top: 1px solid var(--line); }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; color: var(--fg-3);
  font: 600 11px/1 var(--sans); letter-spacing: .01em; }
.tab .ico { width: 26px; height: 26px; }
.tab[aria-current="page"] { color: var(--fg); }
.tab[aria-current="page"] .ico { stroke-width: 2.25; }
.tab .tdot { position: absolute; top: 9px; left: calc(50% + 9px); width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 2px var(--surface-2); }
.tab .toff { position: absolute; top: 6px; left: calc(50% + 8px); font: 700 9px/1 var(--sans); color: var(--fg-3); background: var(--surface-3); padding: 2px 4px; border-radius: 5px; }

/* desktop rail */
.rail { display: none; }
@media (min-width: 761px) {
  .shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
  .rail { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; padding: 22px 14px; border-right: 1px solid var(--line); }
  .rail .brand { padding: 4px 10px 22px; font-size: 16px; }
  .rail .brand .wm { display: inline; }
  .rail-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--fg-2); text-decoration: none; font-weight: 550; font-size: 15px; }
  .rail-nav a:hover { background: var(--surface); color: var(--fg); }
  .rail-nav a[aria-current="page"] { background: var(--surface-2); color: var(--fg); }
  .rail-nav .ico { width: 22px; height: 22px; }
  .rail-sep { height: 1px; background: var(--line); margin: 14px 10px; }
  .rail-more { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 12px; font-size: 13.5px; }
  .rail-more a { color: var(--fg-3); text-decoration: none; } .rail-more a:hover { color: var(--fg); }
  .rail-foot { margin-top: auto; padding: 0 12px; font-size: 12px; color: var(--fg-3); line-height: 1.5; }
  .rail-foot a { color: var(--fg-3); }
  .tabs { display: none; }
  .col { padding-bottom: 48px; padding-left: 24px; padding-right: 24px; }
  .top { margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
  .top-l .brand { visibility: hidden; }
}
@media (display-mode: standalone) { .a2hs-only-browser { display: none !important; } }

/* ---------------------------------------------------------------- type + generic */
.screen-title { font: 700 28px/1.1 var(--sans); letter-spacing: -.02em; margin: 18px 0 6px; }
.screen-sub { color: var(--fg-2); margin: 0 0 18px; }
.label { font: 500 13px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); margin: 0 0 12px; }
.sec { margin-top: 36px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-h h2 { font: 700 20px/1.2 var(--sans); letter-spacing: -.015em; }
.sec-h a { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; font-size: 14px; color: var(--fg-2); text-decoration: none; }
.card { background: var(--surface); border-radius: 20px; box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; padding: 18px; }
.card + .card { margin-top: 12px; }
.muted { color: var(--fg-3); }
.fine { font-size: 12px; line-height: 1.45; color: var(--fg-3); }
.small { font-size: 14px; color: var(--fg-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 16px; border: 0;
  font: 650 16px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s ease, background .15s, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: default; transform: none; }
.btn-primary { background: var(--accent); color: #0A0B0E; }
.btn-primary:hover { background: #E8ECF2; color: #0A0B0E; }
.btn-secondary { background: var(--surface-2); color: var(--fg); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-tertiary { background: transparent; color: var(--fg-2); height: 44px; padding: 0 10px; font-weight: 600; font-size: 15px; }
.btn-tertiary:hover { color: var(--fg); }
.btn-danger { background: var(--down); color: #1A0505; }
.btn-block { width: 100%; }
.btn-on { background: var(--surface-2); color: var(--fg); }
.btn-on .ico { color: var(--up); }
.link-btn { background: none; border: 0; padding: 0; color: var(--fg-2); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; cursor: pointer; font: inherit; }
.link-btn[disabled] { color: var(--fg-3); text-decoration: none; cursor: default; }

/* inputs */
.field { display: block; width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid transparent; background: var(--surface-2); color: var(--fg);
  font: 500 17px var(--sans); outline: none; -webkit-appearance: none; appearance: none; }
.field::placeholder { color: var(--fg-3); }
.field:focus { border-color: var(--line-2); background: var(--surface-3); }
.field.code { font: 700 26px/1 var(--mono); letter-spacing: .32em; text-align: center; padding-left: calc(16px + .32em); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formmsg { min-height: 1.3em; font-size: 14px; margin: 10px 0 0; color: var(--fg-2); }
.formmsg.ok { color: var(--up); } .formmsg.err { color: var(--down); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fg-2); margin: 12px 0 0; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--up); flex: none; }

/* toggle */
.tg { position: relative; width: 51px; height: 31px; flex: none; }
.tg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.tg i { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); transition: background .2s; }
.tg i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .25s cubic-bezier(.2,.9,.2,1); }
.tg input:checked + i { background: var(--up); }
.tg input:checked + i::after { transform: translateX(20px); }
.tg input:disabled { cursor: default; }
.tg input:disabled + i { opacity: .45; }
.tg input:focus-visible + i { outline: 2px solid var(--focus); outline-offset: 2px; }

/* list rows */
.list { background: var(--surface); border-radius: 20px; box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; overflow: hidden; }
.list + .list { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 14px; padding: 15px 16px; min-height: 60px; text-decoration: none; color: var(--fg); position: relative; width: 100%;
  background: transparent; border: 0; text-align: left; font: inherit; cursor: default; }
a.row, button.row { cursor: pointer; }
a.row:hover, button.row:hover { background: rgba(255,255,255,.025); }
.row + .row::before { content: ""; position: absolute; top: 0; left: 56px; right: 0; height: 1px; background: var(--line); }
.row.noicon + .row::before, .row.noicon::before { left: 16px; }
.row-ic { width: 28px; height: 28px; display: grid; place-items: center; color: var(--fg-2); flex: none; }
.row-tx { flex: 1; min-width: 0; }
.row-t { display: block; font-weight: 600; font-size: 16px; letter-spacing: -.005em; }
.row-s { display: block; font-size: 13.5px; color: var(--fg-3); line-height: 1.4; margin-top: 2px; }
.row-v { font-size: 15px; color: var(--fg-3); white-space: nowrap; }
.row .chev { color: var(--fg-3); width: 18px; height: 18px; }
.row.danger .row-t { color: var(--down); }
.time-in { height: 40px; border-radius: 10px; border: 0; background: var(--surface-2); color: var(--fg); font: 600 15px var(--mono); padding: 0 10px; color-scheme: dark; }

/* toast */
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(var(--tab-h) + var(--sab) + 16px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--fg); color: #0A0B0E; font: 600 15px/1.3 var(--sans); padding: 13px 18px; border-radius: 14px; max-width: calc(100vw - 32px); width: max-content;
  box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: opacity .25s, transform .3s cubic-bezier(.2,.9,.2,1); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 761px) { .toast { bottom: 28px; left: calc(50% + 120px); } }

/* ---------------------------------------------------------------- Live hero */
body[data-side="UP"] { --side: var(--up); } body[data-side="DOWN"] { --side: var(--down); }
/* mobile order: hero, this round, last rounds, weekly, how, legal (the two columns flatten into one flex column) */
.live-grid { display: flex; flex-direction: column; }
.live-main, .live-right { display: contents; }
.live-grid .hero { order: 1; } .live-grid .o2 { order: 2; } .live-grid .o3 { order: 3; } .live-grid .o4 { order: 4; } .live-grid .o5 { order: 5; } .live-grid .o6 { order: 6; }
.hero { position: relative; padding: 22px 4px 8px; text-align: center; border-radius: 28px; --side: var(--fg); transition: box-shadow .6s; }
.hero[data-side="UP"] { --side: var(--up); --side-soft: var(--up-soft); }
.hero[data-side="DOWN"] { --side: var(--down); --side-soft: var(--down-soft); }
.hero.flash { animation: flash .6s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 1px var(--side), 0 0 36px -4px var(--side); } 100% { box-shadow: 0 0 0 1px transparent, 0 0 0 0 transparent; } }
.big { display: block; font: 800 clamp(88px, 26vw, 128px)/.95 var(--mono); letter-spacing: -.06em; color: var(--side); transition: color .32s ease, opacity .3s;
  font-variant-numeric: tabular-nums; min-height: .95em; }
.big .pc { font-size: .55em; letter-spacing: -.02em; margin-left: .02em; vertical-align: .62em; font-weight: 700; }
.hero[data-dim="1"] .big { opacity: .4; }
.hero[data-state="loading"] .big { width: 210px; height: 112px; margin: 0 auto; border-radius: 22px; color: transparent;
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.side { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; font: 750 20px/1 var(--sans); letter-spacing: .02em; color: var(--side); transition: color .32s; }
.side i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hero[data-side=""] .side i { display: none; }
.split { position: relative; height: 12px; margin: 22px 6px 0; border-radius: 999px; background: var(--down); overflow: hidden; transition: background .3s; }
.split i { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--up); border-radius: 999px 0 0 999px; transition: width .45s cubic-bezier(.2,.9,.2,1); }
.split::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--bg); opacity: .9; }
.hero[data-state="loading"] .split, .hero[data-state="warming"] .split, .hero[data-state="paused"] .split, .hero[data-state="offline"] .split { background: var(--surface-2); }
.hero[data-state="loading"] .split i, .hero[data-state="warming"] .split i, .hero[data-state="paused"] .split i, .hero[data-state="offline"] .split i { background: var(--surface-3); }
.split-l { display: flex; justify-content: space-between; margin: 8px 6px 0; font: 600 12px/1 var(--mono); color: var(--fg-3); }
.split-l b { font-weight: 700; } .split-l .u b { color: var(--up); } .split-l .d b { color: var(--down); }
.hero-sub { margin: 16px auto 0; max-width: 30ch; font-size: 16px; line-height: 1.45; color: var(--fg-2); }
.meta { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 18px 0 22px; flex-wrap: wrap; }
.ring-w { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: var(--fg-2); }
.ring { width: 30px; height: 30px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; }
.ring .rb { stroke: var(--surface-3); }
.ring .rf { stroke: var(--fg-2); stroke-linecap: round; transition: stroke .3s; }
.ring-w.end .rf { stroke: var(--fg); }
.ring-w b { color: var(--fg); font-size: 17px; font-weight: 700; }
.flipr { font-size: 15px; color: var(--fg-2); }
.flipr b { color: var(--fg); font-weight: 700; }
.flipr .w1 { color: var(--warn); } .flipr .w2 { color: var(--down); }
.hero .btn-primary, .hero .btn-on { width: 100%; max-width: 420px; }
.hero .ctas { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.legal-line { margin: 10px 0 0; font-size: 12px; color: var(--fg-3); }
/* Astra review 2026-10-30: visible context, plain question, honest trust strip, step indicator */
.hero-k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 650 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.hero-q { margin: 0 auto 14px; max-width: 22ch; font: 700 clamp(20px, 5.6vw, 26px)/1.2 var(--sans); letter-spacing: -.015em; color: var(--fg); }
.cta-sub { margin: 6px auto 2px; max-width: 34ch; font-size: 13px; line-height: 1.4; color: var(--fg-3); }
.trust { margin: 14px auto 0; max-width: 40ch; padding: 10px 14px; border-radius: 14px; background: var(--surface); font-size: 12.5px; line-height: 1.55; color: var(--fg-2); }
.trust a { color: var(--fg); font-weight: 600; }
.trust .ico { display: inline; vertical-align: -3px; }
.stepn { margin: 0 0 8px; font: 650 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }

.legal-line a { color: var(--fg-3); }

/* sparkline */
.spark-card { padding: 16px 16px 12px; }
.spark-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.spark-h h2 { font: 700 17px/1.2 var(--sans); }
.spark-h span { font: 500 13px var(--mono); color: var(--fg-3); }
.spark { width: 100%; height: auto; overflow: visible; }
.spark .zu { fill: var(--up); opacity: .055; } .spark .zd { fill: var(--down); opacity: .055; }
.spark .mid { stroke: var(--fg-3); stroke-dasharray: 3 5; stroke-width: 1; opacity: .7; }
.spark .ax { font: 500 10.5px var(--mono); fill: var(--fg-3); }
.spark .ln { fill: none; stroke: var(--side, var(--fg)); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; transition: stroke .32s; }
.spark .ln.reveal { animation: draw 1s ease-out forwards; }
@keyframes draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
.spark .hd { fill: var(--side, var(--fg)); stroke: var(--bg); stroke-width: 2; }
.spark-empty { font-size: 14px; color: var(--fg-3); text-align: center; padding: 34px 0; }

/* last rounds */
.rounds { list-style: none; margin: 0; padding: 0; }
.rd { display: grid; grid-template-columns: 74px auto 1fr auto; align-items: center; gap: 10px; padding: 13px 16px; font-size: 14.5px; position: relative; }
.rd + .rd::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line); }
.rd .t { font: 600 13.5px var(--mono); color: var(--fg-2); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font: 700 13px/1 var(--sans); }
.pill.up { background: var(--up-soft); color: var(--up); } .pill.down { background: var(--down-soft); color: var(--down); } .pill.na { background: var(--surface-2); color: var(--fg-3); }
.rd .c { color: var(--fg-3); font-size: 13.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd .c .cl-r { color: var(--fg-3); }
.rd .c b { color: var(--fg-2); font-weight: 600; font-family: var(--mono); }
.rd .m { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.rd .m.y { color: var(--up); } .rd .m.n { color: var(--down); }
.rd .sh { border: 0; background: none; color: var(--fg-3); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; margin-left: -4px; }
.rd .sh:hover { color: var(--fg); background: var(--surface-2); }
.rd-wrap { padding: 4px 0; }
.rd-empty { padding: 22px 16px; font-size: 14px; color: var(--fg-3); }
.note { font-size: 12.5px; color: var(--fg-3); margin: 10px 4px 0; }

/* how to read */
.how { list-style: none; margin: 0; padding: 0; }
.how li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 15px; }
.how li:first-child { border-top: 0; padding-top: 0; }
.how b { color: var(--fg); display: block; margin-bottom: 2px; }

/* desktop: right column on Live */
@media (min-width: 1180px) {
  .shell.has-right { grid-template-columns: 240px minmax(0, 1fr); }
  .shell.has-right .col { max-width: 1060px; }
  .live-grid { display: grid; grid-template-columns: minmax(0, 640px) 360px; gap: 36px; align-items: start; }
  .live-main, .live-right { display: block; min-width: 0; }
  .live-right { position: sticky; top: calc(var(--top-h) + 8px); }
  .live-right .sec:first-child { margin-top: 18px; }
  
  .live-right .rd { grid-template-columns: 70px auto 1fr auto; }
}

/* legal component */
.legal { margin-top: 40px; padding: 18px 4px 0; border-top: 1px solid var(--line); }
.legal p { font-size: 12px; line-height: 1.5; color: var(--fg-3); }
.legal details { margin-top: 10px; }
.legal summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--fg-2); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: "+"; font: 600 13px var(--mono); color: var(--fg-3); }
.legal details[open] summary::after { content: "–"; }
.legal details p { margin-top: 8px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12px; }
.legal-links a { color: var(--fg-3); }

/* ---------------------------------------------------------------- sheets */
.sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .28s; }
.sheet-bg.on { opacity: 1; }
.sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 560px; max-height: calc(100dvh - 40px - var(--sat)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border-radius: 28px 28px 0 0; padding: 10px 22px calc(24px + var(--sab)); box-shadow: 0 -10px 40px rgba(0,0,0,.5);
  transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.9,.2,1); touch-action: pan-y; }
.sheet.on { transform: translateY(0); }
.sheet.with-coach { padding-bottom: calc(92px + var(--sab)); }
.sheet .grab { width: 40px; height: 5px; border-radius: 999px; background: var(--surface-3); margin: 0 auto 18px; }
.sheet .x { position: absolute; top: 12px; right: 12px; }
.sheet h2 { font: 700 24px/1.15 var(--sans); letter-spacing: -.02em; margin: 6px 36px 10px 0; }
.sheet p.b { color: var(--fg-2); font-size: 16px; line-height: 1.5; margin: 0 0 18px; }
.sheet .acts { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.sheet .acts .btn-tertiary { align-self: center; }
.steps { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 14px; background: var(--surface-2); border-radius: 16px; padding: 14px; font-size: 15.5px; color: var(--fg); }
.steps .n { font: 700 14px var(--mono); color: var(--fg-3); width: 14px; }
.steps .si { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: #4C9DFF; flex: none; }
.checks2 { list-style: none; margin: 0; padding: 0; background: var(--surface-2); border-radius: 18px; overflow: hidden; }
.checks2 label { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; position: relative; }
.checks2 li + li label::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line); }
.checks2 input { width: 22px; height: 22px; accent-color: var(--up); flex: none; margin: 0; }
.checks2 b { display: block; font-weight: 600; font-size: 15.5px; }
.checks2 span { font-size: 13px; color: var(--fg-3); line-height: 1.35; }
.sent-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); margin: 4px 0 14px; color: var(--up); }
.resend { margin-top: 14px; font-size: 14px; color: var(--fg-3); display: flex; gap: 14px; flex-wrap: wrap; }
.share-prev { display: flex; gap: 12px; align-items: center; background: var(--surface-2); border-radius: 16px; padding: 12px; margin-bottom: 14px; }
.share-prev img { width: 112px; height: 59px; border-radius: 8px; object-fit: cover; flex: none; background: var(--bg); }
.share-prev p { font-size: 14px; color: var(--fg-2); line-height: 1.4; }
.linkbox { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 14px; padding: 6px 6px 6px 14px; font: 500 14px var(--mono); color: var(--fg-2); }
.linkbox span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* iOS coach mark: points at Safari's Share button */
.coach { position: fixed; z-index: 70; left: 50%; bottom: calc(10px + var(--sab)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  pointer-events: none; color: #fff; animation: coach 1.4s cubic-bezier(.2,.9,.2,1) 1; }
.coach .bub { display: flex; align-items: center; gap: 8px; background: #4C9DFF; color: #fff; font: 650 14px/1 var(--sans); padding: 11px 14px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.coach .arr { width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 12px solid #4C9DFF; margin-top: -6px; }
.coach.ipad { bottom: auto; top: calc(8px + var(--sat)); left: auto; right: 70px; transform: none; flex-direction: column-reverse; }
.coach.ipad .arr { border-top: 0; border-bottom: 12px solid #4C9DFF; margin: 0 0 -6px; }
@keyframes coach { 0% { opacity: 0; translate: 0 10px; } 30% { opacity: 1; translate: 0 0; } 55% { translate: 0 -6px; } 80% { translate: 0 0; } }

/* ---------------------------------------------------------------- Alerts + Account */
.sell { text-align: left; padding: 22px 20px; }
.sell .bell { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); margin-bottom: 14px; }
.sell h2 { font: 700 22px/1.2 var(--sans); letter-spacing: -.015em; margin-bottom: 6px; }
.sell p { color: var(--fg-2); margin-bottom: 18px; }
.qh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 16px 16px 58px; color: var(--fg-3); font-size: 14px; }
.acct-h { display: flex; align-items: center; gap: 16px; margin: 22px 0 22px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font: 700 26px/1 var(--sans); color: var(--fg); flex: none; text-transform: uppercase; }
.acct-h .e { font: 650 18px/1.25 var(--sans); word-break: break-all; }
.acct-h .s { font-size: 14px; color: var(--fg-3); margin-top: 2px; }
.signin-card h2 { font: 700 22px/1.2 var(--sans); margin-bottom: 6px; }
.signin-card p { color: var(--fg-2); margin-bottom: 16px; }
.signin-card .field { margin-bottom: 10px; }

/* ---------------------------------------------------------------- scorecard in the shell */
.sc-verdict { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); font: 650 14px var(--sans); }
#sc-verdict { font: 700 22px/1.25 var(--sans); letter-spacing: -.015em; margin: 4px 0 6px; }
#sc-sub { color: var(--fg-2); font-size: 14.5px; }
.sc-period { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: 14px; margin: 16px 0 14px; flex-wrap: wrap; }
.sc-period button { border: 0; background: transparent; color: var(--fg-2); font: 600 14px var(--sans); padding: 9px 14px; border-radius: 10px; cursor: pointer; }
.sc-period button[aria-selected="true"] { background: var(--surface-3); color: var(--fg); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat b { font: 700 28px/1.05 var(--mono); letter-spacing: -.03em; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat .unit { font-size: .6em; color: var(--fg-2); margin-left: 2px; }
.stat-l { font-size: 14px; color: var(--fg); font-weight: 600; }
.stat-s { font-size: 12.5px; color: var(--fg-3); line-height: 1.35; }
.sc-fig { margin: 12px 0 0; background: var(--surface); border-radius: 20px; padding: 16px; }
.sc-fig .k { font: 500 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); margin: 0; }
.sc-fig h3 { font: 700 17px/1.3 var(--sans); margin: 2px 0 10px; }
.sc-fig figcaption { font-size: 12.5px; color: var(--fg-3); margin-top: 8px; line-height: 1.45; }
.sc-chart { min-height: 180px; }
.sc-empty { color: var(--fg-3); font-size: 14px; padding: 50px 0; text-align: center; margin: 0; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .gl { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.chart .ref { stroke: var(--fg-3); stroke-width: 1; stroke-dasharray: 4 4; opacity: .7; }
.chart .ax { font: 400 11px var(--mono); fill: var(--fg-3); }
.chart .ref-t { fill: var(--fg-3); }
.chart .pt { fill: var(--bg); stroke: var(--fg); stroke-width: 2; }
.chart .pt-hi { fill: var(--fg); }
.chart .sc-bar { fill: #8FB0FF; }
.chart .sc-ci { stroke: var(--fg-2); stroke-width: 1.5; }
.chart .sc-hit { fill: transparent; cursor: crosshair; }
.sc-tip { position: fixed; z-index: 50; pointer-events: none; background: var(--surface-3); color: var(--fg); border-radius: 10px; padding: 8px 10px; font: 400 12.5px/1.5 var(--mono); box-shadow: 0 6px 24px rgba(0,0,0,.45); max-width: 260px; }
.sc-up { color: var(--up); font-weight: 600; } .sc-down { color: var(--down); font-weight: 600; }
.sc-ok { color: var(--up); } .sc-bad { color: var(--down); }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dt { width: 100%; border-collapse: collapse; font-size: 14px; }
.dt th, .dt td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dt thead th { font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.dt td { color: var(--fg-2); }
.dt td.num { color: var(--fg); }
.dt .r { text-align: right; }
.dt tbody tr:last-child td { border-bottom: 0; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 15px; }
.checks li:first-child { border-top: 0; padding-top: 0; }
.checks b { color: var(--fg); }
#sc-hash { color: var(--fg-2); font-size: 12px; word-break: break-all; }
.dl-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* ---------------------------------------------------------------- message pages (verify / expired / 404) */
.msg-page { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 24px 16px; }
.msg-card { width: 100%; max-width: 420px; text-align: center; }
.msg-card .msg-mark img { margin: 0 auto 22px; border-radius: 14px; }
.msg-card h1 { font: 700 28px/1.15 var(--sans); letter-spacing: -.02em; margin-bottom: 10px; }
.msg-sub { color: var(--fg-2); margin-bottom: 22px; }
.msg-fine { font-size: 12px; color: var(--fg-3); margin-top: 18px; }
.nf { text-align: center; padding: 80px 0 40px; }
.nf h1 { font: 700 32px/1.1 var(--sans); margin-bottom: 8px; }
.nf p { color: var(--fg-2); margin-bottom: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .live-dot { animation: none; }
}

/* ---------------------------------------------------------------- tune 2026-10-30 (Zion): UP/DOWN call, prices, actions, dollars */
.call-k { margin: 6px 0 0; font: 650 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.big-side { display: block; margin: 6px 0 0; font: 850 clamp(84px, 27vw, 136px)/.92 var(--sans); letter-spacing: -.045em; color: var(--side); transition: color .32s, opacity .3s; }
.hero[data-call="0"] .big-side { opacity: .82; }
.hero[data-dim="1"] .big-side { opacity: .4; }
.hero[data-state="loading"] .big-side { width: 200px; height: 110px; margin: 8px auto 0; border-radius: 22px; color: transparent; background: var(--surface); }
.hero[data-side=""] .big-side { color: var(--fg-3); }
.px { display: flex; justify-content: center; align-items: baseline; gap: 12px; margin: 14px 0 0; font: 750 21px/1.1 var(--sans); letter-spacing: .01em; }
.px .pu { color: var(--up); } .px .pd { color: var(--down); } .px .dot { color: var(--fg-3); }
.px b { font-weight: 800; font-size: 23px; }
.flip-badge { display: inline-block; margin: 12px 0 0; padding: 6px 12px; border-radius: 999px; background: rgba(255,181,71,.16); color: var(--warn); font: 750 13px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.state { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 16px auto 0; padding: 12px 14px; max-width: 440px; border-radius: 16px; background: var(--surface); }
.state b { font: 800 17px/1.25 var(--sans); letter-spacing: .01em; color: var(--side); }
.hero[data-side=""] .state b { color: var(--fg); }
.state span { font-size: 13px; color: var(--fg-3); }
.hold { margin: 10px auto 0; max-width: 440px; font-size: 14.5px; line-height: 1.45; color: var(--fg-2); }
.hold b { color: var(--fg); }
.pos { color: var(--up) !important; } .neg { color: var(--down) !important; }
.lp { font-size: 15px; color: var(--fg-2); } .lp b { color: var(--fg); font-size: 17px; font-weight: 700; }
.hero .meta { margin: 16px 0 12px; }
.hero .split { margin: 0 6px 20px; height: 8px; }
.acts { list-style: none; margin: 0; padding: 4px 0; }
.act { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 12px 16px; position: relative; }
.act + .act::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line); }
.act-t { font-size: 12.5px; color: var(--fg-3); padding-top: 2px; }
.act-tx b { display: block; font: 800 15px/1.3 var(--sans); letter-spacing: .01em; }
.act.up b { color: var(--up); } .act.down b { color: var(--down); } .act.pos b { color: var(--up); } .act.neg b { color: var(--down); }
.act-tx span { display: block; font-size: 13px; color: var(--fg-3); margin-top: 2px; }
.act-empty { padding: 18px 16px; font-size: 14px; color: var(--fg-3); }
.money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.money .mt { background: var(--surface); border-radius: 16px; padding: 12px 10px; min-width: 0; text-align: center; }
.money .ml { display: block; font: 600 11.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.money b { display: block; margin-top: 8px; font-size: clamp(16px, 4.6vw, 21px); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.money .ms { display: block; margin-top: 6px; font-size: 12px; color: var(--fg-3); }
.money.big3 b { font-size: clamp(18px, 5.4vw, 26px); }
.disc { margin: 10px 4px 0; font-size: 12.5px; color: var(--fg-3); }
.rd { grid-template-columns: 70px auto minmax(0, 1fr) auto; }
.rd .rd-a { position: absolute; inset: 0; z-index: 1; border-radius: 12px; }
.rd .rd-a:hover { background: rgba(255,255,255,.025); }
.rd .pnl { font-weight: 700; font-size: 14px; text-align: right; white-space: nowrap; }
.rd .c b.up { color: var(--up); } .rd .c b.down { color: var(--down); }
.rd .fl { font-size: 12px; color: var(--fg-3); }
/* 2026-10-30 neutral round history: plain chips, no good/bad colour */
.live-right .rd.rd2, .rd.rd2 { grid-template-columns: 70px minmax(0, 1fr) auto; }
@media (min-width: 1180px) { .live-right .rd.rd2 { grid-template-columns: 66px minmax(0, 1fr) auto; } }
.rd .c { color: var(--fg-3); }
.rd.rd2 .c { overflow: visible; }
.rd .fin { color: var(--fg-3); font-size: 13.5px; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 700 12.5px/1 var(--sans); }
.chip.n { background: var(--surface-2); color: var(--fg-2); } .chip.n.na { color: var(--fg-3); }
.howbox h2 { font-size: 17px; margin: 0 0 10px; } .howbox p + p { margin-top: 10px; }
.rd-day { padding: 14px 16px 4px; font: 650 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.live-grid .o4b { order: 5; } .live-grid .o5 { order: 6; } .live-grid .o6 { order: 7; }
@media (min-width: 1180px) { .live-right .rd { grid-template-columns: 66px auto minmax(0, 1fr) auto; } }
/* footer: one row, research behind "Company" */
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 12.5px; color: var(--fg-3); }
.foot-row > a { color: var(--fg-3); }
.legal details.co { margin: 0; }
.legal .co summary { font-size: 12.5px; color: var(--fg-2); }
.co-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 4px; }
.co-links a { color: var(--fg-2); font-size: 13px; }
.legal details.co[open] { flex-basis: 100%; }
@media (max-width: 420px) { .rd { gap: 8px; padding: 13px 12px; } .rd.rd2 .fin .cl-l { display: none; } .rd.rd2 .c { overflow: visible; } }

/* T17 (2026-10-30): J&J-1 price label; correct-call check on round chips (Zion: celebrate correct calls; a miss stays neutral) */
.px .pxk { font: 600 11.5px/1 var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); align-self: center; }
.ok-chk { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 6px; border-radius: 50%;
  background: rgba(34, 185, 124, .14); color: var(--up); vertical-align: middle; }
.ok-chk svg { width: 12px; height: 12px; display: block; }
.st-ok { color: var(--up); }
