* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:Arial,sans-serif; background:#08111f; color:#fff; padding-bottom:30px; }
header { background:#102b24; text-align:center; padding:22px 10px; border-bottom:2px solid #00d084; }
.brand { color:#00e69a; font-size:24px; font-weight:bold; }
.live-label { margin-top:7px; color:#b9c9c4; font-size:12px; letter-spacing:1px; }
.live-label span { display:inline-block; width:8px; height:8px; border-radius:50%; background:#ff3434; margin-right:5px; }
.api-panel { background:#142235; margin:15px; padding:15px; border-radius:10px; }
.api-panel label,.season-label { display:block; color:#00e69a; font-size:12px; font-weight:bold; margin-bottom:7px; }
.key-row,.search-row { display:flex; gap:7px; align-items:center; }
.key-row input,.search-row input { flex:1; min-width:0; }
input,select { width:100%; padding:12px; margin:7px 0; border:1px solid #35465b; border-radius:6px; background:#091525; color:white; outline:none; }
button { background:#00c982; color:#061b14; border:0; padding:11px 15px; border-radius:6px; font-weight:bold; cursor:pointer; margin:5px 2px; }
button:active { opacity:.7; }
#apiStatus { display:block; color:#b9c9c4; font-size:12px; margin-top:9px; }
nav { display:flex; justify-content:center; flex-wrap:wrap; background:#101d2e; padding:10px 5px; }
nav button { flex:1; min-width:80px; }
nav button.active { background:#fff; color:#102b24; }
main { padding:15px; min-height:45vh; }
.page { display:none; }
.page.active { display:block; }
.page h1,.page h2 { color:#00e69a; margin-bottom:15px; font-size:22px; }
.refresh { margin:8px 0 14px; }
.results { margin-top:12px; }
.empty { color:#b9c9c4; background:#142235; padding:15px; border-radius:8px; }
.match-card,.info-card { background:#142235; border-left:4px solid #00d084; border-radius:8px; padding:15px; margin-bottom:12px; }
.match-card p,.info-card p { margin:7px 0; color:#d5e2df; }
.match-score { color:#00e69a; font-size:22px; font-weight:bold; text-align:center; margin:7px 0; }
.match-meta { color:#9eb2c8 !important; font-size:12px; }
table { width:100%; border-collapse:collapse; background:#142235; font-size:12px; margin-top:10px; }
th,td { padding:9px 5px; border-bottom:1px solid #35465b; text-align:center; }
th { background:#174a38; color:#00e69a; }
.table-wrap { overflow-x:auto; }
footer { text-align:center; color:#9eb2c8; font-size:12px; padding:25px 10px; }
footer p { margin-top:6px; }
@media(max-width:400px) { .brand{font-size:20px} nav button{font-size:10px;padding:10px 5px;min-width:65px} .key-row button{padding:11px 10px} }
