:root {
  color-scheme:dark; --bg:#111a16; --panel:#18241d; --panel-soft:#1d2b22; --deep:#0f1813;
  --line:#334337; --text:#edf5ee; --muted:#a9baad; --mint:#b9fa79; --mint-text:#15280c;
  --warning:#f8d281; --r:20px; --max:1110px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:0;background:var(--bg);color:var(--text);font:1rem/1.53 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select{font:inherit}
a{color:inherit;text-decoration:none}
button{color:inherit}
a:hover{text-decoration:underline;text-underline-offset:.2em}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
.wrap{width:min(calc(100% - 3rem),var(--max));margin-inline:auto}
.skip{position:absolute;left:1rem;top:1rem;transform:translateY(-200%);background:var(--mint);color:var(--mint-text);z-index:5;padding:.55rem .85rem}
.skip:focus{transform:none}
.masthead{border-bottom:1px solid var(--line);background:#121c16}
.mast-inner{display:flex;align-items:center;gap:2rem;min-height:88px}
.brand{display:inline-flex;align-items:center;gap:.7rem;white-space:nowrap;font-size:1.04rem;line-height:1.18;font-weight:720;letter-spacing:-.03em}
.brand:hover{text-decoration:none}
.brand strong{color:var(--mint)}
.brand small{display:block;color:var(--muted);font-size:.7rem;font-weight:600;letter-spacing:.02em;margin-top:.3rem}
.brand-icon{width:42px;height:42px;flex:none}
.brand-icon rect{fill:#243b24;stroke:#4a6948}
.brand-icon path{stroke:var(--mint);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tabs{display:flex;gap:.25rem;flex:1}
.tabs a{padding:.52rem .7rem;border-radius:8px;white-space:nowrap;color:var(--muted);font-size:.88rem;font-weight:650}
.tabs a:hover,.tabs a[aria-current=page]{background:#263b28;color:var(--text);text-decoration:none}
.tabs a[aria-current=page]{color:var(--mint)}
.freshness{color:var(--muted);white-space:nowrap;font-size:.73rem}
.freshness::before{content:"";display:inline-block;margin-right:.45rem;width:.45rem;height:.45rem;border-radius:50%;background:var(--mint);vertical-align:.07rem}
.page{min-height:60vh;padding-block:2rem 3.25rem}
.hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(1.45rem,4.6vw,3rem);background:linear-gradient(112deg,#244029 0%,#1b2c21 62%,#263d2a 100%);border:1px solid #3c573b;border-radius:var(--r)}
.hero::after{content:"";position:absolute;z-index:-1;right:3.5%;top:50%;width:40%;height:68%;min-height:130px;transform:translateY(-50%) rotate(-12deg);border:1px solid #456341;border-radius:12px;background:linear-gradient(90deg,transparent 49.8%,#456341 50%,transparent 50.2%),radial-gradient(circle,#0000 18%,#456341 18.5%,#0000 19%);opacity:.48;pointer-events:none}
.kicker{margin:0 0 .45rem;color:var(--mint);font-size:.76rem;letter-spacing:.075em;font-weight:750}
.hero h1,.page-head h1{font-size:clamp(2rem,4.7vw,3.8rem);letter-spacing:-.06em;line-height:1.02;margin:.15rem 0 .85rem;max-width:23ch}
.hero p:not(.kicker),.page-head p:not(.kicker){max-width:62ch;margin:.4rem 0 0;color:#d0dfd1}
.hero-meta{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.25rem}
.hero-meta span,.pill,.tiny-label{display:inline-block;border:1px solid #48614b;border-radius:100px;padding:.2rem .55rem;color:#d4e4d3;font-size:.72rem;font-weight:650}
.section{margin-top:2.1rem}
.section h2{margin:0;font-size:clamp(1.25rem,3vw,1.8rem);letter-spacing:-.035em;line-height:1.15}
.section-note{margin:.35rem 0 1rem;color:var(--muted);font-size:.86rem}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.pick,.league-card,.panel,.notice{min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.pick{padding:1rem 1.1rem}
.pick-top{display:flex;justify-content:space-between;align-items:baseline;gap:.7rem;font-size:.76rem;color:var(--muted)}
.pick-top a{color:var(--mint);font-weight:680}
.pick h3{font-size:1rem;margin:.5rem 0 .36rem;line-height:1.27;overflow-wrap:anywhere}
.pick p{margin:0;color:#d4dfd4;font-size:.85rem}
.meter-line{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;margin-top:.85rem;color:var(--muted);font-size:.76rem}
.meter-line strong{font-size:1.3rem;line-height:1;color:var(--mint);font-variant-numeric:tabular-nums}
progress{display:block;width:100%;height:.28rem;margin-top:.45rem;border:0;border-radius:100px;overflow:hidden;appearance:none;background:#344438}
progress::-webkit-progress-bar{background:#344438}
progress::-webkit-progress-value{background:var(--mint);border-radius:100px}
progress::-moz-progress-bar{background:var(--mint);border-radius:100px}
.notice{padding:1rem 1.1rem;color:var(--muted)}
.notice.warning{border-color:#685736;color:var(--warning);margin-top:1rem}
.notice p{margin:.3rem 0}
.page-head{padding:.35rem 0}
.page-head h1{font-size:clamp(1.9rem,4.4vw,3.3rem)}
.filters{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.1rem 0 .35rem}
.filter{display:flex;flex-direction:column;gap:.25rem;color:var(--muted);font-size:.78rem}
.filter input,.filter select{background:var(--panel);color:var(--text);border:1px solid var(--line);padding:.53rem .65rem;border-radius:9px;min-height:42px}
.filter input{width:min(72vw,330px)}
.button{display:inline-flex;justify-content:center;align-items:center;border:1px solid #4e674e;border-radius:9px;padding:.45rem .72rem;min-height:42px;background:#243927;color:var(--mint);font-size:.86rem;font-weight:680;cursor:pointer}
.button:hover{background:#304937;text-decoration:none}
.league-group{margin:1.25rem 0}
.league-group h2{font-size:.95rem;color:var(--muted);margin:0 0 .45rem}
.league-card{display:flex;align-items:center;justify-content:space-between;gap:.4rem;padding:1rem;min-height:80px}
.league-card span{display:block;color:var(--muted);font-size:.74rem;margin-top:.2rem}
.league-card b{color:var(--mint);font-size:1.15rem}
.quick-list{display:flex;flex-wrap:wrap;gap:.4rem;margin:.75rem 0 0}
.quick-list a{background:var(--panel);border:1px solid var(--line);border-radius:100px;padding:.25rem .55rem;font-size:.75rem}
.day{margin:1rem 0}
.day h3{font-size:.86rem;color:var(--muted);margin:0 0 .35rem}
.match-list{list-style:none;padding:0;margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
.match-row{display:grid;grid-template-columns:1fr minmax(54px,auto);align-items:center;gap:1rem;padding:.68rem .85rem}
.match-row+.match-row{border-top:1px solid var(--line)}
.match-row strong{display:block;font-size:.9rem;line-height:1.25}
.match-row small{color:var(--muted)}
.match-score{text-align:center;min-height:1.7rem;padding:.05rem .45rem;background:var(--deep);border-radius:7px;color:var(--mint);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}
.table-scroll{border:1px solid var(--line);border-radius:12px;overflow:auto;background:var(--panel)}
table{width:100%;min-width:570px;border-collapse:collapse;font-size:.82rem;text-align:right;font-variant-numeric:tabular-nums}
th,td{padding:.65rem .7rem;white-space:nowrap}
tr>*:first-child{text-align:left}
thead{background:#26382a;color:var(--text)}
tbody tr+tr{border-top:1px solid var(--line)}
tbody th{color:var(--mint);font-weight:680}
.app-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:1.1rem;border-top:1px solid var(--line);padding-block:1.15rem 1.7rem;color:var(--muted);font-size:.76rem}
.app-footer p{margin:.2rem 0}
.app-footer a{text-decoration:underline;text-underline-offset:.2em}
@media(max-width:750px){
  .wrap{width:min(calc(100% - 1.7rem),var(--max))}
  .mast-inner{min-height:70px;gap:.65rem 1rem;flex-wrap:wrap;padding-top:.85rem}
  .tabs{order:3;flex:1 0 100%;gap:.25rem;padding-bottom:.5rem}
  .tabs a{min-height:42px;display:grid;align-items:center}
  .freshness{margin-left:auto}
  .page{padding-block:1.1rem 2.4rem}
  .grid{grid-template-columns:1fr}
  .hero::after{right:-16%;width:70%;opacity:.27}
}
@media(max-width:385px){.brand small{display:none}.brand-icon{width:32px;height:32px}.freshness{font-size:.62rem}.tabs a{font-size:.8rem;padding-inline:.57rem}.app-footer{display:block}.match-row{gap:.5rem}}
@media(prefers-reduced-motion:no-preference){a,button{transition:background-color .15s,color .15s}}
.install-button{flex:none;padding:.55rem .72rem;min-height:44px;border:1px solid #40774f;border-radius:8px;color:var(--mint);background:#263b28;font:inherit;font-size:.81rem;font-weight:700;cursor:pointer}
.install-button:hover{background:#34553a}
.install-button[hidden],.install-help[hidden]{display:none}
.install-help summary{cursor:pointer;font-weight:700}
.install-help p{margin:.65rem 0 0}
@media(min-width:751px) and (max-width:950px){.mast-inner{gap:.65rem}.freshness{display:none}}
