:root { color-scheme: light; --ink:#272923; --muted:#6d6b61; --line:#d9d2c5; --panel:#fcf9f2; --canvas:#f4eee3; --wash:#ece5d8; --accent:#365b4c; --accent-soft:#e5eadd; --danger:#a13f32; --font:"Helvetica Neue","Aptos","Segoe UI",Arial,sans-serif; --editorial:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif; }
* { box-sizing:border-box; scrollbar-color:#aaa394 var(--wash); }
[hidden] { display:none!important; }
body { margin:0; min-width:320px; background:var(--canvas); color:var(--ink); font:14px/1.45 var(--font); -webkit-font-smoothing:antialiased; }
button,input { font:inherit; }
button { cursor:pointer; touch-action:manipulation; }
button:disabled { opacity:.5; cursor:wait; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
::selection { background:#d9dfcc; }
.skip-link { position:fixed; top:-80px; left:20px; z-index:100; padding:10px; background:var(--ink); color:var(--panel); }
.skip-link:focus { top:12px; }
.topbar { display:flex; align-items:center; gap:46px; min-height:86px; padding:0 36px; border-top:3px solid var(--ink); border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand-mark { display:grid; place-items:center; width:49px; height:49px; border:1px solid var(--ink); border-radius:50%; font:22px var(--editorial); }
.brand strong { display:block; font-size:13px; letter-spacing:.16em; }
.brand div span { display:block; margin-top:3px; font-size:8px; letter-spacing:.2em; color:var(--muted); }
nav { align-self:stretch; display:flex; align-items:center; border-bottom:2px solid var(--ink); font-size:12px; }
.connection { margin-left:auto; display:flex; align-items:center; gap:8px; color:var(--muted); font-size:11px; }
.status-dot { width:7px; height:7px; border-radius:50%; background:#a29b8e; }
.status-dot.live { background:var(--accent); box-shadow:0 0 0 3px #365b4c15; }
.status-dot.error { background:var(--danger); }
main { max-width:1800px; margin:0 auto; padding:36px; }
.heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:30px; }
.eyebrow { margin:0 0 8px; font-size:10px; font-weight:600; color:var(--accent); letter-spacing:.15em; }
h1 { margin:0; font:400 40px/1.15 var(--editorial); letter-spacing:-.035em; }
.subtitle { margin:10px 0 0; color:var(--muted); font-size:12px; }
.button { padding:11px 16px; border:1px solid var(--ink); border-radius:3px; color:var(--panel); background:var(--ink); font-size:12px; font-weight:500; white-space:nowrap; }
.button:hover { background:#474940; }
.summary { display:grid; grid-template-columns:1.1fr 1fr 1fr 1.2fr; border-top:1px solid var(--ink); border-bottom:1px solid var(--line); }
.summary>div { margin:20px 0; padding:0 24px; border-right:1px solid var(--line); }
.summary>div:first-child { padding-left:0; }
.summary>div:last-child { border-right:0; }
.summary span { display:block; color:var(--muted); font-size:10px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; }
.summary strong { display:block; margin:10px 0 7px; font-size:29px; font-weight:400; letter-spacing:-.045em; font-variant-numeric:tabular-nums; }
.summary small { color:var(--muted); font-size:11px; }
#selectedCount { color:var(--accent); }
#lastSync { font-size:25px; line-height:42px; margin:3px 0 1px; }
.filters { display:flex; gap:18px; align-items:center; padding:22px 0; min-height:106px; }
.picker-wrap { position:relative; flex-shrink:0; width:280px; }
.picker-wrap>label { display:block; color:var(--muted); font-size:11px; margin-bottom:7px; }
.picker-toggle { width:100%; display:flex; justify-content:space-between; align-items:center; padding:10px 12px; border:1px solid var(--line); border-radius:3px; background:var(--panel); color:var(--ink); text-align:left; font-size:12px; }
.picker-toggle:hover { border-color:#aaa394; }
.picker { position:absolute; z-index:20; top:100%; left:0; width:365px; max-width:calc(100vw - 40px); margin-top:7px; padding:12px; border:1px solid var(--line); border-radius:3px; background:var(--panel); box-shadow:0 16px 48px #302c2426; }
.picker input[type=search] { width:100%; height:38px; padding:0 10px; border:1px solid var(--line); border-radius:3px; background:var(--canvas); color:var(--ink); font-size:12px; }
.picker-toolbar { display:flex; justify-content:space-between; align-items:center; margin:12px 2px 8px; color:var(--muted); font-size:10px; }
.text-button { border:0; padding:2px; color:var(--accent); background:transparent; font-size:11px; }
.text-button:hover { text-decoration:underline; }
.options { max-height:300px; overflow:auto; }
.option { display:flex; align-items:center; gap:10px; padding:10px 6px; border-top:1px solid #e5dfd3; cursor:pointer; }
.option:hover { background:var(--wash); }
.option input { accent-color:var(--accent); width:15px; height:15px; flex-shrink:0; }
.option strong { display:block; font-size:12px; font-weight:500; }
.option small { display:block; margin-top:3px; color:var(--muted); font-size:10px; }
.picker-empty { color:var(--muted); padding:20px 6px; font-size:12px; }
.chips { display:flex; flex-wrap:wrap; gap:6px; padding-top:22px; }
.chip { display:flex; align-items:center; gap:8px; padding:5px 8px; border:1px solid #cbd3c2; border-radius:3px; background:var(--accent-soft); color:var(--accent); font-size:11px; }
.chip button { padding:0 2px; border:0; background:none; color:inherit; font-size:16px; line-height:1; }
.filter-note { margin-left:auto; color:var(--muted); font-size:11px; white-space:nowrap; padding-top:22px; }
.board-panel { border:1px solid var(--line); background:var(--panel); }
.board-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 18px; border-bottom:1px solid var(--line); font-size:12px; }
.board-toolbar strong { font-weight:500; margin-right:16px; }
.muted { color:var(--muted); font-size:11px; }
.legend { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:10px; }
.legend i { width:7px; height:7px; border-radius:1px; background:var(--accent-soft); border:1px solid #becbb1; }
.table-scroll { overflow:auto; max-height:65vh; }
table { width:100%; min-width:990px; border-collapse:separate; border-spacing:0; table-layout:fixed; }
th { position:sticky; top:0; z-index:2; padding:15px 12px; color:var(--muted); background:var(--wash); border-bottom:1px solid var(--line); font-size:10px; letter-spacing:.045em; text-transform:uppercase; text-align:left; }
td { padding:16px 12px; border-bottom:1px solid #e5dfd3; background:var(--panel); font-variant-numeric:tabular-nums; }
tr:last-child td { border-bottom:0; }
.player-cell { width:240px; position:sticky; left:0; z-index:1; border-right:1px solid var(--line); }
th.player-cell { z-index:3; }
.player-name { display:block; font-size:13px; font-weight:500; }
.game-meta { display:block; margin-top:6px; color:var(--muted); font-size:10px; }
.line { font-size:20px; font-weight:400; }
th:nth-child(2) { width:95px; }
.quote { display:flex; justify-content:space-between; align-items:center; padding:4px 7px; margin:2px 0; border:1px solid transparent; border-radius:2px; font-size:13px; }
.quote small { color:var(--muted); font-size:10px; }
.quote.best { color:var(--accent); background:var(--accent-soft); border-color:#d3dbc9; }
.quote.best small { color:var(--accent); }
.quote.changed { animation:flash 1.5s ease-out; }
@keyframes flash { from { background:#ddd0ac; } }
.unavailable { color:#aaa394; display:block; text-align:center; font-size:16px; }
.empty { min-height:315px; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:40px 20px; text-align:center; }
.empty-symbol { font-size:38px; color:#8a9880; font-weight:300; line-height:1; }
.empty h2 { margin:20px 0 8px; font:400 25px var(--editorial); letter-spacing:-.02em; }
.empty p { margin:0; max-width:410px; font-size:12px; line-height:1.85; color:var(--muted); }
.board-footer { display:flex; justify-content:space-between; gap:12px; padding:13px 18px; border-top:1px solid var(--line); color:var(--muted); font-size:10px; }
.board-footer>span:first-child { letter-spacing:.07em; }
.board-footer span span { padding:0 8px; }
.page-footer { display:flex; justify-content:space-between; gap:12px; margin-top:20px; color:var(--muted); font-size:10px; }
.page-footer>span:first-child { letter-spacing:.12em; }
.notice { margin-bottom:20px; padding:12px 15px; border:1px solid #d5b7aa; background:#f4e5da; color:var(--danger); font-size:12px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:850px) { .topbar { padding:0 20px; gap:24px; } main { padding:26px 20px; } .brand div { display:none; } .heading { align-items:flex-start; } h1 { font-size:34px; } .summary { grid-template-columns:1fr 1fr; } .summary>div:nth-child(3) { padding-left:0; } .summary>div:nth-child(2) { border-right:0; } .summary>div { margin:16px 0; } .filters { flex-wrap:wrap; gap:10px; } .filter-note { display:none; } .chips { padding-top:0; } }
@media(max-width:550px) { .topbar { flex-wrap:wrap; gap:16px; min-height:74px; } .brand-mark { width:38px; height:38px; font-size:18px; } nav { font-size:11px; } .connection { font-size:10px; gap:5px; max-width:100px; } .heading { flex-direction:column; gap:18px; } .heading .button { width:100%; } .summary strong { font-size:25px; } .summary small { font-size:10px; } #lastSync { font-size:21px; } .picker-wrap { width:100%; } .picker { width:100%; } .board-toolbar { padding:12px; } .legend { font-size:9px; } .board-toolbar strong { margin-right:7px; } .board-footer,.page-footer { flex-direction:column; gap:5px; } }
@media(prefers-reduced-motion:reduce) { .quote.changed { animation:none; } }
