/* TV mode: isolated from editor and public-page styles. */
.projection-button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:40px;padding:9px!important;vertical-align:middle}.series-projection-actions{display:flex;justify-content:flex-end;margin-bottom:12px}
body.projection-open{overflow:hidden}.tv-screen,.tv-screen:fullscreen{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:clamp(16px,3vw,52px);border:0;border-radius:0;background:#081c1b;color:#f4fff5;box-sizing:border-box;overflow:hidden;font-family:Arial,sans-serif}.tv-screen[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:clamp(10px,2vh,24px)}.tv-screen::backdrop{background:#081c1b}.tv-screen *{box-sizing:border-box}.tv-screen h1,.tv-screen h2,.tv-screen h3,.tv-screen p{margin:0;color:inherit}.tv-screen h1{font-size:clamp(22px,3.1vw,52px);line-height:1.12;letter-spacing:-.025em}.tv-screen button{border:1px solid #729087;background:#17332e;color:#fff;border-radius:10px;padding:9px 13px;font:inherit;cursor:pointer;white-space:nowrap;min-height:40px}.tv-screen button:hover,.tv-screen button:focus-visible{background:#2b5345;outline:2px solid #d4ff71;outline-offset:3px}
.tv-glow{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:-1;background:radial-gradient(ellipse at 90% 5%,#224637 0,transparent 55%),radial-gradient(ellipse at 0 100%,#24352b 0,transparent 50%)}.tv-glow:after{content:'';position:absolute;right:-80px;bottom:-80px;width:300px;height:300px;border-radius:50%;border:2px solid #d4ff7126;box-shadow:0 0 0 45px #d4ff7105,0 0 0 90px #d4ff7105;animation:tv-float 12s ease-in-out infinite alternate}
.tv-header{display:flex;align-items:center;gap:20px;min-width:0}.tv-logo{font-size:clamp(20px,2vw,32px);font-weight:800;white-space:nowrap;color:#dcff9b}.tv-live{font-size:10px;letter-spacing:.12em;border:1px solid #77945e;border-radius:30px;padding:5px 8px;margin-left:12px;vertical-align:middle}.tv-brand-event{flex:1;text-align:right;color:#b3c8be;font-size:clamp(12px,1.2vw,20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-header button{flex-shrink:0}
.tv-stage{min-height:0;position:relative;overflow:hidden}.tv-slide{height:100%;animation:tv-enter .65s cubic-bezier(.2,.8,.2,1) both;overflow:hidden}.tv-progress-slide{display:flex;flex-direction:column;justify-content:center;height:100%;gap:clamp(10px,3vh,36px);text-align:center}.tv-kicker{color:#d4ff71;font-size:clamp(12px,1.3vw,22px);text-transform:uppercase;letter-spacing:.15em}.tv-progress-slide h2,.tv-qr h2{font-size:clamp(26px,4vw,70px);line-height:1.08;overflow-wrap:anywhere}.tv-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tv-stats>div{padding:clamp(12px,2vw,32px);border-radius:22px;background:#ffffff08;border:1px solid #ffffff15;display:grid;gap:10px}.tv-stats b{font-size:clamp(40px,6vw,100px);color:#d4ff71;line-height:1}.tv-stats span,.tv-progress-slide p{font-size:clamp(14px,1.5vw,24px);color:#d2ded5}
.tv-podium{display:flex;justify-content:center;align-items:center;gap:clamp(12px,3vw,50px);height:100%}.tv-podium-card{position:relative;flex:1;max-width:30%;height:90%;max-height:600px;border:1px solid #d4ff7130;background:linear-gradient(160deg,#244139,#122b26);border-radius:26px;text-align:center;padding:clamp(12px,2vw,32px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(10px,2vh,24px)}.tv-medal{color:#d4ff71;font-size:clamp(22px,3vw,52px);font-weight:800}.tv-face{width:clamp(72px,13vw,210px);height:clamp(72px,13vw,210px);max-height:30vh;max-width:30vh;position:relative;border-radius:50%;background:#335448;flex-shrink:0;border:3px solid #d4ff71;overflow:hidden;display:grid;place-items:center}.tv-face span{font-size:clamp(24px,4vw,64px);color:#e7ffd1;font-weight:800}.tv-face img{position:absolute;width:100%;height:100%;object-fit:cover}.tv-podium h3{font-size:clamp(17px,2.2vw,38px);overflow-wrap:anywhere;line-height:1.12}.tv-podium strong{color:#d4ff71;font-size:clamp(22px,3vw,50px)}.tv-podium small{display:block;font-size:clamp(12px,1vw,18px);font-weight:400;color:#c3d2c6}
.tv-ranking{height:100%;display:flex;flex-direction:column;justify-content:center;gap:clamp(4px,1vh,12px)}.tv-table-head,.tv-table-row{display:grid;grid-template-columns:70px minmax(0,1fr) 100px 135px;gap:20px;align-items:center;padding:clamp(10px,1.4vh,20px) 24px}.tv-table-head{color:#acc4b6;font-size:clamp(12px,1.2vw,20px);padding-top:0;padding-bottom:5px}.tv-table-row{background:#ffffff08;border:1px solid #ffffff0b;border-radius:14px;font-size:clamp(17px,2.1vw,34px);line-height:1.12}.tv-table-row strong{overflow-wrap:anywhere}.tv-table-row b:last-child{color:#d4ff71}.tv-table-row>:nth-child(n+3),.tv-table-head>:nth-child(n+3){text-align:right}.tv-page{font-size:clamp(10px,1vw,16px);color:#a9c1b3;margin-top:6px!important}
.tv-matches{height:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:clamp(10px,2vw,25px)}.tv-match{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:clamp(16px,2vw,30px);background:#ffffff08;border:1px solid #ffffff18;border-radius:22px;min-width:0}.tv-match-meta{color:#d4ff71;font-size:clamp(12px,1.3vw,22px)}.tv-versus{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:clamp(10px,1.5vw,22px);text-align:center}.tv-versus strong{font-size:clamp(17px,1.8vw,32px);line-height:1.15;overflow-wrap:anywhere}.tv-versus b{font-size:clamp(20px,2.5vw,44px);color:#d4ff71;white-space:nowrap}.tv-match p{font-size:clamp(11px,1.2vw,19px);color:#b4cbbc}
.tv-photo{margin:0;height:100%;display:flex;flex-direction:column;align-items:center;gap:12px}.tv-photo img{display:block;min-height:0;max-height:100%;width:100%;flex:1;object-fit:contain;border-radius:16px}.tv-photo figcaption{text-align:center;font-size:clamp(14px,1.5vw,24px);color:#d4e3d5}.tv-next-stages{height:100%;display:grid;align-content:center;grid-template-columns:1fr 1fr;gap:24px}.tv-next-stages article{border-left:4px solid #d4ff71;background:#ffffff08;padding:clamp(18px,3vw,44px);border-radius:0 18px 18px 0}.tv-next-stages span{font-size:clamp(15px,1.5vw,24px);color:#d4ff71}.tv-next-stages h3{font-size:clamp(22px,3vw,48px);margin-top:16px}
.tv-qr{display:flex;align-items:center;justify-content:center;gap:6vw;height:100%;padding:20px}.tv-qr>img{background:white;border-radius:18px;width:min(32vw,45vh);height:min(32vw,45vh);padding:12px;flex-shrink:0;image-rendering:pixelated}.tv-qr>div{max-width:55%;display:grid;gap:22px}.tv-qr p{font-size:clamp(15px,1.6vw,25px);line-height:1.4}.tv-link{font-size:clamp(11px,1.1vw,18px)!important;overflow-wrap:anywhere;color:#b4cbbc}.tv-empty{height:100%;display:grid;align-content:center;justify-items:center;gap:20px;text-align:center;font-size:clamp(22px,3vw,45px);padding:20px}.tv-empty>span{color:#d4ff71;font-size:90px}
.tv-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:clamp(11px,1vw,16px);color:#b4cbbc}.tv-footer>div:first-child{display:grid;gap:4px}.tv-fullscreen-note{font-size:11px}.tv-controls{display:flex;align-items:center;gap:8px}.tv-counter{padding:0 8px;color:#f4fff5}.tv-timing{white-space:nowrap}.tv-progress{position:absolute;bottom:0;left:0;height:4px;background:#d4ff71;width:100%;transform-origin:left;transform:scaleX(0)}.tv-progress.tv-run{animation:tv-time 10s linear both}.tv-photo-duration .tv-progress.tv-run{animation-duration:5s}.tv-paused .tv-progress.tv-run{animation-play-state:paused}.tv-paused .tv-glow:after{animation-play-state:paused}.tv-image-error{align-self:center;margin:auto!important;color:#b4cbbc}
@keyframes tv-enter{from{opacity:0;transform:translateY(22px) scale(.985)}to{opacity:1;transform:none}}@keyframes tv-float{from{transform:translate(0,0) rotate(0)}to{transform:translate(-40px,-30px) rotate(20deg)}}@keyframes tv-time{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:700px){.tv-screen[open]{gap:12px;padding:16px}.tv-brand-event,.tv-live{display:none}.tv-header{justify-content:space-between}.tv-screen h1{font-size:24px}.tv-podium{gap:8px}.tv-podium-card{max-width:33%;padding:10px 5px;gap:14px;height:80%}.tv-face{width:66px;height:66px}.tv-podium h3{font-size:16px}.tv-podium strong{font-size:23px}.tv-table-head,.tv-table-row{grid-template-columns:32px minmax(0,1fr) 45px 55px;gap:7px;padding:14px 8px}.tv-table-head{font-size:10px;padding-bottom:4px}.tv-table-row{font-size:17px}.tv-matches{grid-template-columns:1fr;gap:12px}.tv-versus strong{font-size:18px}.tv-stats{gap:7px}.tv-stats>div{padding:14px 5px}.tv-stats span{font-size:12px}.tv-stats b{font-size:38px}.tv-footer{flex-wrap:wrap;justify-content:center}.tv-footer>div:first-child{width:100%;text-align:center}.tv-controls button{padding:8px 12px}.tv-timing{font-size:10px}.tv-qr{flex-direction:column;gap:18px;padding:0}.tv-qr>img{width:min(54vw,28vh);height:min(54vw,28vh)}.tv-qr>div{max-width:100%;gap:12px;text-align:center}.tv-qr h2{font-size:28px}.tv-qr p{font-size:14px}.tv-next-stages{grid-template-columns:1fr;gap:12px}.tv-next-stages article{padding:14px}.tv-next-stages h3{font-size:22px;margin-top:8px}.tv-kicker{font-size:11px}}
@media(max-height:600px){.tv-screen[open]{padding:12px 24px;gap:8px}.tv-screen h1{font-size:22px}.tv-header{max-height:40px}.tv-face{width:70px;height:70px}.tv-podium-card{height:100%;padding:8px;gap:5px}.tv-podium h3{font-size:18px}.tv-podium strong,.tv-medal{font-size:24px}.tv-podium small{display:inline;margin-left:4px}.tv-stats b{font-size:38px}.tv-stats>div{padding:10px}.tv-progress-slide{gap:12px}.tv-progress-slide h2{font-size:28px}.tv-matches{grid-template-columns:1fr}.tv-table-row{padding:10px 20px;font-size:19px}.tv-qr{flex-direction:row;padding:0;gap:25px}.tv-qr>img{width:40vh;height:40vh}.tv-qr>div{max-width:60%;gap:8px}.tv-qr h2{font-size:26px}.tv-qr p{font-size:13px}.tv-next-stages{grid-template-columns:repeat(2,1fr);gap:12px}.tv-next-stages article{padding:12px}.tv-next-stages h3{font-size:20px;margin-top:6px}}
@media(prefers-reduced-motion:reduce){.tv-slide,.tv-glow:after{animation:none}.tv-progress.tv-run{animation:none;transform:scaleX(1)}}
.tv-ranking-status{display:inline-block;vertical-align:middle;font-size:clamp(12px,1.2vw,19px);line-height:1.2;letter-spacing:.015em;padding:8px 13px;border-radius:9px;margin:5px 0 5px 16px;text-transform:uppercase;border:1px solid currentColor}.tv-ranking-status.partial{color:#ffdf8b;background:#58442066;text-decoration:underline;text-underline-offset:4px}.tv-ranking-status.final{color:#d4ff71;background:#35522b88}.projection-settings-dialog{width:min(720px,calc(100vw - 28px));max-width:720px;max-height:calc(100dvh - 32px);overflow:auto;padding:32px;color:#17362c;background:#fff;border:1px solid #d3dfd7;border-radius:20px}.projection-settings-dialog::backdrop{background:#031915c9}.projection-settings-dialog h2{padding-right:32px;margin:0 0 18px}.projection-settings-dialog p{line-height:1.5}.projection-settings-dialog fieldset{border:1px solid #d3dfd7;border-radius:12px;padding:16px;margin:22px 0}.projection-settings-dialog legend{padding:0 7px;font-weight:700}.projection-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.projection-options label{display:flex;align-items:center;gap:10px;cursor:pointer}.projection-options input{width:20px;height:20px;margin:0;flex-shrink:0;accent-color:#276446}.projection-durations{display:grid;grid-template-columns:1fr 1fr;gap:18px}.projection-durations label{display:grid;gap:10px}.projection-settings-dialog .view-actions{flex-wrap:wrap}.projection-settings-dialog [data-settings-error]{color:#a52020}.projection-settings-dialog .hint{font-size:13px;color:#53675b}
@media(max-width:700px){.tv-ranking-status{display:block;width:fit-content;margin:8px 0 0;font-size:12px;padding:6px 9px}.projection-settings-dialog{padding:24px 18px}.projection-options{gap:15px 10px}.projection-durations{grid-template-columns:1fr;gap:14px}}
@media(max-height:600px){.tv-ranking-status{display:inline-block;font-size:11px;padding:5px 7px;margin:0 0 0 10px}}

.tv-ranked-name{display:flex;gap:14px;align-items:center;min-width:0}.tv-ranked-name span{min-width:0;overflow-wrap:anywhere}.tv-ranking-face{width:clamp(30px,3vw,46px);height:clamp(30px,3vw,46px);object-fit:cover;border-radius:50%;border:2px solid #d4ff71;flex-shrink:0}@media(max-width:700px){.tv-ranked-name{gap:7px}.tv-ranking-face{width:28px;height:28px}}
/* One time slot per slide; every court and every tied podium participant remains visible. */
.tv-match-slot.tv-courts-1{grid-template-columns:1fr;grid-template-rows:1fr}.tv-match-slot.tv-courts-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr}.tv-match-slot.tv-courts-3{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr}.tv-match-slot.tv-courts-4{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.tv-match-slot:is(.tv-courts-5,.tv-courts-6){grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.tv-match-slot:is(.tv-courts-7,.tv-courts-8){grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.tv-match-slot:is(.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12){grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.tv-match-slot .tv-match{min-height:0;padding:clamp(10px,1.5vw,24px);gap:10px}.tv-match-slot .tv-match-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.tv-match-slot .tv-match-meta>span{color:#b4cbbc;font-size:.85em}.tv-match-team{display:grid;gap:16px;min-width:0}.tv-match-person{display:flex;align-items:center;gap:10px;min-width:0;text-align:left}.tv-match-person strong{font-size:clamp(13px,1.35vw,25px);overflow-wrap:anywhere;line-height:1.15}.tv-match-avatar{display:grid;place-items:center;position:relative;flex-shrink:0;width:clamp(26px,3vw,44px);height:clamp(26px,3vw,44px);background:#335448;border:1px solid #92bc7c;border-radius:50%;overflow:hidden;color:#e7ffd1;font-size:clamp(10px,1vw,17px);font-weight:bold}.tv-match-avatar img{position:absolute;width:100%;height:100%;object-fit:cover}.tv-match-slot .tv-versus{gap:clamp(8px,1vw,18px)}.tv-match-slot .tv-versus>b{font-size:clamp(18px,2vw,34px)}
.tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-match-person{gap:6px}.tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-match-avatar{width:26px;height:26px}.tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-match-person strong{font-size:clamp(12px,1vw,18px)}
.tv-leader-board{height:100%;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:16px}.tv-leader-row{display:grid;grid-template-columns:85px minmax(0,1fr);gap:20px;min-height:0}.tv-leader-row>h2{display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:4px solid #d4ff71;border-radius:12px;background:#ffffff06;color:#d4ff71;font-size:clamp(24px,3vw,48px);gap:8px}.tv-leader-row>h2>span{font-size:clamp(10px,1vw,16px);color:#d2ded5;text-transform:uppercase;letter-spacing:.08em}.tv-leader-cards{display:flex;gap:16px;min-width:0;min-height:0;align-items:stretch}.tv-leader-card{flex:1;min-width:0;display:flex;justify-content:center;align-items:center;gap:18px;border:1px solid #d4ff7130;background:linear-gradient(150deg,#28483e,#142f29);border-radius:18px;padding:16px}.tv-leader-card .tv-face{width:clamp(40px,7vw,100px);height:clamp(40px,7vw,100px);max-width:10vh;max-height:10vh;border-width:2px}.tv-leader-card .tv-face span{font-size:clamp(18px,3vw,38px)}.tv-leader-info{min-width:0;display:grid;gap:12px}.tv-leader-info h3{font-size:clamp(15px,1.7vw,30px);line-height:1.12;overflow-wrap:anywhere}.tv-leader-info>strong{font-size:clamp(20px,2.4vw,40px);color:#d4ff71;line-height:1.05}.tv-leader-info small{font-size:clamp(10px,1vw,16px);color:#d2ded5;font-weight:normal}.tv-leader-empty{align-self:center;color:#b4cbbc;font-size:clamp(14px,1.5vw,22px)}.tv-leader-dense .tv-leader-card{flex-direction:column;gap:8px;padding:8px;text-align:center}.tv-leader-dense .tv-face{width:40px;height:40px}.tv-leader-dense h3{font-size:clamp(12px,1.1vw,20px)}.tv-leader-dense .tv-leader-info{gap:6px}.tv-leader-dense .tv-leader-info>strong{font-size:22px}
@media(max-width:1000px){.tv-leader-row{grid-template-columns:60px minmax(0,1fr);gap:12px}.tv-leader-cards{gap:8px}.tv-leader-card{flex-direction:column;text-align:center;gap:8px;padding:10px}.tv-leader-card .tv-face{width:48px;height:48px}.tv-leader-info{gap:6px}.tv-leader-info h3{font-size:16px}.tv-leader-info>strong{font-size:24px}}
@media(max-width:700px){.tv-match-slot:is(.tv-courts-2,.tv-courts-3,.tv-courts-4,.tv-courts-5,.tv-courts-6){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.tv-match-slot.tv-courts-2{grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr))}.tv-match-slot:is(.tv-courts-5,.tv-courts-6){grid-template-rows:repeat(3,minmax(0,1fr))}.tv-match-slot .tv-match{padding:9px;gap:6px;border-radius:12px}.tv-match-slot .tv-versus{grid-template-columns:1fr;gap:6px}.tv-match-slot .tv-versus>b{font-size:18px;line-height:1}.tv-match-team{gap:5px}.tv-match-person{gap:6px}.tv-match-person strong{font-size:13px}.tv-match-avatar{width:24px;height:24px;font-size:9px}.tv-match-slot .tv-match-meta{font-size:12px;gap:2px}.tv-match-slot .tv-match-meta>span{font-size:9px}.tv-match-slot .tv-match p{font-size:9px}.tv-leader-board{gap:10px}.tv-leader-row{grid-template-columns:40px minmax(0,1fr);gap:8px}.tv-leader-row>h2{font-size:24px;border-left-width:2px}.tv-leader-row>h2>span{font-size:8px;letter-spacing:0}.tv-leader-cards{gap:5px}.tv-leader-card{padding:6px 3px;border-radius:10px;gap:7px}.tv-leader-card .tv-face{width:34px;height:34px;max-width:100%;border-width:1px}.tv-leader-card .tv-face span{font-size:14px}.tv-leader-info h3{font-size:12px}.tv-leader-info>strong{font-size:17px}.tv-leader-info small{display:block;font-size:9px;margin-top:3px}.tv-leader-dense .tv-face{width:24px;height:24px}.tv-leader-dense .tv-face span{font-size:10px}.tv-leader-dense h3{font-size:10px}.tv-leader-dense .tv-leader-card{padding:6px 2px}.tv-leader-dense .tv-leader-info>strong{font-size:13px}}
@media(max-height:600px) and (min-width:701px){.tv-match-slot .tv-match{padding:8px;gap:4px}.tv-match-team{gap:5px}.tv-match-avatar{width:22px;height:22px}.tv-match-person strong{font-size:12px}.tv-match-slot .tv-match-meta{font-size:11px}.tv-match-slot .tv-match p{font-size:10px}.tv-match-slot .tv-versus>b{font-size:18px}.tv-leader-board{gap:7px}.tv-leader-row{grid-template-columns:48px minmax(0,1fr);gap:8px}.tv-leader-card{flex-direction:row;padding:6px;gap:8px}.tv-leader-card .tv-face{width:30px;height:30px}.tv-leader-info{gap:3px}.tv-leader-info h3{font-size:13px}.tv-leader-info>strong{font-size:18px}.tv-leader-row>h2{font-size:24px;gap:4px}.tv-leader-row>h2>span{font-size:9px}}

.tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-match{padding:9px;gap:4px}.tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-versus{gap:6px}.tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-versus>b{font-size:20px}

/* Keep player names on one line; narrow cards stack teams to reserve name width. */
.tv-match-slot .tv-match{container-type:inline-size}.tv-match-person strong{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-height:601px) and (min-width:701px){@container(max-width:360px){.tv-match-slot .tv-versus{grid-template-columns:minmax(0,1fr) auto;gap:6px}.tv-versus>.tv-match-team:first-child{grid-column:1;grid-row:1}.tv-versus>.tv-match-team:last-child{grid-column:1;grid-row:2}.tv-match-slot .tv-versus>b{grid-column:2;grid-row:1 / 3}.tv-match-team{gap:5px}}}

/* Stage board: ranking and time slots rotate independently in equal-width panels. */
.tv-split-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;height:100%}.tv-split-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;gap:16px}.tv-split-panel+ .tv-split-panel{border-left:1px solid #d4ff7130;padding-left:24px}.tv-panel-header{min-height:68px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px}.tv-panel-header h2{font-size:clamp(17px,1.65vw,30px);line-height:1.15}.tv-panel-header>span{font-size:clamp(10px,1vw,17px);color:#b4cbbc}.tv-panel-header .tv-ranking-status{margin:0;font-size:12px;padding:5px 8px}.tv-panel-content{min-height:0;min-width:0;overflow:auto;animation:tv-enter .4s ease both}.tv-split-panel .tv-table-head,.tv-split-panel .tv-table-row{grid-template-columns:40px minmax(0,1fr) 60px 65px;gap:10px;padding:16px 12px}.tv-split-panel .tv-table-row{font-size:clamp(16px,1.65vw,28px)}.tv-split-panel .tv-table-head{font-size:12px}.tv-split-panel .tv-ranking-face{width:36px;height:36px}.tv-split-panel .tv-ranked-name{gap:10px}.tv-split-panel .tv-match-slot{gap:12px}.tv-split-panel .tv-match-slot:is(.tv-courts-3,.tv-courts-4){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.tv-split-panel .tv-match-slot:is(.tv-courts-5,.tv-courts-6){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.tv-split-panel .tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12){grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}.tv-split-panel .tv-match{padding:10px;gap:6px;border-radius:14px}.tv-split-panel .tv-match-meta{font-size:14px}.tv-split-panel .tv-match-person strong{font-size:clamp(12px,1.1vw,20px)}.tv-split-panel .tv-match-avatar{width:24px;height:24px}.tv-split-panel .tv-match p{font-size:10px}.tv-split-panel .tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-match-avatar{width:18px;height:18px}.tv-split-panel .tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-match{padding:6px;gap:3px}.tv-split-panel .tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-match-meta{font-size:11px}
@media(max-width:1000px){.tv-split-board{gap:12px}.tv-split-panel+.tv-split-panel{padding-left:12px}.tv-split-panel .tv-table-head,.tv-split-panel .tv-table-row{grid-template-columns:25px minmax(0,1fr) 42px;gap:6px;padding:12px 7px}.tv-split-panel .tv-table-row>:nth-child(3),.tv-split-panel .tv-table-head>:nth-child(3){display:none}.tv-split-panel .tv-ranking-face{width:24px;height:24px}.tv-split-panel .tv-ranked-name{gap:5px}}
@media(max-width:700px){.tv-split-board{gap:8px}.tv-split-panel+.tv-split-panel{padding-left:8px}.tv-split-panel{gap:8px}.tv-panel-header{min-height:70px;gap:5px}.tv-panel-header h2{font-size:14px}.tv-panel-header .tv-ranking-status{font-size:9px;padding:4px}.tv-split-panel .tv-table-head,.tv-split-panel .tv-table-row{grid-template-columns:19px minmax(0,1fr) 27px;gap:3px;padding:12px 4px}.tv-split-panel .tv-table-row{font-size:12px}.tv-split-panel .tv-table-head{font-size:8px}.tv-split-panel .tv-ranked-name{gap:4px}.tv-split-panel .tv-ranking-face{width:20px;height:20px;border-width:1px}.tv-split-panel .tv-page{font-size:8px}.tv-split-panel .tv-match-slot[class*="tv-courts-"]{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:minmax(105px,1fr);gap:6px}.tv-split-panel .tv-match{padding:5px;gap:3px}.tv-split-panel .tv-match-meta{font-size:10px}.tv-split-panel .tv-match-meta>span{font-size:8px}.tv-split-panel .tv-match-avatar{width:15px;height:15px;font-size:7px}.tv-split-panel .tv-match-person{gap:4px}.tv-split-panel .tv-match-person strong{font-size:11px}.tv-split-panel .tv-versus{grid-template-columns:minmax(0,1fr) auto;gap:4px}.tv-split-panel .tv-versus>.tv-match-team:first-child{grid-column:1;grid-row:1}.tv-split-panel .tv-versus>.tv-match-team:last-child{grid-column:1;grid-row:2}.tv-split-panel .tv-versus>b{grid-column:2;grid-row:1 / 3;font-size:13px}.tv-split-panel .tv-match-team{gap:3px}.tv-split-panel .tv-match p{font-size:8px}}
@media(max-height:600px) and (min-width:701px){.tv-panel-header{min-height:35px;gap:4px;flex-direction:row;justify-content:flex-start;align-items:center}.tv-panel-header h2{font-size:13px}.tv-panel-header .tv-ranking-status{font-size:9px}.tv-split-panel{gap:7px}.tv-split-panel .tv-table-row{padding:8px 6px;font-size:13px}.tv-split-panel .tv-match{padding:5px;gap:3px}.tv-split-panel .tv-match-meta{font-size:10px}.tv-split-panel .tv-match-person strong{font-size:10px}.tv-split-panel .tv-match-avatar{width:16px;height:16px}.tv-split-panel .tv-match-slot{gap:6px}.tv-split-panel .tv-match p{font-size:8px}}
@media(prefers-reduced-motion:reduce){.tv-panel-content{animation:none}}

.tv-split-panel .tv-match-slot:is(.tv-courts-7,.tv-courts-8,.tv-courts-9,.tv-courts-10,.tv-courts-11,.tv-courts-12) .tv-match-team{gap:3px}

@media(max-width:700px){.tv-split-panel .tv-match-slot[class*="tv-courts-"]{grid-auto-rows:minmax(86px,1fr)}.tv-split-panel .tv-match{padding:4px;gap:2px}.tv-split-panel .tv-match-slot .tv-match .tv-match-avatar{width:12px;height:12px}.tv-split-panel .tv-match-team{gap:2px}.tv-split-panel .tv-versus{gap:2px}.tv-split-panel .tv-match-meta{flex-wrap:nowrap;font-size:9px}.tv-split-panel .tv-match-meta>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:7px}}

/* Stage awards: silver on the left, a raised gold step, bronze on the right. */
.tv-stage-podium {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(6px,1.8vw,32px);
  align-items: end;
  height: 100%;
  max-width: 1650px;
  margin: auto;
}
.tv-podium-step {
  --step-color: #c7dee3;
  --step-height: clamp(44px,12vh,135px);
  height: 100%;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0,1fr) var(--step-height);
  gap: 10px;
}
.tv-podium-step[data-rank="1"] { --step-color: #ffe083; --step-height: clamp(70px,19vh,220px); }
.tv-podium-step[data-rank="3"] { --step-color: #edb597; --step-height: clamp(33px,8vh,90px); }
.tv-step-players {
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-content: safe end;
  gap: clamp(4px,1vw,14px);
}
.tv-step-single { grid-template-columns: minmax(0,1fr); }
.tv-step-dense { grid-template-columns: repeat(auto-fit,minmax(min(100%,80px),1fr)); }
.tv-step-player {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: clamp(3px,1vh,12px);
  min-width: 0;
  padding: clamp(4px,1vw,16px);
  border: 1px solid color-mix(in srgb,var(--step-color) 26%,transparent);
  border-radius: clamp(7px,1.2vw,18px);
  background: #ffffff08;
  text-align: center;
}
.tv-step-player .tv-face {
  width: min(100%,clamp(22px,5.3vw,100px),13vh);
  height: auto;
  aspect-ratio: 1;
  border: 2px solid var(--step-color);
}
.tv-step-single .tv-face { width: min(100%,clamp(50px,10vw,150px),24vh); }
.tv-step-dense .tv-face { width: min(100%,50px,8vh); }
.tv-step-player .tv-face span { font-size: clamp(10px,2vw,28px); }
.tv-step-player h3 {
  font-size: clamp(12px,1.5vw,24px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.tv-step-player strong { color: var(--step-color); font-size: clamp(13px,1.4vw,24px); }
.tv-step-player small { font-size: .65em; font-weight: normal; }
.tv-step-empty { grid-column: 1/-1; text-align: center; color: #b4cbbc; font-size: clamp(10px,1.2vw,18px); }
.tv-podium-plinth {
  display: grid;
  place-items: center;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--step-color);
  color: #102521;
  background: linear-gradient(var(--step-color),color-mix(in srgb,var(--step-color) 76%,#102521));
  box-shadow: inset 0 7px #ffffff32;
  font-size: clamp(22px,4vw,62px);
}
.tv-ranking-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(30px,3vw,46px);
  aspect-ratio: 1;
  border: 1px solid #d4ff71;
  border-radius: 50%;
  overflow: hidden;
  background: #335448;
  color: #e7ffd1;
  font-size: .58em;
}
.tv-ranking-avatar .tv-ranking-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
}
.tv-split-panel .tv-ranking-avatar { width: 36px; }
@media(max-width:1000px) { .tv-split-panel .tv-ranking-avatar { width: 24px; } }
@media(max-width:700px) and (min-height:601px) {
  .tv-step-players:not(.tv-step-dense) { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:700px) {
  .tv-split-panel .tv-ranking-avatar { width: 20px; }
  .tv-step-player h3 { font-size: 11px; }
  .tv-step-player strong { font-size: 11px; }
  .tv-step-player small { display: block; }
}
@media(max-height:600px) {
  .tv-step-player { padding: 4px; gap: 3px; }
  .tv-step-player .tv-face { width: min(100%,9vh); }
  .tv-step-single .tv-face { width: min(100%,16vh); }
  .tv-step-player h3,.tv-step-player strong { font-size: clamp(11px,1.5vw,17px); }
  .tv-podium-step { gap: 5px; }
}
