:root { --bg:#0f1417; --card:#182026; --line:#2a353d; --text:#e8eef1; --muted:#93a3ad; --home:#3fb68b; --draw:#8a99a3; --away:#e0a23f; --bad:#ff8f8f; color-scheme:dark; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.5 system-ui,sans-serif; }
main { max-width:780px; margin:0 auto; padding:24px 16px 48px; }
h1 { margin:0 0 4px; } h2 { font-size:1.05rem; margin:20px 0 8px; } h3 { font-size:.95rem; margin:16px 0 6px; }
.muted { color:var(--muted); } .small { font-size:.85rem; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:16px; margin-top:16px; }
label { display:block; font-size:.85rem; color:var(--muted); margin-bottom:4px; }
select, button { font:inherit; color:inherit; background:var(--bg); border:1px solid var(--line); border-radius:8px; min-height:44px; padding:8px 12px; width:100%; }
button { cursor:pointer; }
#go { margin-top:12px; background:var(--home); border-color:var(--home); color:#06231a; font-weight:600; }
:focus-visible { outline:2px solid var(--home); outline-offset:2px; }
.matches { display:grid; gap:6px; max-height:300px; overflow:auto; }
.matches button { text-align:left; }
.pair { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.pair > * { min-width:0; }
.bar { display:flex; height:14px; border-radius:7px; overflow:hidden; margin:12px 0 8px; }
.bar i:nth-child(1) { background:var(--home); } .bar i:nth-child(2) { background:var(--draw); } .bar i:nth-child(3) { background:var(--away); }
.odds { display:grid; grid-template-columns:repeat(3,1fr); text-align:center; gap:8px; }
.odds b { display:block; font-size:1.6rem; }
ul { margin:0; padding-left:18px; } li { margin-bottom:4px; overflow-wrap:anywhere; }
a { color:var(--home); }
.W { color:var(--home); } .L { color:var(--bad); } .D { color:var(--draw); }
#status { min-height:1.5em; }
.warn { color:var(--away); }
@media (max-width:560px) { .pair { grid-template-columns:1fr; } .odds b { font-size:1.3rem; } }
