:root{
  color-scheme:light;
  --bg:#f5f5f3; --surface:#fcfcfb; --surface-2:#f1f1ee; --text:#0b0b0b; --text-2:#52514e; --muted:#7a7974; --line:#e6e5e1; --grid:#ecebe7;
  --s-index:#2a78d6; --s-picks:#eb6834; --s-bench:#9a9993;
  --g1:#1baf7a; --g2:#eda100; --g3:#e87ba4; --g4:#008300; --g5:#4a3aa7;
  --lagc:#cfcec8; --pos:#0f7a3d; --pos-bg:#eaf6ee; --neg:#c22f2e; --neg-bg:#fcecec;
  --shadow:0 1px 2px rgba(20,20,15,.04),0 2px 8px rgba(20,20,15,.04);
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}
@media (prefers-color-scheme:dark){:root:where(:not([data-theme="light"])){
  color-scheme:dark;
  --bg:#121211; --surface:#1a1a19; --surface-2:#222220; --text:#ffffff; --text-2:#c3c2b7; --muted:#8f8e86; --line:#2c2c29; --grid:#262624;
  --s-index:#3987e5; --s-picks:#d95926; --s-bench:#8a8983;
  --g1:#199e70; --g2:#c98500; --g3:#d55181; --g4:#008300; --g5:#9085e9;
  --lagc:#474743; --pos:#4cc47f; --pos-bg:#16271c; --neg:#f07372; --neg-bg:#2e1a19; --shadow:none;
}}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#121211; --surface:#1a1a19; --surface-2:#222220; --text:#ffffff; --text-2:#c3c2b7; --muted:#8f8e86; --line:#2c2c29; --grid:#262624;
  --s-index:#3987e5; --s-picks:#d95926; --s-bench:#8a8983;
  --g1:#199e70; --g2:#c98500; --g3:#d55181; --g4:#008300; --g5:#9085e9;
  --lagc:#474743; --pos:#4cc47f; --pos-bg:#16271c; --neg:#f07372; --neg-bg:#2e1a19; --shadow:none;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text)}
body{font:15px/1.5 Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased}
.wrap{max-width:1120px;margin:0 auto;padding:28px 16px 56px}
a{color:inherit}
.small{font-size:12.5px}
.muted{color:var(--muted)}
.top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.brand{display:flex;gap:12px;align-items:center}
.mark{width:40px;height:40px;flex:none}
.mark rect{fill:var(--text)} .mark path{stroke:var(--s-index);stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
h1{font-size:24px;margin:0;letter-spacing:-.02em}
h2{font-size:15px;margin:0;letter-spacing:-.01em}
h3{font-size:13px;margin:0;font-weight:600}
.sub{margin:2px 0 0;color:var(--text-2);font-size:14px}
.meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.pill{font-size:12px;padding:4px 10px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--text-2);white-space:nowrap}
.pill.live::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--pos);margin-right:6px;vertical-align:1px}
.link{font-size:13px;font-weight:500;text-decoration:none;border-bottom:1px solid var(--line)}
.link:hover{border-color:var(--text)}
.modebar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.seg,.ranges{display:inline-flex;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:3px;gap:2px}
.seg button,.ranges button{font:500 13px Inter,system-ui,sans-serif;color:var(--text-2);background:none;border:0;padding:7px 14px;border-radius:7px;cursor:pointer}
.ranges button{padding:5px 10px;font-size:12px}
.seg button[aria-selected="true"],.ranges button[aria-selected="true"]{background:var(--text);color:var(--surface)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:var(--shadow)}
.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.card-head p{margin:3px 0 0}
.sub-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:18px 0 6px}
.note{font-size:12px;color:var(--muted);margin:12px 0 0}

/* hero */
.hero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:28px;align-items:stretch}
.hero-l{display:flex;flex-direction:column;justify-content:space-between;gap:14px}
.hero-kicker{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;display:flex;align-items:center;gap:7px}
.lock{width:13px;height:13px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6}
.lock rect{fill:currentColor;stroke:none;opacity:.9}
.vs{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:14px}
.vs .who{font-size:12.5px;color:var(--text-2);display:flex;align-items:center;gap:6px}
.vs .num{font:600 40px/1.05 var(--mono);letter-spacing:-.03em;margin-top:4px}
.vs .num.bench{color:var(--text-2)}
.vs .x{color:var(--muted);font-size:13px;padding-bottom:10px}
.lead{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:var(--surface-2)}
.lead.up{background:var(--pos-bg)} .lead.down{background:var(--neg-bg)}
.lead .big{font:600 20px var(--mono);white-space:nowrap}
.lead .txt{font-size:13px;color:var(--text-2)}
.k10{font-size:13px;color:var(--text-2);line-height:1.45}
.k10 b{font-family:var(--mono);color:var(--text)}
.sw{display:inline-block;width:10px;height:10px;border-radius:3px;flex:none}
.sw.line{width:14px;height:3px;border-radius:2px}
.pbars{display:flex;flex-direction:column;gap:9px;justify-content:center}
.pbars .ph{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:2px}
.prow{display:grid;grid-template-columns:44px 1fr 118px;align-items:center;gap:10px}
.prow .lab{font:600 12px var(--mono);color:var(--text-2)}
.prow .bars{display:flex;flex-direction:column;gap:3px;position:relative}
.prow .bar{height:9px;border-radius:0 4px 4px 0;min-width:2px}
.prow .bar.neg{border-radius:4px 0 0 4px}
.prow .track{position:relative;height:9px}
.prow .zero{position:absolute;top:-2px;bottom:-2px;width:1px;background:var(--line)}
.prow .val{font:12px var(--mono);text-align:right;color:var(--text-2);white-space:nowrap}
.prow .val b{font-weight:600}

/* charts */
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;color:var(--text-2);margin:-4px 0 8px}
.legend span{display:inline-flex;align-items:center;gap:6px}
.chart{height:300px;position:relative}
.chart.excess{height:120px}
.chart svg{width:100%;height:100%;display:block;overflow:visible}
.chart .grid{stroke:var(--grid)} .chart .zero{stroke:var(--muted);stroke-width:1}
.chart .axis{fill:var(--muted);font:11px var(--mono)}
.chart .ln{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.chart .ln.index{stroke:var(--s-index)} .chart .ln.picks{stroke:var(--s-picks)} .chart .ln.bench{stroke:var(--s-bench);stroke-dasharray:4 3}
.chart .ln.dim{opacity:.28}
.chart .area{opacity:.10}
.chart .endlab{font:600 11px var(--mono);fill:var(--text)}
.chart .endlab .en{font:500 11px Inter,system-ui,sans-serif;fill:var(--text-2)}
.chart .endlab.main{font-size:12px}
.chart .enddot{stroke:var(--surface);stroke-width:2}
.chart .cross{stroke:var(--muted);stroke-dasharray:3 3}
.chart .hdot{stroke:var(--surface);stroke-width:2}
.chart .ex-pos{fill:var(--pos);opacity:.2} .chart .ex-neg{fill:var(--neg);opacity:.2}
@media (prefers-color-scheme:dark){:root:where(:not([data-theme="light"])) .chart .ex-pos,:root:where(:not([data-theme="light"])) .chart .ex-neg{opacity:.16}}
:root[data-theme="dark"] .chart .ex-pos,:root[data-theme="dark"] .chart .ex-neg{opacity:.16}
.chart .ex-line{fill:none;stroke:var(--text-2);stroke-width:1.5}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.stat{background:var(--surface-2);border-radius:12px;padding:11px 13px}
.stat .sl{font-size:11.5px;color:var(--muted);font-weight:500}
.stat .sv{font:600 21px/1.25 var(--mono);letter-spacing:-.02em;margin-top:2px}
.stat .ss{font-size:11.5px;color:var(--text-2);margin-top:1px}
.chart.months{height:190px}
.chart .mb.pos{fill:var(--pos)} .chart .mb.neg{fill:var(--neg)}
.chart .mb{transition:opacity .12s} .chart .mb.partial{opacity:.45}
.chart.hovering .mb:not(.hov){opacity:.3}
.chart .mlab{font:600 11px var(--mono);fill:var(--text)}
.chart .axis.yr{fill:var(--text-2);font-weight:600}
.chart .hit{fill:transparent;cursor:crosshair}
.empty{height:100%;display:grid;place-items:center;color:var(--muted);font-size:14px;text-align:center;padding:0 16px;border:1px dashed var(--line);border-radius:12px}

/* leaderboard */
.beat{font-size:12.5px;font-weight:600;padding:5px 10px;border-radius:999px;background:var(--surface-2);white-space:nowrap}
.leader{display:flex;flex-direction:column;gap:6px;position:relative}
.lrow,.lhead{display:grid;grid-template-columns:120px 1fr 74px 64px;align-items:center;gap:12px;padding:3px 0;border-radius:8px}
.lrow:hover{background:var(--surface-2)}
.lrow .nm{display:flex;align-items:center;gap:8px;font-weight:600;font-size:13.5px;padding-left:6px}
.lrow .nm small{font-weight:500;color:var(--muted);font-size:11px}
.lrow .trk{position:relative;height:18px}
.lrow .b{position:absolute;top:3px;height:12px}
.lrow .b{border-radius:0 4px 4px 0}
.lrow .b.l{border-radius:4px 0 0 4px}
.lrow .b.win{background:var(--pos)} .lrow .b.lag{background:var(--lagc)}
.lrow .d{font:12px var(--mono);color:var(--text-2);text-align:right;padding-right:6px;white-space:nowrap}
.lhead{font-size:11px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:0 0 2px}
.lhead span:first-child{padding-left:6px} .lhead span:nth-child(3),.lhead span:nth-child(4){text-align:right;padding-right:6px}
.lleg{margin:0 0 10px}
.lrow .v{font:600 13px var(--mono);text-align:right;padding-right:6px}
.lrow .z{position:absolute;top:-3px;bottom:-3px;width:1px;background:var(--text-2);opacity:.5}
.refline{position:absolute;top:18px;bottom:-4px;width:0;border-left:1.5px dashed var(--s-bench);pointer-events:none}
.reflab{position:absolute;top:-18px;transform:translateX(-50%);font:600 11px var(--mono);color:var(--text-2);white-space:nowrap;background:var(--surface);padding:0 4px}
.leader-wrap{padding-top:22px;display:flex;flex-direction:column;gap:6px}

/* groups */
.groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.gcard{border:1px solid var(--line);border-radius:12px;padding:12px 14px;position:relative;overflow:hidden}
.gcard::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--gc)}
.gcard .gn{font-size:13px;font-weight:600}
.gcard .gw{font-size:12px;color:var(--muted)}
.gcard .gv{font:600 22px/1.2 var(--mono);margin-top:6px}
.gcard .gs{font-size:11.5px;color:var(--muted)}
.gcard .gt{font-size:11.5px;color:var(--text-2);margin-top:6px}

/* table */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -20px;padding:0 20px}
table{width:100%;border-collapse:collapse;font-size:13px;min-width:860px}
th,td{padding:9px 6px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--line)}
th{font-size:11px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.05em;background:var(--surface)}
th:first-child,td:first-child{text-align:left;position:sticky;left:0;background:var(--surface);z-index:1}
td{font-family:var(--mono);font-size:12px}
td.sym{font-family:Inter,system-ui,sans-serif;font-weight:600;font-size:13px}
td.sym small{font-weight:500;color:var(--muted);font-size:10px;margin-left:6px;border:1px solid var(--line);border-radius:4px;padding:0 4px}
.wcell{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.wbar{width:40px;height:6px;border-radius:3px;background:var(--line);overflow:hidden}
.wbar i{display:block;height:100%}
.pos{color:var(--pos)} .neg{color:var(--neg)}
td.pos{background:var(--pos-bg)} td.neg{background:var(--neg-bg)}
tr.group td{background:var(--surface-2);font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:600}
tr.group td.gnum{font-family:var(--mono);font-weight:500}
tr.group td:first-child{background:var(--surface-2)}
tfoot td{font-weight:600;border-bottom:none;border-top:2px solid var(--line)}
.na{color:var(--muted)}
.gdot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:8px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:13px}
.chip b{font-weight:600} .chip span{color:var(--muted);font-family:var(--mono);font-size:12px;margin-left:6px}
.foot{font-size:13px;margin-top:8px;padding:0 2px}
.foot p{margin:0 0 8px;max-width:760px}
.tip{position:fixed;pointer-events:none;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 10px;font:12px/1.6 var(--mono);color:var(--text);box-shadow:0 6px 20px rgba(0,0,0,.14);z-index:10;min-width:160px}
.tip .tr{display:flex;align-items:center;gap:16px;justify-content:space-between}
.tip .tr span:first-child{display:inline-flex;align-items:center;gap:6px;color:var(--text-2)}
.tip .td{color:var(--muted);margin-bottom:2px}

@media (max-width:820px){
  .hero{grid-template-columns:1fr;gap:18px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vs .num{font-size:32px}
}
@media (max-width:600px){
  .card{padding:15px;border-radius:14px} .table-wrap{margin:0 -15px;padding:0 15px}
  .chart{height:230px} .chart.excess{height:100px}
  .vs .num{font-size:26px}
  .lrow,.lhead{grid-template-columns:74px 1fr 60px;gap:8px}
  .lrow .d,.lhead .d{display:none}
  .chart.months{height:160px}
  .stat .sv{font-size:18px}
  .lead .big{font-size:17px}
  .prow{grid-template-columns:38px 1fr 104px}
}
