/* ============================================================================
   PARLAY CREATOR — "AURORA"
   Modern product surface: neutral near-black canvas, frosted glass, soft
   depth, pill controls, and one signature gradient (emerald → teal → azure).
   Numbers are mono; everything else reads in a quiet, confident sans.
   Class names are stable across all views.
   ========================================================================== */

:root {
    /* Canvas + surfaces — neutral, blue-leaning dark */
    --bg:        #0a0b0f;
    --bg-2:      #0e0f14;
    --card:      #14151c;
    --elev:      #1b1d25;
    --glass:     rgba(255, 255, 255, 0.045);

    /* Text — neutral ink */
    --ink:       #f2f3f6;
    --ink-soft:  #b9bcc6;
    --muted:     #8a8e99;
    --faint:     #5d616b;

    /* Hairlines — neutral separators; color is reserved for meaning */
    --line:      rgba(255, 255, 255, 0.06);
    --line-2:    rgba(255, 255, 255, 0.06);
    --rule:      rgba(255, 255, 255, 0.12);

    /* Emerald brand + semantics (token names kept for stability) */
    --gold:      #2bd960;
    --gold-2:    #63f3a0;
    --gold-dk:   #0e9d47;
    --gold-grad: linear-gradient(135deg, #5cf09c 0%, #2bd960 52%, #12b054 100%);
    /* The signature gradient */
    --aurora:    linear-gradient(135deg, #34e27a 0%, #2bd0c8 48%, #5f8bff 100%);
    --on-gold:   #04160b;
    --accent:    var(--gold);
    --accent-dk: var(--gold-dk);
    --pos:       #46d6a0;
    --neg:       #ff6b6b;
    --warn:      #ffc75e;
    --ochre:     var(--warn);
    --chrome:    #e7ecf1;
    --chrome-grad: linear-gradient(135deg, #ffffff 0%, #c4ccd6 50%, #9aa4b2 100%);

    /* Back-compat aliases so inline var() in views keep working */
    --brand: var(--gold);
    --brand-strong: var(--gold-dk);
    --azure: #5f8bff;
    --paper: var(--bg);
    --paper-2: var(--bg-2);
    --text: var(--ink);
    --text-dim: var(--ink-soft);
    --text-faint: var(--muted);
    --border: var(--line);
    --border-bright: var(--rule);
    --surface: var(--bg-2);
    --bg-elev: var(--card);
    --bg-elev-2: var(--elev);

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    --shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 32px 80px -32px rgba(0, 0, 0, 0.7);
    --glow: 0 10px 34px -16px rgba(43, 217, 96, 0.35);
    --ambient: var(--shadow);
    --ambient-sm: 0 4px 16px -10px rgba(0, 0, 0, 0.5);
    --shadow-ink: rgba(0, 0, 0, 0.5);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
    --font: var(--sans);

    --maxw: 1220px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
}

/* Ambient aurora wash — replaces the old engineering grid. Fixed, quiet. */
.bg-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(1000px 560px at 82% -12%, rgba(43, 217, 96, 0.09), transparent 62%),
        radial-gradient(820px 520px at 14% -8%, rgba(43, 208, 200, 0.07), transparent 58%),
        radial-gradient(940px 620px at -10% 34%, rgba(95, 139, 255, 0.05), transparent 56%);
}

.nav, main, .footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid color-mix(in srgb, var(--gold) 70%, white 10%); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.mono, .leg__odds b, .stat-chip b, .edge, td.num, .parlay__badge { font-variant-numeric: tabular-nums; }

/* ---------- Masthead / nav — frosted app bar ---------- */
.nav {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--bg) 68%, transparent);
    backdrop-filter: blur(22px) saturate(1.7);
    -webkit-backdrop-filter: blur(22px) saturate(1.7);
    border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) { .nav { background: var(--bg); } }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand__logo { height: 32px; width: auto; flex: none; display: block; }
.brand__logo--sm { height: 22px; vertical-align: middle; }
.brand__abbr { display: none; }
.nav__links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav__link, .nav__trigger {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 15px; color: var(--ink-soft);
    font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: -0.01em;
    border-radius: var(--radius-pill); background: none; border: 1px solid transparent; cursor: pointer;
    transition: color .16s var(--ease), background .16s var(--ease);
}
.nav__link:hover, .nav__trigger:hover { color: var(--ink); background: var(--glass); }
.nav__link.is-active, .nav__trigger.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.nav__link.is-active::after { display: none; }
.nav__trigger .chev { opacity: .7; transition: transform .18s var(--ease); }
.nav__links .btn { margin-left: 8px; }

/* Dropdown groups — floating frosted sheet */
.nav__group { position: relative; }
.nav__menu {
    position: absolute; top: calc(100% + 10px); right: 0; min-width: 238px;
    background: color-mix(in srgb, var(--card) 92%, transparent);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    border: 1px solid var(--rule); border-radius: 18px;
    box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; gap: 3px;
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top right; z-index: 60;
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nav__menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; } /* hover bridge */
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.nav__group:hover .chev, .nav__group:focus-within .chev { transform: rotate(180deg); }
.nav__menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 13px; border-radius: 12px; color: var(--ink); transition: background .14s var(--ease); }
.nav__menu a:hover, .nav__menu a.is-active { background: var(--glass); }
.nav__menu-label { font-size: .92rem; font-weight: 650; letter-spacing: -0.01em; }
.nav__menu a.is-active .nav__menu-label { color: var(--gold); }
.nav__menu-desc { font-size: .74rem; color: var(--muted); }
.nav__avatar {
    width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
    border: none; background: var(--aurora); color: #071018;
    font-family: var(--sans); font-weight: 800; font-size: .74rem;
}
/* Mobile menu toggle (hamburger → X) — hidden on desktop */
.nav__toggle { display: none; margin-left: auto; width: 42px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); cursor: pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; left: 0; top: -6px; }
.nav__toggle span::after { position: absolute; left: 0; top: 6px; }
.nav[data-open="true"] .nav__toggle span { background: transparent; }
.nav[data-open="true"] .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav[data-open="true"] .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Top Picks strip ---------- */
.toppicks { position: relative; z-index: 1; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.toppicks__inner { display: flex; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.toppicks__lead { flex: none; display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toppicks__row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.toppicks__row::-webkit-scrollbar { display: none; }
.tp { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border-color .16s var(--ease), background .16s var(--ease); }
.tp:hover { border-color: var(--rule); background: var(--elev); }
.tp.is-added { border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.tp__score { min-width: 30px; height: 26px; font-size: .78rem; }
.tp__body { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.tp__sel { font-size: .8rem; font-weight: 600; }
.tp__meta { font-size: .66rem; color: var(--muted); }
.tp__odds { font-family: var(--mono); color: var(--gold); }
.tp__add { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule); background: var(--glass); color: var(--gold); font-size: 1.05rem; line-height: 1; cursor: pointer; transition: background .16s, transform .12s; }
.tp__add:hover { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; }
.tp.is-added .tp__add { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; transform: rotate(45deg); }
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Parlay slip (floating sheet) ---------- */
.slip { position: fixed; right: 18px; bottom: 18px; z-index: 120; width: 324px; max-width: calc(100vw - 24px); background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); border: 1px solid var(--rule); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.slip__head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: -0.01em; }
.slip__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: var(--radius-pill); background: var(--aurora); color: #071018; font-family: var(--sans); font-weight: 800; font-size: .72rem; }
.slip__clear { background: none; border: none; color: var(--muted); font-size: .78rem; cursor: pointer; }
.slip__clear:hover { color: var(--neg); }
.slip__legs { max-height: 42vh; overflow-y: auto; padding: 6px; }
.slip__leg { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; }
.slip__leg:hover { background: var(--glass); }
.slip__leg-sel { display: block; font-size: .82rem; font-weight: 600; }
.slip__leg-meta { display: block; font-size: .66rem; color: var(--muted); }
.slip__leg-odds { font-family: var(--mono); font-size: .82rem; color: var(--gold); }
.slip__leg-x { background: none; border: none; color: var(--muted); font-size: 1.05rem; cursor: pointer; line-height: 1; }
.slip__leg-x:hover { color: var(--neg); }
.slip__foot { padding: 13px 16px; border-top: 1px solid var(--line); }
.slip__odds-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: .85rem; }
.slip__odds-row b { font-family: var(--mono); color: var(--ink); font-size: 1rem; }
.slip__note { margin-top: 8px; font-size: .7rem; color: var(--muted); }
@media (max-width: 560px) { .slip { left: 12px; right: 12px; width: auto; bottom: 12px; } }

/* ---------- Buttons — pill, quiet, one gradient primary ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border: 1px solid var(--line); background: var(--glass); color: var(--ink);
    font-family: var(--sans); font-weight: 650; font-size: .88rem; letter-spacing: -.01em;
    border-radius: var(--radius-pill); cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s, filter .18s;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.08); }
.btn--primary { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; box-shadow: var(--glow); }
.btn--primary:hover { filter: brightness(1.06); box-shadow: 0 14px 40px -14px rgba(43, 217, 96, 0.45); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--glass); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.btn--book { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; box-shadow: var(--glow); }
.btn--book:hover { filter: brightness(1.06); }
.btn--sm { padding: 8px 16px; font-size: .8rem; }
.btn--sm:hover { transform: none; }
.btn--xs { padding: 6px 13px; font-size: .74rem; }
.btn--xs:hover { transform: none; }
.btn--block { width: 100%; }
.btn--danger { background: transparent; color: var(--neg); border-color: color-mix(in srgb, var(--neg) 40%, transparent); }
.btn--danger:hover { background: color-mix(in srgb, var(--neg) 12%, transparent); }
.btn.is-added { border-color: var(--pos); color: var(--pos); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.linkbtn:hover { opacity: .85; }

/* Per-leg single-bet grade */
.leg__grade { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: var(--radius-pill); font-family: var(--sans); font-weight: 800; font-size: .72rem; vertical-align: middle; color: #05140b; }
.leg__grade--A { background: linear-gradient(135deg, #6bf6a6, #16b85e); }
.leg__grade--B { background: linear-gradient(135deg, #9be7bf, #2bd960); }
.leg__grade--C { background: #d8be55; }
.leg__grade--D { background: #d89a55; color: #1a0f04; }
.leg__grade--F { background: #d86a6a; color: #fff; }
.leg__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.leg__gradeline { font-size: .78rem; color: var(--muted); }
.leg__gradeline b { color: var(--text); }
.leg__gradeline--A b, .leg__gradeline--B b { color: var(--pos); }
.leg__gradeline--F b { color: var(--neg); }

/* ---------- Layout / type ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 44px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--aurora); flex: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.h-hero { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.03; }
.h-section { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 750; letter-spacing: -0.032em; }
.h-sub { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.lead { font-family: var(--sans); color: var(--ink-soft); font-size: 1.1rem; max-width: 58ch; line-height: 1.65; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 52px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
.hero > div:first-child { padding-top: 6px; }
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 12px; margin-top: 44px; }
.hero__stat { flex: 1; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.hero__stat b { display: block; font-family: var(--display); font-weight: 750; font-size: 1.9rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.hero__stat span { color: var(--muted); font-size: .74rem; font-weight: 550; }
.accent { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; background: var(--glass); border: 1px solid var(--line); color: var(--ink-soft); border-radius: var(--radius-pill); font-family: var(--sans); font-size: .76rem; font-weight: 600; margin-bottom: 24px; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: livePulse 1.6s ease-in-out infinite; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--ambient-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card--pad { padding: 26px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }

/* ---------- The featured pick (parlay) ---------- */
.parlay { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.parlay:hover { transform: translateY(-2px); }
.parlay__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); color: var(--ink); }
.parlay__title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.025em; }
.parlay__badge { font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; background: var(--gold-grad); color: var(--on-gold); border: none; border-radius: var(--radius-pill); }
.parlay__meta { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.stat-chip { flex: 1; min-width: 120px; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-right: 1px solid var(--line); }
.stat-chip:last-child { border-right: none; }
.stat-chip b { font-family: var(--display); font-weight: 750; font-size: 1.55rem; letter-spacing: -0.03em; line-height: 1; }
.stat-chip span { font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.stat-chip--pos b { color: var(--pos); }
.stat-chip--brand b { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }

.legs { padding: 18px 24px 6px; display: flex; flex-direction: column; }
.leg { border-top: 1px solid var(--line); padding: 16px 0; }
.leg:first-child { border-top: none; padding-top: 4px; }
.leg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.leg__num { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--aurora); color: #071018; font-family: var(--sans); font-weight: 800; font-size: .76rem; }
.leg__body { flex: 1; }
.leg__sel { font-family: var(--sans); font-weight: 650; font-size: 1rem; letter-spacing: -0.01em; }
.leg__sub { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.leg__odds { text-align: right; flex: none; }
.leg__odds b { font-family: var(--mono); font-size: 1.08rem; font-weight: 700; color: var(--gold); }
.leg__odds span { display: block; font-size: .72rem; color: var(--muted); }
.leg__dismiss { flex: none; align-self: flex-start; width: 24px; height: 24px; margin-left: 2px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: .72rem; line-height: 1; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.leg__dismiss:hover { color: var(--neg); border-color: var(--neg); background: color-mix(in srgb, var(--neg) 10%, transparent); }

/* Stake-in-dollars bar */
.stakesizer { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stakesizer__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 0; font-size: .86rem; }
.stakesizer__lead { font-weight: 700; letter-spacing: -0.01em; }
.stakesizer__field { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.stakesizer__basis { background: var(--elev); border: 1px solid transparent; border-radius: var(--radius-pill); padding: 5px 12px; font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.stakesizer__basis:hover { border-color: color-mix(in srgb, var(--gold) 40%, transparent); color: var(--gold); }
.stakesizer__dollar { color: var(--muted); }
.stakesizer__input { width: 74px; padding: 6px 9px; border: 1px solid transparent; border-radius: 10px; background: var(--elev); color: var(--ink); font-family: var(--mono); font-size: .86rem; }
.stakesizer__input:focus { outline: none; border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.stakesizer__note { color: var(--muted); font-size: .8rem; margin-left: auto; }
@media (max-width: 560px) { .stakesizer__note { margin-left: 0; width: 100%; } }

/* Kalshi picks — model-vs-market directional calls */
.kpicks { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.kpick { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
/* Folded corner (dog-ear) in the grade's hue — the slip's turned-down corner */
.kpick::before { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 26px; background: linear-gradient(135deg, var(--gr, var(--gold)) 50%, transparent 50.5%); opacity: .8; }
.kpick--C::before, .kpick--D::before { --gr: var(--warn); }
.kpick--F::before { --gr: var(--neg); }
.kpick--ref::before { --gr: var(--faint); }
.kpick__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.kpick__sport { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.kpick__q { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 3px; }
.kpick__grade { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-family: var(--sans); font-weight: 800; font-size: .95rem; color: #05140b; }
.kpick__grade--A { background: linear-gradient(135deg, #6bf6a6, #16b85e); }
.kpick__grade--B { background: linear-gradient(135deg, #9be7bf, #2bd960); }
.kpick__grade--C { background: #d8be55; }
.kpick__grade--D { background: #d89a55; color: #1a0f04; }
.kpick__grade--F { background: #d86a6a; color: #fff; }
.kpick__grade--ref { background: var(--elev); color: var(--ink-soft); font-size: .82rem; }
.kpick__call { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 11px 13px; background: var(--glass); border-radius: 14px; }
.kpick__yes { font-weight: 750; color: var(--gold); font-size: .98rem; letter-spacing: -0.01em; }
.kpick__edge-tag { font-family: var(--mono); font-weight: 700; font-size: .78rem; color: var(--pos); background: color-mix(in srgb, var(--pos) 14%, transparent); padding: 3px 9px; border-radius: var(--radius-pill); }
.kpick__edge-tag--ref { color: var(--muted); background: var(--glass); font-family: var(--sans); font-weight: 600; }
.kprice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kprice--two { grid-template-columns: repeat(2, 1fr); }
.kprice__cell { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 12px; }
.kprice__cell b { font-family: var(--mono); font-size: 1.05rem; }
.kprice__cell--fair { border-color: color-mix(in srgb, var(--gold) 34%, transparent); }
.kprice__cell--fair b { color: var(--gold); }
.kprice__cell--edge { border-color: color-mix(in srgb, var(--pos) 44%, transparent); background: color-mix(in srgb, var(--pos) 8%, transparent); }
.kprice__k { font-size: .68rem; color: var(--muted); font-weight: 600; }
.kpick__why { font-size: .88rem; line-height: 1.6; color: var(--ink-soft); }
/* Arbitrage callout */
.karb { border: 1px solid color-mix(in srgb, var(--pos) 40%, transparent); background: color-mix(in srgb, var(--pos) 9%, transparent); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.karb__tag { font-weight: 800; font-size: .82rem; color: var(--pos); letter-spacing: -0.01em; }
.karb__how { font-size: .82rem; line-height: 1.55; color: var(--ink-soft); }
.karb__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.karb__cell { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; background: var(--bg-2); border-radius: 10px; }
.karb__cell b { font-family: var(--mono); font-size: 1rem; }
.karb__cell--profit b { color: var(--pos); }
.karb__k { font-size: .66rem; color: var(--muted); font-weight: 600; }
.karb__roi { font-family: var(--sans); font-size: .74rem; font-weight: 700; }
.karb__bank { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.karb__bankroll { width: 110px; padding: 6px 9px; border: 1px solid transparent; border-radius: 10px; background: var(--elev); color: var(--ink); font-family: var(--mono); }
@media (max-width: 520px) { .karb__grid { grid-template-columns: 1fr; } }
.kpick__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.kpick__foot .muted { font-size: .78rem; }
.edge { font-family: var(--mono); font-weight: 700; font-size: .74rem; }
.edge--pos { color: var(--pos); }
.edge--neg { color: var(--neg); }
.linemove { display: block; font-family: var(--mono); font-weight: 700; font-size: .68rem; margin-top: 2px; }
.linemove--with { color: var(--pos); }
.linemove--against { color: var(--neg); }

.signals { margin-top: 12px; margin-left: 38px; display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.signal { display: flex; gap: 9px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); padding: 8px 0 8px 12px; }
.signal__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: 6px; }
.signal--positive .signal__dot { background: var(--pos); }
.signal--negative .signal__dot { background: var(--neg); }
.signal--neutral .signal__dot { background: var(--faint); }
.signal b { color: var(--ink); font-weight: 600; }
.signal__src { color: var(--faint); font-size: .72rem; }

/* Model strip */
.modelstrip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 24px; padding: 11px 15px; background: var(--elev); border: none; border-radius: var(--radius-sm); font-size: .78rem; color: var(--ink-soft); }
.modelstrip__k { font-weight: 700; color: var(--gold); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.modelstrip b { color: var(--ink); }
.modelstrip__sep { color: var(--faint); }
.modelstrip__tag { background: var(--gold-grad); color: var(--on-gold); padding: 1px 8px; margin-left: 4px; font-weight: 700; border-radius: var(--radius-pill); }

/* Probability decomposition */
.decomp { margin-top: 12px; margin-left: 38px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: .72rem; }
.decomp__step { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border: 1px solid var(--line); background: var(--glass); border-radius: var(--radius-pill); font-weight: 700; color: var(--ink-soft); }
.decomp__k { color: var(--muted); font-size: .6rem; letter-spacing: .06em; }
.decomp__op { color: var(--faint); font-weight: 700; }
.decomp__ctx { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 35%, transparent); }
.decomp__model { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; }

/* Analyst verdict */
.verdict { margin: 4px 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.verdict__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 16px; background: var(--elev); flex-wrap: wrap; }
.verdict__grade { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--gold); }
.verdict__score { color: var(--muted); font-size: .8rem; }
.verdict__edge { font-family: var(--sans); font-size: .82rem; color: var(--ink-soft); text-align: right; }
.verdict__risks { list-style: none; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.verdict__risks li { position: relative; padding-left: 18px; font-size: .85rem; color: var(--ink-soft); }
.verdict__risks li::before { content: "•"; position: absolute; left: 2px; top: 0; color: var(--warn); font-size: 1rem; }

.receipts { margin: 6px 24px 22px; padding: 20px 22px; background: var(--glass); border: 1px dashed var(--rule); border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 5px; }
.receipts__label { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 12px; }
.receipts p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 10px; }
.receipts p:first-of-type::first-letter { font-family: var(--display); font-weight: 800; font-size: 2.6rem; float: left; line-height: .82; margin: 4px 10px 0 0; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.receipts p:last-child { margin-bottom: 0; }

.parlay__foot { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.parlay__foot .btn { flex: 1; min-width: 150px; }

/* Tamper-evident pick-commit strip */
.commit { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 24px 4px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); font-family: var(--mono); font-size: .68rem; }
.commit__k { color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.commit__hash { color: var(--ink-soft); word-break: break-all; }
.commit__note { color: var(--muted); margin-left: auto; font-family: var(--sans); }
@media (max-width: 560px) { .commit { margin: 0 16px 4px; } .commit__note { margin-left: 0; } }

/* Confidence-to-pass banner on the Daily Lock */
.parlay--pass { border-color: var(--line-2); }
.passband { position: relative; z-index: 5; display: flex; flex-direction: column; gap: 4px; padding: 16px 24px; background: var(--elev); border-bottom: 1px solid var(--line); }
.passband__tag { align-self: flex-start; font-family: var(--sans); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--glass); border: 1px solid var(--rule); padding: 4px 12px; border-radius: var(--radius-pill); }
.passband p { color: var(--ink-soft); font-size: .9rem; }
.passband__sub { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.passband--thin { background: color-mix(in srgb, var(--neg) 6%, var(--elev)); border-bottom-color: color-mix(in srgb, var(--neg) 30%, var(--line)); }
.passband--thin .passband__tag { color: var(--neg); border-color: color-mix(in srgb, var(--neg) 45%, transparent); }
.parlay--thin { border-color: color-mix(in srgb, var(--neg) 30%, var(--line-2)); }

/* Members-only locked teaser */
.lockcard { position: relative; text-align: center; padding: 44px 30px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.lockcard__lock { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--glass); border: 1px solid var(--rule); color: var(--gold); margin-bottom: 16px; }
.lockcard__badge { display: inline-block; font-family: var(--sans); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); border-radius: var(--radius-pill); padding: 3px 12px; margin-bottom: 14px; }
.lockcard__title { font-size: 1.6rem; margin-bottom: 8px; }
.lockcard__blurb { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 22px; }
.lockcard__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lockcard__foot { margin-top: 16px; font-size: .78rem; color: var(--muted); }

/* ---------- Parlay builder (Pro) ---------- */
.builder__intro { margin-bottom: 22px; }
.builder__h1 { font-size: 1.9rem; }
.builder__lead { margin-top: 6px; }
.builder__hint { font-size: .78rem; margin-top: 4px; }
.field__opt { font-weight: 500; color: var(--faint); text-transform: none; letter-spacing: 0; }
.builder__propnote { font-size: .76rem; margin-top: 6px; line-height: 1.4; }
.builder { display: grid; grid-template-columns: minmax(260px, 0.85fr) 1.15fr; gap: 24px; align-items: start; }
.builder__config { position: sticky; top: 88px; }
.builder__result { min-width: 0; }
.segmented--block { display: flex; width: 100%; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 0; }
.grid--3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }

.feature { padding: 28px; border-radius: var(--radius); transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease); }
.feature:hover { background: var(--elev); transform: translateY(-2px); }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--gold); background: var(--glass); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 18px; }
.feature h3 { font-size: 1.25rem; margin-bottom: 10px; letter-spacing: -0.025em; }
.feature p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Pipeline ---------- */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.pipe__step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.pipe__step::before { counter-increment: step; content: counter(step); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--aurora); color: #071018; font-family: var(--sans); font-weight: 800; font-size: .9rem; margin-bottom: 14px; }
.pipe__step h4 { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.pipe__step p { color: var(--ink-soft); font-size: .86rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 840px; margin: 0 auto; }
.plan { padding: 34px; position: relative; border-radius: var(--radius-lg); }
.plan--featured { border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); box-shadow: var(--glow); }
.plan__name { font-family: var(--sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 800; }
.plan__price { font-family: var(--display); font-weight: 800; font-size: 3.6rem; letter-spacing: -0.04em; margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 1rem; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.plan__tag { color: var(--ink-soft); margin-bottom: 24px; }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan__features li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.plan__features li::before { content: "✓"; color: var(--pos); font-weight: 800; flex: none; }
.plan__flag { position: absolute; top: -13px; right: 26px; padding: 5px 14px; background: var(--aurora); color: #071018; font-family: var(--sans); font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: var(--radius-pill); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 650; color: var(--ink-soft); margin-bottom: 8px; }
.input, select.input { width: 100%; padding: 13px 16px; background: var(--elev); color: var(--ink); border: 1px solid transparent; border-radius: 14px; font-size: .95rem; font-family: var(--sans); transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s; }
.input::placeholder { color: var(--faint); }
.input:hover, select.input:hover { background: color-mix(in srgb, var(--elev) 84%, white 4%); }
.input:focus, select.input:focus { outline: none; border-color: color-mix(in srgb, var(--gold) 65%, transparent); box-shadow: 0 0 0 4px rgba(43, 217, 96, 0.12); background: var(--elev); }
.auth-wrap { max-width: 440px; margin: 60px auto; }
.inline-form { display: flex; gap: 12px; }
.inline-form .input { flex: 1; }
.segmented { display: inline-flex; background: var(--elev); border: none; border-radius: var(--radius-pill); padding: 4px; gap: 4px; }
.segmented label { flex: 1; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; text-align: center; padding: 8px 16px; cursor: pointer; border-radius: var(--radius-pill); font-family: var(--sans); font-size: .82rem; font-weight: 650; color: var(--ink-soft); transition: all .16s var(--ease); }
.segmented input:checked + span { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.5); }

/* Model-derived safer alternate line */
.saferalt { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 12px; margin-left: 38px; padding: 9px 13px; border: 1px dashed var(--rule); border-radius: 14px; background: var(--glass); font-size: .82rem; color: var(--ink-soft); }
.saferalt__k { font-family: var(--sans); font-size: .62rem; font-weight: 800; letter-spacing: .08em; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius: var(--radius-pill); padding: 2px 9px; }
.saferalt b { color: var(--ink); }
.saferalt--posted { border-style: solid; border-color: color-mix(in srgb, var(--pos) 40%, transparent); background: color-mix(in srgb, var(--pos) 8%, transparent); }
.saferalt__k--posted { color: var(--pos); border-color: color-mix(in srgb, var(--pos) 45%, transparent); }
@media (max-width: 560px) { .saferalt { margin-left: 30px; } }

/* Line-options ladder: the same pick documented at three lines */
.ladder { margin-top: 12px; margin-left: 38px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--glass); }
.ladder__k { font-family: var(--sans); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ladder__rungs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 9px; }
.rung { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color .18s var(--ease); }
.rung--chosen { border-color: color-mix(in srgb, var(--pos) 45%, transparent); background: color-mix(in srgb, var(--pos) 8%, var(--bg-2)); box-shadow: 0 6px 18px -10px rgba(70, 214, 160, 0.35); }
.rung__tier { font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rung--chosen .rung__tier { color: var(--pos); }
.rung__label { font-weight: 700; font-size: .92rem; letter-spacing: -.01em; color: var(--ink); }
.rung__meta { display: flex; align-items: baseline; gap: 8px; font-size: .78rem; }
.rung__prob { color: var(--gold); font-variant-numeric: tabular-nums; }
.rung--safest .rung__prob { color: var(--pos); }
.rung__odds { font-family: var(--mono); color: var(--ink-soft); font-size: .74rem; }
.rung__odds--na { color: var(--faint); font-style: italic; }
@media (max-width: 560px) { .ladder { margin-left: 30px; } }

/* ---------- Analyst panel (3 lenses per leg) ---------- */
.panel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; margin-left: 38px; }
.apick { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--glass); font-family: var(--sans); font-size: .7rem; }
.apick b { font-weight: 700; color: var(--ink-soft); font-size: .66rem; }
.apick__lean { font-weight: 750; font-family: var(--mono); font-size: .64rem; }
.apick--back { border-color: color-mix(in srgb, var(--pos) 35%, transparent); }
.apick--back .apick__lean { color: var(--pos); }
.apick--fade { border-color: color-mix(in srgb, var(--neg) 35%, transparent); }
.apick--fade .apick__lean { color: var(--neg); }
.apick--pass .apick__lean { color: var(--muted); }

/* ---------- Prop board ---------- */
.board-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.board-filters .input { width: auto; min-width: 150px; }
.pscore { display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 10px; border-radius: var(--radius-pill); font-family: var(--mono); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.pscore--hot { background: var(--gold-grad); color: var(--on-gold); }
.pscore--warm { border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); color: var(--gold); }
.pscore--cool { border: 1px solid var(--line-2); color: var(--muted); }
.board__pick { font-weight: 650; }
.board__tag { display: inline-block; font-family: var(--sans); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent); border-radius: var(--radius-pill); padding: 1px 9px; margin-right: 6px; }
/* Season reality line: real per-game frequency vs this exact line */
.board__season { display: block; margin-top: 3px; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.board__season b { font-family: var(--mono); font-weight: 700; }
.board__season--hot { color: var(--pos); }
.board__season--cold { color: var(--neg); }
.board__seasonadj { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); font-family: var(--mono); font-size: .64rem; color: var(--ink-soft); }
.board__safer { display: block; margin-top: 3px; font-size: .72rem; color: var(--pos); }
.board__safer b { font-weight: 700; }

/* Analyst consensus column on the prop board */
.con { display: inline-flex; align-items: baseline; gap: 3px; font-family: var(--mono); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.con__of { font-size: .6rem; font-weight: 600; color: var(--muted); }
.con--strong { color: var(--pos); }
.con--fade { color: var(--neg); }
.con--split { color: var(--muted); }
.apicks { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }
.dotpick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-family: var(--sans); font-size: .58rem; font-weight: 700; border: 1px solid var(--line-2); color: var(--muted); cursor: default; }
.dotpick--back { border-color: color-mix(in srgb, var(--pos) 40%, transparent); color: var(--pos); background: color-mix(in srgb, var(--pos) 10%, transparent); }
.dotpick--fade { border-color: color-mix(in srgb, var(--neg) 35%, transparent); color: var(--neg); background: color-mix(in srgb, var(--neg) 8%, transparent); }
.dotpick--pass { opacity: .7; }

/* "What am I looking at?" plain-language metric guide */
.guide { margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.guide > summary { cursor: pointer; list-style: none; padding: 14px 18px; font-family: var(--sans); font-size: .88rem; font-weight: 650; color: var(--ink); }
.guide > summary::-webkit-details-marker { display: none; }
.guide__q { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--aurora); color: #071018; font-size: .72rem; font-weight: 800; margin-right: 6px; }
.guide[open] > summary { border-bottom: 1px solid var(--line); }
.guide__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; }
.guide__item { padding: 16px 18px; border-right: 1px solid var(--line-2); }
.guide__item:last-child { border-right: none; }
.guide__k { font-family: var(--sans); font-weight: 750; font-size: .84rem; color: var(--gold); margin-bottom: 6px; }
.guide__t { color: var(--muted); font-weight: 550; font-size: .68rem; }
.guide__item p { font-size: .84rem; color: var(--ink-soft); line-height: 1.5; }

/* Calibration panel — real hit rates by PropScore tier */
.calib { margin-bottom: 22px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.calib__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.calib__title { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.calib__overall { text-align: right; flex: none; }
.calib__overall b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.calib__overall span { font-size: .68rem; color: var(--muted); font-weight: 600; }
.calib__bars { display: flex; flex-direction: column; gap: 12px; }
.calib__row { display: grid; grid-template-columns: 130px 1fr 96px; align-items: center; gap: 14px; }
.calib__label b { display: block; font-size: .86rem; font-weight: 650; }
.calib__label span { font-size: .66rem; color: var(--muted); font-weight: 550; }
.calib__track { height: 10px; background: var(--elev); border: none; border-radius: var(--radius-pill); overflow: hidden; }
.calib__track > span { display: block; height: 100%; background: var(--aurora); border-radius: var(--radius-pill); transition: width .6s var(--ease); }
.calib__val { font-family: var(--mono); font-weight: 700; font-size: .86rem; text-align: right; font-variant-numeric: tabular-nums; }
.calib__note { margin-top: 14px; font-size: .78rem; }

/* Reliability (calibration) rows: predicted bar + actual tick */
.rel-row { display: grid; grid-template-columns: 120px 1fr 96px; align-items: center; gap: 14px; }
.rel-row__label { font-family: var(--sans); font-size: .78rem; font-weight: 650; }
.rel-row__track { position: relative; height: 12px; background: var(--elev); border: none; border-radius: var(--radius-pill); overflow: visible; }
.rel-row__pred { display: block; height: 100%; background: linear-gradient(90deg, rgba(43, 217, 96, .22), rgba(43, 208, 200, .45)); border-radius: var(--radius-pill); }
.rel-row__actual { position: absolute; top: -4px; width: 3px; height: 20px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); }
.rel-row__val { text-align: right; font-family: var(--mono); font-size: .8rem; }
.rel-row__val b { font-weight: 700; }
.rel-row__val span { display: block; font-size: .62rem; }
.rel-key { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: .72rem; align-items: center; }
.rel-key span { display: inline-flex; align-items: center; gap: 6px; }
.rel-key__bar { width: 18px; height: 8px; border-radius: 4px; background: rgba(43, 208, 200, .4); }
.rel-key__tick { width: 3px; height: 14px; border-radius: 2px; background: var(--ink); }
@media (max-width: 560px) { .rel-row { grid-template-columns: 78px 1fr 62px; gap: 9px; } .rel-row__val span { display: none; } }

/* Analyst receipts feed (recently graded calls) */
.mt-5 { margin-top: 44px; }
.reslabel { display: inline-block; font-family: var(--sans); font-size: .64rem; font-weight: 750; letter-spacing: .04em; padding: 2px 9px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); }
.reslabel--won { color: var(--pos); border-color: color-mix(in srgb, var(--pos) 40%, transparent); background: color-mix(in srgb, var(--pos) 9%, transparent); }
.reslabel--lost { color: var(--neg); border-color: color-mix(in srgb, var(--neg) 35%, transparent); background: color-mix(in srgb, var(--neg) 7%, transparent); }
.grade { display: inline-flex; align-items: center; gap: 5px; font-family: var(--sans); font-size: .7rem; font-weight: 700; color: var(--muted); }
.grade--hit { color: var(--pos); }
.grade--miss { color: var(--neg); }
.grade__tick { font-size: .82rem; }

/* Bet-log settle popover */
.betact { position: relative; }
.betact > summary { list-style: none; cursor: pointer; }
.betact > summary::-webkit-details-marker { display: none; }
.betact__pop { position: absolute; right: 0; z-index: 20; margin-top: 6px; width: 230px; padding: 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow-lg); }
.betact__pop .input { margin-bottom: 6px; }

/* Kalshi explainer terms + steps */
.kalshi-term { font-family: var(--sans); font-weight: 750; font-size: .84rem; color: var(--gold); margin-bottom: 4px; }
.kalshi-steps { margin: 18px 0 0; padding-left: 0; list-style: none; counter-reset: kstep; display: flex; flex-direction: column; gap: 10px; }
.kalshi-steps li { position: relative; padding-left: 38px; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.kalshi-steps li::before { counter-increment: kstep; content: counter(kstep); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--aurora); color: #071018; font-family: var(--sans); font-weight: 800; font-size: .78rem; }
.kalshi-steps b { color: var(--ink); }

/* Admin diagnostics live indicator */
.diag-live { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.diag-live--ok { border-color: color-mix(in srgb, var(--pos) 35%, transparent); background: color-mix(in srgb, var(--pos) 6%, transparent); }
.diag-live--bad { border-color: color-mix(in srgb, var(--neg) 40%, transparent); background: color-mix(in srgb, var(--neg) 5%, transparent); }
.diag-live p { font-size: .9rem; color: var(--ink-soft); word-break: break-word; }
.diag-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; }
.diag-live--ok .diag-dot { background: var(--pos); }
.diag-live--bad .diag-dot { background: var(--neg); }

/* Responsible play — chase warning, resource lists, limits tool, reality toast */
.chase { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 5px; background: color-mix(in srgb, var(--warn) 7%, transparent); }
.chase__mark { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--warn); color: #201400; font-family: var(--display); font-weight: 800; }
.chase b { display: block; margin-bottom: 3px; font-size: .92rem; }
.chase p { color: var(--ink-soft); font-size: .88rem; }
.chase a { color: var(--gold); font-weight: 600; white-space: nowrap; }

.rg-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rg-list li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .93rem; line-height: 1.55; }
.rg-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 800; }
.rg-list b { color: var(--ink); }
.rg-list a { color: var(--gold); }
.rg-tool { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .rg-tool { grid-template-columns: 1fr; } }

.rg-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 24px); z-index: 200; max-width: min(560px, calc(100vw - 32px)); padding: 14px 44px 14px 18px; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow-lg); font-size: .88rem; color: var(--ink-soft); opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.rg-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.rg-toast--calm { border-color: var(--rule); }
.rg-toast a { color: var(--gold); font-weight: 600; }
.rg-toast__x { position: absolute; top: 8px; right: 10px; background: none; border: none; color: var(--muted); cursor: pointer; font-size: .9rem; }

/* ---------- Flash ---------- */
.flash { position: relative; padding: 14px 18px 14px 46px; margin-bottom: 18px; font-size: .92rem; font-weight: 500; border: 1px solid var(--line); background: var(--card); }
.flash::before { content: "i"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: .74rem; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.flash--success::before { content: "\2713"; background: color-mix(in srgb, var(--pos) 16%, transparent); color: var(--pos); }
.flash--error { color: var(--neg); }
.flash--error::before { content: "!"; background: color-mix(in srgb, var(--neg) 14%, transparent); color: var(--neg); }

/* ---------- Table — iOS list style ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-2); }
th { font-family: var(--sans); background: transparent; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
tbody tr { transition: background .14s var(--ease); }
tbody tr:hover { background: var(--glass); }
tr:last-child td { border-bottom: none; }
.prob-bar { height: 8px; background: var(--elev); border: none; border-radius: var(--radius-pill); overflow: hidden; min-width: 90px; }
.prob-bar > span { display: block; height: 100%; background: var(--aurora); }

/* ---------- Misc ---------- */
.badge { display: inline-flex; padding: 4px 12px; font-family: var(--sans); font-size: .68rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.badge--free { background: transparent; color: var(--ink-soft); }
.badge--pro { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; }
.muted { color: var(--muted); font-size: .85rem; }
.fine { font-weight: 500; text-transform: none; letter-spacing: 0; }
.divider { height: 1px; background: var(--line); margin: 28px 0; }
.center { text-align: center; }
.mt-2 { margin-top: 10px; } .mt-4 { margin-top: 22px; } .mb-4 { margin-bottom: 22px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.hud { position: relative; }

.footer { border-top: 1px solid var(--line); padding: 44px 0; margin-top: 72px; color: var(--muted); font-size: .86rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.disclaimer { font-size: .78rem; color: var(--muted); max-width: 60ch; line-height: 1.6; }

.empty { text-align: center; padding: 52px 20px; color: var(--muted); }
.empty__icon { font-size: 38px; margin-bottom: 14px; opacity: .5; }
.empty__mark { width: 36px; height: 36px; margin: 0 auto 16px; border: 1px solid var(--rule); border-radius: 50%; position: relative; }
.empty__mark::after { content: ""; position: absolute; inset: 10px; background: var(--aurora); border-radius: 50%; }
.locked { text-align: center; padding: 46px; border: 1px dashed var(--rule); background: var(--card); border-radius: var(--radius); }

/* ---------- Performance — page shell ---------- */
.perf { max-width: 1060px; margin: 0 auto; }
.perf-hero { text-align: center; margin-bottom: 20px; }
.perf-hero .eyebrow { justify-content: center; }
.perf-hero .lead { margin: 8px auto 0; max-width: 60ch; }
.perf-hero__note { margin-bottom: 8px; }
.perf-sec { margin-top: 52px; }
.perf-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.perf-sec__title { font-family: var(--display); font-weight: 750; font-size: 1.4rem; letter-spacing: -.03em; margin: 0; }
.perf-sec__cap { font-size: .82rem; color: var(--muted); }
.perf-microcopy { font-size: .86rem; line-height: 1.5; color: var(--muted); max-width: 78ch; margin: 14px 0 0; }
.perf-card { margin-top: 18px; }
.perf-fine { font-size: .8rem; margin-top: 40px; }
.perf-note { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 16px 18px; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.perf-note + .perf-note, .perf-sec .perf-note { margin-top: 18px; }
.perf-note strong { color: var(--ink); }
.perf-note--warn { background: color-mix(in srgb, var(--warn) 5%, var(--card)); border-color: color-mix(in srgb, var(--warn) 24%, var(--line)); }
.perf-note--warn strong:first-child { color: var(--warn); }
.perf-note--accent { background: color-mix(in srgb, var(--vv) 5%, var(--card)); border-color: color-mix(in srgb, var(--vv) 22%, var(--line)); }
.perfstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.perfstat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 16px 18px; }
.perfstat__k { font-size: .78rem; color: var(--muted); display: block; }
.perfstat__v { font-size: 1.95rem; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 2px; line-height: 1.1; }
.perfstat__sub { font-size: .74rem; color: var(--text-faint); }

/* Performance — the record scoreboard */
.scoreboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.rectile { position: relative; padding: 18px 18px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; min-height: 100%; }
.rectile--primary { border-color: color-mix(in srgb, var(--gold) 50%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 8%, var(--card)) 0%, var(--card) 60%); }
.rectile--primary::before { content: "Headline"; position: absolute; top: 0; right: 14px; transform: translateY(-50%); font-family: var(--sans); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--on-gold); background: var(--gold); padding: 2px 8px; border-radius: var(--radius-pill); }
.rectile__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rectile__label { font-size: .82rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.rectile__pct { font-family: var(--mono); font-weight: 700; font-size: .72rem; padding: 2px 8px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); }
.rectile__pct--pos { color: var(--pos); border-color: color-mix(in srgb, var(--pos) 38%, transparent); background: color-mix(in srgb, var(--pos) 10%, transparent); }
.rectile__pct--flat { color: var(--muted); }
.rectile__wl { font-size: 2.15rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin-top: 10px; }
.rectile__dash { color: var(--text-faint); font-weight: 700; margin: 0 1px; }
.rectile__sub { font-size: .72rem; color: var(--text-faint); font-weight: 600; margin-top: 2px; }
.rectile__desc { font-size: .8rem; line-height: 1.35; color: var(--muted); margin: 10px 0 0; }
.econbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 4px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.scoreboard + .econbar { margin-top: 14px; }
.econbar__item { display: flex; flex-direction: column; gap: 2px; padding: 0 18px; }
.econbar__item:first-child { padding-left: 4px; }
.econbar__k { font-size: .72rem; color: var(--muted); }
.econbar__v { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.econbar__sep { width: 1px; align-self: stretch; background: var(--line); margin: 2px 0; }
@media (max-width: 560px) { .econbar__sep { display: none; } .econbar__item { flex: 1 0 40%; } }

/* Performance — per-Lock leg-by-leg result log */
.reslog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 15px 18px; margin-bottom: 12px; }
.reslog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.reslog__badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.reslog__badge { flex: none; font-family: var(--sans); font-weight: 700; font-size: .74rem; padding: 4px 11px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); }
/* Graded slips get STAMPED — double ring, small tilt, like ink on the stub */
.reslog__badge--won, .reslog__badge--lost { border-width: 2px; border-radius: 8px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; transform: rotate(-1.5deg); }
.reslog__badge--won { color: var(--pos); border-color: color-mix(in srgb, var(--pos) 55%, transparent); background: color-mix(in srgb, var(--pos) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pos) 25%, transparent); }
.reslog__badge--lost { color: var(--neg); border-color: color-mix(in srgb, var(--neg) 55%, transparent); background: color-mix(in srgb, var(--neg) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--neg) 25%, transparent); }
.reslog__badge--pending, .reslog__badge--pass { color: var(--muted); }
.reslog__legs { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.reslog__leg { display: flex; align-items: flex-start; gap: 10px; padding-top: 8px; border-top: 1px dashed var(--rule); }
.reslog__mark { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: .8rem; font-weight: 700; }
.reslog__mark--won { color: var(--pos); background: color-mix(in srgb, var(--pos) 14%, transparent); }
.reslog__mark--lost { color: var(--neg); background: color-mix(in srgb, var(--neg) 12%, transparent); }
.reslog__mark--pending { color: var(--muted); background: var(--glass); }
.reslog__pick { display: flex; flex-direction: column; gap: 2px; }
.reslog__sel { font-weight: 600; font-size: .92rem; }
.reslog__alt { font-size: .8rem; color: var(--pos); display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 40px; }
    .grid--3, .grid--4, .pipe { grid-template-columns: 1fr 1fr; }
    .plans, .grid--2 { grid-template-columns: 1fr; }
    .guide__grid { grid-template-columns: 1fr 1fr; }
    .guide__item:nth-child(2) { border-right: none; }
    .guide__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
}

/* Collapse the nav into a hamburger dropdown on tablet + phone */
@media (max-width: 760px) {
    .nav__toggle { display: inline-grid; }
    .nav__links {
        position: absolute; top: 100%; left: 0; right: 0; margin: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 10px 16px 18px;
        background: color-mix(in srgb, var(--bg) 90%, transparent);
        backdrop-filter: blur(24px) saturate(1.6);
        -webkit-backdrop-filter: blur(24px) saturate(1.6);
        border-bottom: 1px solid var(--rule);
        box-shadow: var(--shadow-lg);
        max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
        transition: max-height .28s var(--ease), opacity .2s, padding .2s;
    }
    .nav[data-open="true"] .nav__links { max-height: calc(100vh - 64px); overflow-y: auto; opacity: 1; pointer-events: auto; }
    .nav__link { padding: 13px 12px; font-size: .98rem; border-radius: var(--radius-sm); }
    .nav__link.is-active, .nav__trigger.is-active { background: var(--glass); }
    .nav__link.is-active::after { display: none; }

    /* Groups render inline as labelled sections (no hover dropdown on touch) */
    .nav__group { position: static; }
    .nav__trigger { width: 100%; justify-content: flex-start; pointer-events: none; padding: 16px 12px 4px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
    .nav__trigger .chev { display: none; }
    .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: none; box-shadow: none; padding: 0; min-width: 0; }
    .nav__menu::before { display: none; }
    .nav__menu a:hover, .nav__menu a.is-active { transform: none; }
    .nav__menu a { padding: 12px 12px 12px 20px; }
    .nav__menu-desc { display: none; }

    .nav__links .btn { width: 100%; margin-top: 12px; }
    .nav__links .nav__avatar { width: 100%; border-radius: var(--radius-sm); justify-content: flex-start; padding: 0 12px; height: 44px; margin: 10px 0 0; background: var(--elev); color: var(--ink); }
}

@media (max-width: 860px) {
    .builder { grid-template-columns: 1fr; gap: 18px; }
    .builder__config { position: static; top: auto; }
}

@media (max-width: 560px) {
    .grid--3, .grid--4, .pipe { grid-template-columns: 1fr; }
    .guide__grid { grid-template-columns: 1fr; }
    .guide__item { border-right: none; border-bottom: 1px solid var(--line-2); }
    .guide__item:last-child { border-bottom: none; }
    .calib__row { grid-template-columns: 92px 1fr 68px; gap: 10px; }
    .calib__val .muted { display: none; }
    .parlay__foot .btn { min-width: 100%; }
    .container { padding: 0 18px; }
    .hero__stats { flex-wrap: wrap; }
    .hero__stat { min-width: 40%; }

    .nav__inner { gap: 8px; height: 58px; }
    .brand { font-size: 1.05rem; gap: 8px; }
    .brand__logo { height: 28px; }

    .builder__h1 { font-size: 1.5rem; }
    .builder__lead { font-size: .95rem; }
    .card--pad { padding: 20px; }
    .segmented span { padding: 8px 8px; font-size: .76rem; }

    .parlay__top { flex-wrap: wrap; }
    .parlay__title { font-size: 1.1rem; }
    .stat-chip { min-width: 50%; padding: 13px 14px; border-bottom: 1px solid var(--line); }
    .stat-chip:nth-child(odd) { border-right: 1px solid var(--line); }
    .stat-chip:nth-child(even) { border-right: none; }
    .stat-chip b { font-size: 1.4rem; }
    .legs { padding: 16px 16px 4px; }
    .modelstrip { margin: 0 16px; }
    .verdict, .receipts { margin-left: 16px; margin-right: 16px; }
    .signals, .decomp { margin-left: 30px; }
    .parlay__foot { padding: 16px; }
}

@media (max-width: 380px) {
    .brand { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================================
   VIBES — each product area gets its own accent identity, and boxes within a
   page rotate through the aurora family so no two panels feel identical.
   The vibe is set per-route as a class on <body>; --vv / --vv-2 cascade.
   Semantic colors (win/lose) never change meaning.
   ========================================================================== */

body { --vv: #2bd960; --vv-2: #2bd0c8; }               /* emerald (default) */
body.vibe-teal   { --vv: #2bd0c8; --vv-2: #5f8bff; }   /* prop board — analytical */
body.vibe-azure  { --vv: #5f8bff; --vv-2: #a78bfa; }   /* kalshi / markets */
body.vibe-gold   { --vv: #e9c464; --vv-2: #2bd960; }   /* performance — the ledger */
body.vibe-violet { --vv: #a78bfa; --vv-2: #5f8bff; }   /* builder / my tools */
body.vibe-amber  { --vv: #ffb95e; --vv-2: #ff7a9d; }   /* pricing */
body { --vv-grad: linear-gradient(135deg, var(--vv), var(--vv-2)); }

/* The ambient wash takes the zone's hue */
.bg-grid {
    background:
        radial-gradient(1000px 560px at 82% -12%, color-mix(in srgb, var(--vv) 10%, transparent), transparent 62%),
        radial-gradient(820px 520px at 14% -8%, color-mix(in srgb, var(--vv-2) 7%, transparent), transparent 58%),
        radial-gradient(940px 620px at -10% 34%, rgba(95, 139, 255, 0.045), transparent 56%);
}

/* Zone accents — the recurring small marks pick up the vibe */
.eyebrow { background: var(--vv-grad); -webkit-background-clip: text; background-clip: text; }
.eyebrow::before { background: var(--vv-grad); }
.pill__dot { background: var(--vv); }
.toppicks__lead { background: var(--vv-grad); -webkit-background-clip: text; background-clip: text; }
.guide__q, .kalshi-steps li::before, .pipe__step::before { background: var(--vv-grad); }
.feature__icon { color: var(--vv); border-color: color-mix(in srgb, var(--vv) 25%, transparent); }
.board__tag { color: var(--vv); border-color: color-mix(in srgb, var(--vv) 32%, transparent); }
.modelstrip__k, .receipts__label, .plan__name, .kalshi-term, .verdict__grade { color: var(--vv); }
.receipts p:first-of-type::first-letter { background: var(--vv-grad); -webkit-background-clip: text; background-clip: text; }
.calib__track > span, .prob-bar > span { background: var(--vv-grad); }
.calib__overall b { color: var(--vv); }
.lockcard__badge { color: var(--vv); border-color: color-mix(in srgb, var(--vv) 40%, transparent); }
.perf-sec__head { border-bottom-color: color-mix(in srgb, var(--vv) 22%, var(--line)); }

/* The marquee pick wears a soft zone-tinted header */
.parlay__top { background: linear-gradient(100deg, color-mix(in srgb, var(--vv) 10%, transparent), transparent 65%); }
.kpick__call { background: color-mix(in srgb, var(--vv) 7%, var(--glass)); }
.kpick__yes { color: var(--vv); }

/* ---------- Different boxes: distinct treatments, no template stripes ------ */

/* Feature cards: quiet editorial — an oversized ghost index numeral, no crowns */
.grid--3, .grid--4 { counter-reset: fbox; }
.grid--3 > .feature, .grid--4 > .feature { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.grid--3 > .feature::after, .grid--4 > .feature::after {
    counter-increment: fbox; content: "0" counter(fbox);
    position: absolute; right: 16px; top: 4px; pointer-events: none;
    font-family: var(--display); font-weight: 800; font-size: 3.6rem; letter-spacing: -.06em; line-height: 1;
    color: color-mix(in srgb, var(--ink) 6%, transparent);
    transition: color .25s var(--ease);
}
.grid--3 > .feature:hover::after, .grid--4 > .feature:hover::after { color: color-mix(in srgb, var(--vv) 22%, transparent); }

/* Pipeline steps: the numbered dot carries the stage hue — the box stays quiet */
.pipe__step { --bx: #2bd960; }
.pipe__step:nth-child(2) { --bx: #2bd0c8; }
.pipe__step:nth-child(3) { --bx: #5f8bff; }
.pipe__step:nth-child(4) { --bx: #a78bfa; }
.pipe__step::before { background: linear-gradient(135deg, var(--bx), color-mix(in srgb, var(--bx) 55%, #ffffff 12%)); }

/* Metric guide entries rotate their keyword hue (text only) */
.guide__item:nth-child(4n+1) .guide__k { color: #2bd960; }
.guide__item:nth-child(4n+2) .guide__k { color: #2bd0c8; }
.guide__item:nth-child(4n+3) .guide__k { color: #5f8bff; }
.guide__item:nth-child(4n+4) .guide__k { color: #a78bfa; }

/* Pricing: the free plan stays quiet glass; Pro is an aurora-tinted panel */
.plan { background: var(--glass); border: 1px solid var(--line); }
.plan--featured { background: linear-gradient(160deg, color-mix(in srgb, var(--vv) 9%, var(--card)) 0%, var(--card) 46%, color-mix(in srgb, var(--vv-2) 7%, var(--card)) 100%); }

/* Ladder tiers speak through their labels, not stripes */
.rung--aggressive .rung__tier { color: #ff7a9d; }
.rung--balanced .rung__tier { color: #2bd0c8; }
.rung--balanced .rung__prob { color: #2bd0c8; }

/* Result-log cards alternate a whisper of tint so long lists don't flatten */
.reslog:nth-child(odd) { background: color-mix(in srgb, var(--vv) 2.5%, var(--card)); }

/* ============================================================================
   THE TICKET — the product's own silhouette. Betting slips have stub corners,
   punched notches and perforations; the marquee surfaces borrow that language
   so the boxes are recognisably OURS, not a dashboard template.
   ========================================================================== */

/* Signature stub corner: one tight corner on an otherwise soft card */
.rectile, .perfstat, .kpick, .reslog, .perf-note, .guide, .calib, .lockcard, .karb { border-radius: 20px 20px 20px 7px; }
.parlay { border-radius: 26px 26px 26px 10px; }
.slip { border-radius: 22px 22px 22px 9px; }
.flash { border-radius: 14px 14px 14px 5px; }

/* The marquee pick is a slip: punched side notches + a perforated fold where
   the header tears off from the numbers. */
.parlay__top { border-bottom-style: dashed; border-bottom-color: var(--rule); }
.parlay__meta { position: relative; }
.parlay__meta::before, .parlay__meta::after {
    content: ""; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--bg); border: 1px solid var(--rule); z-index: 2;
}
.parlay__meta::before { left: -11px; }
.parlay__meta::after { right: -11px; }

/* The tamper-evident commit strip reads like the slip's barcode */
.commit::before {
    content: ""; flex: none; width: 36px; height: 15px; border-radius: 2px;
    background: repeating-linear-gradient(90deg,
        currentColor 0 1px, transparent 1px 3px,
        currentColor 3px 6px, transparent 6px 7px,
        currentColor 7px 8px, transparent 8px 11px);
    color: color-mix(in srgb, var(--ink) 45%, transparent);
}

/* Scoreboard lenses: identity via the hit-rate pill + a punched corner dot */
.rectile { position: relative; }
.rectile::after { content: ""; position: absolute; left: 9px; bottom: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--rule); }
.rectile--primary { border-color: color-mix(in srgb, #e9c464 50%, transparent); }
.rectile--primary::before { background: #e9c464; color: #201400; }
