:root {
  --paper: #F7F7F5;
  --surface: #FFFFFF;
  --surface-2: #EFEFEC;
  --ink: #0A0A0A;
  --ink-dim: #555555;
  --ink-faint: #666666;
  --line: #DDDDD8;
  --steel: #0A0A0A;
  --on-steel: #FFFFFF;
  --steel-soft: #EAEAE6;
  --gold: #7D5A12;
  --gold-soft: #F5ECD8;
  --positive: #1E7350;
  --negative: #A73F35;
  --negative-soft: #F7E7E5;
  --on-negative: #FFFFFF;
  --shadow: 0 1px 2px rgba(10,10,10,0.04), 0 8px 24px -12px rgba(10,10,10,0.14);
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0A0A0A; --surface: #141414; --surface-2: #1C1C1C;
    --ink: #F5F5F5; --ink-dim: #A8A8A8; --ink-faint: #949494; --line: #2C2C2C;
    --steel: #F5F5F5; --on-steel: #0A0A0A; --steel-soft: #262626;
    --gold: #E0B15F; --gold-soft: #2E2717;
    --positive: #5FC493; --negative: #E0897C; --negative-soft: #2E1B18; --on-negative: #2A0F0C;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px -12px rgba(0,0,0,0.5);
  }
}
:root[data-theme="dark"] {
  --paper: #0A0A0A; --surface: #141414; --surface-2: #1C1C1C;
  --ink: #F5F5F5; --ink-dim: #A8A8A8; --ink-faint: #949494; --line: #2C2C2C;
  --steel: #F5F5F5; --on-steel: #0A0A0A; --steel-soft: #262626;
  --gold: #E0B15F; --gold-soft: #2E2717;
  --positive: #5FC493; --negative: #E0897C; --negative-soft: #2E1B18; --on-negative: #2A0F0C;
  --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px -12px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: 1080px; margin-inline: auto; padding-inline: 24px; }
.inline-link { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }

/* Header */
header { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 10; }
html { scroll-padding-top: 80px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: 0.01em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 2px; }
.nav-link { padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-dim); text-decoration: none; white-space: nowrap; }
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--ink); background: var(--steel-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.account-actions { display: flex; align-items: center; gap: 8px; }
.user-chip { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-dim); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn-primary { display: inline-block; font-weight: 600; font-size: 13px; background: var(--steel); color: var(--on-steel); padding: 9px 16px; border-radius: 100px; text-decoration: none; white-space: nowrap; border: none; cursor: pointer; }
.btn-primary:hover { opacity: 0.88; }
.btn-primary:disabled { opacity: 0.5; cursor: default; }
.btn-ghost { display: inline-block; font-weight: 600; font-size: 13px; padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-danger { display: inline-block; font-weight: 600; font-size: 13px; background: var(--negative); color: var(--on-negative); padding: 9px 16px; border-radius: 100px; border: none; cursor: pointer; }
.btn-danger:hover { opacity: 0.88; }
.btn-block { width: 100%; text-align: center; }

/* Pages */
.page { padding-block: 40px 56px; }
.eyebrow-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.sample-badge { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 100px; padding: 4px 10px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.page-sub { margin: 10px 0 0; font-size: 15px; color: var(--ink-dim); max-width: 62ch; }
.page-sub b { color: var(--ink); font-weight: 600; }
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }

.hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; max-width: 30ch; }
.lede { margin: 16px 0 0; font-size: 16.5px; color: var(--ink-dim); max-width: 56ch; }
.lede b { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.home-section { margin-top: 52px; }
.home-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.home-section-head h2 { font-size: 22px; font-weight: 700; }
.link-more { font-size: 13px; font-weight: 600; color: var(--steel); text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* Ticker */
.ticker-shell { margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--surface-2); }
.ticker-track { display: flex; gap: 28px; padding: 12px 0; width: max-content; animation: ticker 40s linear infinite; }
.ticker-shell:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-shell { overflow-x: auto; } }
.tick { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-dim); padding: 0 24px 0 0; border-right: 1px solid var(--line); }
.tick b { color: var(--ink); font-weight: 600; }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 100px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill-down { background: var(--steel-soft); color: var(--steel); }
.pill-golden { background: var(--gold-soft); color: var(--gold); }

/* Board */
.board-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.day-tabs { display: flex; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: var(--surface); width: fit-content; max-width: 100%; overflow-x: auto; }
.day-tab { padding: 7px 14px; border-radius: 7px; font-size: 13px; font-weight: 600; background: none; border: none; color: var(--ink-dim); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.day-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.day-count { font-family: var(--font-mono); font-size: 12px; opacity: 0.7; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink-dim); }
.chip[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }
.board-count { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); margin-bottom: 14px; }

.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pick-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pick-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 4px 10px; flex-wrap: wrap; }
.pick-match { font-weight: 600; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; flex: 1 1 170px; }
.pick-time { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); white-space: nowrap; margin-top: 2px; }
.pick-meta { font-size: 13px; color: var(--ink-dim); }
.pick-meta b { color: var(--ink); font-weight: 600; }
.odds-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; font-size: 13px; }
.odds-row .label { color: var(--ink-faint); white-space: nowrap; flex-shrink: 0; }
.odds-row .val { font-family: var(--font-mono); font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.odds-block { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px dashed var(--line); }
.books { display: flex; flex-direction: column; gap: 7px; }
.book-line { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; font-size: 13px; padding: 7px 10px; border-radius: 8px; background: var(--surface-2); flex-wrap: wrap; }
.book-name { font-weight: 600; }
.book-odds { font-family: var(--font-mono); }
.book-ev { display: flex; align-items: center; gap: 6px 8px; font-family: var(--font-mono); font-size: 12px; flex-wrap: wrap; }
.ev-up { color: var(--positive); font-weight: 600; }
.book-line.dropped { opacity: 0.55; }
.book-line.dropped .book-name, .book-line.dropped .book-odds { text-decoration: line-through; }
.log-btn { font: inherit; font-family: var(--font-body); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); color: var(--steel); cursor: pointer; }
.log-btn:hover { border-color: var(--steel); }
.log-btn.is-logged { color: var(--positive); border-color: transparent; background: transparent; cursor: default; }
.pick-card.is-started { opacity: 0.62; }
.pick-card.is-started .pick-match { text-decoration: line-through; }
.started-note { font-size: 12px; color: var(--ink-faint); }

.state-note { padding: 36px 0; text-align: center; color: var(--ink-faint); font-size: 14px; }
.state-note button { margin-left: 8px; }

/* Stats + charts */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-tile { background: var(--surface); padding: 20px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat-label { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.stat-value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.stat-value.positive { color: var(--positive); }
.stat-value.negative { color: var(--negative); }

.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px 24px 18px; margin-top: 24px; }
.chart-title { font-size: 15px; font-weight: 700; }
.chart-sub { font-size: 13px; color: var(--ink-dim); margin-top: 3px; max-width: 64ch; }
.plot { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 18px; height: 170px; align-items: end; border-bottom: 1px solid var(--line); margin-top: 26px; padding: 0 4px; }
.plot-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.bar-count { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-dim); }
.bar { width: 100%; max-width: 56px; border-radius: 6px 6px 0 0; background: var(--steel); }
.bar.neg { background: var(--negative); }
.axis { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 18px; padding: 8px 4px 0; }
.axis-label { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); text-align: center; }

.curve { margin-top: 16px; }
.curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.curve .grid-line { stroke: var(--line); stroke-width: 1; }
.curve .zero-line { stroke: var(--ink-faint); stroke-width: 1; stroke-dasharray: 3 3; }
.curve .curve-area { fill: var(--steel-soft); }
.curve .curve-line { fill: none; stroke: var(--steel); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.curve .curve-dot { fill: var(--steel); stroke: var(--surface); stroke-width: 2; }
.curve .axis-text { fill: var(--ink-faint); font-family: var(--font-mono); font-size: 12px; }
.curve .end-text { font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.curve .end-text.pos { fill: var(--positive); }
.curve .end-text.neg { fill: var(--negative); }

/* How it works + privacy */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-bottom: 44px; }
.step { display: flex; gap: 14px; }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--ink-faint); opacity: 0.55; line-height: 1; flex-shrink: 0; width: 34px; }
.step h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.step p { font-size: 13.5px; color: var(--ink-dim); margin: 0; }
.glossary { display: grid; grid-template-columns: 200px 1fr; gap: 0 24px; }
.g-term { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; color: var(--steel); padding: 14px 0; border-top: 1px solid var(--line); }
.g-def { font-size: 13.5px; color: var(--ink-dim); padding: 14px 0; border-top: 1px solid var(--line); }
.prose { max-width: 66ch; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 28px 0 6px; }
.prose p { margin: 0; font-size: 14.5px; color: var(--ink-dim); }
.prose b { color: var(--ink); font-weight: 600; }
.prose code { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }

/* Forms, dialog, panels */
.field { display: flex; flex-direction: column; min-width: 0; }
.field-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
.field-label .opt { text-transform: none; letter-spacing: 0; font-weight: 500; opacity: 0.8; }
.field-input { width: 100%; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; min-width: 0; }
.field-input:focus-visible { outline: 2px solid var(--steel); outline-offset: 1px; }
.form-error { margin: 0; color: var(--negative); background: var(--negative-soft); font-size: 13px; padding: 8px 10px; border-radius: 8px; }
.form-hint { margin: 0; font-size: 12.5px; color: var(--ink-faint); }
.stack-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }

dialog { border: 1px solid var(--line); border-radius: 14px; padding: 0; background: var(--surface); color: var(--ink); width: calc(100% - 32px); max-width: 400px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.dialog-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; }
.dialog-head h2 { font-size: 24px; font-weight: 800; }
.icon-btn { background: none; border: none; font-size: 16px; color: var(--ink-faint); cursor: pointer; padding: 6px; line-height: 1; border-radius: 6px; }
.icon-btn:hover { color: var(--ink); background: var(--surface-2); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.seg button { padding: 8px; border: none; border-radius: 7px; background: none; font-size: 13px; font-weight: 600; color: var(--ink-dim); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.12); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-top: 24px; }
.panel-title { font-size: 15px; font-weight: 700; }
.prompt { text-align: center; padding: 44px 22px; margin-top: 0; }
.prompt h2 { font-size: 26px; font-weight: 800; }
.prompt p { margin: 10px auto 0; max-width: 46ch; color: var(--ink-dim); font-size: 14.5px; }
.prompt-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

.bet-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 16px; align-items: end; }
@media (min-width: 640px) { .bet-form .wide { grid-column: span 2; } }
.form-wide { grid-column: 1 / -1; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.table-scroll { overflow-x: auto; margin-top: 14px; }
.ledger { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 800px; }
.ledger th { text-align: left; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ledger th.num, .ledger td.num { text-align: right; }
.ledger td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ledger td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger .nowrap { white-space: nowrap; }
.cell-main { font-weight: 600; }
.cell-sub { font-size: 12px; color: var(--ink-faint); }
.profit-pos { color: var(--positive); }
.profit-neg { color: var(--negative); }
.result-select { font: inherit; font-size: 12.5px; padding: 5px 8px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions button { background: none; border: none; font-size: 12.5px; font-weight: 600; color: var(--steel); cursor: pointer; padding: 4px 6px; }
.row-actions button:hover { text-decoration: underline; }
.row-actions button.del { color: var(--negative); }

/* On phones each bet becomes a card so Result, Profit and Edit are never off-screen. */
@media (max-width: 700px) {
  .ledger:not(.mini) { min-width: 0; }
  .ledger:not(.mini) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger:not(.mini), .ledger:not(.mini) tbody { display: block; }
  .ledger:not(.mini) tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ledger:not(.mini) td { display: block; padding: 0; border: 0; min-width: 0; background: none; }
  .ledger:not(.mini) td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; margin-bottom: 2px; }
  .ledger:not(.mini) td.num { text-align: left; }
  .ledger:not(.mini) td.full { grid-column: 1 / -1; }
  .row-actions { text-align: left; }
  .row-actions button { padding-left: 0; padding-right: 14px; }
  .mini-table { padding: 16px 14px 6px; }
  .row-2 { grid-template-columns: 1fr; }
}

.account-actions-row { margin: 14px 0 6px; }
.disclosure { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.disclosure summary { cursor: pointer; font-size: 13.5px; font-weight: 600; }
.disclosure[open] summary { margin-bottom: 2px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: 13.5px; font-weight: 500; padding: 10px 18px; border-radius: 100px; box-shadow: var(--shadow); z-index: 100; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 14px; }
.toast button { font: inherit; font-weight: 700; background: none; border: none; color: inherit; text-decoration: underline; cursor: pointer; padding: 0; white-space: nowrap; }

footer { border-top: 1px solid var(--line); padding: 32px 0 44px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-note { font-size: 12.5px; color: var(--ink-faint); max-width: 56ch; }
.footer-note b { color: var(--ink-dim); }

/* ── Header extras ─────────────────────────────────────────────────────────── */
.header-actions .icon-btn { font-size: 14px; font-weight: 700; border: 1px solid var(--line); background: var(--surface); border-radius: 100px; min-width: 34px; height: 34px; padding: 0 9px; color: var(--ink-dim); }
.header-actions .icon-btn:hover { color: var(--ink); border-color: var(--ink-faint); }

/* ── Board: filters, money, price check ────────────────────────────────────── */
.chip-settings { border-style: dashed; }
.filter-summary { font-size: 13px; color: var(--ink-dim); background: var(--steel-soft); border-radius: 8px; padding: 9px 12px; margin-bottom: 14px; display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: center; }
.filter-summary b { color: var(--ink); font-weight: 600; }
.link-btn { background: none; border: none; padding: 0; color: var(--steel); font-weight: 600; text-decoration: underline; cursor: pointer; font-size: 13px; }
.money { color: var(--ink-faint); font-size: 12px; font-family: var(--font-body); font-weight: 500; }
.log-actions { display: inline-flex; gap: 6px; flex-wrap: nowrap; }
.log-btn.is-on { background: var(--steel-soft); border-color: var(--steel); }
.log-btn:disabled { opacity: 0.5; cursor: default; }
.pricecheck { display: grid; gap: 8px; padding: 10px 12px; margin: -2px 0 2px; border-radius: 8px; background: var(--steel-soft); border: 1px solid var(--line); }
.pc-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 600; color: var(--ink-dim); }
.pc-input { width: 110px; text-align: right; padding: 6px 9px; }
.pc-out { font-size: 12.5px; line-height: 1.45; border-left: 3px solid var(--line); padding-left: 9px; color: var(--ink-dim); }
.pc-out b { color: var(--ink); }
.pc-out.ok { border-color: var(--positive); }
.pc-out.warn { border-color: var(--gold); }
.pc-out.bad { border-color: var(--negative); }
.pricecheck .log-btn { justify-self: start; }

/* ── Stats, charts, small tables ───────────────────────────────────────────── */
.stat-sub { font-size: 12px; color: var(--ink-faint); }
.stat-grid-4 { margin-top: 16px; }
@media (min-width: 720px) { .stat-grid.stat-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.chart-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 24px; }
.plot, .axis { gap: clamp(3px, 1.4vw, 18px); }
.axis-label { white-space: nowrap; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.mini-table { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 8px; min-width: 0; }
.mini-title { font-size: 15px; font-weight: 700; }
.mini-table .table-scroll { margin-top: 6px; }
.ledger.compact { min-width: 0; }
.res { font-weight: 600; text-transform: capitalize; }
.res-win { color: var(--positive); }
.res-loss { color: var(--negative); }
.res-push { color: var(--ink-faint); }
.rank { color: var(--ink-faint); }
tr.is-you td { background: var(--steel-soft); }
.record-seg { max-width: 360px; margin-bottom: 20px; }
.seg-small { grid-template-columns: repeat(3, 1fr); max-width: 420px; margin-bottom: 8px; }
.seg-small button { padding: 6px; font-size: 12.5px; }
.disclosure.standalone { margin-top: 24px; }
.how-links { margin: 0 0 32px; }
.badge { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 1px 6px; border-radius: 100px; background: var(--surface-2); color: var(--ink-faint); border: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.badge-ok { color: var(--positive); border-color: var(--positive); background: transparent; }

/* ── Insights ──────────────────────────────────────────────────────────────── */
.insight { margin-top: 18px; }
.insight-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; display: flex; gap: 4px 10px; align-items: baseline; flex-wrap: wrap; }
.verdict { font-size: 13.5px; line-height: 1.5; padding: 10px 12px; border-radius: 8px; border-left: 3px solid var(--line); background: var(--surface-2); color: var(--ink-dim); margin-top: 6px; }
.verdict b { color: var(--ink); font-weight: 600; }
.verdict.ok { border-color: var(--positive); }
.verdict.warn { border-color: var(--gold); }
.verdict.bad { border-color: var(--negative); }
.luck-track { position: relative; height: 34px; margin: 6px 0 8px; }
.luck-track::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 2px; background: var(--line); }
.luck-band { position: absolute; top: 9px; height: 16px; border-radius: 8px; background: var(--steel-soft); border: 1px solid var(--steel); }
.luck-expected { position: absolute; top: 6px; width: 2px; height: 22px; background: var(--ink-dim); transform: translateX(-1px); }
.luck-actual { position: absolute; top: 9px; width: 16px; height: 16px; border-radius: 50%; transform: translateX(-8px); background: var(--positive); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.luck-actual.warn, .lg-act.warn { background: var(--gold); }
.luck-actual.bad, .lg-act.bad { background: var(--negative); }
.luck-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--ink-dim); margin-bottom: 8px; }
.luck-legend i { display: inline-block; margin-right: 6px; vertical-align: -1px; }
.lg-band { width: 18px; height: 10px; border-radius: 5px; background: var(--steel-soft); border: 1px solid var(--steel); }
.lg-exp { width: 2px; height: 12px; background: var(--ink-dim); }
.lg-act { width: 10px; height: 10px; border-radius: 50%; background: var(--positive); }
.limit-banner { padding: 12px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; border: 1px solid var(--gold); background: var(--gold-soft); }
.limit-banner.over { border-color: var(--negative); background: var(--negative-soft); }

/* ── Share card ────────────────────────────────────────────────────────────── */
.share-controls { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.share-controls .seg { width: 300px; max-width: 100%; }
.share-preview { max-width: 340px; margin: 6px 0 16px; }
.share-preview canvas { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); display: block; }

/* ── Settings ──────────────────────────────────────────────────────────────── */
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--steel); flex-shrink: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 14px; }
#settings-dialog { max-width: 580px; }
.settings-form { display: flex; flex-direction: column; gap: 16px; max-height: min(62vh, 640px); overflow-y: auto; padding-right: 4px; }
.set-group { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 16px; margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.set-group legend { font-family: var(--font-display); font-weight: 800; font-size: 17px; padding: 0 6px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-narrow { max-width: 220px; }

/* The header only sticks when it fits on one row; below that it would cover half the screen. */
@media (max-width: 1240px) {
  header { position: static; }
  .primary-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 760px) {
  .header-row { padding: 12px 16px; }
  .wrap { padding-inline: 16px; }
  .nav-link { padding: 8px 10px; font-size: 13px; }
  .hide-sm { display: none; }
  .panel { padding: 18px; }
  .chart-card { padding: 20px 16px 14px; }
}
@media (max-width: 560px) {
  .glossary { grid-template-columns: 1fr; }
  .g-term { padding-bottom: 2px; }
  .g-def { padding-top: 0; border-top: none; }
}

/* ── Server-rendered pages (guides, value bets) ─────────────────────────────── */
.related { margin-top: 40px; }
.related-list { padding-left: 18px; margin: 0 0 8px; color: var(--ink-dim); }
.related-list li { margin: 6px 0; }
main > .prompt { margin-top: 48px; }
.table-scroll + .section-title, .state-note + .section-title { margin-top: 36px; }
.prose p + p { margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }

/* ── Freshness, bot health, odds filters, import ───────────────────────────── */
.freshness { margin: -6px 0 16px; }
.fresh-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); }
.fresh-line b { color: var(--ink); font-weight: 700; }
.fresh-dim { color: var(--ink-faint); }
.fresh-sep { color: var(--ink-faint); }
.fresh-state { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); }
.dot.ok { background: var(--positive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--positive) 22%, transparent); }
.dot.stale { background: var(--gold); }
.dot.down { background: var(--negative); }
.bot-banner { margin-top: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13px; border-left: 3px solid var(--gold); background: var(--gold-soft); }
.bot-banner.bad { border-color: var(--negative); background: var(--negative-soft); }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.import-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.file-btn { cursor: pointer; }
.import-result { margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-size: 13px; border-left: 3px solid var(--positive); background: var(--surface-2); }
.import-result.warn { border-color: var(--gold); }
.import-result.bad { border-color: var(--negative); background: var(--negative-soft); }
.import-result ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-dim); }

/* Chart columns share the width equally and never grow to fit a label (long date labels used to widen the whole page). */
.plot, .axis { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.axis-label { display: flex; justify-content: center; font-size: 12px; }

/* FAQ on the home page */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); color: var(--ink-faint); flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 10px 0 0; font-size: 14px; color: var(--ink-dim); max-width: 66ch; }
.faq-more { margin-top: 16px; }

/* +EV calculator page */
.calc-modes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
@media (max-width: 560px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }
.calc-grid .form-hint { margin-top: 5px; }
.calc-title { margin-top: 26px; }
.calc-verdict { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.calc-disclaimer { margin-top: 14px; }
.calc [hidden] { display: none !important; }
select.field-input { appearance: auto; }

.curve-note { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; }

/* ---------- motion ---------- */
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-enter { animation: page-in 0.28s ease-out both; }

/* the line draws itself, then the fill and the end marker fade in */
@keyframes curve-draw { from { stroke-dashoffset: 1; opacity: 0; } 4% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.curve.draw .curve-line { stroke-dasharray: 1; animation: curve-draw 1.1s cubic-bezier(0.3, 0.6, 0.3, 1) both; }
.curve.draw .curve-area { animation: fade-in 0.7s ease-out 0.7s both; }
.curve.draw .curve-dot, .curve.draw .end-text { animation: fade-in 0.4s ease-out 1s both; }

/* live indicator: a slow ring that spreads and fades */
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--positive) 45%, transparent); }
  70%, 100% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--positive) 0%, transparent); }
}
.dot.ok { animation: live-pulse 2.4s ease-out infinite; }

/* loading placeholders */
.skeleton-wrap { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: 10px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 7%, transparent), transparent); animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-card { height: 104px; }
.sk-row { height: 44px; border-radius: 8px; }
.sk-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .sk-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sk-tile { height: 92px; }
.sk-chart { height: 200px; }

@media (prefers-reduced-motion: reduce) {
  .page-enter, .dot.ok, .curve.draw .curve-line, .curve.draw .curve-area, .curve.draw .curve-dot, .curve.draw .end-text { animation: none; }
  .curve.draw .curve-line { stroke-dasharray: none; }
  .skeleton::after { animation: none; display: none; }
}

/* ---------- feel: nav highlight, tab bar, empty states, small interactions ---------- */
.primary-nav { position: relative; }
.nav-link { position: relative; z-index: 1; }
.nav-indicator { position: absolute; left: 0; top: 0; width: var(--w, 0); height: var(--h, 0); transform: translate(var(--x, 0), var(--y, 0)); background: var(--steel-soft); border-radius: 8px; opacity: 0; pointer-events: none; }
.nav-indicator.on { opacity: 1; }
.nav-indicator.glide { transition: transform 0.32s cubic-bezier(0.3, 0.7, 0.2, 1), width 0.32s cubic-bezier(0.3, 0.7, 0.2, 1), height 0.32s, opacity 0.2s; }
.nav-indicator.on ~ .nav-link[aria-current="page"] { background: none; }

.btn-primary, .btn-ghost, .btn-danger, .chip, .log-btn, .day-tab, .nav-link, .icon-btn { transition: transform 0.12s ease, background-color 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s; }
.btn-primary:active:not(:disabled), .btn-ghost:active, .btn-danger:active, .chip:active, .log-btn:active:not(:disabled), .day-tab:active, .icon-btn:active { transform: scale(0.96); }

.pick-card { transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s; }
@media (hover: hover) { .pick-card:not(.is-started):hover { transform: translateY(-2px); border-color: var(--ink-faint); } }
.pick-card.is-new { border-color: color-mix(in srgb, var(--positive) 55%, var(--line)); box-shadow: inset 3px 0 0 var(--positive), var(--shadow); }
.pill-new { background: color-mix(in srgb, var(--positive) 18%, transparent); color: var(--positive); vertical-align: 1px; }

@keyframes tick-pop { 0% { transform: scale(0.55); opacity: 0; } 60% { transform: scale(1.14); opacity: 1; } 100% { transform: scale(1); } }
.log-btn.pop { animation: tick-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.toast { animation: toast-in 0.25s ease-out; }

.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 40px 16px 32px; }
.empty-art { width: 60px; height: 60px; color: var(--ink-faint); margin-bottom: 8px; }
.empty-art svg { width: 100%; height: 100%; display: block; }
.empty-art .sweep { transform-origin: 32px 32px; animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.empty-title { font-size: 17px; font-weight: 700; }
.empty-body { margin: 0; font-size: 14px; color: var(--ink-dim); max-width: 46ch; }
.empty-next { margin: 10px 0 0; font-family: var(--font-mono); font-size: 13px; color: var(--ink-dim); }
.empty-next b { color: var(--ink); }
.empty-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }

.recent { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 22px; }
.recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.recent-head h4 { margin: 0; font-size: 15px; font-weight: 700; }
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.recent-main { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.recent-main b { font-weight: 600; overflow-wrap: anywhere; }
.recent-main .fresh-dim { font-size: 12.5px; overflow-wrap: anywhere; }
.recent-side { display: flex; align-items: center; gap: 12px; flex: none; font-size: 13.5px; }
.edge-up { color: var(--positive); }
.edge-down { color: var(--negative); }
.result-chip { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 100px; border: 1px solid var(--line); }
.result-chip.win { color: var(--positive); }
.result-chip.loss { color: var(--negative); }
.result-chip.push { color: var(--ink-faint); }

/* Phone tab bar: the header's link row is replaced by a bar at the bottom of the screen */
.tabbar, .more-sheet { display: none; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .primary-nav { display: none; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar::before { content: ""; position: absolute; top: -1px; left: 0; width: 20%; height: 2px; background: var(--ink); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.2, 1); }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 2px 8px; min-height: 58px; background: none; border: none; color: var(--ink-faint); font-size: 11.5px; font-weight: 600; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .tab svg { width: 23px; height: 23px; }
  .tab[aria-current="page"], .tab.is-active { color: var(--ink); }
  .tab:active { transform: scale(0.94); }
  .more-sheet { display: flex; flex-direction: column; position: fixed; left: 12px; right: 12px; bottom: calc(74px + env(safe-area-inset-bottom)); z-index: 29; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; animation: sheet-in 0.2s ease-out; }
  .more-sheet[hidden] { display: none; }
  .more-sheet a { padding: 13px 14px; border-radius: 9px; font-size: 15px; font-weight: 600; text-decoration: none; }
  .more-sheet a:active { background: var(--surface-2); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-indicator.glide, .tabbar::before, .pick-card, .log-btn.pop, .toast, .empty-art .sweep, .more-sheet { transition: none; animation: none; }
  .btn-primary:active, .btn-ghost:active, .chip:active, .tab:active { transform: none; }
  @media (hover: hover) { .pick-card:not(.is-started):hover { transform: none; } }
}

/* ---------- touch: comfortable targets ---------- */
@media (pointer: coarse), (max-width: 760px) {
  .log-btn { min-height: 36px; padding: 7px 14px; font-size: 13px; }
  .log-actions { gap: 8px; flex-wrap: wrap; }
  .chip { min-height: 38px; padding: 8px 15px; }
  .day-tab { min-height: 40px; }
  .btn-primary, .btn-ghost, .btn-danger { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .icon-btn, .header-actions .icon-btn { min-width: 40px; min-height: 40px; }
  .link-btn { padding: 10px 6px; }
  .check { min-height: 40px; }
  .check input { width: 20px; height: 20px; }
  /* 16px stops iPhones from zooming the page in when a field is tapped */
  .field-input { min-height: 44px; font-size: 16px; }
}

/* Small phones: the header stays one row (Telegram is one tap away in the More sheet and the footer). */
@media (max-width: 560px) {
  .header-actions > a.btn-primary { display: none; }
  .header-row { gap: 8px; }
  .header-actions, .account-actions { gap: 4px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 16px; }
  .user-chip { display: none; }   /* the username is on My Bets; the header keeps its buttons on one row */
}

/* ---------- line icons and the pick card ---------- */
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.14em; flex: none; }
.ico.solid { fill: currentColor; }
.pill .ico { width: 12px; height: 12px; }
.header-actions .icon-btn .ico { width: 17px; height: 17px; vertical-align: middle; }
.chip .ico { width: 13px; height: 13px; margin-right: 3px; vertical-align: -0.16em; }
.g-term .ico { width: 14px; height: 14px; margin-right: 2px; }
.started-note .ico { width: 13px; height: 13px; margin-right: 2px; }

.pick-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pick-head .pick-time { margin-top: 0; }
.sport-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.pick-title { display: flex; flex-direction: column; gap: 4px; }
.pick-match { flex: none; font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.pick-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pill-new, .pill-down, .pill-golden { padding: 3px 9px; }

.edge-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface-2); border-radius: 10px; }
.edge-main { display: flex; flex-direction: column; min-width: 0; }
.edge-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.edge-figure { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--positive); }
.edge-figure.neg { color: var(--negative); }
.edge-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; min-width: 0; font-size: 13px; }
.edge-book { font-weight: 600; overflow-wrap: anywhere; }
.edge-stake { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-dim); }
.pick-card.is-started .edge-figure { color: var(--ink-faint); }

/* ---------- linked picks, sign-up copy ---------- */
.pick-head-right { display: flex; align-items: center; gap: 2px; }
.pick-head .copy-link { min-width: 36px; min-height: 36px; margin: -8px -8px -8px 0; color: var(--ink-faint); }
.pick-head .copy-link .ico { width: 16px; height: 16px; }
.focus-pick { margin-bottom: 28px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.focus-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.focus-pick .board-grid { grid-template-columns: minmax(0, 560px); }
@keyframes focus-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.pick-card.is-focus { border-color: var(--ink); animation: focus-ring 1.4s ease-out 1; }
.auth-benefits { margin: 0; font-size: 13.5px; color: var(--ink-dim); padding: 10px 12px; background: var(--surface-2); border-radius: 8px; }
@media (max-width: 560px) { .account-actions > .btn-primary { display: none; } }
@media (prefers-reduced-motion: reduce) { .pick-card.is-focus { animation: none; } }
