/* DE-SHANK v23.5.0 — app styles, moved out of index.html. Rules unchanged. */
#sheetBtn{display:none;width:100%;background:none;border:0;padding:2px 0 8px;color:var(--dim);font-size:13px}#sheetBtn:before{content:"";width:44px;height:5px;border-radius:9px;background:#ffffff40;margin:0 auto 6px;display:block}
:root{--neon:#39ff6a;--bg:#05080b;--card:#0b1117;--line:#ffffff10;--dim:#8b9a90}
*{box-sizing:border-box}html,body{height:100%}
body{margin:0;background:var(--bg);color:#e6edf3;font:16px/1.4 Inter,"Segoe UI",system-ui,sans-serif;overflow:hidden}
button,select,input{font:inherit;color:#e6edf3}
button{cursor:pointer;touch-action:manipulation}button:focus-visible,select:focus-visible{outline:3px solid var(--neon)}
.g{display:grid;grid-template-columns:1fr clamp(340px,23vw,440px);grid-template-rows:auto 1fr clamp(110px,14vh,150px);height:100vh;gap:16px;padding:16px 20px}
/* top bar */
.top{grid-column:1/3;display:flex;align-items:center;gap:12px;min-width:0}
.logo{height:clamp(42px,5.4vh,58px);flex:none}.logo svg{height:100%;width:auto;display:block}.sp{flex:1}
.pill{background:#ffffff0c;border:1px solid #ffffff16;border-radius:999px;padding:9px 16px;font-size:15px;display:flex;gap:9px;align-items:center;white-space:nowrap;min-height:44px}
button.pill:hover{background:#ffffff16}
.dot{width:10px;height:10px;border-radius:50%;background:#56606a;flex:none}
#micBtn.on .dot{background:var(--neon);box-shadow:0 0 12px var(--neon)}#micBtn.on b{color:var(--neon)}
#micBtn:disabled{opacity:.5}#micBtn.on .dot{animation:micPulse 1.4s ease-in-out infinite}#micBtn.resume{border-color:#f0b429}#micBtn.resume .dot{background:#f0b429;box-shadow:0 0 10px #f0b429}#micBtn.resume b{color:#f0b429}@keyframes micPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.7);opacity:.45}}@media (prefers-reduced-motion:reduce){#micBtn.on .dot{animation:none}}#ver{opacity:.45;font-size:11px;margin-top:10px}
.av{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#39ff6a,#0f7a2a);color:#03140a;font-weight:900;display:grid;place-items:center;font-size:13px;flex:none}
#player{background:transparent;border:0;font-weight:600;max-width:190px}#player option{background:#0b1117}
.ib{background:transparent;border:0;padding:2px 6px;color:#9aa7b2;font-size:15px}.ib:hover{color:#fff}
#heard{position:absolute;top:70px;left:50%;transform:translateX(-50%);z-index:5;color:var(--neon);font-weight:700;pointer-events:none}
/* camera stage */
.stage{position:relative;border-radius:28px;overflow:hidden;background:radial-gradient(110% 90% at 50% 25%,#18221b,#0b110d 60%,#050806);border:1px solid #39ff6a26;box-shadow:0 30px 80px #000a;min-height:0;display:flex;align-items:center;justify-content:center}
canvas#cv{width:100%;height:100%;object-fit:contain;display:block}
.badges{position:absolute;top:18px;left:18px;z-index:2;display:flex;gap:8px;flex-wrap:wrap}
.tag{background:#05080bb8;backdrop-filter:blur(10px);border:1px solid #ffffff18;border-radius:999px;padding:7px 13px;font-size:13px;color:#c7d1d9}
#lowLight{display:none!important}
.envWarn{position:absolute;left:18px;top:62px;z-index:3;max-width:min(520px,60%);background:#05080bd9;backdrop-filter:blur(10px);border:1px solid #f0b42966;border-radius:14px;padding:9px 14px;font-size:14px}.envWarn b{display:block;color:#f0b429;font-weight:600}.envWarn small{color:#c7d1d9}.envWarn.bad{border-color:#ff6b5f88}.envWarn.bad b{color:#ff6b5f}
.toast{position:absolute;left:50%;top:40%;transform:translateX(-50%);z-index:8;background:#0b1117f2;border:1px solid #f0b429;border-radius:16px;padding:12px 18px;font-size:16px;text-align:center;max-width:80%}.toast.bad{border-color:#ff6b5f}.toast small{color:#c7d1d9}
#tipsTop li.warn{border-color:#f0b42966;color:#f0b429}
.tag.ok{color:var(--neon);border-color:#39ff6a50}.tag.warn{color:#f0b429;border-color:#f0b42966}.tag.bad{color:#ff6b5f;border-color:#ff6b5f66}
#status{position:absolute;top:18px;left:50%;transform:translateX(-50%);z-index:3;max-width:min(70%,760px);text-align:center;background:#05080bc8;backdrop-filter:blur(10px);border:1px solid #39ff6a40;border-radius:999px;padding:9px 18px;font-weight:700;font-size:15px;cursor:pointer}
#status.good{background:var(--neon);color:#03140a;box-shadow:0 0 30px #39ff6a66;border-color:var(--neon)}
.hud{position:absolute;left:22px;right:22px;bottom:20px;z-index:2;display:flex;gap:12px;align-items:flex-end;pointer-events:none}.hud>*{pointer-events:auto}
.ring{position:relative;width:clamp(110px,14vh,150px);height:clamp(110px,14vh,150px);background:#05080bc8;border-radius:50%;backdrop-filter:blur(12px);flex:none}
.ring svg{width:100%;height:100%}.ring>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ring b{font-size:clamp(38px,5vh,54px);font-weight:900;line-height:1}.ring small{font-size:11px;letter-spacing:2px;color:#9fb0a5;margin-top:4px;text-transform:uppercase;text-align:center}
.st{background:#05080bc8;backdrop-filter:blur(12px);border:1px solid #39ff6a28;border-radius:20px;padding:12px 18px;min-width:130px}
.st small{display:block;font-size:11px;letter-spacing:1.5px;color:var(--dim);text-transform:uppercase}.st b{font-size:clamp(24px,3.2vh,34px)}.st i{font-style:normal;font-size:13px;color:var(--neon);margin-left:6px}.st i.w{color:#f0b429}
.chips{display:contents}
#recLen{display:inline-flex!important;flex:none;border:1px solid #ffffff30;border-radius:999px;overflow:hidden;background:#05080bc8;margin-right:8px}#recLen[hidden]{display:none!important}#recLen button{all:unset;cursor:pointer;font:600 12px/1 system-ui,sans-serif;color:#cfd8dc;padding:8px 9px;min-width:22px;text-align:center}#recLen button[aria-checked="true"]{background:#e53935;color:#fff}#recLen button:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.recw{margin-left:auto;display:flex;align-items:center;gap:14px;background:#05080bc8;border:1px solid #ffffff18;border-radius:999px;padding:10px 22px 10px 10px;backdrop-filter:blur(12px)}
#recBtn{width:64px;height:64px;border-radius:50%;border:4px solid #fff;background:transparent;display:grid;place-items:center;padding:0;font-size:0;flex:none}
#recBtn i{width:44px;height:44px;border-radius:50%;background:#ff3b30;display:block;transition:all .2s}
#recBtn.on i{width:26px;height:26px;border-radius:7px;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.5}}
.recw span{font-size:14px;color:#aab6c0}.recw b{color:var(--neon)}
#replay{position:absolute;left:22px;right:22px;bottom:20px;z-index:4;display:none;background:#05080be0;backdrop-filter:blur(12px);border:1px solid #39ff6a40;border-radius:20px;padding:12px}
#replay .row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}#replay .row+.row{margin-top:8px}
#replay button,#replay select{background:#ffffff10;border:1px solid #ffffff18;border-radius:12px;padding:8px 14px;min-height:44px}
input[type=range]{flex:1;accent-color:var(--neon);min-width:160px}
.replaying .hud{display:none}
/* side panel */
.side{background:var(--card);border:1px solid var(--line);border-radius:28px;padding:20px;display:flex;flex-direction:column;gap:12px;overflow:auto;min-height:0}
.side h3{margin:0;font-size:12px;letter-spacing:2px;color:var(--dim);text-transform:uppercase}
#tipsTop{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;counter-reset:t}
#tipsTop li{display:flex;gap:12px;padding:12px 14px;border-radius:16px;background:#ffffff06;border:1px solid #ffffff0c;font-size:14px;color:#c9d3db;line-height:1.4;counter-increment:t}
#tipsTop li:before{content:counter(t);width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:#f0b42918;color:#f0b429;font-weight:900;flex:none}
#tipsTop li.good:before{content:"✓";background:#39ff6a18;color:var(--neon)}#tipsTop li.empty:before{content:"⛳";background:#ffffff0a}
#summary{display:grid;grid-template-columns:1fr auto;gap:4px 10px;font-size:15px}
#summary .chip{display:contents}#summary .chip small{color:#9aa7b2;font-size:15px}#summary .chip b{font-weight:700;text-align:right}
#summary:empty:after{content:"No shot yet – say “Ready” or “Record” and hit one.";color:var(--dim);grid-column:1/3}
details.sec{border-radius:14px;background:#ffffff06;border:1px solid #ffffff0c}
details.sec>summary{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;cursor:pointer;list-style:none;font-size:15px}
details.sec>summary::-webkit-details-marker{display:none}details.sec>summary em{font-style:normal;color:var(--dim);font-size:13px}
details.sec>summary em:after{content:" ▸"}details.sec[open]>summary em:after{content:" ▾"}
details.sec>.in{padding:0 14px 14px;font-size:14px}
table{width:100%;border-collapse:collapse}td{padding:5px 2px;border-bottom:1px solid #ffffff0c;vertical-align:top}td.v{text-align:right;font-weight:700;white-space:nowrap}
.ok{color:var(--neon)}.warn{color:#f0b429}.nm{color:var(--dim);font-weight:400}small{color:var(--dim)}
.btnrow{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}.btnrow button,.btnrow select{background:#ffffff10;border:1px solid #ffffff18;border-radius:12px;padding:8px 12px;min-height:40px}
#report{white-space:pre-wrap;font:13px/1.45 Inter,system-ui,sans-serif;max-height:260px;overflow:auto;margin:6px 0 0;color:#c9d3db}
#hist{max-height:220px;overflow:auto;font-size:13px}#hist div{padding:6px 2px;border-bottom:1px solid #ffffff0c;cursor:pointer}#hist div:hover{background:#ffffff08}
#tips{padding-left:18px;margin:6px 0;font-size:13px;color:#c9d3db}
.alert{border-radius:14px;padding:12px 14px;font-size:14px;font-weight:600;border:1px solid #f0b42966;color:#f0b429;background:#f0b42910}
.foot{margin-top:auto;font-size:11px;color:#6e7b85}
#score{display:none}
/* session strip */
.strip{grid-column:1/3;display:flex;gap:12px;align-items:stretch;min-width:0;overflow-x:auto}
.pbc{width:220px;flex:none;background:linear-gradient(135deg,#132016,#0b1117);border:1px solid #39ff6a40;border-radius:20px;padding:14px 16px}
.pbc small{letter-spacing:1.5px;font-size:11px;text-transform:uppercase}.pbc b{display:block;font-size:30px;color:var(--neon);line-height:1.2}.pbc div{font-size:13px;color:#aab6c0}
.bar{height:7px;border-radius:9px;background:#ffffff10;overflow:hidden;margin-top:6px}.bar i{display:block;height:100%;background:var(--neon);box-shadow:0 0 8px var(--neon)}
#strip{display:flex;gap:12px;flex:1;min-width:0}
.shot{flex:1 1 0;min-width:150px;max-width:260px;display:flex;gap:12px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:12px;font-size:13px;cursor:pointer;position:relative;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
/* v23.5.6: the selected card is a ring drawn inside the card. The old outer box-shadow (0 0 24px)
   stayed painted on the previous card and bled over the Tips / Swing data row on iOS Chrome,
   because the phone session card is a backdrop-filter scrollport. No outer shadow, no :hover glow. */
.shot.on{border-color:var(--neon);box-shadow:none}
.shot.on::after{content:"";position:absolute;inset:0;border-radius:inherit;border:2px solid var(--neon);pointer-events:none}
.mini{position:relative;width:46px;height:46px;flex:none}.mini b{position:absolute;inset:0;display:grid;place-items:center;font-size:14px}
.shot .d{color:var(--dim)}.emptyStrip{flex:1;display:grid;place-items:center;border:1px dashed #ffffff18;border-radius:20px;color:var(--dim);font-size:14px}
/* settings drawer */
#opts{display:none;position:fixed;top:84px;right:20px;z-index:20;width:min(420px,calc(100vw - 24px));max-height:calc(100vh - 110px);overflow:auto;background:#0d1319f5;backdrop-filter:blur(14px);border:1px solid #39ff6a40;border-radius:22px;padding:18px;box-shadow:0 30px 80px #000c;gap:10px;grid-template-columns:1fr 1fr}
body.showOpts #opts{display:grid}
#opts h3{grid-column:1/3;margin:0 0 4px;font-size:13px;letter-spacing:2px;color:var(--dim);text-transform:uppercase}
#opts label{display:flex;flex-direction:column;font-size:12px;color:var(--dim);gap:4px}
#opts select,#opts button{background:#ffffff10;border:1px solid #ffffff18;border-radius:12px;padding:8px 10px;min-height:44px;width:100%}
#opts .full{grid-column:1/3}#opts .chk{flex-direction:row;align-items:center;gap:10px;font-size:14px;color:#e6edf3}input[type=checkbox]{accent-color:var(--neon);transform:scale(1.3)}
#zoomTip b{color:#f0b429}
/* phone */
@media (max-width:900px),(orientation:portrait) and (max-width:1100px){
 #recHint{display:none!important}

 body{overflow:auto}
 .g{display:block;height:auto;padding:10px 10px calc(12px + env(safe-area-inset-bottom))}
 .top{flex-wrap:wrap;gap:8px;margin-bottom:10px}.logo{height:40px}.sp{display:none}
 .top .pill{font-size:13px;padding:7px 12px;min-height:40px}#camPill{display:none}
 #micBtn{order:3}#playerPill{order:4;margin-left:auto}#optBtn{order:5}
 .stage{height:calc(100svh - 190px);min-height:520px;border-radius:24px}
 .hud{left:12px;right:12px;top:60px;bottom:0;align-items:flex-start;justify-content:space-between}
 .ring{width:96px;height:96px}.ring b{font-size:34px}
 .chips{display:flex;flex-direction:column;gap:8px;align-items:flex-end}.st{min-width:104px;padding:6px 10px;border-radius:14px}.st b{font-size:18px}.st small{font-size:10px}
 .recw{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);margin:0;padding:8px 18px 8px 8px}
 #recBtn{width:58px;height:58px}#recBtn i{width:40px;height:40px}
 #status{top:12px;font-size:13px;max-width:92%}.envWarn{left:12px;right:12px;top:auto;bottom:140px;max-width:none;font-size:13px}.badges{top:auto;bottom:90px;left:12px}
 .side{max-height:76px;overflow:hidden;transition:max-height .3s}body.sheet .side{max-height:none}
 #sheetBtn{display:block}
 .side{margin-top:12px;position:relative;z-index:6;border-radius:26px 26px 18px 18px;border-top:1px solid #39ff6a40;box-shadow:0 -10px 40px #000a;padding:12px 16px 16px}
 .strip{margin-top:12px;padding-bottom:4px}.pbc{width:170px}.shot{min-width:150px}
 #replay{left:10px;right:10px;bottom:10px}
}
@media (min-width:901px) and (max-height:800px){.g{gap:12px;padding:12px 14px}.side{padding:16px;gap:10px}.st{padding:10px 14px;min-width:112px}}
#vNotice{position:fixed;inset:0;z-index:99;background:#000b;display:flex;align-items:center;justify-content:center;padding:16px}#vNotice[hidden]{display:none}#vNotice .box{background:#0d1418;border:1px solid #39ff6a55;border-radius:16px;max-width:620px;width:100%;max-height:88vh;display:flex;flex-direction:column}#vNotice h2{margin:0;padding:18px 20px 6px;font-size:19px;color:#fff}#vNotice .txt{overflow:auto;padding:0 20px;font-size:14px;line-height:1.55;color:#c9d3db}#vNotice .txt a{color:#39ff6a}#vNotice .act{display:flex;gap:10px;justify-content:flex-end;padding:14px 20px;border-top:1px solid #ffffff14}#vNotice button{font:600 15px system-ui,sans-serif;border-radius:10px;padding:10px 18px;cursor:pointer;border:1px solid #ffffff30;background:transparent;color:#e6edf3}#vNotice #vnOk{background:#39ff6a;color:#04110a;border-color:#39ff6a}#recBtn{box-sizing:border-box;aspect-ratio:1;display:flex;align-items:center;justify-content:center;line-height:0;-webkit-appearance:none;appearance:none;margin:0}#recBtn i{flex:none;aspect-ratio:1;box-sizing:border-box;margin:0}
@media(max-width:900px){.recw{padding:8px;gap:0}#recBtn{width:58px;height:58px}#recBtn i{width:40px;height:40px}}
#stopListen{background:#da3633;color:#fff;border:0;border-radius:999px;padding:10px 18px;font:700 15px system-ui,sans-serif;min-height:44px;cursor:pointer}#stopListen[hidden]{display:none}@media(max-width:900px){#stopListen{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + env(safe-area-inset-bottom));z-index:30;font-size:18px;padding:14px 28px;min-height:56px;box-shadow:0 8px 24px #000a}}

/* v19b: branded modal + dropdown */
#camNote{position:absolute;left:50%;top:56px;transform:translateX(-50%);z-index:8;width:min(440px,92%);background:#05080bf0;border:1px solid #39ff6a66;border-radius:16px;padding:12px 14px;color:#e6edf3;font-size:14px;box-shadow:0 8px 30px #0008}
.badges{flex-wrap:wrap}#camNote b{color:#39ff6a}#camNote p{margin:6px 0}#camNote .cz{color:#f0b429;font-size:13px}#camNote button{float:right;background:#39ff6a;color:#04110a;border:0;border-radius:10px;padding:6px 16px;font-weight:700;cursor:pointer}
.stage.replaying #camNote{display:none}#bCam{cursor:pointer;position:absolute;top:66px;right:18px;z-index:4;font-size:12px;padding:5px 10px;white-space:nowrap}@media (max-width:900px),(orientation:portrait) and (max-width:1100px){#bCam{top:88px!important;right:12px;font-size:11px;padding:4px 9px}}#bCam[hidden]{display:none!important}

/* v19.4 replay: no live status/tracking warnings */
.stage.replaying #status,.stage.replaying .envWarn,.stage.replaying .badges,.stage.replaying #dtlWarn,.stage.replaying .ring,.stage.replaying .recw{display:none!important}
#replayBadge{display:none;position:absolute;left:10px;top:10px;z-index:6;min-height:44px;padding:0 16px;gap:6px;align-items:center;background:#05080bd9;border:1px solid #39ff6aaa;color:#39ff6a;font:700 13.5px Inter,system-ui,sans-serif;border-radius:99px;white-space:nowrap;cursor:pointer;pointer-events:auto;backdrop-filter:blur(8px);-webkit-tap-highlight-color:transparent}
#replayBadge:hover{background:#0b1a0ed9}#replayBadge:active{transform:scale(.97)}#replayBadge:focus-visible{outline:2px solid #39ff6a;outline-offset:2px}
.stage.replaying #replayBadge{display:inline-flex} /* v23.1.8.2: the Replay badge is the way back to live */
/* v23.4.2: auto-replay only. In the column under the picture, above the controls, so it never covers the swing. */
#rpSkip{display:none;align-self:center;flex:none;margin:2px 0 0;z-index:6;min-height:36px;padding:6px 14px;border:0;border-radius:999px;background:#39ff6a;color:#03140a;font:700 13px/1 Inter,system-ui,sans-serif;box-shadow:0 4px 14px #0008;-webkit-tap-highlight-color:transparent}
.stage.replaying #rpSkip:not([hidden]){display:inline-flex;align-items:center;justify-content:center}

#replay button{white-space:nowrap}#replay .dsSel{width:auto!important;min-width:72px;flex:none}#replay .dsSel .dsB{min-height:34px!important;height:34px;padding:4px 10px}
#replay .row+.row input[type=range]{min-width:80px}
@media (max-width:1500px){.top #resInfo{display:none}}
.top{flex-wrap:nowrap}.top .pill{white-space:nowrap}

.logo{height:clamp(40px,5vh,54px)!important}@media(max-width:900px){.logo{height:38px!important}}

/* v19.3 replay: controls below the video, never over it */
#fsTop{min-width:44px;justify-content:center}#fsTop[hidden]{display:none!important}
.replaying.stage,.stage.replaying{flex-direction:column;align-items:stretch;justify-content:flex-start}
.stage.replaying canvas#cv{flex:1 1 auto;min-height:0;height:auto;width:100%;object-fit:contain}
.stage.replaying canvas#cv,.stage.replaying canvas#cv.fitw,.stage.replaying canvas#cv.v20cover{object-fit:contain!important;object-position:center top!important}
.stage.replaying #replay{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:none;margin:6px 8px 8px;padding:6px 8px;border-radius:14px;display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap}
#replay .row{flex-wrap:nowrap!important;gap:6px!important}#replay .row+.row{margin-top:0!important;flex:1;min-width:120px}
#replay button,#replay select{min-height:34px!important;padding:5px 10px!important;font-size:13px;border-radius:10px!important}
#replay select#speed{width:auto}
#ctlHide{flex:none}
body.noctl .stage.replaying #replay{display:none!important}
#ctlShow{display:none;position:absolute;right:10px;bottom:10px;z-index:6;background:#05080bc8;border:1px solid #39ff6a40;color:#e6edf3;border-radius:10px;padding:5px 10px;font-size:13px}
body.noctl .stage.replaying #ctlShow{display:block}
.stage.replaying .envWarn,.stage.replaying .badges,.stage.replaying #dtlWarn,.stage.replaying #dataPill{display:none!important}
.stage .envWarn{top:62px}.badges{max-width:45%}
.strip{position:relative}
#stripBtn{position:absolute;right:6px;top:4px;z-index:3;background:#05080bc8;border:1px solid #ffffff22;color:#c7d1d9;border-radius:99px;padding:3px 10px;font-size:12px;cursor:pointer}
body.stripOff .strip{height:30px!important;min-height:0;overflow:hidden}body.stripOff .strip>*:not(#stripBtn){visibility:hidden}
body.stripOff .g{grid-template-rows:auto 1fr 30px}
@media (max-width:900px),(orientation:portrait) and (max-width:1100px){.stage.replaying #replay{flex-wrap:wrap;margin:4px}#replay .row{overflow-x:auto}#replay .row+.row{flex-basis:100%}}
#dataPill{display:none}@media (max-width:900px),(orientation:portrait) and (max-width:1100px){#dataPill:not([hidden]){display:block;position:absolute;right:10px;bottom:14px;z-index:6;background:#05080bb0;border:1px solid #39ff6a66;color:#39ff6a;border-radius:999px;padding:7px 12px;font:700 12px system-ui,sans-serif}}

/* v19.2 phone overlays: keep the subject area clear */
@media (max-width:900px),(orientation:portrait) and (max-width:1100px){#status{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px!important;padding:6px 14px!important;max-width:calc(100% - 24px)!important}}
@media (max-width:900px),(orientation:portrait) and (max-width:1100px){
 .envWarn{top:52px!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%);max-width:calc(100% - 24px)!important;width:max-content;padding:5px 12px!important;border-radius:999px!important;background:#05080b99!important;backdrop-filter:blur(6px);font-size:12px!important;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;cursor:pointer;z-index:5}
 .envWarn b{display:inline!important;overflow:hidden;text-overflow:ellipsis;font-size:12px}.envWarn small,.envWarn .all{display:none!important}
 .envWarn .more{font-style:normal;font-weight:800;background:#ffffff22;border-radius:99px;padding:1px 7px;flex:none}
 .envWarn.open{white-space:normal;border-radius:14px!important;flex-wrap:wrap;width:auto}.envWarn.open small,.envWarn.open .all{display:block!important;width:100%}.envWarn.open .all span{display:block;font-size:12px;color:#e6edf3}.envWarn.open .more{display:none}
 .badges{top:auto!important;bottom:14px!important;left:10px!important;gap:6px!important;flex-direction:column}
 .badges #bFrame{display:none}
 .badges .tag{font-size:0!important;padding:0!important;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:#05080b88!important;cursor:pointer}
 .badges .tag:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
 .badges .tag.open{font-size:11px!important;width:auto;height:auto;padding:3px 9px!important;border-radius:99px;display:flex;gap:5px;align-items:center}
 .recw{background:transparent!important;border:0!important;backdrop-filter:none!important;bottom:4px!important;padding:0!important}
 #recBtn{width:50px!important;height:50px!important}#recBtn i{width:34px!important;height:34px!important}#recBtn.on i{width:20px!important;height:20px!important}
 #recHint{display:none!important}
 .chips .st{background:#05080b80!important;backdrop-filter:blur(4px);padding:4px 8px!important;min-width:84px!important;border-radius:11px!important;border-color:#39ff6a18!important}
 .chips .st b{font-size:15px!important}.chips .st small{font-size:9px!important}.chips .st i{font-size:10px}
 .chips{gap:5px!important}
 .ring{width:78px!important;height:78px!important;background:#05080b80!important}.ring b{font-size:27px!important}
}
#exitBtn{border:1px solid #39ff6a66!important;color:#39ff6a!important;font-weight:700}
#allClosed{position:fixed;inset:0;z-index:300;background:#05080b;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;font:16px system-ui,sans-serif;color:#e6edf3}
#allClosed .ck{width:88px;height:88px;border-radius:50%;border:3px solid #39ff6a;display:grid;place-items:center;margin:0 auto 18px;font-size:44px;color:#39ff6a;box-shadow:0 0 30px #39ff6a55}
#allClosed h2{margin:0 0 10px;font-size:24px}#allClosed p{margin:0 auto 22px;max-width:420px;color:#c7d1d9;line-height:1.5}
#allClosed button{background:#39ff6a;color:#04110a;border:0;border-radius:12px;padding:13px 26px;font:700 16px system-ui,sans-serif;min-height:48px;cursor:pointer}

#opts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 12px!important;align-items:end}
#opts h3,#opts #ver{grid-column:1/-1}
#opts label,#opts .fld{display:flex;flex-direction:column;justify-content:flex-end;gap:6px;font-size:12px;color:var(--dim);min-width:0;margin:0}
#opts .fld>span,#opts label{line-height:16px}
#opts select,#opts button,#opts .dsB{height:44px;min-height:44px;box-sizing:border-box;width:100%;font-size:14px;color:#e6edf3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#opts .dsSel{min-width:0}
#opts .tgl{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;background:#ffffff10;border:1px solid #ffffff18;border-radius:12px;padding:0 12px;height:44px;box-sizing:border-box;font-size:14px;color:#e6edf3;cursor:pointer}
#opts .tgl input{position:absolute;opacity:0;width:1px;height:1px}
#opts .tgl i{width:44px;height:26px;border-radius:99px;background:#ffffff25;position:relative;transition:background .2s;flex:none}
#opts .tgl i:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s}
#opts .tgl input:checked+i{background:#39ff6a}#opts .tgl input:checked+i:after{transform:translateX(18px);background:#04110a}
#opts .tgl input:focus-visible+i{outline:2px solid #39ff6a;outline-offset:2px}
@media(max-width:420px){#opts{grid-template-columns:1fr!important}}

:root{color-scheme:dark}
select,option{background:#111820;color:#e6edf3}option:checked{background:#1d3a1f;color:#39ff6a}option:disabled{color:#8b96a0}
.dsDlg{position:fixed;inset:0;z-index:200;background:#000a;display:flex;align-items:center;justify-content:center;padding:16px;animation:dsF .15s}
.dsDlg .bx{background:#0d1418;border:1px solid #39ff6a55;border-radius:18px;box-shadow:0 30px 80px #000c;width:min(440px,100%);padding:20px;font:15px system-ui,sans-serif;color:#e6edf3;animation:dsU .18s ease-out}
.dsDlg h2{margin:0 0 6px;font-size:18px}.dsDlg p{margin:0 0 12px;color:#c7d1d9;line-height:1.45}
.dsDlg input{width:100%;box-sizing:border-box;background:#111820;color:#fff;border:1px solid #ffffff2a;border-radius:12px;padding:12px 14px;font-size:16px;outline:none}.dsDlg input:focus{border-color:#39ff6a;box-shadow:0 0 0 3px #39ff6a33}
.dsDlg .act{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.dsDlg button{font:600 15px system-ui,sans-serif;border-radius:12px;padding:11px 20px;min-height:44px;cursor:pointer;border:1px solid #ffffff30;background:transparent;color:#e6edf3}.dsDlg button.pri{background:#39ff6a;color:#04110a;border-color:#39ff6a}
@media(max-width:600px){.dsDlg{align-items:flex-end;padding:0}.dsDlg .bx{border-radius:20px 20px 0 0;width:100%;padding-bottom:calc(20px + env(safe-area-inset-bottom))}.dsDlg .act button{flex:1}}
@keyframes dsF{from{opacity:0}}@keyframes dsU{from{transform:translateY(12px);opacity:0}}
.dsSel{position:relative;display:inline-block;min-width:120px;width:100%}.dsSel>select{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.dsSel .dsB{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#ffffff10;border:1px solid #ffffff18;border-radius:12px;padding:8px 12px;min-height:44px;color:#e6edf3;font:inherit;cursor:pointer;text-align:left}
.dsSel .dsB:hover{border-color:#39ff6a66}.dsSel .dsB:focus-visible{outline:2px solid #39ff6a;outline-offset:2px}.dsSel .dsB[aria-disabled=true]{opacity:.65;cursor:default}
.dsSel .dsB:after{content:"";width:8px;height:8px;border-right:2px solid #39ff6a;border-bottom:2px solid #39ff6a;transform:rotate(45deg) translateY(-2px);transition:transform .2s;flex:none}.dsSel.open .dsB:after{transform:rotate(225deg)}
.dsL{position:fixed;z-index:210;background:#0d1319;border:1px solid #39ff6a40;border-radius:14px;padding:6px;margin:0;list-style:none;box-shadow:0 20px 50px #000c;max-height:50vh;overflow:auto;animation:dsO .14s ease-out;transform-origin:top}
.dsL li{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:#e6edf3;cursor:pointer;min-height:24px}.dsL li:before{content:"";width:16px;flex:none}
.dsL li[aria-selected=true]{color:#39ff6a;font-weight:700}.dsL li[aria-selected=true]:before{content:"✓"}.dsL li.act,.dsL li:hover{background:#39ff6a18}.dsL li[aria-disabled=true]{color:#9aa4ad;cursor:default;background:none}
@keyframes dsO{from{opacity:0;transform:scaleY(.92)}}
@media(max-width:600px){.dsL{left:0!important;right:0!important;bottom:0!important;top:auto!important;width:auto!important;border-radius:20px 20px 0 0;max-height:60vh;padding:10px 10px calc(14px + env(safe-area-inset-bottom));animation:dsU .2s ease-out}.dsL li{min-height:32px;font-size:17px}}
#bCam.tag,.badges #bCam.tag{font-size:11px!important;width:auto!important;height:auto!important;padding:4px 9px!important;border-radius:99px!important;display:flex!important;background:#05080bcc!important}.badges #bCam.tag:before{display:none}#bCam[hidden],.stage.replaying #bCam{display:none!important}
.st{overflow:hidden}.st small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st b{display:block;white-space:nowrap;line-height:1.15}.st i{display:block!important;margin-left:0!important;margin-top:2px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;line-height:1.2;min-height:1.2em;font-weight:600}.st b .ar{font-size:.55em;opacity:.7;margin-left:1px;vertical-align:.15em}.st b .u,#rcSpeed .u{font-size:.62em;opacity:.75;letter-spacing:0}#resCard .num .sp{display:inline-block;width:.3em}#resCard .num .ar{font-size:.5em;opacity:.65;margin-left:1px;vertical-align:.25em;font-family:Inter,system-ui,sans-serif;font-weight:500}.st b .sp{display:inline-block;width:.45em}
#voiceNote{position:absolute;left:50%;top:56px;transform:translateX(-50%);z-index:8;width:min(440px,92%);background:#05080bf0;border:1px solid #39ff6a66;border-radius:16px;padding:12px 14px;color:#e6edf3;font-size:14px;box-shadow:0 8px 30px #0008}#voiceNote b{color:#39ff6a}#voiceNote p{margin:6px 0}#voiceNote .cz{color:#f0b429;font-size:13px}#voiceNote button{float:right;background:#39ff6a;color:#04110a;border:0;border-radius:10px;padding:6px 16px;font-weight:700;cursor:pointer}.stage.replaying #voiceNote{display:none}#voiceNote{top:auto!important;bottom:110px}#bVoice{cursor:pointer;position:absolute;top:96px;right:18px;z-index:4;white-space:nowrap}#bVoice.tag{font-size:11px!important;width:auto!important;height:auto!important;padding:4px 9px!important;border-radius:99px!important;display:flex!important;background:#05080bcc!important}@media (max-width:900px),(orientation:portrait) and (max-width:1100px){#bVoice{top:118px!important;right:12px}}#bVoice[hidden],.stage.replaying #bVoice,.stage.replaying #voiceNote{display:none!important}
#speedNote{position:absolute;left:50%;top:56px;transform:translateX(-50%);z-index:8;width:min(440px,92%);background:#05080bf0;border:1px solid #39ff6a66;border-radius:16px;padding:12px 14px;color:#e6edf3;font-size:14px;box-shadow:0 8px 30px #0008}#speedNote b{color:#39ff6a}#speedNote p{margin:6px 0}#speedNote .cz{color:#f0b429;font-size:13px}#speedNote button{float:right;background:#39ff6a;color:#04110a;border:0;border-radius:10px;padding:6px 16px;font-weight:700;cursor:pointer}.stage.replaying #speedNote{display:none}#speedNote{top:auto!important;bottom:160px}

.x-guard{}
#setupCard{position:absolute;left:18px;top:62px;z-index:3;background:#05080bd9;backdrop-filter:blur(10px);border:1px solid #39ff6a40;border-radius:14px;padding:8px 12px;font-size:12px;min-width:170px;max-width:240px}#setupCard h4{margin:0 0 4px;font-size:10px;letter-spacing:1.5px;color:var(--dim);text-transform:uppercase;display:flex;justify-content:space-between}#setupCard h4 button{background:none;border:0;color:var(--dim);cursor:pointer;padding:0 0 0 8px;font-size:12px}#setupCard div{display:flex;justify-content:space-between;gap:10px;white-space:nowrap;line-height:1.5}#setupCard b{font-weight:700;color:var(--neon)}#setupCard b.w{color:#f0b429}
#setupCard .scTip{margin:5px 0 0;padding-top:5px;border-top:1px solid #39ff6a26;white-space:normal;line-height:1.35;color:var(--dim);font-size:11px}#setupCard[hidden],.stage.replaying #setupCard{display:none!important}@media (max-width:900px),(orientation:portrait) and (max-width:1100px){#setupCard{left:10px;top:150px;font-size:11px;min-width:140px;padding:6px 9px}}
@media (max-width:900px),(orientation:portrait) and (max-width:1100px){#chipWrap.chips{position:absolute!important;top:auto!important;right:8px!important;left:8px!important;bottom:84px!important;flex-direction:row!important;align-items:stretch!important;gap:5px!important;flex-wrap:nowrap!important;transform:none!important}#chipWrap .st{flex:1 1 0;min-width:0!important;padding:4px 5px!important;text-align:center}#chipWrap .st b{font-size:13px!important}#chipWrap .st small{font-size:8px!important;letter-spacing:.5px}#chipWrap .st i{font-size:9px!important}#chipWrap .st b .ar{display:none}}
@media (min-width:901px){#chipWrap{gap:8px!important}#chipWrap .st{min-width:0!important;padding:8px 10px!important;flex:0 0 auto}#chipWrap .st small{letter-spacing:.6px!important}#chipWrap .st b{font-size:clamp(16px,2.3vh,24px)!important}#chipWrap .st b .ar{display:none}#chipWrap .st b .sp{width:.35em}}
#setupCard{top:auto!important;bottom:150px}@media (max-width:900px),(orientation:portrait) and (max-width:1100px){#setupCard{top:auto!important;bottom:140px!important;left:8px!important}}

.x-guard2{}#envNote{position:absolute;left:50%;top:56px;transform:translateX(-50%);z-index:8;width:min(440px,92%);background:#05080bf0;border:1px solid #39ff6a66;border-radius:16px;padding:12px 14px;color:#e6edf3;font-size:14px;box-shadow:0 8px 30px #0008}#envNote b{color:#39ff6a}#envNote p{margin:6px 0}#envNote .cz{color:#f0b429;font-size:13px}#envNote button{float:right;background:#39ff6a;color:#04110a;border:0;border-radius:10px;padding:6px 16px;font-weight:700;cursor:pointer}.stage.replaying #envNote{display:none}
#envNote{top:auto!important;bottom:200px}
#orientHint{position:absolute;left:50%;transform:translateX(-50%);top:58px;z-index:3;background:#05080bd0;border:1px solid #39ff6a40;border-radius:999px;padding:5px 12px;font-size:12px;color:#c7d1d9;white-space:nowrap;max-width:94%;overflow:hidden;text-overflow:ellipsis}#orientHint small{color:var(--dim)}#orientHint[hidden],.stage.replaying #orientHint{display:none!important}
/* v19.9 phone portrait: camera uses the full width and most of the height */
@media (orientation:portrait) and (max-width:600px){.g{padding:6px 6px calc(8px + env(safe-area-inset-bottom))!important}.stage{height:calc(100svh - 112px)!important;min-height:420px!important;border-radius:18px!important}.top{flex-wrap:wrap!important;gap:6px!important;margin-bottom:6px!important}.top .pill{font-size:12px!important;padding:5px 10px!important;min-height:36px!important}.logo{height:32px!important}#micBtn{flex:1 1 auto;min-width:0}#micBtn span{overflow:hidden;text-overflow:ellipsis}}
/* v19.9 phone landscape: camera fills the screen, compact top bar, cards in a slim right-hand column */
@media (orientation:landscape) and (max-height:560px) and (pointer:coarse){body{overflow:auto}.g{display:block!important;height:auto!important;padding:4px 8px!important}.top{flex-wrap:nowrap!important;gap:6px!important;margin-bottom:4px!important;overflow-x:auto;scrollbar-width:none}.top::-webkit-scrollbar{display:none}.logo{height:28px!important}#cv{width:calc(100% - 104px)!important;max-width:calc(100% - 104px)!important}.top .pill{font-size:12px!important;padding:4px 9px!important;min-height:34px!important}
 .stage{height:calc(100svh - 52px)!important;min-height:260px!important;border-radius:14px!important}
 #chipWrap.chips{position:absolute!important;left:auto!important;right:6px!important;top:6px!important;bottom:62px!important;overflow-y:auto!important;flex-wrap:nowrap!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;width:96px}#chipWrap .st{flex:0 0 auto!important;padding:3px 6px!important;min-width:0!important;text-align:left}#chipWrap .st b{font-size:13px!important}#chipWrap .st small{font-size:8px!important}#chipWrap .st i{font-size:9px!important}#chipWrap .st b .ar{display:none}
 .recw{left:auto!important;right:110px!important;bottom:8px!important;transform:none!important;padding:4px!important}#recBtn{width:46px!important;height:46px!important}#recBtn i{width:30px!important;height:30px!important}
 .ring{width:64px!important;height:64px!important}.ring b{font-size:22px!important}#setupCard{bottom:8px!important;top:auto!important;left:80px!important}#status{top:6px!important;font-size:12px!important}#orientHint{display:none!important}}
#orientHint{top:auto!important;bottom:150px!important;white-space:normal!important;max-width:92%!important;text-align:center}

@media (orientation:portrait) and (max-width:400px){#chipWrap.chips{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:4px!important;overflow:visible!important}#chipWrap .st{min-width:0!important;padding:3px 4px!important;overflow:hidden}#chipWrap .st b{font-size:12px!important;white-space:nowrap}#chipWrap .st small,#chipWrap .st i{font-size:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}#chipWrap .st b .ar{display:none}}
@media (orientation:landscape) and (max-height:560px) and (pointer:coarse){#chipWrap .st{padding:2px 5px!important;line-height:1.1!important}#chipWrap .st b{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}#chipWrap .st i{font-size:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}#chipWrap.chips{gap:3px!important;overflow:visible!important;bottom:auto!important}}
#moreBtn{display:none}
@media (orientation:landscape) and (max-height:560px) and (pointer:coarse) and (max-width:800px){#moreBtn{display:inline-flex!important}.top:not(.open) #playerPill,.top:not(.open) #optBtn{display:none!important}.top.open #playerPill,.top.open #optBtn{position:fixed;right:8px;z-index:30}.top.open #playerPill{top:46px}.top.open #optBtn{top:100px}}
#orientHint{position:static!important;transform:none!important;margin:0 auto 4px!important;display:flex;align-items:center;gap:8px;width:max-content;max-width:100%!important;white-space:nowrap!important;padding:3px 4px 3px 12px!important;font-size:11.5px!important}#orientHint span{overflow:hidden;text-overflow:ellipsis}#orientHint .ohx{flex:0 0 auto;width:28px;height:28px;border-radius:50%;border:1px solid #39ff6a40;background:#0b1117;color:#e6edf3;font-size:16px;line-height:1;cursor:pointer}
@media (orientation:portrait) and (max-width:600px){.stage{height:calc(100svh - 146px)!important}}
#fsTip{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:40;width:min(420px,92%);background:#05080bf0;border:1px solid #39ff6a66;border-radius:16px;padding:12px 14px;color:#e6edf3;font-size:14px;box-shadow:0 8px 30px #0008}#fsTip button{margin-top:8px;background:#39ff6a;color:#05080b;border:0;border-radius:10px;padding:6px 16px;font-weight:700}

/* v19.9.3 phone portrait: fixed zones — top status row, picture, bottom strip below picture */
#setupCard div{display:grid!important;grid-template-columns:1fr auto;column-gap:10px;align-items:center}
#setupCard div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#setupCard div>b{text-align:right;white-space:nowrap}
@media (orientation:portrait) and (max-width:600px){
.stage{display:flex!important;flex-direction:column!important;padding-top:44px!important;box-sizing:border-box}
#cv{flex:1 1 auto!important;min-height:0!important;height:auto!important;width:100%!important;max-width:100%!important}
.stage:not(.replaying) .hud{position:static!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;padding:5px 4px 4px!important;pointer-events:auto;inset:auto!important;transform:none!important}
.hud .ring{position:absolute!important;top:3px!important;left:6px!important;width:38px!important;height:38px!important;z-index:4}.hud .ring b{font-size:13px!important}.hud .ring small{display:none!important}
#chipWrap.chips{position:static!important;order:1;width:100%!important;flex:0 0 100%!important;margin:0!important;transform:none!important}
.hud #setupCard{position:static!important;order:2;flex:1 1 0;min-width:0!important;max-width:none!important;margin:0!important;inset:auto!important;display:flex!important;flex-wrap:wrap;gap:0 10px;padding:4px 8px!important;font-size:11px!important;backdrop-filter:none}
.hud #setupCard[hidden]{display:none!important}
.hud #setupCard h4{flex:0 0 100%;margin:0!important;font-size:9px!important}
.hud #setupCard div{display:grid!important;grid-template-columns:auto auto;column-gap:4px;line-height:1.35}
.stage:not(.replaying) .hud .recw{position:static!important;order:3;display:flex!important;transform:none!important;margin:0 0 0 auto!important;background:transparent!important;border:0!important;padding:0!important}
.hud #recBtn{width:46px!important;height:46px!important}.hud #recBtn i{width:30px!important;height:30px!important}.hud #recHint{display:none!important}
#status{top:6px!important;left:50px!important;transform:none!important;max-width:128px!important;padding:6px 10px!important;font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.envWarn,#bCam{top:6px!important;left:184px!important;right:44px!important;bottom:auto!important;transform:none!important;width:auto!important;max-width:none!important;height:30px;box-sizing:border-box;padding:5px 10px!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis;display:block}
.envWarn small,.envWarn em{display:none!important}.envWarn b{display:inline;font-weight:700}
.envWarn.open{height:auto;white-space:normal!important}
#bCam.merged{display:none!important}
.badges{position:absolute!important;top:15px!important;right:6px!important;left:auto!important;bottom:auto!important;flex-direction:row!important;gap:3px!important;max-width:40px!important}
#toast,#envNote,#camNote,#speedNote,#voiceNote,#heard{position:absolute!important;top:48px!important;left:6px!important;right:6px!important;bottom:auto!important;transform:none!important;width:auto!important;max-width:none!important;z-index:9}
#toast{font-size:14px!important;padding:8px 12px!important}
.stage .toastHidden{display:none!important}
.hud #dataPill{position:static!important;order:2;transform:none!important;margin:0!important;inset:auto!important;font-size:12px!important;padding:6px 10px!important;white-space:nowrap}
.hud #dataPill[hidden]{display:none!important}
}

/* v19.9.4 phone portrait: picture fills the panel width, centred record row, 2-line status pills */
@media (orientation:portrait) and (max-width:600px){
#cv.fitw{object-fit:cover!important;object-position:center!important}
.stage{padding-top:50px!important}
#status,.envWarn{top:4px!important;height:auto!important;max-height:42px;white-space:normal!important;overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.25!important;padding:4px 10px!important;border-radius:14px!important;font-size:11.5px!important;text-overflow:clip}
#status{left:48px!important;right:auto!important;width:calc(50% - 50px)!important;max-width:none!important;text-align:left}
.envWarn,#bCam{left:calc(50% + 4px)!important;right:44px!important}
.envWarn.open{max-height:none;-webkit-line-clamp:unset}
.hud .ring{top:6px!important}
.badges{top:17px!important}
.hud #setupCard{order:2}.hud #dataPill{order:3}
.stage:not(.replaying) .hud .recw{order:4;flex:0 0 100%!important;justify-content:center!important;margin:0!important}
}

/* v19.9.5 "Don't show again" row */
.dsRow{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin-top:8px;clear:both}
.dsRow button{float:none!important;margin:0!important}
.dsHide{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#8b96a0;cursor:pointer;user-select:none;line-height:1.2}
.dsHide input{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin:0;border:1.5px solid #39ff6a88;border-radius:4px;background:#0b1117;display:grid;place-items:center;cursor:pointer;flex:none}
.dsHide input:checked{background:#39ff6a;border-color:#39ff6a}
.dsHide input:checked::after{content:'';width:4px;height:8px;border:solid #04110a;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.dsHide input:focus-visible{outline:2px solid #39ff6a;outline-offset:2px}

/* v19.9.5 who's swinging */
#whoDlg{position:fixed;inset:0;z-index:150;background:#000c;display:flex;align-items:center;justify-content:center;padding:14px}
#whoDlg .bx{width:min(380px,100%);background:#05080bf5;border:1px solid #39ff6a66;border-radius:18px;padding:16px;color:#e6edf3;box-shadow:0 10px 40px #000a}
#whoDlg h2{margin:0 0 4px;font-size:19px;color:#39ff6a}#whoDlg p{margin:0 0 12px;font-size:13px;color:#8b96a0}
#whoDlg .wg{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start;grid-template-rows:auto auto 14px auto}#whoDlg .e{height:14px;line-height:14px;font-size:12px}#whoDlg .bx{height:auto;max-height:90dvh;overflow:auto;box-sizing:border-box;margin:auto}
#whoDlg label{display:grid;gap:4px;font-size:12px;color:#8b96a0}#whoDlg label.f{grid-column:1/-1}
#whoDlg input,#whoDlg select{background:#0b1117;border:1px solid #39ff6a44;border-radius:10px;color:#e6edf3;padding:9px 10px;font-size:15px;width:100%;box-sizing:border-box}
#whoDlg .pl{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#whoDlg .pl button,#whoDlg .go{background:#0b1117;border:1px solid #39ff6a44;border-radius:12px;color:#e6edf3;padding:12px 8px;font-size:15px;font-weight:600;cursor:pointer}
#whoDlg .pl button.last{border-color:#39ff6a;box-shadow:0 0 0 1px #39ff6a,0 0 14px #39ff6a55}
#whoDlg .pl button.add{color:#39ff6a;border-style:dashed}
#whoDlg .go{grid-column:1/-1;background:#39ff6a;color:#04110a;border:0;margin-top:4px}
#whoDlg .e{color:#f0b429;grid-column:1/-1}
/* v19.9.8: card grid renamed .g -> .wg (it was inheriting the main app layout .g grid/height rules, stretching the card) */
#whoDlg{overflow:hidden;overscroll-behavior:contain}#whoDlg .wg{height:auto!important;padding:0!important}
html:has(#whoDlg),html:has(#whoDlg) body{overflow:hidden!important}
#whoDlg .bx{padding:14px 16px}#whoDlg p{margin-bottom:10px}#whoDlg .wg{gap:7px}#whoDlg .go{padding:10px 8px;margin-top:2px}
@media (max-width:480px){#whoDlg .bx{padding:12px 14px}#whoDlg h2{font-size:18px}#whoDlg p{font-size:12px;margin-bottom:8px}#whoDlg .wg{gap:6px}#whoDlg .pills button{min-height:40px;padding:8px}}
/* v19.9.8 neon -/+ steppers */
#whoDlg .stp{display:flex;align-items:center;gap:3px;min-width:0}#whoDlg .stp input{flex:1 1 auto;min-width:30px;width:100%;text-align:center;padding:9px 2px}
#whoDlg .sb{flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border-radius:9px;border:1px solid #39ff6a66;background:#0b1117;color:#39ff6a;font-size:20px;font-weight:700;line-height:1;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none;box-shadow:0 0 6px #39ff6a22}
#whoDlg .sb:active,#whoDlg .sb.hold{background:#39ff6a22;box-shadow:0 0 10px #39ff6a66}
#whoDlg .hft{flex-wrap:nowrap}#whoDlg .hft .stp{flex:1 1 0}
@media (max-width:480px){#whoDlg .ht{grid-column:1/-1}}
/* v19.9.6 player card */
#whoDlg .ht{display:grid;gap:4px;font-size:12px;color:#8b96a0}#whoDlg .lb{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8b96a0}
#whoDlg .un{display:flex;gap:2px}#whoDlg .un button{background:none;border:1px solid #39ff6a33;color:#8b96a0;border-radius:7px;font-size:10px;padding:1px 5px;cursor:pointer}#whoDlg .un button.on{color:#04110a;background:#39ff6a;border-color:#39ff6a}
#whoDlg .hft,#whoDlg .hcm{display:flex;align-items:center;gap:4px}#whoDlg .hft[hidden],#whoDlg .hcm[hidden]{display:none}#whoDlg .hft input,#whoDlg .hcm input{min-width:0;padding:9px 6px;text-align:center}#whoDlg .ht i{font-style:normal;font-size:12px}
#whoDlg .hint{grid-column:1/-1;font-size:11px;color:#8b96a0;margin-top:-4px}#whoDlg .gd{display:grid;gap:4px}#whoDlg .pills{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#whoDlg .pills button{background:#0b1117;border:1px solid #39ff6a44;border-radius:999px;color:#e6edf3;padding:10px 8px;font-size:15px;font-weight:600;cursor:pointer;min-height:44px}#whoDlg .pills button.on{border-color:#39ff6a;background:#39ff6a22;color:#39ff6a;box-shadow:0 0 0 1px #39ff6a}
#whoDlg .go:disabled{opacity:.4;cursor:not-allowed}
#emailBtn:disabled,#shareBtn:disabled,#copyBtn:disabled{opacity:.4;cursor:not-allowed;filter:grayscale(1)}#whoDlg .wg{grid-template-rows:none!important}#whoDlg .f{grid-column:1/-1}


/* ===== v20.0.0 premium look ===== */
:root{--neon:#39ff6a;--bg:#08090b;--card:#0e1114;--line:rgba(255,255,255,.07);--dim:#9aa1a8;--t3:#858c93;--glass:rgba(22,25,29,.55)}
body{background:radial-gradient(1200px 600px at 70% -10%,#12201a 0%,#08090b 55%) fixed,#08090b;font-family:Inter,"Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
svg.i{width:18px;height:18px;stroke:var(--neon);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block}
svg.i.m{stroke:#c3c9cf}
.pill,.tag,#replay,.side,.strip .pbc,#stripBtn{backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%)}
.top .pill{background:var(--glass);border:1px solid var(--line);color:#c3c9cf;font-size:13px;font-weight:500;min-height:40px;padding:8px 14px;box-shadow:0 20px 50px -24px #000}
.top button.pill:hover{background:rgba(255,255,255,.06)}
.top{gap:10px}
/* mic: round icon next to logo, clear gap */
#micBtn{margin-left:14px;padding:4px 14px 4px 4px;gap:10px}
#micBtn .micI{position:relative;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(57,255,106,.12);border:1px solid rgba(57,255,106,.35);flex:none}
#micBtn .micI svg{width:16px;height:16px}
#micBtn.on .micI::before,#micBtn.on .micI::after{content:"";position:absolute;inset:-1px;border-radius:50%;border:1px solid var(--neon);opacity:.5;animation:v20p 2.2s ease-out infinite}#micBtn.on .micI::after{animation-delay:1.1s}
@keyframes v20p{to{transform:scale(1.6);opacity:0}}@media (prefers-reduced-motion:reduce){#micBtn.on .micI::before,#micBtn.on .micI::after{animation:none}}
#micBtn .dot{width:7px;height:7px}#micBtn.on{color:#f2f4f5}
#exitBtn{color:#f2f4f5!important;border-color:rgba(57,255,106,.3)!important;font-weight:500!important}
#fsTop,#optBtn,#moreBtn{padding:8px 11px!important}
#clubTop::before{content:"";width:16px;height:16px;flex:none;background:#c3c9cf;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3 8 18M8 18l-3 1 1 2h4z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3 8 18M8 18l-3 1 1 2h4z'/%3E%3C/svg%3E") center/contain no-repeat}
#playerPill{padding:4px 6px 4px 6px!important;gap:2px!important}#playerPill .ib{padding:6px 7px}#playerPill .ib svg{width:16px;height:16px}
.av{background:#1d2126!important;color:#f2f4f5!important;font-weight:600!important;width:26px!important;height:26px!important;font-size:12px!important}
#camPill small,#fps{color:var(--t3)}
/* layout: camera column with dock below */
.g{gap:16px 20px}
.stcol{display:flex;flex-direction:column;gap:14px;min-height:0;min-width:0}
.stcol>.stage{flex:1 1 auto;min-height:0}
.stage{border-radius:24px;border:1px solid var(--line);background:radial-gradient(500px 400px at 50% 55%,#1a1f1c,#0b0d0e);box-shadow:0 30px 80px -30px #000c}
.tag{background:var(--glass)!important;border:1px solid var(--line)!important;color:#c3c9cf;font-size:12px;font-weight:500}
.tag.ok{color:var(--neon)}
#status{background:var(--glass);border-color:var(--line);font-weight:600;font-size:14px}
#status.good{background:var(--neon);color:#03140a}
/* dock (stats panel, below the camera, never over it) */
.stcol>.hud{position:static!important;inset:auto!important;transform:none!important;display:flex!important;flex-wrap:nowrap;align-items:center!important;justify-content:flex-start!important;gap:22px!important;padding:14px 20px!important;background:var(--glass);border:1px solid var(--line);border-radius:20px;backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px);box-shadow:0 20px 50px -20px #000b;pointer-events:auto;flex:none}
.stcol>.hud .ring{position:relative!important;top:auto!important;left:auto!important;width:76px!important;height:76px!important;background:none!important;backdrop-filter:none!important;flex:none}
.stcol>.hud .ring b{font-family:"Barlow Condensed",Inter,sans-serif;font-variant-numeric:tabular-nums;font-size:32px!important;font-weight:600}
.stcol>.hud .ring small{display:block!important;font-size:9px!important;letter-spacing:.14em;color:var(--t3);font-weight:600}
.stcol>.hud #chipWrap.chips{position:static!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:row!important;flex:1 1 auto!important;width:auto!important;gap:26px!important;margin:0!important;overflow:visible!important;align-items:flex-start!important;padding-left:22px;border-left:1px solid var(--line)}
.stcol>.hud #chipWrap .st{background:none!important;border:0!important;backdrop-filter:none!important;padding:0!important;min-width:0!important;border-radius:0!important}
.stcol>.hud #chipWrap .st small{white-space:nowrap!important;font-size:10.5px!important;letter-spacing:.14em!important;color:var(--t3)!important;font-weight:600}
.stcol>.hud #chipWrap .st b{font-family:"Barlow Condensed",Inter,sans-serif;font-variant-numeric:tabular-nums;font-size:26px!important;font-weight:600;color:#f2f4f5;white-space:nowrap;display:inline}
.stcol>.hud .recw{position:static!important;transform:none!important;margin:0 0 0 auto!important;background:none!important;border:0!important;padding:0!important;backdrop-filter:none!important;display:flex!important;align-items:center;gap:14px}
.stcol>.hud #recHint{font-size:12px;color:var(--dim);max-width:190px}
.stcol>.hud #recBtn{width:62px!important;height:62px!important;border:2px solid rgba(255,255,255,.85)}
.stcol>.hud #recBtn i{width:46px!important;height:46px!important;box-shadow:0 0 22px rgba(255,59,48,.45)}
.stcol>.hud #recBtn.on i{width:26px!important;height:26px!important}
.dbtn{flex:none;font-size:12px!important;min-height:36px!important;padding:7px 12px!important;background:var(--glass);border:1px solid var(--line);border-radius:999px;color:#c3c9cf;display:flex;gap:8px;align-items:center}
.dbtn svg{width:16px!important;height:16px!important}
.stcol>.hud #setupCard{position:static!important;inset:auto!important;margin:0!important;max-width:220px}
.stcol>.hud #setupCard[hidden],.stcol>.hud #dataPill[hidden]{display:none!important}
/* side panel: one calm surface */
.side{background:var(--glass)!important;border:1px solid var(--line)!important;border-radius:20px!important;gap:6px!important;padding:18px 16px!important}
.side h3{font-size:10.5px!important;letter-spacing:.14em!important;color:var(--t3)!important;font-weight:600;margin-top:6px!important}
#tipsTop li{background:none!important;border:0!important;padding:6px 0!important;color:#9aa1a8!important;font-size:13.5px!important}
#tipsTop li:before{content:""!important;width:18px!important;height:18px!important;border-radius:0!important;background:var(--neon)!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4M6 4h10l-2 4 2 4H6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4M6 4h10l-2 4 2 4H6'/%3E%3C/svg%3E") center/contain no-repeat;margin-top:1px}
#tipsTop li.warn:before{background:#d9b44a!important}
.side details.sec{background:none!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important}
.side details.sec summary{font-weight:500;color:#f2f4f5}
.side details.sec summary em{color:var(--t3)!important;font-style:normal}
.side .foot{color:var(--t3)!important;font-size:11.5px!important}
/* session strip */
.strip .pbc{background:var(--glass)!important;border:1px solid var(--line)!important;border-radius:18px!important}
#stripBtn{background:var(--glass)!important;border:1px solid var(--line)!important;color:#c3c9cf!important}
#sAvg{font-family:"Barlow Condensed",Inter,sans-serif;font-variant-numeric:tabular-nums}
#replay{background:rgba(12,14,16,.78)!important;border-color:var(--line)!important}
/* tablets / small laptops */
@media (max-width:900px),(orientation:portrait) and (max-width:1100px){
 .stcol{gap:12px}
 .stcol>.hud{flex-wrap:wrap!important;gap:12px 16px!important;padding:14px!important}
 .stcol>.hud #chipWrap.chips{order:3;flex:0 0 100%!important;width:100%!important;justify-content:space-between;gap:6px!important;border-left:0;padding-left:0}
 .stcol>.hud .ring{order:1}.stcol>.hud #setupCard{order:2}.stcol>.hud #dataPill{order:2}.stcol>.hud .recw{order:2}
 .dbtn{display:none!important}
 .stcol>.hud #dataPill:not([hidden]){position:static!important;display:block}
}
/* phones: compact top bar, secondaries in the ☰ menu */
@media (max-width:600px){
 .top{flex-wrap:nowrap!important;gap:8px!important;align-items:center!important;margin-bottom:12px!important;position:relative}
 .logo{height:30px!important}
 #micBtn{order:0!important;margin:0 10px!important;padding:3px!important;min-height:0!important;border-radius:50%!important;background:none!important;border:0!important;box-shadow:none!important}
 #micBtn #micTxt,#micBtn .dot{display:none!important}#micBtn .micI{width:36px;height:36px}
 .top .sp{display:block!important;flex:1}
 #clubTop{order:1}#exitBtn{order:2}#moreBtn{order:3;display:inline-flex!important}
 #exitBtn span{display:none}#exitBtn{padding:8px 10px!important}
 .top:not(.open) #camPill,.top:not(.open) #playerPill,.top:not(.open) #fsTop,.top:not(.open) #optBtn{display:none!important}
 .top.open #camPill,.top.open #playerPill,.top.open #fsTop,.top.open #optBtn{display:flex!important;position:absolute!important;right:0;z-index:30;margin:0!important;order:9}
 .top{z-index:40!important}.top.open #camPill,.top.open #playerPill,.top.open #fsTop,.top.open #optBtn{background:rgba(16,18,21,.97)!important;box-shadow:0 18px 40px -10px #000!important}
 .top.open #playerPill{top:54px}.top.open #camPill{top:112px}.top.open #fsTop{top:166px;right:58px}.top.open #optBtn{top:166px}
 .top.open #moreBtn{border-color:rgba(57,255,106,.35)!important}
 .stcol>.hud .ring{width:56px!important;height:56px!important}.stcol>.hud .ring b{font-size:22px!important}.stcol>.hud .ring small{font-size:8px!important}
 .stcol>.hud #chipWrap.chips{display:grid!important;grid-template-columns:repeat(5,1fr)!important}
 .stcol>.hud #chipWrap .st small{font-size:9.5px!important;letter-spacing:.08em!important}
 .stcol>.hud #chipWrap .st b{font-size:20px!important}
 .stcol>.hud #recBtn{width:58px!important;height:58px!important}.stcol>.hud #recBtn i{width:42px!important;height:42px!important}
 .stcol>.hud .recw{margin-left:auto!important;flex:none!important;justify-content:flex-end!important}
 .stcol>.hud #recHint{display:none!important}
 .stage{padding-top:50px!important}
}


/* ===== v20.0.1 sleek pass ===== */
@media (min-width:901px){
 .g{grid-template-columns:1fr clamp(300px,24vw,360px)!important;grid-template-rows:auto 1fr auto!important;gap:14px 18px!important;padding:14px 20px!important}
 body.stripOff .g{grid-template-rows:auto 1fr auto!important}
 .stcol{gap:12px}
 .stcol>.hud{padding:10px 18px!important}
 .stcol>.hud .ring{width:64px!important;height:64px!important}
 .strip{height:auto!important;min-height:0!important}
 .strip:has(.emptyStrip){height:52px!important;overflow:hidden!important;align-items:center!important;background:var(--glass);border:1px solid var(--line);border-radius:18px;padding:0 10px 0 18px;backdrop-filter:blur(18px)}
 .strip:has(.emptyStrip) .pbc{width:auto!important;background:none!important;border:0!important;padding:0!important;display:flex!important;align-items:center;gap:16px;backdrop-filter:none!important}
 .strip:has(.emptyStrip) .pbc small{font-size:10.5px;letter-spacing:.14em;color:var(--t3);text-transform:uppercase;font-weight:600;white-space:nowrap}
 .strip:has(.emptyStrip) .pbc b,.strip:has(.emptyStrip) .pbc .bar{display:none!important}
 .strip:has(.emptyStrip) #sMeta{color:var(--dim);font-size:14px;white-space:nowrap}
 .strip:has(.emptyStrip) .emptyStrip{border:0!important;justify-content:start;font-size:12.5px;color:var(--t3);padding-left:8px}
 .strip:has(.emptyStrip) #stripBtn{position:static!important;margin-left:auto;align-self:center;flex:none}
}
/* stage: video fills a glass frame; ambient blur behind when aspect differs a lot */
.stage{background:#0b0d0e!important;isolation:isolate}
#v20amb{position:absolute;inset:-8%;width:116%;height:116%;object-fit:cover;filter:blur(28px) brightness(.42) saturate(1.2);z-index:-1;pointer-events:none}
canvas#cv{border-radius:inherit}
canvas#cv.v20cover{object-fit:cover!important}
canvas#cv.v20fit{border-radius:16px}
/* chips: subtle, amber instead of red */
@media (min-width:601px){.badges .tag{font-size:11.5px!important;padding:5px 11px!important;color:#c3c9cf!important}}
.tag.bad,.tag.warn{color:#e2bd5c!important;border-color:rgba(226,189,92,.28)!important}
.tag.ok{color:var(--neon)!important}
/* one compact status stack (warnings, camera, zoom tip) - top-left, away from the body */
#v20stat{position:absolute;left:16px;top:52px;z-index:4;display:flex;flex-direction:column;gap:6px;align-items:flex-start;max-width:clamp(200px,24%,320px)}
#v20stat:empty{display:none}
#v20stat>*{position:static!important;inset:auto!important;transform:none!important;margin:0!important;max-width:100%!important;width:auto!important}
#v20stat .envWarn,#v20stat #zoomTip{background:rgba(16,18,21,.62)!important;backdrop-filter:blur(16px);border:1px solid rgba(226,189,92,.28)!important;border-radius:14px!important;padding:6px 11px!important;font-size:12px!important;color:#c3c9cf;cursor:pointer;line-height:1.35}
#v20stat .envWarn b,#v20stat #zoomTip b{color:#e2bd5c!important;font-weight:600!important;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#v20stat .envWarn.bad{border-color:rgba(226,189,92,.4)!important}
#v20stat .envWarn small,#v20stat .envWarn .all,#v20stat .envWarn em{display:none!important}
#v20stat #zoomTip{font-size:0!important}#v20stat #zoomTip b{font-size:12px!important}
#v20stat .envWarn b::after,#v20stat #zoomTip b::after{content:" ›";color:var(--t3)}
@media (min-width:601px){.stage #status{left:auto!important;right:16px!important;transform:none!important;max-width:min(40%,360px)!important;font-size:12.5px!important;padding:6px 14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .stage #heard{top:auto!important;bottom:16px;left:16px!important;transform:none!important;max-width:min(46%,420px);font-size:12.5px!important;font-weight:500!important;background:rgba(14,16,19,.8);backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:14px;padding:7px 12px;line-height:1.35}
 .stage #heard:empty{display:none}
 .strip:has(.emptyStrip) #stripBtn{order:9}}
body.v20ewOpen #v20stat .envWarn small,body.v20ewOpen #v20stat .envWarn .all{display:block!important;margin-top:4px}
body.v20ewOpen #v20stat .envWarn .all span{display:block;font-size:11.5px;color:#c3c9cf}
body.v20ewOpen #v20stat .envWarn b{white-space:normal}
body.v20ztOpen #v20stat #zoomTip{font-size:11.5px!important}body.v20ztOpen #v20stat #zoomTip b{white-space:normal}
#v20stat #bCam{font-size:11px!important;padding:4px 10px!important}
#v20stat #bCam.merged{display:none!important}
/* pop-ups: compact, bottom-right corner of the stage */
@media (min-width:601px){
 .stage #speedNote,.stage #camNote,.stage #envNote,.stage #voiceNote,.stage #toast{left:auto!important;right:16px!important;top:auto!important;bottom:16px!important;transform:none!important;width:min(320px,44%)!important;max-width:none!important;background:rgba(14,16,19,.82)!important;backdrop-filter:blur(18px) saturate(140%);border:1px solid var(--line)!important;border-radius:16px!important;padding:12px 14px!important;font-size:13px!important;box-shadow:0 20px 50px -20px #000!important;text-align:left}
 .stage #speedNote b,.stage #camNote b,.stage #envNote b,.stage #voiceNote b{color:#f2f4f5!important;font-weight:600}
 .stage #toast.bad,.stage #toast.warn{border-color:rgba(226,189,92,.35)!important}
}
.dsRow button,#camNote button,#speedNote button,#envNote button,#voiceNote button{background:rgba(57,255,106,.14)!important;color:var(--neon)!important;border:1px solid rgba(57,255,106,.35)!important;border-radius:999px!important;padding:5px 16px!important;font-weight:600!important}
/* side panel like the mockup */
.side{padding:8px!important;gap:0!important}
.side>h3{padding:14px 14px 0!important;margin:0!important}
.side #tipsTop{padding:6px 14px 10px!important}
.side #summary,.side #score{padding:0 14px}
.side #summary{padding-top:6px;padding-bottom:12px;color:var(--dim);font-size:13.5px}
.side details.sec{padding:0!important;margin:0!important}
.side details.sec:first-of-type{margin-top:6px!important}
.side details.sec summary{padding:13px 14px!important;border-radius:12px;font-size:14px;display:flex;align-items:center;gap:10px;list-style:none}
.side details.sec summary:hover{background:rgba(255,255,255,.03)}
.side details.sec summary em{margin-left:auto;font-size:12px!important}
.side details.sec .in{padding:0 14px 12px}
.side .foot{padding:12px 14px 6px!important;border-top:1px solid var(--line)}
.side .alert{display:none}


/* v20.0.1 pixel pass */
.stcol>.hud .ring>div{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px;padding:0!important}
.stcol>.hud .ring b{line-height:1!important;display:block;margin:0!important}
.stcol>.hud .ring small{line-height:1!important;margin:0!important;padding:0!important;text-align:center}
.stcol>.hud #chipWrap .st{display:flex!important;flex-direction:column;align-items:flex-start;gap:6px}
.stcol>.hud #chipWrap .st small{line-height:1!important;margin:0!important}
.stcol>.hud #chipWrap .st b{line-height:1!important}
.stcol>.hud #chipWrap .st i{display:none}
@media (orientation:portrait) and (max-width:600px){
 .stage{padding-top:42px!important}
 .stcol>.hud .ring{width:60px!important;height:60px!important}
 .stcol>.hud .ring b{font-size:20px!important}.stcol>.hud .ring small{font-size:7.5px!important;letter-spacing:.12em!important}
 .stcol>.hud #chipWrap .st{align-items:center}
 .stage #status,.stage .envWarn{top:8px!important;height:26px!important;max-height:26px!important;-webkit-line-clamp:1!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:5px 11px!important;font-size:11.5px!important;line-height:16px!important;border-radius:999px!important;background:rgba(16,18,21,.7)!important;backdrop-filter:blur(14px);border:1px solid var(--line)!important;font-weight:500!important}
 .stage .envWarn[style*="none"]{display:none!important}
 .stage #status{left:10px!important;width:auto!important;max-width:calc(50% - 16px)!important;color:#f2f4f5}
 .stage #status.good{background:var(--neon)!important;color:#03140a}
 .stage .envWarn{left:50%!important;right:44px!important;color:#e2bd5c!important;border-color:rgba(226,189,92,.3)!important}
 .stage .envWarn b{color:#e2bd5c!important;font-weight:500!important;font-size:11.5px!important}
 .stage .envWarn.open{height:auto!important;max-height:none!important;white-space:normal!important;border-radius:14px!important}
 .badges{top:14px!important}
 .stage #speedNote,.stage #camNote,.stage #envNote,.stage #voiceNote,.stage #toast{top:auto!important;bottom:10px!important;left:10px!important;right:10px!important;padding:10px 12px!important;font-size:13px!important;border-radius:16px!important;background:rgba(14,16,19,.86)!important;backdrop-filter:blur(18px);border:1px solid var(--line)!important}
 .stage #camNote b,.stage #speedNote b,.stage #envNote b,.stage #voiceNote b{color:#f2f4f5!important;font-weight:600}
 .stage #camNote p,.stage #speedNote p{margin:4px 0!important}
}

/* v20.0.1 name card steppers */
#whoDlg .bx{background:#0b0e11!important}
#whoDlg .ht{grid-column:1/-1!important}
#whoDlg .hft[hidden],#whoDlg .hcm[hidden]{display:none!important}
#whoDlg .hft,#whoDlg .hcm{display:flex!important;align-items:center;gap:6px!important;flex-wrap:nowrap!important;min-width:0}
#whoDlg .hft .stp,#whoDlg .hcm .stp{flex:1 1 0!important;min-width:0}#whoDlg .hcm>i{flex:none;font-style:normal;font-size:12px;color:var(--dim);margin:0 2px}#whoDlg .hcm .stp{max-width:calc(50% - 14px)}
#whoDlg .hft>i{flex:none;font-style:normal;font-size:12px;color:var(--dim);margin:0 2px}
#whoDlg .stp{gap:4px!important}
#whoDlg .stp input{flex:1 1 44px!important;min-width:44px!important;width:44px!important;text-align:center!important;padding:9px 2px!important;font-variant-numeric:tabular-nums;font-size:16px!important;box-sizing:border-box}
#whoDlg .sb{display:grid!important;place-items:center}
@media (max-width:400px){#whoDlg .hft{gap:4px!important}#whoDlg .stp{gap:3px!important}}

@media (min-width:901px) and (max-width:1240px){.stcol>.hud #recHint{display:none!important}#camPill #fps,#camPill #resInfo{display:none!important}#micTxt{max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.top{gap:7px!important}.top .pill{padding:7px 11px}#player{max-width:120px}.stcol>.hud{gap:16px!important}.stcol>.hud #chipWrap.chips{gap:18px!important}}
@media (min-width:901px){.stcol>.hud{flex-wrap:nowrap!important}.stcol>.hud .recw{flex:none}}

/* ===== v20.0.2 top bar = mock-up ===== */
@media (min-width:601px){.top{gap:14px!important}
.top .pill{border-radius:999px;color:var(--t2,#9aa1a8)!important;font-size:13px!important;font-weight:500!important;padding:9px 14px!important;min-height:0!important;gap:8px;white-space:nowrap}}
#micBtn{position:relative;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;gap:14px!important;margin-left:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#micBtn .micI{width:38px!important;height:38px!important;background:rgba(57,255,106,.14)!important}
#micBtn .micI svg{width:18px!important;height:18px!important}
#micBtn #micTxt{display:block;background:var(--glass);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);border:1px solid var(--line);border-radius:999px;padding:9px 14px;color:var(--t2,#9aa1a8);font-size:13px;font-weight:500;white-space:nowrap;line-height:1.5}
#micBtn .dot{position:absolute;left:66px;top:50%;margin-top:-3.5px;pointer-events:none}
#micBtn .dot~#micTxt{padding-left:29px}
#micBtn.on #micTxt{color:#f2f4f5}#micBtn #micTxt b{font-weight:600;color:#f2f4f5}
#micBtn:hover #micTxt{background:rgba(255,255,255,.06)}
#camPill .camMeta,#camPill [hidden]{display:none!important}
#playerPill{padding:4px 6px 4px 6px!important;gap:2px!important}
#playerPill .av{margin-right:6px}
#playerPill .selw{position:relative;display:flex;align-items:center}
#player{appearance:none!important;-webkit-appearance:none!important;background:none!important;border:0!important;box-shadow:none!important;outline-offset:2px;color:#f2f4f5!important;font:500 13px Inter,system-ui,sans-serif!important;padding:2px 20px 2px 0!important;margin:0!important;height:auto!important;min-height:0!important;cursor:pointer;max-width:150px}
#playerPill .chev{position:absolute;right:0;width:14px!important;height:14px!important;pointer-events:none}
#playerPill .vsep{width:1px;height:18px;background:var(--line);margin:0 4px;flex:none}
#playerPill .ib{background:none!important;border:0!important;padding:7px!important;display:grid;place-items:center;border-radius:50%}
#playerPill .ib:hover{background:rgba(255,255,255,.06)!important}
#fsTop,#optBtn,#moreBtn{padding:9px!important}
#fsTop svg,#optBtn svg,#moreBtn svg,#playerPill .ib svg{width:16px!important;height:16px!important}
#exitBtn{color:#f2f4f5!important;border-color:rgba(57,255,106,.3)!important}
@media (min-width:601px) and (max-width:1240px){.top{gap:8px!important}#micBtn{gap:10px!important}#micBtn .dot{left:62px}#micTxt{max-width:none!important;overflow:visible!important}#player{max-width:110px}}
@media (min-width:601px) and (max-width:1100px){#micBtn #micTxt{max-width:150px!important;overflow:hidden!important;text-overflow:ellipsis}.logo{height:40px!important}}
#playerPill .dsSel{min-width:0;width:auto}#playerPill .chev{display:none!important}
#playerPill .dsSel .dsB{background:none!important;border:0!important;min-height:0!important;padding:2px 4px 2px 0!important;color:#f2f4f5!important;font:500 13px Inter,system-ui,sans-serif!important;gap:8px;white-space:nowrap}
#playerPill .dsSel .dsB:after{width:6px;height:6px;border-color:#9aa1a8;border-width:0 1.6px 1.6px 0}
#micBtn .dot{z-index:1}
summary .rowi{margin-right:12px}summary .rowt{flex:1}
.logo{height:clamp(42px,5.4vh,58px)!important}
@media (max-width:600px){.logo{height:30px!important}
 .top.open #playerPill,.top.open #camPill,.top.open #fsTop,.top.open #optBtn{width:300px!important;height:56px!important;right:0!important;left:auto!important;border-radius:0!important;border:1px solid var(--line)!important;border-top:0!important;padding:0 16px!important;justify-content:flex-start!important;gap:14px!important;font-size:15px!important;color:#f2f4f5!important;backdrop-filter:blur(18px)!important;box-shadow:none!important;background:rgba(18,21,24,.98)!important}
 .top.open #playerPill{top:56px!important;border-top:1px solid var(--line)!important;border-radius:20px 20px 0 0!important;padding:0 10px 0 16px!important}
 .top.open #camPill{top:112px!important;border-top:1px solid var(--line)!important}
 .top.open #fsTop{top:168px!important;right:0!important}
 .top.open #optBtn{top:224px!important;border-radius:0 0 20px 20px!important;box-shadow:0 24px 50px -12px #000!important}
 .top.open #camPill svg,.top.open #fsTop svg,.top.open #optBtn svg{stroke:var(--neon)!important;width:18px!important;height:18px!important}
 .top.open #fsTop::after{content:"Fullscreen"}.top.open #optBtn::after{content:"Settings"}
 .top.open #playerPill .selw{flex:1;min-width:0}.top.open #playerPill .vsep{display:none}.top.open #playerPill .ib{padding:6px!important}.top.open #playerPill .dsB{max-width:130px;overflow:hidden;text-overflow:ellipsis}.top.open #playerPill .av{margin-right:4px}.top.open #playerPill .dsB{font-size:15px!important}
}

/* ===== v20.0.3 phone menu rows, phone session card, results card ===== */
#menuStop,.ppills{display:none!important}
@media (max-width:600px){
 .top.open #playerPill{height:auto!important;flex-wrap:wrap!important;padding:0!important;gap:0!important;align-items:stretch!important}
 .top.open #playerPill .av{margin:15px 12px 15px 16px!important}
 .top.open #playerPill .selw{flex:1 1 0;height:56px;padding-right:16px}
 .top.open #playerPill .selw .dsSel,.top.open #playerPill .selw .dsB{width:100%!important;max-width:none!important;justify-content:space-between}
 .top.open #playerPill .ib{flex:0 0 100%!important;width:100%!important;height:52px;display:flex!important;align-items:center;justify-content:flex-start!important;gap:14px;padding:0 16px!important;border-radius:0!important;color:#f2f4f5;font:500 15px Inter,system-ui,sans-serif}
 .top.open #playerPill .ib svg{stroke:var(--neon)!important;width:18px!important;height:18px!important}
 .top.open #addPlayer::after{content:"Add player"}.top.open #editPlayer::after{content:"Edit player"}.top.open #delPlayer::after{content:"Delete player"}
 .top.open #delPlayer{border-bottom:1px solid var(--line)!important}
 .top.open #camPill{top:268px!important;border-top:0!important}
 .top.open #fsTop{top:324px!important}
 .top.open #menuStop{display:flex!important;position:absolute!important;right:0;z-index:30;margin:0!important;top:380px;width:300px;height:56px;border-radius:0!important;border:1px solid var(--line)!important;border-top:0!important;padding:0 16px!important;justify-content:flex-start;gap:14px;font-size:15px!important;color:#f2f4f5!important;background:rgba(18,21,24,.98)!important;box-shadow:none!important}
 .top.open #menuStop::after{content:"Stop listening"}.top.open #menuStop.off{color:#6b7279!important}.top.open #menuStop.off svg{stroke:#6b7279}
 .top.open #optBtn{top:436px!important}
 /* one session card */
 body:not(.sheet) .side{display:none!important}
 .ppills{display:flex!important;gap:10px;flex-wrap:wrap;margin-top:12px}
 .ppills button{display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:var(--glass);border:1px solid var(--line);color:#c3c9cf;font:500 13px Inter,system-ui,sans-serif}
 .strip{display:block!important;height:auto!important;padding:16px 18px!important;background:var(--glass)!important;border:1px solid var(--line)!important;border-radius:20px!important;backdrop-filter:blur(18px);overflow:hidden!important}
 .strip #strip{display:flex;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;margin-top:12px;overscroll-behavior-x:contain}
 .strip #stripBtn{display:none!important}
 .strip .pbc{width:auto!important;display:flex!important;flex-wrap:wrap;align-items:baseline;gap:6px 16px;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
 .strip .pbc small{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--t3);font-weight:600}
 .strip .pbc #sAvg,.strip .pbc .bar{display:none}
 .strip .pbc #sMeta{color:#f2f4f5;font-size:15px}
 .strip .pbc .ppills{flex:0 0 100%}
 .strip:has(.emptyStrip) #strip{display:none!important}
 body.stripOff .strip{height:auto!important}body.stripOff .strip>*{visibility:visible!important}
}
#resCard{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:rgba(4,6,8,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);padding:16px}
#resCard[hidden]{display:none}
#resCard .card{width:360px;max-width:100%;border-radius:28px;padding:28px;background:rgba(22,25,29,.82);backdrop-filter:blur(20px);border:1px solid var(--line);box-shadow:0 40px 80px -30px #000,inset 0 1px 0 rgba(255,255,255,.05);position:relative;overflow:hidden;color:#f2f4f5;font:400 14px Inter,system-ui,sans-serif}
#resCard .card::before{content:"";position:absolute;top:-120px;left:50%;width:320px;height:240px;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(57,255,106,.18),transparent);pointer-events:none}
#resCard .rtop{display:flex;justify-content:space-between;align-items:center;position:relative}#resCard .rtop img{height:34px;width:auto;display:block}
#resCard .rx{width:32px;height:32px;border-radius:50%;background:none;border:1px solid var(--line);color:#9aa1a8;font-size:16px;line-height:1;display:grid;place-items:center}
#resCard .lab{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--t3);font-weight:600}
#resCard .grid .hs{font-size:11px;color:var(--t3);margin-top:2px;white-space:nowrap}#hSpeed,#rcSpeed,.nw{white-space:nowrap}
#resCard .meta{display:flex;justify-content:space-between;color:var(--t3);font-size:12px;margin-top:6px;position:relative}
#resCard .hero{text-align:center;margin:30px 0 8px;position:relative}
#resCard .num{font-family:"Barlow Condensed",Inter,sans-serif;font-variant-numeric:tabular-nums}
#resCard .hero .num{font-size:120px;font-weight:600;line-height:.9;color:var(--neon);text-shadow:0 0 40px rgba(57,255,106,.35)}
#resCard .hero .s{color:#9aa1a8;margin-top:8px;font-size:13px}
#resCard .bar{height:6px;border-radius:9px;background:rgba(255,255,255,.06);margin:18px 0 24px;overflow:hidden}#resCard .bar i{display:block;height:100%;background:linear-gradient(90deg,#1fae47,var(--neon));border-radius:9px}
#resCard .grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border-radius:16px;overflow:hidden}
#resCard .grid>div{background:rgba(14,16,19,.9);padding:14px 16px}#resCard .grid .num{font-size:30px;font-weight:600;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#resCard .note{display:flex;gap:10px;margin-top:20px;color:#9aa1a8;font-size:13px;line-height:1.5}
#resCard .btns{display:flex;gap:10px;margin-top:22px}#resCard .btns button{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;padding:13px;border-radius:14px;font:600 14px Inter,system-ui,sans-serif;border:1px solid var(--line);color:#f2f4f5;background:none}
#resCard .btns .p{background:var(--neon);color:#05210d;border:0}#resCard .btns .p svg{stroke:#05210d}

/* ===== v20.0.4 single mic button, Swing data in top bar, ring centring ===== */
.tipM{display:none}@media (max-width:600px){.tipD{display:none}.tipM{display:inline}}
#micBtn{gap:9px!important}
@media (min-width:601px){
 #micBtn{position:relative;display:flex!important;align-items:center;background:var(--glass)!important;border:1px solid var(--line)!important;border-radius:999px!important;padding:4px 16px 4px 4px!important;min-height:0!important;margin:0!important;box-shadow:0 20px 50px -24px #000!important;backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;color:#c3c9cf;font:500 13px Inter,system-ui,sans-serif;white-space:nowrap}
 #micBtn #micTxt{background:none!important;border:0!important;padding:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:inherit!important;max-width:none!important;overflow:visible!important}
 #micBtn .dot{display:none!important}
 #micBtn.on{color:#f2f4f5;border-color:rgba(57,255,106,.35)!important}#micBtn.on #micTxt{color:var(--neon)!important}
 #micBtn:hover{background:rgba(255,255,255,.06)!important}
 #micBtn .micI{width:34px!important;height:34px!important}
 .recw #micBtn{order:2}.recw #recBtn{order:1}.recw{gap:12px!important;align-items:center!important}
 .recw #recHint{display:none!important}
 .top #dataBtn{order:0;min-height:0!important;font-size:13px!important;padding:9px 14px!important;color:#9aa1a8!important;background:var(--glass)!important;border:1px solid var(--line)!important;display:flex!important}
 .top #dataBtn svg{stroke:#c3c9cf!important}
}
.ring{container-type:size}
.ring>div,.stcol>.hud .ring>div{position:absolute!important;inset:12%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6cqh!important;padding:0!important;border-radius:50%}
.ring b,.stcol>.hud .ring b{font-size:34cqh!important;line-height:.74!important;margin:0!important;display:block!important}
.ring small,.stcol>.hud .ring small{font-size:max(7px,11cqh)!important;line-height:1!important;letter-spacing:.14em!important;padding-left:.14em!important;margin:0!important;white-space:nowrap}
.hud .ring:not(.stcol .ring) small{}

/* v20.0.4 six stat tiles */
.stcol>.hud #chipWrap .st:has(#hTime){flex-grow:1.5!important}
.stcol>.hud #chipWrap.chips{gap:0!important;justify-content:space-between!important}
.stcol>.hud #chipWrap .st{flex:1 1 0!important;min-width:0!important;padding:0 6px!important}
.stcol>.hud #chipWrap .st b{font-size:24px!important}
@media (min-width:601px) and (max-width:1100px){.stcol>.hud #chipWrap .st b{font-size:19px!important}.stcol>.hud #chipWrap .st small{font-size:9px!important;letter-spacing:.1em!important}}
@media (max-width:600px){.stcol>.hud #chipWrap.chips{grid-template-columns:repeat(3,1fr)!important;row-gap:12px!important;column-gap:8px!important}.stcol>.hud #chipWrap .st{padding:0!important;text-align:center}.stcol>.hud #chipWrap .st b{font-size:20px!important}}
#resCard .grid{grid-template-columns:repeat(3,1fr)}#resCard .grid>div{padding:12px 12px}#resCard .grid .num{font-size:22px}#resCard .grid .lab{font-size:9.5px;letter-spacing:.12em;white-space:nowrap}

/* v20.0.4 bigger logo */
.logo{height:clamp(60px,8vh,80px)!important}
@media (min-width:601px) and (max-height:600px){.logo{height:54px!important}}
@media (max-width:600px){.logo{height:38px!important}.top{gap:6px!important}#micBtn{margin:0 4px!important}}
@media (max-width:370px){.logo{height:32px!important}}

@media (min-width:601px) and (max-width:1100px){.stcol>.hud #chipWrap .st b{font-size:16px!important}.stcol>.hud #chipWrap .st{padding:0 3px!important}.stcol>.hud #chipWrap .st i{font-size:10px!important}.stcol>.hud{gap:12px!important;padding-right:12px!important}#micBtn{padding:3px 12px 3px 3px!important;font-size:12px!important}#micBtn .micI{width:30px!important;height:30px!important}.stcol>.hud #chipWrap.chips{padding-left:12px!important}}

@media (min-width:1101px){.stcol>.hud .ring{width:88px!important;height:88px!important}}

/* v20.0.5 tips: text flows as one block (inline spans must not become flex items) */
#tipsTop li{display:block!important;position:relative!important;padding-left:30px!important}
#tipsTop li:before{position:absolute!important;left:0!important;top:7px!important}

/* ===== v20.0.5 visual pass ===== */
.dsSel .dsB:after{border-color:#9aa1a8!important}
.dsSel .dsB{border-color:var(--line)!important;background:rgba(255,255,255,.04)!important;border-radius:12px}
.btnrow button,#replay .row button{border-radius:999px!important;background:var(--glass,rgba(22,25,29,.55))!important;border:1px solid var(--line)!important;color:#c3c9cf}
.btnrow button:hover{background:rgba(255,255,255,.06)!important}
#playerPill .dsSel .dsB{display:block!important;overflow:hidden;text-overflow:ellipsis;max-width:190px;padding-right:16px!important;position:relative}
#playerPill .dsSel .dsB:after{position:absolute;right:2px;top:50%;margin-top:-5px}
@media (min-width:601px) and (max-width:1240px){#playerPill .dsSel .dsB{max-width:120px}}
@media (min-width:601px) and (max-width:1100px){#playerPill .dsSel .dsB{max-width:96px}}
.top.open #playerPill .dsSel .dsB{max-width:none!important;flex:1}
/* no-camera state */
.stage.noCam{background:radial-gradient(520px 380px at 50% 50%,#18201c,#0c0f0e 70%)!important}
.stage.noCam #cv{opacity:0}
.stage.noCam #status{top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;width:auto!important;transform:translate(-50%,-50%)!important;font-size:15px!important;color:#f2f4f5!important;padding:58px 22px 16px!important;border-radius:18px!important;background:rgba(22,25,29,.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1a8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h4l2-2h6l2 2h4v12H3z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E") center 16px/30px no-repeat!important;border:1px solid rgba(255,255,255,.12)!important;white-space:normal!important;max-width:min(86%,420px)!important;cursor:pointer;line-height:1.4}
.stage.noCam .tag{color:#d4dadf!important}
/* v20.0.7: in-app notices not yet approved by the solicitor stay hidden (camera quality, voice quality, swing-speed, light/clothing) */#speedNote,#camNote,#voiceNote,#envNote{display:none!important}
/* v20.0.7: speed tile never clips "≈104 mph" on desktop; result-card 3-column grid fits inside the card */@media (min-width:901px){#chipWrap .st:has(#hSpeed){min-width:max-content!important;flex-shrink:0!important}}#resCard .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#resCard .grid>div{padding:12px 14px!important}#resCard .grid .num{overflow:visible!important;text-overflow:clip!important}#resCard .card{width:min(360px,calc(100vw - 32px))!important}
/* v20.1.0: tiles size from their content on desktop, so the longer "≈N mph est." never squeezes swing time */@media (min-width:901px){.stcol>.hud #chipWrap .st{flex:1 1 auto!important}}
/* v20.0.7 mobile: Stop listening sits in the top bar next to the mic, not over the stats */@media(max-width:900px){#stopListen{position:static;left:auto;transform:none;bottom:auto;font-size:0;padding:0 12px;min-width:38px;min-height:38px;height:38px;box-shadow:none;white-space:nowrap;flex:0 0 auto}#stopListen::before{content:"■ Stop";font-size:13px}#micBtn{flex-shrink:0}.top:has(#stopListen:not([hidden])) .logo{flex:0 1 auto;min-width:0;overflow:hidden}.top:has(#stopListen:not([hidden])) .logo img{width:100%!important;height:auto!important;max-height:100%;object-fit:contain;object-position:left center}}@media(max-width:380px){#stopListen{padding:0}#stopListen::before{content:"■";font-size:15px}}
/* v20.1.0 add to home screen prompt: floats over the stage with no backdrop, so the camera, record button and voice keep working */
#a2hs{position:fixed;z-index:85;left:50%;top:calc(env(safe-area-inset-top) + 56px);transform:translateX(-50%);width:min(420px,calc(100vw - 20px));max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:14px 15px 12px;border-radius:26px;background:linear-gradient(180deg,rgba(28,33,30,.96),rgba(16,19,22,.96));backdrop-filter:blur(22px) saturate(1.2);-webkit-backdrop-filter:blur(22px) saturate(1.2);border:1px solid rgba(57,255,106,.38);box-shadow:0 0 0 1px rgba(57,255,106,.08),0 0 40px -6px rgba(57,255,106,.35),0 30px 70px -20px #000,inset 0 1px 0 rgba(255,255,255,.06);color:#f2f4f5;font:400 14px Inter,system-ui,sans-serif;animation:a2hsUp .42s cubic-bezier(.2,.9,.25,1.15)}
#a2hs::before{content:"";position:absolute;top:-80px;left:50%;width:320px;height:170px;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(57,255,106,.2),transparent);pointer-events:none}
#a2hsShade{position:fixed;inset:0 0 auto 0;height:75vh;z-index:84;pointer-events:none;background:linear-gradient(0deg,transparent,rgba(5,7,9,.62) 40%,rgba(5,7,9,.8));animation:a2hsFade .4s ease-out}
#a2hs .hd{position:relative;display:flex;gap:12px;align-items:center;margin-bottom:6px}#a2hs .hd img{flex:none;width:46px;height:46px;border-radius:12px;box-shadow:0 0 0 1px var(--line),0 8px 18px -6px #000,0 0 18px -4px rgba(57,255,106,.5)}
#a2hs h2{margin:0;font:800 18.5px/1.2 Inter,system-ui,sans-serif;color:#f2f4f5;letter-spacing:-.01em}
#a2hs p{position:relative;margin:0;color:#aab2b9;font-size:13.5px;line-height:1.45}
#a2hs .ben{position:relative;list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
#a2hs .ben li{display:flex;gap:11px;align-items:flex-start;line-height:1.35}#a2hs .ben b{display:block;font-weight:650;color:#f2f4f5;font-size:13.5px}#a2hs .ben span{color:#9aa1a8;font-size:12.5px}
#a2hs .ben .bi{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:rgba(57,255,106,.12);margin-top:1px}#a2hs .ben .bi svg{width:17px;height:17px;fill:none;stroke:var(--neon);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#a2hs ol{position:relative;list-style:none;margin:11px 0 0;padding:0;display:grid;gap:6px}
#a2hs ol li{display:flex;align-items:center;gap:12px;padding:7px 10px;border-radius:14px;background:rgba(10,12,14,.85);border:1px solid var(--line);line-height:1.3}
#a2hs li .n{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--neon);color:#05210d;font:800 12px Inter,system-ui,sans-serif}
#a2hs li small{display:block;color:var(--t3);font-size:11.5px;margin-top:2px}
#a2hs li .ic{flex:none;margin-left:auto;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#ffffff0d}
#a2hs li .ic svg{width:20px;height:20px;fill:none;stroke:#0a84ff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#a2hs .act{position:relative;display:flex;gap:10px;margin-top:11px}
#a2hs .act button{flex:1;min-height:44px;padding:11px;border-radius:14px;font:650 14.5px Inter,system-ui,sans-serif;border:1px solid var(--line);background:none;color:#f2f4f5;cursor:pointer}
#a2hs .act .p{flex:1.4;background:var(--neon);color:#05210d;border:0;box-shadow:0 8px 22px -8px rgba(57,255,106,.7)}
#a2hs .pt{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:8px;color:var(--neon);font:600 12px Inter,system-ui,sans-serif;letter-spacing:.02em}
#a2hs .pt svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;animation:a2hsNudge 1.3s ease-in-out infinite}
#a2hs.tab{left:auto;transform:none;top:calc(env(safe-area-inset-top) + 12px);right:calc(env(safe-area-inset-right) + 12px)}#a2hs.tab .pt{order:-1;margin:0 0 8px}#a2hs.tab .pt svg{transform:rotate(180deg)}#a2hs.tab{display:flex;flex-direction:column}
#a2hsShade.tab{height:100vh;background:radial-gradient(120% 90% at 100% 0,rgba(5,7,9,.7),transparent 70%)}
#vNudge,#vHint{position:fixed;z-index:83;font:400 13px Inter,system-ui,sans-serif;color:#f2f4f5}
#vNudge{width:min(340px,calc(100vw - 20px));box-sizing:border-box;padding:14px 14px 12px;border-radius:20px;background:linear-gradient(180deg,rgba(28,33,30,.97),rgba(16,19,22,.97));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(57,255,106,.34);box-shadow:0 0 30px -8px rgba(57,255,106,.35),0 24px 50px -20px #000;animation:a2hsFade .3s ease-out}
#vNudge::after,#vHint::after{content:"";position:absolute;left:calc(var(--ax,50%) - 7px);top:-7px;width:12px;height:12px;background:inherit;border-left:1px solid rgba(57,255,106,.34);border-top:1px solid rgba(57,255,106,.34);transform:rotate(45deg);border-radius:3px 0 0 0}
#vNudge.up::after,#vHint.up::after{top:auto;bottom:-7px;transform:rotate(225deg)}
#vNudge .hd{display:flex;gap:10px;align-items:center;padding-right:24px}#vNudge .mi{flex:none;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(57,255,106,.14)}#vNudge .mi svg{width:18px;height:18px;stroke:var(--neon)}
#vNudge h2{margin:0;font:800 16px/1.2 Inter,system-ui,sans-serif}#vNudge p{margin:2px 0 0;color:#aab2b9;font-size:12.5px;line-height:1.4}
#vNudge ul{list-style:none;margin:11px 0 0;padding:0;display:grid;gap:5px}#vNudge li{display:flex;align-items:baseline;gap:8px;font-size:12.5px;color:#9aa1a8}
#vNudge li q{flex:none;min-width:92px;quotes:"\201C" "\201D";color:var(--neon);font-weight:700;font-size:13px}
#vNudge .act{display:flex;gap:8px;margin-top:12px}#vNudge .act button{flex:1;min-height:40px;border-radius:12px;font:650 13.5px Inter,system-ui,sans-serif;border:1px solid var(--line);background:none;color:#f2f4f5;cursor:pointer}#vNudge .act .p{flex:1.3;background:var(--neon);color:#05210d;border:0}
#vNudge .all{display:block;margin:9px auto 0;background:none;border:0;color:var(--t3);font:500 11.5px Inter,system-ui,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
#vNudge .x,#vHint .x{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:50%;border:0;background:#ffffff0d;color:#c7cdd2;font-size:13px;cursor:pointer;display:grid;place-items:center}
#vHint{display:flex;align-items:center;gap:2px;padding:3px 3px 3px 10px;border-radius:999px;background:rgba(20,24,22,.94);border:1px solid rgba(57,255,106,.34);box-shadow:0 10px 24px -12px #000;white-space:nowrap}
#vHint[hidden],#vNudge[hidden]{display:none}#vHint .t{background:none;border:0;color:#e6ebef;font:600 12px Inter,system-ui,sans-serif;cursor:pointer;padding:4px 2px}#vHint .t b{color:var(--neon);font-weight:700}#vHint .x{position:static;width:24px;height:24px;font-size:11px}
#vHint::after{width:9px;height:9px;top:-5px;left:calc(var(--ax,50%) - 5px)}#vHint.up::after{bottom:-5px}
#voiceCmds summary{cursor:pointer;color:#c7d1d9;font-size:13px}#voiceCmds h4{margin:12px 0 4px;font:700 11px Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--t3)}#voiceCmds ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}#voiceCmds li{display:flex;gap:10px;font-size:12.5px;color:#9aa1a8;line-height:1.35}#voiceCmds li q{flex:none;width:44%;quotes:"\201C" "\201D";color:#e6ebef;font-weight:600}#voiceCmds p{margin:10px 0 0;font-size:11.5px;color:var(--t3);line-height:1.4}
@keyframes a2hsUp{from{opacity:0;translate:0 -18px}to{opacity:1;translate:0 0}}@keyframes a2hsFade{from{opacity:0}to{opacity:1}}
@keyframes a2hsNudge{0%,100%{translate:0 0}50%{translate:0 4px}}
@media (prefers-reduced-motion:reduce){#a2hs,#a2hsShade,#a2hs .pt svg{animation:none}}
@media (orientation:landscape) and (max-height:560px){#a2hs{bottom:auto;top:calc(env(safe-area-inset-top) + 8px);left:auto;right:calc(env(safe-area-inset-right) + 8px);transform:none;width:min(360px,calc(100vw - 24px));padding:12px 14px;max-height:calc(100vh - 16px)}#a2hs .ben{display:none}#a2hs ol{margin-top:10px;gap:6px}#a2hs ol li{padding:7px 10px}#a2hs .act{margin-top:10px}#a2hsShade{display:none}}
/* v20.1.0 branded dropdown list matches the app's cards: Inter 14px, quiet border, single-line rows, neon only for the selected dot */
.dsL{background:#101215;border:1px solid var(--line);border-radius:16px;padding:6px;box-shadow:0 24px 48px -16px #000,inset 0 1px 0 rgba(255,255,255,.05);font:500 14px/1.3 Inter,system-ui,sans-serif;color:#f2f4f5;max-width:calc(100vw - 16px);box-sizing:border-box}
.dsL li{gap:10px;padding:9px 12px 9px 10px;border-radius:10px;color:#c9ced3;min-height:20px;font-weight:500}
.dsL li .t{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dsL li:before{content:"";width:6px;height:6px;margin:0 3px;border-radius:50%;flex:none;background:transparent}
.dsL li[aria-selected=true]{color:#f2f4f5;font-weight:600;background:rgba(57,255,106,.08)}
.dsL li[aria-selected=true]:before{content:"";background:var(--neon);box-shadow:0 0 8px rgba(57,255,106,.55)}
.dsL li.act,.dsL li:hover{background:rgba(255,255,255,.06);color:#f2f4f5}
.dsL li[aria-selected=true].act,.dsL li[aria-selected=true]:hover{background:rgba(57,255,106,.12)}
.dsL li[aria-disabled=true]{color:var(--t3);background:none}
.dsSel .dsB:focus-visible{outline:2px solid var(--neon);outline-offset:2px;border-radius:8px}
@media(max-width:600px){.dsL{max-width:none;font-size:16px;padding:8px 8px calc(12px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;border-bottom:0}.dsL li{font-size:16px;min-height:26px;padding:12px 14px 12px 12px}}
/* v20.1.0 Exit screen: quiet secondary links under Start again */
#allClosed .acLinks{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 24px;margin-top:16px}
#allClosed .acLinks a{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;border-radius:8px;color:#9aa1a8;font:500 14px Inter,system-ui,sans-serif;text-decoration:none;transition:color .15s}
#allClosed .acLinks a svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.7}
#allClosed .acLinks a:hover{color:var(--neon);text-decoration:underline;text-underline-offset:4px}
#allClosed .acLinks a:focus-visible{outline:2px solid var(--neon);outline-offset:2px;color:#f2f4f5}
/* v20.1.1 first-load warm-up card: only while the coach is still loading, never on fast loads */
#warmup{position:absolute;inset:0;z-index:4;display:grid;place-items:center;padding:16px;pointer-events:none}
#warmup[hidden]{display:none}
#warmup .wuCard{width:min(320px,100%);box-sizing:border-box;padding:16px 18px 18px;border-radius:16px;background:rgba(10,13,16,.78);border:1px solid var(--line);box-shadow:0 18px 40px -12px #000c;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);animation:wuIn .18s ease-out both}
#warmup .wuT{margin:0 0 12px;font:500 14px/1.45 Inter,system-ui,sans-serif;color:#e6e9ec;text-align:center;letter-spacing:0}
#warmup .wuT span{display:block;color:var(--dim);font-size:13px}
#warmup .wuBar{position:relative;height:4px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}
#warmup .wuBar i{position:absolute;left:0;top:0;bottom:0;width:0;overflow:hidden;border-radius:inherit;background:var(--neon);box-shadow:0 0 10px rgba(57,255,106,.55);transition:width .25s ease-out}
#warmup .wuBar.ind i{width:32%;transition:none;animation:wuSlide 1.3s cubic-bezier(.45,0,.55,1) infinite}
#warmup .wuBar.busy i:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);animation:wuSheen 1.4s linear infinite}
@keyframes wuIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes wuSlide{from{transform:translateX(-100%)}to{transform:translateX(312%)}}
@keyframes wuSheen{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@keyframes wuPulse{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){#warmup .wuCard{animation:none}#warmup .wuBar.ind i{width:100%;opacity:.6;animation:wuPulse 1.6s ease-in-out infinite}#warmup .wuBar.busy i:after{animation:none;opacity:0}}
/* v21.0.0 beta access, account, plan and paywall (only shown when DS_FLAGS turn them on) */
#acctFld[hidden],#acct[hidden],#acctBanner[hidden]{display:none!important}
#acct{position:fixed;inset:0;z-index:160;background:#000c;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:28px 16px;-webkit-overflow-scrolling:touch;animation:dsF .15s}
#acct .acBx{position:relative;width:min(560px,100%);background:#0d1418;border:1px solid #39ff6a55;border-radius:20px;box-shadow:0 30px 80px #000c;padding:22px 22px 18px;color:#e6edf3;font:15px/1.45 system-ui,sans-serif;margin:auto 0;box-sizing:border-box;animation:dsU .18s ease-out}
#acct h2{font-size:21px;line-height:1.25;margin:0 44px 8px 0;color:#fff}
#acct h3{font-size:11.5px;letter-spacing:1.4px;text-transform:uppercase;color:#8b96a0;margin:0 0 8px;font-weight:700}
#acct p{margin:0 0 10px;color:#c7d1d9}#acct p b{color:#fff}
#acct .acX{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:12px;border:1px solid #ffffff22;background:transparent;color:#e6edf3;font-size:24px;line-height:1;cursor:pointer}
#acct .acX:focus-visible,#acct .b:focus-visible,#acct .lnk:focus-visible{outline:2px solid #39ff6a;outline-offset:2px}
#acct .card{background:#ffffff08;border:1px solid #ffffff14;border-radius:16px;padding:14px 16px;margin:12px 0}
#acct .stat{font-size:19px;font-weight:700;color:#fff;margin:0 0 4px}#acct .stat.ok{color:#39ff6a}#acct .stat.warn{color:#f0b429}#acct .stat.bad{color:#ff7b7b}
#acct .row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
#acct .b{font:600 15px system-ui,sans-serif;border-radius:12px;padding:11px 18px;min-height:44px;cursor:pointer;border:1px solid #ffffff30;background:transparent;color:#e6edf3}
#acct .b.pri{background:#39ff6a;color:#04110a;border-color:#39ff6a}#acct .b.dng{border-color:#ff7b7b88;color:#ff9a9a}#acct .b:disabled{opacity:.55;cursor:default}
#acct label{display:block;font-size:13px;color:#c7d1d9;margin-top:4px}
#acct input{width:100%;box-sizing:border-box;background:#111820;color:#fff;border:1px solid #ffffff2a;border-radius:12px;padding:12px 14px;font-size:16px;outline:none;margin:6px 0 0}
#acct input:focus{border-color:#39ff6a;box-shadow:0 0 0 3px #39ff6a33}
#acct label small.opt{color:#8b96a0;font-size:12px}
#acct #acFn{margin-bottom:6px}
#acct .chk{display:flex;gap:12px;align-items:flex-start;margin:14px 0 2px;font-size:14px;line-height:1.4;color:#c7d1d9;cursor:pointer}
#acct .chk input{width:22px;height:22px;flex:0 0 22px;margin:0;padding:0;accent-color:#39ff6a;box-shadow:none;cursor:pointer}
#acct input.code{font:700 26px/1.2 Menlo,Consolas,monospace;letter-spacing:8px;text-align:center;max-width:260px}
#acct .msg{min-height:20px;font-size:13.5px;color:#f0b429;margin:8px 0 0}#acct .msg.ok{color:#39ff6a}#acct .msg:empty{min-height:0;margin:0}
#acct .fine{color:#8b96a0;font-size:12.5px;margin:8px 0 0}
#acct .tot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#acct .tot div{background:#05080b;border:1px solid #ffffff12;border-radius:12px;padding:10px 12px;min-width:0}
#acct .tot b{display:block;font-size:22px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#acct .tot span{display:block;font-size:12px;color:#8b96a0;line-height:1.3}
#acct a{color:#39ff6a}#acct .lnk{background:none;border:0;color:#39ff6a;padding:8px 0;margin-right:16px;font:inherit;font-size:14px;cursor:pointer;text-decoration:underline;min-height:40px}
#acct .who{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}#acct .who b{word-break:break-all}
#acct .busy{opacity:.6;pointer-events:none}
@media(max-width:600px){#acct{padding:0;align-items:stretch}#acct .acBx{border-radius:0;min-height:100%;border:0;padding:16px 16px calc(28px + env(safe-area-inset-bottom));margin:0}#acct .row .b{flex:1 1 auto}#acct .tot{gap:8px}#acct .tot div{padding:9px 10px}#acct .tot b{font-size:18px}#acct h2{font-size:20px}}
#acctBanner{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:45;background:#2a1d05f5;border:1px solid #f0b429;color:#ffe2a8;border-radius:14px;padding:8px 8px 8px 14px;font:14px/1.35 system-ui,sans-serif;display:flex;gap:12px;align-items:center;width:max-content;max-width:calc(100% - 20px);box-sizing:border-box;box-shadow:0 10px 30px #0009}
#acctBanner button{background:#f0b429;color:#1a1200;border:0;border-radius:10px;padding:9px 12px;font-weight:700;cursor:pointer;white-space:nowrap;min-height:40px}
/* v21.0.0 Share score card (Addendum 8) and the iPhone Home Screen tip's two visual steps */
#resCard #rcShareMsg{position:relative;margin:12px 0 0;color:#aab2b9;font-size:12.5px;line-height:1.45;text-align:center}
#resCard #rcShareMsg:empty{display:none}
#fsTip .fsSteps{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
#fsTip .fsSteps li{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:12px;background:#0b1117;border:1px solid rgba(57,255,106,.28);font-size:13px;font-weight:600;line-height:1.25}
#fsTip .fsIc{flex:none;width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:rgba(57,255,106,.12)}
#fsTip .fsIc svg{width:19px;height:19px;fill:none;stroke:var(--neon);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#fsTip .fsSafe{margin:9px 0 0;color:#aab2b9;font-size:12.5px;line-height:1.4}
/* with the steps it is too tall for the bottom of a phone: it drops down under the top bar, clear of the record button */
@media (max-width:600px),(orientation:landscape) and (max-height:560px){#fsTip{top:calc(env(safe-area-inset-top) + 56px);bottom:auto}}
/* v22.0.0 two cameras (desktop): Face-on / Down-the-line / Split */
#cv2{display:none;width:100%;height:100%;object-fit:contain}
.stage.c2dtl:not(.replaying) #cv{display:none!important}
.stage.c2dtl:not(.replaying) #cv2{display:block}
.stage.c2split:not(.replaying){flex-direction:row;align-items:stretch;justify-content:stretch;gap:2px}
.stage.c2split:not(.replaying) #cv,.stage.c2split:not(.replaying) #cv2{display:block;flex:1 1 0;min-width:0;width:50%;height:100%;object-fit:contain}
.stage.replaying #cv2,.stage.replaying #c2Tags{display:none!important}
#c2Tags{position:absolute;left:0;right:0;bottom:16px;z-index:2;display:flex;pointer-events:none}
#c2Tags span{flex:1 1 0;text-align:center;font:700 12px/1 system-ui,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#e6edf3;text-shadow:0 1px 4px #000}
#c2Warn[hidden],#c2Tags[hidden],#camSplit[hidden],#camDtlFld[hidden]{display:none!important}
#c2Warn{color:#f0b429;border-color:#f0b42955}
#camSplit{display:flex;align-items:center;gap:2px;padding:3px;background:#ffffff0c;border:1px solid #ffffff16;border-radius:999px;min-height:44px;box-sizing:border-box;flex:none}
#camSplit button{background:transparent;border:0;color:#c7d1d9;border-radius:999px;padding:0 13px;height:36px;font:600 14px system-ui,sans-serif;cursor:pointer;white-space:nowrap}
#camSplit button:hover{background:#ffffff12;color:#fff}
#camSplit button[aria-checked="true"]{background:#39ff6a;color:#04110a}
#camSplit button:focus-visible{outline:2px solid #39ff6a;outline-offset:2px}
#camDtlFld .c2Note{display:block;font-size:12px;color:#8b96a0;margin-top:4px}
#camDtlFld .c2Note:empty{display:none}
/* the toggle takes over from the camera pill where both fit in the top bar */
@media(min-width:1101px){body.c2avail #camPill{display:none!important}}
@media(max-width:1100px){#camSplit{display:none!important}}
/* v22.0.0 account: age line on sign-in, Launch news switch */
#acct .acAge{font-size:13.5px;color:#e6edf3;margin:0 0 10px}
#acct .acTick{display:flex;gap:10px;align-items:flex-start;margin:12px 0 4px;font-size:14px;line-height:1.45;color:#e6edf3;cursor:pointer}#acct .acTick input{width:22px;height:22px;flex:0 0 22px;margin:1px 0 0;accent-color:#f0b429}
#acct .b[disabled]{opacity:.45;cursor:not-allowed}
#launchNote{position:fixed;left:50%;top:calc(10px + env(safe-area-inset-top));transform:translateX(-50%);z-index:46;max-width:min(560px,calc(100vw - 20px));background:#0d2236f5;border:1px solid #4aa3df;color:#dceefb;border-radius:14px;padding:9px 10px 9px 14px;font:13.5px/1.4 system-ui,sans-serif;display:flex;gap:10px;align-items:center}#launchNote a{color:#9fd3ff;font-weight:700}#launchNote button{background:none;border:0;color:#dceefb;font-size:20px;line-height:1;cursor:pointer;min-width:36px;min-height:36px}#launchNote[hidden]{display:none!important}
#acct .acSw{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;font-size:14px;line-height:1.4;color:#c7d1d9;cursor:pointer;position:relative}
#acct .acSw input{position:absolute;opacity:0;width:1px;height:1px;margin:0;padding:0;border:0}
#acct .acSw i{width:44px;height:26px;border-radius:99px;background:#ffffff25;position:relative;transition:background .2s;flex:none}
#acct .acSw i:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s}
#acct .acSw input:checked+i{background:#39ff6a}
#acct .acSw input:checked+i:after{transform:translateX(18px);background:#04110a}
#acct .acSw input:focus-visible+i{outline:2px solid #39ff6a;outline-offset:2px}
#acct .acSw input:disabled+i{opacity:.5}#acct .acSw:has(input:disabled){cursor:default}

/* v22.0.2 audit fixes */
/* status lines wrap instead of cutting off (the band above the video on a phone grows to fit) */
.stage #status,.stage .envWarn{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;height:auto!important;max-height:none!important;-webkit-line-clamp:none!important;border-radius:14px!important}
#status .nw{white-space:nowrap}
.stage .envWarn b,#v20stat .envWarn b,#v20stat #zoomTip b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
@media (orientation:portrait) and (max-width:600px){.stage{padding-top:var(--dsBand,42px)!important}.stage #status,.stage .envWarn{line-height:15px!important}}
/* nothing under 11px */
#ringLbl{font-size:11px!important;white-space:normal!important;line-height:1.05!important;text-align:center}
@media (orientation:portrait) and (max-width:600px){.stcol>.hud .ring{width:70px!important;height:70px!important}#ringLbl{max-width:58px;margin:2px auto 0!important;letter-spacing:.04em!important}}
.stcol>.hud #chipWrap .st small,#chipWrap .st small,#pbCard small,#strip .shot small,#hist small,#orientHint small,#resCard .lab,#resCard .grid .lab,body .side h3{font-size:11px!important}
.stcol>.hud #chipWrap .st i,#chipWrap .st i{font-size:11px!important}
@media (max-width:600px){.stcol>.hud #chipWrap .st small{letter-spacing:.03em!important}}
/* tap targets: at least 44 × 44 px (an invisible margin where the drawing stays small) */
#whoDlg .ht>.lb{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px}
#whoDlg .un{display:inline-flex;gap:4px;overflow:visible!important}
#whoDlg .un button{font-size:12px!important;min-width:48px;height:30px;padding:0 10px;border-radius:9px;position:relative}
#whoDlg .un button::after{content:"";position:absolute;left:0;right:0;top:-8px;bottom:-8px}
@media (min-width:901px){.strip:has(.emptyStrip) #stripBtn#stripBtn{position:relative!important;z-index:2}}
.strip:not(:has(.emptyStrip))>#stripBtn{top:10px!important}
#stripBtn::after{content:"";position:absolute;left:-4px;right:-4px;top:-10px;bottom:-10px}
@media (min-width:601px){#playerPill .ib{width:44px!important;height:44px!important;margin:-7px 0!important;padding:0!important}
 #playerPill{gap:0!important;padding-right:2px!important}#playerPill .vsep{margin:0 2px!important}}
@media (min-width:601px) and (max-width:1023px){.top #dataBtn .dbl,.top #exitBtn>span{display:none}.top #dataBtn,.top #exitBtn{min-width:44px;justify-content:center}.top .logo{max-height:60px!important;flex:none}}
@media (min-width:601px) and (max-width:760px){.top .logo{max-height:50px!important}}
#playerPill .dsSel .dsB{min-height:44px!important;margin:-12px 0!important}
#playerPill .chev{pointer-events:none}
#resCard .rx{width:44px!important;height:44px!important}
#vNudge .all{min-height:44px;padding:0 14px;margin:2px auto 0}
#vNudge .act button{min-height:44px}
#vNudge .x{width:44px!important;height:44px!important;top:2px!important;right:2px!important}
#vHint{min-height:44px;box-sizing:border-box;padding:0 4px 0 12px!important}
#vHint .t{min-height:42px}
#vHint .x{position:relative!important;top:auto!important;right:auto!important;width:36px!important;height:36px!important;flex:none}
#vHint .x::after{content:"";position:absolute;inset:-4px}
#orientHint .ohx{width:36px!important;height:36px!important;position:relative}
#orientHint .ohx::after{content:"";position:absolute;inset:-4px}
/* v23.3.6 (Brian, 22 Oct): the pill must hold its own 44 px tap area (::after below). On phones the rule
   ".stcol>.hud #dataPill:not([hidden]){position:static!important}" won, so the ::after grew to the whole screen and a tap
   on Replay (or Record) opened Swing data and scrolled to the stats. relative with no offsets doesn't move the pill. */
.hud #dataPill,.stcol>.hud #dataPill:not([hidden]){position:relative!important}
/* v23.3.6: also in phone landscape, where the pill sits on the picture (position:absolute, outside .hud) and had no tap area */
#dataPill::after{content:"";position:absolute;left:0;right:0;top:-7px;bottom:-7px}
#opts details>summary{min-height:44px;display:flex;align-items:center;box-sizing:border-box}
/* 12 */
#whoDlg .gdh{font-size:12px;color:#8b96a0;margin-top:2px}
#whoDlg .gdh[hidden]{display:none}
/* 13: an unscored result reads "No score" in grey, with no bar */
#resCard .hero .num.ns{font-family:Inter,system-ui,sans-serif;font-size:40px;font-weight:600;line-height:1.1;color:#8b949e;text-shadow:none}
#resCard .bar[hidden]{display:none}

/* v22.1.0 beta feedback */
/* entry points: an icon pill on a wide desktop, a row in the phone ☰ menu, and Settings › Beta feedback.
   At 601–1099 px the top bar is already full, so the Settings row is the way in there. */
#fbTop{display:none!important;position:relative}
#fbTop svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:1100px){#fbTop{display:inline-flex!important;align-items:center;justify-content:center;padding:9px!important}
 #fbTop svg{width:16px!important;height:16px!important}
 #fbTop::before{content:"";position:absolute;inset:-4px}}
@media (max-width:600px){
 .top.open #fbTop{display:flex!important;position:absolute!important;margin:0!important;z-index:30;order:9;top:492px!important;
  width:300px!important;height:56px!important;right:0!important;left:auto!important;border:1px solid var(--line)!important;border-top:0!important;
  padding:0 16px!important;justify-content:flex-start!important;align-items:center;gap:14px!important;font-size:15px!important;color:#f2f4f5!important;
  backdrop-filter:blur(18px)!important;background:rgba(18,21,24,.98)!important;border-radius:0 0 20px 20px!important;box-shadow:0 24px 50px -12px #000!important}
 .top.open #optBtn{border-radius:0!important;box-shadow:none!important}
 .top.open #fbTop svg{stroke:var(--neon)!important;width:18px!important;height:18px!important}
 .top.open #fbTop::after{content:"Send feedback"}}
@media (orientation:landscape) and (max-height:560px) and (pointer:coarse) and (max-width:800px){
 .top.open #fbTop{display:inline-flex!important;position:fixed!important;right:8px!important;top:154px!important;z-index:30;align-items:center;gap:8px;
  padding:9px 14px!important;background:rgba(16,18,21,.97)!important;box-shadow:0 18px 40px -10px #000!important}
 .top.open #fbTop{color:#e6edf3!important}.top.open #fbTop::after{content:"Send feedback";font-size:14px}}
#fbFld[hidden]{display:none!important}
#fbOpen{min-height:44px}

/* the form */
#fbDlg[hidden]{display:none!important}
#fbDlg{position:fixed;inset:0;z-index:165;background:#000c;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:28px 16px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
#fbDlg .fbBx{position:relative;width:min(560px,100%);background:#0d1418;border:1px solid #39ff6a55;border-radius:20px;box-shadow:0 30px 80px #000c;padding:22px 22px 18px;color:#e6edf3;font:15px/1.45 system-ui,sans-serif;margin:auto 0;box-sizing:border-box;outline:none}
#fbDlg h2{font-size:21px;line-height:1.25;margin:0 48px 8px 0;color:#fff;outline:none}
#fbDlg p{margin:0 0 10px;color:#c7d1d9}
#fbDlg p b{color:#fff}
#fbDlg .fbX{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:12px;border:1px solid #ffffff22;background:transparent;color:#e6edf3;font-size:24px;line-height:1;cursor:pointer}
#fbDlg .fbLead{font-size:14px}
#fbDlg .nw{white-space:nowrap}
#fbDlg label,#fbDlg legend{display:block;font-size:14px;font-weight:600;color:#e6edf3;margin:14px 0 0}
#fbDlg .fbOpt{font-weight:400;color:#8b96a0}
#fbDlg textarea,#fbDlg input[type=text],#fbDlg input[type=email]{width:100%;box-sizing:border-box;background:#111820;color:#fff;border:1px solid #ffffff2a;border-radius:12px;padding:12px 14px;font:16px/1.4 system-ui,sans-serif;outline:none;margin:6px 0 0}
#fbDlg textarea{resize:vertical;min-height:76px}
#fbDlg textarea:focus,#fbDlg input[type=text]:focus,#fbDlg input[type=email]:focus{border-color:#39ff6a;box-shadow:0 0 0 3px #39ff6a33}
#fbDlg ::placeholder{color:#6f7a84}
#fbDlg .fbHint{display:block;font-size:12.5px;color:#8b96a0;margin-top:4px}
#fbDlg .fbRate{border:0;padding:0;margin:0;min-width:0}
#fbDlg .fbRate legend{padding:0}
#fbDlg .fbRate legend span{font-weight:400;color:#8b96a0;font-size:12.5px;margin-left:6px}
#fbDlg .fbNs{display:flex;gap:8px;margin-top:8px}
#fbDlg .fbNs label{margin:0;flex:1 1 0;max-width:64px;position:relative;cursor:pointer}
#fbDlg .fbNs input{position:absolute;opacity:0;width:100%;height:100%;margin:0;inset:0;cursor:pointer}
#fbDlg .fbNs span{display:flex;align-items:center;justify-content:center;height:48px;border-radius:12px;border:1px solid #ffffff30;font:700 18px system-ui,sans-serif;color:#e6edf3;background:#111820}
#fbDlg .fbNs input:checked+span{background:#39ff6a;border-color:#39ff6a;color:#04110a}
#fbDlg .fbNs input:focus-visible+span{outline:2px solid #39ff6a;outline-offset:2px}
#fbDlg .fbVer{margin:14px 0 0;font-size:14px;color:#c7d1d9}
#fbDlg .fbChk{display:flex;gap:12px;align-items:center;min-height:44px;margin:12px 0 0;font-weight:600;cursor:pointer}
#fbDlg .fbChk input{width:22px;height:22px;flex:0 0 22px;margin:0;accent-color:#39ff6a;cursor:pointer}
#fbDlg .fbChk.off{color:#8b96a0;cursor:default}
#fbDlg .fbNums[hidden]{display:none}
#fbDlg .fbCredit[hidden]{display:none}
#fbDlg .fbCredit #fbCreditName{margin-top:8px}
#fbDlg .fbNums{background:#ffffff08;border:1px solid #ffffff14;border-radius:14px;padding:10px 14px;margin:6px 0 0;font-size:13.5px}
#fbDlg .fbNums p{margin:0 0 6px;font-size:13.5px}
#fbDlg .fbNums p.fbNo{margin:0;color:#8b96a0}
#fbDlg .fbNums ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:4px 16px}
#fbDlg .fbNums li{display:flex;justify-content:space-between;gap:10px;color:#c7d1d9}
#fbDlg .fbNums li b{color:#fff;font-weight:600;white-space:nowrap}
#fbDlg .fbHp{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}
#fbDlg .fbMsg{min-height:20px;font-size:14px;color:#f0b429;margin:12px 0 0}
#fbDlg .fbMsg:empty{min-height:0;margin:0}
#fbDlg .fbRow{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
#fbDlg .fbB{font:600 15px system-ui,sans-serif;border-radius:12px;padding:11px 18px;min-height:44px;cursor:pointer;border:1px solid #ffffff30;background:transparent;color:#e6edf3}
#fbDlg .fbB.pri{background:#39ff6a;color:#04110a;border-color:#39ff6a}
#fbDlg .fbB:disabled{opacity:.6;cursor:default}
#fbDlg .fbX:focus-visible,#fbDlg .fbB:focus-visible,#fbDlg a:focus-visible,#fbDlg .fbChk input:focus-visible{outline:2px solid #39ff6a;outline-offset:2px}
#fbDlg .busy textarea,#fbDlg .busy input{opacity:.7}
#fbDlg .fbFine{color:#8b96a0;font-size:12.5px;margin:14px 0 0}
#fbDlg a{color:#39ff6a;display:inline-block;padding:4px 0}
#fbDlg .fbDone[hidden],#fbDlg .fbF[hidden],#fbDlg .fbReply[hidden]{display:none}
@media (max-width:600px){#fbDlg{padding:0;display:block}
 #fbDlg .fbBx{border-radius:0;min-height:100%;border:0;padding:16px 16px calc(28px + env(safe-area-inset-bottom));margin:0}
 #fbDlg .fbNs label{max-width:none}
 #fbDlg .fbRow .fbB{flex:1 1 auto}}
body.fbOpen{overflow:hidden}

/* ===== v23 Learns your swing ===== */
#vsLine{margin:0 0 10px;padding:8px 12px;border-left:3px solid var(--neon,#39ff6a);border-radius:0 10px 10px 0;background:#39ff6a0d;color:#d7e4dc;font-size:13.5px;line-height:1.4;overflow-wrap:anywhere}
#vsLine[hidden],#rcVs[hidden]{display:none}
#tipsTop li.lInfo,#tips li.lInfo{color:#9fb3c8!important}
#rcVs{margin:8px 0 0;padding:8px 12px;border-radius:12px;background:#39ff6a0f;border:1px solid #39ff6a26;color:#d7e4dc;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.lTrend{margin-top:12px;border-top:1px solid #ffffff12;padding-top:4px}
.lTrend>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;color:#c7d1d9;list-style:none}
.lTrend>summary::-webkit-details-marker{display:none}
.lTrend>summary:before{content:"▸";margin-right:8px;color:#8b949e}
.lTrend[open]>summary:before{content:"▾"}
.lTrend label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#8b949e;margin-bottom:8px}
.lTrend select{min-height:44px;width:100%;max-width:420px;background:#ffffff10;border:1px solid #ffffff18;border-radius:12px;padding:8px 10px;color:#e6edf3;font-size:14px}
#lTrSvg{display:block;width:100%;max-width:100%;overflow:visible}
#lTrSvg[hidden]{display:none}
#lTrSvg .lg{fill:#39ff6a12}
#lTrSvg .lu{stroke:#c9d3db;stroke-width:1.5;stroke-dasharray:5 4}
#lTrSvg .lb{stroke:#39ff6a;stroke-width:2}
#lTrSvg .ld{fill:#8b949e}
#lTrSvg .ld.ll{fill:#39ff6a;stroke:#04110a;stroke-width:1.5}
#lTrSvg .ltk{stroke:#ffffff14}
#lTrSvg .lax{fill:#8b949e;font-size:11px}
.lTrTxt{margin:6px 0 0;font-size:12px;color:#9aa1a8;line-height:1.4}
.lTrKey{display:flex;flex-wrap:wrap;gap:4px 14px;margin:4px 0 0;font-size:11px;color:#9aa1a8}
.lTrKey i{display:inline-block;width:18px;height:0;vertical-align:middle;margin-right:5px;border-top:2px solid #39ff6a}
.lTrKey i.lu{border-top:2px dashed #c9d3db}
.lTrKey i.lg{height:8px;border:0;background:#39ff6a30}
#opts .lNote{font-size:11px;line-height:1.4;color:#9aa1a8;margin:-2px 0 2px}
#opts .tgl:has(#learnOn),#opts .tgl:has(#encOn),#opts .tgl:has(#srOwn),#opts .tgl:has(#recStop){height:auto;min-height:44px;padding:8px 12px;gap:12px}

/* ===== v23.1 Share with my coach ===== */
#resCard{place-items:normal;overflow-y:auto;overscroll-behavior:contain}
#resCard .card{margin:auto}
#resCard .btns{flex-wrap:wrap}
#resCard .btns #rcCoach{flex:1 0 100%;min-height:46px}
#resCard .btns #rcCoach.p{background:var(--neon);color:#05210d;border:0}
#resCard .csNote{margin:10px 0 0;color:#858c93;font-size:12px;line-height:1.45;text-align:center}
#resCard .csMsg{margin:8px 0 0;color:#aab2b9;font-size:12.5px;line-height:1.45;text-align:center;overflow-wrap:anywhere}
#resCard .csNote:empty,#resCard .csMsg:empty{display:none}
.csBtn[hidden]{display:none!important}
.csBtn[disabled]{opacity:.8;cursor:progress}
#rpCoach{display:none;position:absolute;right:10px;top:10px;z-index:6;min-height:44px;padding:0 16px;border-radius:99px;background:#05080bd9;border:1px solid #39ff6a66;color:#f2f4f5;font:600 13.5px Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer;backdrop-filter:blur(8px)}
.stage.replaying #rpCoach{display:inline-flex;align-items:center}
#rpCoach.p{background:var(--neon);color:#05210d;border-color:var(--neon)}
.csCv{position:fixed;left:-10000px;top:0;pointer-events:none}
#rpCoachNote{display:none;flex:none;margin:-2px 12px 8px;color:#8b96a0;font:500 11.5px/1.4 Inter,system-ui,sans-serif;text-align:center}
.stage.replaying #rpCoachNote:not([hidden]){display:block}
#resCard .csName{display:flex;justify-content:center;min-height:44px;margin:6px 0 0;font-size:13px;color:#c7d1d9}
#resCard .csName[hidden]{display:none}
#resCard .csName input:disabled{opacity:.5;cursor:progress}
#whoDlg label.jr{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:#c7d1d9}
#whoDlg .jr input{width:18px;height:18px;padding:0;border-radius:4px;border:1.5px solid #39ff6a88;flex:none}
#whoDlg .jr input:checked{background:#39ff6a;border-color:#39ff6a}
.csAsk p{white-space:normal}
.csAsk .csAgain{display:flex;min-height:44px;font-size:13px}
.csAsk .dsHide input{width:18px;height:18px;padding:0;border-radius:4px;box-shadow:none}
/* the one-row desktop bar needs ~725px; below 760 the player pill takes a second row */
@media (min-width:601px) and (max-width:759px){
 .top{flex-wrap:wrap!important;row-gap:4px!important}
 .top::after{content:"";order:49;flex:0 0 100%;height:0}
 .top #optBtn{margin-left:auto!important}
 .top #playerPill{order:50!important;margin-left:auto!important}}
/* while listening, the full "Stop listening" pill only fits from 1250px; narrower desktops get the phone's "■ Stop" */
@media (min-width:901px) and (max-width:1240px){
 #stopListen{font-size:0;padding:0 12px;min-width:38px;min-height:38px;height:38px;white-space:nowrap;flex:0 0 auto}
 #stopListen::before{content:"■ Stop";font-size:13px}
 .top:has(#stopListen:not([hidden])) .logo{flex:0 1 auto;min-width:0;overflow:hidden}
 .top:has(#stopListen:not([hidden])) .logo img{width:100%!important;height:auto!important;max-height:100%;object-fit:contain;object-position:left center}}
body:is(.showOpts,.fbOpen,.sheet) #a2hs,body:is(.showOpts,.fbOpen,.sheet) #a2hsShade,
body:has(.top.open,.dsDlg,#whoDlg) #a2hs,body:has(.top.open,.dsDlg,#whoDlg) #a2hsShade{display:none}

/* v23.1.3: one setup message (#envWarn) in place of the chips */
#bFrame,#bLight,#bBg,#bCam,#zoomTip{display:none!important}
#envWarn .all,#envWarn .more,#envWarn small{display:none!important}
#envWarn b::after{content:none!important}
#envWarn b,#v20stat #envWarn b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
#envWarn.ready,#v20stat #envWarn.ready{border-color:rgba(57,255,106,.45)!important;cursor:default}
#envWarn.ready b,#v20stat #envWarn.ready b{color:var(--neon,#39ff6a)!important}
/* v23.1.3: history card text wraps (or shrinks) inside the card at any width */
#strip .shot{min-width:164px;gap:10px}
#strip .shot>.mini{flex:none}
#strip .shot>div:last-child{flex:1 1 0;min-width:0;overflow-wrap:break-word;line-height:1.25}
#strip .shot>div:last-child>div{font-size:12px}
#strip .shot .nw{white-space:normal}
#hist>div{overflow-wrap:break-word}

/* v23.1.4: the pill colour-coded by setup quality (opaque, readable; the words and the mark carry the meaning too) */
#status.pillOk,#status.pillTip,#status.pillBad{box-shadow:none!important;font-weight:700!important}
#status.pillOk{background:#0f3d14!important;border-color:#39ff6a!important;color:#d4ffcc!important}
#status.pillTip{background:#3d2e05!important;border-color:#f0b429!important;color:#ffe2a3!important}
#status.pillBad{background:#4a0f0c!important;border-color:#ff6b5f!important;color:#ffd6d1!important}
#status.pillOk::before{content:"✓ "}#status.pillTip::before{content:"! "}#status.pillBad::before{content:"✕ "}
#envWarn.warn,#v20stat #envWarn.warn{border-color:rgba(240,180,41,.55)!important}
#envWarn.warn b,#v20stat #envWarn.warn b{color:#f5c451!important}
#envWarn.bad,#v20stat #envWarn.bad{border-color:rgba(255,107,95,.6)!important}
#envWarn.bad b,#v20stat #envWarn.bad b{color:#ff9a90!important}
/* v23.1.4: phone – the pill has the row above the picture, the message sits over the top of the picture */
@media (orientation:portrait) and (max-width:600px){
 #stage #status{max-width:calc(100% - 54px)!important}
 #stage #envWarn{top:calc(var(--dsBand,56px) + 6px)!important;left:10px!important;right:auto!important;width:max-content!important;max-width:calc(100% - 20px)!important}}
#stage #bCam,#v20stat #bCam,#v20stat #bCam.merged{display:none!important}

body.dsPill #envWarn,body.dsPill #v20stat #envWarn,body.dsPill .stage #envWarn{display:none!important}
#status.pillAct{pointer-events:auto!important;cursor:pointer}
#cdBox{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;text-align:center;max-width:calc(100% - 24px)}
#cdBox[hidden]{display:none!important}#cdBox em{font:700 16px/1.2 Inter,system-ui,sans-serif;font-style:normal;color:#f0b429;background:rgba(10,12,14,.78);padding:6px 14px;border-radius:999px}
#cdBox b{font:800 clamp(72px,16vw,150px)/1 'Barlow Condensed',Inter,system-ui,sans-serif;color:#fff;min-width:1.3em;padding:10px 22px;border-radius:26px;background:rgba(10,12,14,.62);border:3px solid #f0b429;text-shadow:0 2px 16px rgba(0,0,0,.55)}
#cdBox span{font:600 14px/1.35 Inter,system-ui,sans-serif;color:#fff;background:rgba(10,12,14,.78);padding:6px 12px;border-radius:999px}
#recBtn.cd i{background:#f0b429!important;animation:pulse 1s infinite}
#recBtn.wait i{background:#f0b429!important;animation:none}
/* v23.3.5 (Brian, 21 Oct): replay guide toggles on the picture (Show fixes, Best swing ghost, Hide my lines), same glass as the replay button */
#rpOv{position:absolute;right:8px;top:62px;z-index:6;display:flex;flex-direction:column;gap:6px;align-items:center;pointer-events:none}
#rpOv[hidden],#rpOv .ovI[hidden]{display:none!important}
#rpOv .ovI{display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:auto}
#rpOv .ovI>span{font:700 10px/1.1 Inter,system-ui,sans-serif;color:#e6edf3;text-shadow:0 1px 3px #000,0 0 6px #000;white-space:nowrap}
#rpOv .ovB{width:36px;height:36px;margin:0;position:relative}#rpOv .ovB{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}#rpOv .ovB::before{content:'';position:absolute;inset:-5px;border-radius:50%} /* fix round (Opus N3): 46 px tap area */
#rpOv .ovB svg.i{width:19px;height:19px}
#rpOv .ovB[aria-pressed="true"]{border-color:rgba(57,255,106,.7);background:rgba(57,255,106,.16)}#rpOv .ovB[aria-pressed="true"] svg.i{stroke:var(--neon)}
#rpOv .ovB.na{opacity:.32;cursor:default;box-shadow:none}#rpOv .ovB.na:active{transform:none}
@media (max-width:380px){#rpOv{right:6px;top:58px;gap:4px}#rpOv .ovB{width:32px;height:32px}#rpOv .ovB svg.i{width:17px;height:17px}#rpOv .ovI>span{font-size:9px}}
@media (max-height:500px) and (orientation:landscape){#rpOv{top:14px;left:var(--rpOvL,50%);right:auto;transform:var(--rpOvT,translateX(-50%));flex-direction:row;gap:8px}#rpOv .ovB{width:36px;height:36px}#rpOv .ovI>span{display:none}}
/* v23.3.4 (Brian, 21 Oct): replay button beside Record: small, glass, secondary; becomes "Back to live" while a replay is open */
.rpBtn{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:var(--glass,rgba(22,25,29,.55));color:#e6edf3;display:grid;place-items:center;padding:0;margin:0 2px 0 0;flex:none;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .12s ease,opacity .2s ease,background .2s ease,border-color .2s ease;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.rpBtn svg.i{width:20px;height:20px;stroke:#e6edf3;stroke-width:1.8}
.rpBtn:hover:not(:disabled){background:rgba(255,255,255,.08)}
.rpBtn:active:not(:disabled){transform:scale(.92)}
.rpBtn:focus-visible{outline:2px solid var(--neon);outline-offset:2px}
.rpBtn:disabled{opacity:.32;cursor:default;box-shadow:none}
.rpBtn.live{border-color:rgba(57,255,106,.5)}.rpBtn.live svg.i{stroke:var(--neon)}.rpBtn .lvDot{fill:var(--neon);stroke:none}
@media (min-width:601px){.recw #rpBtn{order:1}}
/* v23.3.4: '#resCard .btns button{display:flex}' beat the hidden attribute, so a hidden Swing of the Month button still showed */
#resCard .btns #rcSotm[hidden]{display:none!important}
@media (max-width:380px){.rpBtn{width:32px;height:32px;margin:0}.rpBtn svg.i{width:17px;height:17px}.stcol>.hud .recw{gap:6px!important}}
@media (max-width:350px){.rpBtn{width:28px;height:28px}.rpBtn svg.i{width:16px;height:16px}.stcol>.hud .recw{gap:4px!important}.stcol>.hud{column-gap:2px!important}}
/* v23.3.4 desktop fit: when the stats, replay, Record and Mic don't fit the controls panel (1280-1440 px desktops), tighten in steps (added by fitHud() only when the row overflows, and only at 901 px and wider, so phones and phone landscape never change) */
.stcol>.hud.dsFit1{column-gap:12px!important}.stcol>.hud.dsFit1 #chipWrap{padding-left:12px!important}.stcol>.hud.dsFit1 #chipWrap .st{padding-left:6px!important;padding-right:6px!important}.stcol>.hud.dsFit1 .recw{gap:8px!important}.stcol>.hud.dsFit1 .rpBtn{margin:0}.stcol>.hud.dsFit1 #micBtn{margin-left:0!important}
.stcol>.hud.dsFit2 #micBtn{padding:4px!important;gap:0!important}.stcol>.hud.dsFit2 #micBtn .dot{display:none}.stcol>.hud.dsFit2 #micTxt{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.stcol>.hud.dsFit3 .ring{width:72px!important;height:72px!important}.stcol>.hud.dsFit3 .ring b{font-size:28px!important}.stcol>.hud.dsFit3 #chipWrap .st b{font-size:18px!important}.stcol>.hud.dsFit3 #chipWrap .st{padding-left:4px!important;padding-right:4px!important}
/* v23.3.0 Swing of the Month (v23.3.1 review fixes) */
.sotmDlg .bx{max-height:calc(100vh - 32px);overflow:auto}.sotmKick{margin:0 0 4px!important;font:700 12px system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#39ff6a!important}
.sotmBig{display:flex;align-items:center;gap:12px;font:600 28px "Barlow Condensed",system-ui,sans-serif!important;color:#fff}.sotmScore{display:inline-grid;place-items:center;min-width:58px;height:58px;border-radius:50%;background:#39ff6a;color:#04110a;font:700 28px "Barlow Condensed",system-ui,sans-serif}
.sotmPrize{display:block;width:100%;height:auto;max-height:200px;object-fit:contain;border-radius:12px;background:#111820;margin:6px 0 12px}
.sotmFacts{font-size:13px}.sotmDlg a{color:#39ff6a}.sotmTk{display:flex;gap:10px;align-items:flex-start;margin:10px 0;font-size:14px;line-height:1.4;color:#c7d1d9}.sotmTk input{width:22px!important;height:22px;flex:none;margin:1px 0 0;accent-color:#39ff6a}
.sotmTk.req{border:1px solid #39ff6a55;border-radius:12px;padding:10px}.sotmBlk{font-size:13px;max-height:34vh;overflow:auto;border:1px solid #ffffff1a;border-radius:12px;padding:10px 12px;margin-bottom:10px}.sotmBlk p{margin:0 0 8px!important;font-size:13px}
.sotmSmall{font-size:12px!important;color:#8b96a0!important}.sotmClip{font-size:13px!important;color:#f0b429!important}.sotmMsg{min-height:1em;color:#ff8a80!important;font-size:14px}.sotmMsg.ok{color:#39ff6a!important}
.sotmNameF{display:grid;gap:8px;margin:0 0 8px 32px}.sotmClaim{border:1px solid #39ff6a55;border-radius:12px;padding:10px 12px;margin-bottom:12px;display:grid;gap:8px}.sotmClaim h3{margin:0;font-size:16px}
#sotmBans{position:fixed;left:10px;right:10px;top:calc(env(safe-area-inset-top) + 58px);z-index:150;display:grid;gap:8px;pointer-events:none;max-width:560px;margin:0 auto}
/* v23.3.4: the Swing of the Month banners wait while the result card is open, so they never cover its logo or close button */
body:has(#resCard:not([hidden])) #sotmBans{visibility:hidden}
.sotmBan{pointer-events:auto;display:flex;gap:10px;align-items:flex-start;background:#0d1418f2;border:1px solid #39ff6a66;border-radius:14px;padding:10px 12px;font:14px/1.4 system-ui,sans-serif;color:#e6edf3;box-shadow:0 10px 30px #0008}
.sotmBan .tx{flex:1}.sotmBan a,.sotmBan .lnk{color:#39ff6a;background:none;border:0;padding:0;font:inherit;text-decoration:underline;cursor:pointer}.sotmBan .x{background:none;border:0;color:#8b96a0;font-size:16px;min-width:32px;min-height:32px;cursor:pointer}
#resCard .sotmRc{border-color:#39ff6a!important;color:#39ff6a!important}

/* ===== v23.6.0 redesign stage 2: session flow (status band, club buttons, recording prompt, mic mute, last-swing card, Start session, fault marker). New look comes in stage 3; this only places what the new behaviours need. ===== */
#sBand{position:absolute;left:0;right:0;top:0;height:6px;z-index:6;background:#56606a;pointer-events:none;transition:background-color .2s}
#sBand[data-s="listening"]{background:#39ff6a}#sBand[data-s="paused"]{background:#f0b429}#sBand[data-s="rec"]{background:#e53935}
#sBandTxt{position:absolute;right:10px;top:calc(var(--dsBand,42px) + 8px);display:inline-flex;align-items:center;gap:6px;font:700 12px/1 'Barlow Condensed',Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;padding:6px 10px;border-radius:999px;background:rgba(5,8,11,.72);border:1.5px solid #56606a;color:#c3c9cf}
#sBandTxt::before{content:"";width:8px;height:8px;border-radius:50%;background:#56606a;flex:none}
#sBand[data-s="listening"] #sBandTxt{border-color:#39ff6a;color:#f2f4f5}#sBand[data-s="listening"] #sBandTxt::before{background:#39ff6a}
#sBand[data-s="paused"] #sBandTxt{border-color:#f0b429;color:#f2f4f5}#sBand[data-s="paused"] #sBandTxt::before{background:#f0b429}
#sBand[data-s="rec"] #sBandTxt{border-color:#e53935;background:#e53935;color:#fff;font-size:14px;text-transform:none}#sBand[data-s="rec"] #sBandTxt::before{background:#fff}
.stage.recOn{box-shadow:inset 0 0 0 3px #e53935!important}
.stage.recOn::after{content:"";position:absolute;inset:0;border:3px solid #e53935;border-radius:inherit;pointer-events:none;z-index:5}
.stage.replaying #sBandTxt,.stage.noCam #sBandTxt{display:none}
#clubBar{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);z-index:4;display:flex;gap:2px;padding:3px;border-radius:999px;background:rgba(5,8,11,.72);border:1px solid rgba(255,255,255,.18)}
#clubBar button{all:unset;box-sizing:border-box;cursor:pointer;min-width:68px;height:44px;padding:0 12px;border-radius:999px;text-align:center;font:700 16px/44px 'Barlow Condensed',Inter,system-ui,sans-serif;color:#f2f4f5;-webkit-tap-highlight-color:transparent}
#clubBar button[aria-pressed="true"]{background:#39ff6a;color:#05210d}
#clubBar button:focus-visible{outline:2px solid #fff;outline-offset:1px}
.stage.replaying #clubBar,.stage.recOn #clubBar,.stage.noCam #clubBar{display:none}
#micMute{position:absolute;right:10px;top:calc(var(--dsBand,42px) + 6px);z-index:6;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;background:rgba(5,8,11,.72);border:1.5px solid #39ff6a;color:#39ff6a;-webkit-tap-highlight-color:transparent}
#micMute[hidden]{display:none}.stage.micCtl #sBandTxt{right:62px}#micMute svg{width:20px;height:20px}#micMute .mmX{display:none}
#micMute[aria-pressed="true"]{border-color:#f0b429;color:#f0b429}#micMute[aria-pressed="true"] .mmX{display:inline}
#micMute:focus-visible{outline:2px solid #fff;outline-offset:2px}.stage.replaying #micMute,.stage.noCam #micMute{display:none}
#frameTag{position:absolute;left:50%;bottom:66px;transform:translateX(-50%);z-index:3;pointer-events:none;white-space:nowrap;padding:5px 12px;border-radius:999px;background:rgba(5,8,11,.62);color:#F2C14E;font:700 12px/1.2 Inter,system-ui,sans-serif}
#frameTag.ok{color:#39ff6a}#frameTag[hidden],.stage.replaying #frameTag,.stage.noCam #frameTag{display:none}
#recOv{position:absolute;left:12px;right:12px;bottom:14px;z-index:5;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;pointer-events:none}
#recOv[hidden]{display:none}#recOv p{margin:0;background:rgba(5,8,11,.72);border-radius:999px;padding:6px 14px;color:#fff}
#recOv .roT{font:700 22px/1.15 'Barlow Condensed',Inter,system-ui,sans-serif;letter-spacing:.02em}#recOv .roS{font:600 13px/1.3 Inter,system-ui,sans-serif;color:#e6edf3}
#lastCard{position:absolute;left:10px;bottom:64px;min-height:44px;box-sizing:border-box;z-index:4;display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:6px 12px 7px;min-width:64px;border-radius:14px;cursor:pointer;text-align:left;background:rgba(5,8,11,.72);border:1px solid rgba(255,255,255,.18);color:#c3c9cf;-webkit-tap-highlight-color:transparent}
#lastCard[hidden],.stage.replaying #lastCard,.stage.noCam #lastCard{display:none}
#lastCard small{font:600 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#9aa1a8}
#lastCard b{font:700 30px/1 'Barlow Condensed',Inter,system-ui,sans-serif}#lastCard span{font:600 11px/1.2 Inter,system-ui,sans-serif;color:#c3c9cf}
#lastCard:focus-visible{outline:2px solid #fff;outline-offset:2px}
#startSess{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;width:min(320px,calc(100% - 32px));box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:16px;border-radius:20px;text-align:center;background:rgba(14,16,19,.86);border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 50px -20px #000}
#startSess[hidden],.stage.replaying #startSess{display:none}
#ssGo{all:unset;box-sizing:border-box;cursor:pointer;min-height:56px;border-radius:999px;background:#39ff6a;color:#05210d;font:700 22px/56px 'Barlow Condensed',Inter,system-ui,sans-serif;letter-spacing:.02em;text-align:center}
#ssGo:focus-visible,#ssNo:focus-visible{outline:2px solid #fff;outline-offset:2px}
#ssTxt{margin:0;font:500 13px/1.4 Inter,system-ui,sans-serif;color:#d4dadf}
#ssNo{all:unset;box-sizing:border-box;cursor:pointer;min-height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.22);color:#f2f4f5;font:600 13px/44px Inter,system-ui,sans-serif;text-align:center}
/* recording length: obvious buttons beside Record (selected stays red #e53935) */
#recLen{padding:2px;gap:2px}#recLen button{font:700 14px/1 'Barlow Condensed',Inter,system-ui,sans-serif;padding:10px 11px;min-width:26px;border-radius:999px;color:#f2f4f5}
/* replay: the flagged fault, More detail, and its moment on the progress bar */
#rpFault{display:none;flex:none;margin:4px 8px 0;padding:6px 10px;border-radius:14px;background:rgba(5,8,11,.82);border:1px solid rgba(240,180,41,.55);color:#f2f4f5;font:600 13px/1.35 Inter,system-ui,sans-serif;z-index:6}
.stage.replaying #rpFault:not([hidden]){display:block}
#rpFault .rfRow{display:flex;align-items:center;gap:8px}#rpFault .rfDot{width:10px;height:10px;border-radius:50%;background:#f0b429;flex:none}#rpFault[data-sev="red"] .rfDot{background:#ff5f56}
#rfLbl{flex:1 1 auto;min-width:0}#rfMore{all:unset;box-sizing:border-box;cursor:pointer;flex:none;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.25);font:600 12px/44px Inter,system-ui,sans-serif;color:#f2f4f5}
#rfMore:focus-visible,#rpMark:focus-visible{outline:2px solid #fff;outline-offset:2px}
#rfDet{margin-top:6px;font-weight:500}#rfDet[hidden]{display:none}#rfDet p{margin:0 0 4px}#rfDet small{color:#aab2ba;font-size:12px}
#replay .rpScrubRow{position:relative}
#replay #rpMark{all:unset;box-sizing:border-box!important;position:absolute!important;top:50%;width:10px!important;min-width:0!important;height:22px!important;min-height:0!important;margin:-11px 0 0 -5px!important;padding:0!important;border-radius:3px!important;background:#f0b429!important;border:1px solid #05080b!important;box-shadow:0 0 0 1px rgba(240,180,41,.35);cursor:pointer;z-index:2;flex:none!important}
#replay #rpMark[hidden]{display:none!important}
#replay #rpMark::after{content:"";position:absolute;inset:-12px -17px}
@media (min-width:601px){
 #sBand{height:8px}#sBandTxt{right:auto!important;left:16px;top:20px;font-size:14px;padding:8px 14px}.stage.micCtl #sBandTxt{left:70px}#sBand[data-s="rec"] #sBandTxt{font-size:18px}
 #micMute{right:auto;left:16px;top:14px;width:44px;height:44px}
 #clubBar{left:16px;bottom:auto;top:50%;transform:translateY(-50%);flex-direction:column;border-radius:24px;padding:4px}
 #clubBar button{min-width:92px;height:44px;line-height:44px;font-size:18px}
 #lastCard{left:16px;bottom:60px}#lastCard b{font-size:38px}
 #recOv{bottom:22px}#recOv .roT{font-size:34px;padding:8px 22px}#recOv .roS{font-size:16px}
 #frameTag{bottom:16px;font-size:15px;padding:7px 16px}
 #startSess{width:min(380px,calc(100% - 40px))}}
@media (max-height:500px) and (orientation:landscape){#clubBar{left:10px;bottom:auto;top:50%;transform:translateY(-50%);flex-direction:column;border-radius:20px}#clubBar button{height:44px;line-height:44px;min-width:64px;font-size:14px}#sBandTxt{top:14px}#micMute{top:10px}#lastCard{left:auto;right:10px;bottom:8px}#frameTag{bottom:8px}#recOv .roT{font-size:18px}#startSess{padding:10px;gap:6px}#ssGo{min-height:44px;line-height:44px}}
@media (prefers-reduced-motion:reduce){#sBand{transition:none}}

/* ===== v23.7.0 redesign stage 3: new look (docs/designs, styled from docs/DESHANK-STYLE.md). One layout for every width:
   the camera fills the screen with its controls on top of it; the old top group is the More sheet; the score, tiles and
   tips are a results panel that sits under the replay on a phone and on the right on a laptop. Colours: accent #39ff6a,
   amber #f0b429, recording red #e53935, Record disc #ff3b30. Numbers in Barlow Condensed, text in Inter. ===== */
:root{--s3panel:480px;--s3top:46dvh;--s3safe:env(safe-area-inset-bottom,0px)}
body{overflow-x:hidden!important}body:not(#_):not(.s3split){overflow:hidden!important}
body:not(#_) .g{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;margin:0!important;max-width:none!important;width:auto!important;height:auto!important;min-height:100dvh;grid-template:none!important;box-sizing:border-box}
body:not(#_) .stcol,body:not(#_) .stcol>.hud{display:contents!important}
body:not(#_) .stage{position:fixed!important;inset:0!important;width:auto!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#0b0d0e!important;z-index:1}
body:not(#_) .stage::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.72) 0,rgba(0,0,0,0) 190px),linear-gradient(0deg,rgba(0,0,0,.78) 0,rgba(0,0,0,0) 260px)}
body:not(#_) .ring,body:not(#_) #chipWrap,body:not(#_) #dataBtn,body:not(#_) #resMeta,body:not(#_) #resAct,body:not(#_) .side,body:not(#_) .strip,body:not(#_) #clubTop,body:not(#_) #stopListen,body:not(#_) #rpBtn,body:not(#_) #dataPill,body:not(#_) #recKey,body:not(#_) #micMute kbd,body:not(#_) #homeBtn span{display:none!important}
/* --- status band, status pill (the mic button), mic and End session --- */
body:not(#_) #sBand{height:10px;z-index:7}body:not(#_) .stage.recOn #sBand{height:14px}
body:not(#_) #sBandTxt{display:none!important}
body:not(#_) .stage.recOn #sBandTxt{display:inline-flex!important;left:50%!important;right:auto!important;top:30px!important;transform:translateX(-50%);height:48px;box-sizing:border-box;padding:0 20px!important;gap:10px;border-radius:24px;font:700 18px/1 'Barlow Condensed',Inter,system-ui,sans-serif!important;letter-spacing:.08em;text-transform:none}
body:not(#_) .stage.recOn #sBandTxt::before{width:12px;height:12px}
body:not(#_) .top{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important;filter:none!important}
body:not(#_) #micBtn{position:fixed!important;top:28px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;z-index:8;display:inline-flex!important;align-items:center!important;gap:8px!important;box-sizing:border-box;width:auto!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 16px!important;border-radius:22px!important;background:rgba(0,0,0,.55)!important;border:2px solid #56606a!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#f2f4f5!important;font:700 16px/1 'Barlow Condensed',Inter,system-ui,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
body:not(#_) #micBtn .micI{display:none!important}
body:not(#_) #micBtn .dot{display:block!important;position:static!important;flex:none;width:10px!important;height:10px!important;margin:0!important;border-radius:50%;background:#56606a;box-shadow:none}
body:not(#_) #micBtn #micTxt{display:inline!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;max-width:none!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:inherit!important;font:inherit!important;letter-spacing:inherit}
body:not(#_) #micBtn::before,body:not(#_) #micBtn::after,body:not(#_) #micBtn .micI::before,body:not(#_) #micBtn .micI::after{display:none!important}
body:not(#_) #micBtn.on{border-color:#39ff6a!important}body:not(#_) #micBtn.on .dot{background:#39ff6a}
body:not(#_) #micBtn.resume{border-color:#f0b429!important}body:not(#_) #micBtn.resume .dot{background:#f0b429}body:not(#_) #micBtn.resume #micTxt,body:not(#_) #micBtn.on #micTxt{color:#f2f4f5!important}
body:not(#_).s3rec #micBtn,body:not(#_).s3home #micBtn,body:not(#_).s3more #micBtn{display:none!important}
body:not(#_) #homeBtn,body:not(#_) #micGo,body:not(#_) #micMute{all:unset;box-sizing:border-box;position:absolute;top:26px;z-index:8;width:48px;height:48px;border-radius:24px;display:grid;place-items:center;cursor:pointer;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.18);color:#f2f4f5;-webkit-tap-highlight-color:transparent}
body:not(#_) #homeBtn{left:16px}body:not(#_) #micGo,body:not(#_) #micMute{right:16px;left:auto}
body:not(#_) #homeBtn svg,body:not(#_) #micGo svg,body:not(#_) #micMute svg{width:22px;height:22px;stroke:currentColor;stroke-width:2.3}
body:not(#_) #micMute{background:#39ff6a;border-color:#39ff6a;color:#05210d;animation:s3pulse 1.6s infinite}
body:not(#_) #micMute[aria-pressed="true"]{background:rgba(0,0,0,.45);border:2px solid #f0b429;color:#f0b429;animation:none}
body:not(#_) #micGo[hidden],body:not(#_) #micMute[hidden],body:not(#_) .stage.recOn #homeBtn,body:not(#_) .stage.recOn #micGo,body:not(#_) .stage.recOn #moreBtn,body:not(#_) .stage.replaying #homeBtn,body:not(#_) .stage.replaying #moreBtn,body:not(#_) .stage.noCam #micGo{display:none!important}
body:not(#_) #homeBtn:focus-visible,body:not(#_) #micGo:focus-visible,body:not(#_) #micMute:focus-visible,body:not(#_) #moreBtn:focus-visible,body:not(#_) #micBtn:focus-visible{outline:2px solid #fff;outline-offset:2px}
@keyframes s3pulse{0%{box-shadow:0 0 0 0 rgba(57,255,106,.6)}70%{box-shadow:0 0 0 14px rgba(57,255,106,0)}100%{box-shadow:0 0 0 0 rgba(57,255,106,0)}}
/* --- club buttons, framing label, setup message --- */
body:not(#_) #clubBar{left:50%;top:88px;bottom:auto;transform:translateX(-50%);flex-direction:row;gap:4px;padding:4px;border-radius:26px;background:rgba(0,0,0,.6);border:1px solid rgba(255,255,255,.16);z-index:6}
body:not(#_) #clubBar button{min-width:min(96px,27vw);height:44px;line-height:44px;padding:0 10px;border-radius:22px;font:700 17px/44px 'Barlow Condensed',Inter,system-ui,sans-serif}
body:not(#_) #frameTag{top:148px;bottom:auto;padding:6px 12px;border-radius:14px;font:600 13px/1.2 Inter,system-ui,sans-serif;border:1px solid transparent;z-index:5}
body:not(#_) #frameTag.ok{border-color:rgba(57,255,106,.45)}
/* one readiness message at a time: while the status pill shows a setup state, the framing label is out at once */
body:not(#_) .stage:has(#status.pillOk,#status.pillTip,#status.pillBad) #frameTag{display:none!important}
body:not(#_) .stage:not(.noCam) #status{top:192px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100% - 32px)!important;height:auto!important;max-height:none!important;box-sizing:border-box;display:block!important;white-space:normal!important;overflow:visible!important;text-align:center!important;padding:7px 14px!important;border-radius:16px!important;font:600 13px/1.3 Inter,system-ui,sans-serif!important;z-index:5}
body:not(#_) .stage.recOn:not(.noCam) #status,body:not(#_).s3split .stage:not(.noCam) #status{display:none!important}
body:not(#_) #setupCard{position:absolute!important;left:12px!important;top:238px!important;right:auto!important;bottom:auto!important;z-index:5;flex:none!important;max-width:200px!important}
/* --- Record, recording length, last swing, More --- */
body:not(#_) .recw{position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:calc(28px + var(--s3safe))!important;z-index:6;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;width:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important;pointer-events:none}
body:not(#_) .recw>*{pointer-events:auto}
body:not(#_) #recHint{order:1;display:block!important;margin:0!important;max-width:calc(100vw - 40px);font:600 17px/1.3 Inter,system-ui,sans-serif!important;color:#f2f4f5!important;text-align:center;text-shadow:0 1px 10px #000}
body:not(#_) #recHint b{font-weight:600;color:inherit}
body:not(#_) #recLen{order:2;margin:0!important;padding:4px!important;gap:4px!important;border-radius:999px!important;overflow:visible!important;background:rgba(22,25,29,.75)!important;border:1px solid rgba(255,255,255,.16)!important}
body:not(#_) #recLen button{box-sizing:border-box;height:44px;min-width:56px;padding:0 8px!important;border-radius:999px;font:700 15px/44px Inter,system-ui,sans-serif!important;color:#f2f4f5}
body:not(#_) #recBtn{order:3;width:88px!important;height:88px!important;min-width:88px;border:5px solid #fff!important;background:transparent!important;box-shadow:none!important;margin:0!important}
body:not(#_) #recBtn i{width:62px!important;height:62px!important;border-radius:50%;background:#ff3b30;box-shadow:none!important}
body:not(#_) #recBtn.on i{width:34px!important;height:34px!important;border-radius:8px!important}
body:not(#_) #lastCard,body:not(#_) #moreBtn{all:unset;box-sizing:border-box;position:absolute;bottom:calc(44px + var(--s3safe));z-index:6;width:92px;height:56px;border-radius:16px;cursor:pointer;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.16);color:#f2f4f5;display:flex;align-items:center;justify-content:center;text-align:center;-webkit-tap-highlight-color:transparent}
body:not(#_) #lastCard{left:20px;flex-wrap:wrap;align-content:center;column-gap:5px;row-gap:1px;align-items:baseline}
body:not(#_) #lastCard small{flex:0 0 100%;margin:0;font:500 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;color:#c3c9cf}
body:not(#_) #lastCard b{font:700 22px/1 'Barlow Condensed',Inter,system-ui,sans-serif}body:not(#_) #lastCard span{font:600 11px/1 Inter,system-ui,sans-serif;color:#c3c9cf}body:not(#_) #lastCard span:empty{display:none}
body:not(#_) #moreBtn{right:20px;flex-direction:column;gap:2px;font:600 13px/1.1 Inter,system-ui,sans-serif}
body:not(#_) #moreBtn svg{width:22px;height:22px;stroke:#f2f4f5;stroke-width:2}
body:not(#_) #lastCard[hidden],body:not(#_) .stage.replaying #lastCard{display:none!important}
/* --- recording: red band and border, the count in the pill, hold-your-finish, only the stop button --- */
body:not(#_) .stage.recOn{box-shadow:none!important}body:not(#_) .stage.recOn::after{border:6px solid rgba(229,57,53,.55);z-index:5}
body:not(#_).s3rec #recLen,body:not(#_).s3rec #recHint,body:not(#_).s3rec #recKey{display:none!important}
body:not(#_) #recOv{left:20px;right:20px;bottom:calc(134px + var(--s3safe));gap:6px;z-index:6}
body:not(#_) #recOv p{background:none;padding:0;border-radius:0;text-shadow:0 1px 10px #000}
body:not(#_) #recOv .roT{font:600 20px/1.2 Inter,system-ui,sans-serif;letter-spacing:0}body:not(#_) #recOv .roS{font:400 14px/1.3 Inter,system-ui,sans-serif;color:#c3c9cf}
/* --- More sheet (the old top group as rows) --- */
#moreScrim{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.45)}#moreScrim[hidden]{display:none}
body:not(#_) .top:not(.open){display:contents!important}body:not(#_) .top:not(.open)>*:not(#micBtn){display:none!important}
body:not(#_) .top.open{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:2px!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:auto!important;height:auto!important;max-height:min(640px,84dvh);overflow-y:auto;z-index:41;box-sizing:border-box;margin:0!important;padding:10px 14px calc(24px + var(--s3safe))!important;border-radius:26px 26px 0 0!important;background:rgba(16,18,21,.97)!important;border:1px solid rgba(255,255,255,.07)!important;box-shadow:0 -20px 50px -10px #000!important}
body:not(#_) .top.open>.logo,body:not(#_) .top.open>.sp{display:none!important}
body:not(#_) .top.open>*{order:0!important;inset:auto!important;float:none!important}
body:not(#_) .top.open>#optBtn{order:1!important}body:not(#_) .top.open>#fbTop{order:2!important}body:not(#_) .top.open>#fsTop{order:3!important}body:not(#_) .top.open>#menuStop{order:4!important}body:not(#_) .top.open>#exitBtn{order:5!important}
body:not(#_) .top.open>.mHead{order:-1!important;display:flex;align-items:center;justify-content:space-between;padding:6px 4px 10px;flex:none}
#mHeadT{font:600 11px/1.3 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#858c93}
#moreX{all:unset;box-sizing:border-box;cursor:pointer;width:44px;height:44px;border-radius:22px;border:1px solid rgba(255,255,255,.07);color:#f2f4f5;font:600 18px/44px Inter,system-ui,sans-serif;text-align:center}
#moreX:focus-visible,body:not(#_) .top.open>button:focus-visible{outline:2px solid #fff;outline-offset:-2px}
body:not(#_) .top.open>.mRow,body:not(#_) .top.open>.pill:not(#micBtn):not(#clubTop):not([hidden]){all:unset;box-sizing:border-box;position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex:none!important;width:auto!important;min-height:60px!important;height:auto!important;margin:0!important;padding:8px 12px!important;border-radius:14px!important;border:0!important;border-top:1px solid rgba(255,255,255,.07)!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;color:#f2f4f5!important;font:600 15px/1.25 Inter,system-ui,sans-serif!important;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;opacity:1!important;transform:none!important}
/* two cameras: the Face-on / Down-the-line / Split toggle takes the Camera view row's place, as it took the pill's */
@media(min-width:1101px){body:not(#_):not(#a):not(#b):not(#c).c2avail .top.open>#camPill{display:none!important}}
body:not(#_) .top.open>#camSplit{align-self:flex-start;margin:8px 12px}
body:not(#_) .top.open>.pill::before,body:not(#_) .top.open>.pill::after{display:none!important}
body:not(#_) .top.open>button>svg,body:not(#_) .top.open>#camPill>svg{display:none!important}
body:not(#_) .top.open .mT{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto;text-align:left}
body:not(#_) .top.open .mT b,body:not(#_) .top.open #exitBtn>span{font:600 15px/1.25 Inter,system-ui,sans-serif;color:inherit}
body:not(#_) .top.open .mT small{font:400 12.5px/1.3 Inter,system-ui,sans-serif;color:#9aa1a8}body:not(#_) .top.open .mT small:empty{display:none}
body:not(#_) .top.open em,body:not(#_) .top.open #view2{flex:none;font:600 13px/1.2 Inter,system-ui,sans-serif;font-style:normal;color:#39ff6a;white-space:nowrap}
body:not(#_) .top.open #view2{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
body:not(#_) .top.open #menuStop{color:#f0b429!important}body:not(#_) .top.open #menuStop.off{color:#9aa1a8!important}body:not(#_) .top.open #menuStop em{color:inherit}
body:not(#_) .top.open #exitBtn{border:0!important;border-top:1px solid rgba(255,255,255,.07)!important;color:#f2f4f5!important}
body:not(#_) .top.open #playerPill{flex-wrap:wrap}body:not(#_) .top.open #playerPill .mT{flex:1 0 60px}
body:not(#_) .top.open #playerPill .av{display:none}body:not(#_) .top.open #playerPill .ib{width:44px;height:44px;min-width:44px;display:grid;place-items:center}
body:not(#_) .top.open #playerPill .selw{flex:0 1 auto;min-width:0;max-width:100%}body:not(#_) .top.open #playerPill .dsSel{min-width:0;max-width:100%;min-height:44px}body:not(#_) .top.open #playerPill .dsB{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:not(#_) .top.open #player{max-width:100%;color:#f2f4f5}
/* --- results panel: under the replay on a phone, on the right on a laptop; also opened from More on the live camera --- */
body:not(#_).s3split .g{padding-top:var(--s3top)!important;background:#0e1114}
body:not(#_).s3split .stage{inset:0 0 auto 0!important;height:var(--s3top)!important;border-bottom:1px solid rgba(255,255,255,.1)!important}
body:not(#_).s3rp{--s3top:54dvh}
body:not(#_) #resMeta{order:1!important}body:not(#_) .ring{order:2!important}body:not(#_) #chipWrap{order:3!important}body:not(#_) #resAct{order:4!important}body:not(#_) .side{order:5!important}body:not(#_) .strip{order:6!important}
body:not(#_).s3split #resMeta{display:block!important;margin:16px 20px 0;min-height:15px;font:600 12px/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa1a8}
body:not(#_).s3split .ring{container-type:normal!important;display:block!important;position:static!important;flex:none!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:2px 20px 0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body:not(#_).s3split .ring svg{display:none!important}
body:not(#_).s3split .ring>div{gap:2px!important;padding:0!important;justify-content:flex-start!important;position:static!important;width:auto!important;height:auto!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:column;align-items:flex-start!important;text-align:left!important}
body:not(#_).s3split #ringNum{display:block!important;margin:0!important;font:700 68px/.95 'Barlow Condensed',Inter,system-ui,sans-serif!important;font-variant-numeric:tabular-nums;color:#8b949e;text-shadow:0 0 40px rgba(57,255,106,.25)}
body:not(#_).s3split #ringLbl{padding:0!important;margin:0!important;font:500 12px/1.3 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:#9aa1a8!important}
body:not(#_).s3split #chipWrap{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 10px!important;flex:none!important;width:auto!important;margin:14px 20px 0!important;padding:0!important;border:0!important;background:none!important}
body:not(#_).s3split .st,#home .st{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:3px!important;min-width:0;margin:0!important;padding:0!important;border:0!important;background:none!important;text-align:left!important}
body:not(#_).s3split .st small,#home .st small{font:600 11px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase;color:#858c93!important;white-space:nowrap}
body:not(#_).s3split .st b,#home .st b{font:600 22px/1 'Barlow Condensed',Inter,system-ui,sans-serif!important;color:#f2f4f5!important;white-space:nowrap}
body:not(#_).s3split .st i,#home .st i{display:block!important;font:600 11px/1.2 Inter,system-ui,sans-serif!important;font-style:normal!important;color:#39ff6a;white-space:nowrap;min-height:13px}
body:not(#_).s3split .st i.w,#home .st i.w{color:#f0b429}
/* Share with my coach and Next swing: a bar at the bottom of the panel, so opening a replay moves nothing in the panel */
body:not(#_).s3split.s3rp #resAct{display:flex!important;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:4!important;margin:0;padding:18px 20px calc(12px + var(--s3safe));background:linear-gradient(0deg,#0e1114 72%,rgba(14,17,20,0))}
body:not(#_).s3split.s3rp .g{padding-bottom:calc(96px + var(--s3safe))!important}
#resAct button{all:unset;box-sizing:border-box;cursor:pointer;flex:1 1 0;min-width:0;height:56px;border-radius:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;-webkit-tap-highlight-color:transparent}
#resAct #rpCoach{position:static!important;background:#16191d!important;border:1px solid rgba(255,255,255,.12)!important;color:#f2f4f5!important;font:600 15px/1.2 Inter,system-ui,sans-serif!important;padding:0 10px!important;margin:0!important;box-shadow:none!important}
#resAct #rpCoach[hidden]{display:none!important}
#resAct #nextSwing{flex-grow:1.3;background:#39ff6a;color:#05210d;gap:1px}#resAct #nextSwing b,#resAct #nextSwing small{position:static!important;display:block!important;margin:0!important;padding:0!important;color:inherit!important;text-transform:none!important;letter-spacing:0!important}#resAct #nextSwing b{font:700 16px/1.2 Inter,system-ui,sans-serif!important}#resAct #nextSwing small{font:600 11px/1.2 Inter,system-ui,sans-serif!important;opacity:.75}
#resAct button:focus-visible{outline:2px solid #fff;outline-offset:2px}
body:not(#_).s3split .side{display:block!important;position:static!important;flex:none!important;width:auto!important;height:auto!important;max-height:none!important;min-height:0!important;margin:14px 0 0!important;padding:0 20px 16px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important;transform:none!important}
body:not(#_).s3split .side h3,body:not(#_).s3split .side details{scroll-margin-top:calc(var(--s3top) + 12px)}
body:not(#_) .g{position:relative}
body:not(#_).s3split #sheetBtn{display:none!important}
body:not(#_).s3split:not(.s3rp) #sheetBtn{display:block!important;position:fixed;top:calc(var(--s3top) + 6px);right:12px;width:auto!important;min-height:44px;padding:0 14px!important;border-radius:22px;border:1px solid rgba(255,255,255,.12)!important;background:#16191d!important;color:#f2f4f5!important;font:600 13px/44px Inter,system-ui,sans-serif!important;z-index:3}
body:not(#_).s3split #sheetBtn:before{display:none!important}
body:not(#_).s3split .strip{display:flex!important;position:relative!important;flex:none!important;width:auto!important;margin:0 12px calc(20px + var(--s3safe))!important}
body:not(#_) #replayBadge{left:16px!important;top:28px!important;min-height:44px;padding:0 12px!important;font-size:13px!important}
body:not(#_) #rpOv{top:86px!important;right:12px!important}
body:not(#_) .stage.replaying #cv{min-height:0!important;flex:1 1 0!important}
/* the panel scrolls under the picture, never over it; the session strip is the average card with the shot cards under it */
body:not(#_) #resMeta,body:not(#_) .ring,body:not(#_) #chipWrap,body:not(#_) #resAct,body:not(#_) .side,body:not(#_) .strip{z-index:auto!important}
body:not(#_).s3split .strip{flex-direction:column!important;align-items:stretch!important;gap:10px!important;height:auto!important;max-height:none!important;padding:0!important;background:none!important;border:0!important}
body:not(#_).s3split #pbCard{flex:none!important;width:auto!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
body:not(#_).s3split #strip{flex:none!important;width:100%!important;min-width:0!important;overflow-x:auto!important;box-sizing:border-box}
/* the camera's own controls when the panel is open under it */
body:not(#_).s3split .recw{bottom:calc(100dvh - var(--s3top) + 10px)!important;gap:6px!important}
body:not(#_).s3split #recHint,body:not(#_).s3split #frameTag{display:none!important}
body:not(#_).s3split #recBtn{width:64px!important;height:64px!important;min-width:64px;border-width:4px!important}body:not(#_).s3split #recBtn i{width:44px!important;height:44px!important}body:not(#_).s3split #recBtn.on i{width:26px!important;height:26px!important}
body:not(#_).s3split #lastCard,body:not(#_).s3split #moreBtn{bottom:14px}body:not(#_).s3split #lastCard{left:12px}body:not(#_).s3split #moreBtn{right:12px}
body:not(#_).s3rp .recw{display:none!important}
/* Swing history or the session report opened from the home screen: the camera is off, so the panel has the whole screen */
body:not(#_).s3off{--s3top:0px}
body:not(#_).s3off .stage,body:not(#_).s3off .recw,body:not(#_).s3off #micBtn{display:none!important}
body:not(#_).s3off.s3split .g{padding-top:56px!important;margin-left:auto!important;margin-right:auto!important;max-width:760px!important;border-left:0!important}
body:not(#_).s3off.s3split #sheetBtn{top:8px!important}
/* --- home --- */
#home{position:fixed;inset:0;z-index:15;overflow-y:auto;box-sizing:border-box;padding:18px 20px calc(16px + var(--s3safe));display:flex;flex-direction:column;gap:12px;color:#f2f4f5;font-family:Inter,"Segoe UI",system-ui,sans-serif;background:radial-gradient(1200px 600px at 70% -10%,#12201a 0%,#08090b 55%),#08090b}
#home[hidden]{display:none}
#home button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}#home button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hmTop{display:flex;align-items:center;justify-content:space-between;gap:8px;height:44px;flex:none}.hmTop img{height:44px;width:auto;display:block}
.hmR{display:flex;align-items:center;gap:8px;min-width:0}
#hmPlayer{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:8px;height:44px;min-width:0;max-width:46vw;padding:0 12px 0 6px;border-radius:22px;border:1px solid rgba(255,255,255,.12);background:#0e1114;color:#f2f4f5;font:600 14px/1 Inter,system-ui,sans-serif}
#hmName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#hmPlayer svg{width:14px;height:14px;flex:none;stroke:#9aa1a8;stroke-width:2.5}
#hmAv{flex:none;width:32px;height:32px;border-radius:50%;background:#39ff6a;color:#05210d;display:grid;place-items:center;font-weight:700}
#hmSet{all:unset;box-sizing:border-box;flex:none;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.12);background:#0e1114;display:grid;place-items:center}#hmSet svg{width:20px;height:20px;stroke:#f2f4f5}
.hmMain{display:flex;flex-direction:column;gap:12px;flex:1 0 auto}.hmSide{display:contents}
#hmH{order:-1;margin:0;font:600 26px/1.2 Inter,system-ui,sans-serif}
#hmProg{background:#0e1114;border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:16px;display:flex;flex-direction:column;gap:12px}
.hmPH{display:flex;justify-content:space-between;align-items:center}.hmPH span,#hmLast>small{font:600 12px/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa1a8}
#hmAll{all:unset;box-sizing:border-box;min-height:44px;padding:0 4px;display:inline-flex;align-items:center;font:600 13px/1 Inter,system-ui,sans-serif;color:#39ff6a}
.hmScore{display:flex;align-items:flex-end;gap:14px}#hmAvg{font:600 60px/.95 'Barlow Condensed',Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#39ff6a;text-shadow:0 0 40px rgba(57,255,106,.35)}
.hmScore span{display:flex;flex-direction:column;gap:2px;padding-bottom:4px;min-width:0}.hmScore small{font:400 12px/1.3 Inter,system-ui,sans-serif;color:#9aa1a8}.hmScore em{font:500 13px/1.3 Inter,system-ui,sans-serif;font-style:normal;color:#c3c9cf}
#hmLast{display:flex;flex-direction:column;gap:10px;padding-top:12px;border-top:1px solid rgba(255,255,255,.07)}#hmLast[hidden]{display:none}
.hmTiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px}
#home #startSess{position:static;transform:none;width:auto;z-index:auto;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-align:center}
#home #startSess[hidden]{display:none}
#home #ssGo{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:12px;height:68px;border-radius:34px;background:#39ff6a;color:#05210d;font:700 19px/1 Inter,system-ui,sans-serif;letter-spacing:0;box-shadow:0 10px 30px rgba(57,255,106,.25)}
#home #ssGo svg{width:24px;height:24px;stroke:#05210d;stroke-width:2.2}
#home #ssTxt{margin:0;font:400 12px/1.4 Inter,system-ui,sans-serif;color:#9aa1a8}
#home #ssNo{all:unset;box-sizing:border-box;align-self:center;min-height:44px;padding:0 18px;border-radius:22px;border:1px solid rgba(255,255,255,.12);color:#c3c9cf;font:600 13px/44px Inter,system-ui,sans-serif}
#home #ssNo[hidden],#home #ssTxt[hidden]{display:none}
.hmNav{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
.hmNav button{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:78px;padding:8px 6px;border-radius:18px;background:#0e1114;border:1px solid rgba(255,255,255,.08);color:#f2f4f5;font:600 12px/1.2 Inter,system-ui,sans-serif;text-align:center}
.hmNav button[hidden]{display:none}.hmNav svg{width:22px;height:22px;stroke:#f2f4f5;stroke-width:2}#hmSotm svg{stroke:#f0b429}
/* Settings, the player card and the dialogs sit above the home screen and the More sheet */
body:not(#_) #opts{z-index:60}
/* --- laptop: bigger type (read from 3 m), club list on the left, results on the right --- */
@media (min-width:900px) and (orientation:landscape){
 body:not(#_).s3split .g{padding-top:0!important;margin-left:calc(100% - var(--s3panel))!important;border-left:1px solid rgba(255,255,255,.1)}
 body:not(#_).s3split .stage{inset:0 var(--s3panel) 0 0!important;height:auto!important;border-bottom:0!important}
 body:not(#_).s3split #micBtn{left:calc((100vw - var(--s3panel))/2)!important}
 body:not(#_).s3split .recw{right:var(--s3panel)!important;bottom:28px!important;gap:12px!important}
 body:not(#_).s3split .side h3,body:not(#_).s3split .side details{scroll-margin-top:16px}
 body:not(#_).s3split:not(.s3rp) #sheetBtn{top:16px;right:20px}
 body:not(#_) #sBand{height:16px}body:not(#_) .stage.recOn #sBand{height:20px}
 body:not(#_) .stage.recOn #sBandTxt{top:44px!important;height:72px;padding:0 32px!important;gap:14px;border-radius:36px;font-size:32px!important}body:not(#_) .stage.recOn #sBandTxt::before{width:18px;height:18px}
 body:not(#_) .stage.recOn::after{border-width:8px}
 body:not(#_) #micBtn{top:36px!important;height:64px!important;padding:0 28px!important;gap:12px!important;border-radius:32px!important;border-width:3px!important;font-size:28px!important}body:not(#_) #micBtn .dot{width:16px!important;height:16px!important}
 body:not(#_) #homeBtn{left:40px;top:40px;width:auto;height:56px;padding:0 22px;border-radius:28px;display:flex;align-items:center;gap:10px;font:600 16px/1 Inter,system-ui,sans-serif}body:not(#_) #homeBtn span{display:inline!important}
 body:not(#_) #micGo,body:not(#_) #micMute{right:40px;top:40px;height:56px;border-radius:28px}body:not(#_) #micGo{width:56px}
 body:not(#_) #micMute{width:auto;padding:0 14px;display:flex;align-items:center;gap:10px}
 body:not(#_) #micMute kbd,body:not(#_) #recKey{display:inline-block!important;padding:2px 8px;border-radius:6px;border:1px solid rgba(255,255,255,.3);font:600 13px/1.4 Inter,system-ui,sans-serif;color:#c3c9cf;background:rgba(0,0,0,.35)}
 body:not(#_) #micMute:not([aria-pressed="true"]) kbd{border-color:rgba(5,33,13,.45);color:#05210d;background:none}
 body:not(#_) #recKey{order:4}body:not(#_).s3rec #recKey,body:not(#_).s3split #recKey{display:none!important}
 body:not(#_) #clubBar{left:40px;top:140px;transform:none;flex-direction:column;gap:6px;padding:8px;border-radius:22px;background:rgba(0,0,0,.55);border-color:rgba(255,255,255,.14)}
 body:not(#_) #clubBar button{width:170px;min-width:0;height:56px;line-height:56px;padding:0 16px;border-radius:16px;text-align:left;font-size:18px;border:1px solid rgba(255,255,255,.12)}body:not(#_) #clubBar button[aria-pressed="true"]{border-color:#39ff6a}
 body:not(#_) #frameTag{top:120px;font-size:16px;padding:8px 16px;border-radius:18px}
 body:not(#_) .recw{bottom:36px!important;gap:14px!important}body:not(#_) #recHint{font-size:30px!important}
 body:not(#_) #recLen button{height:48px;min-width:68px;font-size:17px!important;line-height:48px!important}
 body:not(#_) #recBtn{width:108px!important;height:108px!important;min-width:108px;border-width:6px!important}body:not(#_) #recBtn i{width:78px!important;height:78px!important}body:not(#_) #recBtn.on i{width:42px!important;height:42px!important;border-radius:10px!important}
 body:not(#_) #lastCard,body:not(#_) #moreBtn{bottom:36px;width:180px;height:76px;border-radius:20px}body:not(#_) #lastCard{left:40px}body:not(#_) #moreBtn{right:40px;flex-direction:row;gap:10px;font-size:16px}
 body:not(#_) #lastCard small{font-size:13px}body:not(#_) #lastCard b{font-size:30px}body:not(#_) #lastCard span{font-size:13px}
 body:not(#_) #recOv{bottom:164px;gap:8px}body:not(#_) #recOv .roT{font-size:30px}body:not(#_) #recOv .roS{font-size:16px}
 body:not(#_).s3split #recHint{display:block!important;font-size:20px!important}body:not(#_).s3split #recBtn{width:88px!important;height:88px!important;min-width:88px}body:not(#_).s3split #recBtn i{width:62px!important;height:62px!important}body:not(#_).s3split #recBtn.on i{width:34px!important;height:34px!important}
 body:not(#_).s3split #lastCard,body:not(#_).s3split #moreBtn{bottom:36px;width:132px}body:not(#_).s3split #lastCard{left:24px}body:not(#_).s3split #moreBtn{right:24px}body:not(#_).s3split #clubBar{left:24px}body:not(#_).s3split #clubBar button{width:132px}body:not(#_).s3split #homeBtn{left:24px}body:not(#_).s3split #micGo,body:not(#_).s3split #micMute{right:24px}
 body:not(#_) .top.open{left:auto!important;right:24px!important;bottom:24px!important;top:110px!important;width:440px!important;max-height:none;padding:14px 16px 18px!important;border-radius:22px!important;box-shadow:0 30px 80px #000c!important}
 body:not(#_).s3split #resMeta{margin:32px 32px 0;font-size:13px}body:not(#_).s3split .ring{margin:4px 32px 0!important}body:not(#_).s3split #ringNum{font-size:110px!important}body:not(#_).s3split #ringLbl{font-size:13px!important}
 body:not(#_).s3split #chipWrap{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:20px 32px 0!important}
 body:not(#_).s3split #chipWrap .st{padding:14px 16px!important;border-radius:18px!important;background:#16191d!important;gap:4px!important}body:not(#_).s3split #chipWrap .st b{font-size:30px!important}
 body:not(#_).s3split.s3rp #resAct{left:calc(100% - var(--s3panel));padding:20px 32px 20px;gap:12px}#resAct button{height:60px;border-radius:30px}#resAct #rpCoach{font-size:16px!important}#resAct #nextSwing b{font-size:17px!important}#resAct #nextSwing small{font-size:12px!important}
 body:not(#_).s3split .side{margin-top:20px!important;padding:0 32px 20px!important}body:not(#_).s3split .strip{margin:0 24px 28px!important}
 #home{padding:28px 48px 32px;gap:28px}.hmTop{height:64px}.hmTop img{height:64px}.hmR{gap:10px}
 #hmPlayer{height:48px;padding:0 16px 0 6px;border-radius:24px;font-size:15px;gap:10px;max-width:320px}#hmAv{width:36px;height:36px}#hmSet{width:48px;height:48px}
 .hmMain{flex-direction:row;gap:28px;align-items:stretch;flex:1 1 auto;min-height:0}
 #hmProg{flex:1 1 0;min-width:0;border-radius:28px;padding:32px;gap:24px}.hmPH span{font-size:13px}#hmAvg{font-size:104px;font-weight:700}.hmScore{gap:24px}.hmScore small{font-size:14px}.hmScore em{font-size:15px}
 .hmTiles{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}#home .st{padding:14px 16px!important;border-radius:18px;background:#16191d!important}#home .st b{font-size:28px!important}
 .hmSide{display:flex;flex-direction:column;gap:16px;width:440px;flex:none}#hmH{order:0}
 #home #startSess{background:linear-gradient(160deg,#13201a 0%,#0e1114 70%);border:1px solid rgba(57,255,106,.25);border-radius:28px;padding:28px;gap:14px}
 #home #ssGo{height:72px;border-radius:36px;font-size:21px}#home #ssTxt{font-size:13px}
 .hmNav{grid-auto-flow:row;grid-auto-columns:auto;gap:16px}.hmNav button{flex-direction:row;justify-content:flex-start;gap:14px;min-height:68px;padding:0 20px;border-radius:20px;font-size:16px;text-align:left}#hmSotm{border-color:rgba(240,180,41,.3)}}
/* --- a phone on its side: not much height, so the controls close up --- */
@media (max-height:500px) and (orientation:landscape) and (max-width:899.98px){
 :root{--s3top:100dvh}
 body:not(#_) #clubBar{left:12px;top:86px;transform:none;flex-direction:column;border-radius:20px}body:not(#_) #clubBar button{min-width:76px;font-size:15px}
 body:not(#_) .recw{flex-direction:row!important;justify-content:center!important;align-items:center!important;bottom:calc(12px + var(--s3safe))!important}body:not(#_) #recHint,body:not(#_) #frameTag{display:none!important}
 body:not(#_) #recBtn{width:72px!important;height:72px!important;min-width:72px}body:not(#_) #recBtn i{width:50px!important;height:50px!important}body:not(#_) #recBtn.on i{width:28px!important;height:28px!important}
 body:not(#_) #lastCard,body:not(#_) #moreBtn{bottom:calc(20px + var(--s3safe))}body:not(#_) #recOv{bottom:96px}
 body:not(#_).s3split .g{padding-top:0!important;margin-left:55%!important}body:not(#_).s3split .stage{inset:0 45% 0 0!important;height:auto!important}body:not(#_).s3split #micBtn{left:27.5%!important}body:not(#_).s3split .recw{right:45%!important}
 body:not(#_) .stage:not(.noCam) #status{top:84px!important}
 body:not(#_) .top.open{max-height:92dvh}}
@media (prefers-reduced-motion:reduce){body:not(#_) #micMute{animation:none}}

/* ===== v23.7.0 splash (docs/designs/Splash.html): in front of the home screen while the app loads, under the player
   card and every dialog. Built and removed by js/splash.js. All motion is transform / opacity; none under reduced motion. ===== */
#splash{position:fixed;inset:0;z-index:100;overflow:hidden;color:#f2f4f5;font-family:Inter,"Segoe UI",system-ui,sans-serif;background:radial-gradient(70% 45% at 50% 42%,#142a1c 0%,#0a100c 55%,#050606 100%);cursor:pointer;-webkit-tap-highlight-color:transparent;opacity:1;transition:opacity .18s ease-out}
#splash.out{opacity:0;pointer-events:none}
#splash .spPhoto{position:absolute;inset:0;background:#050606 url(../img/splash-range.webp) center bottom/cover no-repeat;animation:spZoom 18s ease-in-out infinite alternate;will-change:transform}
#splash .spMist{position:absolute;left:-20%;right:-20%;top:56%;height:220px;background:radial-gradient(50% 50% at 50% 50%,rgba(200,230,210,.10),transparent 70%);filter:blur(18px);animation:spMist 22s ease-in-out infinite}
#splash .spMist2{top:71%;height:200px;background:radial-gradient(50% 50% at 40% 50%,rgba(180,220,195,.08),transparent 70%);filter:blur(22px);animation:spMist2 28s ease-in-out infinite}
#splash .spSweep{position:absolute;top:-10%;bottom:-10%;left:0;width:45%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent);animation:spSweep 7s ease-in-out infinite}
#splash .spScrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,6,6,.35) 0%,rgba(5,6,6,.05) 30%,rgba(5,6,6,.45) 48%,rgba(5,6,6,.1) 64%,rgba(5,6,6,.2) 86%,rgba(5,6,6,.85) 100%)}
#splash .spMid{position:absolute;left:0;right:0;top:39%;display:flex;flex-direction:column;align-items:center;gap:16px;padding:0 20px;text-align:center}
#splash .spArc{position:absolute;left:50%;top:-150px;width:350px;height:230px;margin-left:-175px;overflow:visible;pointer-events:none}
#splash .spDraw{stroke-dasharray:520;animation:spDraw 2.2s cubic-bezier(.45,0,.2,1) both}
#splash .spBall{transform-origin:304px 52px;transform-box:view-box;animation:spBall 2.4s ease-out both}
#splash .spLogo{position:relative;width:280px;max-width:72vw;height:auto;display:block;animation:spRise .7s .2s ease-out both}
#splash p{margin:0}
#splash .spTag{font-size:13px;font-weight:600;letter-spacing:.32em;color:#9aa1a8;animation:spRise .7s .9s ease-out both}
#splash .spHello{margin-top:14px;font-size:20px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;animation:spRise .7s 1.4s ease-out both}
#splash .spBadge{display:inline-flex;align-items:center;gap:8px;margin-top:6px;padding:7px 14px;border-radius:999px;background:rgba(16,18,21,.7);border:1px solid rgba(57,255,106,.28);font-size:12px;font-weight:600;color:#c3c9cf;animation:spRise .7s 1.4s ease-out both}
#splash .spBadge[hidden]{display:none}#splash .spBy{color:#8a9198;font-weight:500}#splash .spBadge svg{width:14px;height:14px;flex:none;stroke:#39ff6a;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#splash .spLoad{position:absolute;left:60px;right:60px;bottom:calc(120px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;gap:12px;max-width:420px;margin:0 auto}
#splash .spBar{position:relative;width:100%;height:3px;border-radius:2px;background:rgba(255,255,255,.08);overflow:hidden}
#splash .spBar i{position:absolute;inset:0;border-radius:2px;background:linear-gradient(90deg,rgba(57,255,106,.3),#39ff6a);box-shadow:0 0 12px rgba(57,255,106,.6);overflow:hidden;transform-origin:0 50%;transform:scaleX(1);opacity:.35;transition:transform .25s linear}
#splash .spBar.det i{opacity:1}
#splash .spBar b{position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);animation:spSheen 1.6s linear infinite}
#splash .spWarm{font-size:12.5px;color:#9aa1a8;animation:spBreath 2.4s ease-in-out infinite}
#splash .spSkip{position:absolute;left:0;right:0;bottom:calc(40px + env(safe-area-inset-bottom,0px));text-align:center;font-size:11px;color:#6b7279}
@keyframes spZoom{from{transform:scale(1.04) translateY(0)}to{transform:scale(1.14) translateY(-10px)}}
@keyframes spMist{0%,100%{transform:translateX(-12%)}50%{transform:translateX(10%)}}
@keyframes spMist2{0%,100%{transform:translateX(14%)}50%{transform:translateX(-10%)}}
@keyframes spSweep{0%,55%{transform:translateX(-160%) skewX(-18deg);opacity:0}62%{opacity:1}85%,100%{transform:translateX(260%) skewX(-18deg);opacity:0}}
@keyframes spDraw{from{stroke-dashoffset:520}to{stroke-dashoffset:0}}
@keyframes spBall{0%,70%{opacity:0;transform:scale(.4)}100%{opacity:1;transform:scale(1)}}
@keyframes spRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes spBreath{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes spSheen{from{transform:translateX(-120%)}to{transform:translateX(320%)}}
@media (max-height:520px){#splash .spMid{top:26%;gap:8px}#splash .spArc{display:none}#splash .spLogo{width:200px}#splash .spLoad{bottom:56px}#splash .spSkip{bottom:14px}#splash .spHello{margin-top:4px}}
@media (prefers-reduced-motion:reduce){#splash,#splash *{animation:none!important;transition:none!important}#splash .spDraw{stroke-dashoffset:0}}
/* ===== v23.7.1 redesign stage 3b: replay overlay (docs/designs/Replay-A…D). The look itself is drawn on the replay canvas
   by js/rplook.js; this is only the two new toggles in the column (Swing path, Video) and the graph behind More detail. */
#rpOv{gap:5px}
@media (max-height:700px) and (orientation:portrait){#rpOv{gap:3px}#rpOv .ovB{width:32px;height:32px}#rpOv .ovB svg.i{width:17px;height:17px}}
#rfGraph{display:block;width:100%;height:76px;margin:6px 0 4px;border-radius:10px;background:rgba(255,255,255,.03)}
#rpOv{flex-wrap:wrap-reverse;align-content:flex-start;column-gap:8px} /* a short picture: the toggles go into a second column to the left (max-height is set by replay.js) */
@media (max-height:500px) and (orientation:landscape){#rpOv{flex-wrap:nowrap}}
/* ===== v23.8.0 redesign stage 4: progress tracker (js/progress.js). On the home screen (#hmStage4) and in Swing history
   (#pgHist). Colours, type and surfaces are the stage 3 ones: #39ff6a, Barlow Condensed for numbers, Inter for text. ===== */
#hmStage4,#pgHist{display:flex;flex-direction:column;gap:12px;min-width:0}#hmStage4[hidden]{display:none}#pgHist:empty{display:none}
#pgHist{margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid rgba(255,255,255,.07);color:#f2f4f5;font-family:Inter,"Segoe UI",system-ui,sans-serif}
/* on the home card the tracker comes first, then today's session and the last swing (stage 3) */
#hmProg #hmStage4{order:1}#hmProg .hmScore{order:2;padding-top:12px;border-top:1px solid rgba(255,255,255,.07);align-items:center}#hmProg #hmLast{order:3}
#hmProg .hmScore #hmAvg{font-size:34px;font-weight:600;text-shadow:none}
.pgClub{display:flex;gap:6px;flex-wrap:wrap}
.pgClub button{all:unset;box-sizing:border-box;min-height:44px;padding:0 14px;display:inline-flex;align-items:center;border-radius:22px;border:1px solid rgba(255,255,255,.12);color:#c3c9cf;font:600 13px/1 Inter,system-ui,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pgClub button[aria-checked="true"]{background:#39ff6a;border-color:#39ff6a;color:#05210d}.pgClub button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.pgNone{font:500 14px/1.4 Inter,system-ui,sans-serif;color:#9aa1a8;padding:6px 0}
.pgHead{display:flex;align-items:flex-end;gap:14px;min-width:0}
.pgNum{font:600 60px/.95 'Barlow Condensed',Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;text-shadow:0 0 40px rgba(57,255,106,.25)}
.pgCmp{display:flex;flex-direction:column;gap:2px;padding-bottom:4px;min-width:0}.pgCmp small{font:400 12px/1.3 Inter,system-ui,sans-serif;color:#9aa1a8}
.pgCmp em{font:600 14px/1.3 Inter,system-ui,sans-serif;font-style:normal;color:#c3c9cf}.pgCmp em.up{color:#39ff6a}.pgCmp em.dn{color:#f0b429}
.pgChart{display:flex;flex-direction:column;gap:2px}.pgSvg{display:block;width:100%;height:72px;overflow:visible}
.pgSvg .pgLn{fill:none;stroke:#39ff6a;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.pgSvg .pgLv{stroke:#c9d3db;stroke-width:1.5;stroke-dasharray:5 4;vector-effect:non-scaling-stroke;opacity:.7}.pgSvg .pgDot{stroke:#39ff6a;stroke-width:8;stroke-linecap:round;vector-effect:non-scaling-stroke}
.pgAx{display:flex;justify-content:space-between;font:400 11px/1.2 Inter,system-ui,sans-serif;color:#858c93}
.pgSub{font:600 12px/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa1a8}
.pgTiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px}
.pgT .pgSp{display:block;width:100%;height:26px;margin-top:2px}.pgT svg.pgSp .pgLn{stroke-width:1.5;stroke:#8b949e}.pgT svg.pgSp .pgDot{stroke-width:5}body:not(#_) .pgT i.n{color:#9aa1a8}
.pgT b .ar{font-size:.55em;color:#858c93;margin-left:2px}.pgT b .sp{display:inline-block;width:6px}.pgT b .u{font-size:.5em;color:#858c93}
#pgHist .pgT{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
#pgHist .pgT small{font:600 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#858c93;white-space:nowrap}
#pgHist .pgT b{font:600 22px/1 'Barlow Condensed',Inter,system-ui,sans-serif;color:#f2f4f5;white-space:nowrap}
#pgHist .pgT i{display:block;font:600 11px/1.2 Inter,system-ui,sans-serif;font-style:normal;color:#39ff6a;white-space:nowrap;min-height:13px}#pgHist .pgT i.w{color:#f0b429}
.pgFocus{padding:12px 14px;border-radius:16px;background:rgba(240,180,41,.08);border:1px solid rgba(240,180,41,.22);font:400 13px/1.4 Inter,system-ui,sans-serif;color:#c3c9cf}
.pgFocus span{color:#9aa1a8}.pgFocus b{color:#f2f4f5;font-weight:600}.pgFocus p{margin:4px 0 2px;color:#f2f4f5}.pgFocus small{display:block;font-size:12px;color:#9aa1a8}
.pgStats{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px 24px;align-items:start}
.pgStats>div{display:flex;flex-direction:column;gap:2px;min-width:0}.pgStats small{font:600 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#858c93}
.pgStats b{font:600 26px/1 'Barlow Condensed',Inter,system-ui,sans-serif;color:#f2f4f5;white-space:nowrap}.pgStats em{font:400 12px/1.3 Inter,system-ui,sans-serif;font-style:normal;color:#c3c9cf}
.pgStreak b{color:#39ff6a}.pgStats>.pgWeek{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:baseline}
body:not(#_) .pgT{overflow:visible!important}body:not(#_) .pgT small{overflow:visible!important}
.pgPair table{width:100%;border-collapse:collapse;margin-top:8px;font:400 13px/1.3 Inter,system-ui,sans-serif;color:#f2f4f5;table-layout:fixed}
.pgPair th,.pgPair td{padding:7px 6px;text-align:left;vertical-align:top;border-top:1px solid rgba(255,255,255,.07);overflow-wrap:anywhere}.pgPair thead th,.pgPair thead td{border-top:0}
.pgPair thead td{width:24%}.pgPair tbody th{font:600 11px/1.3 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#858c93}
.pgPair td b{font:600 22px/1 'Barlow Condensed',Inter,system-ui,sans-serif}.pgPair td i{font:600 11px/1.2 Inter,system-ui,sans-serif;font-style:normal;color:#39ff6a;white-space:nowrap}.pgPair td i.w{color:#f0b429}
.pgPair td .ar{font-size:11px;color:#858c93;margin-left:2px}.pgPair td .sp{display:inline-block;width:6px}
.pgPair label{display:flex;flex-direction:column;gap:4px;font:600 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aa1a8}
.pgPair select{min-height:44px;width:100%;box-sizing:border-box;background:#ffffff10;border:1px solid #ffffff18;border-radius:12px;padding:6px 8px;color:#e6edf3;font:500 13px/1.2 Inter,system-ui,sans-serif;text-transform:none;letter-spacing:0}
#hist>div.pgOff{display:none!important}#pgHistNone[hidden]{display:none}#pgHistNone{display:block;color:#9aa1a8;padding:8px 0}
/* a phone: Start session stays at the top, above a progress card that is now longer than the screen */
@media not all and (min-width:900px) and (orientation:landscape){#home #startSess{order:-1}}
@media (max-width:380px){.pgNum{font-size:52px}}
@media (min-width:900px) and (orientation:landscape){
 #hmStage4{gap:20px}
 #home .pgT b{font-size:22px!important}.hmMain{flex:1 0 auto}.pgNum{font-size:104px;font-weight:700}.pgHead{gap:24px}.pgCmp small{font-size:14px}.pgCmp em{font-size:17px}.pgSvg{height:110px}
 #hmStage4 .pgTiles{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}#hmStage4 .pgT svg.pgSp{height:30px}.pgFocus{font-size:15px}#hmStage4 .pgStats{grid-template-columns:auto auto minmax(0,1fr);gap:10px 40px}#hmStage4 .pgStats>.pgWeek{grid-column:auto}.pgStats b{font-size:34px}.pgStats em{font-size:14px}
 #hmProg .hmScore #hmAvg{font-size:44px}
 #pgHist .pgSvg{height:72px}#pgHist .pgNum{font-size:60px;font-weight:600}}

/* ===== v23.10.1, four findings from the first staging test on an iPhone (docs/v23/CHANGES-v23.10.1.md). Styled from
   docs/DESHANK-STYLE.md: accent #39ff6a, amber #f0b429, glass rgba(16,18,21,.78), Barlow Condensed for numbers, Inter for text.
   1 the results panel is a sheet OVER the camera or the replay (s3split = the sheet is open); the picture keeps the whole screen
   2 a replay fills the screen: the picture is behind everything, the controls float on it, the results are behind a score card
   3 every notice over the camera sits in one place at the edge, one at a time (js/session.js puts the others away with .n7off)
   4 iPhone: every control keeps clear of the notch, the home bar and the rounded corners; nothing is sized with 100vh ===== */
body:not(#_){--s7t:env(safe-area-inset-top,0px);--s7l:env(safe-area-inset-left,0px);--s7r:env(safe-area-inset-right,0px);--s7bt:var(--s3top);--s7pad:calc(var(--s3top) + 52px)}
body:not(#_).s3rp{--s3top:46dvh}
/* a browser with no dvh unit (iPhone before iOS 15.4): the same lengths from --vvh, the height really on screen, which js/session.js keeps up to date */
@supports not (height:1dvh){:root{--s3top:calc(var(--vvh,100vh)*.46)}body:not(#_).s3rp{--s3top:calc(var(--vvh,100vh)*.46)}body:not(#_) .g{min-height:var(--vvh,100vh)}body:not(#_) .top.open{max-height:min(640px,calc(var(--vvh,100vh)*.84))}
 body:not(#_).s3split .recw{bottom:calc(var(--vvh,100vh) - var(--s3top) + 10px)!important}
 @media (max-height:500px) and (orientation:landscape) and (max-width:899.98px){:root{--s3top:var(--vvh,100vh)}body:not(#_) .top.open{max-height:calc(var(--vvh,100vh)*.92)}}}
/* --- 1. the results sheet --- */
body:not(#_).s3split .stage{inset:0!important;height:auto!important;border-bottom:0!important}
body:not(#_).s3split .g{padding-top:var(--s7pad)!important;background:none!important}
body:not(#_).s3split .g::after{content:"";position:absolute;left:0;right:0;top:var(--s7bt);bottom:0;z-index:9;border-radius:22px 22px 0 0;border-top:1px solid rgba(255,255,255,.16);box-shadow:0 -18px 44px -12px #000;background:#0e1114 linear-gradient(rgba(255,255,255,.25),rgba(255,255,255,.25)) center 9px/44px 5px no-repeat}
body:not(#_).s3split #resMeta,body:not(#_).s3split .ring,body:not(#_).s3split #chipWrap,body:not(#_).s3split .side,body:not(#_).s3split .strip{position:relative!important;z-index:10!important}
body:not(#_):not(#a).s3split #earlier:not([hidden]){z-index:11!important}
body:not(#_):not(#a).s3split.s3rp #resAct{z-index:12!important}
body:not(#_).s3split #resMeta{margin-top:0}
/* the camera's own buttons stay in reach with the sheet open: More and the last-swing card just above its top edge (beside it on a laptop or a phone on its side) */
body:not(#_).s3split #lastCard,body:not(#_).s3split #moreBtn{bottom:calc(100% - var(--s7bt) + 14px)}
/* the close control: always at the top right corner of the sheet, whatever is scrolled under it */
body:not(#_):not(#a).s3split #sheetBtn{display:block!important;position:fixed!important;top:max(calc(8px + var(--s7t)),calc(var(--s7bt) + 6px - var(--s7sy,0px)))!important;right:calc(12px + var(--s7r))!important;left:auto!important;bottom:auto!important;width:auto!important;min-height:44px;margin:0!important;padding:0 16px!important;border-radius:22px;border:1px solid rgba(255,255,255,.22)!important;background:#16191d!important;color:#f2f4f5!important;font:600 13px/44px Inter,system-ui,sans-serif!important;z-index:13!important;box-shadow:0 6px 18px -8px #000}
body:not(#_):not(#a).s3split #sheetBtn:focus-visible{outline:2px solid #fff;outline-offset:2px}
body:not(#_).s3split .side h3,body:not(#_).s3split .side details{scroll-margin-top:calc(var(--s7bt) + 60px)}
body:not(#_).s3off.s3split .g::after{top:0;border-radius:0;border-top:0;box-shadow:none;background:#0e1114}
body:not(#_):not(#a).s3off.s3split #sheetBtn{top:calc(8px + var(--s7t))!important}
/* --- 2. the replay: the picture has the whole screen (letterboxed, never cropped); the controls sit on it at the bottom --- */
body:not(#_) .stage.replaying{justify-content:flex-end!important;align-items:stretch!important;padding:0 0 calc(82px + var(--s3safe))!important}
body:not(#_) .stage.replaying canvas#cv{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;flex:none!important;margin:0!important;border-radius:0!important;object-fit:contain!important;object-position:center center!important}
body:not(#_) .stage.replaying::before{background:linear-gradient(180deg,rgba(0,0,0,.6) 0,rgba(0,0,0,0) 150px),linear-gradient(0deg,rgba(0,0,0,.7) 0,rgba(0,0,0,0) 300px)}
body:not(#_) .stage.replaying #replay{position:relative!important;flex:none!important;margin:0 calc(12px + var(--s7r)) 6px calc(12px + var(--s7l))!important;padding:8px 10px!important;border-radius:18px!important;background:rgba(16,18,21,.78)!important;border:1px solid rgba(255,255,255,.07)!important;box-shadow:0 24px 50px -20px #000;gap:6px 8px!important;z-index:4}
body:not(#_) .stage.replaying #rpFault:not([hidden]){margin:0 calc(12px + var(--s7r)) 6px calc(12px + var(--s7l));background:rgba(16,18,21,.92);max-height:46%;overflow-y:auto;overscroll-behavior:contain}
body:not(#_) .stage.replaying #rpSkip:not([hidden]){margin:0 0 6px}
body:not(#_) .stage.replaying #rpCoachNote:not([hidden]){position:relative;z-index:4;margin:0 12px 4px;color:#c3c9cf;text-shadow:0 1px 6px #000}
body:not(#_) .stage.replaying:not(.noCam) #status{display:none!important}
body:not(#_) .stage.replaying #ctlShow{right:calc(12px + var(--s7r));bottom:calc(86px + var(--s3safe));min-height:44px;padding:0 14px;border-radius:22px;background:rgba(16,18,21,.78);border:1px solid rgba(255,255,255,.16)}
@media (max-width:900px),(orientation:portrait){body:not(#_) .stage.replaying #replay{flex-wrap:wrap!important}body:not(#_) #replay .row{flex-wrap:wrap!important;overflow:visible!important;min-width:0}body:not(#_) #replay .row{flex:1 1 100%!important}body:not(#_) #replay .row+.row{flex:1 1 0!important;flex-wrap:nowrap!important}body:not(#_) #replay #ctlHide{order:5}}
/* the bottom row of a replay: the score card (opens the results sheet) and Next swing. With the sheet open the row is
   the sheet's own bar: Share with my coach and Next swing, as before. */
#resAct #rpRes{background:rgba(16,18,21,.78);border:1px solid rgba(255,255,255,.16);color:#f2f4f5;flex-direction:row!important;gap:10px;padding:0 14px}
#resAct #rpRes[hidden]{display:none!important}
#resAct #rpRes b{font:700 30px/1 'Barlow Condensed',Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#8b949e}
#resAct #rpRes span{font:600 13px/1.2 Inter,system-ui,sans-serif;color:#f2f4f5;white-space:nowrap}
body:not(#_).s3rp:not(.s3split) #resAct{display:flex!important;gap:10px;position:fixed;left:calc(12px + var(--s7l));right:calc(12px + var(--s7r));bottom:calc(14px + var(--s3safe));z-index:6!important;margin:0;padding:0;background:none}
body:not(#_).s3rp:not(.s3split) #resAct #rpCoach{display:none!important}
body:not(#_).s3rp:not(.s3split) #resAct #nextSwing{box-shadow:0 10px 30px -10px #000}
/* this session's swings (stage 5) stay one tap away on a replay: a row at the top left of the picture, under Back to live */
body:not(#_):not(#a).s3rp:not(.s3split) #earlier:not([hidden]){display:flex!important;justify-content:flex-start;position:fixed;left:calc(9px + var(--s7l));right:auto;top:calc(82px + var(--s7t));bottom:auto;z-index:6;box-sizing:border-box;max-width:calc(100% - 92px - var(--s7l) - var(--s7r));padding:0;pointer-events:auto}
body:not(#_):not(#a).s3rp.noctl:not(.s3split) #earlier{display:none!important}
/* --- 3. notices: one place at the edge, above the picture's own controls, away from where the golfer stands --- */
body:not(#_):not(#a):not(#b):not(#c) .n7off{display:none!important}
/* the voice hint places itself by the mic from its own width, so while it waits its turn it keeps its box and is only made invisible */
body:not(#_):not(#a):not(#b):not(#c):not(#d) #vHint.n7off:not([hidden]){display:flex!important;visibility:hidden!important;pointer-events:none!important}
/* (the older one-message-at-a-time rule for phones, .toastHidden from ui.js, gives way to this one for the toast and the voice line) */
body:not(#_):not(#a):not(#b) .stage #toast.toastHidden:not(.n7off):not([style*="display: none"]):not([style*="display:none"]),body:not(#_):not(#a):not(#b) .stage #heard.toastHidden:not(.n7off):not(:empty){display:block!important}
body:not(#_):not(#a) .stage:not(.noCam) #status,body:not(#_):not(#a) #frameTag,body:not(#_):not(#a) #toast,body:not(#_):not(#a) #heard,body:not(#_):not(#a) #orientHint,body:not(#_):not(#a) #dtlWarn{position:absolute!important;left:50%!important;right:auto!important;top:calc(148px + var(--s7t))!important;bottom:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100% - 32px - var(--s7l) - var(--s7r))!important;height:auto!important;box-sizing:border-box;margin:0!important;white-space:normal!important;overflow:visible!important;text-align:center!important;z-index:9!important;pointer-events:auto!important;cursor:pointer;-webkit-tap-highlight-color:transparent}
body:not(#_):not(#a) #heard{padding:7px 14px!important;border-radius:16px!important;background:rgba(5,8,11,.78)!important;font:600 13px/1.3 Inter,system-ui,sans-serif!important}
body:not(#_):not(#a) #heard:empty{display:none!important}
body:not(#_):not(#a) #toast,body:not(#_):not(#a) #orientHint,body:not(#_):not(#a) #dtlWarn{padding:7px 14px!important;border-radius:16px!important;font:600 13px/1.3 Inter,system-ui,sans-serif!important}
body:not(#_):not(#a) #orientHint[hidden]{display:none!important}
/* the cards with more to read: across the very top, over the top row of buttons, for their few seconds. (The camera, voice,
   outdoor and swing-speed cards stay hidden, as they have been since v20.0.7; nothing here shows them.) */
body:not(#_):not(#a) #fsTip,body:not(#_):not(#a) #setupCard{position:absolute!important;left:calc(12px + var(--s7l))!important;right:calc(12px + var(--s7r))!important;top:calc(8px + var(--s7t))!important;bottom:auto!important;transform:none!important;width:auto!important;max-width:440px!important;margin:0 auto!important;box-sizing:border-box;z-index:9!important;cursor:pointer}
body:not(#_):not(#a) #fsTip{position:fixed!important;z-index:40!important}
body:not(#_):not(#a) #setupCard{max-width:240px!important;margin:0!important;right:auto!important}
body:not(#_):not(#a) #setupCard[hidden]{display:none!important}
/* --- 4. iPhone: the notch, the rounded corners and the home bar (portrait, and on its side) --- */
@media not all and (min-width:900px) and (orientation:landscape){
 body:not(#_) #sBand{height:calc(10px + var(--s7t))}body:not(#_) .stage.recOn #sBand{height:calc(14px + var(--s7t))}
 body:not(#_) .stage.recOn #sBandTxt{top:calc(30px + var(--s7t))!important}
 body:not(#_) #micBtn{top:calc(28px + var(--s7t))!important}
 body:not(#_) #homeBtn,body:not(#_) #micGo,body:not(#_) #micMute{top:calc(26px + var(--s7t))}
 body:not(#_) #homeBtn{left:calc(16px + var(--s7l))}body:not(#_) #micGo,body:not(#_) #micMute{right:calc(16px + var(--s7r))}
 body:not(#_) #clubBar{top:calc(88px + var(--s7t))}
 body:not(#_) #lastCard{left:calc(20px + var(--s7l))}body:not(#_) #moreBtn{right:calc(20px + var(--s7r))}
 body:not(#_) #replayBadge{left:calc(16px + var(--s7l))!important;top:calc(28px + var(--s7t))!important}
 body:not(#_) #rpOv{top:calc(86px + var(--s7t))!important;right:calc(12px + var(--s7r))!important}
 #home{padding-top:calc(18px + var(--s7t));padding-left:calc(20px + var(--s7l));padding-right:calc(20px + var(--s7r))}}
/* --- laptop: the sheet is a column on the right, over the picture; the replay's controls are centred under it --- */
@media (min-width:900px) and (orientation:landscape){
 body:not(#_){--s7bt:0px;--s7pad:52px}
 body:not(#_).s3split .g{margin-left:calc(100% - var(--s3panel))!important;border-left:0!important}
 body:not(#_).s3split .g::after{border-radius:0;border-top:0;border-left:1px solid rgba(255,255,255,.14);box-shadow:-24px 0 60px -20px #000;background:#0e1114}
 body:not(#_):not(#a).s3split #sheetBtn{top:10px!important;right:20px!important}
 body:not(#_).s3split #lastCard,body:not(#_).s3split #moreBtn{bottom:36px}body:not(#_).s3split #moreBtn{right:calc(var(--s3panel) + 24px)}body:not(#_).s3split #micGo,body:not(#_).s3split #micMute{right:calc(var(--s3panel) + 24px)}
 body:not(#_).s3split #resMeta{margin-top:8px}
 body:not(#_) .stage.replaying{padding:0 0 110px!important;align-items:center!important}
 body:not(#_) .stage.replaying #replay,body:not(#_) .stage.replaying #rpFault:not([hidden]){box-sizing:border-box;width:min(940px,calc(100% - 80px));margin:0 0 8px!important}
 body:not(#_).s3rp:not(.s3split) #resAct{left:auto;right:40px;bottom:36px;width:440px}
 body:not(#_):not(#a).s3rp:not(.s3split) #earlier:not([hidden]){left:13px;top:92px;max-width:min(36%,520px)}
 body:not(#_) .stage.replaying #ctlShow{right:40px;bottom:112px}
 body:not(#_):not(#a) .stage:not(.noCam) #status,body:not(#_):not(#a) #frameTag,body:not(#_):not(#a) #toast,body:not(#_):not(#a) #heard,body:not(#_):not(#a) #orientHint,body:not(#_):not(#a) #dtlWarn{top:118px!important;max-width:min(640px,calc(100% - 480px))!important;font-size:16px!important}
 body:not(#_):not(#a) #fsTip{left:auto!important;right:40px!important;top:112px!important;width:360px!important;margin:0!important}
 body:not(#_):not(#a) #setupCard{left:240px!important;top:112px!important}}
/* --- a phone on its side: the sheet is the right half; the replay's controls keep to the bottom --- */
@media (max-height:500px) and (orientation:landscape) and (max-width:899.98px){
 body:not(#_){--s7bt:0px;--s7pad:52px}
 body:not(#_).s3split .g{margin-left:50%!important;padding-right:var(--s7r)!important}
 body:not(#_):not(#a).s3split.s3rp #resAct{left:50%;padding-right:calc(20px + var(--s7r))}
 body:not(#_).s3split .g::after{border-radius:0;border-top:0;border-left:1px solid rgba(255,255,255,.14);background:#0e1114}
 body:not(#_):not(#a).s3split #sheetBtn{top:calc(6px + var(--s7t))!important}
 body:not(#_).s3split #micBtn{left:25%!important}body:not(#_).s3split .recw{right:50%!important}
 body:not(#_).s3split #lastCard,body:not(#_).s3split #moreBtn{bottom:calc(20px + var(--s3safe))}body:not(#_).s3split #moreBtn{right:calc(50% + 12px)}body:not(#_).s3split #micGo,body:not(#_).s3split #micMute{right:calc(50% + 12px)}
 body:not(#_) #clubBar{left:calc(12px + var(--s7l));top:calc(86px + var(--s7t))}
 body:not(#_) .stage.replaying{padding:0 0 calc(8px + var(--s3safe))!important}
 body:not(#_) .stage.replaying #replay{padding:6px 8px!important}body:not(#_) #replay button,body:not(#_) #replay select{padding:5px 8px!important}
 body:not(#_) .stage.replaying #rpFault:not([hidden]){margin-right:calc(326px + var(--s7r))!important;max-height:38%}
 body:not(#_).s3rp:not(.s3split) #resAct{left:auto;width:304px;bottom:calc(128px + var(--s3safe))}
 body:not(#_).noctl.s3rp:not(.s3split) #resAct{bottom:calc(10px + var(--s3safe))}
 body:not(#_):not(#a).s3rp:not(.s3split) #earlier:not([hidden]){display:none!important}
 body:not(#_) .stage.replaying #ctlShow{bottom:calc(10px + var(--s3safe));right:auto;left:calc(12px + var(--s7l))}
 body:not(#_) .top.open{padding-left:calc(14px + var(--s7l))!important;padding-right:calc(14px + var(--s7r))!important}
 body:not(#_):not(#a) .stage:not(.noCam) #status,body:not(#_):not(#a) #frameTag,body:not(#_):not(#a) #toast,body:not(#_):not(#a) #heard,body:not(#_):not(#a) #orientHint,body:not(#_):not(#a) #dtlWarn{top:calc(80px + var(--s7t))!important;max-width:min(520px,calc(100% - 220px))!important}
 /* on its side the golfer is in the middle of a short picture: the cards go down the left edge instead */
 body:not(#_):not(#a) #fsTip,body:not(#_):not(#a) #setupCard{top:calc(10px + var(--s7t))!important;left:calc(12px + var(--s7l))!important;right:auto!important;width:190px!important;max-width:190px!important;margin:0!important;max-height:calc(100% - 20px - var(--s7t) - var(--s3safe));overflow-y:auto;overscroll-behavior:contain}
 body:not(#_):not(#a) #fsTip{width:330px!important;max-width:330px!important}}
/* ===== v23.10.2, staging fixes round 2 (docs/v23/CHANGES-v23.10.2.md). Placed after the v23.10.1 block and written
   to win over it and the older blocks. The safe areas come from env() through --s7t / --s7l / --s7r (top,
   left, right) and --s3safe (bottom), the names the v23.10.1 block gave them. ===== */
/* --- 5. More: Figure (Premium / Simple); Shoulder and hip lines, Spine line, Hand trail --- */
body:not(#_) .top.open>#mFig{cursor:default}
.mSeg{display:flex;align-items:center;gap:2px;padding:2px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:999px;box-sizing:border-box;flex:none}
.mSeg button{all:unset;box-sizing:border-box;cursor:pointer;height:44px;min-width:64px;padding:0 14px;border-radius:999px;font:600 13px/44px Inter,system-ui,sans-serif;color:#c3c9cf;white-space:nowrap;text-align:center;-webkit-tap-highlight-color:transparent}
.mSeg button[aria-checked="true"]{background:#39ff6a;color:#05210d}
.mSeg button:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* a switch with no caption: the knob the Settings switches have (44 × 26, neon when on) */
.mSw>i{flex:none;width:44px;height:26px;border-radius:99px;background:rgba(255,255,255,.15);position:relative}
.mSw>i::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff}
.mSw[aria-checked="true"]>i{background:#39ff6a}.mSw[aria-checked="true"]>i::after{left:21px;background:#04110a}
/* --- 3. in position: a green glow round the edge of the screen for a moment (the fixed framing box is gone) --- */
.stage.fbGlow:not(.recOn):not(.replaying):not(.noCam)::after{content:"";position:absolute;inset:0;z-index:5;pointer-events:none;box-sizing:border-box;border:3px solid rgba(57,255,106,.9);
 background:linear-gradient(90deg,rgba(57,255,106,.5),rgba(57,255,106,0) 30px),linear-gradient(270deg,rgba(57,255,106,.5),rgba(57,255,106,0) 30px),linear-gradient(180deg,rgba(57,255,106,.5),rgba(57,255,106,0) 30px),linear-gradient(0deg,rgba(57,255,106,.5),rgba(57,255,106,0) 30px);
 animation:fbGlow 1.5s ease-out both}
@keyframes fbGlow{0%{opacity:0}12%{opacity:1}50%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.stage.fbGlow:not(.recOn):not(.replaying):not(.noCam)::after{animation:none;opacity:1}}
/* --- 1. Home Screen app (standalone): every full-screen overlay, sheet and dialog keeps clear of the status bar, the
   notch sides and the home bar, with its normal padding inside that. In a browser the insets are 0 and nothing moves. --- */
/* account, sign-in, the beta gate and the paywall ("Sign in to keep recording"); Send feedback: scrolling full-screen layers */
body:not(#_) #acct,body:not(#_) #fbDlg{padding:calc(28px + var(--s7t)) calc(16px + var(--s7r)) calc(28px + var(--s3safe)) calc(16px + var(--s7l))}
@media (max-width:600px){
 /* on a phone the box is the whole screen: its own colour runs under the status bar, its heading, close button and text start below it */
 body:not(#_) #acct,body:not(#_) #fbDlg{padding:0}
 body:not(#_) #acct .acBx,body:not(#_) #fbDlg .fbBx{padding:calc(16px + var(--s7t)) calc(20px + var(--s7r)) calc(28px + var(--s3safe)) calc(20px + var(--s7l))}
 body:not(#_) #acct .acX,body:not(#_) #fbDlg .fbX{top:calc(12px + var(--s7t));right:calc(12px + var(--s7r))}}
/* dialogs: consent and confirm, Backup and restore, Share with my coach, Swing of the Month (.dsDlg); the voice notice;
   who's swinging and the first-run player form; the result card; the exit screen */
body:not(#_) .dsDlg,body:not(#_) #vNotice,body:not(#_) #resCard{padding:calc(16px + var(--s7t)) calc(16px + var(--s7r)) calc(16px + var(--s3safe)) calc(16px + var(--s7l))}
body:not(#_) #whoDlg{padding:calc(14px + var(--s7t)) calc(14px + var(--s7r)) calc(14px + var(--s3safe)) calc(14px + var(--s7l))}
body:not(#_) #allClosed{padding:calc(24px + var(--s7t)) calc(24px + var(--s7r)) calc(24px + var(--s3safe)) calc(24px + var(--s7l))}
body:not(#_) .dsDlg .bx,body:not(#_) #vNotice .box,body:not(#_) #whoDlg .bx{max-height:100%}
body:not(#_) .dsDlg .bx{overflow-y:auto;overscroll-behavior:contain}
body:not(#_) #resCard{overflow-y:auto;overscroll-behavior:contain}
@media (max-width:600px){
 /* a dialog is a sheet at the bottom of a phone's screen: it keeps its own bottom padding above the home bar, and can never reach up under the status bar */
 body:not(#_) .dsDlg{padding:calc(8px + var(--s7t)) var(--s7r) 0 var(--s7l)}}
/* Settings */
body:not(#_) #opts{top:max(84px,calc(12px + var(--s7t)));right:calc(20px + var(--s7r));width:min(420px,calc(100% - 24px - var(--s7l) - var(--s7r)));max-height:calc(100vh - 110px - var(--s3safe));max-height:calc(100dvh - 110px - var(--s3safe))}
/* Swing history and the results sheet: when the sheet is scrolled up to the top of the screen, a strip of its own colour
   covers the status bar's height, so nothing of it shows under the clock. The strip belongs to the close control, which
   already knows how far the page has scrolled (--s7sy, js/session.js); until the sheet reaches the status bar it has no height. */
body:not(#_):not(#a).s3split #sheetBtn::before{content:"";position:fixed;left:0;right:0;top:0;z-index:-1;pointer-events:none;background:#0e1114;height:clamp(0px,calc(var(--s7t) + var(--s7sy,0px) - var(--s7bt)),var(--s7t))}
body:not(#_):not(#a).s3off.s3split #sheetBtn::before{height:var(--s7t)}
body:not(#_).s3off.s3split .g{padding-top:calc(52px + var(--s7t))!important}
/* the splash */
body:not(#_) #splash .spMid{padding-left:calc(20px + var(--s7l));padding-right:calc(20px + var(--s7r))}
/* --- 4. the hint above the recording lengths: all of it shows; it wraps onto a second line when the screen is narrow or the text is large --- */
body:not(#_) #recHint{box-sizing:border-box;width:auto;max-width:calc(100% - 32px - var(--s7l) - var(--s7r));height:auto;max-height:none;overflow:visible;white-space:normal;overflow-wrap:break-word;text-wrap:balance}
/* --- 2. a replay on a phone on its side opens with its transport folded: a slim bar along the bottom, beside the score
   card and Next swing. A tap on the bar brings the full controls back (js/session.js; the fold itself is the transport's own). --- */
@media (max-height:500px) and (orientation:landscape) and (max-width:899.98px){
 body:not(#_).noctl .stage.replaying{padding-bottom:calc(72px + var(--s3safe))!important}
 body:not(#_).noctl .stage.replaying #ctlShow{display:flex;align-items:center;justify-content:center;left:calc(12px + var(--s7l));right:calc(326px + var(--s7r));bottom:calc(10px + var(--s3safe));height:44px;min-height:44px;padding:0 14px;box-sizing:border-box;border-radius:22px;font:600 13px/1 Inter,system-ui,sans-serif;color:#f2f4f5}}
/* ===== v23.10.3, staging round 3 (Brian, 26 Nov 2026): in a replay the golfer comes first ===== */
/* "The replay needs to be full screen and if they have fault show on it needs to be clear and simple."
   session.js sets body.rpSlim (phones upright: a slim bar) and one transform on the replay canvas (the golfer's whole
   body fitted into the clear area). v23.10.5 (Brian): the idle fade is gone; the controls are around the picture. */
/* the ⋯ button that opens and closes the full controls: phones upright only */
#rpMoreCtl{display:none}
@media (max-width:899.98px) and (orientation:portrait){
 body:not(#_):not(#a) .stage.replaying #rpMoreCtl{display:inline-flex!important;align-items:center;justify-content:center;order:4;min-width:44px;min-height:44px;padding:0 10px!important;border-radius:22px;font:700 18px/1 Inter,system-ui,sans-serif;letter-spacing:1px}
}
/* 1. the slim bar: play / pause, speed and the slider on one line */
body:not(#_):not(#a).rpSlim .stage.replaying #replay{flex-wrap:nowrap!important;align-items:center!important;padding:6px 8px!important}
body:not(#_):not(#a).rpSlim .stage.replaying #replay .row{flex:0 0 auto!important;flex-wrap:nowrap!important}
body:not(#_):not(#a).rpSlim .stage.replaying #replay .rpScrubRow{display:flex!important;flex:1 1 0!important;min-width:0}
body:not(#_):not(#a).rpSlim .stage.replaying #replay .row:not(.rpScrubRow)>:not(#play):not(#speed):not(:has(#speed)){display:none!important}
body:not(#_):not(#a).rpSlim .stage.replaying #replay #fr{display:none!important}
/* 4. the fault: one small chip just above the controls; a tap on it is "More detail" (session.js) */
body:not(#_):not(#a) .stage.replaying #rpFault:not([hidden]){align-self:flex-start;width:auto!important;max-width:calc(100% - 24px - var(--s7l) - var(--s7r));box-sizing:border-box;margin:0 0 6px calc(12px + var(--s7l))!important;padding:7px 14px!important;border-radius:999px!important;background:rgba(16,18,21,.86)!important;cursor:pointer;max-height:none!important}
body:not(#_):not(#a) .stage.replaying #rpFault .rfRow{gap:8px!important;flex-wrap:nowrap!important}
body:not(#_):not(#a) .stage.replaying #rpFault #rfLbl{font:600 14px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(#_):not(#a) .stage.replaying #rpFault #rfLbl::after{content:"  \203A";color:#9aa1a8}
body:not(#_):not(#a) .stage.replaying #rpFault .rfRow{position:relative}
/* "More detail" covers the whole chip row, unseen: the chip is the button (its words stay for screen readers) */
body:not(#_):not(#a) .stage.replaying #rpFault #rfMore{position:absolute!important;inset:-7px -14px!important;width:auto!important;height:auto!important;min-width:0!important;min-height:44px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:transparent!important;font-size:0!important;z-index:1;cursor:pointer}
body:not(#_):not(#a) .stage.replaying #rpFault:has(#rfMore[aria-expanded="true"]){border-radius:18px!important;width:calc(100% - 24px - var(--s7l) - var(--s7r))!important;max-height:46%!important;overflow-y:auto}
/* 5. the privacy line is not over the replay picture; it stays beside Share with my coach in the results */
body:not(#_):not(#a):not(.s3split) .stage.replaying #rpCoachNote{display:none!important}
/* the zoomed picture never takes a tap meant for a button (nothing listens on the picture itself) */
body:not(#_):not(#a) .stage.replaying canvas#cv{pointer-events:none}
/* 6. a lighter, smaller guide rail */
body:not(#_):not(#a).s3rp #rpOv{transform:scale(.82);transform-origin:top right}
body:not(#_):not(#a).s3rp #rpOv .ovB:not([aria-pressed="true"]){background:rgba(16,18,21,.45)!important}
/* Swing history: this session's swings open their replay (session.js marks them) */
#hist div.hClip{position:relative;padding-left:24px}
#hist div.hClip::before{content:"\25B6";position:absolute;left:5px;top:50%;transform:translateY(-50%);font-size:11px;color:#39ff6a}
#hist div.hClip:focus-visible{outline:2px solid #fff;outline-offset:-2px}


/* 7. the longer hint Brian chose ("…and hit your shot") stays on one line on narrower phones too, so it never reaches the swings row; large text still wraps */
@media (max-width:389px){body:not(#_) #recHint{font-size:clamp(14px,4.15vw,17px)!important}}
/* v23.10.0 (redesign stage 6): Backup and restore. The dialog is the app's own .dsDlg; these are the pieces inside it. */
.bkDlg .bx{width:min(480px,100%);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto}
.bkDlg h2:focus{outline:none}
.bkDlg .bkFine{font-size:13px;color:#8b96a0}
.bkDlg .bkMsg{color:#ffd9a0;border:1px solid #f0b42966;border-radius:12px;padding:10px 12px}
.bkDlg .bkList{margin:0 0 12px;padding:0 0 0 18px;color:#e6edf3;line-height:1.45}.bkDlg .bkList li{margin:0 0 6px}
.bkDlg .bkP{border-top:1px solid #ffffff1a;padding-top:12px;margin-top:4px}.bkDlg .bkProt{margin:0 0 8px;font-size:13px}
.bkDlg .bkProt[data-state="on"]{color:#8ff0a8}.bkDlg .bkProt[data-state="off"]{color:#ffd9a0}
.bkDlg button.bkAsk{padding:9px 14px;font-size:14px}
.bkDlg button:focus-visible,#bkOpen:focus-visible,#rpSave:focus-visible,#bkImport:focus-visible{outline:2px solid #39ff6a;outline-offset:2px}
.bkDlg #bkCheck[data-ok="1"]{color:#8ff0a8}.bkDlg #bkCheck[data-ok="0"]{color:#ffd9a0}
#rpSaveMsg:empty{display:none!important}
@media(max-width:600px){.bkDlg .bx{max-height:92vh;max-height:92dvh}.bkDlg .act{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.bkDlg,.bkDlg .bx{animation:none}}
/* ===== v23.9.0, redesign stage 5, "Earlier swings" (js/earlier.js): a row of small pictures of this session's swings with
   their scores, newest first. In the results panel it sits beside the big score; on the live camera, between swings, it is
   a row above the Record controls. Each picture is a button (48 px wide, 62 px high). Nothing here moves by itself. ===== */
#earlier{display:none}#earlier[hidden]{display:none!important}
#earT{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.earS{display:flex;align-items:center;gap:6px;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;padding:3px;box-sizing:border-box;-webkit-overflow-scrolling:touch}
.earS::-webkit-scrollbar{display:none}
#earRow{display:flex;gap:6px;flex:none}
.earB{all:unset;box-sizing:border-box;position:relative;flex:none;display:block;width:48px;height:62px;border-radius:10px;overflow:hidden;cursor:pointer;background:#0b0d0e;border:1px solid rgba(255,255,255,.22);-webkit-tap-highlight-color:transparent}
.earB canvas{display:block;width:46px;height:58px;margin:1px auto 0;border-radius:8px}
.earB small{position:absolute;left:2px;top:2px;padding:1px 3px;border-radius:6px;background:rgba(0,0,0,.6);font:600 11px/1.2 Inter,system-ui,sans-serif;color:#c3c9cf}
.earB b{position:absolute;left:0;right:0;bottom:0;padding:9px 0 3px;text-align:center;background:linear-gradient(0deg,rgba(0,0,0,.88) 45%,rgba(0,0,0,0));font:700 19px/1 'Barlow Condensed',Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#8b949e}
.earB[aria-current]{border:2px solid #f2f4f5}.earB[aria-current] canvas{margin-top:0}
.earB:focus-visible,#earHist:focus-visible{outline:2px solid #fff;outline-offset:1px}
#earHist{all:unset;box-sizing:border-box;flex:none;cursor:pointer;width:64px;height:62px;border-radius:10px;border:1px solid rgba(255,255,255,.16);background:rgba(22,25,29,.75);color:#39ff6a;font:600 12px/1.25 Inter,system-ui,sans-serif;text-align:center;display:flex;align-items:center;justify-content:center;padding:0 4px;-webkit-tap-highlight-color:transparent}
/* in the results panel: to the right of the big score, on the same line, so nothing in the panel moves down */
body:not(#_).s3split #earlier:not([hidden]){display:block!important;order:2!important;position:relative;z-index:1!important;align-self:flex-end;box-sizing:border-box;width:calc(100% - 152px);margin:-76px 17px 8px 0}
body:not(#_).s3split .earS{justify-content:flex-end}
body:not(#_).s3split .earS:has(.earB:nth-child(4)){justify-content:flex-start}
body.earOld #resAct #rpCoach{display:none!important}
/* on the live camera, between swings: a row above the Record controls */
body:not(#_).earLive:not(.s3split) #earlier:not([hidden]){display:flex!important;justify-content:center;position:fixed;left:0;right:0;bottom:calc(236px + var(--s3safe));z-index:6;padding:0 9px;box-sizing:border-box;pointer-events:none}
body:not(#_).earLive:not(.s3split) .earS{pointer-events:auto}
body:not(#_).s3rec #earlier{display:none!important}
@media (min-width:900px) and (orientation:landscape){
 body:not(#_).s3split #earlier:not([hidden]){width:calc(100% - 232px);margin:-98px 29px 26px 0}
 body:not(#_).earLive:not(.s3split) #earlier:not([hidden]){justify-content:flex-start;left:37px;right:auto;bottom:128px;max-width:min(36vw,520px);padding:0}}
@media (max-height:500px) and (orientation:landscape) and (max-width:899.98px){
 body:not(#_).earLive:not(.s3split) #earlier:not([hidden]){justify-content:flex-start;left:100px;right:auto;bottom:calc(92px + var(--s3safe));max-width:calc(100vw - 120px);padding:0}}
/* ===== v23.10.5 (Brian, testing staging v23.10.4 on desktop, 27 Nov 2026) ===== */
/* head to knees (feet out of view, feet-based checks off): the label says so, in the app's amber */
#frameTag.knees{color:#f0b429}body:not(#_) #frameTag.knees{border-color:rgba(240,180,41,.45)}
/* the fault chip: the invisible "More detail" button (44 px tall) stuck out past the shorter chip, so the chip scrolled
   and desktop browsers drew a scroll bar. Folded, the chip itself is now 44 px (its row 30 px plus its own padding) and the
   button fills it exactly, so nothing sticks out. Opened, it is as before (its detail still scrolls). */
body:not(#_):not(#a) .stage.replaying #rpFault:not([hidden]):not(:has(#rfMore[aria-expanded="true"])){position:relative;overflow:hidden!important}
body:not(#_):not(#a) .stage.replaying #rpFault:not([hidden]):not(:has(#rfMore[aria-expanded="true"])) .rfRow{position:static;min-height:30px}
body:not(#_):not(#a) .stage.replaying #rpFault:not([hidden]):not(:has(#rfMore[aria-expanded="true"])) #rfMore{inset:0!important;min-height:0!important}
/* the results beside the picture on a wide screen: the page scrolls, so everything in the panel can be reached
   ("there is no way to scroll down for the info under my task bar"); the picture is fixed and stays put */
body:not(#_).s3split{overflow-y:auto!important}
/* Fixes shows every fault again (Brian): More detail lists the other faults the replay lights, by name, with their
   Full stats line, under the chip's own tip */
#rfDet .rfOthers{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding-top:8px;border-top:1px solid rgba(255,255,255,.12)}
#rfDet .rfO{display:flex;flex-direction:column;gap:2px}
#rfDet .rfOL{font:600 13px/1.3 Inter,system-ui,sans-serif;color:#f2f4f5}
#rfDet .rfOL::before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#f0b429;vertical-align:1px}
#rfDet .rfO[data-sev="red"] .rfOL::before{background:#ff5f56}
#rfDet .rfOS{font:500 12px/1.3 Inter,system-ui,sans-serif;color:#9aa1a8}
/* ===== v23.10.6 (Brian, iPhone in Chrome turned sideways: "when you do all the warnings are obscured by the listening
   pill") ===== */
/* The setup message (#envWarn, e.g. "Step into the picture") stays in the camera picture when the app was opened with
   the phone upright (after.js only moves it into the top-left box when opened another way). Turned sideways, an old
   rule then put it 52 px from the top, centred: behind the LISTENING pill. On a phone held sideways it now sits centred
   under the status line (which is under the LISTENING pill), so it is never behind either. The other way round (opened
   sideways, then held upright), the top-left box that holds it reached under the LISTENING pill on a small phone; held
   upright it now sits centred under the status line too. Layout only. */
@media (max-height:500px) and (orientation:landscape){
 body:not(#_):not(#a) .stage:not(.noCam) #envWarn:not(#v20stat *){position:absolute!important;left:50%!important;right:auto!important;top:calc(122px + var(--s7t))!important;bottom:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:min(520px,calc(100% - 220px))!important;height:auto!important;max-height:none!important;box-sizing:border-box;margin:0!important;white-space:normal!important;overflow:visible!important;text-align:center!important;z-index:9!important}
}
/* v23.10.7 (Golf Chief, a big phone sideways, 932×430): the rule above now covers every width, not only up to 899 px:
   at 900 px and wider the message had stayed top left, under End session. There the top bar is taller and the status
   line sits lower (to about 155 px), so the message goes just under it. Layout only. */
@media (max-height:500px) and (orientation:landscape) and (min-width:900px){
 body:not(#_):not(#a) .stage:not(.noCam) #envWarn:not(#v20stat *){top:calc(164px + var(--s7t))!important}
}
/* And on a laptop, or a big phone opened sideways (900 px and wider, sideways), the setup message sits in the top-left box
   (#v20stat), which started 52 px down: under End session (40 to 96 px), with the club picker just below. The box now
   sits like the message above: centred, just under the status line. */
@media (min-width:900px) and (orientation:landscape){
 body:not(#_):not(#a) .stage:not(.noCam) #v20stat{left:50%!important;right:auto!important;top:calc(164px + var(--s7t))!important;transform:translateX(-50%)!important;align-items:center!important}
}
@media (orientation:portrait) and (max-width:600px){
 body:not(#_):not(#a) .stage:not(.noCam) #v20stat{left:50%!important;right:auto!important;top:calc(204px + var(--s7t))!important;transform:translateX(-50%)!important;align-items:center!important;max-width:calc(100% - 32px - var(--s7l) - var(--s7r))!important}
}
/* "Replay next…" (session.js; v23.10.6, Brian), on the result card since v23.10.7 (Brian: "it should show whilst the
   score card is live"): a row under the coach's tip while the automatic replay waits: "Replay next…" over a thin bar in
   the splash's style (.spBar: a 3 px track, the neon fill when the time left is known, the faint fill with the moving
   sheen when it is not), and "Play now". In the card's flow, so it covers nothing on it. */
#rcNext{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:14px;row-gap:7px;margin:14px 0 0;color:#f2f4f5;font:600 14px/1.2 Inter,system-ui,sans-serif}
#rcNext[hidden]{display:none!important}
#rcNextT{grid-column:1;grid-row:1;min-width:0;overflow-wrap:anywhere;align-self:end}
#rcNext .spBar{grid-column:1;grid-row:2;align-self:start;position:relative;width:100%;height:3px;border-radius:2px;background:rgba(255,255,255,.08);overflow:hidden}
#rcNext .spBar i{position:absolute;inset:0;border-radius:2px;background:linear-gradient(90deg,rgba(57,255,106,.3),#39ff6a);box-shadow:0 0 12px rgba(57,255,106,.6);overflow:hidden;transform-origin:0 50%;transform:scaleX(1);opacity:.35;transition:transform .25s linear}
#rcNext .spBar.det i{opacity:1}
#rcNext .spBar b{position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);animation:spSheen 1.6s linear infinite}
#rcNext .spBar.det b{display:none}
#rcNextGo{all:unset;grid-column:2;grid-row:1/3;box-sizing:border-box;cursor:pointer;min-height:44px;min-width:44px;padding:0 16px;border-radius:999px;background:#39ff6a;color:#05210d;font:700 14px/44px Inter,system-ui,sans-serif;white-space:nowrap}
#rcNextGo:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){#rcNext *{animation:none!important;transition:none!important}#rcNext .spBar:not(.det) i{transform:scaleX(.4)!important;opacity:.6}#rcNext .spBar b{display:none}}
/* v23.10.7 (Brian): "Replay next…" sits just under the score; on a phone on its side (330–430 px tall) the top of the card
   is a little tighter and the score a little smaller, so the bar is on screen as the card opens, without scrolling */
@media (max-height:500px) and (orientation:landscape){#resCard .card{padding-top:18px}#resCard .meta{margin-top:2px}#resCard .hero{margin:10px 0 4px}#resCard .hero .num{font-size:92px}#resCard .hero .s{margin-top:4px}#resCard .bar{margin:10px 0 12px}#resCard #rcNext{margin:0 0 12px}}
