/* Exhibition booth pass (round 6, 2026-11-11). The big screen is a 32-50 inch monitor read from 2-3 m; phones do everything.
   Loaded last (index.html). Same language as tv.css / flow.css / sport-hud.css: white plates, one flat shadow, bold navy
   type, flat colours, upright text. Things hide with [hidden]. Motion is a short move or size change only (0.2-0.4 s):
   nothing fades in from nothing, nothing flashes.
   sport-hud.css is added to the page later than this file, so in-match rules here start with #game-hud to win. */

/* ---- 1. A match fills the screen: no logo bar, no PC buttons, no mouse pointer ---- */
body.playing .topbar{display:none}
body.playing .game-hud{top:0}
body.playing:not(.qa-practice){cursor:none}
/* Lobby: the bar is only a thin row for the person who sets the booth up. */
body:not(.playing) .topbar{background:transparent}
body:not(.playing) .header-actions button{min-height:34px;padding:4px 14px;border-color:#d5dfe6;background:#fff;color:#5d7186}

/* ---- 2. Read from 2-3 m ---- */
/* Lobby size steps: 1 fits 1280x720, 1.5 fits 1920x1080 (tv.css jumped from 1 straight to 1.4). */
@media(min-width:1340px) and (min-height:750px){.tv-lobby{--u:1.05}}
@media(min-width:1560px) and (min-height:880px){.tv-lobby{--u:1.22}}
@media(min-width:1700px) and (min-height:950px){.tv-lobby{--u:1.4}}
@media(min-width:1900px) and (min-height:1060px){.tv-lobby{--u:1.5}}
@media(min-width:1340px) and (min-height:750px){#help-dialog,.modal .dialog{zoom:1.06}}
@media(min-width:1560px) and (min-height:880px){#help-dialog,.modal .dialog{zoom:1.22}}
@media(min-width:1700px) and (min-height:950px){#help-dialog,.modal .dialog{zoom:1.4}}
@media(min-width:1900px) and (min-height:1060px){#help-dialog,.modal .dialog{zoom:1.5}}

/* Pick view: names, moves and the sport strip are the things read from afar; the long sentence is left to the phone. */
.tv-lobby[data-view=pick] .tv-info p{display:none}
.tv-lobby[data-view=pick] .tv-moves{gap:calc(6px*var(--u)) calc(26px*var(--u));min-height:calc(66px*var(--u))}
.tv-lobby[data-view=pick] .tv-moves .move-cue{font-size:calc(25px*var(--u))}
.tv-lobby[data-view=pick] .tv-moves .move-cue img{width:calc(66px*var(--u));height:calc(66px*var(--u))}
.tv-lobby[data-view=pick] .tv-head h1{font-size:calc(50px*var(--u))}
.tv-lobby[data-view=pick] .tv-chip{font-size:calc(18px*var(--u))}
.tv-lobby[data-view=pick] .tv-levels span{font-size:calc(20px*var(--u))}
.tv-lobby[data-view=pick] .tv-sport{height:calc(92px*var(--u))}
.tv-lobby[data-view=pick] .tv-sport img{width:calc(48px*var(--u));height:calc(48px*var(--u))}
.tv-lobby[data-view=pick] .tv-sport strong{font-size:calc(19px*var(--u))}
.tv-lobby[data-view=pick] .tv-slot span{font-size:calc(19px*var(--u))}
.tv-lobby[data-view=pick] .tv-roster-head span{font-size:calc(19px*var(--u))}
.tv-lobby[data-view=pick] .tv-join .qr-box{width:calc(150px*var(--u))}
.tv-lobby[data-view=pick] .tv-join h2{font-size:calc(23px*var(--u))}
.tv-lobby[data-view=pick] .tv-hint{font-size:calc(25px*var(--u))}
.tv-lobby[data-view=pick] .tv-foot{min-height:calc(42px*var(--u))}

/* Main screen: the QR is the biggest thing after the title. One short promise under it. */
.tv-lobby[data-view=attract] .tv-join{width:calc(392px*var(--u));gap:calc(10px*var(--u))}
.tv-lobby[data-view=attract] .tv-join h2{font-size:calc(32px*var(--u))}
.tv-lobby[data-view=attract] .tv-join .qr-box{width:calc(340px*var(--u))}
.tv-lobby[data-view=attract] .tv-code{display:none}
.tv-free{display:none;padding:calc(4px*var(--u)) calc(18px*var(--u));border-radius:999px;background:#16324a;color:#fff;font-size:calc(22px*var(--u));font-weight:900;line-height:1.4;white-space:nowrap}
.tv-lobby[data-view=attract] .tv-free{display:block}
.tv-lobby[data-view=attract] .tv-title p{font-size:calc(25px*var(--u))}
.tv-lobby[data-view=attract] .tv-sport strong{font-size:calc(21px*var(--u))}

/* In a match. --k is 1 at 720p and 1.5 at 1080p; --pk (score plates, name tags) is a step larger (sport-overlay.js fit). */
#game-hud .sport-overlay.sp-clean{--gl:calc(max(20px,2.4vw) + 316px*var(--k))}
#game-hud .sp-clean .sp-guide{gap:calc(4px*var(--k)) calc(22px*var(--k));min-height:calc(60px*var(--k));padding:calc(7px*var(--k)) calc(22px*var(--k));font-size:calc(23px*var(--k))}
#game-hud .sp-clean .sp-move{width:calc(56px*var(--k));height:calc(56px*var(--k))}
#game-hud .sp-clean .sp-gauge{gap:calc(12px*var(--k));padding:0 calc(20px*var(--k));font-size:calc(21px*var(--k))}
#game-hud .sp-clean .sp-bar{width:calc(122px*var(--k));height:calc(16px*var(--k))}
#game-hud .sp-clean .sp-num{min-width:calc(64px*var(--k));font-size:calc(23px*var(--k))}
@media (min-width:701px){#game-hud .sport-overlay.sp-clean:not(.sp-split-h):not(.sp-split-v) .sp-gauge{height:calc(60px*var(--k))}}
#game-hud .sport-overlay.sp-clean .sp-clock{min-width:calc(96px*var(--k));padding:calc(5px*var(--k)) calc(18px*var(--k));font-size:calc(33px*var(--k))}
#game-hud .sp-clean .sp-status{top:calc(14px + 60px*var(--k));height:calc(42px*var(--k));padding:0 calc(20px*var(--k));font-size:calc(22px*var(--k))}
#game-hud .sp-clean .sp-clock[hidden]+.sp-dock .sp-status{top:14px}
#game-hud .sport-overlay.sp-clean .bm-banner{top:18vh;height:calc(84px*var(--k));padding:0 calc(32px*var(--k))}
#game-hud .sport-overlay.sp-clean .bm-tab{font-size:calc(56px*var(--k))}
#game-hud .sport-overlay.sp-clean .bm-who{font-size:calc(24px*var(--k))}
#game-hud .sport-overlay.sp-clean .bm-band{top:31vh;min-height:calc(60px*var(--k));font-size:calc(32px*var(--k))}
#game-hud .sport-overlay.sp-clean .bm-timing{font-size:calc(34px*var(--k))}
#game-hud .sport-overlay.sp-clean .bm-tag{font-size:calc(26px*var(--k))}
#game-hud .sport-overlay.sp-clean .bm-tag[data-kind=goal]{font-size:calc(36px*var(--k))}
#game-hud .sport-overlay.sp-clean .sp-turn{font-size:calc(16px*var(--pk))}
#game-hud .flow-note{top:clamp(108px,19.6vh,216px);font-size:clamp(17px,3vh,33px)}
/* Corner QR: large enough to scan from the front of the booth, with a three-word line. */
#game-hud .corner-qr img{width:clamp(72px,14.6vh,160px);height:clamp(72px,14.6vh,160px)}
#game-hud .corner-qr span{font-size:clamp(14px,2.5vh,27px)}
#game-hud .waiting-list span{font-size:clamp(14px,2.5vh,27px)}
@media (max-width:700px) and (orientation:portrait){
 #game-hud .sport-overlay.sp-clean{--gl:14px}
 #game-hud .sp-clean .sp-guide{gap:3px 14px;min-height:42px;padding:5px 14px;font-size:calc(20px*var(--k))}
 #game-hud .sp-clean .sp-move{width:calc(50px*var(--k));height:calc(50px*var(--k))}
 #game-hud .sp-clean .sp-gauge{gap:10px;padding:0 14px;font-size:calc(18px*var(--k))}
 #game-hud .sp-clean .sp-bar{width:150px;height:calc(14px*var(--k))}
 #game-hud .sp-clean .sp-num{font-size:calc(20px*var(--k))}
 #game-hud .sport-overlay.sp-clean .sp-clock{min-width:66px;padding:6px 8px;font-size:20px}
 #game-hud .sp-clean .sp-status{top:60px;height:30px;padding:0 14px;font-size:calc(18px*var(--k))}
 #game-hud .sport-overlay.sp-clean:not(.sp-split-v) .sp-status{top:auto}
 #game-hud .sport-overlay.sp-clean .bm-banner{top:15vh;height:56px;padding:0 16px}
 #game-hud .sport-overlay.sp-clean .bm-tab{font-size:34px}
 #game-hud .sport-overlay.sp-clean .bm-who{font-size:16px}
 #game-hud .sport-overlay.sp-clean .bm-band{top:27vh;min-height:44px;font-size:22px}
}

/* First-time card and count card: shorter foot line, larger. */
#game-hud .gg-foot{font-size:clamp(16px,3vh,33px)}
#game-hud .mi-body>b{font-size:clamp(17px,3.2vh,35px)}

/* Result: who won is read first. The winner row is the tall dark one; the sport's own record line is small. */
.modal .result-dialog{width:min(600px,94vw);padding:28px 32px 28px}
.modal .result-dialog .eyebrow{font-size:17px}
.modal .result-dialog h2{margin:2px 0 6px;font-size:50px;line-height:1.2}
.modal .result-dialog .result-praise{margin:0 0 4px;font-size:23px}
.modal .dialog.result-dialog>#result-message{margin:0 0 14px;font-size:16px}
#results .result-row{height:62px}
#results .result-row .name{font-size:24px}
#results .result-row strong{font-size:36px}
#results .result-row.top{height:86px;border-radius:20px}
#results .result-row.top .rank{font-size:30px}
#results .result-row.top .player-badge{width:22px;height:22px}
#results .result-row.top .name{font-size:32px}
#results .result-row.top strong{font-size:52px}
#results .result-stats dt{font-size:16px}
#results .result-stats dd{font-size:21px}
.modal .phone-ask{font-size:21px}
.modal .phone-options span{min-height:54px;font-size:21px}
.modal .result-auto{font-size:17px}
.modal .dialog h2{font-size:42px}
.modal .dialog>p:not(.eyebrow){font-size:19px}
/* "아직 계세요?" sits over everything, also over a result or pause panel. */
.still-here{z-index:60}

/* ---- 3. Seams between screens: a short move or size change when a screen or a card comes in ---- */
@keyframes r6-up{from{transform:translateY(26px)}to{transform:none}}
@keyframes r6-down{from{transform:translateY(-26px)}to{transform:none}}
@keyframes r6-from-right{from{transform:translateX(40px)}to{transform:none}}
@keyframes r6-from-left{from{transform:translateX(-40px)}to{transform:none}}
@keyframes r6-grow{from{transform:scale(.9)}to{transform:none}}
@keyframes r6-card{from{transform:translate(-50%,-46%) scale(.9)}to{transform:translate(-50%,-50%) scale(1)}}
@keyframes r6-drop{from{transform:translateX(-50%) translateY(-18px)}to{transform:translateX(-50%)}}
@keyframes r6-rise{from{transform:translateX(-50%) translateY(18px)}to{transform:translateX(-50%)}}
@keyframes r6-tick{from{transform:scale(1.28)}to{transform:none}}
@keyframes r6-bump{0%{transform:scale(1)}35%{transform:scale(1.34)}100%{transform:scale(1)}}
@keyframes r6-nudge{0%,9%,100%{transform:none}4.5%{transform:scale(1.035)}}
/* Main screen <-> pick view (the same DOM, #lobby[data-view]). */
.tv-lobby[data-view=attract] .tv-title{animation:r6-from-left .34s cubic-bezier(.2,.8,.3,1)}
.tv-lobby[data-view=attract] .tv-join{animation:r6-from-right .34s cubic-bezier(.2,.8,.3,1),r6-nudge 7s 3s ease-in-out infinite}
.tv-lobby[data-view=attract] .tv-sports{animation:r6-up .34s cubic-bezier(.2,.8,.3,1)}
.tv-lobby[data-view=pick] .tv-roster{animation:r6-from-left .3s cubic-bezier(.2,.8,.3,1)}
.tv-lobby[data-view=pick] .tv-join{animation:r6-up .3s cubic-bezier(.2,.8,.3,1)}
.tv-lobby[data-view=pick] .tv-info,.tv-lobby[data-view=pick] .tv-sports{animation:r6-up .3s cubic-bezier(.2,.8,.3,1)}
/* The chosen sport's tile grows a little when the choice moves. */
.tv-sport.on{animation:r6-grow .2s cubic-bezier(.2,.9,.3,1.2)}
/* Match: the HUD plates come in from their own edge; cards grow in; the count ticks. */
#game-hud .sport-overlay .bm-left,#game-hud .sport-overlay .sp-board{animation:r6-from-left .32s cubic-bezier(.2,.8,.3,1)}
#game-hud .sport-overlay .bm-right{animation:r6-from-right .32s cubic-bezier(.2,.8,.3,1)}
#game-hud .corner-join{animation:r6-from-right .32s cubic-bezier(.2,.8,.3,1)}
#game-hud .sport-overlay .sp-clock{animation:r6-drop .3s cubic-bezier(.2,.8,.3,1)}
#game-hud .grip-guide{animation:r6-card .3s cubic-bezier(.2,.9,.3,1.1)}
#game-hud .move-intro{animation:r6-card .26s cubic-bezier(.2,.9,.3,1.1)}
#game-hud .move-intro .countdown.tick{animation:r6-tick .24s cubic-bezier(.2,.9,.3,1.2)}
#game-hud .flow-note{animation:r6-drop .24s ease-out}
/* A number changes: the digits jump once (sport-overlay.js adds .bump). */
#game-hud .sport-overlay .bm-score.bump,#game-hud .sport-overlay .sp-chip.bump strong{animation:r6-bump .36s cubic-bezier(.2,.9,.3,1.1);color:var(--teal)}
#game-hud .sport-overlay .sp-chip.sp-now.bump strong{color:#fff}
/* Result and pause: the panel rises, the rows follow one after another, the winner's score counts up (screen-motion.js). */
.modal:not([hidden]) .dialog{animation:r6-up .32s cubic-bezier(.2,.8,.3,1)}
#result-modal:not([hidden]) #results .result-row{animation:r6-from-right .3s cubic-bezier(.2,.8,.3,1) backwards}
#result-modal:not([hidden]) #results .result-row:nth-child(2){animation-delay:.07s}
#result-modal:not([hidden]) #results .result-row:nth-child(3){animation-delay:.14s}
#result-modal:not([hidden]) #results .result-row:nth-child(4){animation-delay:.21s}
#result-modal:not([hidden]) #results .result-row.top{animation:r6-grow .34s .08s cubic-bezier(.2,.9,.3,1.25) backwards}
.still-here:not([hidden]){animation:r6-card .26s cubic-bezier(.2,.9,.3,1.1)}
.toast:not([hidden]){animation:r6-rise .24s ease-out}
@media(prefers-reduced-motion:reduce){
 .tv-lobby .tv-title,.tv-lobby .tv-join,.tv-lobby .tv-sports,.tv-lobby .tv-roster,.tv-lobby .tv-info,.tv-sport.on,
 #game-hud .sport-overlay .bm-left,#game-hud .sport-overlay .bm-right,#game-hud .sport-overlay .sp-board,#game-hud .corner-join,#game-hud .sport-overlay .sp-clock,
 #game-hud .grip-guide,#game-hud .move-intro,#game-hud .move-intro .countdown.tick,#game-hud .flow-note,#game-hud .sport-overlay .bm-score.bump,#game-hud .sport-overlay .sp-chip.bump strong,
 .modal:not([hidden]) .dialog,#result-modal:not([hidden]) #results .result-row,.still-here:not([hidden]),.toast:not([hidden]){animation:none}
}
/* Result panel sits on the right (the winner stands on the left), so the corner QR waits in the left corner meanwhile. */
body:has(#result-modal:not([hidden])) #game-hud .corner-join{right:auto;left:clamp(10px,1.8vh,20px);justify-items:start;animation:none;transform:none}
/* Side-by-side split: the QR would cover the right-hand athlete in the corner, so it stands small on the divider instead. */
#game-hud:has(.sp-split-h) .corner-join{right:auto;left:50%;bottom:clamp(8px,1.6vh,18px);transform:translateX(-50%);justify-items:center;animation:none}
#game-hud:has(.sp-split-h) .corner-qr{flex-direction:column;gap:clamp(2px,.4vh,5px);padding:clamp(5px,.8vh,9px)}
#game-hud:has(.sp-split-h) .corner-qr img{width:clamp(60px,10vh,108px);height:clamp(60px,10vh,108px)}
#game-hud:has(.sp-split-h) .corner-qr span{font-size:clamp(14px,1.9vh,21px);line-height:1.15;text-align:center}
#game-hud:has(.sp-split-h) .corner-qr span br{display:none}
/* 7차 QA2: 가운데 QR 자리만큼 양쪽 조작 줄을 비켜 준다(검술 2명에서 왼쪽 줄 끝 "누르는 동안 방어"가 QR 에 가려졌다). */
#game-hud:has(.sp-split-h) .sport-overlay.sp-clean.sp-split-h .sp-guide{right:calc(50% + clamp(60px,11vh,130px))}
#game-hud:has(.sp-split-h) .sport-overlay.sp-clean.sp-split-h .sp-guide.sp-view2{left:calc(50% + clamp(60px,11vh,130px));right:14px}
/* Who is on which half (team sports): the name chips under the score plates are read from afar too. */
#game-hud .split-view .split-label span{height:auto;padding:.22em .7em .22em .5em;font-size:calc(17px*var(--pk,1));line-height:1.3}
#game-hud .split-view .split-label span i{width:.7em;height:.7em}
/* Player chips (bowling, golf, basketball): the score is as easy to read as a duel score. */
#game-hud .sport-overlay.sp-clean .sp-chip{height:calc(52px*var(--pk))}
#game-hud .sport-overlay.sp-clean .sp-chip span{font-size:calc(19px*var(--pk))}
#game-hud .sport-overlay.sp-clean .sp-chip strong{font-size:calc(36px*var(--pk))}
@media (max-width:700px) and (orientation:portrait){
 #game-hud .sport-overlay.sp-clean .sp-chip{height:38px}
 #game-hud .sport-overlay.sp-clean .sp-chip span{font-size:14px}
 #game-hud .sport-overlay.sp-clean .sp-chip strong{font-size:22px}
 #game-hud .split-view .split-label span{font-size:14px}
}
/* With those name chips up, each half's gauge starts under them. */
@media (min-width:701px){#game-hud:has(.split-label:not([hidden])) .sport-overlay.sp-clean.sp-split-h .sp-gauge{top:calc(30px + 92px*var(--pk))}}
/* Split screen: the connection note waits under the inner gauge instead of covering it. */
@media (min-width:701px){
 #game-hud:has(.sp-split-h) .flow-note{top:calc(74px + 107px*var(--pk,1))}
 #game-hud:has(.sp-split-h):has(.split-label:not([hidden])) .flow-note{top:calc(42px + 139px*var(--pk,1))}
}

/* ---- 전시 부스(?booth=1) · 시범 경기 (2026-11-12, art/R6-BOOTH-2026-11-12.md) ----
   평소 화면에는 아무것도 더하지 않는다: 아래 요소는 body.booth(부스 주소) 또는 [hidden] 이 풀렸을 때만 보인다. */
.tv-how,.tv-demo[hidden],.booth-setup[hidden]{display:none}
/* 메인 화면 QR 판 아래 흰 판 하나: 찍기 > 이름 > 휘두르기. 그림 세 장과 두세 글자씩. (참가 카드 안에는 글을 더하지 않는다) */
body.booth .tv-lobby[data-view=attract] .tv-how{position:fixed;right:calc(36px*var(--u));bottom:calc(104px*var(--u));box-sizing:border-box;width:calc(392px*var(--u));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(8px*var(--u));padding:calc(10px*var(--u)) calc(14px*var(--u)) calc(8px*var(--u));border-radius:calc(26px*var(--u));background:#fff;box-shadow:var(--plate)}
.tv-how span{position:relative;display:grid;justify-items:center;gap:calc(2px*var(--u))}
.tv-how img{width:calc(56px*var(--u));height:calc(56px*var(--u));object-fit:contain}
.tv-how b{font-size:calc(18px*var(--u));font-weight:900;line-height:1.3;color:var(--ink);white-space:nowrap}
.tv-how span+span::before{content:'';position:absolute;left:calc(-10px*var(--u));top:calc(22px*var(--u));width:calc(9px*var(--u));height:calc(9px*var(--u));border-top:calc(3px*var(--u)) solid #9fb0bd;border-right:calc(3px*var(--u)) solid #9fb0bd;transform:rotate(45deg)}
/* 시범 경기 중: 종목 이름과 점수 한 줄(왼쪽 아래 흰 알약). 종목 띠는 낮춰서 경기 장면을 더 보여 준다. */
.tv-demo{display:inline-flex;align-items:center;padding:calc(7px*var(--u)) calc(18px*var(--u));border-radius:999px;background:#fff;color:var(--ink);box-shadow:var(--plate);font-size:calc(21px*var(--u));font-weight:900;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}
body.demo-on .tv-lobby[data-view=attract] .tv-sport{height:calc(70px*var(--u))}
body.demo-on .tv-lobby[data-view=attract] .tv-sport img{width:calc(40px*var(--u));height:calc(40px*var(--u))}
body.demo-on .tv-lobby[data-view=attract] .tv-foot{display:flex;align-items:center;gap:calc(10px*var(--u));bottom:calc(102px*var(--u))}
/* 운영 인력용 안내: 전체 화면이 아니거나 소리가 막혀 있을 때, 켠 뒤 2분 동안 메인 화면 가운데에만. */
.booth-setup{position:fixed;left:calc(36px*var(--u));top:calc(196px*var(--u));z-index:30;display:grid;justify-items:start;gap:calc(2px*var(--u));padding:calc(14px*var(--u)) calc(26px*var(--u));border-radius:calc(26px*var(--u));background:#16324a;color:#fff;box-shadow:0 calc(6px*var(--u)) 0 rgba(22,50,74,.2);pointer-events:none}
.booth-setup b{font-size:calc(17px*var(--u));font-weight:900;color:#a9d8dc}
.tv-lobby:has(.booth-setup:not([hidden])) .tv-sound{display:none}
.booth-setup span{font-size:calc(26px*var(--u));font-weight:900;line-height:1.3;letter-spacing:-.02em;white-space:nowrap}
.tv-lobby[data-view=pick] .booth-setup{display:none}
/* 경기 중 구석: 기다리는 사람 위에 "다음 판에 같이 해요"를 크게. 자리가 찼을 때 QR 옆 글은 두 줄까지. */
body.booth .waiting-list:not(:empty)::before{content:'다음 판에 같이 해요';padding:.3em .9em;border-radius:999px;background:#16324a;color:#fff;font-size:clamp(16px,2.6vh,29px);font-weight:900;line-height:1.3;white-space:nowrap}
body.booth .waiting-list span{font-size:clamp(16px,2.6vh,29px)}
body.booth .corner-qr span{max-width:8.6em;white-space:normal;word-break:keep-all}
body.booth .tv-lobby[data-view=pick] .tv-join h2{font-size:calc(19px*var(--u))}
@media(max-width:860px){body.booth .tv-lobby[data-view=attract] .tv-how{display:none}.booth-setup span{font-size:18px;white-space:normal;text-align:center}}
body.booth:not(.demo-on) .tv-lobby[data-view=attract] .tv-how{bottom:calc(130px*var(--u))}
/* 부스 메인 화면: 세 단계 판이 들어갈 자리만큼 QR 을 조금 줄인다(340 → 300). 2~3m 에서 찍히는 크기는 그대로다. */
body.booth .tv-lobby[data-view=attract] .tv-join .qr-box{width:calc(300px*var(--u))}

/* ==== 8차 화면 정리 (2026-11-12, art/R8-TV-2026-11-12.md) ====
   사용자: "글씨가 너무 크고 UI/UX 가 너무 복잡해". 1920x1080 기준 점수 45~48px, 이름 21px, 시계 28px, 알약·안내 20px,
   로비 종목 이름 40px, 본문 18px. 1366x768 에서도 14px 아래로 내려가지 않는다(max(14px,…)).
   경기 중 기본 화면 = 점수판 하나(이름·점수·시계 한 줄) + 작은 구석 QR. 알약·조작 줄은 필요한 순간에만(sport-overlay.js),
   게이지는 큰 화면에 그리지 않는다(휴대폰이 진동·표시로 알려 준다. 값은 그대로 휴대폰에 간다). 숨김은 display 와 이동만. */
@media (min-width:701px){
 #game-hud .sport-overlay.sp-clean{--sb:calc(38px*var(--k));--cw:calc(84px*var(--k));--gl:calc(24px + 110px*var(--k));--gr:calc(24px + 110px*var(--k))}
 /* 점수판 하나: [● 이름 점수][시계][점수 이름 ●] */
 #game-hud .sport-overlay.sp-clean .bm-corner{top:12px;height:var(--sb);gap:calc(10px*var(--k));padding:0 calc(14px*var(--k))}
 #game-hud .sport-overlay.sp-clean .bm-left{left:auto;right:calc(50% + var(--cw)/2);border-radius:calc(12px*var(--k)) 0 0 calc(12px*var(--k))}
 #game-hud .sport-overlay.sp-clean .bm-right{right:auto;left:calc(50% + var(--cw)/2);border-radius:0 calc(12px*var(--k)) calc(12px*var(--k)) 0}
 #game-hud .sport-overlay.sp-clean:has(.sp-clock[hidden]) .bm-left{right:50%}
 #game-hud .sport-overlay.sp-clean:has(.sp-clock[hidden]) .bm-right{left:50%}
 #game-hud .sport-overlay.sp-clean .bm-name{max-width:calc(150px*var(--k));font-size:max(14px,calc(14px*var(--k)))}
 #game-hud .sport-overlay.sp-clean .bm-score{min-width:calc(22px*var(--k));font-size:calc(32px*var(--k))}
 #game-hud .sport-overlay.sp-clean .bm-dot,#game-hud .sport-overlay.sp-clean .bm-name:not(:has(.bm-dot))::before{width:calc(10px*var(--k));height:calc(10px*var(--k))}
 #game-hud .sport-overlay.sp-clean .sp-clock{top:12px;box-sizing:border-box;display:grid;place-items:center;min-width:var(--cw);width:var(--cw);height:var(--sb);padding:0;border-radius:0;background:#16324a;color:#fff;font-size:calc(19px*var(--k));line-height:1}
 #game-hud .sport-overlay.sp-clean .sp-clock.urgent{color:#ffb4a6}
 /* 각자 점수(볼링·골프·농구): 시계는 혼자 가운데 작은 알약, 칩은 왼쪽 위에 작게. */
 #game-hud .sport-overlay.sp-clean:has(.sp-board) .sp-clock{width:auto;padding:0 calc(16px*var(--k));border-radius:999px}
 #game-hud .sport-overlay.sp-clean .sp-board{top:12px;gap:calc(4px*var(--k))}
 #game-hud .sport-overlay.sp-clean .sp-chip{min-width:calc(150px*var(--k));height:calc(34px*var(--k));padding:0 calc(12px*var(--k)) 0 calc(10px*var(--k));border-radius:calc(11px*var(--k))}
 #game-hud .sport-overlay.sp-clean .sp-chip span{font-size:max(14px,calc(14px*var(--k)))}
 #game-hud .sport-overlay.sp-clean .sp-chip strong{font-size:calc(26px*var(--k))}
 #game-hud .sport-overlay.sp-clean .sp-turn{font-size:max(14px,calc(12px*var(--k)))}
 #game-hud .sport-overlay.sp-clean .sp-chip::before{width:calc(10px*var(--k));height:calc(10px*var(--k))}
 /* 상태 알약: 점수판 바로 아래, 바뀐 순간 2초만(sport-overlay.js STATUS_MS). */
 #game-hud .sp-clean .sp-status{top:calc(18px + var(--sb));height:calc(28px*var(--k));padding:0 calc(14px*var(--k));font-size:max(14px,calc(13.5px*var(--k)))}
 #game-hud .sp-clean .sp-clock[hidden]+.sp-dock .sp-status{top:12px}
 #game-hud .sport-overlay.sp-clean:has(.bm-corner) .sp-clock[hidden]+.sp-dock .sp-status{top:calc(18px + var(--sb))}
 /* 조작 줄: 작게, 나올 때는 아래에서 올라오고 끝나면 아래로 빠진다(.sp-leave → [hidden]). */
 #game-hud .sp-clean .sp-guide{gap:calc(3px*var(--k)) calc(16px*var(--k));min-height:calc(40px*var(--k));padding:calc(4px*var(--k)) calc(16px*var(--k));border-radius:calc(14px*var(--k));font-size:max(14px,calc(14px*var(--k)));animation:r8-in .3s cubic-bezier(.2,.8,.3,1)}
 #game-hud .sp-clean .sp-move{width:calc(38px*var(--k));height:calc(38px*var(--k))}
 #game-hud .sport-overlay.sp-clean .sp-guide.sp-leave{animation:r8-out .32s cubic-bezier(.5,0,.8,.4) forwards}
 /* 말풍선(완벽!·약하게!)과 득점 글은 짧고 작게. */
 #game-hud .sport-overlay.sp-clean .bm-timing{padding:calc(3px*var(--k)) calc(12px*var(--k));font-size:calc(19px*var(--k))}
 #game-hud .sport-overlay.sp-clean .bm-tag{padding:calc(3px*var(--k)) calc(12px*var(--k));font-size:max(14px,calc(15px*var(--k)))}
 #game-hud .sport-overlay.sp-clean .bm-tag[data-kind=goal]{font-size:calc(24px*var(--k))}
 #game-hud .sport-overlay.sp-clean .bm-banner{height:calc(54px*var(--k));padding:0 calc(22px*var(--k))}
 #game-hud .sport-overlay.sp-clean .bm-tab{font-size:calc(36px*var(--k))}
 #game-hud .sport-overlay.sp-clean .bm-who{font-size:max(14px,calc(15px*var(--k)))}
 #game-hud .sport-overlay.sp-clean .bm-band{min-height:calc(40px*var(--k));font-size:calc(20px*var(--k))}
}
@keyframes r8-in{from{transform:translateY(calc(100% + 4vh))}to{transform:none}}
@keyframes r8-out{from{transform:none}to{transform:translateY(calc(100% + 4vh))}}
/* 타이밍·세기 게이지: 큰 화면에는 그리지 않는다(검수용 키보드 연습만 보임). */
body:not(.qa-practice) #game-hud .sport-overlay.sp-clean .sp-gauge{display:none}
/* 선수 머리 위 이름표: 작게(1080p 21px). */
#game-hud .name-tag{height:calc(19px*var(--pk,1));gap:calc(4px*var(--pk,1));padding:0 calc(8px*var(--pk,1)) 0 calc(6px*var(--pk,1))}
#game-hud .name-tag b{font-size:max(14px,calc(12px*var(--pk,1)))}
#game-hud .name-tag i{width:calc(8px*var(--pk,1));height:calc(8px*var(--pk,1))}
/* 구석 QR: 작게. 경기 중(점수판이 있을 때)은 더 작게. */
#game-hud .corner-qr img{width:clamp(60px,10vh,108px);height:clamp(60px,10vh,108px)}
#game-hud .corner-qr span{font-size:clamp(14px,1.6vh,18px)}
#game-hud:has(.sport-overlay) .corner-qr img{width:clamp(52px,8vh,86px);height:clamp(52px,8vh,86px)}
#game-hud:has(.sp-split-h) .corner-qr img{width:clamp(48px,7vh,76px);height:clamp(48px,7vh,76px)}
#game-hud:has(.sp-split-h) .corner-qr span{font-size:clamp(14px,1.4vh,16px)}
#game-hud .waiting-list span,body.booth .waiting-list span{font-size:clamp(14px,1.7vh,19px)}
body.booth .waiting-list:not(:empty)::before{font-size:clamp(14px,1.7vh,19px)}
#game-hud .flow-note{font-size:clamp(15px,2vh,22px)}
/* 알림 한 줄("○○ 님이 들어왔어요")과 편 소개 카드: 작게. 도움말은 1080p 에서도 1.2배까지만. */
.toast{font-size:clamp(14px,1.9vh,21px)}
#game-hud .team-intro{gap:clamp(10px,1.8vh,20px);padding:clamp(10px,1.6vh,18px) clamp(16px,2.6vh,30px)}
#game-hud .team-intro b{font-size:clamp(15px,2.2vh,24px)}
@media(min-width:1560px) and (min-height:880px){#help-dialog,.modal .dialog{zoom:1.1}}
@media(min-width:1900px) and (min-height:1060px){#help-dialog,.modal .dialog{zoom:1.2}}
/* 편 이름 칩(배구·축구 나눠 보기): 작게. */
#game-hud .split-view .split-label span{font-size:max(14px,calc(12px*var(--pk,1)))}
/* 잡는 법 카드: 그림 2개 + 제목 한 줄 + 시작 한 줄. 위 작은 글("테니스 · 처음이면 이렇게")은 뺀다. */
#game-hud .gg-head b{display:none}
#game-hud .gg-head span{font-size:clamp(22px,4vh,44px)}
#game-hud .gg-moves .move-cue{width:clamp(150px,28vh,310px)}
#game-hud .gg-moves .move-cue img{width:clamp(96px,18vh,200px);height:clamp(96px,18vh,200px)}
#game-hud .gg-moves .move-cue b{font-size:clamp(15px,2.3vh,25px)}
#game-hud .gg-foot{font-size:clamp(14px,1.9vh,20px)}
#game-hud .gg-foot img{width:clamp(26px,4vh,44px);height:clamp(26px,4vh,44px)}
#game-hud .mi-body>b{font-size:clamp(15px,2.2vh,24px)}
/* 결과: 이긴 사람과 점수가 가장 크다. 기록 칸은 2개까지. */
.modal .result-dialog{width:min(540px,94vw);padding:24px 28px}
.modal .dialog.result-dialog h2{font-size:42px}
.modal .result-dialog .result-praise{font-size:19px}
#results .result-row{height:52px}
#results .result-row .name{font-size:21px}
#results .result-row strong{font-size:32px}
#results .result-row.top{height:76px}
#results .result-row.top .name{font-size:26px}
#results .result-row.top strong{font-size:48px}
#results .result-stats>div:nth-child(n+3){display:none}
#results .result-stats dd{font-size:18px}
.modal .phone-ask,.modal .phone-options span{font-size:18px}
.modal .phone-options span{min-height:46px}
.modal .result-auto{font-size:15px}
.modal .dialog h2{font-size:34px}
.modal .dialog>p:not(.eyebrow){font-size:17px}

/* ---- 로비(고르기): 큰 미리보기 한 장 위에 "누가 · 무슨 종목 · 휴대폰에서 시작"만 ---- */
@media(min-width:861px){
 .tv-lobby[data-view=pick]{display:block;height:calc(100svh - 64px);min-height:0;max-width:none;padding:0}
 .tv-lobby[data-view=pick] .tv-show{display:block}
 .tv-lobby[data-view=pick] .tv-show .hero-stage{position:fixed;inset:0;width:auto;height:auto;min-height:0;border-radius:0}
 /* 왼쪽 위: 종목 이름 + 한 줄 설명 + 난이도 한 단어 */
 .tv-lobby[data-view=pick] .tv-info{position:fixed;left:calc(28px*var(--u));top:calc(64px + 8px*var(--u));max-width:min(46vw,calc(560px*var(--u)));gap:calc(2px*var(--u));padding:calc(12px*var(--u)) calc(22px*var(--u));border-radius:calc(22px*var(--u));background:#fff;box-shadow:var(--plate)}
 .tv-lobby[data-view=pick] .tv-head h1{font-size:calc(27px*var(--u))}
 .tv-lobby[data-view=pick] .tv-chip,.tv-lobby[data-view=pick] .tv-moves{display:none}
 .tv-lobby[data-view=pick] .tv-levels{margin-left:calc(6px*var(--u));padding:0;background:transparent;box-shadow:none}
 .tv-lobby[data-view=pick] .tv-levels span{display:none;padding:calc(2px*var(--u)) calc(12px*var(--u));font-size:max(14px,calc(12.5px*var(--u)))}
 .tv-lobby[data-view=pick] .tv-levels span.on{display:block}
 .tv-lobby[data-view=pick] .tv-info p{display:-webkit-box;font-size:max(14px,calc(12.5px*var(--u)));-webkit-line-clamp:2}
 /* 아래 가운데: 종목 여덟 개는 작은 그림 점으로, 고른 것만 이름이 보인다. */
 .tv-lobby[data-view=pick] .tv-sports{position:fixed;left:50%;bottom:calc(16px*var(--u));transform:translateX(-50%);display:flex;align-items:center;gap:calc(6px*var(--u));padding:calc(6px*var(--u));border-radius:999px;background:#fff;box-shadow:var(--plate)}
 .tv-lobby[data-view=pick] .tv-sport{display:flex;align-items:center;gap:calc(4px*var(--u));width:auto;height:calc(40px*var(--u));padding:0 calc(6px*var(--u));border-radius:999px;box-shadow:none}
 .tv-lobby[data-view=pick] .tv-sport img{width:calc(28px*var(--u));height:calc(28px*var(--u))}
 .tv-lobby[data-view=pick] .tv-sport strong{display:none;font-size:max(14px,calc(13px*var(--u)))}
 .tv-lobby[data-view=pick] .tv-sport.on{padding:0 calc(14px*var(--u)) 0 calc(8px*var(--u))}
 .tv-lobby[data-view=pick] .tv-sport.on strong{display:block}
 /* 오른쪽 위(버튼 줄 아래): 들어온 사람만 이름 칩 한 줄(빈 자리는 숫자로만). */
 .tv-lobby[data-view=pick] .tv-roster{position:fixed;right:calc(28px*var(--u));top:calc(64px + 8px*var(--u));display:flex;align-items:center;gap:calc(8px*var(--u))}
 .tv-lobby[data-view=pick] .tv-roster-head{padding:calc(6px*var(--u)) calc(12px*var(--u));border-radius:999px;background:#16324a}
 .tv-lobby[data-view=pick] .tv-roster-head h3{display:none}
 .tv-lobby[data-view=pick] .tv-roster-head span{color:#fff;font-size:max(14px,calc(13px*var(--u)))}
 .tv-lobby[data-view=pick] .tv-slots{display:flex;gap:calc(6px*var(--u))}
 .tv-lobby[data-view=pick] .tv-slot{height:calc(36px*var(--u));padding:0 calc(14px*var(--u)) 0 calc(6px*var(--u));border-radius:999px}
 .tv-lobby[data-view=pick] .tv-slot:not(.connected){display:none}
 .tv-lobby[data-view=pick] .tv-slot strong{font-size:max(14px,calc(14px*var(--u)))}
 .tv-lobby[data-view=pick] .tv-slot span{font-size:max(14px,calc(11px*var(--u)))}
 /* 오른쪽 아래: QR 작게. */
 .tv-lobby[data-view=pick] .tv-join{position:fixed;right:calc(28px*var(--u));bottom:calc(16px*var(--u));padding:calc(8px*var(--u));gap:calc(2px*var(--u)) calc(10px*var(--u));border-radius:calc(18px*var(--u))}
 .tv-lobby[data-view=pick] .tv-join .qr-box{width:calc(84px*var(--u));padding:calc(4px*var(--u));border-radius:calc(10px*var(--u))}
 .tv-lobby[data-view=pick] .tv-join h2{font-size:max(14px,calc(13px*var(--u)))}
 .tv-lobby[data-view=pick] .tv-code span{font-size:max(14px,calc(11px*var(--u)))}
 .tv-lobby[data-view=pick] .tv-code strong{font-size:calc(16px*var(--u))}
 body.booth .tv-lobby[data-view=pick] .tv-join h2{font-size:max(14px,calc(13px*var(--u)))}
 /* 가운데 아래 한 줄: 휴대폰에서 시작. 연결 상태 글은 뺀다. */
 .tv-lobby[data-view=pick] .tv-foot{position:fixed;left:50%;bottom:calc(72px*var(--u));transform:translateX(-50%);min-height:0;padding:calc(6px*var(--u)) calc(18px*var(--u));border-radius:999px;background:#fff;box-shadow:var(--plate)}
 .tv-lobby[data-view=pick] .tv-foot .network{display:none}
 .tv-lobby[data-view=pick] .tv-hint{flex:none;font-size:calc(15px*var(--u))}
 .tv-lobby[data-view=pick] .tv-sound{font-size:max(14px,calc(11px*var(--u)))}
 .tv-lobby[data-view=pick] .tv-info{animation:r6-from-left .3s cubic-bezier(.2,.8,.3,1)}
 .tv-lobby[data-view=pick] .tv-roster{animation:r6-from-right .3s cubic-bezier(.2,.8,.3,1)}
 .tv-lobby[data-view=pick] .tv-join{animation:r6-from-right .3s cubic-bezier(.2,.8,.3,1)}
 .tv-lobby[data-view=pick] .tv-sports{animation:r8-rise .3s cubic-bezier(.2,.8,.3,1)}
}
@keyframes r8-rise{from{transform:translate(-50%,30px)}to{transform:translateX(-50%)}}
/* ---- 메인(대기): 제목 + 큰 QR + 한 줄. 종목 띠·세 단계 판·"설치 없이" 줄은 뺀다. ---- */
.tv-lobby[data-view=attract] .tv-sports,.tv-lobby[data-view=attract] .tv-free,body.booth .tv-lobby[data-view=attract] .tv-how{display:none}
.tv-lobby[data-view=attract] .tv-title h1{font-size:calc(44px*var(--u))}
.tv-lobby[data-view=attract] .tv-title p{font-size:max(14px,calc(15px*var(--u)))}
.tv-lobby[data-view=attract] .tv-join h2{font-size:calc(20px*var(--u))}
.tv-lobby[data-view=attract] .tv-join{width:calc(330px*var(--u))}
.tv-lobby[data-view=attract] .tv-join .qr-box,body.booth .tv-lobby[data-view=attract] .tv-join .qr-box{width:calc(290px*var(--u))}
.tv-lobby[data-view=attract] .tv-foot{bottom:calc(20px*var(--u))}
.tv-lobby[data-view=attract] .tv-sound,.tv-demo{font-size:max(14px,calc(13px*var(--u)))}
body.demo-on .tv-lobby[data-view=attract] .tv-foot{bottom:calc(20px*var(--u))}
/* 운영 안내(부스 운영 인력용): 작게, 1분 뒤 왼쪽으로 빠진다. */
.booth-setup{top:auto;bottom:calc(64px*var(--u));padding:calc(8px*var(--u)) calc(16px*var(--u));border-radius:calc(16px*var(--u));animation:r8-aside .4s 60s cubic-bezier(.5,0,.8,.4) forwards}
.booth-setup b{font-size:max(14px,calc(11px*var(--u)))}
.booth-setup span{font-size:max(14px,calc(14px*var(--u)))}
@keyframes r8-aside{to{transform:translateX(calc(-100% - 60px*var(--u)))}}
@media(prefers-reduced-motion:reduce){
 #game-hud .sp-clean .sp-guide,.tv-lobby[data-view=pick] .tv-roster,.tv-lobby[data-view=pick] .tv-info,.tv-lobby[data-view=pick] .tv-join,.tv-lobby[data-view=pick] .tv-sports{animation:none}
 #game-hud .sport-overlay.sp-clean .sp-guide.sp-leave{animation:none}
}
/* 9차 마무리: 볼링 더블·터키·연속 스트라이크 띠는 크게(1366x768 약 34px, 1080p 약 48px = 점수 숫자와 같은 크기). 스페어 칭찬은 평소 크기(약 21px). */
#game-hud .sport-overlay.sp-clean .bm-band[data-size=big]{min-height:calc(56px*var(--k));padding:0 calc(30px*var(--k));border-radius:calc(18px*var(--k));font-size:calc(32px*var(--k))}
