@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap";:root{--ink:#1f344b;--navy:#1b2e46;--muted:#708095;--peach:#f48378;--cream:#fcf9f3;--line:#e8e9e6}*{box-sizing:border-box}html,body{background:var(--cream);min-height:100%;color:var(--ink);margin:0;font-family:DM Sans,sans-serif}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #4899b0}a{color:inherit;text-decoration:none}.app-shell{background:#fbf9f4;min-height:100vh;position:relative;overflow:hidden}.ambient-grid{pointer-events:none;opacity:.22;background-image:radial-gradient(#cbd4d1 .65px,#0000 .65px);background-size:18px 18px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#0000 20%,#000 100%);mask-image:linear-gradient(90deg,#0000 20%,#000 100%)}.topbar,.site-footer,.main-grid{z-index:1;position:relative}.topbar{background:#fbf9f4c2;border-bottom:1px solid #ebece7;justify-content:space-between;align-items:center;height:91px;padding:0 clamp(24px,3.5vw,64px);display:flex}.brand,.phone-brand{color:var(--navy);letter-spacing:-1.4px;background:0 0;border:0;align-items:center;gap:12px;padding:0;font:800 23px/1 Outfit,sans-serif;display:inline-flex}.brand-light,.phone-brand>span:last-child{color:#f08174;font-weight:500}.brand-mark{border:3px solid #ed8277;border-radius:11px;place-items:center;width:31px;height:31px;display:grid;transform:rotate(-12deg)}.brand-mark span{background:#ed8277;border-radius:50%;width:10px;height:10px}.topbar-right{align-items:center;gap:12px;display:flex}.eyebrow-chip{letter-spacing:1.8px;color:#6d7c8c;align-items:center;gap:9px;margin-right:21px;font-size:10px;font-weight:800;display:flex}.live-dot,.status-dot,.pair-indicator{background:#f68b79;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 4px #f68b7924}.icon-button{color:#7d8b99;background:#fff;border:1px solid #e9ebe8;border-radius:10px;place-items:center;width:37px;height:37px;display:grid}.icon-button:hover{color:var(--ink);border-color:#aab7bd}.main-grid{grid-template-columns:minmax(0,1.6fr) minmax(350px,.95fr);align-items:center;gap:clamp(32px,4.5vw,80px);max-width:1600px;min-height:calc(100vh - 140px);margin:auto;padding:clamp(30px,4vw,62px) clamp(24px,3.5vw,64px);display:grid}.game-panel{align-self:center;min-width:0}.game-stage{aspect-ratio:1.48;background:#3e6185;border-radius:27px;height:auto;min-height:450px;position:relative;overflow:hidden;box-shadow:0 38px 80px #263a492b,0 4px 10px #263a4912}.game-canvas{width:100%;height:100%;display:block}.game-vignette{pointer-events:none;background:linear-gradient(#12254033,#0000 26% 55%,#17283d5e);position:absolute;inset:0}.stage-top{justify-content:space-between;align-items:center;display:flex;position:absolute;top:23px;left:27px;right:27px}.stage-pill{color:#39536b;letter-spacing:1.4px;background:#fffffff0;border-radius:8px;padding:11px 13px;font-size:10px;font-weight:800}.stage-mode{color:#fff;text-shadow:0 2px 10px #274358;font-size:12px;font-weight:700}.stage-caption{color:#fff;text-shadow:0 2px 12px #16233a4d;align-items:center;gap:13px;font:600 16px/1.4 Outfit,sans-serif;display:flex;position:absolute;bottom:28px;left:30px}.stage-caption p{margin:0}.caption-line{background:#fac68d;border-radius:2px;width:4px;height:42px}.game-hud{color:#fff;text-shadow:0 2px 9px #253c54;align-items:end;gap:30px;display:flex;position:absolute;bottom:28px;left:30px}.game-hud>div{flex-direction:column;display:flex}.game-hud small{letter-spacing:1.5px;opacity:.83;font:800 10px DM Sans,sans-serif}.game-hud strong{font:800 28px Outfit,sans-serif}.game-hud .hearts{flex-direction:row;gap:5px;margin-bottom:6px;display:flex}.stage-pause{color:#fff;white-space:nowrap;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#162b42cf;border-radius:12px;padding:15px 21px;font-size:14px;font-weight:700;position:absolute;top:52%;left:50%;transform:translate(-50%,-50%)}.game-over{color:#fff;background:#152b41c9;flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex;position:absolute;inset:0}.game-over span{letter-spacing:3px;font-size:13px;font-weight:800}.game-over strong{font:800 45px Outfit,sans-serif}.game-over button{color:#263f58;background:#ffbca0;border:0;border-radius:9px;padding:13px 22px;font-weight:800}.controls-strip{color:#66768a;justify-content:center;gap:clamp(18px,4vw,58px);padding-top:26px;font-size:12px;font-weight:700;display:flex}.controls-strip>div{align-items:center;gap:9px;display:flex}.control-icon{color:#ed857b;justify-content:center;align-items:center;min-width:25px;height:24px;display:flex}.jump-icon{font:900 25px Outfit,sans-serif}.side-panel{max-width:510px;padding:13px 0 8px}.intro-tag,.side-kicker{color:#e77d73;letter-spacing:1.8px;align-items:center;gap:9px;font-size:11px;font-weight:800;display:inline-flex}.side-panel h1,.side-panel h2,.phone-heading h1{letter-spacing:-3.3px;color:#263c55;font-family:Outfit,sans-serif}.side-panel h1{margin:25px 0 23px;font-size:clamp(48px,5vw,76px);font-weight:800;line-height:1.02}.side-panel h1 em,.side-panel h2 em,.phone-heading h1 em{color:#ef8478;font-style:normal}.intro-copy,.side-copy{color:#68788c;max-width:450px;margin:0;font-size:15px;line-height:1.75}.choice-list{gap:12px;margin-top:30px;display:grid}.choice{text-align:left;color:#263c55;background:#fff;border:1px solid #e7eae8;border-radius:15px;align-items:center;gap:15px;width:100%;min-height:83px;padding:15px 18px;display:flex;box-shadow:0 4px 20px #2d3b4b06}.choice:hover{border-color:#ed9b8f;transform:translateY(-2px);box-shadow:0 12px 28px #2d3b4b14}.choice,.big-action,.phone-start{transition:transform .2s,box-shadow .2s,border-color .2s}.primary-choice{color:#fff;background:#243b56;border-color:#243b56;box-shadow:0 12px 24px #223d5526}.choice-icon{color:#f08275;background:#f6f5f2;border-radius:12px;flex:none;place-items:center;width:48px;height:48px;display:grid}.primary-choice .choice-icon{color:#fbc7a0;background:#405a76}.choice>span:nth-child(2){flex-direction:column;flex:1;gap:5px;display:flex}.choice strong{font:700 17px Outfit,sans-serif}.choice small{color:#8390a0;font-size:12px}.primary-choice small{color:#bac5cf}.demo-link{color:#eb8176;background:0 0;border:0;align-items:center;gap:9px;margin-top:6px;padding:16px 3px;font-size:12px;font-weight:800;display:flex}.demo-link svg:last-child{margin-left:2px}.intro-footer{color:#9ba6af;border-top:1px solid #e5e8e7;gap:13px;margin-top:22px;padding-top:22px;font-size:11px;line-height:1.5;display:flex}.intro-footer p{margin:0}.intro-footer b{color:#7b8a98}.footer-icon{color:#ed9b89;font-size:22px}.site-footer{letter-spacing:1.3px;color:#a4afb7;border-top:1px solid #ebece7;justify-content:space-between;align-items:center;height:49px;padding:0 clamp(24px,3.5vw,64px);font-size:10px;font-weight:800;display:flex}.back-link{color:#7b8a96;background:0 0;border:0;align-items:center;gap:8px;margin-bottom:28px;padding:0;font-size:12px;font-weight:700;display:flex}.back-link:hover{color:#263c55}.side-panel h2{margin:16px 0 15px;font-size:clamp(45px,4vw,61px);line-height:1.04}.side-copy{font-size:14px;line-height:1.6}.qr-card{background:#fff;border-radius:19px;width:198px;height:198px;margin:24px 0 12px;padding:11px;position:relative;box-shadow:0 14px 35px #24394f1f}.qr-card img{width:100%;height:100%;image-rendering:pixelated;display:block}.qr-corner{border:3px solid #f08678;width:23px;height:23px;position:absolute}.qr-corner.one{border-bottom:0;border-right:0;border-radius:8px 0 0;top:-5px;left:-5px}.qr-corner.two{border-top:0;border-left:0;border-radius:0 0 8px;bottom:-5px;right:-5px}.qr-loading,.error-box{color:#8390a0;padding:55px 20px}.error-box{color:#ab4d4c;flex-direction:column;display:flex}.error-box button{text-align:left;color:#ea8073;background:0 0;border:0;padding:15px 0;font-weight:800}.session-code{align-items:center;gap:10px;display:flex}.session-code span{color:#a0aab2;letter-spacing:1.2px;font-size:10px;font-weight:800}.session-code strong{letter-spacing:1.5px;font:800 16px Outfit,sans-serif}.session-code button{color:#ea8176;background:0 0;border:0}.connection{color:#8a98a1;margin-top:16px;font-size:12px;font-weight:700}.connection .live-dot{margin-right:8px}.connection.is-connected{color:#489b82}.connection.is-connected .live-dot{background:#5fcda9;box-shadow:0 0 0 4px #5fcda926}.mode-select{margin:20px 0}.mode-select label{letter-spacing:1.5px;color:#a0aab2;margin-bottom:10px;font-size:10px;font-weight:800;display:block}.mode-select>div{flex-wrap:wrap;gap:6px;display:flex}.mode-select button{color:#758699;background:#fff;border:1px solid #e6e9e6;border-radius:8px;padding:9px 10px;font-size:11px;font-weight:800}.mode-select button.active{color:#fff;background:#28435e;border-color:#28435e}.big-action{color:#fff;background:#f18779;border:0;border-radius:11px;justify-content:space-between;align-items:center;width:100%;padding:17px 20px;font:800 15px Outfit,sans-serif;display:flex;box-shadow:0 10px 25px #ef867947}.big-action:hover,.phone-start:hover{transform:translateY(-2px)}.keyboard-guide{border:1px solid var(--line);background:#fff;border-radius:15px;gap:12px;margin:26px 0;padding:18px;display:grid}.keyboard-guide>div{align-items:center;gap:7px;display:flex}.keyboard-guide kbd{color:#344d64;border:1px solid #dbe1e1;border-radius:6px;place-items:center;width:33px;height:30px;font-weight:800;display:grid;box-shadow:0 2px #dbe1e1}.keyboard-guide span{color:#83909c;margin-left:12px;font-size:12px}.camera-card{background:#203d58;border:1px solid #274860;border-radius:14px;overflow:hidden}.camera-frame{aspect-ratio:4/3;position:relative;overflow:hidden}.camera-frame video,.camera-frame canvas{object-fit:cover;width:100%;height:100%;position:absolute;inset:0;transform:scaleX(-1)}.camera-frame canvas{z-index:1}.camera-corner{z-index:2;border-style:solid;border-color:#c8f4db;width:21px;height:21px;position:absolute}.tl{border-width:3px 0 0 3px;top:12px;left:12px}.tr{border-width:3px 3px 0 0;top:12px;right:12px}.bl{border-width:0 0 3px 3px;bottom:12px;left:12px}.br{border-width:0 3px 3px 0;bottom:12px;right:12px}.camera-status{color:#d6e3e8;background:#1f344b;align-items:center;gap:9px;padding:10px 13px;font-size:11px;font-weight:700;display:flex}.status-dot{background:#f5aa88}.status-dot.ok{background:#73d5ad;box-shadow:0 0 0 4px #73d5ad24}.camera-compact{max-width:340px;margin-top:16px}.camera-compact .camera-frame{aspect-ratio:2.2}.phone-shell{min-height:100vh;color:var(--ink);background:#fbf9f4}.phone-header{border-bottom:1px solid #ebece7;justify-content:space-between;align-items:center;height:69px;padding:0 21px;display:flex}.phone-brand{gap:8px;font-size:19px}.phone-brand .brand-mark{border-width:2px;border-radius:8px;width:26px;height:26px}.phone-brand .brand-mark span{width:8px;height:8px}.phone-brand>span:last-child{margin-left:-8px}.phone-header-label{color:#a2abb3;letter-spacing:1.7px;font-size:10px;font-weight:800}.phone-content{max-width:550px;margin:0 auto;padding:22px 20px 50px}.phone-pair{background:#edf5f0;border:1px solid #dcece2;border-radius:13px;align-items:center;gap:13px;padding:12px 14px;display:flex}.pair-icon{color:#6a9f83;background:#dbeae2;border-radius:10px;place-items:center;width:41px;height:41px;display:grid}.pair-icon.connected{color:#3e936b;background:#c8ebd9}.phone-pair>div:nth-child(2){flex-direction:column;flex:1;gap:3px;display:flex}.phone-mini{color:#79a78e;letter-spacing:1.1px;font-size:9px;font-weight:800}.phone-pair strong{font:700 14px Outfit,sans-serif}.pair-indicator{box-shadow:none;background:#cfcebe}.pair-indicator.connected{background:#5dc699;box-shadow:0 0 0 4px #5dc69920}.phone-error{color:#ad5f56;background:#fff0ec;border-radius:9px;margin-top:12px;padding:12px;font-size:12px;font-weight:700}.phone-heading{margin-top:34px}.phone-heading .intro-tag{font-size:10px}.phone-heading h1{letter-spacing:-2.2px;margin:13px 0 11px;font-size:clamp(40px,11vw,55px);line-height:1.06}.phone-heading p{color:#82909b;margin:0;font-size:13px}.workout-list{gap:9px;margin-top:24px;display:grid}.workout{text-align:left;background:#fff;border:1px solid #e8ebe8;border-radius:13px;align-items:center;gap:13px;width:100%;padding:10px 13px;display:flex}.workout.selected{border:2px solid #ec897e;padding:9px 12px;box-shadow:0 4px 14px #ed8a7d16}.workout-icon{border-radius:10px;place-items:center;width:44px;height:44px;font:800 24px Outfit,sans-serif;display:grid}.workout-icon.peach{color:#ed947c;background:#fff0e9}.workout-icon.blue{color:#6ca9b3;background:#e8f3f3}.workout-icon.lavender{color:#9a89c1;background:#f0ecfa}.workout>span:nth-child(2){flex-direction:column;flex:1;gap:3px;display:flex}.workout strong{font:700 15px Outfit,sans-serif}.workout small{color:#9ba8b0;font-size:11px}.workout-check{color:#fff;border:1px solid #d8dfe0;border-radius:50%;place-items:center;width:19px;height:19px;display:grid}.workout.selected .workout-check{background:#ed897e;border-color:#ed897e}.phone-camera-heading{margin:31px 0 13px}.phone-camera-heading div{align-items:center;gap:8px;display:flex}.phone-camera-heading svg{color:#e88479}.phone-camera-heading strong{font:700 17px Outfit,sans-serif}.phone-camera-heading p{color:#86949e;margin:5px 0 0;font-size:12px}.enable-camera{color:#e78075;background:#fffaf7;border:1px dashed #e2aba2;border-radius:10px;justify-content:center;align-items:center;gap:10px;width:100%;height:51px;font-size:13px;font-weight:800;display:flex}.enable-camera svg:last-child{margin-left:auto;margin-right:13px}.enable-camera svg:first-child{margin-left:auto}.movement-feedback{justify-content:space-between;gap:3px;margin:18px 0 16px;display:flex}.movement-feedback span{color:#9ba9b3;border-radius:6px;align-items:center;gap:3px;padding:7px;font-size:10px;font-weight:800;display:flex}.movement-feedback span.active{color:#2a9d6b;background:#e1f6ea}.phone-start{color:#fff;background:#ee8b7c;border:0;border-radius:12px;justify-content:space-between;align-items:center;width:100%;height:57px;padding:0 19px;font:800 17px Outfit,sans-serif;display:flex;box-shadow:0 13px 26px #e8867847}.phone-start:disabled{opacity:.45}.manual-label{text-align:center;color:#b2babf;letter-spacing:1.5px;margin:25px 0 10px;font-size:9px;font-weight:800}.manual-controls{justify-content:center;gap:9px;display:flex}.manual-controls button{color:#81909d;background:#fff;border:1px solid #e3e8e6;border-radius:8px;place-items:center;width:42px;height:39px;font-size:20px;font-weight:800;display:grid}.manual-controls button:active{background:#e9f5f2}.phone-footer{text-align:center;color:#b1babd;letter-spacing:1.2px;border-top:1px solid #ebece7;padding:17px 10px;font-size:9px;font-weight:800}@media (width<=1050px){.main-grid{grid-template-columns:1fr;gap:36px;padding-top:30px}.side-panel{justify-self:center;width:100%;max-width:650px}.game-stage{min-height:0;max-height:580px}.controls-strip{padding-top:17px}.intro-footer{display:none}.site-footer{margin-top:20px}}@media (width<=620px){.topbar{height:68px;padding:0 19px}.brand{font-size:19px}.brand-mark{width:26px;height:26px}.eyebrow-chip,.topbar-right .icon-button:last-child{display:none}.main-grid{gap:27px;min-height:0;padding:19px 15px 33px}.game-stage{aspect-ratio:1.14;border-radius:17px}.stage-top{top:13px;left:14px;right:14px}.stage-pill{padding:8px;font-size:8px}.stage-mode{font-size:10px}.stage-caption{font-size:12px;bottom:17px;left:16px}.controls-strip{justify-content:space-between;gap:10px;font-size:9px}.control-icon{min-width:17px}.control-icon svg{width:13px}.side-panel{padding:0 5px}.side-panel h1{margin:13px 0 14px;font-size:50px}.intro-copy{font-size:13px}.choice-list{margin-top:23px}.choice{min-height:75px;padding:10px}.choice-icon{width:42px;height:42px}.choice strong{font-size:15px}.choice small{font-size:10px}.site-footer{padding:0 17px;font-size:8px}.site-footer span:last-child{display:none}.game-hud{gap:13px;bottom:14px;left:16px}.game-hud strong{font-size:20px}.game-hud small{font-size:8px}.game-hud .hearts svg{width:15px}.stage-pause{padding:10px;font-size:10px}.camera-compact .camera-frame{aspect-ratio:1.9}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
