:root{--ink:#203849;--muted:#647479;--paper:#fff9ed;--mint:#b2d8c7;--deep:#356f64;--coral:#ee825e;--violet:#7665bd;--line:#d8ddd3;font-family:Segoe UI,system-ui,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#c7ded7;touch-action:none;user-select:none;-webkit-user-select:none}button,select,input{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--deep);outline-offset:3px}button:disabled{opacity:.45;cursor:wait}a{color:inherit}#court{position:fixed;inset:0;width:100%;height:100%;display:block}.menu-shade{position:fixed;inset:0;background:linear-gradient(90deg,#faf8eefc,#faf8eef5 28%,#faf8eec2 43%,#faf8ee00 67%);pointer-events:none}body:not(.in-menu) .menu-shade{display:none}.club-header{position:fixed;inset:0 0 auto;z-index:10;height:96px;padding:26px 4vw;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.brand{display:flex;gap:12px;align-items:center;line-height:1;letter-spacing:.12em;font-size:19px;text-decoration:none;pointer-events:auto}.brand small{display:block;font-size:8px;letter-spacing:.3em;margin-top:9px}.brand-mark{height:45px;width:45px;color:var(--deep)}.brand-mark svg{width:100%;height:100%}.header-actions{display:flex;align-items:center;gap:14px;pointer-events:auto}.court-tag{font-size:10px;letter-spacing:.18em}.court-tag b{font-size:18px;margin-left:6px}.icon-button{background:#fff9edde;border:1px solid #20384930;border-radius:12px;padding:10px 15px;font-size:12px;min-height:42px;backdrop-filter:blur(12px)}.club-menu{position:fixed;left:4vw;top:124px;bottom:22px;width:min(490px,43vw);overflow-y:auto;scrollbar-width:thin;padding:0 6px 12px 0;touch-action:pan-y}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:750;display:flex;align-items:center;gap:8px;color:var(--deep)}.live-dot{width:6px;height:6px;display:inline-block;flex-shrink:0;background:var(--deep);border-radius:50%;box-shadow:0 0 0 4px #356f6414}h1{font:400 clamp(36px,4.8vw,65px)/1.08 Georgia,serif;letter-spacing:-.055em;margin:22px 0 18px}h1 span,h1 em{display:block}h1 em{color:var(--deep)}.intro{font-size:14px;line-height:1.7;color:var(--muted);max-width:410px;margin:0 0 24px}.menu-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:20px}.menu-tabs button{flex:1;border:0;background:none;padding:12px 3px;font-size:13px;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap}.menu-tabs button[aria-selected=true]{border-color:var(--deep);color:var(--deep);font-weight:750}.tab-page{animation:page-in .25s ease}.mode-card{display:flex;gap:14px;align-items:center;width:100%;padding:15px;margin-bottom:10px;background:#ffffff70;border:1px solid var(--line);border-radius:15px;text-align:left;transition:background .18s,transform .18s}.mode-card:hover{background:var(--paper);transform:translate(2px)}.mode-card.selected{border-color:#82b5a5;background:#e6efe3}.mode-card b{display:block;font-size:15px;font-weight:650}.mode-card small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:4px}.mode-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#d2e8da;color:var(--deep);font-size:29px}.mode-icon.coral{background:#f7dfd3;color:#bf6543}.mode-icon.violet{background:#e5ddf1;color:var(--violet)}.selection-dot{margin-left:auto;flex-shrink:0;width:14px;height:14px;border-radius:50%;border:1px solid #aabbb2}.selected .selection-dot{border:4px solid #fff;background:var(--deep);box-shadow:0 0 0 1px var(--deep)}.field-row{display:flex;gap:12px;margin-top:14px;align-items:end}.field-row label{flex:1;min-width:0}.field-row label>span,.single-field>span{font-size:11px;color:var(--muted);display:block;margin-bottom:6px}select{border:1px solid #c9d4ca;border-radius:9px;background:#f9f8ef;padding:10px;width:100%;font-size:12px;min-height:42px}.primary{border:0;border-radius:12px;background:var(--ink);color:var(--paper);padding:16px 20px;min-height:52px;font-size:14px;font-weight:650;transition:background .2s,transform .2s}.primary:hover{background:var(--deep);transform:translateY(-1px)}.start-button{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:20px}.start-button>span:last-child{font-size:24px}.menu-footer{display:flex;gap:8px;align-items:center;margin-top:18px;font-size:10px;color:var(--muted);line-height:1.5}.menu-footer>a{margin-left:auto;text-underline-offset:3px}.court-caption{position:fixed;bottom:38px;right:5vw;text-align:right;pointer-events:none}.court-caption .eyebrow{justify-content:flex-end}.court-caption strong{display:block;font:italic 37px Georgia,serif;margin:10px 0}.court-caption p{font-size:10px;letter-spacing:.2em}.court-caption>span:last-child{font-size:9px;letter-spacing:.14em;background:#fff9edb8;padding:8px 12px;border-radius:6px}.help-text{font-size:12px;line-height:1.7;color:var(--muted)}.setup-card{background:#fff9edb3;padding:14px;border:1px solid var(--line);border-radius:12px;margin:10px 0;font-size:12px;line-height:1.6}.setup-card p{margin:8px 0}.setup-card code{word-break:break-all;user-select:text;font:11px Consolas,monospace}#phone-cam{display:flex;gap:12px;margin-top:12px;align-items:center}#phone-qr{width:106px;height:106px;flex-shrink:0;background:#fff;padding:5px;border-radius:6px}#phone-qr svg{width:100%;height:100%}.secondary{border:1px solid #c9d4ca;background:var(--paper);padding:12px 15px;border-radius:10px;font-size:12px;min-height:44px}.secondary:hover{background:#e6efe3}.field-row>button,.field-row>select{flex:1;width:50%}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.setting-row small{display:block;font-size:11px;font-weight:400;color:var(--muted);line-height:1.5;margin-top:6px}.setting-row input[type=checkbox]{width:21px;height:21px;accent-color:var(--deep);flex-shrink:0}.setting-row input[type=range]{width:130px;accent-color:var(--deep)}.setting-row select{width:130px}.notice{background:#fff0d8;padding:12px;border-radius:10px;font-size:12px;line-height:1.6}.ok{color:var(--deep)}.bad{color:#b25d42}body:not(.in-menu) .brand{font-size:14px}body:not(.in-menu) .brand-mark{height:34px;width:34px}body:not(.in-menu) .club-header{height:76px;padding-top:14px;padding-bottom:14px}body:not(.in-menu) .court-tag{display:none}#hud{position:fixed;top:18px;left:50%;transform:translate(-50%);pointer-events:none;z-index:5}#score{display:flex;align-items:center;gap:18px;background:#fff9edf2;border:1px solid #fff;border-radius:16px;padding:10px 20px;box-shadow:0 5px 20px #20384915}#score>b{font-size:32px;font-weight:650;min-width:1.4ch;font-variant-numeric:tabular-nums;text-align:center}.score-player{min-width:45px;text-align:center;font-size:12px;font-weight:650}.score-player small{display:block;font-size:7px;letter-spacing:.07em;height:12px;margin-top:3px}.score-player.you{color:#bd5c3b}.score-player.bot{color:var(--violet)}.score-divider{font-size:20px;opacity:.25}#rally-hud{position:fixed;top:92px;left:50%;transform:translate(-50%);display:flex;gap:14px;align-items:center;white-space:nowrap;max-width:95vw;padding:7px 13px;background:#203849dc;border-radius:8px;color:var(--paper);font-size:10px;pointer-events:none}#input-label{color:var(--mint)}#game-clock{font-variant-numeric:tabular-nums}#session-hud{display:flex;align-items:center;gap:14px;padding:14px 22px;background:#fff9edf5;border-radius:14px;font-size:12px;white-space:nowrap}#session-clock{font-size:24px;font-variant-numeric:tabular-nums}#session-progress{color:var(--deep);font-weight:700}#message{position:fixed;top:26%;left:20px;right:20px;text-align:center;font:600 clamp(18px,2.3vw,30px) "Segoe UI",sans-serif;pointer-events:none;opacity:0;transform:translateY(6px);transition:opacity .15s,transform .15s;color:var(--paper);text-shadow:0 2px 5px #203849c0}#message.show{opacity:1;transform:none}#hint{position:fixed;left:50%;transform:translate(-50%);top:145px;text-align:center;max-width:min(650px,88vw);width:max-content;border-radius:9px;background:#fff9ede0;font-size:13px;line-height:1.5;padding:9px 16px;pointer-events:none}#hint:empty{display:none}#power{position:fixed;bottom:111px;left:50%;transform:translate(-50%);width:min(300px,62vw);height:7px;border-radius:9px;background:#20384955;overflow:hidden}#power-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,#b2d8c7,#ffc684,#ee825e)}#shots{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;gap:10px;z-index:4}#shots button{width:124px;height:67px;border:1px solid #fffcf4aa;background:#fff9edef;border-radius:13px;padding:10px 14px;display:grid;grid-template-columns:1fr auto;grid-template-rows:15px 1fr;text-align:left;box-shadow:0 4px 12px #20384912;touch-action:none}#shots button small{grid-column:1;font-size:9px;opacity:.55}#shots button span{grid-column:1;font-size:13px;font-weight:650;align-self:end}#shots button i{grid-column:2;grid-row:1/3;font-size:28px;align-self:center;font-style:normal;color:var(--deep)}#shots button[data-shot=drive]{background:var(--ink);color:var(--paper)}#shots button[data-shot=drive] i{color:var(--mint)}#shots button.pressed{transform:translateY(3px);background:var(--mint);color:var(--ink)}#stick{display:none;position:fixed;width:112px;height:112px;margin:-56px 0 0 -56px;border:1px solid #fff9edb3;border-radius:50%;background:#fff9ed40;pointer-events:none;z-index:5}#stick i{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px;border-radius:50%;background:#ee825ea6;border:2px solid var(--paper)}#stick.active{display:block}#stroke{position:fixed;bottom:22px;right:24px;width:260px;pointer-events:none;z-index:3}#stroke-card{padding:13px 15px;background:#fff9edee;border:1px solid var(--paper);border-left:4px solid var(--tone,var(--mint));border-radius:12px;box-shadow:0 5px 20px #20384912}#stroke-card .row{display:flex;justify-content:space-between;align-items:baseline;gap:10px}#stroke-name{font-size:15px}#stroke-speed{font-size:10px;white-space:nowrap}#stroke-speed b{font-size:21px;font-weight:650;font-variant-numeric:tabular-nums}#stroke-meter{height:4px;background:#dfe5d7;overflow:hidden;border-radius:8px;margin:9px 0 7px}#stroke-meter i{display:block;height:100%;background:var(--tone,#6c9a80);transition:width .25s}.row.small{font-size:10px;color:var(--muted)}#stroke-swing{display:none}#stroke-grade{color:var(--tone)}#stroke-outcome{font-size:11px;margin-top:6px}#stroke-outcome:empty{display:none}#stroke-outcome.won{color:var(--deep)}#stroke-outcome.lost{color:#bf6543}#stroke-card.idle{display:none}#stroke-card.perfect{--tone:#ab822f}#stroke-card.good{--tone:#356f64}#stroke-card.ok{--tone:#416fa0}#stroke-card.weak{--tone:#778485}#stroke-card.miss{--tone:#bd5c3b}#stroke-card.hit{animation:feedback .24s ease-out}#stroke-stats{display:none}#camera-view{position:fixed;right:24px;top:90px;width:140px;border:3px solid var(--mint);border-radius:12px;transform:scaleX(-1);pointer-events:none;z-index:4}#camera-view.lost{border-color:#cf7156}#cheer{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:20}#cheer i{position:absolute;bottom:-20px;width:7px;height:11px;border-radius:2px;animation:confetti ease-out forwards}.overlay{position:fixed;inset:0;display:grid;place-items:center;background:#20384955;backdrop-filter:blur(9px);z-index:30;padding:24px;touch-action:pan-y;overflow:auto}.dialog{width:min(450px,100%);border:1px solid var(--paper);background:var(--paper);border-radius:24px;padding:34px;box-shadow:0 20px 80px #20384930;text-align:center;max-height:calc(100dvh - 48px);overflow:auto}.dialog>.eyebrow{justify-content:center}.dialog h2{font:400 36px/1.12 Georgia,serif;letter-spacing:-.035em;margin:20px 0 12px}.dialog>p{font-size:13px;color:var(--muted);line-height:1.7}.dialog .primary{width:100%;margin:15px 0 8px}.dialog-actions{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:8px}.text-button{border:0;background:transparent;font-size:12px;padding:12px;color:var(--muted);text-decoration:underline;text-underline-offset:4px;min-height:44px}.result-medal{background:#e6efe3;color:var(--deep);width:65px;height:65px;display:grid;place-items:center;border-radius:50%;font-size:40px;margin:20px auto 5px}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left;margin-top:20px}.result-stat{padding:14px;background:#ecefe4;border-radius:11px}.result-stat span{display:block;font-size:10px;color:var(--muted)}.result-stat b{display:block;font-size:25px;font-weight:600;margin-top:6px}.record{color:var(--deep)!important;font-weight:650}body.reduced-motion *,body.reduced-motion *:before,body.reduced-motion *:after{animation:none!important;transition:none!important}body.reduced-motion #cheer{display:none}[hidden]{display:none!important}@keyframes page-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes feedback{0%{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes confetti{0%{transform:translate(0) rotate(0);opacity:1}45%{transform:translate(calc(var(--dx)*.6),calc(var(--up)*-1)) rotate(calc(var(--spin)*.5));opacity:1}to{transform:translate(var(--dx),calc(var(--up)*-.2)) rotate(var(--spin));opacity:0}}@media(max-width:1100px){#stroke{bottom:106px;width:230px;right:18px}.club-menu{width:min(450px,48vw)}.court-caption{right:4vw}.court-caption strong{font-size:30px}#session-hud{gap:9px;padding:15px}#session-name{max-width:130px;overflow:hidden;text-overflow:ellipsis}}@media(max-width:700px){.club-header{height:80px;padding:20px}.brand{font-size:15px;gap:8px}.brand-mark{height:35px;width:35px}.header-actions{gap:7px}.court-tag{display:none}.icon-button{padding:9px;font-size:11px}.menu-shade{background:linear-gradient(180deg,#faf8eee8,#faf8eef7)}.club-menu{inset:100px 20px 16px;width:auto;padding-right:0}.club-menu h1{font-size:43px;margin:18px 0 14px}.intro{font-size:13px;margin-bottom:18px}.court-caption{display:none}.menu-footer{font-size:9px}.mode-card{padding:13px}.mode-card small{font-size:10px}.brand small{font-size:7px}body:not(.in-menu) .brand>span:last-child{display:none}body:not(.in-menu) .club-header{padding:12px}body:not(.in-menu) #lang{display:none}#hud{top:14px}#score{gap:9px;padding:9px 12px}#score>b{font-size:24px}.score-player{font-size:10px;min-width:35px}#rally-hud{top:82px;font-size:9px;gap:9px}#hint{top:125px;font-size:11px;max-width:90vw}#message{top:29%;font-size:20px}#shots{bottom:max(17px,env(safe-area-inset-bottom));width:calc(100% - 32px);gap:8px}#shots button{flex:1;min-width:0;width:auto;height:65px;padding:10px 12px}#shots button span{font-size:12px}#stroke{right:12px;bottom:100px;width:200px}#stroke-card{padding:9px 12px}#stroke-name{font-size:12px}#stroke-speed b{font-size:17px}#stroke-outcome{font-size:10px}.dialog{padding:25px 22px}.dialog h2{font-size:31px}#camera-view{width:90px;right:12px;top:118px}#session-hud{font-size:10px;gap:8px;padding:12px}#session-clock{font-size:20px}#session-progress{max-width:95px}#session-name{max-width:110px}body.manual-run #stick:not(.active){display:block;left:70px;bottom:170px;margin:0 0 0 -56px;opacity:.5}.overlay{padding:16px}.dialog{max-height:calc(100dvh - 32px)}}@media(max-height:600px)and (min-aspect-ratio:1/1){.club-header{height:60px;padding:12px 3vw}.club-menu{top:72px;left:3vw;width:43vw;bottom:12px}.club-menu h1{font-size:34px;margin:12px 0}.intro{font-size:11px;margin-bottom:12px}.menu-tabs{margin-bottom:10px}.menu-tabs button{padding:8px 2px;font-size:11px}.mode-card{padding:9px;margin-bottom:7px}.mode-card b{font-size:12px}.mode-icon{width:34px;height:34px;font-size:24px}.field-row{margin-top:8px}.start-button{margin-top:10px;padding:10px 15px;min-height:45px}.menu-footer{margin-top:10px}.court-caption strong{font-size:27px}.court-caption{bottom:24px}.club-menu .eyebrow{font-size:8px}#stroke{bottom:12px;width:210px}#shots button{height:54px;width:100px}#power{bottom:83px}#hint{top:114px;font-size:11px}#rally-hud{top:80px}#camera-view{width:100px}body:not(.in-menu) .brand>span:last-child{display:none}#score{padding:7px 14px}#score>b{font-size:24px}.dialog h2{font-size:28px}.dialog{padding:22px}.result-medal{height:40px;width:40px;font-size:27px;margin:10px auto}.result-grid{margin-top:10px}.result-stat{padding:9px}.result-stat b{font-size:20px}}#net-coach{position:fixed;left:24px;bottom:24px;width:250px;padding:14px 16px;background:#fff9edf2;border:1px solid #fff;border-radius:14px;pointer-events:none}#net-coach>b{display:block;font-size:13px;margin:8px 0;color:var(--deep)}#net-coach>span:last-child{display:block;font-size:11px;line-height:1.5;color:var(--muted)}#page-setup.no-relay{grid-template-columns:minmax(0,1fr)}@media(max-width:1100px){#net-coach{left:14px;bottom:18px;width:200px;padding:10px}#net-coach>span:last-child{display:none}}@media(max-width:700px){#net-coach{bottom:102px;width:165px;font-size:10px}#net-coach>b{font-size:11px}.menu-heading .intro{max-width:none}}@media(max-height:600px)and (min-aspect-ratio:1/1){#shots button{width:110px;padding:9px 11px}#shots button span{font-size:11px;white-space:nowrap;line-height:1.2}#shots button i{font-size:20px}}@supports (padding-top:env(safe-area-inset-top)){.club-header{padding-top:max(14px,env(safe-area-inset-top))}.club-menu{padding-bottom:env(safe-area-inset-bottom)}}@media(min-width:800px)and (min-aspect-ratio:4/3)and (min-height:480px){.club-header{height:72px;padding:12px 4vw}.club-menu{top:84px;bottom:18px;left:4vw;width:min(1020px,92vw);padding:20px 24px;display:flex;flex-direction:column;overflow:visible;background:#fff9edf2;border:1px solid #ffffffa0;border-radius:20px;box-shadow:0 12px 40px #20384912}.menu-heading{flex-shrink:0}.menu-heading h1{font-size:30px;line-height:1.15;letter-spacing:-.035em;margin:10px 0 16px}.menu-heading h1 span,.menu-heading h1 em{display:inline}.menu-heading h1 em{margin-left:.3em}.menu-heading .intro{display:none}.menu-tabs{flex-shrink:0;margin-bottom:16px}.menu-tabs button{font-size:15px;min-height:44px;padding:10px}.tab-page{flex:1;min-height:0;align-content:start}#page-play,#page-practice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#page-practice{grid-template-columns:repeat(3,minmax(0,1fr))}.mode-card{margin:0;padding:18px;min-height:100px}#page-practice .mode-card{flex-wrap:wrap;gap:10px;align-content:start}#page-practice .mode-card>span:nth-child(2){flex-basis:100%;order:2}#page-play .field-row{grid-column:1/-1;margin-top:4px}#page-setup{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px}.local-controls{min-width:0}.help-text{margin:10px 0;font-size:12px;line-height:1.5}.setup-card{margin:0;padding:14px;font-size:13px;line-height:1.5;min-width:0}.setup-card b{font-size:15px}#camera{margin-top:12px}#phone{border-color:#82b5a5;background:#e6efe3}#phone .phone-priority{font-size:12px;color:var(--deep)}#phone-cam{align-items:start;gap:14px;margin-top:12px}#phone-cam p:first-child{margin-top:0}#phone-qr{width:144px;height:144px}#phone-cam>div:last-child{min-width:0;flex:1}#phone-cam-how,#phone-how{overflow-wrap:anywhere;font-size:11px;line-height:1.4;user-select:text}#phone-status{font-weight:650}#camera-status:empty{display:none}#page-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.setting-row{min-height:64px;padding:12px 0}.start-button{margin-top:14px;flex-shrink:0;min-height:48px;padding:12px 20px}.menu-footer{margin-top:10px;flex-shrink:0;font-size:11px}.notice{margin:8px 0 0;padding:8px 12px;flex-shrink:0;line-height:1.4}.court-caption{display:none}}@media(min-width:800px)and (min-aspect-ratio:4/3)and (min-height:480px)and (max-height:650px){.club-header{height:60px;padding:8px 3vw}.club-menu{top:66px;bottom:12px;left:3vw;width:94vw;padding:12px 18px}.menu-heading .eyebrow{display:none}.menu-heading h1{font-size:24px;margin:0 0 8px}.menu-tabs{margin-bottom:10px}.menu-tabs button{font-size:13px;padding:8px;min-height:40px}#page-setup{gap:16px}.setup-card{padding:10px;font-size:12px}.setup-card p{margin:6px 0}#camera{margin-top:8px}.help-text{font-size:11px;line-height:1.4;margin:8px 0}#phone-cam{margin-top:8px;gap:10px}#phone-qr{width:120px;height:120px}.mode-card{min-height:76px;padding:12px}.setting-row{min-height:54px;padding:8px 0}.setting-row small{margin-top:3px}.start-button{margin-top:8px;min-height:44px;padding:9px 16px}.menu-footer{margin-top:8px;font-size:10px}.notice{font-size:11px}#page-practice .mode-card{flex-wrap:nowrap;gap:8px;padding:10px;min-height:86px}#page-practice .mode-card>span:nth-child(2){flex-basis:auto;order:0}#page-practice .mode-icon{width:30px;height:34px;font-size:23px}#page-practice .selection-dot{display:none}}@media(max-width:799px){.header-actions{gap:6px}#connect-phone-button{max-width:135px;font-size:11px}#fullscreen-button{display:none}.club-header .brand>span:last-child{display:none}#page-setup{display:flex;flex-direction:column}#phone{order:-1;margin-bottom:14px}#phone-cam-how,#phone-how{overflow-wrap:anywhere;user-select:text;font-size:11px}}@media(min-width:800px)and (min-aspect-ratio:4/3)and (min-height:480px)and (max-height:520px){.menu-heading{display:none}#phone .phone-priority{margin:4px 0;font-size:11px}#phone-cam{margin-top:6px}}body.tv-mode :focus{outline:4px solid #ee825e;outline-offset:4px}body.tv-mode .menu-footer a{display:none}body.tv-mode .club-menu{width:60vw;left:3vw}#tv-pairing{position:fixed;top:84px;right:3vw;width:31vw;max-height:calc(100vh - 102px);overflow:auto}#tv-pairing #phone{padding:20px;border-radius:20px}#tv-pairing #phone-cam{flex-direction:column;align-items:center}#tv-pairing #phone-qr{width:min(20vw,240px);height:min(20vw,240px);background:#fff;padding:10px;flex:none}#tv-pairing #phone-cam>div:last-child{width:100%}#tv-pairing .tv-remote-guide{border-top:1px solid #82b5a5;padding-top:12px}body.tv-mode #page-setup{grid-template-columns:minmax(0,1fr)}@media(max-height:650px){#tv-pairing{top:66px;max-height:calc(100vh - 78px)}#tv-pairing #phone{padding:12px}#tv-pairing #phone-cam>div:last-child p:first-child{display:none}#tv-pairing #phone-qr{width:min(18vw,160px);height:min(18vw,160px)}#tv-pairing .tv-remote-guide{font-size:11px;padding-top:8px}body.tv-mode #page-practice .mode-icon{display:none}body.tv-mode #page-practice .mode-card{padding:8px}}@media(max-width:799px)and (orientation:portrait){body:not(.in-menu) .club-header{height:auto;padding:0;top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:auto}body:not(.in-menu) .brand,body:not(.in-menu) #fullscreen-button,body:not(.in-menu) #lang{display:none}body:not(.in-menu) #pause-button{width:44px;height:44px;padding:0;font-size:25px;border-radius:14px;box-shadow:0 3px #20384935}body:not(.in-menu) #pause-button span{display:none}#hud{top:max(12px,env(safe-area-inset-top));left:66px;right:12px;transform:none}#score{justify-content:center;gap:clamp(7px,2vw,14px);height:48px;padding:5px 10px;border-radius:14px}#score>b{font-size:26px}.score-player{font-size:10px;min-width:32px}.score-player small{font-size:0;height:5px;margin-top:3px}.score-player small:not(:empty):after{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor}#session-hud{height:auto;min-height:48px;justify-content:space-between;gap:6px;padding:7px 10px;white-space:normal}#session-name{font-size:10px;max-width:90px}#session-progress{font-size:10px;max-width:85px}#session-clock{font-size:21px}#rally-hud{top:calc(max(12px,env(safe-area-inset-top)) + 56px);font-size:10px;padding:5px 10px}#input-label{display:none}#hint{top:calc(max(12px,env(safe-area-inset-top)) + 86px);padding:6px 10px;font-size:11px;max-width:86vw;line-height:1.35}#message{top:22%;font-size:22px}#shots{left:auto;right:max(14px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));transform:none;width:158px;height:144px;display:block}#shots button{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:7px;width:56px;height:56px;border-radius:50%;border:2px solid #fff9edc0;box-shadow:0 4px #20384970}#shots button small{display:none}#shots button span{font-size:10px;align-self:auto;line-height:1.1}#shots button i{font-size:25px;line-height:1}#shots button[data-shot=drive]{width:88px;height:88px;right:0;bottom:0;background:var(--coral);color:#203849;border-color:#ffd4af}#shots button[data-shot=drive] i{font-size:34px;color:#203849}#shots button[data-shot=drive] span{font-size:13px}#shots button[data-shot=dink]{left:0;bottom:0;background:#d8edca}#shots button[data-shot=lob]{right:0;top:0;background:#e5ddf1}#shots button.pressed{background:var(--mint);transform:translateY(3px);box-shadow:0 1px #20384970}#power{left:auto;right:18px;transform:none;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 152px);width:140px;height:6px}#stroke{left:12px;right:auto;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 130px);width:138px}#stroke-card{padding:7px 9px}#stroke-name{font-size:11px}#stroke-speed b{font-size:15px}#stroke-card .row{gap:4px}#stroke-card .row.small,#stroke-outcome{display:none}#stroke-meter{margin:6px 0 0}#net-coach{display:none}#camera-view{top:calc(max(12px,env(safe-area-inset-top)) + 126px);right:12px;width:64px}body.manual-run #stick:not(.active){left:20px;bottom:max(28px,env(safe-area-inset-bottom));margin:0;width:100px;height:100px;border:2px dashed #fff9ed99;background:#20384920;opacity:.8}body.manual-run #stick:not(.active):after{content:"✥";position:absolute;inset:0;display:grid;place-items:center;font-size:40px;color:var(--paper)}body.manual-run #stick:not(.active) i{visibility:hidden}.club-header{padding:14px 18px;height:68px}.club-menu{top:80px;left:18px;right:18px}.club-menu h1{font-size:36px;margin:12px 0}.intro{font-size:12px;margin-bottom:14px}.menu-tabs{position:sticky;top:0;background:var(--paper);z-index:1}.dialog{border-radius:18px}}
