/* ══════════════════════════ BMF design system ══════════════════════════ */
:root {
  --bg: #080c12;
  --card: #11151b;
  --card-2: #171b21;
  --inset: #0d1117;
  --line: #21252b;
  --line-2: #2e3238;
  --text: #f1f5fb;
  --soft: #c9cdd3;
  --muted: #8e9298;
  --dim: #60646a;
  --brand: #2f81f7;
  --brand-2: #79b0ff;
  --brand-soft: rgba(47, 129, 247, 0.14);
  --brand-line: rgba(47, 129, 247, 0.5);
  --brand-grad: linear-gradient(135deg, #2f81f7 0%, #2b76ea 55%, #79b0ff 100%);
  --up: #0ecb81;
  --up-soft: rgba(14, 203, 129, 0.12);
  --up-line: rgba(14, 203, 129, 0.42);
  --down: #f6465d;
  --down-soft: rgba(246, 70, 93, 0.12);
  --down-line: rgba(246, 70, 93, 0.45);
  --warn: #f0b90b;
  --warn-soft: rgba(240, 185, 11, 0.12);
  --warn-line: rgba(240, 185, 11, 0.42);
  --r: 10px;
  --r-sm: 8px;
  --font: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1000px 500px at 50% -220px, rgba(47, 129, 247, 0.16), transparent 70%);
}
::selection { background: rgba(47, 129, 247, 0.4); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #282c32; border-radius: 99px; border: 2px solid var(--bg); }
a { color: var(--brand-2); text-decoration: none; transition: color 0.2s; }
a:hover { color: #b5d3ff; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; font-weight: 750; }
p { margin: 0 0 0.8em; }
b, strong { font-weight: 700; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.up { color: var(--up); }
.down { color: var(--down); }
.warn, .amber { color: var(--warn); }
.blue { color: var(--brand-2); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 203, 129, 0.55); } 70% { box-shadow: 0 0 0 7px rgba(14, 203, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 203, 129, 0); } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 var(--tone, rgba(47, 129, 247, 0.5)); } 100% { box-shadow: 0 0 0 18px transparent; } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(3%, -4%, 0) scale(1.08); } }

/* ── Top bar ── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 22px;
  padding: 12px 28px;
  background: rgba(8, 12, 18, 0.82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.logo {
  display: inline-grid; place-items: center; height: 34px; padding: 0 11px; border-radius: 6px;
  background: var(--brand-grad); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 0.04em;
  box-shadow: 0 8px 22px -10px rgba(47, 129, 247, 0.9);
}
.sitenav { display: flex; gap: 4px; margin: 0 auto; }
.sitenav a { color: var(--muted); padding: 7px 13px; border-radius: 6px; font-weight: 600; font-size: 14px; transition: color 0.2s, background 0.2s; }
.sitenav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.sitenav a.active { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.navlink { color: var(--muted); font-weight: 600; font-size: 14px; padding: 7px 10px; border-radius: 6px; }
.navlink:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--muted); padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.04); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.live.on { color: var(--up); background: var(--up-soft); }
.live.on::before { background: var(--up); animation: pulse 2s infinite; }
.live.bad { color: var(--down); background: var(--down-soft); }
.live.bad::before { background: var(--down); }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; cursor: pointer; color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transition: color 0.2s, background 0.2s, border-color 0.2s; }
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.icon-btn.on { color: var(--brand-2); border-color: var(--brand-line); background: var(--brand-soft); }
.icon-btn svg { width: 17px; height: 17px; }

/* ── Tabs (dashboard) ── */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 auto; padding: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px;
  font: 650 14px var(--font); color: var(--muted); background: transparent; border: 0; cursor: pointer;
  padding: 9px 15px; border-radius: 8px; transition: color 0.2s, background 0.25s, box-shadow 0.25s;
}
.tabs button:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.tabs button.on { color: #fff; background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-line); }
.tabs button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tabs .tab-link { flex: none; display: inline-flex; align-items: center; font: 650 14px var(--font); color: var(--muted); padding: 9px 15px; border-radius: 8px; text-decoration: none; transition: color 0.2s, background 0.25s; }
.tabs .tab-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.tabs .tab-link.on { color: #fff; background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-line); }
.badge { min-width: 8px; height: 8px; border-radius: 99px; background: transparent; font-style: normal; font-size: 11px; font-weight: 800; line-height: 18px; transition: background 0.3s; }
.badge.dot-up { background: var(--up); box-shadow: 0 0 0 3px var(--up-soft); }
.badge.dot-down { background: var(--down); box-shadow: 0 0 0 3px var(--down-soft); }
.badge.count { height: 18px; padding: 0 6px; color: #1a1300; background: var(--warn); }

/* ── Status strip ── */
.statusbar { max-width: 1240px; margin: 22px auto 0; padding: 0 28px; }
.sb { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr 1.5fr; gap: 12px; }
.sb-item { position: relative; padding: 13px 16px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.sb-label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.sb-item b { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.sb-item small { margin-left: 8px; font-size: 13px; font-weight: 650; }
.sb-item.call { border-color: var(--line-2); }
.sb-item.call.t-up { border-color: var(--up-line); background: linear-gradient(90deg, var(--up-soft), var(--card) 70%); }
.sb-item.call.t-down { border-color: var(--down-line); background: linear-gradient(90deg, var(--down-soft), var(--card) 70%); }
.sb-item.call em { font-style: normal; font-size: 12px; font-weight: 750; margin-left: 10px; padding: 3px 9px; border-radius: 99px; vertical-align: 3px; }
.mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.05); }
.mini-bar span { display: block; height: 100%; background: var(--brand-grad); transition: width 1s linear; }
.mini-bar.hot span { background: var(--down); }
@media (max-width: 900px) { .sb { grid-template-columns: 1fr 1fr; } }

/* ── Buttons & forms ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  font: 700 14px/1 var(--font); color: #fff; background: var(--brand-grad);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  box-shadow: 0 10px 26px -14px rgba(47, 129, 247, 0.9);
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 34px -14px rgba(47, 129, 247, 1); }
.btn.ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn.sm { padding: 8px 13px; font-size: 13px; border-radius: 6px; }
.btn.lg { padding: 15px 24px; font-size: 15.5px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }
input, select {
  font: 650 15px var(--font); color: var(--text); width: 100%;
  background: var(--inset); border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
select option { background: var(--card); }
label { display: block; font-size: 13px; font-weight: 650; color: var(--muted); margin-bottom: 6px; }
.seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.seg button { font: 650 13px var(--font); color: var(--muted); background: transparent; border: 0; padding: 6px 12px; border-radius: 6px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.seg button:hover { color: var(--text); }
.seg button.on { color: #fff; background: var(--brand); }

/* ── Cards ── */
.card { position: relative; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.card-head h2 { font-size: 18px; font-weight: 750; }
.card-head > .btn, .card-head > .chip { flex: none; white-space: nowrap; }
.card-head h3 { font-size: 15px; font-weight: 700; }
.card-sub { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 99px; font-size: 13px; font-weight: 750; white-space: nowrap; color: var(--soft); background: rgba(255, 255, 255, 0.06); }
.chip.up { color: var(--up); background: var(--up-soft); }
.chip.down { color: var(--down); background: var(--down-soft); }
.chip.warn { color: var(--warn); background: var(--warn-soft); }
.chip.brand { color: var(--brand-2); background: var(--brand-soft); }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, 0.06); white-space: nowrap; }
.pill.up { color: var(--up); background: var(--up-soft); }
.pill.down { color: var(--down); background: var(--down-soft); }
.pill.warn, .pill.amber { color: var(--warn); background: var(--warn-soft); }
.rows { display: grid; }
.r { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.r:first-child { border-top: 0; }
.r > span { color: var(--muted); font-size: 14px; }
.r > b { font-size: 15px; font-weight: 750; text-align: right; white-space: nowrap; }
.r small { color: var(--dim); font-weight: 600; margin-left: 6px; font-size: 13px; }
.note { font-size: 13px; color: var(--muted); margin: 14px 0 0; line-height: 1.55; }
.loading { height: 14px; width: 60%; margin: 12px 0; border-radius: 6px; background: linear-gradient(90deg, #15191f 25%, #20242a 50%, #15191f 75%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.loading-text { color: var(--muted); font-size: 14px; }
.callout { padding: 14px 16px; margin: 0 0 16px; border-radius: 8px; font-size: 14px; color: var(--soft); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.callout.warn { background: var(--warn-soft); border-color: var(--warn-line); }
.callout p:last-child { margin-bottom: 0; }

/* ── Dashboard layout ── */
.dash { max-width: 1240px; margin: 0 auto; padding: 16px 28px 56px; }
.tabpanel { display: none; }
.tabpanel.on { display: grid; gap: 18px; animation: rise 0.45s var(--ease) both; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 18px; align-items: stretch; }
.side-tiles { display: grid; gap: 18px; }
@media (max-width: 980px) { .grid-2, .live-grid { grid-template-columns: 1fr; } }
/* The Call tab: the live chart is the main view, the call card sits on its right at the same height */
body.app[data-tab="live"] .statusbar { display: none; }
.call-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); gap: 14px; align-items: stretch; }
.app .card.chart-main { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.mkt { display: flex; align-items: center; gap: 14px; padding: 14px 16px 12px 18px; }
.mkt-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.mkt-sym { display: flex; align-items: center; gap: 10px; }
.mkt-coin { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 800 18px var(--font); color: #fff; background: linear-gradient(135deg, #ffb547, #f7931a); box-shadow: 0 6px 18px -8px rgba(247, 147, 26, 0.9); }
.mkt-sym b { display: block; font: 800 14px var(--font); letter-spacing: 0.02em; line-height: 1.3; }
.mkt-sym small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.mkt-sym .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.mkt-sym .dot.on { background: var(--up); animation: pulse 2s infinite; }
.mkt-px { display: flex; flex-direction: column; line-height: 1.15; }
.mkt-px > b { font: 800 26px var(--mono); letter-spacing: -0.03em; }
.mkt-chg { margin-top: 3px; font: 750 12.5px var(--mono); white-space: nowrap; }
.mkt-chg i { font: 600 11.5px var(--font); font-style: normal; color: var(--muted); }
.mkt-stat { display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.35; }
.mkt-stat small { font-size: 10px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.mkt-stat b { font-size: 14px; font-weight: 750; color: var(--soft); white-space: nowrap; }
.mkt-clock b { display: flex; align-items: baseline; gap: 8px; }
.mkt-clock b .mono { font: 800 19px var(--mono); color: var(--text); letter-spacing: -0.02em; }
.mkt-clock b em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.mkt-clock.hot b .mono { color: var(--down); }
.mkt-prog { height: 3px; background: rgba(255, 255, 255, 0.05); }
.mkt-prog span { display: block; height: 100%; width: 0; background: var(--brand-grad); box-shadow: 0 0 10px rgba(47, 129, 247, 0.7); transition: width 0.3s linear; }
.chart-box { position: relative; flex: 1 1 auto; min-height: 500px; margin: 10px 10px 0; }
.chart-box #liveChart { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-hint { padding: 6px 18px 10px; font-size: 11.5px; color: var(--dim); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.call-stage .call-top { flex-wrap: wrap; gap: 8px 10px; }
.call-stage .call-label { white-space: nowrap; }
.call-stage .signal-row { grid-template-columns: 1fr; justify-items: start; gap: 10px; }
.call-stage .call-dir { font-size: 52px; }
@media (max-width: 1100px) { .call-stage { grid-template-columns: 1fr; } .chart-box { min-height: 420px; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .chart-box { min-height: 340px; } }
@media (max-width: 720px) {
  .mkt { position: relative; padding: 12px; }
  .mkt > .seg { position: absolute; top: 12px; right: 12px; }
  .mkt-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .mkt-sym, .mkt-px { grid-column: 1 / -1; }
  .mkt-px > b { font-size: 24px; }
  .mkt-stat { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--inset); }
  .chart-box { min-height: 320px; margin: 8px 4px 0; }
  .chart-hint { display: none; }
  .app .topbar-right { gap: 6px; }
  .app .topbar-right .navlink[href="/learn.html"], .app .topbar-right .navlink[data-discord], .my-user { display: none; }
  .app .topbar-right .btn, .app .topbar-right .navlink, #conn { white-space: nowrap; }
}
@media (max-width: 440px) {
  /* phones: keep every header item on one line ("My page" used to break in two) */
  .app .topbar-right { gap: 4px; }
  .app .topbar-right .navlink { padding: 6px 7px; font-size: 13px; }
  .app .topbar-right .btn.sm { padding-left: 10px; padding-right: 10px; }
  .app .topbar-right .icon-btn { width: 34px; height: 34px; }
}
@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .topbar .tabs { order: 3; width: 100%; }
  .dash, .statusbar { padding-left: 12px; padding-right: 12px; }
  .card { padding: 18px; }
}

/* ── Live call card ── */
.call { --tone: rgba(47, 129, 247, 0.4); overflow: hidden; padding: 28px; }
.call::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; height: 120%; pointer-events: none; background: radial-gradient(closest-side, var(--glow, rgba(47, 129, 247, 0.1)), transparent 70%); transition: background 0.6s; }
.call.t-up { --glow: rgba(14, 203, 129, 0.14); --tone: rgba(14, 203, 129, 0.5); border-color: var(--up-line); }
.call.t-down { --glow: rgba(246, 70, 93, 0.14); --tone: rgba(246, 70, 93, 0.5); border-color: var(--down-line); }
.call.t-warn { --glow: rgba(240, 185, 11, 0.08); }
.call.flash { animation: glow 1s var(--ease); }
.call > * { position: relative; z-index: 1; }
.call-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.call-dir { display: flex; align-items: center; gap: 14px; font-size: 68px; font-weight: 800; letter-spacing: -0.028em; line-height: 1; margin: 22px 0 8px; transition: color 0.4s; }
.call-dir .arr { font-size: 0.62em; }
.call-dir.up { color: var(--up); }
.call-dir.down { color: var(--down); }
.call-dir.neutral { color: var(--soft); }
.call-likely { font-size: 16px; color: var(--muted); }
.call-likely b { font-size: 22px; color: var(--text); margin-right: 4px; }
.call-say { font-size: 17.5px; line-height: 1.6; color: var(--soft); margin: 18px 0 22px; max-width: 62ch; }
.call-say b { color: var(--text); }
.split-bar { position: relative; height: 12px; border-radius: 99px; background: var(--down); overflow: visible; }
.split-bar .u { position: absolute; inset: 0 auto 0 0; border-radius: 99px 0 0 99px; background: var(--up); transition: width 0.8s var(--ease); }
.split-bar .mk { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px var(--card); transition: left 0.8s var(--ease); }
.split-legend { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13.5px; font-weight: 650; }
.why { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.why li { position: relative; padding-left: 22px; font-size: 14px; color: var(--soft); }
.why li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.why li.warn::before { background: var(--warn); }
.call-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ── Tiles ── */
.tile { padding: 22px; }
.tile-label { font-size: 13.5px; font-weight: 650; color: var(--muted); }
.tile-big { display: block; font-size: 34px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; margin: 6px 0 4px; }
.tile-sub { font-size: 13.5px; color: var(--muted); }
.tile-sub b { color: var(--soft); }
.tile-row { display: flex; align-items: center; gap: 18px; }
.ring { position: relative; width: 92px; height: 92px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring .ring-bg { stroke: rgba(255, 255, 255, 0.06); }
.ring .ring-fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 326.73; transition: stroke-dashoffset 1s linear; }
.ring.hot .ring-fg { stroke: var(--down); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.duo > div { padding: 10px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.duo span { display: block; font-size: 12.5px; font-weight: 650; }
.duo b { font-size: 22px; font-weight: 750; }

/* ── Path / timeline ── */
#pathChart { display: block; width: 100%; height: 150px; }
.timeline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tl { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; color: var(--dim); background: rgba(255, 255, 255, 0.04); animation: pop 0.35s var(--ease) both; }
.tl.up { color: var(--up); background: var(--up-soft); }
.tl.down { color: var(--down); background: var(--down-soft); }
.tl.todo { border: 1px dashed var(--line-2); background: transparent; }

/* ── Chart tab ── */
#chart { display: block; width: 100%; height: 520px; cursor: crosshair; }
#liveChart { display: block; width: 100%; height: 380px; cursor: crosshair; }
.src { font-style: normal; font-weight: 600; color: var(--dim); margin-left: 4px; }
.read-summary { font-size: 16px; line-height: 1.55; color: var(--text); margin: -4px 0 14px; }
.r-pair { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; }
.r-pair b { font-size: 15px; }
.r-pair small { color: var(--dim); }
.sub-h { font-size: 14px; font-weight: 750; margin: 20px 0 10px; color: var(--soft); }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plist li { display: grid; gap: 4px; padding: 11px 13px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); animation: rise 0.35s var(--ease); }
.plist li > .pill { justify-self: start; font-size: 12.5px; }
.pl-meta { font-size: 12.5px; color: var(--muted); }
.pl-text { font-size: 13.5px; color: var(--soft); }
.tallies { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tally { padding: 14px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.tally > span { display: block; font-size: 13px; font-weight: 700; color: var(--soft); }
.tally > span i { font-style: normal; font-weight: 600; color: var(--dim); margin-left: 4px; }
.tally-n { display: flex; gap: 14px; margin: 6px 0 2px; }
.tally-n b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.tally em { font-style: normal; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .tallies { grid-template-columns: 1fr 1fr; } }
/* ── Track record (public /record page and the dashboard's Results tab) ── */
.rec-page { padding-top: 34px; }
.rec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.rec-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.028em; margin: 14px 0 6px; }
.rec-lede { color: var(--muted); font-size: 15.5px; max-width: 640px; margin: 0; }
.rec-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rec-mode { display: flex; align-items: center; gap: 10px; }
.rec-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rec-card { padding: 18px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); display: flex; flex-direction: column; }
.rec-card-t { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.rec-big { font: 800 40px/1.1 var(--mono); letter-spacing: -0.03em; margin: 10px 0 6px; color: var(--text); }
.rec-big small { font: 600 14px var(--font); letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.rec-count { font-size: 14px; color: var(--soft); }
.rec-what { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 12px 0 0; }
.rec-card .rec-what { margin-top: auto; padding-top: 12px; }
.rec-ladder { margin-top: 16px; padding: 18px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.rec-ladder h3 { margin: 0 0 14px; font-size: 15px; }
.rec-bar { display: grid; grid-template-columns: 210px minmax(0, 1fr) 110px; align-items: center; gap: 14px; padding: 6px 0; }
.rec-bar-l { font-size: 14px; color: var(--soft); }
.rec-bar-track { position: relative; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); overflow: visible; }
.rec-bar-fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--brand-grad); transition: width 0.5s var(--ease); }
.rec-coin { position: absolute; left: 50%; top: -4px; bottom: -4px; border-left: 1px dashed var(--muted); }
.rec-bar-v { text-align: right; font-family: var(--mono); font-size: 14px; }
.rec-coin-key { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin: 8px 0 0 224px; }
.rec-coin-key i { width: 0; height: 12px; border-left: 1px dashed var(--muted); }
.wl { font-family: var(--mono); white-space: nowrap; }
.wl b { font-weight: 800; }
.rec-big .wl b { font-weight: 800; }
.rec-overall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 18px; margin-bottom: 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--brand-line); }
.rec-ov-main .rec-what { margin-top: 6px; }
.rec-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: center; }
.rec-types > div { padding: 10px 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.rec-types span { font-size: 12.5px; color: var(--muted); }
.rec-types .wl { font-size: 20px; }
.rec-types em { font-style: normal; font-size: 12px; color: var(--dim); }
.wl-pill { display: inline-block; min-width: 44px; text-align: center; padding: 2px 8px; border-radius: 6px; font: 700 12.5px var(--mono); cursor: help; }
.wl-pill.up { color: var(--up); background: var(--up-soft); }
.wl-pill.down { color: var(--down); background: var(--down-soft); }
.wl-pill.even { color: var(--soft); background: rgba(255, 255, 255, 0.06); }
.rec-guide h3 { margin: 0 0 12px; font-size: 16px; }
.rec-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.rec-guide-grid > div { padding: 14px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.rec-guide-grid b { font-size: 14.5px; }
.rec-guide-grid .dim { font: 600 12px var(--mono); margin-left: 4px; }
.rec-guide-grid p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.rec-guide-wl { border-color: var(--brand-line) !important; }
@media (max-width: 860px) { .rec-overall { grid-template-columns: 1fr; } .rec-types { grid-template-columns: 1fr 1fr; } }
.rec-table td.num, .rec-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.rec-table td { white-space: nowrap; }
.side { display: inline-block; min-width: 46px; text-align: center; padding: 2px 8px; border-radius: 6px; font: 700 12px var(--mono); letter-spacing: 0.03em; }
.side.up { color: var(--up); background: var(--up-soft); }
.side.down { color: var(--down); background: var(--down-soft); }
.mark { display: inline-block; width: 18px; text-align: center; font-weight: 800; }
.mark.ok { color: var(--up); }
.mark.no { color: var(--down); }
.chips { display: flex; gap: 6px; }
.chip { display: inline-block; min-width: 54px; text-align: center; padding: 2px 6px; border-radius: 6px; font: 600 11.5px var(--mono); border: 1px solid var(--line); }
.chip.ok { color: var(--up); border-color: var(--up-line); }
.chip.no { color: var(--down); border-color: var(--down-line); }
.chip.none { color: var(--dim); }
.rec-legend { font-size: 13px; color: var(--muted); margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.rec-how { margin-top: 18px; padding: 16px 20px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.rec-how summary { cursor: pointer; font-weight: 700; }
.rec-how dl { margin: 14px 0 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 10px 20px; }
.rec-how dt { font-weight: 700; color: var(--soft); font-size: 14px; }
.rec-how dd { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 860px) {
  .rec-cards { grid-template-columns: 1fr; }
  .rec-controls { align-items: flex-start; }
  .rec-bar { grid-template-columns: 1fr 92px; }
  .rec-bar-track { grid-column: 1 / -1; grid-row: 2; }
  .rec-coin-key { margin-left: 0; }
  .rec-how dl { grid-template-columns: 1fr; }
}
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: rgba(47, 129, 247, 0.07); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.legend i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 7px; }
.strip { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 6px; }
.strip span { aspect-ratio: 1.5; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; transition: transform 0.2s var(--ease); }
.strip span:hover { transform: translateY(-2px); }
.strip .u { background: var(--up-soft); color: var(--up); }
.strip .d { background: var(--down-soft); color: var(--down); }

/* ── Trade plan ── */
.pladder { position: relative; height: 10px; margin: 52px 6px 58px; }
.pl-track { position: absolute; inset: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.pz { position: absolute; top: 0; bottom: 0; transition: left 0.8s var(--ease), width 0.8s var(--ease); }
.pz.loss { background: linear-gradient(90deg, rgba(246, 70, 93, 0.85), rgba(246, 70, 93, 0.3)); }
.pz.gain { background: linear-gradient(90deg, rgba(14, 203, 129, 0.3), rgba(14, 203, 129, 0.9)); }
.pm { position: absolute; top: 50%; z-index: 1; transform: translate(-50%, -50%); transition: left 0.8s var(--ease); }
.pm i { display: block; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--card); background: var(--text); }
.pm.sl i { background: var(--down); }
.pm.tp i { background: var(--up); }
.pm.en i { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.pm span { position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 650; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.pm span b { font: 800 13.5px var(--mono); color: var(--text); }
.pm.sl span b { color: var(--down); }
.pm.tp span b { color: var(--up); }
.pm.above span { bottom: 22px; }
.pm.below span { top: 22px; }
.pm.l span { left: -4px; transform: none; align-items: flex-start; }
.pm.r span { left: auto; right: -4px; transform: none; align-items: flex-end; }
.pnow { position: absolute; top: -8px; bottom: -8px; z-index: 2; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--brand-2); box-shadow: 0 0 12px var(--brand); transition: left 0.8s var(--ease); }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stepcard { padding: 14px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.stepcard span { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.stepcard b { display: block; font-size: 24px; font-weight: 750; letter-spacing: -0.02em; margin: 4px 0 2px; }
.stepcard em { font-style: normal; font-size: 13px; font-weight: 700; }
.stepcard small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.stepcard.up { border-color: var(--up-line); }
.stepcard.down { border-color: var(--down-line); }
@media (max-width: 700px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote { padding: 16px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); transition: border-color 0.4s, background 0.4s; }
.quote.hot.up { border-color: var(--up-line); background: var(--up-soft); }
.quote.hot.down { border-color: var(--down-line); background: var(--down-soft); }
.quote-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.quote-h .side { font-size: 16px; font-weight: 750; }
.quote .r { padding: 7px 0; }
.quote .r > span { font-size: 13px; }
.quote .r > b { font-size: 14.5px; }

/* ── My trade ── */
.pos-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.pos-actions { display: flex; gap: 10px; margin-bottom: 18px; }
.pos-result { padding: 18px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pos-result .big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 6px; }
.pos-result .big.up { color: var(--up); }
.pos-result .big.down { color: var(--down); }
.pos-result .big.warn { color: var(--warn); }
.hold { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.hold:first-of-type { border-top: 0; padding-top: 0; }
.hold-advice { font-size: 19px; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 4px; }
.hold-detail { color: var(--muted); font-size: 14px; }
.hold-nums { font-size: 13px; color: var(--dim); margin-top: 6px; }
.hold-nums b { color: var(--soft); }

/* ── Flip risk ── */
.flip-top { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.flip-big b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.flip-big span { font-size: 14px; color: var(--muted); }
.meter { flex: 1; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--up), var(--warn) 55%, var(--down)); transition: width 0.9s var(--ease); }
.alerts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.alerts li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--soft); padding: 11px 14px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); animation: rise 0.35s var(--ease); }
.alerts li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--dim); }
.alerts li.amber::before { background: var(--warn); }
.alerts li.down::before { background: var(--down); }
.alerts li.up::before { background: var(--up); }
.alerts li.blue::before { background: var(--brand-2); }
.minis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.minis > div { padding: 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.minis span { display: block; font-size: 12px; font-weight: 650; color: var(--muted); }
.minis b { font-size: 18px; font-weight: 750; }
@media (max-width: 560px) { .minis { grid-template-columns: 1fr 1fr; } }
.ind { display: grid; grid-template-columns: minmax(0, 1fr) 56px 130px; gap: 12px; align-items: center; padding: 9px 0; font-size: 14px; border-top: 1px solid var(--line); }
.ind:first-child { border-top: 0; }
.ind > span:first-child { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ind .v { text-align: right; color: var(--muted); font-weight: 700; font-size: 13px; }
.cbar { position: relative; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); }
.cbar::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-2); }
.cbar span { position: absolute; top: 0; bottom: 0; border-radius: 99px; transition: left 0.7s var(--ease), right 0.7s var(--ease), width 0.7s var(--ease), background 0.4s; }

/* ── Results ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 10px; text-align: right; white-space: nowrap; }
th { font-size: 12px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line-2); }
td { border-bottom: 1px solid var(--line); font-weight: 600; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
tbody tr:last-child td { border-bottom: 0; }
th:first-child, td:first-child { text-align: left; }
tr.hl td { background: var(--brand-soft); }
td.t { white-space: normal; }
.stat-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-box { padding: 16px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.stat-box h4 { font-size: 14px; margin-bottom: 6px; }
.stat-box .r { padding: 7px 0; }
.big-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.big-stats > div { padding: 16px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.big-stats b { display: block; font-size: 26px; font-weight: 750; letter-spacing: -0.02em; }
.big-stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .big-stats { grid-template-columns: 1fr 1fr; } }
details.more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
details.more summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--brand-2); display: flex; align-items: center; gap: 8px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--brand-soft); transition: transform 0.25s var(--ease); }
details.more[open] summary::before { content: "−"; }
details.more > div { margin-top: 16px; animation: rise 0.35s var(--ease); }
.disclaimer { color: var(--dim); font-size: 12.5px; text-align: center; max-width: 860px; margin: 28px auto 0; }

/* ══════════════════════════ Marketing site ══════════════════════════ */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: drift 20s ease-in-out infinite; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(47, 129, 247, 0.4), transparent 65%); }
.aurora span:nth-child(2) { width: 42vw; height: 42vw; right: -14vw; top: -8vw; background: radial-gradient(circle, rgba(121, 176, 255, 0.28), transparent 65%); animation-delay: -7s; }
.aurora span:nth-child(3) { width: 34vw; height: 34vw; left: 34vw; top: 40vh; background: radial-gradient(circle, rgba(14, 203, 129, 0.1), transparent 65%); animation-delay: -13s; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--brand-2); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 2s infinite; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 84px 0 72px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.03em; margin: 22px 0 20px; font-weight: 800; }
.hero .lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--up); }
.preview { padding: 26px; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 1), 0 0 0 1px rgba(47, 129, 247, 0.12); }
.preview .call-dir { font-size: 54px; margin: 16px 0 6px; filter: blur(9px); user-select: none; }
.preview .locked-note { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--soft); margin: 6px 0 18px; }
.preview .locked-note svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; }
.preview .tiles3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.preview .tiles3 > div { padding: 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.preview .tiles3 span { display: block; font-size: 12px; font-weight: 650; color: var(--muted); }
.preview .tiles3 b { font-size: 20px; font-weight: 750; }
.preview .bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin-bottom: 18px; }
.preview .bar span { display: block; height: 100%; background: var(--brand-grad); transition: width 1s linear; }
.preview .bar.hot span { background: var(--down); }
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.028em; margin: 16px 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 26px; transition: transform 0.35s var(--ease), border-color 0.35s; }
.feature:hover { transform: translateY(-4px); border-color: var(--brand-line); }
.feature h3 { font-size: 18px; margin: 18px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.ico { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--brand-grad); box-shadow: 0 10px 24px -12px rgba(47, 129, 247, 0.9); }
.ico svg { width: 21px; height: 21px; }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how .card { padding: 26px; }
.how .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; font-weight: 800; color: var(--brand-2); background: var(--brand-soft); margin-bottom: 16px; }
.how h3 { font-size: 18px; margin-bottom: 8px; }
.how p { color: var(--muted); margin: 0; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 24px; }
.stat b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -0.028em; line-height: 1.05; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.plan .head { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { font-size: 17px; }
.plan .price { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; color: var(--soft); font-size: 15px; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--up); }
.plan.hl { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand-grad) border-box; border: 1px solid transparent; box-shadow: 0 40px 90px -50px rgba(47, 129, 247, 0.9); }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { border-radius: 8px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.25s; }
.faq-list details[open] { border-color: var(--brand-line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; color: var(--brand-2); background: var(--brand-soft); font-size: 18px; transition: transform 0.3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); margin: 0; padding: 0 20px 18px; font-size: 15px; animation: rise 0.35s var(--ease); }
.cta-band { text-align: center; padding: 56px 28px; border-radius: 12px; background: radial-gradient(600px 240px at 50% 0%, rgba(47, 129, 247, 0.28), transparent 70%), var(--card); border: 1px solid var(--brand-line); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.028em; margin-bottom: 12px; font-weight: 800; }
.cta-band p { color: var(--muted); margin-bottom: 26px; font-size: 17px; }
.cta-band .cta { justify-content: center; }
/* Community: join the Discord (index.html #community; shown when config.json has a Discord invite) */
.lp-discord { display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 10px; border: 1px solid rgba(88, 101, 242, 0.35); background: radial-gradient(520px 200px at 0% 0%, rgba(88, 101, 242, 0.20), transparent 70%), var(--card); }
.lp-discord-icon { flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #5865f2; color: #fff; box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35); }
.lp-discord-icon svg { width: 30px; height: 30px; }
.lp-discord-copy { flex: 1; min-width: 0; }
.lp-discord-copy h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; margin: 6px 0 8px; font-weight: 750; }
.lp-discord-copy p { color: var(--muted); margin: 0; max-width: 60ch; }
.lp-discord .btn { flex: none; background: #5865f2; border-color: #5865f2; color: #fff; }
.lp-discord .btn:hover { background: #4752c4; border-color: #4752c4; }
@media (max-width: 700px) { .lp-discord { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; } .lp-discord .btn { width: 100%; justify-content: center; } }
footer.site-foot { border-top: 1px solid var(--line); padding: 32px 0 46px; color: var(--dim); font-size: 13px; }
footer.site-foot .wrap { display: grid; gap: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
/* Terms / Privacy */
.legal { padding: 48px 0 72px; }
.legal .article { margin: 0 auto; }
.legal .article h2 { font-size: 21px; margin: 38px 0 10px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: -4px; }
/* sign-up agreement checkbox */
.agree, .auth-form .agree { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: 13.5px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--soft); line-height: 1.5; cursor: pointer; }
.auth-form .agree input, .agree input { width: 17px; height: 17px; min-height: 0; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--brand); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .grid3, .how, .stats { grid-template-columns: 1fr 1fr; }
  .sitenav { display: none; }
}
@media (max-width: 620px) { .grid3, .how, .stats { grid-template-columns: 1fr; } .section { padding: 60px 0; } }

/* ── Login ── */
.auth-wrap { min-height: calc(100vh - 62px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px 28px; }
.auth-split { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 64px; align-items: center; width: min(1080px, 100%); }
.auth-side h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.028em; line-height: 1.08; margin: 18px 0 28px; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font: 700 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); }
.auth-eyebrow i, .auth-rec-h i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 2s infinite; }
.auth-points { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 18px; }
.auth-points li { display: flex; gap: 14px; align-items: flex-start; }
.auth-ico { flex: none; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; font: 800 13px var(--mono); color: var(--brand-2); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.auth-points b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.auth-points p { margin: 0; font-size: 14px; color: var(--muted); }
.auth-rec { padding: 16px 18px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.auth-rec-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12.5px; }
.auth-rec-h span { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.auth-rec-h em { font-style: normal; }
.auth-rec-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.auth-rec-row > div { padding: 10px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.auth-rec-row small { display: block; font-size: 11.5px; font-weight: 650; color: var(--muted); }
.auth-rec-row b { display: block; font: 750 22px var(--mono); letter-spacing: -0.03em; margin: 2px 0; }
.auth-rec-row em { font-style: normal; font-size: 11.5px; color: var(--dim); }
.auth-help { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.55; }
.auth-foot { justify-content: center; margin-top: 26px; }
@media (max-width: 920px) {
  .auth-split { grid-template-columns: 1fr; gap: 28px; max-width: 460px; margin: 0 auto; }
  .auth-split .auth { order: -1; }
  .auth-side h2 { font-size: 28px; margin: 14px 0 20px; }
}.auth { width: 100%; max-width: 430px; padding: 30px 32px; text-align: center; box-shadow: 0 40px 100px -50px rgba(47, 129, 247, 0.55); }
.auth h1 { font-size: 27px; letter-spacing: -0.03em; margin: 20px 0 8px; }
.auth label { text-align: left; }
.auth input { font-size: 15.5px; padding: 12px 14px; margin-bottom: 4px; }
.auth input.code-in { font-family: var(--mono); font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }
.auth-tabs { display: flex; width: 100%; margin: 0 0 4px; }
.auth-tabs button { flex: 1; }
.auth-form { text-align: left; }
.auth-form h1 { text-align: center; }
.auth-form > p.muted { text-align: center; }
.auth-form .btn { margin-top: 14px; }
.err { color: var(--down); font-size: 14px; min-height: 22px; margin: 8px 0 6px; }

/* ── Learn ── */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 40; background: var(--brand-grad); transform-origin: 0 50%; transform: scaleX(0); }
.learn { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding: 48px 0 72px; }
.toc { position: sticky; top: 84px; align-self: start; display: grid; gap: 2px; }
.toc a { color: var(--muted); padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: color 0.2s, background 0.2s; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.toc a.active { color: #fff; background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.article { max-width: 760px; }
.article h1 { font-size: clamp(34px, 4.4vw, 50px); letter-spacing: -0.028em; margin: 18px 0 14px; font-weight: 800; }
.article > p:first-of-type { font-size: 18px; color: var(--muted); }
.article h2 { font-size: 27px; letter-spacing: -0.03em; margin: 60px 0 14px; scroll-margin-top: 86px; font-weight: 750; }
.article h3 { font-size: 19px; margin: 30px 0 8px; }
.article p, .article li { color: #c2c6cc; font-size: 16.5px; line-height: 1.78; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 7px; }
.article li::marker { color: var(--brand-2); }
.article .callout { margin: 22px 0; font-size: 16px; }
.article .callout p { font-size: 16px; }
.article code { font-family: var(--mono); font-size: 14px; padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); color: var(--text); }
.article figure { margin: 24px 0; padding: 22px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.article figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.article table { margin: 18px 0; border-radius: 8px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; }
.article th, .article td { text-align: left; white-space: normal; font-size: 15px; padding: 12px 15px; line-height: 1.55; font-weight: 500; }
.article th { font-weight: 750; color: var(--soft); }
@media (max-width: 900px) { .learn { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; grid-template-columns: 1fr 1fr; } }

/* ══════════════════════════ Trading-floor layer (dashboard) ══════════════════════════ */
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lockpulse { 0%, 100% { box-shadow: 0 0 0 0 var(--tone); } 50% { box-shadow: 0 0 0 6px transparent; } }
body.app {
  font-size: 14px;
  background-color: #060a10;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 36px 36px;
}
.app .topbar { padding: 9px 22px; }
.tape { position: relative; overflow: hidden; height: 32px; background: #04080e; border-bottom: 1px solid var(--line); font: 600 12px var(--mono); white-space: nowrap; }
.tape::before, .tape::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1; pointer-events: none; }
.tape::before { left: 0; background: linear-gradient(90deg, #04080e, transparent); }
.tape::after { right: 0; background: linear-gradient(-90deg, #04080e, transparent); }
.tape-track { display: inline-flex; height: 100%; align-items: center; animation: tape 55s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-set { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; color: var(--muted); }
.tape-set b { color: var(--text); font-weight: 700; }
.tape-set b.up, .tape-set .up { color: var(--up); }
.tape-set b.down, .tape-set .down { color: var(--down); }
.tape-set em { font-style: normal; color: var(--dim); font-size: 9px; }
.tape-set i { font-style: normal; margin-left: 2px; }
.app .statusbar { margin-top: 16px; padding: 0 22px; }
.app .sb-item { padding: 11px 14px; border-radius: 8px; background: rgba(17, 21, 27, 0.92); }
.app .sb-item b { font: 750 17px var(--mono); letter-spacing: -0.02em; }
.app .dash { padding: 14px 22px 48px; }
.app .tabpanel.on { gap: 14px; }
.app .grid-2, .app .live-grid, .app .side-tiles { gap: 14px; }
.app .card { padding: 18px 20px; border-radius: 8px; background: rgba(17, 21, 27, 0.94); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035); }
.app .card-head { margin-bottom: 14px; }
.app .card-head h2 { font-size: 15.5px; }
.app .card-sub { font-size: 12.5px; }
.app .tile-big { font: 800 28px var(--mono); letter-spacing: -0.03em; }
.app .duo b { font: 800 20px var(--mono); }
.beta { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 1px 5px; border-radius: 5px; color: var(--brand-2); background: var(--brand-soft); }
/* Accounts: My page */
.set-sec { padding: 14px 0; border-top: 1px solid var(--line); }
.set-sec:first-of-type { border-top: 0; padding-top: 4px; }
.set-sec h3 { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.code-row { display: flex; gap: 8px; margin-top: 10px; }
.code-row input { flex: 1; min-width: 0; }
.verify-box { margin: 10px 0 4px; padding: 12px 14px; border-radius: 8px; background: var(--warn-soft); border: 1px solid var(--warn-line); }
.verify-box p { margin: 0 0 8px; font-size: 13px; color: var(--soft); }
.verify-box .code-row { margin: 0 0 8px; }
.verify-box .code-in { letter-spacing: 0.35em; }
.confirm-box { margin-bottom: 12px; padding: 12px 14px; border-radius: 8px; background: var(--up-soft); border: 1px solid var(--up-line); }
.confirm-box b { color: var(--up); font-size: 15px; }
.confirm-box p { margin: 4px 0 10px; font-size: 13px; color: var(--soft); }
#subscription, #email { scroll-margin-top: 90px; }
.stack-form { display: grid; gap: 8px; margin-top: 10px; }
.stack-form .btn { justify-self: start; }
.acct-hello .acct-name { font-size: 30px; letter-spacing: -0.03em; margin: 4px 0 12px; }
/* My page: header strip, main column, settings sidebar */
#acctTop { display: grid; gap: 14px; margin-bottom: 14px; }
#acctTop .callout { margin: 0; }
.app .card.acct-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; padding: 24px 26px; background: radial-gradient(520px 220px at 0% 0%, rgba(47, 129, 247, 0.2), transparent 70%), rgba(17, 21, 27, 0.94); }
.acct-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.acct-avatar { flex: none; width: 58px; height: 58px; border-radius: 8px; display: grid; place-items: center; font: 800 25px var(--font); color: #fff; background: var(--brand-grad); box-shadow: 0 14px 30px -14px rgba(47, 129, 247, 0.95); }
.acct-kicker { font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2); }
.acct-hero .acct-name { font-size: 28px; letter-spacing: -0.03em; margin: 2px 0; }
.acct-meta { margin: 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.acct-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acct-sub { font-size: 13px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 14px; align-items: start; }
.acct-main { display: grid; gap: 14px; }
#statsCard .tallies { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .acct-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { #statsCard .tallies { grid-template-columns: 1fr 1fr; } .acct-hero .acct-name { font-size: 24px; } }
.acct-trade { grid-template-columns: 1fr 1fr 1fr; }
.acct-trade .wide { grid-column: 1 / -1; }
.err.inline { display: inline; margin: 0 0 0 10px; min-height: 0; }
.err.ok { color: var(--up); }
.btn.xs { padding: 4px 9px; font-size: 12px; border-radius: 6px; }
.btn.danger { color: var(--down); border-color: var(--down-line); }
td.acts { white-space: nowrap; text-align: right; }
td.acts .btn + .btn { margin-left: 6px; }
.sb-user { font-size: 13px; color: var(--soft); text-decoration: none; }

/* What to pay */
.pay { display: grid; gap: 12px; margin-top: 10px; }
.pay-row { display: grid; gap: 6px; padding: 10px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.pay-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.pay-side { font-weight: 800; min-width: 58px; }
.pay-buy { color: var(--muted); flex: 1; }
.pay-buy b { color: var(--text); font-size: 17px; font-weight: 750; font-family: var(--mono); }
.pay-state { font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; white-space: nowrap; color: var(--muted); background: var(--card-2); }
.pay-state.good { color: var(--up); background: var(--up-soft); box-shadow: inset 0 0 0 1px var(--up-line); }
.pay-state.thin { color: var(--warn); background: var(--warn-soft); }
.pay-state.over { color: var(--down); background: var(--down-soft); }
.ladder { position: relative; height: 8px; margin: 3px 0 1px; }
.ladder-zones { position: absolute; inset: 0; border-radius: 5px; overflow: hidden; background: var(--card-2); }
.ladder .z { position: absolute; top: 0; bottom: 0; transition: left 0.35s var(--ease), width 0.35s var(--ease); }
.ladder .z.good { background: rgba(14, 203, 129, 0.55); }
.ladder .z.thin { background: rgba(240, 185, 11, 0.45); }
.ladder .z.over { background: rgba(246, 70, 93, 0.35); }
.ladder .now { position: absolute; top: -4px; width: 3px; height: 16px; margin-left: -1.5px; border-radius: 2px; background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, 0.6); transition: left 0.35s var(--ease); }
.pay-sub { font-size: 11.5px; color: var(--muted); }
.pay-sub b { color: var(--soft); }
.pay-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; font-size: 11px; color: var(--dim); }
.pay-key .k { display: inline-block; width: 10px; height: 6px; border-radius: 2px; margin-right: -6px; }
.pay-key .k.good { background: rgba(14, 203, 129, 0.55); }
.pay-key .k.thin { background: rgba(240, 185, 11, 0.45); }
.pay-key .k.over { background: rgba(246, 70, 93, 0.35); }
.pay-key .k.now { width: 3px; height: 10px; background: #fff; }
.pay-note { margin-top: 8px; font-size: 11.5px; }
.sb-pay { display: block; margin: 3px 0 0 !important; font-size: 11.5px !important; color: var(--soft); font-weight: 700; }
.tag { font-style: normal; font-size: 10px; font-weight: 700; padding: 1px 6px; margin-left: 4px; border-radius: 5px; color: var(--brand-2); background: var(--brand-soft); white-space: nowrap; }

/* The Call */
.call { padding: 22px 24px; }
.call-label { font: 800 12px var(--mono); letter-spacing: 0.22em; color: var(--brand-2); }
.call-q { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.call-q b { color: var(--soft); font-family: var(--mono); }
.app .call-dir { font-size: 56px; margin: 12px 0 4px; align-items: baseline; }
.call-pct { font: 800 30px var(--mono); margin-left: 14px; letter-spacing: -0.03em; opacity: 0.9; }
.lockbadge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font: 700 12px var(--mono); letter-spacing: 0.04em; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px dashed var(--line-2); }
.lockbadge i { font-style: normal; font-weight: 600; opacity: 0.8; }
.lockbadge.up { color: #04110a; background: var(--up); border: 0; }
.lockbadge.down { color: #170409; background: var(--down); border: 0; }
.lockbadge.lost { color: var(--warn); border-color: var(--warn-line); background: var(--warn-soft); }
.lockbadge.sure { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 18px rgba(255, 255, 255, 0.25); }
.lockmeter.sure span { background: linear-gradient(90deg, var(--up), #9ff0cd); }
.call-tier { display: flex; align-items: flex-start; gap: 10px; margin: -4px 0 14px; padding: 9px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.call-tier > span { flex: none; font: 800 10.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; color: var(--soft); background: var(--card-2); }
.call-tier.lock > span { color: var(--brand-2); background: var(--brand-soft); }
.call-tier.sure > span { color: var(--up); background: var(--up-soft); box-shadow: inset 0 0 0 1px var(--up-line); }
.call-tier p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.call-tier p b { color: var(--text); }
/* Lock risk (2026-12-02): price math shown while a call is locked */
.lock-risk { display: flex; align-items: flex-start; gap: 10px; margin: -4px 0 14px; padding: 9px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.lock-risk > span { flex: none; font: 800 10.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; color: var(--warn); background: var(--warn-soft); white-space: nowrap; }
.lock-risk p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.lock-risk p b { color: var(--text); }
.lock-risk.warn { border-color: var(--warn-line); background: linear-gradient(90deg, var(--warn-soft), var(--inset) 60%); }
.lock-risk.bad { border-color: var(--down-line); background: linear-gradient(90deg, var(--down-soft), var(--inset) 60%); }
.lock-risk.bad > span { color: var(--down); background: var(--down-soft); }
.call.locked { animation: lockpulse 2.4s ease-in-out infinite; }
.lockmeter { position: relative; height: 18px; margin: 14px 0 16px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.lockmeter span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(47, 129, 247, 0.35), rgba(47, 129, 247, 0.8)); transition: width 0.8s var(--ease); }
.lockmeter.full span { background: linear-gradient(90deg, rgba(14, 203, 129, 0.5), var(--up)); }
.lockmeter em { position: absolute; inset: 0; display: grid; place-items: center; font: 700 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); font-style: normal; }
.signal-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 14px; margin-bottom: 16px; border-radius: 8px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line); }
.signal-row .call-say { margin: 0; font-size: 14.5px; }
.app .tallies { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.app .tally-n b { font: 800 21px var(--mono); }
@media (max-width: 900px) { .app .tallies { grid-template-columns: 1fr 1fr; } .app .call-dir { font-size: 44px; } }

/* Candlemind */
.mind-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip-btn { font: 600 12.5px var(--font); color: var(--soft); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 12px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.chip-btn:hover { background: var(--brand-soft); border-color: var(--brand-line); color: #fff; }
.mind-form { display: flex; gap: 8px; margin-bottom: 14px; }
.mind-form input { flex: 1; font-family: var(--font); font-weight: 500; }
.mind-answers { display: grid; gap: 12px; max-height: 620px; overflow-y: auto; }
.mind-qa { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; animation: rise 0.35s var(--ease); }
.mind-q { padding: 10px 14px; font-weight: 700; background: var(--brand-soft); color: #fff; font-size: 13.5px; }
.mind-a { padding: 12px 14px; }
.md h4 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-2); margin: 14px 0 6px; }
.md h4:first-child { margin-top: 0; }
.md p, .md li { font-size: 14px; line-height: 1.6; color: var(--soft); }
.md ul { padding-left: 18px; margin: 4px 0 10px; }
.md b { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════ Stock-room skin: logo (everywhere) + public pages ══════════════════════════ */
/* Logo: a three-candle mark and a terminal-style wordmark (no gradient badge) */
.logo {
  display: inline-flex; align-items: center; gap: 9px; height: auto; padding: 0; border-radius: 0;
  background: none; box-shadow: none; color: var(--text); font: 800 18px/1 var(--mono); letter-spacing: 0.08em;
}
.logo::before {
  content: ""; flex: none; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M4 3.5v13' stroke='%230ecb81'/%3E%3Cpath d='M10 1.5v17' stroke='%23f6465d'/%3E%3Cpath d='M16 5v11' stroke='%230ecb81'/%3E%3C/g%3E%3Crect x='2.2' y='7' width='3.6' height='6.5' rx='0.8' fill='%230ecb81'/%3E%3Crect x='8.2' y='4.5' width='3.6' height='9' rx='0.8' fill='%23f6465d'/%3E%3Crect x='14.2' y='7.5' width='3.6' height='5' rx='0.8' fill='%230ecb81'/%3E%3C/svg%3E") center / contain no-repeat;
}
.auth .logo { font-size: 20px; }

textarea {
  font: 500 14.5px/1.5 var(--font); color: var(--text); width: 100%; resize: vertical; min-height: 84px;
  background: var(--inset); border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 12px;
}
textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

/* Public pages: dark trading-floor grid, hairline panels, mono numbers, no glow */
body.site {
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(47, 129, 247, 0.07), transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 100% 36px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 36px 100%,
    #060a10;
}
body.site .aurora { display: none; }
body.site .topbar { background: rgba(6, 10, 16, 0.82); }
body.site .card { border-radius: 6px; background: #0f1319; border-color: #20242a; }
body.site .eyebrow {
  border-radius: 6px; padding: 5px 10px; font: 700 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--soft); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2);
}
body.site .eyebrow i { border-radius: 2px; }
body.site .grad-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #79b0ff; }
body.site .hero h1 { letter-spacing: -0.03em; }
body.site .btn { border-radius: 6px; background: #2f81f7; box-shadow: none; }
body.site .btn:hover { background: #4a92ff; box-shadow: none; transform: translateY(-1px); }
body.site .btn.ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-2); }
body.site .btn.ghost:hover { background: rgba(255, 255, 255, 0.07); }
body.site .btn.lg { border-radius: 6px; padding: 14px 22px; }
body.site .btn.sm { border-radius: 5px; }
body.site .hero-points span { font: 600 12.5px var(--mono); letter-spacing: 0.02em; }

/* hero preview = a terminal panel */
body.site .preview { border-radius: 8px; box-shadow: 0 40px 90px -50px #000; }
body.site .preview .chip.brand { border-radius: 5px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
body.site .preview .tiles3 > div { border-radius: 6px; }
body.site .preview .tiles3 b { font-family: var(--mono); font-weight: 800; letter-spacing: -0.02em; }
body.site .preview .bar { border-radius: 2px; height: 4px; }
body.site .preview .bar span { background: var(--up); }
body.site .preview .strip span { border-radius: 4px; }

/* feature cards: joined hairline panels, numbered, thin green icons (no gradient squares) */
body.site .grid3 { counter-reset: feat; gap: 1px; background: #20242a; border: 1px solid #20242a; border-radius: 8px; overflow: hidden; }
body.site .feature { counter-increment: feat; border: 0; border-radius: 0; background: #0d1117; padding: 26px 24px; transition: background 0.25s; }
body.site .feature:hover { transform: none; background: #12161c; border-color: transparent; }
body.site .feature::before { content: counter(feat, decimal-leading-zero); position: absolute; top: 24px; right: 24px; font: 700 12px var(--mono); letter-spacing: 0.1em; color: var(--dim); }
body.site .feature::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--up); transition: width 0.4s var(--ease); }
body.site .feature:hover::after { width: 100%; }
body.site .ico { width: auto; height: auto; display: block; border-radius: 0; background: none; box-shadow: none; color: var(--up); }
body.site .ico svg { width: 22px; height: 22px; }
body.site .feature h3 { font-size: 17px; margin: 16px 0 6px; letter-spacing: -0.01em; }
body.site .feature p { font-size: 14.5px; }

/* how it works: mono step numbers instead of boxes */
body.site .how .num { display: block; width: auto; height: auto; border-radius: 0; background: none; color: var(--up); font: 700 12px var(--mono); letter-spacing: 0.14em; margin-bottom: 14px; }
body.site .how .num::before { content: "STEP 0"; }

/* stats, plans, faq, cta */
body.site .stat b { font-family: var(--mono); font-size: 34px; letter-spacing: -0.03em; }
body.site .plan .price { font-family: var(--mono); letter-spacing: -0.028em; }
body.site .plan .chip.brand { border-radius: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
body.site .plan.hl { box-shadow: none; background: linear-gradient(#0f1319, #0f1319) padding-box, linear-gradient(180deg, #2f81f7, rgba(47, 129, 247, 0.15)) border-box; }
body.site .faq-list details { border-radius: 6px; background: #0f1319; }
body.site .faq-list summary::after { border-radius: 5px; font-family: var(--mono); }
body.site .cta-band { border-radius: 8px; background: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 100% 24px, #0f1319; border-color: var(--line-2); }

/* Reviews (main page) */
.rev-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 14px; align-items: start; }
.rev-summary { position: sticky; top: 90px; padding: 22px; border: 1px solid #20242a; border-radius: 8px; background: #0f1319; }
.rev-score b { display: block; font: 800 52px/1 var(--mono); letter-spacing: -0.028em; }
.rev-score em { display: block; font-style: normal; color: var(--muted); font-size: 13px; }
.stars { color: #f0b90b; letter-spacing: 1px; font-size: 15px; white-space: nowrap; }
.stars i { font-style: normal; color: #292d33; }
.stars.big { position: relative; display: inline-block; margin: 10px 0 4px; font-size: 22px; letter-spacing: 2px; color: #292d33; }
.stars.big .fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f0b90b; }
.rev-dist { display: grid; gap: 7px; margin-top: 18px; }
.rev-dist div { display: grid; grid-template-columns: 28px 1fr 22px; align-items: center; gap: 8px; font: 600 12px var(--mono); color: var(--muted); }
.rev-dist i { display: block; height: 6px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.rev-dist i b { display: block; height: 100%; background: #f0b90b; }
.rev-dist em { font-style: normal; text-align: right; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.rev { margin: 0; padding: 18px; border: 1px solid #20242a; border-radius: 8px; background: #0f1319; display: flex; flex-direction: column; gap: 10px; }
.rev-top { display: flex; justify-content: space-between; align-items: center; font: 600 12px var(--mono); color: var(--dim); }
.rev blockquote { margin: 0; color: var(--soft); font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.rev figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; margin-top: auto; }
.tag-m { font: 700 10px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; color: var(--up); background: var(--up-soft); }
.tag-m.free { color: var(--warn); background: var(--warn-soft); }
@media (max-width: 860px) { .rev-wrap { grid-template-columns: 1fr; } .rev-summary { position: static; } }

/* Review form on My page */
.star-pick { display: flex; align-items: center; gap: 2px; }
.star-pick button { font-size: 28px; line-height: 1; background: none; border: 0; cursor: pointer; color: #2c3036; padding: 2px 3px; transition: color 0.15s, transform 0.15s; }
.star-pick button.on { color: #f0b90b; }
.star-pick button:hover { transform: scale(1.12); }
.star-pick span { margin-left: 10px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--soft); margin: 0; }
.check input { width: auto; }

/* ═════════ Main page (landing) ═════════ */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 52px; align-items: center; padding: 72px 28px 44px; }
.lp-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.03; letter-spacing: -0.03em; font-weight: 800; margin: 22px 0 18px; }
.lp-hero .lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.lp-proof { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 30px; padding: 11px 15px; border: 1px solid #21252b; border-radius: 6px; background: #0d1117; color: var(--soft); font: 600 13px var(--mono); text-decoration: none; transition: border-color 0.25s; }
.lp-proof:hover { border-color: var(--brand-line); color: var(--soft); }
.lp-proof-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; font-size: 11px; }
.lp-proof-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 2s infinite; }
.lp-proof-items { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; }
.lp-proof-items b { font-weight: 800; }

.lp-term { position: relative; border: 1px solid #25292f; border-radius: 8px; background: #090d13; overflow: hidden; box-shadow: 0 50px 120px -50px rgba(47, 129, 247, 0.45), 0 30px 60px -30px #000; }
.lp-term-top { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #1b1f25; font-size: 12px; color: var(--soft); background: #0d1117; }
.lp-live { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px var(--mono); letter-spacing: 0.1em; color: var(--up); padding: 3px 8px; border-radius: 5px; background: var(--up-soft); }
.lp-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--up); animation: pulse 1.6s infinite; }
.lp-term-src { margin-left: auto; color: var(--dim); }
.lp-term-chart { position: relative; height: 310px; }
.lp-term-chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lp-term-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #1b1f25; }
.lp-term-stats > div { padding: 12px 16px; border-right: 1px solid #1b1f25; min-width: 0; }
.lp-term-stats > div:last-child { border-right: 0; }
.lp-term-stats span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--dim); }
.lp-term-stats b { display: block; font-size: 18px; font-weight: 800; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-bar { height: 3px; background: rgba(255, 255, 255, 0.07); margin-top: 8px; border-radius: 2px; overflow: hidden; }
.lp-bar i { display: block; height: 100%; background: var(--up); transition: width 1s linear; }
.lp-bar.hot i { background: var(--down); }
.lp-locked b { filter: blur(6px); user-select: none; color: var(--soft); }
.lp-locked a { display: inline-block; margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--brand-2); text-decoration: none; }
.lp-term-strip { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid #1b1f25; font-size: 12px; }
.lp-term-strip .strip { flex: 1; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.lp-term-strip .strip span { aspect-ratio: auto; height: 20px; border-radius: 4px; font-size: 10px; }

.lp-kicker { font: 700 11.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-2); }
.lp-score { margin-top: 8px; padding: 26px; border-radius: 8px; border: 1px solid #21252b; background: linear-gradient(180deg, #10141a, #0b0f15); }
.lp-score-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 28px; flex-wrap: wrap; margin-bottom: 18px; }
.lp-score-head h2 { font-size: 28px; letter-spacing: -0.035em; margin-top: 6px; font-weight: 750; }
.lp-score-head p { color: var(--muted); max-width: 520px; margin: 0; font-size: 14.5px; }
.lp-score-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #21252b; border: 1px solid #21252b; border-radius: 6px; overflow: hidden; }
.lp-score-grid > div { background: #0a0e14; padding: 18px 20px; }
.lp-score-grid > div > span { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.lp-score-grid > div > b { display: block; font: 800 34px/1.15 var(--mono); letter-spacing: -0.03em; margin: 8px 0 4px; }
.lp-score-grid em { font-style: normal; font-size: 12.5px; color: var(--dim); }
.lp-score-link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--brand-2); text-decoration: none; }
.lp-score-link:hover { text-decoration: underline; }

.lp-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: 40px 0; border-top: 1px solid #171b21; }
.section-head + .lp-feat { border-top: 0; padding-top: 8px; }
.lp-feat.flip .lp-feat-copy { order: 2; }
.lp-feat h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.035em; margin: 12px 0; font-weight: 750; }
.lp-feat-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.7; margin: 0 0 18px; }
.lp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-checks li { position: relative; padding-left: 28px; color: var(--soft); font-size: 15px; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px; background: var(--up-soft); border: 1px solid var(--up-line); }
.lp-checks li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--up); border-bottom: 2px solid var(--up); transform: rotate(-45deg); }
.lp-mock { position: relative; padding: 24px; border-radius: 8px; border: 1px solid #25292f; background: #090d13; box-shadow: 0 34px 80px -46px rgba(0, 0, 0, 0.95); }
.lp-example { position: absolute; top: -10px; right: 16px; font: 700 10px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: #14181e; border: 1px solid #282c32; padding: 3px 8px; border-radius: 5px; }
.lp-example.is-live { color: var(--up); border-color: var(--up-line); }
.lp-mc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lp-mc-label { font: 700 11px var(--mono); letter-spacing: 0.12em; color: var(--muted); }
.lp-mc-q { margin: 16px 0 4px; color: var(--soft); font-size: 14.5px; }
.lp-mc-dir { display: flex; align-items: baseline; gap: 10px; font-size: 58px; font-weight: 800; letter-spacing: -0.028em; line-height: 1.05; }
.lp-mc-dir.up { color: var(--up); }
.lp-mc-dir span { font-size: 0.6em; }
.lp-mc-dir small { font: 800 26px var(--mono); color: var(--text); margin-left: 6px; letter-spacing: -0.02em; }
.lp-mc-likely { color: var(--muted); font-size: 13.5px; margin: 2px 0 16px; }
.lp-mc-say { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 6px; background: var(--up-soft); border: 1px solid var(--up-line); }
.lp-mc-say p { margin: 0; font-size: 14.5px; color: var(--soft); }
.lp-mock-pay { display: grid; gap: 20px; }
.lp-mp-top { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--soft); }
.lp-mp-top .pay-state { margin-left: auto; }
.lp-mp-top .pay-side.up { color: var(--up); }
.lp-mp-top .pay-side.down { color: var(--down); }
.lp-mp-ladder { position: relative; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.05); margin: 12px 0 8px; }
.lp-mp-ladder i { position: absolute; top: 0; bottom: 0; }
.lp-mp-ladder i.good { left: 0; background: rgba(14, 203, 129, 0.55); border-radius: 5px 0 0 5px; }
.lp-mp-ladder i.thin { background: rgba(240, 185, 11, 0.5); }
.lp-mp-ladder i.over { background: rgba(246, 70, 93, 0.42); border-radius: 0 5px 5px 0; }
.lp-mp-ladder b { position: absolute; top: -4px; width: 3px; height: 18px; background: #fff; border-radius: 2px; transform: translateX(-1px); box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); }
.lp-mp-sub { font-size: 13px; color: var(--muted); }
.lp-mf-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lp-mf-big b { font: 800 50px var(--mono); color: var(--warn); letter-spacing: -0.03em; line-height: 1; }
.lp-mf-big span { color: var(--muted); }
.lp-mf-meter { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); margin: 14px 0 16px; overflow: hidden; }
.lp-mf-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--up), var(--warn)); }
.lp-mock-flip .alerts { margin-top: 14px; }
.lp-mock .rec-bar { grid-template-columns: 150px minmax(0, 1fr) 92px; }
.lp-mock .rec-coin-key { margin-left: 164px; }
.lp-ladder-h { margin: 0 0 12px; font-size: 14px; }
.lp-tabs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 44px; }
.lp-tabs span:not(.dim) { padding: 7px 14px; border-radius: 6px; border: 1px solid #24282e; background: #0d1117; font-size: 13.5px; font-weight: 600; color: var(--soft); }
.lp-tabs .beta i { font: 700 9.5px var(--mono); font-style: normal; color: var(--brand-2); text-transform: uppercase; margin-left: 4px; }

.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-steps > div { position: relative; padding: 26px; border-radius: 8px; border: 1px solid #20242a; background: #0d1117; }
.lp-step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; font: 800 15px var(--mono); color: #fff; background: var(--brand); box-shadow: 0 0 0 6px rgba(47, 129, 247, 0.14); margin-bottom: 18px; }
.lp-steps h3 { font-size: 18px; margin-bottom: 8px; }
.lp-steps p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.65; }
.lp-honest { margin-top: 18px; padding: 18px 22px; border-radius: 8px; border: 1px solid var(--warn-line); background: var(--warn-soft); display: flex; gap: 8px 16px; align-items: baseline; flex-wrap: wrap; }
.lp-honest b { color: var(--warn); white-space: nowrap; }
.lp-honest p { margin: 0; color: var(--soft); font-size: 15px; flex: 1; min-width: 260px; }

.lp-faq { max-width: 1080px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

.lp-foot { padding: 52px 0 40px; }
.lp-foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.lp-foot-brand p { color: var(--muted); max-width: 320px; margin: 12px 0 0; font-size: 14px; }
.lp-foot-grid h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--soft); margin: 0 0 12px; }
.lp-foot-grid > div:not(.lp-foot-brand) { display: flex; flex-direction: column; gap: 9px; }
.lp-foot-grid a { color: var(--muted); text-decoration: none; font-size: 14px; }
.lp-foot-grid a:hover { color: var(--text); }
.lp-foot-fine { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.lp-foot-fine p { margin: 0; font-size: 12.5px; color: var(--dim); line-height: 1.65; max-width: 900px; }

@media (max-width: 980px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 44px; gap: 36px; }
  .lp-feat { grid-template-columns: 1fr; gap: 28px; }
  .lp-feat.flip .lp-feat-copy { order: 0; }
  .lp-score-grid { grid-template-columns: 1fr 1fr; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-faq { grid-template-columns: 1fr; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lp-hero { padding: 32px 20px 28px; }
  .lp-term-src { display: none; }
  .lp-term-top { gap: 8px; white-space: nowrap; overflow: hidden; }
  .lp-term-chart { height: 250px; }
  .lp-term-stats { grid-template-columns: 1fr 1fr; }
  .lp-term-stats > div:nth-child(2) { border-right: 0; }
  .lp-term-stats > div:nth-child(n+3) { border-top: 1px solid #1b1f25; }
  .lp-score { padding: 18px; }
  .lp-score-grid > div > b { font-size: 26px; }
  .lp-mock { padding: 18px; }
  .lp-mc-dir { font-size: 46px; }
  .lp-mock .rec-bar { grid-template-columns: 1fr 80px; }
  .lp-mock .rec-coin-key { margin-left: 0; }
  .lp-foot { padding: 40px 0 32px; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .lp-foot-brand { grid-column: 1 / -1; }
}

/* Main page: "Inside a window" timeline (follows the live window) */
.lp-tl-sec { padding-bottom: 30px; }
.lp-tl { padding: 26px 26px 24px; border-radius: 10px; background: radial-gradient(700px 200px at 50% 0%, rgba(47, 129, 247, 0.1), transparent 70%), var(--card); border: 1px solid var(--line); }
.lp-tl-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.lp-tl-live { display: inline-flex; align-items: center; gap: 9px; font: 700 12px var(--mono); letter-spacing: 0.02em; color: var(--soft); }
.lp-tl-live i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 2s infinite; }
.lp-tl-track { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); }
.lp-tl-final { position: absolute; top: 0; bottom: 0; left: 93.333%; right: 0; border-radius: 0 99px 99px 0; background: repeating-linear-gradient(45deg, rgba(240, 185, 11, 0.45) 0 4px, rgba(240, 185, 11, 0.14) 4px 8px); }
.lp-tl-fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 99px; background: var(--brand-grad); box-shadow: 0 0 14px rgba(47, 129, 247, 0.6); transition: width 1s linear; }
.lp-tl-head { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(47, 129, 247, 0.45), 0 0 22px rgba(121, 176, 255, 0.85); transition: left 1s linear; }
.lp-tl-ticks { position: relative; height: 18px; margin-top: 10px; font: 600 11px var(--mono); color: var(--dim); }
.lp-tl-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.lp-tl-ticks span:first-child { transform: none; }
.lp-tl-ticks span:last-child { transform: translateX(-100%); }
.lp-tl-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lp-tl-steps li { padding: 14px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); transition: border-color 0.4s, background 0.4s, box-shadow 0.4s; }
.lp-tl-steps li.done { border-color: rgba(47, 129, 247, 0.3); }
.lp-tl-steps li.now { background: var(--brand-soft); border-color: var(--brand); box-shadow: 0 14px 34px -20px rgba(47, 129, 247, 0.95); }
.lp-tl-steps em { display: block; margin-bottom: 6px; font: 750 11.5px var(--mono); font-style: normal; color: var(--brand-2); }
.lp-tl-steps li.any em { color: var(--up); }
.lp-tl-steps b { display: block; margin-bottom: 4px; font-size: 14.5px; line-height: 1.3; }
.lp-tl-steps p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1000px) { .lp-tl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lp-tl { padding: 18px; } .lp-tl-steps { grid-template-columns: 1fr 1fr; } .lp-tl-top { flex-direction: column; align-items: flex-start; gap: 4px; } .lp-tl-ticks span:nth-child(4) { display: none; } }

/* ══════════════════════════ Pro trading theme (final layer: wins over everything above) ══════════════════════════ */
:root {
  --bg: #0b0e13;
  --card: #13171e;
  --card-2: #1a1f27;
  --inset: #0e1217;
  --line: #232a33;
  --line-2: #2f3742;
  --text: #eaedf2;
  --soft: #c3c9d2;
  --muted: #8a93a0;
  --dim: #5f6875;
  --brand: #2f81f7;
  --brand-2: #6aa6ff;
  --brand-soft: rgba(47, 129, 247, 0.12);
  --brand-line: rgba(47, 129, 247, 0.45);
  --brand-grad: linear-gradient(180deg, #3a8cff 0%, #2a74e8 100%);
}
/* flat background: no colored haze, no grid */
body::before { background: none; }
body.app, body.site { background: var(--bg); }
.aurora { display: none; }
.topbar, .app .topbar, body.site .topbar { background: rgba(11, 14, 19, 0.94); border-bottom: 1px solid var(--line); }
.tape { background: #090c10; }
.tape::before { background: linear-gradient(90deg, #090c10, transparent); }
.tape::after { background: linear-gradient(-90deg, #090c10, transparent); }
/* panels: one surface color, hairline borders, small corners, no inner glow */
.card, .app .card, body.site .card { background: var(--card); border-color: var(--line); box-shadow: none; }
.app .card, body.site .card { border-radius: 8px; }
.app .sb-item { background: var(--card); }
.call::after { opacity: 0.55; }
/* buttons: solid, no glow, no bounce */
.btn, body.site .btn { border-radius: 6px; background: var(--brand); box-shadow: none; font-weight: 650; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn:hover, body.site .btn:hover { background: #4690ff; box-shadow: none; transform: none; }
.btn.lg, .btn.sm, body.site .btn.lg, body.site .btn.sm { border-radius: 6px; }
.btn.ghost, body.site .btn.ghost { background: transparent; border-color: var(--line-2); color: var(--soft); }
.btn.ghost:hover, body.site .btn.ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
input, select, textarea { border-radius: 6px; }
.seg { border-radius: 6px; }
.seg button { border-radius: 4px; }
/* tags and badges: squared, terminal-style */
.chip, .pill, .lockbadge, .pay-state, .live, .eyebrow, .beta, .tag { border-radius: 4px; }
.lockbadge { font-size: 11.5px; }
/* headlines: crisp and confident, not shouty */
.grad-text, body.site .grad-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--brand-2); }
.hero h1, .lp-hero h1 { font-weight: 800; letter-spacing: -0.03em; }
.section-head h2, .cta-band h2 { font-weight: 750; letter-spacing: -0.025em; }
.auth-side h2 { font-weight: 800; letter-spacing: -0.03em; }
/* tabs: active tab in the accent color with a neutral surface */
.tabs button.on, .tabs .tab-link.on { color: var(--text); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -2px 0 var(--brand); }
/* quieter decorative shadows */
.plan.hl { box-shadow: 0 30px 70px -50px rgba(47, 129, 247, 0.6); }
.auth { box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.9); }
.acct-avatar { box-shadow: none; }
.app .card.acct-hero { background: linear-gradient(180deg, rgba(47, 129, 247, 0.07), transparent 70%), var(--card); }

/* Published call (Prediction Stability & Confirmation Engine) */
.call.t-neutral { --glow: rgba(138, 147, 160, 0.06); }
.call-dir.neutral .arr { font-size: 0.5em; opacity: 0.8; }
.pub-line { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 2px; font-size: 12.5px; color: var(--muted); }
.pub-line b { color: var(--soft); font-weight: 650; font-family: var(--mono); }
.pub-pending { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 7px 10px; border-radius: 6px; font-size: 12.5px; color: var(--soft); background: var(--warn-soft); border: 1px solid var(--warn-line); }
.pub-pending i { flex: none; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--warn); border-right-color: transparent; animation: spin 1s linear infinite; }
.pub-pending b.up { color: var(--up); } .pub-pending b.down { color: var(--down); }
.pub-warn { margin: 8px 0 0; padding: 7px 10px; border-radius: 6px; font-size: 12.5px; color: var(--down); background: var(--down-soft); border: 1px solid var(--down-line); }
.pub-rule { margin: 8px 0 4px; font-size: 11px; color: var(--dim); }
@keyframes spin { to { transform: rotate(360deg); } }
.pred-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pred-sum > div { padding: 12px 14px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.pred-sum span { display: block; font-size: 12px; font-weight: 650; color: var(--muted); }
.pred-sum b { font: 750 20px var(--mono); letter-spacing: -0.02em; }
.pred-sum em { display: block; font-style: normal; font-size: 11.5px; color: var(--dim); }
.pred-table td.mono { font-size: 11px; }
@media (max-width: 900px) { .pred-sum { grid-template-columns: 1fr 1fr; } }

/* Native form controls (dropdown menus, number spinners) follow the dark theme in every browser */
:root { color-scheme: dark; }
select option { background: var(--card); color: var(--text); }

/* Members page: access length picker, created codes */
.code-form { display: grid; gap: 14px; }
.code-form-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; align-items: end; }
.code-form-row .agree { margin: 0 0 10px; }
.len-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.len-chips button { font: 600 13px var(--font); color: var(--soft); background: var(--inset); border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 11px; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.len-chips button:hover { color: var(--text); border-color: var(--brand-line); }
.len-chips button.on { color: #fff; background: var(--brand-soft); border-color: var(--brand); }
.len-custom { display: flex; gap: 8px; margin-top: 8px; max-width: 280px; }
.len-custom input { width: 110px; }
.code-list { display: grid; gap: 4px; margin: 10px 0; max-height: 260px; overflow: auto; }
.code-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; border-radius: 6px; background: var(--inset); border: 1px solid var(--line); font-size: 15px; letter-spacing: 0.06em; }
.code-list em { font: 500 12px var(--font); font-style: normal; letter-spacing: 0; color: var(--muted); }
@media (max-width: 560px) { .code-form-row { grid-template-columns: 1fr; } }

/* Main page: reviews (always shown) + write a review */
.rev-wrap:has(.rev-empty) { grid-template-columns: 1fr; }
.rev-empty { display: grid; gap: 4px; text-align: center; padding: 10px 0; }
.rev-empty b { font-size: 17px; }
.rev-empty span { color: var(--muted); font-size: 14px; }
.rev-write { max-width: 720px; margin: 22px auto 0; }
.rev-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.rev-cta b { display: block; font-size: 15px; }
.rev-cta span { color: var(--muted); font-size: 13.5px; }
.rev-form { display: grid; gap: 10px; padding: 18px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.rev-form-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.rev-form-head > b { font-size: 16px; }
.rev-form-head span { font-size: 13px; color: var(--muted); }

/* Sign-up step 2: enter the emailed code */
.v-icon { width: 52px; height: 52px; margin: 4px auto 4px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; color: var(--brand-2); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.auth input.v-code { font: 700 26px var(--mono); letter-spacing: 0.45em; text-align: center; padding: 12px 10px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-2); cursor: pointer; text-decoration: underline; }
.linkish:hover { color: var(--text); }
.err.ok { color: var(--up); }
/* Members page: two small actions side by side */
.row-acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }

/* Members page: email sending setup */
.mail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.mail-host { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 10px; }
.mail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mail-help { padding: 14px 16px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.mail-help h3 { font-size: 14px; margin: 0 0 8px; }
.mail-help ol { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; color: var(--soft); }
@media (max-width: 860px) { .mail-grid { grid-template-columns: 1fr; } }

/* Members page: Discord #bot-updates */
.dc-post { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.dc-post h3, .dc-box h3 { font-size: 14px; margin: 0; }
.dc-box { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); border-left: 3px solid var(--up, #0ecb81); }
.dc-box p { margin: 6px 0 0; font-size: 13.5px; color: var(--soft); white-space: pre-line; }
.dc-log { margin-top: 14px; }
.dc-log .r span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* "Check your spam" note on the email code steps */
.spam-note { margin: 10px 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.5; text-align: left; color: var(--soft); background: var(--warn-soft); border: 1px solid var(--warn-line); }
.spam-note b { color: var(--text); }
.spam-note.big { font-size: 13.5px; padding: 12px 14px; border-width: 1.5px; }
.spam-note.big > b:first-child { display: block; font-size: 15px; margin-bottom: 3px; color: var(--warn); }

/* Automatic free trial: the note on the sign-up form, and the small line under the plan's trial button */
.trial-note { margin: 4px 0 6px; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.5; color: var(--soft); background: var(--up-soft); border: 1px solid var(--up-line); }
.trial-note b { color: var(--up); }
.plan .plan-note { margin: -8px 0 0; text-align: center; line-height: 1.45; }

/* Learn guide: section groups in the contents list, one-line summaries, fold-out extras */
.toc-h { padding: 16px 12px 4px; font-size: 11.5px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toc-h:first-child { padding-top: 0; }
@media (min-width: 901px) { .learn .toc { max-height: calc(100vh - 104px); overflow-y: auto; scrollbar-width: thin; } .learn .toc a { padding: 5px 12px; } .learn .toc-h { padding-top: 12px; } }
@media (max-width: 900px) { .legal { padding-left: 20px; padding-right: 20px; } .learn { grid-template-columns: minmax(0, 1fr); padding-left: 20px; padding-right: 20px; } .learn .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .learn .toc a { white-space: normal; } .toc-h { grid-column: 1 / -1; } }
/* phones: wide tables scroll sideways inside their box instead of widening the whole page */
@media (max-width: 600px) { .article table { display: block; max-width: 100%; overflow-x: auto; } .article th, .article td { padding: 10px 11px; font-size: 14px; } }
.article .guide-meta { margin: -4px 0 0; font-size: 14px; color: var(--muted); }
.article .tldr { margin: 0 0 16px; padding: 4px 0 4px 14px; border-left: 3px solid var(--brand); color: var(--text); font-weight: 600; }
.article details { margin: 20px 0; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.article details[open] { padding-bottom: 6px; }
.article summary { padding: 13px 0; cursor: pointer; font-weight: 700; color: var(--soft); }
.article td.num, .article th.num { text-align: right; font-variant-numeric: tabular-nums; }
.article tr.mid td { padding: 6px 15px; font-size: 13px; color: var(--muted); text-align: center; }
.article .guide-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Dashboard market switch: 5-minute, 15-minute and 1-hour Polymarket markets (each its own page state) */
.mktswitch { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 16px; }
.mktswitch .mkt-label { font-size: 11.5px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mkt-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 6px; background: var(--inset); border: 1px solid var(--line); }
.mkt-seg a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 4px; font: 650 13px var(--font); color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.mkt-seg a:hover { color: var(--text); }
.mkt-seg a.on { color: #fff; background: var(--brand); }
.mkt-seg a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mkt-seg .new { font-style: normal; font-size: 9.5px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--up); }
.mkt-seg a.on .new { color: #fff; opacity: 0.8; }
.mktswitch .mkt-note { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .mktswitch .mkt-note { display: none; } .mkt-seg a { padding: 6px 11px; } }
/* Track record page: same switch */
.rec-mkts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 18px; }

/* Engine version next to the logo (site-common.js) */
.brand .eng-ver { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--brand-line); background: var(--brand-soft); font: 600 10.5px var(--mono); letter-spacing: 0.06em; color: var(--muted); white-space: nowrap; line-height: 1.2; }
.brand .eng-ver b { font-weight: 750; color: var(--brand-2); }
.brand .eng-ver i { font-style: normal; color: var(--text); }
@media (max-width: 440px) { .brand .eng-ver { padding: 2px 6px; font-size: 9.5px; } .brand .eng-ver b { display: none; } }
/* ───────── Engine 3.0 ───────── */
/* Setup grade + invalidation line on The Call */
.grade-row, .inval-row { display: flex; align-items: flex-start; gap: 10px; margin: -4px 0 12px; padding: 9px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.grade-row p, .inval-row p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--soft); }
.grade { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 6px; border-radius: 6px; font: 800 14px var(--mono); color: var(--text); background: var(--card-2); border: 1px solid var(--line-2); }
.grade.g-a { color: #06150f; background: var(--up); border-color: var(--up); }
.grade.g-b { color: var(--up); border-color: var(--up-line); background: var(--up-soft); }
.grade.g-c { color: var(--warn); border-color: var(--warn-line); background: var(--warn-soft); }
.grade.g-d { color: var(--down); border-color: var(--down-line); background: var(--down-soft); }
.inval-row i { flex: none; width: 18px; height: 0; margin-top: 9px; border-top: 2px dashed #b392f0; }
.risk-banner { margin-bottom: 14px; }
.risk-banner a { color: var(--brand-2); font-weight: 650; margin-left: 4px; }
.seg.seg-sm button { padding: 4px 9px; font-size: 12px; }

/* Order flow card */
.flow-split { display: flex; justify-content: space-between; font: 700 12.5px var(--mono); margin-bottom: 6px; }
.flowbar { height: 10px; margin-bottom: 14px; }
.fmeters { display: grid; gap: 7px; margin: 12px 0 4px; }
.fm { display: grid; grid-template-columns: 44px 1fr 42px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.fm b { text-align: right; font: 700 12.5px var(--mono); color: var(--soft); }
.fm-bar { position: relative; height: 8px; border-radius: 99px; background: var(--down-soft); overflow: hidden; }
.fm-bar i { position: absolute; inset: 0 auto 0 0; background: var(--up); opacity: 0.85; border-radius: 99px 0 0 99px; transition: width 0.6s var(--ease); }
.fm-bar em { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(255, 255, 255, 0.35); }
.cvd { display: block; width: 100%; height: 64px; background: var(--inset); border: 1px solid var(--line); border-radius: 6px; }
.cvd path { fill: none; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.cvd path.pos { stroke: var(--up); } .cvd path.neg { stroke: var(--down); }
.cvd .zero { stroke: rgba(255, 255, 255, 0.18); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.dbars { display: flex; align-items: flex-end; gap: 0; height: 34px; margin-top: 6px; padding: 0 1px; }
.dbars i { display: block; margin: 0 1px; border-radius: 2px 2px 0 0; min-width: 2px; }
.dbars i.up { background: var(--up); opacity: 0.75; } .dbars i.down { background: var(--down); opacity: 0.75; }
.ftape { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font: 500 12px var(--mono); }
.ftape li { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr 0.8fr; gap: 6px; padding: 5px 8px; border-radius: 5px; background: var(--inset); color: var(--soft); animation: rise 0.3s var(--ease); }
.ftape li.buy b { color: var(--up); } .ftape li.sell b { color: var(--down); }

/* Zones card */
.zlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.zn { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); border-left-width: 3px; animation: rise 0.3s var(--ease); }
.zn.supply { border-left-color: var(--down); } .zn.demand { border-left-color: var(--up); }
.zn.none { display: block; color: var(--dim); font-size: 13px; border-left-color: var(--line); }
.zn-k { font: 700 12.5px var(--font); color: var(--soft); } .zn.supply .zn-k { color: #f6828f; } .zn.demand .zn-k { color: #4fdca6; }
.zn-k i { font-style: normal; font: 600 11px var(--mono); color: var(--muted); margin-left: 4px; }
.zn b { font: 700 13px var(--mono); text-align: right; }
.zn em { font-style: normal; font-size: 12px; color: var(--muted); }
.zn small { font-size: 12px; color: var(--muted); text-align: right; }
.zn-now { display: flex; justify-content: space-between; padding: 6px 12px; border-radius: 6px; border: 1px dashed var(--brand-line); font-size: 12.5px; color: var(--brand-2); }
.zn-now b { font-family: var(--mono); }
.klist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.klist li { display: flex; justify-content: space-between; font-size: 13px; color: var(--soft); padding: 4px 2px; border-bottom: 1px solid var(--line); }
.klist b { font-family: var(--mono); }
.zrec { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); font-size: 12.5px; color: var(--soft); }
.zrec p { margin: 4px 0 0; }

/* What changed feed */
.evlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; max-height: 360px; overflow: auto; }
.evlist li { display: grid; grid-template-columns: 22px 78px 1fr; align-items: baseline; gap: 6px; padding: 7px 10px; border-radius: 6px; background: var(--inset); font-size: 13px; color: var(--soft); animation: rise 0.3s var(--ease); }
.ev-t { font: 500 11.5px var(--mono); color: var(--muted); }
.ev-x b.up { color: var(--up); } .ev-x b.down { color: var(--down); }

/* Chart screenshot reading */
.img-read { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 4px; }
.img-read .note { margin: 0; font-size: 12.5px; }
.mind-thumb { display: block; max-width: 220px; max-height: 140px; margin-top: 8px; border-radius: 6px; border: 1px solid var(--line); }
.museum-link { display: grid; gap: 6px; text-decoration: none; color: var(--soft); }
.museum-link:hover { border-color: var(--brand-line); }
.museum-link b { color: var(--text); font-size: 16px; }
.museum-link span { font-size: 14px; color: var(--muted); }
.brand a.eng-ver, a.eng-ver { text-decoration: none; }
a.eng-ver:hover { border-color: var(--brand); }

/* Candle library page */
.lib-wrap { max-width: 1180px; margin: 0 auto; padding: 28px 24px 60px; }
.lib-hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 10px; letter-spacing: -0.02em; }
.lib-hero p { max-width: 760px; color: var(--soft); font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.lib-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 12px 0; margin: 10px 0 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
.lib-bar input { flex: 1 1 220px; min-width: 180px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--inset); color: var(--text); font: 500 14px var(--font); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: 600 12.5px var(--font); color: var(--muted); background: var(--inset); border: 1px solid var(--line); padding: 6px 11px; border-radius: 99px; cursor: pointer; }
.chips button.on { color: #fff; background: var(--brand); border-color: var(--brand); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pcard { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.pcard h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pcard .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pcard .tags i { font-style: normal; font: 600 11px var(--mono); color: var(--muted); padding: 2px 7px; border-radius: 4px; background: var(--inset); border: 1px solid var(--line); }
.pcard p { margin: 0; font-size: 14px; color: var(--soft); line-height: 1.55; }
.pcard .confirm { font-size: 13px; color: var(--muted); }
.pcard svg.ex { width: 100%; height: 96px; background: var(--inset); border: 1px solid var(--line); border-radius: 8px; }
.pcard .ex-none { display: grid; place-items: center; height: 96px; border-radius: 8px; border: 1px dashed var(--line-2); color: var(--dim); font-size: 13px; text-align: center; padding: 0 12px; }
.pstat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pstat div { padding: 7px 8px; border-radius: 6px; background: var(--inset); border: 1px solid var(--line); }
.pstat span { display: block; font-size: 11px; color: var(--muted); }
.pstat b { font: 700 14px var(--mono); }
.pcard .verdict { font-size: 13px; color: var(--muted); }
.lib-sec { margin: 44px 0 0; }
.lib-sec h2 { font-size: 24px; margin: 0 0 8px; }
.lib-sec > p { color: var(--soft); max-width: 820px; line-height: 1.6; }
.vocab { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.vocab div { padding: 12px 14px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.vocab b { display: block; margin-bottom: 4px; color: var(--text); }
.vocab span { font-size: 13.5px; color: var(--soft); line-height: 1.5; }
.anatomy { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 20px; align-items: center; padding: 18px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
@media (max-width: 700px) { .anatomy { grid-template-columns: 1fr; } .lib-wrap { padding: 20px 16px 50px; } }
.ztable td, .ztable th { font-size: 13.5px; }

/* Engine museum page */
.mus-eng { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 18px 0 8px; }
.mus-card { padding: 18px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.mus-card.current { border-color: var(--brand-line); box-shadow: 0 0 0 1px var(--brand-line) inset; }
.mus-card h3 { margin: 0 0 4px; display: flex; align-items: baseline; gap: 8px; }
.mus-card h3 b { font: 800 22px var(--mono); color: var(--brand-2); }
.mus-card .when { font-size: 12.5px; color: var(--muted); }
.mus-card p { font-size: 14px; color: var(--soft); line-height: 1.55; margin: 8px 0 0; }

/* My page: risk limits and coach */
.risk-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.risk-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.risk-form .wide { grid-column: 1 / -1; }
.risk-form textarea { min-height: 70px; resize: vertical; }
.mk-checks { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--soft); }
.coach-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.coach-list li { padding: 10px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.coach-list li.warn { border-color: var(--warn-line); background: var(--warn-soft); }
.coach-list li.good { border-color: var(--up-line); background: var(--up-soft); }

/* Learn: progress */
.learn-progress { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.learn-progress .lp-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--inset); overflow: hidden; }
.learn-progress .lp-bar i { display: block; height: 100%; background: var(--brand-grad); border-radius: 99px; transition: width 0.5s var(--ease); }
.learn-progress b { white-space: nowrap; }
.mark-read { margin-top: 18px; }
.mark-read.done { color: var(--up); border-color: var(--up-line); }
.lib-bar select { width: auto; flex: none; padding: 9px 12px; }
#patternCard table td, #patternCard table th { white-space: nowrap; }

/* ── Engine 3.1: reliability, market regime, signal check ── */
.rel-row { display: flex; align-items: flex-start; gap: 10px; margin: -4px 0 12px; padding: 9px 12px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); }
.rel-row p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--soft); }
.rel-badge { flex: none; font-size: 11.5px; font-weight: 750; letter-spacing: 0.02em; padding: 3px 8px; border-radius: 6px; white-space: nowrap; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.rel-high .rel-badge, .rel-good .rel-badge { color: var(--up); background: var(--up-soft); border-color: var(--up-line); }
.rel-moderate .rel-badge { color: var(--warn); background: var(--warn-soft); border-color: var(--warn-line); }
.rel-low .rel-badge, .rel-limited .rel-badge { color: var(--down); background: var(--down-soft); border-color: var(--down-line); }
.rel-row .warn-t { color: var(--warn); }
.sig-chip { display: inline-block; margin-top: 2px; font-size: 11.5px; font-weight: 650; padding: 1px 8px; border-radius: 99px; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); white-space: nowrap; }
.sig-chip.ok { color: var(--up); border-color: var(--up-line); }
.sig-chip.bad { color: var(--down); border-color: var(--down-line); }
#regimeCard td.small, .ztable td.small { white-space: normal; min-width: 180px; text-align: left; }
@media (max-width: 560px) { .rel-row { flex-direction: column; gap: 6px; } }

/* ── Supply & demand map (headline feature on The Call) ── */
.zmap { margin-bottom: 18px; }
.zmap h2 { display: flex; align-items: center; gap: 10px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--up); padding: 2px 8px; border-radius: 99px; background: var(--up-soft); }
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 2s infinite; }
.zmap-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.zladder { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.zr { display: grid; grid-template-columns: 92px minmax(0, 1.4fr) 90px minmax(0, 1.2fr) 150px; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; background: var(--inset); border: 1px solid var(--line); }
.zr.supply { border-left: 3px solid var(--down); }
.zr.demand { border-left: 3px solid var(--up); }
.zr.inside { background: linear-gradient(90deg, rgba(240, 185, 11, 0.12), var(--inset) 70%); border-color: var(--warn-line); }
.zr.now { background: rgba(47, 129, 247, 0.1); border: 1px solid rgba(47, 129, 247, 0.55); }
.zr.none { display: block; color: var(--muted); font-size: 13px; }
.zr-side { font-size: 12.5px; font-weight: 750; }
.zr.supply .zr-side { color: var(--down); }
.zr.demand .zr-side { color: var(--up); }
.zr.now .zr-side { color: #79b8ff; }
.zr-range b { display: block; font-size: 14.5px; }
.zr-range em, .zr-dist em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.zr-str { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.zr-str span { display: block; height: 100%; background: var(--brand-grad); border-radius: 99px; }
.zr-dist { font-size: 13.5px; }
.zr-flag { text-align: right; }
.zf { display: inline-block; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.zf.in { color: #1a1300; background: var(--warn); }
.zf.close { color: var(--warn); border: 1px solid var(--warn-line); }
.zf.reach { color: var(--muted); border: 1px solid var(--line); font-weight: 650; letter-spacing: 0; }
.zplay h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 6px; }
.zplay h3:not(:first-child) { margin-top: 16px; }
.zplay p { margin: 0 0 6px; font-size: 14px; line-height: 1.55; }
.zrec-list { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 1.7; }
@media (max-width: 980px) { .zmap-grid { grid-template-columns: 1fr; } }
.zmap .card-head { flex-wrap: wrap; gap: 10px; }
.zmap [data-overlays] button { white-space: nowrap; }
@media (max-width: 620px) {
  .zr { grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 6px; padding: 9px 10px; }
  .zr-side, .zr-range { grid-row: 1; }
  .zr-dist { grid-row: 1; grid-column: 3; text-align: right; }
  .zr-str { grid-row: 2; grid-column: 1 / -1; }
  .zr-flag { grid-row: 3; grid-column: 1 / -1; text-align: left; }
  .zr-flag:empty { display: none; }
  .zr.now .zr-str, .zr.now .zr-flag { display: none; }
  .zr-range b { font-size: 13.5px; }
}

/* ── Windows won: one result per window, all three markets ── */
.rec-wins { margin-bottom: 18px; }
.rec-wins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 8px; }
.rec-wins-grid > div { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 10px; background: var(--inset); border: 1px solid var(--line); }
.rec-wins-grid > div.cur { border-color: rgba(47, 129, 247, 0.65); box-shadow: 0 0 0 1px rgba(47, 129, 247, 0.25) inset; }
.rec-wins-grid span { font-size: 13px; color: var(--muted); font-weight: 600; }
.rec-wins-grid .wl { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.rec-wins-grid em { font-style: normal; font-size: 12.5px; color: var(--muted); }
@media (max-width: 560px) { .rec-wins-grid { grid-template-columns: 1fr; } }

/* ── Engine 4.0: the real settlement line vs Polymarket's number ── */
.mkt-ptb { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 1px; white-space: nowrap; }
.ptb-note { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
