:root{color-scheme:dark;--navy:#071d2e;--accent:#d8f51c;--blue:#15baff;--ink:#f2f8ff;--muted:#9fb6cb}
*{box-sizing:border-box}
html,body{margin:0;min-width:300px;min-height:100%;font-family:Montserrat,Arial,Helvetica,sans-serif;background:var(--navy);color:var(--ink)}
.tv-frame{min-height:100svh;display:flex;flex-direction:column;padding:1.6vh 2.3vw 1.4vh;background:radial-gradient(ellipse at top right,#155429 0,transparent 42%),linear-gradient(145deg,#061e35,#081827 66%,#041625)}
.tv-header,.tv-summary,.tv-footer{display:flex;justify-content:space-between;align-items:center;gap:1vw}
.tv-header{padding-bottom:1.4vh;border-bottom:2px solid #24506d;min-height:12vh}
.tv-brand{display:flex;align-items:center;gap:1vw}
.tv-ball{width:clamp(40px,4.4vw,85px);height:clamp(40px,4.4vw,85px);border-radius:50%;display:grid;place-items:center;background:#f76504;border:4px solid white;box-shadow:0 0 0 .25vw #1575ca;color:#f76504;font-size:.8vw;flex-shrink:0}
.tv-title{font-weight:1000;letter-spacing:-.035em;font-size:clamp(26px,3vw,68px);line-height:1}
.tv-title em{color:var(--accent);font-style:normal}
.tv-subtitle{color:#b5d8e4;font-size:clamp(9px,1.07vw,18px);font-weight:800;letter-spacing:.13em;margin-top:.5vh}
.tv-right{text-align:right;white-space:nowrap}.tv-date{font-size:clamp(11px,1.3vw,24px);color:#d2e3ec;font-weight:700;display:block}
.tv-clock{color:var(--accent);font-size:clamp(22px,2.55vw,52px);font-variant-numeric:tabular-nums;line-height:1.1}
.tv-summary{min-height:7.2vh;padding:1vh 0;gap:12px}
.tv-summary h1{font-size:clamp(16px,1.95vw,39px);line-height:1.1;letter-spacing:.025em;margin:0;font-weight:950}
.tv-numbers{display:flex;align-items:flex-end;flex-direction:column;gap:0;font-size:clamp(10px,1vw,20px);font-weight:800;color:#d4e5f1;white-space:nowrap}
.tv-numbers span:last-child{font-size:clamp(9px,.72vw,14px);font-weight:500;color:#94b6c8}
.tv-main{flex:1;min-height:0;display:flex;flex-direction:column}
.tv-table-head,.tv-row{display:grid;grid-template-columns:4.7% 8% 12% minmax(0,1fr) 12% minmax(0,1fr) 6.3%;align-items:center;gap:0;text-align:center}
.tv-table-head{background:#153c51;border-radius:.6vw .6vw 0 0;padding:.65vh .5vw;color:#aecdde;font-size:clamp(10px,1.02vw,20px);font-weight:900;letter-spacing:.05em}
.tv-table-head .team-label{text-align:left;padding-left:1.2vw}
.tv-table{flex:1;display:flex;flex-direction:column;justify-content:stretch;gap:.5vh;margin-top:.7vh}
.tv-row{border:1px solid rgba(197,230,247,.13);background:rgba(255,255,255,.055);border-radius:.45vw;min-height:0;flex:1;padding:.1vh .5vw;font-size:clamp(11px,1.44vw,28px);font-weight:750}
.tv-row:nth-child(even){background:rgba(255,255,255,.09)}
.tv-row.tv-done{border-left:.32vw solid #7cc515}
.tv-no{font-weight:800;font-size:clamp(11px,1.2vw,25px);color:#a8c7d9}
.tv-time{color:var(--accent);font-weight:950;font-size:clamp(13px,1.65vw,32px);font-variant-numeric:tabular-nums}
.tv-category{display:inline-block;font-size:clamp(10px,1.02vw,20px);font-weight:900;line-height:1.2;border-radius:30px;padding:.65vh .5vw;color:#08263a;background:#c4e7ff}
.tv-category.tv-large{background:#c4ed85;color:#132e12}
.tv-catwrap{padding:0 .25vw}
.tv-team{text-align:left;overflow:hidden;text-overflow:ellipsis;line-height:1.14;padding:0 1.2vw;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.tv-score{font-weight:1000;font-size:clamp(19px,2vw,42px);white-space:nowrap;font-variant-numeric:tabular-nums;color:#95afbd;letter-spacing:-.02em}
.tv-score.score-filled{color:#fff}
.tv-court{font-size:clamp(13px,1.36vw,26px);font-weight:900}
.tv-empty{flex:1;display:grid;place-items:center;font-weight:800;font-size:3vw;color:#acd2e5}
.tv-row.tv-placeholder{opacity:.08}
.tv-footer{min-height:8.5vh;margin-top:1.5vh;padding:1vh .1vw 0;border-top:2px solid #264b61;flex-wrap:wrap}
.tv-pagination{font-weight:850;font-size:clamp(11px,1.2vw,23px);display:flex;gap:1vw;align-items:center}
.tv-dots{display:flex;gap:.4vw}.tv-dot{width:.54vw;min-width:5px;aspect-ratio:1;border-radius:50%;background:#3b6176}.tv-dot.active{background:var(--accent)}
.tv-controls{display:flex;align-items:center;gap:.5vw}
.tv-controls button{font:800 clamp(10px,.9vw,18px) Montserrat,Arial,sans-serif;border:1px solid #62839b;border-radius:8px;padding:1vh 1vw;cursor:pointer;background:#123248;color:#f5fbff}
.tv-controls button:hover,.tv-controls button:focus-visible{background:#275872;outline:2px solid #b3e134}
.tv-caption{color:#95afbd;font-size:clamp(10px,.85vw,17px);text-align:right}
@media(max-width:950px){.tv-caption{display:none}.tv-table-head,.tv-row{grid-template-columns:5.5% 10% 14% minmax(0,1fr) 13% minmax(0,1fr) 5.5%}.tv-controls button{padding:9px}}
@media(max-width:650px){.tv-frame{padding:16px 10px}.tv-brand{gap:8px}.tv-title{font-size:23px}.tv-subtitle{font-size:8px;letter-spacing:.04em}.tv-ball{width:30px;height:30px;border:2px solid #fff}.tv-header{min-height:82px}.tv-date{font-size:9px}.tv-clock{font-size:18px}.tv-summary{min-height:60px}.tv-summary h1{font-size:14px}.tv-numbers{font-size:10px}.tv-table-head,.tv-row{grid-template-columns:7% 13% minmax(0,1fr) 17% minmax(0,1fr);font-size:12px}.tv-catwrap,.tv-category,.tv-court,.tv-table-head span:nth-child(3),.tv-table-head span:nth-child(7){display:none}.tv-time{font-size:14px}.tv-team{padding:0 5px}.tv-score{font-size:17px}.tv-table-head{font-size:10px}.tv-row{border-radius:5px}.tv-footer{gap:10px}.tv-controls{gap:3px}}
