/* SPDX-License-Identifier: MIT */
:root{--paper:#f6f5ef;--ink:#253c35;--mint:#a9d8b9;--mint-bright:#85d9c0;--peach:#ffb192;--muted:#69786e;--line:#dce1d7;font-family:ui-rounded,'Hiragino Maru Gothic ProN','Yu Gothic',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #34765c;outline-offset:4px}button{border:0}button:hover{filter:brightness(.97)}.hidden{display:none!important}.landing{max-width:1440px;margin:auto;padding:0 6.2%}.site-header{height:116px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.wordmark{font-size:35px;font-weight:900;letter-spacing:-2px;display:flex;align-items:center;gap:3px}.wordmark>span:not(.brand-symbol):not(.wordmark-dot){font-weight:400}.brand-symbol{font-size:35px;margin-right:9px}.wordmark-dot{font-size:12px;color:#e59777;align-self:flex-start;margin-top:13px;margin-left:3px}.header-note{font-size:10px;font-weight:700;letter-spacing:1.9px}.text-button{padding:10px 0;background:none;color:var(--ink);font-size:12px;font-weight:650}.text-button span{margin-left:10px}.hero{display:grid;grid-template-columns:1.06fr 1fr;gap:30px;align-items:center;min-height:610px;padding:54px 0 65px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;margin:0 0 30px;display:flex;align-items:center;gap:9px}.status-dot{width:6px;height:6px;background:#488564;border-radius:50%}h1{font-size:clamp(42px,4.8vw,68px);font-weight:800;letter-spacing:-3.2px;line-height:1.08;margin:0 0 26px}h1>span{color:#6d987a}.hero-ja{font-size:23px;line-height:1.65;font-weight:650;letter-spacing:1px;margin:0 0 17px}.description{font-size:12px;line-height:2;color:var(--muted);margin-bottom:31px}.launch-actions{display:flex;align-items:center;gap:24px}.primary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:38px;background:var(--ink);color:#fff;border-radius:50px;font-size:12px;font-weight:700;letter-spacing:1.1px;padding:20px 27px;min-height:56px}.primary-button>span{font-size:20px}.privacy-note{font-size:9px;line-height:1.7;color:var(--muted);margin:18px 0 0}.privacy-note>span{margin-right:6px}.hero-art{position:relative;height:480px;display:flex;align-items:center;justify-content:center;isolation:isolate}.orbit{position:absolute;border:1px solid #ccd8c8;border-radius:50%;aspect-ratio:1}.orbit-one{width:93%}.orbit-two{width:72%;border-style:dashed}.orbit-three{width:50%;background:radial-gradient(circle,#d4e8cb,transparent 70%);border:0}.hero-mascot{width:91%;max-width:490px;height:auto;object-fit:cover;z-index:2;filter:drop-shadow(0 20px 15px #334c3412)}.art-spark{position:absolute;font-size:38px;z-index:3}.spark-one{left:1%;top:27%;color:#769b73}.spark-two{right:5%;top:16%;color:#e09e80;font-size:31px}.spark-three{right:3%;bottom:26%;color:#769b73;font-size:48px}.floating-label{position:absolute;background:var(--paper);border:1px solid #c8d2c3;border-radius:25px;font-size:9px;font-weight:700;letter-spacing:1px;padding:12px 15px;z-index:3}.label-one{left:2%;top:7%;transform:rotate(-8deg)}.label-one span{font-size:18px;margin-right:6px}.label-two{right:0;bottom:19%;transform:rotate(8deg)}.label-two b{padding-left:10px;color:#4c815e}.art-caption{position:absolute;bottom:5%;display:flex;align-items:center;gap:12px;font-size:9px;letter-spacing:1.7px;z-index:3}.equalizer{display:flex;align-items:center;gap:3px;height:25px}.equalizer i{width:3px;height:10px;background:#6e8e6a;border-radius:3px}.equalizer i:nth-child(2n){height:20px}.equalizer i:nth-child(3){height:25px}.art-floor{position:absolute;bottom:14%;width:53%;height:22px;background:#b6c9ac48;border-radius:50%;z-index:-1}.how-it-feels{border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);padding:34px 0 35px;gap:32px}.how-it-feels article+article{border-left:1px solid var(--line);padding-left:37px}.step-number{font-size:9px;letter-spacing:1.5px;font-weight:650;color:#7b8c7a}h2{font-size:22px;font-weight:700;letter-spacing:-.4px;margin:14px 0 12px}.how-it-feels p,.setup-strip p{font-size:11px;line-height:1.9;color:var(--muted);margin:0}.setup-strip{background:#e7eddf;border-radius:12px;padding:22px 26px;display:flex;align-items:center;gap:21px}.setup-icon{font-size:32px}.setup-strip strong{font-size:12px}.setup-strip p{margin-top:5px}.course-option{font-size:11px;display:flex;align-items:center;gap:7px;margin-left:auto;white-space:nowrap}input[type=checkbox]{accent-color:#477359;width:16px;height:16px}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:31px 0;font-size:9px;color:var(--muted)}.site-footer>div{display:flex;gap:18px}.site-footer>span:last-child{font-size:8px;letter-spacing:.5px}
.play{width:100%;height:100svh;min-height:520px;background:#162a27;color:#fff;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);overflow:hidden}.play-header{height:62px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 22px}.wordmark.small{font-size:25px}.small .wordmark-dot{margin-top:7px;font-size:9px}.mode-label{font-size:9px;letter-spacing:2px;color:#b4d0c5}.round-button{border-radius:50%;width:36px;height:36px;background:#ffffff12;color:#fff}.stage{flex:1;min-height:0;position:relative;background:radial-gradient(ellipse at center,#304940,#162a27);overflow:hidden;touch-action:none}.stage video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1);display:block;opacity:.8}.stage canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.stage-scrim{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;gap:22px;text-align:center;background:#1225238c;backdrop-filter:blur(3px)}.stage-message{font-size:20px;line-height:1.6;max-width:340px;white-space:pre-line}.stage-message.countdown{font-size:88px;font-weight:750}.demo-badge{position:absolute;left:12px;top:8px;font-size:10px;color:#bed9d0;background:#182a26cc;border-radius:20px;padding:9px 12px;pointer-events:none}.course-cue{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:13px;border-radius:20px;background:#182a26b0;padding:10px 18px;white-space:nowrap;pointer-events:none}.course-cue:empty{display:none}.play-bottom{padding:18px 24px 12px;flex-shrink:0;max-width:760px;width:100%;margin:0 auto}.energy-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1.3px}.energy-top b{font-size:29px;letter-spacing:-1px;margin-left:8px}.cycle{color:#aacdbb;font-size:9px}.energy-track{height:4px;background:#ffffff13;border-radius:5px;margin:12px 0}.energy-track span{height:100%;display:block;width:0;background:#a9d8b9;border-radius:5px;transition:width .3s}.layers{display:flex;gap:7px;justify-content:space-between;margin-bottom:15px}.layers span{font-size:9px;border:1px solid #ffffff1c;padding:6px 8px;border-radius:12px;color:#738e83}.layers span.on{color:#c5ebd5;border-color:#6f997c;background:#507d5725}.play-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.control-button{border:1px solid #ffffff22;color:inherit;background:transparent;border-radius:20px;padding:9px 13px;font-size:11px}.volume-label,.motion-label{font-size:10px;display:flex;align-items:center;gap:7px}.volume-label input{width:65px;accent-color:#a9d8b9}.motion-label{margin-left:auto}.play-privacy{display:flex;justify-content:space-between;gap:10px;margin-top:12px;font-size:8px;color:#91aaa0}.play.fever{background:#284338}.play.fever .energy-track span{background:#ffb192}.play.fever .cycle{color:#ffb192}.modal{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:24px;padding:38px;max-width:480px;width:calc(100% - 32px)}.modal::backdrop{background:#142722a6;backdrop-filter:blur(6px)}.modal .eyebrow{margin-bottom:14px}.modal h2{font-size:29px}.modal>p{font-size:12px;line-height:1.9}.modal .primary-button{width:100%;margin-top:16px;font-size:11px}.result-stats{display:flex;justify-content:space-between;padding:24px 0;margin:20px 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.result-stats div{display:flex;flex-direction:column;gap:8px}.result-stats b{font-size:35px;letter-spacing:-1px}.result-stats span{font-size:8px;letter-spacing:2px}.muted{color:var(--muted)}.modal-actions{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.modal .control-button{border-color:var(--line)}.history-row{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:12px}.diagnostics{position:fixed;left:8px;bottom:8px;background:#111d;z-index:50;color:#fff;font-size:10px;padding:8px;max-width:90vw}.diagnostics pre{white-space:pre-wrap}.update-banner{position:fixed;left:50%;bottom:15px;transform:translateX(-50%);z-index:70;background:var(--ink);color:#fff;border-radius:20px;padding:14px 20px;font-size:12px;max-width:95vw;width:max-content}.update-banner button{background:none;color:#b7dfbe;text-decoration:underline;margin-left:10px}
@media(min-width:900px){.play{max-width:700px;margin:auto;border-left:1px solid #36473c;border-right:1px solid #36473c}body:has(.landing.hidden){background:#0e1b17}.hero-art{height:clamp(390px,36vw,500px)}}
@media(max-width:760px){.landing{padding:0 7%}.site-header{height:83px}.wordmark{font-size:28px}.brand-symbol{font-size:29px;margin-right:6px}.wordmark-dot{margin-top:9px;font-size:10px}.header-note{display:none}.hero{grid-template-columns:1fr;padding:37px 0 30px;gap:4px;min-height:0}.hero-copy{z-index:4}.eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:22px}h1{font-size:clamp(36px,9.9vw,67px);letter-spacing:-2px;margin-bottom:20px}.hero-ja{font-size:18px;line-height:1.65;margin-bottom:12px}.description{font-size:10px;margin-bottom:22px}.primary-button{font-size:10px;padding:16px 22px;gap:22px;min-height:51px}.launch-actions{gap:17px}.demo-button{font-size:10px}.privacy-note{font-size:8px;max-width:290px}.hero-art{height:330px;max-width:390px;width:100%;margin:8px auto 0}.hero-mascot{width:86%}.orbit-one{width:90%}.floating-label{font-size:8px;padding:10px}.label-one{top:9%;left:1%}.label-two{bottom:23%}.art-caption{font-size:8px;bottom:2%}.how-it-feels{gap:15px;padding:26px 0}.how-it-feels article+article{padding-left:15px}.step-number{font-size:7px;letter-spacing:.5px}.how-it-feels h2{font-size:13px;letter-spacing:-.6px;margin:11px 0 8px}.how-it-feels p{font-size:9px;line-height:1.8}.how-it-feels p br{display:none}.setup-strip{padding:20px 17px;gap:12px;flex-wrap:wrap}.setup-icon{font-size:26px}.setup-strip>div{flex:1}.setup-strip strong{font-size:10px;line-height:1.8}.setup-strip p{font-size:9px}.course-option{margin-left:38px}.site-footer{flex-wrap:wrap;font-size:8px;gap:16px;padding:25px 0}.site-footer>div{gap:12px;flex-wrap:wrap}.site-footer>span:last-child{display:none}.play-header{height:55px;padding:0 18px}.play-bottom{padding:14px 16px 10px}.volume-label input{width:50px}.layers{gap:4px}.layers span{font-size:8px;padding:5px 7px}.motion-label{font-size:9px}.play-controls{gap:6px}.control-button{padding:9px 10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
 .privacy-page { max-width:760px; margin:0 auto; padding:64px 28px; line-height:1.9; }
 .privacy-page h1 { font-size:clamp(30px,5vw,48px); line-height:1.4; margin:32px 0; }
 .privacy-page h2 { margin:38px 0 10px; font-size:22px; }
 .privacy-page .primary-button { display:inline-flex; text-decoration:none; margin-top:24px; }
.audio-check{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px;font-size:10px;color:#b4d0c5}.audio-check button{min-height:44px;padding:10px 16px;border-color:#719c85;color:#d1efdc}.audio-check.needs-audio{color:#ffcfb9}.audio-check.needs-audio button{background:#ffb192;color:#162a27;border-color:#ffb192}
.audio-check{flex-wrap:wrap}.audio-help{width:100%;font-size:9px;line-height:1.7;color:#b4d0c5}
.rally{position:absolute;right:14px;top:10px;text-align:right;pointer-events:none;display:flex;flex-direction:column;gap:2px;color:#d5eee3}.rally span{font-size:7px;letter-spacing:1.4px}.rally b{font-size:25px;font-weight:900;line-height:1.1}.celebration{position:absolute;top:52px;left:8px;right:8px;pointer-events:none;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;text-shadow:0 2px 14px #102723;color:#fff;z-index:2}.celebration strong{font-size:clamp(25px,7.5vw,43px);font-weight:950;letter-spacing:-1px;line-height:1.1}.celebration span{font-size:11px;line-height:1.5;color:#d5eee3}.celebration.fever strong{font-size:clamp(43px,13vw,65px);color:#ffe486;text-shadow:0 3px 0 #985980,0 0 28px #ffe48666}.celebration.unlock strong{color:#85d9c0}.celebration.near strong{font-size:clamp(20px,5vw,29px);color:#ffe486}.celebration.rest strong{color:#c6e4d2}.play.fever .stage{box-shadow:inset 0 0 52px #ca82d548}.play.fever .energy-top b{color:#ffe486}.play.fever .rally{color:#ffe486}.play.near-fever .energy-track span{background:#ffe486}.play.near-fever .cycle{color:#ffe486}.layers span.on{animation:layer-arrival .55s ease-out}.play.fever .layers span.on{color:#ffe9c0;border-color:#d3aa71;background:#8b66372b}@keyframes layer-arrival{0%{transform:scale(.85);background:#85d9c066}55%{transform:scale(1.12)}100%{transform:scale(1)}}.play.reduced-effects .layers span{animation:none}.play.reduced-effects .stage{box-shadow:none}.demo-badge{max-width:calc(100% - 105px)}

/* Camera fills the play surface; detailed controls live in the pause dialog. */
.play{position:relative;height:100svh;height:100dvh;min-height:0;padding:0}.play .stage{position:absolute;inset:0}.stage video{opacity:.92}.play-hud{position:absolute;z-index:4;top:calc(env(safe-area-inset-top) + 12px);left:14px;right:14px;display:flex;align-items:center;gap:12px;pointer-events:none}.hud-energy{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:0 7px;background:#122723b8;border:1px solid #c1ebd52b;border-radius:17px;padding:9px 12px;min-width:115px;backdrop-filter:blur(8px)}.hud-energy>span{font-size:9px;font-weight:750;letter-spacing:1px}.hud-energy b{font-size:27px;line-height:1.1;letter-spacing:-1px}.hud-energy .energy-track{grid-column:1/-1;width:100%;margin:7px 0 0;height:3px}.current-sound{font-size:12px;font-weight:750;text-shadow:0 1px 8px #122723;background:#122723a8;padding:9px 12px;border-radius:20px}.hud-pause{pointer-events:auto;margin-left:auto;color:#fff;background:#122723cc;border:1px solid #c1ebd52b;border-radius:22px;min-width:74px;min-height:48px;font-size:18px}.hud-pause span{font-size:10px;margin-left:3px}.play>.cycle{position:absolute;top:calc(env(safe-area-inset-top) + 84px);left:50%;transform:translateX(-50%);padding:7px 14px;border-radius:20px;background:#122723b8;white-space:nowrap;font-size:11px;font-weight:750;pointer-events:none}.play .demo-badge{top:auto;bottom:calc(env(safe-area-inset-bottom) + 14px);left:14px;max-width:calc(100% - 28px);font-size:9px}.play .celebration{top:calc(env(safe-area-inset-top) + 126px)}.play .course-cue{bottom:calc(env(safe-area-inset-bottom) + 48px);font-size:11px;max-width:95%;white-space:normal;text-align:center}.sound-alert{position:absolute;z-index:5;right:14px;bottom:calc(env(safe-area-inset-bottom) + 14px);color:#162a27;background:#ffb192;border-radius:24px;padding:12px 18px;font-weight:700;min-height:44px}.play.fever .hud-energy b{color:#ffe486}.settings{background:#19352f;color:#e2f1e9;border-color:#507265;padding:28px;max-height:calc(100dvh - 32px);overflow:auto}.settings::backdrop{background:#071914b8}.settings .muted,.settings .eyebrow{color:#b4d0c5}.settings .session-summary{display:flex;align-items:center;gap:18px;margin:22px 0;font-size:11px;color:#c6e4d2}.settings .rally{position:static;margin-left:auto;text-align:right;color:#c6e4d2}.settings .rally b{font-size:20px}.settings .layers{flex-wrap:wrap;gap:5px}.settings .layers span{animation:none;padding:7px 9px;font-size:9px}.settings .audio-check{margin:22px 0 18px}.settings .control-button{border-color:#719c85;min-height:44px}.settings-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.settings .volume-label{flex:1;font-size:12px}.settings .volume-label input{flex:1;width:100%;min-width:80px;min-height:44px}.settings .motion-label{width:100%;margin:5px 0;font-size:12px;min-height:36px}.settings .play-privacy{font-size:9px;flex-wrap:wrap;margin:16px 0}.settings .primary-button{background:#a9e1c5;color:#19352f;min-height:52px;font-size:12px}.settings-finish{display:block;margin:12px auto 0;color:#b4d0c5;min-height:44px}.stage-scrim{z-index:3}.play .celebration{z-index:2}

.reach-label{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:12px;margin-bottom:10px}.reach-label select{font:inherit;min-height:44px;max-width:70%;border:1px solid #719c85;border-radius:14px;background:#19352f;color:#e2f1e9;padding:10px 12px}

/* Camera framing and the mapper use the same centered crop. */
.play.fit-camera .stage video{object-fit:contain}

.body-setup{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin:20px 0;max-width:370px;font-size:12px}.body-setup select{font:inherit;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:12px;border-radius:12px;min-height:44px;min-width:0}.body-setup p{grid-column:1/-1;margin:0;color:var(--muted);font-size:11px;line-height:1.8}
.fever-levels{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0}.fever-levels span{border:1px solid #ffffff28;padding:7px 9px;font-size:9px;border-radius:12px;color:#b4d0c5}.fever-levels span.on{background:#ffe48618;border-color:#ffe486;color:#ffe486}
.play{--fever-color:#ffe486}.play[data-fever-level="2"]{--fever-color:#8af4bf}.play[data-fever-level="3"]{--fever-color:#88caff}.play[data-fever-level="4"]{--fever-color:#dba3ff}.play[data-fever-level="5"]{--fever-color:#ff9ecb}.play.fever .hud-energy b,.play.fever>.cycle,.play.fever .celebration strong{color:var(--fever-color)}.play.fever .energy-track span{background:var(--fever-color)}.play.fever .hud-energy{border-color:var(--fever-color)}
@media(max-width:420px){.play>.cycle{font-size:10px;max-width:95%;padding:7px 10px}.body-setup{max-width:100%}}

/* Language selection and a camera-visible setup guide. */
.header-actions{display:flex;align-items:center;gap:20px}.language-control{display:flex;align-items:center;gap:8px;font-size:10px}.language-control select{font:inherit;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:8px;background:var(--paper);color:var(--ink)}.language-control>span{font-size:9px}.hero-ja,.description,.how-it-feels p,.privacy-page h1{white-space:pre-line}.settings-controls>.language-control{width:100%;justify-content:space-between}.settings-controls>.language-control select{background:#19352f;color:#e2f1e9;border-color:#719c85}.session-summary #mode-label{min-width:0;max-width:52%;font-size:10px;line-height:1.5}.session-summary time,.session-summary .rally{flex-shrink:0}.privacy-page>.language-control{margin:20px 0}
/* Keep setup controls below the body; the rest of the camera stays clear. */
.stage-scrim.calibrating{justify-content:flex-end;gap:6px;padding:90px 12px max(12px,env(safe-area-inset-bottom));background:none;backdrop-filter:none;pointer-events:none}
.calibrating .stage-message{order:0;width:100%;max-width:430px;background:#102822db;border:1px solid #a9d8b933;border-radius:14px;padding:9px 12px;font-size:14px;line-height:1.5}
.calibration-panel{order:1;width:100%;max-width:430px;background:#102822d9;border:1px solid #a9d8b959;border-radius:16px;padding:8px 12px 0;color:#e2f1e9;pointer-events:auto}
.calibration-checks{display:flex;gap:8px;margin:0 0 7px}
.calibration-checks>span{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;font-size:11px;min-height:24px}
.calibration-checks small{font-size:10px;color:#b4d0c5;white-space:nowrap}
.calibration-checks .seen small{color:#85d9c0}
.calibration-progress{height:3px;background:#ffffff26;border-radius:5px;overflow:hidden}
.calibration-progress>span{display:block;height:100%;width:0;background:#85d9c0;transition:width .15s}
.calibration-details summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:11px;color:#bce4d2;cursor:pointer;list-style:none;text-align:left}
.calibration-details summary::-webkit-details-marker{display:none}
.calibration-details summary::after{content:'＋';font-size:18px}
.calibration-details[open] summary::after{content:'−'}
.calibration-details-content{max-height:35dvh;overflow:auto;padding:0 0 12px;text-align:left}
.calibration-panel .eyebrow{font-size:12px;letter-spacing:0;margin:0 0 6px}
.calibration-panel p{margin:0 0 10px;line-height:1.5;font-size:12px}
.calibration-panel .calibration-tip{font-size:10px;color:#b4d0c5;margin:8px 0}
.calibration-mode{display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:11px}
.calibration-mode select{max-width:76%;min-width:0;font:inherit;min-height:44px;background:#19352f;color:#e2f1e9;border:1px solid #719c85;border-radius:10px;padding:8px}
.calibration-details .language-control{justify-content:flex-end;margin-top:6px}
.calibration-details .language-control select{background:#19352f;color:#e2f1e9;border-color:#719c85}
.calibration-guide{position:absolute;z-index:1;pointer-events:none;top:100px;left:50%;transform:translateX(-50%);height:clamp(120px,38dvh,310px);max-height:calc(100% - 270px);color:#ffffff70}
.calibration-guide svg{height:100%;width:auto}
.calibration-guide:not(.full-body) .full-only{display:none}
.calibration-guide.seen-shoulders .guide-shoulders,.calibration-guide.seen-hands .guide-hands,.calibration-guide.seen-hips .guide-hips{stroke:#85d9c0;stroke-width:6}
.stage-scrim.counting{background:#10282233;backdrop-filter:none}
.countdown-note{font-size:14px;line-height:1.6;max-width:320px;background:#102822d9;padding:14px;border-radius:16px}
@media(max-width:680px){.site-header{gap:8px}.header-actions{gap:6px;flex-direction:column;align-items:flex-end}.header-actions .language-control>span{display:none}.header-actions #history-open{font-size:10px;padding:0}.language-control select{font-size:11px}}
@media(max-height:650px){.calibration-guide{top:90px;height:25dvh;max-height:calc(100% - 245px)}.calibrating .stage-message{padding:8px 10px;font-size:13px}.calibration-checks>span{flex-direction:column;gap:2px}.calibration-details-content{max-height:28dvh}}
@media(max-height:420px){.calibration-guide{display:none}.stage-scrim.calibrating{padding-top:78px}.calibration-checks>span{flex-direction:row}.calibration-details-content{max-height:22dvh}.calibrating .stage-message{padding:6px 10px}}
@media(max-width:680px){.setup-strip{display:grid;grid-template-columns:24px 1fr;gap:12px}.setup-strip>div{min-width:0}.setup-strip .course-option{grid-column:2;white-space:nowrap;justify-self:start}.setup-strip strong{display:block}.launch-actions{flex-wrap:wrap;gap:8px}.launch-actions .primary-button{justify-content:center;flex-basis:100%}.launch-actions .demo-button{flex-basis:100%;text-align:center}.session-summary{gap:12px!important}}
@media(max-width:420px){.how-it-feels{grid-template-columns:1fr;gap:18px}.how-it-feels article{padding:0 0 18px;border-right:0;border-bottom:1px solid var(--line)}.how-it-feels article:last-child{border-bottom:0}.how-it-feels h2{font-size:20px}.how-it-feels p{font-size:12px}}
/* The short practice prompt sits clear of its central targets. */
.practice{position:absolute;z-index:5;bottom:24px;left:50%;transform:translateX(-50%);width:min(90%,420px);padding:12px 16px;border:1px solid #85d9c060;border-radius:18px;background:#102c26e8;text-align:center;display:grid;gap:8px;pointer-events:none}
.practice strong{font-size:14px;color:#e2f1e9}.practice button{pointer-events:auto;border:0;background:transparent;color:#a9deca;font:inherit;font-size:12px;padding:8px;cursor:pointer;min-height:36px}
.rising #cycle{color:#ffe486;border-color:#ffe48670;background:#22302de6}
#result{max-height:calc(100dvh - 32px);overflow:auto;width:min(94vw,480px);padding:20px}
#result-card{display:block;width:100%;height:auto;border-radius:20px;margin:16px 0}
#result .result-stats{margin:12px 0}#result .result-peak{font-size:14px;color:#a9deca}
.card-actions{display:grid;gap:10px}.card-actions button{width:100%;min-height:48px}
#result-close{display:block;width:100%;padding:12px;border:0;background:transparent;color:inherit;cursor:pointer}

/* Dopa Record uses the same processed pixels for preview and recording. */
.record-setup{margin:20px 0;padding:18px;border:1px solid #387266;border-radius:20px;background:#183c3420;font-size:14px}.record-setup label{display:flex;gap:10px;align-items:center;margin:12px 0}.record-setup input{accent-color:#347d70;width:18px;height:18px}.record-setup select{max-width:100%;padding:9px;border-radius:10px}.record-setup .muted{font-size:12px;margin:8px 0}#setup-preview{width:100%;max-height:400px;object-fit:contain;background:#102c29;border-radius:15px}#private-scene{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}#play.masked #camera{opacity:0}#canvas{z-index:2}.record-indicator{position:absolute;bottom:18px;right:16px;font-size:10px;letter-spacing:.08em;padding:7px 10px;border-radius:20px;color:#ddfff3;background:#15342de0;pointer-events:none}.record-result{padding:16px 0}.record-result progress{width:100%;accent-color:#347d70}.record-result video{width:100%;max-height:65vh;background:#102c29;border-radius:16px}.record-result .card-actions{flex-wrap:wrap}.record-result .muted{font-size:12px}#result{max-height:90dvh;overflow:auto}.record-setup .eyebrow{font-size:10px}

.poc-controls{max-width:340px;font-size:12px}.poc-controls label{display:block;margin:8px 0}.poc-controls input,.poc-controls select,.poc-controls textarea{display:block;max-width:100%;width:100%;box-sizing:border-box}.poc-controls p{white-space:normal}

.face-notice{position:absolute;left:14px;bottom:64px;max-width:270px;padding:8px 12px;border-radius:14px;font-size:11px;color:#effff7;background:#15342de8;pointer-events:none;z-index:2}.record-result .secondary-button{border:1px solid #528d7e;border-radius:30px;padding:14px 20px;color:#173c32;background:#e4eee8;font-weight:700;font-size:12px;min-height:44px;cursor:pointer}.record-result button:disabled{opacity:.5;cursor:default}

.record-setup summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;font-weight:700;gap:12px}.record-setup summary small{font-size:10px;letter-spacing:.06em;white-space:nowrap}.record-setup[open] summary{margin-bottom:16px}.record-setup:not([open]){padding:14px 16px;margin:14px 0}.record-setup[open] .eyebrow{margin-bottom:10px}

.face-notice.setup-notice{top:calc(env(safe-area-inset-top) + 88px);bottom:auto;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);z-index:4;text-align:center}
