:root { color-scheme: dark; --ink:#f4f6f2; --muted:#98a39b; --line:#29342e; --panel:#151c18; --green:#75f0a0; --deep:#09100c; }
* { box-sizing:border-box; }
.auth-shell { min-height:100vh; display:grid; place-items:center; padding:24px; }
.auth-card { width:min(100%,460px); border:1px solid var(--line); border-radius:18px; padding:32px; background:var(--panel); }
.auth-card h1 { margin:18px 0 10px; font-size:clamp(2rem,8vw,3.4rem); }
.auth-card p { color:var(--muted); line-height:1.55; }
.auth-card form { display:grid; gap:10px; margin:28px 0 14px; }
.auth-card label { color:var(--muted); font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; }
.auth-card input { width:100%; border:1px solid var(--line); border-radius:9px; background:#0b120e; color:var(--ink); padding:13px 14px; font:inherit; }
.auth-card button { border:0; border-radius:9px; background:var(--green); color:#06100a; padding:13px 16px; font-weight:800; cursor:pointer; }
.auth-card small { color:var(--muted); line-height:1.45; }
body { margin:0; min-width:320px; background:radial-gradient(circle at 75% -10%,#173526 0,transparent 34%),var(--deep); color:var(--ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.topbar { height:72px; padding:0 clamp(24px,5vw,72px); display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(255,255,255,.08); }
.brand { color:var(--ink); text-decoration:none; display:flex; align-items:center; gap:12px; font-weight:700; letter-spacing:-.02em; }
.mark { display:grid; place-items:center; width:34px; height:34px; background:var(--green); color:#07110b; border-radius:9px; font-size:12px; letter-spacing:.04em; }
.mode { color:var(--muted); font-size:13px; display:flex; gap:9px; align-items:center; }
.mode span { width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 14px var(--green); }
main { width:min(1440px,100%); margin:auto; padding:0 clamp(24px,5vw,72px) 80px; }
.hero { min-height:390px; display:flex; align-items:center; justify-content:space-between; gap:64px; }
.eyebrow { margin:0 0 14px; color:var(--green); font-size:12px; font-weight:750; letter-spacing:.16em; text-transform:uppercase; }
h1 { margin:0; max-width:760px; font-family:Georgia,"Times New Roman",serif; font-size:clamp(52px,7vw,94px); font-weight:400; line-height:.92; letter-spacing:-.055em; }
.lede { max-width:620px; margin:28px 0 0; color:#b4bdb7; font-size:18px; line-height:1.55; }
.capture-card { min-width:245px; padding:24px; border:1px solid var(--line); border-radius:16px; background:rgba(20,28,23,.72); box-shadow:0 24px 80px rgba(0,0,0,.22); }
.capture-card span,.capture-card small { display:block; color:var(--muted); font-size:12px; }
.capture-card strong { display:block; margin:10px 0 5px; font-size:18px; }
.metrics { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); border-radius:18px; overflow:hidden; background:rgba(15,22,18,.82); }
.metrics article { min-height:148px; padding:25px 28px; border-right:1px solid var(--line); }
.metrics article:last-child { border:0; }
.metrics span,.metrics small { display:block; color:var(--muted); font-size:12px; }
.metrics strong { display:block; margin:12px 0 8px; font-family:Georgia,serif; font-size:40px; font-weight:400; }
.market-section { padding-top:76px; }
.health { margin-top:14px; padding:18px 24px; display:grid; grid-template-columns:2fr 1fr 1fr; gap:20px; align-items:center; border:1px solid var(--line); border-radius:14px; background:rgba(15,22,18,.6); }
.health div { display:flex; align-items:center; gap:9px; }
.health div:not(:first-child) { display:block; border-left:1px solid var(--line); padding-left:24px; }
.health span,.health small { color:var(--muted); font-size:11px; }
.health strong { font-size:13px; }
.health-dot { width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 12px var(--green); }
.health-dot.stale { background:#f4d67a; box-shadow:0 0 12px rgba(244,214,122,.65); }
.alerts { padding-top:64px; }
.calibration { padding-top:64px; }
.paper-portfolio { padding-top:64px; }
.approach-control { margin:18px 0; padding:16px 18px; display:flex; align-items:center; justify-content:space-between; gap:18px; border:1px solid var(--line); border-radius:14px; background:rgba(15,22,18,.6); }
.approach-control strong,.approach-control small { display:block; }
.approach-control small { margin-top:5px; color:var(--muted); }
.section-note { max-width:720px; color:var(--muted); font-size:13px; line-height:1.5; }
.calibration-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:20px; }
.calibration-grid article { padding:18px; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.calibration-grid article > div:first-child { display:flex; justify-content:space-between; gap:12px; }
.calibration-grid span,.calibration-grid small { color:var(--muted); font-size:11px; }
.calibration-grid small { display:block; margin-top:9px; }
.progress { height:5px; margin-top:14px; overflow:hidden; border-radius:999px; background:#263129; }
.progress i { display:block; height:100%; border-radius:inherit; background:var(--green); }
.paper-summary { display:grid; grid-template-columns:repeat(4,1fr); margin-top:20px; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--panel); }
.paper-summary article { padding:18px; border-right:1px solid var(--line); }
.paper-summary article:last-child { border:0; }
.paper-summary span,.paper-summary small { display:block; color:var(--muted); font-size:11px; }
.paper-summary strong { display:block; margin-top:8px; font-size:19px; }
.paper-list { margin-top:12px; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.paper-list > article { display:grid; grid-template-columns:1fr auto; gap:20px; padding:16px 18px; border-bottom:1px solid var(--line); background:var(--panel); }
.paper-list > article:last-child { border:0; }
.paper-list > article > div { display:grid; gap:3px; }
.paper-list > article > div:last-child { text-align:right; }
.paper-list span { width:max-content; padding:3px 6px; border-radius:4px; color:#f4d67a; background:rgba(244,214,122,.1); font-size:9px; font-weight:800; text-transform:uppercase; }
.paper-list small { color:var(--muted); font-size:11px; }
.alerts > div:first-child { display:flex; align-items:end; justify-content:space-between; }
.alert-list { margin-top:20px; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.alert-list article { display:grid; grid-template-columns:10px 1fr auto; gap:14px; align-items:center; padding:16px 18px; border-bottom:1px solid var(--line); background:var(--panel); }
.alert-list article:last-child { border:0; }
.alert-list article div { display:grid; gap:3px; }
.alert-list small,.alert-list time,.empty-alert span { color:var(--muted); font-size:11px; }
.alert-dot { width:7px; height:7px; border-radius:50%; background:#6e7c72; }
.alert-dot.attention { background:var(--green); box-shadow:0 0 10px var(--green); }
.empty-alert { display:grid; gap:6px; padding:20px; background:rgba(15,22,18,.55); }
.section-heading { display:flex; align-items:end; justify-content:space-between; margin-bottom:26px; }
h2 { margin:0; font-family:Georgia,serif; font-size:40px; font-weight:400; letter-spacing:-.035em; }
.filters { display:flex; gap:8px; }
.filters button,.details { border:1px solid var(--line); border-radius:999px; padding:9px 14px; background:transparent; color:var(--muted); cursor:pointer; }
.filters .active { background:var(--ink); color:#0a100c; border-color:var(--ink); }
.sport-filters { display:flex; gap:8px; margin:-4px 0 22px; overflow:auto; padding-bottom:3px; }
.sport-filters button { flex:0 0 auto; padding:10px 14px; border:1px solid var(--line); border-radius:10px; background:var(--panel); color:var(--muted); cursor:pointer; }
.sport-filters button.active { border-color:var(--green); color:var(--green); background:rgba(117,240,160,.06); }
.decision-filters { display:flex; gap:8px; margin:-10px 0 22px; overflow:auto; }
.decision-filters button { flex:0 0 auto; padding:8px 12px; border:1px solid var(--line); border-radius:999px; background:transparent; color:var(--muted); cursor:pointer; }
.decision-filters button.active { color:#07110b; border-color:var(--green); background:var(--green); }
.market-diagnostic { margin:-8px 0 20px; color:var(--muted); font-size:12px; line-height:1.5; }
.market-board { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.game-card { padding:22px; border:1px solid var(--line); border-radius:16px; background:var(--panel); transition:transform .18s,border-color .18s; }
.game-card:hover { transform:translateY(-2px); border-color:#405347; }
.decision-card { margin:16px 0 20px; padding:15px; border:1px solid var(--line); border-radius:12px; background:#0f1612; }
.decision-action { display:inline-block; margin-bottom:9px; padding:4px 7px; border-radius:5px; color:var(--muted); background:#222c26; font-size:10px; font-weight:800; letter-spacing:.1em; }
.decision-action[data-action="PAPER_BET"] { color:#07110b; background:var(--green); }
.decision-action[data-action="WATCH"] { color:#f4d67a; background:rgba(244,214,122,.12); }
.decision-instruction { display:block; font-size:14px; }
.decision-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:13px; }
.decision-stats div { display:grid; gap:3px; }
.decision-stats span,.decision-reason { color:var(--muted); font-size:9px; }
.decision-stats strong { font-size:12px; font-variant-numeric:tabular-nums; }
.decision-reason { display:block; margin-top:11px; line-height:1.4; }
.record-paper { margin-top:13px; padding:9px 12px; border:0; border-radius:8px; background:var(--green); color:#07110b; font-weight:800; cursor:pointer; }
.record-paper:disabled { cursor:default; opacity:.65; }
.record-status { display:block; margin-top:8px; color:var(--muted); }
.game-meta,.card-footer { display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:12px; }
.coverage { padding:5px 8px; color:var(--green); background:rgba(117,240,160,.08); border-radius:6px; }
.matchup { display:grid; grid-template-columns:1fr 24px 1fr; align-items:end; gap:8px; margin:24px 0; }
.matchup div:last-child { text-align:right; }
.matchup small { display:block; margin-bottom:6px; color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.12em; }
.matchup strong { font-size:17px; }
.at { color:#56645b; text-align:center; padding-bottom:2px; }
.consensus { display:grid; grid-template-columns:repeat(var(--outcomes,2),1fr); gap:8px; }
.consensus div { padding:13px 15px; border:1px solid var(--line); border-radius:10px; }
.consensus div:not(:first-child) { text-align:right; }
.consensus span { display:block; color:var(--muted); font-size:10px; text-transform:uppercase; }
.consensus strong { display:block; margin-top:5px; color:var(--green); font-size:22px; }
.consensus small { display:block; min-height:14px; margin-top:4px; color:var(--muted); font-size:10px; }
.card-footer { margin-top:18px; }
.details { border:0; padding-right:0; color:var(--ink); }
.details span { color:var(--green); }
.book-grid { margin-top:16px; padding-top:14px; border-top:1px solid var(--line); display:grid; gap:7px; }
.book-grid[hidden] { display:none; }
.book-row { display:grid; grid-template-columns:minmax(72px,1fr) minmax(110px,1.2fr) minmax(72px,1fr); align-items:center; gap:12px; color:var(--muted); font-size:12px; }
.book-row > span { color:var(--ink); font-variant-numeric:tabular-nums; }
.book-row > span:last-child { text-align:right; }
.book-row > div { display:grid; justify-items:center; gap:2px; text-align:center; }
.book-row > div small { color:var(--muted); font-size:10px; }
.book-grid-header { padding-bottom:7px; border-bottom:1px solid var(--line); color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
.book-grid-header > span { overflow:hidden; color:var(--muted); text-overflow:ellipsis; white-space:nowrap; }
.book-grid-header > strong { text-align:center; }
.book-row.decision-book { padding:7px 8px; margin:0 -8px; border-radius:7px; background:rgba(255,255,255,.035); }
.book-row .decision-price { font-weight:800; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; }
.book-row .paper-price { color:var(--green) !important; }
.book-row .watch-price { color:#f4d67a !important; }
.glossary-term { position:relative; display:inline-flex; align-items:center; gap:4px; cursor:help; text-decoration:underline dotted; text-underline-offset:3px; }
.glossary-term::before { content:"?"; display:inline-grid; place-items:center; width:13px; height:13px; border:1px solid currentColor; border-radius:50%; font-size:8px; font-weight:800; text-decoration:none; }
.glossary-term::after { content:attr(data-tooltip); position:absolute; z-index:20; left:0; bottom:calc(100% + 9px); width:min(260px,70vw); padding:10px 12px; border:1px solid #405347; border-radius:8px; background:#07100b; color:var(--ink); box-shadow:0 12px 35px rgba(0,0,0,.45); font-size:11px; font-weight:400; line-height:1.45; letter-spacing:0; text-transform:none; opacity:0; pointer-events:none; transform:translateY(4px); transition:opacity .15s,transform .15s; }
.glossary-term:hover::after,.glossary-term:focus::after { opacity:1; transform:translateY(0); }
.empty { padding:40px; border:1px solid var(--line); border-radius:16px; color:var(--muted); }
@media (max-width:850px) { .hero { display:block; padding:72px 0; }.capture-card { margin-top:40px; }.metrics { grid-template-columns:repeat(2,1fr); }.metrics article:nth-child(2) { border-right:0; }.metrics article:nth-child(-n+2) { border-bottom:1px solid var(--line); }.health { grid-template-columns:1fr; }.health div:not(:first-child) { border-left:0; padding:0; }.market-board,.calibration-grid { grid-template-columns:1fr; }.paper-summary { grid-template-columns:repeat(2,1fr); }.paper-summary article:nth-child(2) { border-right:0; }.paper-summary article:nth-child(-n+2) { border-bottom:1px solid var(--line); }.approach-control { align-items:flex-start; flex-direction:column; }.approach-control .decision-filters { margin:0; width:100%; } }
@media (max-width:540px) { .mode { display:none; }.metrics { grid-template-columns:1fr 1fr; }.metrics article { padding:20px; }.section-heading { display:block; }.filters { margin-top:18px; } }
@media (max-width:540px) { .decision-stats { grid-template-columns:repeat(2,1fr); }.alerts { padding-top:48px; }.alert-list article { grid-template-columns:10px 1fr; }.alert-list time { display:none; } }
@media (max-width:540px) { .paper-list > article { grid-template-columns:1fr; }.paper-list > article > div:last-child { text-align:left; } }
