:root{--bg:#fff;--fg:#0a0a0a;--muted:#6b6b6b;--line:#ececec;--accent:#d4145a;--prob-a:#e11d48;--prob-draw:#bfc5ce;--prob-b:#2563eb;--bar-gap:4px;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--bg:#0a0a0a;--fg:#f2f2f2;--muted:#8a8a8a;--line:#1f1f1f;--accent:#ff5c8a;--prob-a:#ff5c8a;--prob-draw:#5f6875;--prob-b:#60a5fa}}:root[data-theme=light]{--bg:#fff;--fg:#0a0a0a;--muted:#6b6b6b;--line:#ececec;--accent:#d4145a;--prob-a:#e11d48;--prob-draw:#bfc5ce;--prob-b:#2563eb;--bar-gap:4px}:root[data-theme=dark]{--bg:#0a0a0a;--fg:#f2f2f2;--muted:#8a8a8a;--line:#1f1f1f;--accent:#ff5c8a;--prob-a:#ff5c8a;--prob-draw:#5f6875;--prob-b:#60a5fa;--bar-gap:4px}*{box-sizing:border-box}html,body{margin:0;padding:0}html{min-height:100%}body{background:var(--bg);color:var(--fg);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;flex-direction:column;min-height:100vh;font:15px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;display:flex}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.launch-splash{z-index:999;background:var(--bg);color:var(--fg);opacity:1;pointer-events:auto;place-items:center;transition:opacity .22s,visibility .22s;display:none;position:fixed;inset:0}:root[data-pwa-launch=true] .launch-splash{display:grid}:root.launch-splash-done .launch-splash{visibility:hidden;opacity:0;pointer-events:none}.launch-splash-inner{justify-items:center;gap:14px;display:grid;transform:translateY(-12px)}.launch-splash-icon{object-fit:contain;width:116px;height:116px}.launch-splash-meter{background:color-mix(in srgb, var(--fg) 14%, transparent);border-radius:999px;width:84px;height:2px;position:relative;overflow:hidden}.launch-splash-meter:before{content:"";border-radius:inherit;background:var(--accent);width:42%;animation:1.1s ease-in-out infinite launch-splash-meter;position:absolute;inset:0}@keyframes launch-splash-meter{0%{transform:translate(-105%)}55%,to{transform:translate(245%)}}.hdr{background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:saturate(180%)blur(12px);border-bottom:1px solid var(--line);z-index:10;position:sticky;top:0}.hdr-inner{justify-content:space-between;align-items:center;gap:12px;max-width:580px;margin:0 auto;padding:18px 20px;display:flex}.hdr-actions{flex:none;align-items:center;gap:8px;display:flex}.hdr-copy{min-width:0}.hdr-title{align-items:center;gap:6px;min-width:0;display:flex}.hdr-ball{object-fit:contain;flex:none;width:18px;height:18px}h1{letter-spacing:0;min-width:0;margin:0;font-size:18px;font-weight:600;line-height:1.2}.sub{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.35}[hidden],.hidden-by-filter{display:none!important}main{flex-direction:column;flex:1;width:100%;max-width:580px;margin:0 auto;padding:12px 20px 20px;display:flex}#tz-label{font-variant:small-caps;letter-spacing:.02em}.focused-mode{padding:4px 0 18px}.focused-mode-back{appearance:none;color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:4px;padding:0;font-size:12px;font-weight:700;line-height:1.2}.focused-mode-back:hover{text-decoration:none}.focused-mode-back:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.focused-mode-team{align-items:center;gap:10px;min-width:0;margin-top:12px;display:flex}.focused-mode-flag{flex:none;font-size:28px;line-height:1}.focused-mode-name{min-width:0;color:var(--fg);letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:20px;font-weight:650;line-height:1.2;overflow:hidden}.focused-mode-rank:empty{display:none}.focused-mode-meta{color:var(--muted);margin:4px 0 0 38px;font-size:13px;font-weight:600;line-height:1.35}.focused-mode.is-group .focused-mode-flag,.focused-mode.is-group .focused-mode-rank{display:none}.focused-mode.is-group .focused-mode-meta{margin-left:0}.focused-mode-link{appearance:none;color:var(--fg);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:4px;padding:0;font-weight:700}.focused-mode-link.is-filter{color:var(--fg)}.focused-mode-link:hover{text-decoration:none}.focused-mode-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.focused-mode-group{margin-top:18px}.focused-mode-group-table{border-collapse:collapse;width:100%;color:var(--fg);table-layout:fixed;font-size:12px;line-height:1.25}.focused-mode-group-team-col{width:auto}.focused-mode-group-stat-col{width:34px}.focused-mode-group-table th,.focused-mode-group-table td{text-align:right;vertical-align:middle;padding:6px 0}.focused-mode-group-table tbody tr:first-child td,.focused-mode-group-table tbody tr+tr td{border-top:1px solid var(--line)}.focused-mode-group-table th{color:var(--muted);font-weight:700}.focused-mode-group-table th:first-child,.focused-mode-group-table td:first-child{text-align:left}.focused-mode-group-table th:not(:first-child),.focused-mode-group-table td:not(:first-child){white-space:nowrap;padding-left:0}.focused-mode-group-table tbody td:last-child{font-weight:800}.focused-mode-group-team{appearance:none;color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:4px;align-items:center;gap:6px;min-width:0;max-width:100%;padding:0;display:inline-flex}.focused-mode-group-team.is-filter .focused-mode-group-name{color:var(--accent)}.focused-mode-group-team:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.focused-mode-group-team:active{transform:scale(.98)}.focused-mode-group-flag{flex:none;font-size:15px;line-height:1}.focused-mode-group-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:700;overflow:hidden}.focused-mode-group-rank{transform:translateY(0)}@media (hover:hover){.focused-mode-group-team:hover .focused-mode-group-name{color:var(--accent)}}.ftr{color:var(--muted);text-align:right;justify-items:end;gap:3px;margin-top:auto;padding:80px 0 20px;font-size:12px;line-height:1.2;display:grid}.ftr p{margin:0}.ftr-brand{align-items:center;gap:5px;display:inline-flex}.ftr-ball{object-fit:contain;width:12px;height:12px}.country-info{max-width:65ch;margin:14px 0 0 38px}.country-info-body{color:var(--fg);margin:0;font-size:14.5px;line-height:1.6}.country-info.can-toggle .country-info-body,.country-info.can-toggle .country-info-toggle{cursor:pointer}.country-info.can-toggle.is-collapsed .country-info-body{max-height:4.8em;position:relative;overflow:hidden}.country-info.can-toggle.is-collapsed .country-info-body:after{content:"";background:linear-gradient(to bottom, transparent, var(--bg));pointer-events:none;height:1.8em;position:absolute;bottom:0;left:0;right:0}.country-info-body:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.country-info-toggle{color:var(--fg);user-select:none;margin-top:7px;font-size:12px;font-weight:700;line-height:1.2;display:none}.country-info.can-toggle .country-info-toggle{display:inline-block}.country-info.can-toggle.is-expanded .country-info-toggle{display:none}@media (width<=520px){.hdr-inner{padding:14px 16px}main{padding:8px 16px 16px}.focused-mode{padding:4px 0 16px}.focused-mode-flag{font-size:26px}.focused-mode-name{font-size:18px}.focused-mode-meta{margin-left:36px}.country-info{margin-left:0}.focused-mode-group-stat-col{width:30px}.country-info-body{font-size:14px}}.theme-toggle,.home-screen-toggle{background:var(--bg);border:1px solid var(--line);cursor:pointer;width:38px;height:38px;color:var(--fg);-webkit-tap-highlight-color:transparent;border-radius:999px;flex:none;justify-content:center;align-items:center;transition:background-color .15s,color .15s,border-color .15s;display:flex}.theme-toggle:active,.home-screen-toggle:active{background:color-mix(in srgb, var(--fg) 7%, var(--bg));border-color:var(--muted)}.theme-toggle:focus-visible,.home-screen-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.theme-toggle svg,.home-screen-toggle svg{width:18px;height:18px}@media (hover:hover) and (pointer:fine){.home-screen-toggle{display:none!important}}:root[data-home-screen-debug=true] .home-screen-toggle{display:flex!important}.icon-sun{display:none}.icon-moon{display:block}@media (prefers-color-scheme:dark){.icon-sun{display:block}.icon-moon{display:none}}:root[data-theme=light] .icon-sun{display:none}:root[data-theme=light] .icon-moon,:root[data-theme=dark] .icon-sun{display:block}:root[data-theme=dark] .icon-moon,:root[data-debug-frame=true] .hdr-actions{display:none}:global(html.home-screen-scroll-lock),:global(body.home-screen-scroll-lock){overscroll-behavior-y:none;overflow:hidden}.home-screen-sheet{z-index:40;overscroll-behavior:none;position:fixed;inset:0}.home-screen-backdrop{opacity:0;touch-action:none;background:#0000006b;border:0;padding:0;transition:opacity .2s;position:absolute;inset:0}.home-screen-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:100%;max-width:580px;max-height:min(680px,100dvh - 12px);padding:8px 18px calc(18px + env(safe-area-inset-bottom));background:var(--bg);border:1px solid var(--line);color:var(--fg);will-change:transform;border-bottom:0;border-radius:8px 8px 0 0;margin:0 auto;transition:transform .24s cubic-bezier(.2,.8,.2,1);position:absolute;bottom:0;left:0;right:0;overflow-y:auto;transform:translateY(100%);box-shadow:0 -18px 56px #0000003d}.home-screen-panel:focus,.home-screen-panel:focus-visible{outline:none}.home-screen-sheet.is-open .home-screen-backdrop{opacity:var(--home-screen-backdrop-opacity,1)}.home-screen-sheet.is-open .home-screen-panel{transform:translate3d(0, var(--home-screen-drag-y,0px), 0)}.home-screen-sheet.is-dragging .home-screen-backdrop,.home-screen-sheet.is-dragging .home-screen-panel{transition:none}.home-screen-handle{background:color-mix(in srgb, var(--fg) 18%, transparent);touch-action:none;border-radius:999px;width:38px;height:4px;margin:0 auto 10px}.home-screen-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.home-screen-head h2{color:var(--fg);letter-spacing:0;margin:0;font-size:17px;font-weight:750;line-height:1.2}.home-screen-body{grid-template-columns:1fr;align-items:start;gap:20px;padding-top:14px;display:grid}.home-screen-preview{aspect-ratio:1320/442;object-fit:cover;border-radius:14px;width:100%;height:auto;display:block;box-shadow:0 12px 28px #0000003d}.home-screen-subtitle{color:var(--muted);text-align:center;margin:-8px 0 0;font-size:15px;font-weight:400;line-height:1.25}.home-screen-copy{min-width:0;padding:2px 0 6px}.home-screen-steps{color:var(--fg);gap:8px;margin:0;padding-left:20px;font-size:13.5px;line-height:1.38;display:grid}.home-screen-steps[hidden]{display:none}.home-screen-steps li::marker{color:var(--fg);font-weight:400}.home-screen-steps strong{color:var(--fg);font-weight:750}.home-screen-step-icon{vertical-align:-3px;width:16px;height:16px;color:var(--fg);margin:0 1px}.home-screen-primary{background:var(--accent);border:1px solid var(--accent);color:#fff;cursor:pointer;width:fit-content;min-width:84px;max-width:100%;min-height:42px;font:inherit;-webkit-tap-highlight-color:transparent;border-radius:8px;justify-content:center;align-items:center;margin:14px auto 0;padding:0 16px;font-size:14px;font-weight:750;line-height:1;display:flex}.home-screen-steps[hidden]+.home-screen-primary{margin-top:10px}.home-screen-primary[hidden]{display:none}.home-screen-primary:disabled{cursor:default;opacity:.52}.home-screen-primary:not(:disabled):active{transform:translateY(1px)}.home-screen-primary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.home-screen-note{color:var(--muted);font-size:12px;line-height:1.35;margin-top:10px!important}@media (width<=380px){.home-screen-panel{padding-left:16px;padding-right:16px}}@media (prefers-reduced-motion:reduce){.launch-splash,.launch-splash-meter:before{transition:none;animation:none}.launch-splash-meter:before{opacity:.68;width:100%}.home-screen-backdrop,.home-screen-panel{transition:none}}
