:root{color-scheme:light;--ink:#162720;--muted:#56665e;--line:#dfe6e0;--canvas:#f2f5f0;--green:#367051;--neon:#d6f689;--surface:#fff;--mono:"Consolas","Cascadia Mono",monospace;font-family:Inter,"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC",sans-serif}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--canvas);color:var(--ink);font-size:14px}
button,select{font:inherit;color:inherit}
button,select{cursor:pointer}
button:disabled,select:disabled{cursor:default;opacity:.55}
button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #367656;outline-offset:3px}
button,a,select{-webkit-tap-highlight-color:transparent}
a{color:inherit}
h1,h2,h3,p{margin:0}
.wrap{width:min(1320px,calc(100% - 80px));margin-inline:auto}
.masthead{background:#fff;border-bottom:1px solid var(--line)}
.masthead-inner,.brand,.official{display:flex;align-items:center}
.masthead-inner{min-height:71px;justify-content:space-between;gap:15px}
.brand{gap:12px;text-decoration:none;font-weight:800;line-height:1.3}
.brand small{display:block;font-size:11px;font-weight:500;color:var(--muted);margin-top:3px}
.brand-mark{background:#20382b;color:var(--neon);font:italic 900 20px/1 Arial,sans-serif;padding:11px 9px;border-radius:9px;letter-spacing:-.06em}
.official{gap:7px;text-decoration:none;font-weight:650;color:#365244;white-space:nowrap}
.official:hover,.text-link:hover{text-decoration:underline}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:250px;margin:26px 0 22px;padding:34px 36px;display:flex;align-items:flex-end;justify-content:space-between;gap:25px;background:linear-gradient(108deg,#14281e 18%,#214631 88%);border-radius:19px;color:#fff}
.hero-copy,.hero-status{position:relative;z-index:1}
.season{color:var(--neon);font:700 14px/1.3 var(--mono);letter-spacing:.09em;display:flex;align-items:center;gap:9px}
.season span{width:16px;height:3px;background:var(--neon)}
.hero h1{font-size:clamp(36px,5.1vw,74px);font-weight:950;letter-spacing:-.04em;line-height:1.09;margin:13px 0 14px}
.hero-sub{font:700 clamp(10px,1.2vw,15px)/1.3 var(--mono);letter-spacing:.12em;color:#c5d6ca}
.mobile-break{display:none}
.court{position:absolute;z-index:0;right:35px;top:4px;width:565px;height:251px;border:2px solid #b4ed9f;transform:rotate(-22deg) skewX(11deg);opacity:.25;background:repeating-linear-gradient(90deg,transparent 0 5px,#a2dc9420 5px 6px)}
.court::before,.court::after,.court i,.court b{content:"";position:absolute;inset:0 auto;width:1px;background:#b4ed9f}
.court::before{left:33.3%}.court::after{left:66.6%}.court i{left:50%;width:3px}.court b{inset:50% 0 auto;width:auto;height:1px;opacity:.55}
.hero-status{min-width:233px;padding:15px 17px;background:#14281de6;border:1px solid #7b9e7c70;border-radius:11px}
.hero-status p{display:flex;align-items:center;gap:9px;font-weight:750}
.hero-status small{display:block;color:#c6d6ca;margin-top:7px;font-size:11px}
.signal-dot{width:8px;height:8px;border-radius:50%;background:var(--neon);flex:none}
.live-area{margin:0 0 18px;padding:18px 20px;background:#e8f1dd;border:1px solid #cedbc5;border-radius:14px}
.live-area .section-heading{justify-content:flex-start}
.toolbar{display:flex;align-items:center;gap:20px;padding:12px;margin-bottom:18px;background:#fff;border:1px solid var(--line);border-radius:13px}
.segmented{display:flex;gap:3px;border-radius:9px;background:#edf1eb;padding:4px}
.segmented button{border:0;background:none;border-radius:6px;white-space:nowrap;font-weight:750;padding:8px 18px}
.segmented button[aria-pressed=true]{color:#fff;background:#254834}
.filters{display:flex;flex-wrap:wrap;gap:12px;flex:1}
label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;color:var(--muted)}
select,.outline{border:1px solid #d1dbd3;border-radius:7px;background:white;padding:7px 10px;min-height:34px}
select{max-width:180px}
.outline{font-weight:680;white-space:nowrap}
.outline:hover:not(:disabled),.outline[aria-pressed=true]{background:#e6efde;border-color:#9db69f}
.dashboard{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(310px,1fr);gap:18px;align-items:start}
.panel{border:1px solid var(--line);background:#fff;border-radius:14px;padding:20px;min-width:0}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.section-heading h2,.dialog-head h2{font-size:23px;letter-spacing:-.04em}
.section-heading>span{color:var(--muted);font-size:12px}
.schedule-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:13px}
.date-shortcuts{display:flex;gap:6px;flex-wrap:wrap}
.date-shortcuts button{font-size:12px}
.note{font-size:12px;color:#8a4c18}
.note:not(:empty){margin:10px 0}
.matches{display:grid;gap:9px}
.live-matches{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.match{width:100%;text-align:left;display:block;background:#fafcf9;border:1px solid var(--line);border-radius:10px;padding:11px 13px;min-width:0}
.match:hover{border-color:#7da387;background:#f1f7ec}
.match-top,.match-bottom,.match-scoreline{display:flex;align-items:center;justify-content:space-between;gap:10px}
.match-top,.match-bottom{font-size:11px;color:var(--muted)}
.match-scoreline{margin:10px 0}
.team-side{flex:1;display:flex;align-items:center;gap:7px;line-height:1.35;font-weight:760;overflow-wrap:anywhere;min-width:0}
.team-side.away{flex-direction:row-reverse;text-align:right}
.logo{object-fit:contain;width:27px;height:27px;flex:none;border-radius:4px}
.score{flex:none;min-width:63px;font:800 24px/1 var(--mono);text-align:center;white-space:nowrap}
.score.wait{font-size:14px;color:var(--muted)}
.label{display:inline-flex;border-radius:4px;padding:3px 6px;background:#edf1ee;color:#4e6154;white-space:nowrap;font-weight:680;font-size:11px}
.label-start{background:#dcf2bf;color:#214d2a!important}
.match-bottom span:first-child{overflow-wrap:anywhere}
.match-bottom span:last-child{white-space:nowrap;color:#376447}
.day-heading{font:750 13px/1.4 var(--mono);letter-spacing:.02em;margin:8px 0 0;color:#375e48}
.more{width:100%;margin-top:12px}
.empty{background:#f5f7f4;border-radius:8px;padding:16px;color:var(--muted);line-height:1.55}
.rank-group{margin:0 0 14px}
.rank-group h3{padding:9px 10px;background:#eaf1e7;border-radius:7px;font-size:13px}
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
th,td{text-align:right;padding:8px 5px;border-bottom:1px solid #e8ede7;white-space:nowrap}
th{color:#506359;font-size:11px;font-weight:700}
td{font-size:12px}
th:first-child,td:first-child{text-align:left}
.rank-table .club{text-align:left;white-space:normal;overflow-wrap:anywhere}
.rank-table .club span{display:flex;align-items:center;gap:5px}
.rank-table img{width:18px;height:18px}
.rank-table td:last-child{font-weight:800;color:#23563a}
.rank-table tbody tr:first-child{background:#f6f9f2}
.text-link{display:inline-block;color:#305c42;font-weight:650;text-decoration:none;margin-top:4px}
.footer{display:flex;justify-content:space-between;gap:12px;padding:22px 0 30px;color:var(--muted);font-size:12px}
dialog{width:min(760px,calc(100% - 22px));max-height:min(87dvh,900px);border:1px solid var(--line);padding:0;border-radius:15px;color:var(--ink);background:#fff;overscroll-behavior:contain}
dialog::backdrop{background:#15271fc2}
.dialog-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 21px;background:#fff;border-bottom:1px solid var(--line)}
.dialog-head p{font-size:12px;color:var(--green);margin-bottom:5px}
.dialog-body{padding:18px 21px 25px}
.dialog-body section{margin-top:18px}
.dialog-body h3{font-size:17px;margin:0 0 8px}
.detail-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.detail-heading h3{margin:0}
.detail-score{background:#eaf1e7;padding:12px 15px;border-radius:9px}
.detail-sets{width:max-content;min-width:50%;margin-inline:auto}
.detail-sets th,.detail-sets td{text-align:center}
.match-links{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}
.points-scroll{max-height:295px;overflow:auto}
.points-scroll thead{position:sticky;top:0;background:#fff}
.stats-roster{margin-top:12px}
.stats-roster summary{cursor:pointer;padding:8px;background:#edf2ea;border-radius:6px}
.stats-table th,.stats-table td{text-align:center}
@media(max-width:1050px){.wrap{width:calc(100% - 42px)}.dashboard{grid-template-columns:minmax(0,1.45fr) minmax(295px,1fr)}.toolbar{gap:12px}.filters{gap:8px}}
@media(max-width:800px){.dashboard{grid-template-columns:minmax(0,1fr)}.hero{min-height:214px;padding:26px}.hero-status{min-width:185px}.toolbar{flex-wrap:wrap}.filters{order:3;flex:1 0 100%}.toolbar #refresh{margin-left:auto}}
@media(max-width:560px){.wrap{width:calc(100% - 24px)}.masthead-inner{min-height:60px}.brand{font-size:12px}.official{font-size:12px}.hero{min-height:0;display:block;padding:23px 18px;margin:15px 0}.mobile-break{display:block}.hero h1{font-size:43px}.hero-status{width:max-content;max-width:100%;margin-top:20px;padding:9px 12px}.court{left:145px;right:auto;top:22px}.filters label{display:grid;gap:4px;min-width:0}.filters{display:grid;grid-template-columns:1fr 1fr 1.25fr}.filters select{width:100%;min-width:0;padding:5px}.panel{padding:13px}.section-heading h2{font-size:21px}.match{padding:10px}.team-side{font-size:13px}.logo{width:22px;height:22px}.score{min-width:42px;font-size:21px}.match-bottom{gap:5px}.footer{display:grid}.dialog-head,.dialog-body{padding:13px}.dialog-head h2{font-size:19px}}
