/* Sunday Gridiron Challenge 2026 — unified black / white / gold theme.
   Visual only. No database or game calculations. */
:root{--sgc-bg:#090909;--sgc-card:#191919;--sgc-deep:#111111;--sgc-gold:#d8ad4d;--sgc-gold-light:#f2d38a;--sgc-line:#39332a;--sgc-text:#f7f4eb;--sgc-muted:#c3bba8;color-scheme:dark}
html{background:var(--sgc-bg)}
body,body.series-sgc{background:var(--sgc-bg)!important;color:var(--sgc-text)!important;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;line-height:1.55}
body header:not(.sgc-site-header){background:var(--sgc-deep)!important;color:var(--sgc-text)!important}
main{max-width:1200px!important;margin-inline:auto!important}
h1,h2,h3,h4{color:var(--sgc-text)!important;letter-spacing:-.015em}
h1{font-weight:850}h2{font-weight:780}h3{color:var(--sgc-gold-light)!important}
p,li,label,strong,b{color:inherit} a,a:visited{color:var(--sgc-gold-light)!important}a:hover{color:#fff!important}
.panel,.hero,.match,.team,.division,.stat,details.week,.league-hero{background:var(--sgc-card)!important;color:var(--sgc-text)!important;border:1px solid var(--sgc-line)!important;box-shadow:0 8px 26px rgba(0,0,0,.17)!important;border-radius:12px!important}
.hero,.league-hero{border-top:3px solid var(--sgc-gold)!important}
.division,.team,.stat{background:#202020!important}
.subtle,.sub,.muted,.small,.wc-note,.weekstamp,.wildcard-intro,.league-hero p{color:var(--sgc-muted)!important}
.scroll{max-width:100%;overflow-x:auto!important}
/* White data tables, matching the earlier SGC presentation. */
table{border-collapse:collapse!important;background:#fff!important;color:#182436!important}
th,table.schedule th{background:#252525!important;color:#fff!important;border-color:#d2d7df!important}
td,table.schedule td{background:#fff!important;color:#182436!important;border-color:#d5dbe3!important}
tbody tr:nth-child(even) td{background:#f6f7f9!important}
tbody tr:hover td{background:#fff4d8!important}
td.team{color:#182436!important}
.winner,.winner td,td.winner,.wildcard-position td:first-child,tbody tr:first-child td:first-child{color:#604307!important;background:#fff0bc!important}
.lost,td.lost{background:#f3f4f7!important;color:#495568!important}
/* Table links remain readable on white, without changing gold navigation. */
table a,table a:visited{color:#76500d!important;text-decoration:underline}
table a:hover{color:#342404!important}
.chip,.pill,.weeklinks a,.weeklinks a.active{background:#302717!important;color:var(--sgc-gold-light)!important;border:1px solid #655027!important}
.notice,.empty,.error,.ok{background:#31261b!important;color:#fff0d3!important;border:1px solid #7e6031!important}
input,select,textarea{background:#101010!important;color:#fff!important;border:1px solid #766039!important;border-radius:8px!important}input::placeholder,textarea::placeholder{color:#aaa!important}option{background:#171717;color:#fff}input:focus,select:focus,textarea:focus{outline:2px solid var(--sgc-gold)!important;outline-offset:1px}
button,.btn,a.btn,button[type=submit]{background:var(--sgc-gold)!important;color:#111!important;border:1px solid var(--sgc-gold)!important;border-radius:8px!important;font-weight:750!important;cursor:pointer}button:hover,.btn:hover,a.btn:hover{background:#f0c66b!important;color:#000!important}button:disabled{opacity:.5;cursor:not-allowed}
.danger,button[style*="background:#a42a29"]{background:#9c3434!important;color:white!important;border-color:#a94343!important}
.line{border-bottom-color:#34302a!important}.points{color:var(--sgc-gold-light)!important}
.toplinks a,.nav a,nav a,.league-nav a{color:var(--sgc-gold-light)!important}
.sgc-site-header{background:#090909!important;border-bottom:2px solid var(--sgc-gold)!important;padding:14px max(16px,calc((100vw - 1200px)/2))!important}
.sgc-header-inner{max-width:1200px;margin:auto;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.sgc-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:#fff!important;min-width:0}
.sgc-brand img{height:62px;width:auto;max-width:180px;object-fit:contain}
.sgc-brand-label{display:flex;flex-direction:column;line-height:1.2}.sgc-brand-label strong{font-weight:850;color:#fff}.sgc-brand-label small{color:var(--sgc-gold-light);font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;margin-top:4px}
.sgc-nav{margin-left:auto;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.sgc-nav a{padding:8px 9px;border-radius:7px;font-size:13px;font-weight:720;text-decoration:none!important;color:#f1e8d5!important;white-space:nowrap}
.sgc-nav a:hover{background:#2b2518;color:var(--sgc-gold-light)!important}
.sgc-nav .sgc-home{background:var(--sgc-gold)!important;color:#111!important;padding:9px 13px;font-weight:850}
.sgc-nav .sgc-home:hover{background:#f5ce73!important;color:#111!important}
.sgc-page-back{display:inline-flex;align-items:center;margin:12px 0 4px;padding:7px 0;font-weight:750;text-decoration:none!important;color:var(--sgc-gold-light)!important}
.sgc-page-back:hover{text-decoration:underline!important}
.sgc-site-header + main{padding-top:16px}
@media(max-width:720px){.sgc-site-header{padding:12px!important}.sgc-header-inner{gap:10px}.sgc-brand img{height:48px}.sgc-brand-label strong{font-size:13px}.sgc-nav{margin-left:0;width:100%;gap:3px;justify-content:flex-start}.sgc-nav a{font-size:12px;padding:8px 7px}.sgc-nav .sgc-home{padding:8px 10px}main{padding:12px!important}.panel,.hero,.match{padding:15px!important}table{font-size:12px}th,td{padding:8px 6px!important}}
