:root{--paper:#f7f2e8;--ink:#232a35;--coral:#f3654d;--mint:#d7e2d5;--line:#cfcac0;--muted:#60656a;--yellow:#f9d26e;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #137a70;outline-offset:5px}[hidden]{display:none!important}.topbar{height:88px;max-width:1320px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:27px;font-weight:1000;letter-spacing:-2px;text-decoration:none}.brand span{display:inline-block;background:var(--coral);font-size:21px;padding:1px 5px;margin-left:6px;transform:rotate(-8deg);border-radius:3px}.edition,.eyebrow,.run-meta,.desk-caption,footer{font-size:11px;font-weight:700;letter-spacing:1.5px}.text-button{border:0;background:none;color:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:10px}.launch{max-width:1230px;padding:64px 48px 32px;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:center}.eyebrow{margin:0 0 24px}.dot{display:inline-block;width:7px;height:7px;margin-right:9px;background:var(--coral);border-radius:50%}h1{font-size:clamp(54px,6.8vw,88px);line-height:.91;letter-spacing:-6px;margin:0;font-weight:1000}h1 span,h2 span{color:var(--coral)}.tagline{font-size:24px;line-height:1.4;letter-spacing:-.6px;margin:26px 0 28px}.tagline em{font-style:normal;border-bottom:3px solid var(--coral)}.start-actions{max-width:350px;display:grid;gap:10px}.button{min-height:56px;padding:15px 22px;border:1.5px solid var(--ink);border-radius:5px;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:space-between;gap:16px;transition:transform .15s,box-shadow .15s}.button:hover{transform:translateY(-2px);box-shadow:3px 4px 0 var(--ink)}.button:active{transform:translateY(1px);box-shadow:none}.primary{background:var(--coral);color:var(--ink)}.quiet{background:transparent}.dark{background:var(--ink);color:var(--paper)}.privacy{font-size:10px;color:var(--muted);margin:15px 0 0;line-height:1.5}.intro-art{position:relative;height:470px;isolation:isolate}.art-disc{position:absolute;inset:6% 0 0;background:var(--mint);border-radius:48% 48% 45% 45%;transform:rotate(7deg);z-index:-2}.hero{position:absolute;height:104%;width:95%;object-fit:contain;bottom:-8%;left:-2%;transform:rotate(-7deg);filter:drop-shadow(8px 12px 0 #232a3512);animation:idle 3s ease-in-out infinite}.mini{position:absolute;width:110px;object-fit:contain;filter:drop-shadow(4px 8px 2px #232a351b)}.alarm{bottom:-3%;right:-5%;transform:rotate(15deg)}.inbox{top:-2%;right:-4%;width:100px;transform:rotate(10deg)}.time-stamp{position:absolute;top:4%;left:0;font-size:12px;letter-spacing:3px;background:var(--paper);border:1px solid var(--ink);padding:12px 15px;transform:rotate(-9deg);z-index:2;box-shadow:3px 3px var(--ink)}.time-stamp b{font-size:22px;letter-spacing:0}.sticky{position:absolute;bottom:10%;left:-6%;background:var(--yellow);padding:18px 20px;transform:rotate(-9deg);font-size:17px;line-height:1.25;font-weight:700;box-shadow:3px 5px 0 #232a3510;z-index:2}.orbit{position:absolute;width:30px;height:4px;background:var(--coral);right:2%;top:28%;transform:rotate(-30deg)}.orbit-b{top:32%;right:-2%;transform:rotate(-5deg);width:23px}.rules{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:42px;border-top:1px solid var(--line);padding-top:25px}.rules>div{display:flex;gap:14px}.rules b{font-size:11px;color:var(--coral);padding-top:2px}.rules p{margin:0;font-size:11px;color:var(--muted);line-height:1.7}.rules strong{font-size:12px;color:var(--ink)}footer{max-width:1230px;margin:20px auto 0;padding:25px 48px;font-size:8px;display:flex;gap:20px;justify-content:space-between;color:var(--muted)}.challenge{font-weight:700;font-size:13px;background:var(--yellow);border-left:3px solid var(--ink);padding:10px 12px;max-width:350px;line-height:1.4}
#play-screen{max-width:1200px;margin:auto;padding:24px 40px}.run-header{display:flex;align-items:center;margin:0 0 15px;gap:20px}.run-header .eyebrow{font-size:9px;letter-spacing:1.5px}.time{font-size:44px;line-height:1;font-weight:900;letter-spacing:-2px;font-variant-numeric:tabular-nums;margin-top:5px}.time small{font-size:20px;color:var(--coral);margin-left:3px}.run-meta{display:grid;gap:8px;text-align:right;margin-left:auto;font-size:9px;color:var(--muted)}.icon-button{width:42px;height:42px;background:transparent;border:1px solid var(--line);border-radius:50%;font-size:18px}.stage{position:relative;overflow:hidden;border:2px solid var(--ink);border-radius:7px;background:var(--mint);box-shadow:5px 6px var(--ink)}canvas{display:block;width:100%;touch-action:none}.countdown{position:absolute;inset:0;display:grid;place-content:center;text-align:center;background:#f7f2e855;font-size:74px;font-weight:900;letter-spacing:-4px;color:var(--ink);white-space:pre-line;pointer-events:none}.countdown small{font-size:15px;letter-spacing:1px}.control-area{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:27px;min-height:70px}.control-copy>span{font-weight:900;font-size:12px;letter-spacing:.6px}.control-copy p{font-size:12px;margin:8px 0;color:var(--muted)}.meter-wrap{display:flex;align-items:center;gap:10px;font-size:8px;font-weight:800;letter-spacing:.5px}.meter{width:200px;height:11px;border:1px solid var(--ink);background:#e8e4db;border-radius:2px;position:relative;overflow:hidden}.meter i{display:block;height:100%;width:0;background:var(--coral);transition:width .05s linear}.meter-threshold{position:absolute;left:42%;height:100%;top:0;border-left:2px solid var(--ink)}.jump{background:var(--yellow);min-width:270px;touch-action:none;user-select:none}.jump span{font-size:10px;font-weight:500}.jump:active{background:var(--coral)}.target{text-align:center;font-size:12px}.dialog-wrap{position:fixed;z-index:20;inset:0;background:#232a3580;display:grid;place-items:center;padding:24px;backdrop-filter:blur(5px)}.dialog{background:var(--paper);border:2px solid var(--ink);box-shadow:7px 8px var(--ink);max-width:440px;width:100%;padding:34px;border-radius:6px}.dialog .eyebrow{margin-bottom:15px}.dialog h2{font-size:34px;line-height:1;margin:10px 0 18px;letter-spacing:-1.5px}.dialog p:not(.eyebrow){line-height:1.6;font-size:14px}.dialog .meter{width:100%;margin:22px 0}.dialog-actions{display:grid;gap:10px}#dialog-actions{display:grid;gap:10px;margin-top:22px}.dialog button{width:100%}.result{max-width:1230px;margin:auto;padding:54px 48px 20px;display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:10px}.result h2{font-size:clamp(38px,5vw,65px);line-height:.96;letter-spacing:-3px;margin:0 0 22px}.result-line{font-size:15px;margin-bottom:3px}.result-time{font-size:70px;font-weight:900;letter-spacing:-4px}.result-time small{font-size:20px;letter-spacing:-.5px;margin-left:9px}.result #cause{font-size:13px;color:var(--muted);margin:8px 0}.record{font-weight:700;font-size:12px;min-height:15px}.result-actions{display:grid;gap:10px;max-width:360px;margin-top:25px}.result-links{display:flex;gap:12px;margin-top:10px}.result-art{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;min-height:400px}.result-art img{width:130%;max-width:700px;mix-blend-mode:multiply}.desk-caption{position:absolute;top:20px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:1px}.result #share-status{font-size:12px;min-height:16px}#copy-fallback{font-size:12px}#copy-fallback input{width:100%;padding:10px;margin-top:8px}.load-error{margin:30px;padding:20px;background:var(--yellow)}body[data-state=playing]{overscroll-behavior:none}body[data-state=playing] footer,body[data-state=countdown] footer{display:none}@keyframes idle{50%{transform:rotate(-5deg) translateY(-7px)}}
@media(max-width:760px){.topbar{height:64px;padding:0 22px}.brand{font-size:24px}.edition{display:none}.launch{padding:32px 24px 20px;grid-template-columns:1fr;gap:14px}.intro-copy{display:contents}.intro-copy .eyebrow{grid-row:1;margin:0;font-size:9px}h1{grid-row:2;font-size:clamp(48px,11.7vw,82px);letter-spacing:-3.5px}.tagline{grid-row:3;font-size:17px;margin:4px 0 0}.tagline br{display:none}.intro-art{grid-row:4;height:235px;width:min(100%,330px);justify-self:center;margin:5px 0 10px}.hero{height:110%;width:85%;left:6%}.art-disc{inset:0 12%}.mini{width:70px}.alarm{right:2%;bottom:1%}.inbox{width:68px;right:5%}.time-stamp{left:5%;font-size:9px;padding:9px}.time-stamp b{font-size:17px}.sticky{font-size:12px;left:0;bottom:7%;padding:13px}.start-actions{grid-row:6;max-width:100%;gap:9px}.privacy{grid-row:7;margin:0;text-align:center;font-size:9px}.challenge{grid-row:5;margin:0;max-width:none}.rules{grid-row:8;margin-top:15px;gap:16px;grid-template-columns:1fr}.rules>div{align-items:start}.rules p br{display:none}.rules p{font-size:11px}.rules strong{margin-right:5px}.rules b{font-size:10px}footer{padding:22px;margin-top:0;font-size:7px}footer>span:last-child{display:none}#play-screen{padding:22px 18px}.run-header{gap:12px}.time{font-size:39px}.control-area{flex-direction:column;align-items:stretch;margin-top:25px;gap:14px;text-align:center}.meter-wrap{justify-content:center}.meter-wrap .meter{width:155px}.jump{justify-content:center;min-height:92px;flex-direction:column;gap:6px;width:100%;font-size:19px}.control-copy p{font-size:11px}.result{padding:30px 24px 10px;grid-template-columns:1fr;gap:0}.result .eyebrow{margin-bottom:18px;font-size:9px}.result h2{font-size:48px;letter-spacing:-2.5px}.result-copy{display:contents}.result-copy>h2{grid-row:2}.result-art{grid-row:3;min-height:0;height:200px;overflow:hidden;margin:8px -12px}.result-art img{width:100%;max-width:360px}.desk-caption{display:none}.result-line{grid-row:4;margin:10px 0 0}.result-time{grid-row:5;font-size:60px}.result #cause{grid-row:6}.record{grid-row:7;margin:4px 0}.result-actions{grid-row:8;max-width:none;margin-top:18px}.result-links{grid-row:9;justify-content:space-between}.result #share-status{grid-row:10;margin:5px 0}.dialog{padding:28px}.dialog h2{font-size:30px}}
@media(max-height:560px) and (min-width:650px){.topbar{height:48px}.launch{padding:28px 35px;gap:20px}.intro-art{height:300px}h1{font-size:58px}.tagline{font-size:18px;margin:15px 0}.rules{margin-top:15px}#play-screen{padding:12px 25px}.run-header{margin-bottom:7px}.time{font-size:26px}.run-header .eyebrow{font-size:8px}.run-meta{display:flex}.control-area{margin-top:13px;min-height:40px;flex-direction:row}.control-copy p{margin:4px 0}.jump{min-height:42px;width:auto;flex-direction:row;font-size:13px}.result{padding:25px 35px}.result h2{font-size:40px}.result-time{font-size:45px}.result-art{min-height:290px}.result-actions{margin-top:16px}.desk-caption{top:0}footer{display:none}}
.countdown{font-size:clamp(24px,5vw,64px);letter-spacing:-1px}
.result-art{min-width:0;overflow:hidden}.result-art img{width:100%;max-width:100%}
.arrow{position:relative;display:inline-block;width:18px;height:18px;flex-shrink:0;font-size:0!important}.arrow:before{content:'';position:absolute;left:2px;top:9px;width:14px;border-top:2px solid currentColor;transform:rotate(-45deg)}.arrow:after{content:'';position:absolute;right:1px;top:2px;width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor}.brand .arrow{width:25px;height:25px;vertical-align:-2px}.brand .arrow:before{left:5px;top:13px}.brand .arrow:after{right:4px;top:6px}
@media(max-width:760px){.result-art img{width:auto;height:auto;max-height:100%;max-width:100%}.tagline br:after{content:' '}}
@media(max-width:760px) and (max-height:700px){.intro-art{height:200px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Give the run the viewport. HUD and controls sit inside the scene's margins. */
.choose{max-width:860px;margin:auto;padding:36px 24px;text-align:center}
.choose .eyebrow{margin-bottom:12px;font-size:12px}
.choose h2{font-size:clamp(30px,5vw,48px);letter-spacing:-2px;margin:0}
.choose-copy{font-size:16px;line-height:1.5;margin:12px 0 24px}
.character-options{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.character-card{background:var(--mint);border:2px solid var(--ink);border-radius:12px;padding:12px 14px 18px;color:var(--ink);transition:transform .15s,box-shadow .15s}
.character-card:first-child{background:#f6d9c7}
.character-card:hover,.character-card:focus-visible{transform:translateY(-4px);box-shadow:5px 6px var(--ink)}
.character-card img{display:block;object-fit:contain;width:100%;height:clamp(190px,40vh,340px)}
.character-card span{display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:900;margin-top:12px}
#choose-back{font-size:15px;margin-top:20px}
body.in-game{overflow:hidden;overscroll-behavior:none;background:#bcc5b5}
body.in-game .topbar,body.in-game footer{display:none}
#play-screen{position:fixed;inset:0;max-width:none;margin:0;padding:0;overflow:hidden;background:#bcc5b5;isolation:isolate}

.stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:0;box-shadow:none;background:none;overflow:hidden}
#game{flex:none;outline:none;touch-action:none}
.run-header{position:absolute;z-index:2;top:calc((100% - var(--scene-height))/2 + 12px);left:calc((100% - var(--scene-width))/2 + 16px);right:calc((100% - var(--scene-width))/2 + 16px);margin:0;gap:10px;pointer-events:none;align-items:flex-start}
.run-header>div:first-child{background:#fff8e9ed;border:1px solid #232a3544;border-radius:8px;padding:8px 12px;box-shadow:0 2px 5px #232a3512}
.run-header{justify-content:flex-end}.run-header>div:first-child{order:1}.run-header .run-meta{order:0;margin-left:0}.run-header #pause{order:2}
.run-header .eyebrow{font-size:11px;letter-spacing:1px}
.time{font-size:34px;line-height:1;letter-spacing:-1px;margin-top:3px}
.time small{font-size:20px}
.run-meta{margin-left:auto;background:#fff8e9ed;border-radius:7px;padding:9px 12px;font-size:12px;letter-spacing:.5px;line-height:1.4;color:var(--ink);gap:3px;display:grid}
.icon-button{width:44px;height:44px;background:#fff8e9ed;border:1px solid var(--ink);font-size:22px;pointer-events:auto}
.control-area{position:absolute;z-index:2;bottom:calc((100% - var(--scene-height))/2);height:var(--floor-height);left:calc((100% - var(--scene-width))/2 + 16px);right:calc((100% - var(--scene-width))/2 + 16px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:14px;margin:0;min-height:0;text-align:left;pointer-events:none}
.control-copy{min-width:0}.control-copy>span{display:none}.control-copy p{font-size:14px;font-weight:700;line-height:1.25;margin:0;color:#1b231a}
.jump{pointer-events:auto;min-width:170px;width:auto;min-height:36px;height:calc(var(--floor-height) - 8px);max-height:54px;padding:7px 15px;font-size:14px;line-height:1;justify-content:center;flex-direction:row;flex-shrink:0;touch-action:none}
.jump:hover{transform:none;box-shadow:none}
.meter-wrap{font-size:11px;letter-spacing:0;gap:8px;flex-shrink:0}.meter-wrap .meter{width:130px;height:14px}
.countdown{font-size:clamp(30px,5vw,72px);inset:calc((100% - var(--scene-height))/2) calc((100% - var(--scene-width))/2);letter-spacing:-1px}
.target{position:absolute;z-index:2;top:calc((100% - var(--scene-height))/2 + 12px);left:50%;transform:translateX(-50%);margin:0;max-width:40%;padding:8px 12px;background:var(--yellow);border-radius:6px;font-size:13px;font-weight:700}
#dialog{max-height:calc(100dvh - 32px);overflow:auto}
#play-screen{container-type:size}
@container(max-width:900px){.target{top:calc((100% - var(--scene-height))/2 + 78px);left:auto;right:calc((100% - var(--scene-width))/2 + 10px);transform:none;max-width:280px}}
@media(max-width:600px){.character-options{gap:12px}.character-card{padding:8px 8px 14px}.character-card img{height:220px}.character-card span{font-size:14px}.choose{padding-top:28px}.choose .eyebrow{font-size:10px}}
@media(max-height:500px),(max-width:600px){.run-header{top:calc((100% - var(--scene-height))/2 + 8px);left:calc((100% - var(--scene-width))/2 + 10px);right:calc((100% - var(--scene-width))/2 + 10px)}.run-header>div:first-child{padding:6px 9px}.time{font-size:28px}.run-meta{font-size:11px;padding:7px 10px}.control-area{left:calc((100% - var(--scene-width))/2 + 10px);right:calc((100% - var(--scene-width))/2 + 10px);gap:10px}.control-copy p{font-size:14px}.meter-wrap{font-size:10px}.meter-wrap .meter{width:100px}.target{top:calc((100% - var(--scene-height))/2 + 8px);font-size:12px}.jump{min-width:140px}.countdown{font-size:36px}}
@media(max-height:500px) and (min-width:600px){.choose{padding:15px 24px}.choose h2{font-size:28px}.choose .eyebrow{font-size:10px;margin-bottom:6px}.choose-copy{font-size:14px;margin:6px 0 12px}.character-options{max-width:500px;margin:auto}.character-card{padding:8px 12px}.character-card img{height:160px}.character-card span{font-size:14px;margin-top:5px}#choose-back{margin-top:8px}}

/* One fixed app frame on touch devices for menus, gameplay, dialogs and results. */
#app-shell{position:relative;min-height:100dvh}
body.mobile-landscape{overflow:hidden}
.mobile-landscape #app-shell{position:fixed;left:0;top:0;width:var(--app-width);height:var(--app-height);min-height:0;overflow:auto;overscroll-behavior:contain;container-type:size;transform:translateZ(0);--safe-edge:max(14px,env(safe-area-inset-left),env(safe-area-inset-right),env(safe-area-inset-top))}
.mobile-landscape #dialog{max-height:calc(var(--app-height) - 24px)}
.mobile-landscape .run-header,.mobile-landscape .control-area{left:max(var(--safe-edge),calc((100% - var(--scene-width))/2 + 10px));right:max(var(--safe-edge),calc((100% - var(--scene-width))/2 + 10px))}
#choose-title:focus{outline:none}
.compact-landscape .topbar{height:48px;max-width:none;padding:0 max(22px,var(--safe-edge));gap:12px}
.compact-landscape .brand{font-size:23px}.compact-landscape .edition,.compact-landscape footer{display:none}
.compact-landscape .launch{display:grid;grid-template-columns:minmax(280px,1.1fr) minmax(180px,.9fr);gap:16px;max-width:1100px;min-height:calc(var(--app-height) - 48px);padding:14px max(24px,var(--safe-edge));margin:auto}
.compact-landscape .intro-copy{display:block}.compact-landscape .intro-copy>*{grid-row:auto}
.compact-landscape .intro-copy .eyebrow{font-size:10px;margin:0 0 10px}
.compact-landscape h1{font-size:clamp(40px,12cqh,64px);letter-spacing:-3px;line-height:.92}
.compact-landscape .tagline{font-size:16px;margin:10px 0 14px}.compact-landscape .tagline br{display:none}
.compact-landscape .start-actions{max-width:360px;gap:8px}.compact-landscape .start-actions .button{min-height:44px;padding:10px 14px;font-size:14px}
.compact-landscape .privacy{font-size:10px;margin-top:8px;text-align:left}
.compact-landscape .intro-art{grid-row:1;grid-column:2;height:min(64cqh,280px);width:100%;max-width:380px;margin:0;justify-self:center}
.compact-landscape .rules{display:none}.compact-landscape .challenge{font-size:12px;padding:6px 8px;margin:8px 0}
.compact-landscape .choose{padding:8px max(24px,var(--safe-edge));max-width:860px}
.compact-landscape .choose .eyebrow{display:none}.compact-landscape .choose h2{font-size:28px;line-height:1.15}
.compact-landscape .choose-copy{font-size:14px;line-height:1.5;margin:4px 0 8px}
.compact-landscape .character-options{max-width:500px;margin:auto;gap:20px}
.compact-landscape .character-card{padding:8px 12px}.compact-landscape .character-card img{height:max(105px,calc(var(--app-height) - 214px))}
.compact-landscape .character-card span{font-size:14px;margin-top:5px}.compact-landscape #choose-back{margin-top:6px;padding:8px;font-size:13px}
.compact-landscape .result{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;min-height:calc(var(--app-height) - 48px);max-width:1050px;padding:10px max(24px,var(--safe-edge));align-items:center}
.compact-landscape .result-copy{display:block;min-width:0}.compact-landscape .result-copy>*{grid-row:auto}
.compact-landscape .result .eyebrow{font-size:10px;margin:0 0 6px}
.compact-landscape .result h2{font-size:clamp(22px,5.8cqh,30px);line-height:1.05;letter-spacing:-1px;margin:0 0 8px}
.compact-landscape .result h2 br{display:none}.compact-landscape .result h2 span:before{content:' '}
.compact-landscape .result h2 span{margin-left:.2em}.compact-landscape .result h2 span:before{content:none}
.compact-landscape .result-line{font-size:13px;margin:0 0 3px}.compact-landscape .result-time{font-size:44px;line-height:1;letter-spacing:-2px}.compact-landscape .result-time small{font-size:16px}
.compact-landscape .result #cause{font-size:13px;margin:5px 0}.compact-landscape .record{font-size:11px;line-height:1.3;min-height:0;margin:5px 0}
.compact-landscape .result-actions{max-width:none;gap:7px;margin-top:10px}.compact-landscape .result-actions .button{min-height:44px;padding:9px 12px;font-size:14px}
.compact-landscape .result-links{justify-content:space-between;gap:4px;margin-top:5px}.compact-landscape .result-links .text-button{font-size:12px;padding:8px 4px;min-height:32px}
.compact-landscape .result-art{grid-column:2;grid-row:1;align-self:stretch;height:auto;min-height:0;margin:0}.compact-landscape .result-art img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.compact-landscape .desk-caption{display:none}
.compact-landscape .result #share-status{font-size:12px;line-height:1.3;min-height:0;margin:5px 0}.compact-landscape #share-status:empty{display:none}
.compact-landscape .result-actions{grid-template-columns:1fr 1fr}.compact-landscape .result-actions .button{min-height:52px;justify-content:center;text-align:center;gap:0}.compact-landscape .result-actions .button span{display:none}
@container(max-height:340px){.compact-landscape .result .eyebrow,.compact-landscape .result-line{display:none}.compact-landscape .result-time{font-size:38px}.compact-landscape .intro-copy .eyebrow{display:none}.compact-landscape .launch{padding-top:8px;padding-bottom:8px}.compact-landscape .tagline{margin:8px 0}.compact-landscape .choose-copy{display:none}.compact-landscape .character-card img{height:calc(var(--app-height) - 180px)}}

/* Illustrated onboarding and phone-sized content, without shrinking the app. */
.survival-guide{display:grid;gap:12px;min-width:0}
.how-step{display:grid;grid-template-columns:112px 1fr;align-items:center;gap:12px;background:#e4e9dd;border:1px solid #232a3520;border-radius:12px;padding:10px 14px}
.how-step:nth-child(2){background:#fae2cb}.how-step:nth-child(3){background:#f9e8ad}
.how-step p{margin:0;line-height:1.35;font-size:15px}.how-step strong,.how-step p>span{display:block}.how-step strong{font-size:19px;margin-bottom:4px}
.how-picture{height:80px;position:relative}.how-picture img{position:absolute;object-fit:contain;height:100%;max-width:100%}.how-picture svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#f3654d;stroke-width:2.5;stroke-dasharray:5 4}
.how-voice img{left:0;width:70px}.how-voice>span{position:absolute;right:-3px;top:0;font-size:15px;font-weight:900;background:var(--paper);padding:6px;border-radius:9px;transform:rotate(5deg)}
.how-height img{height:62%;left:32px;top:0;transform:rotate(-12deg)}
.how-dodge .jumper{height:58%;left:36px;top:-2px}.how-dodge .enemy{height:48%;bottom:0;left:40px}
.tap-guide{font-size:15px;line-height:1.35;margin:2px 0 0;text-align:center}
.mobile-landscape .privacy{font-size:12px;line-height:1.3}
.mobile-landscape .control-area{height:max(44px,var(--floor-height));bottom:calc((100% - var(--scene-height))/2)}
.mobile-landscape .jump{min-height:44px}
.mobile-landscape .target{top:calc((100% - var(--scene-height))/2 + 78px);left:auto;right:max(var(--safe-edge),calc((100% - var(--scene-width))/2 + 10px));transform:none;max-width:45%;pointer-events:none}
.compact-landscape .launch{height:calc(var(--app-height) - 48px);min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:20px;padding:12px max(24px,var(--safe-edge))}
.compact-landscape .intro-copy .eyebrow,.compact-landscape .tagline{display:none}
.compact-landscape h1{font-size:clamp(30px,11cqh,60px);margin-bottom:14px}
.compact-landscape .survival-guide{gap:7px}.compact-landscape .how-step{grid-template-columns:86px 1fr;gap:8px;padding:7px 10px;border-radius:8px}
.compact-landscape .how-picture{height:clamp(40px,12cqh,65px)}
.compact-landscape .how-step strong{font-size:16px;line-height:1.15;margin-bottom:3px}.compact-landscape .how-step p>span{font-size:13px;line-height:1.2}
.compact-landscape .how-voice img{width:56px}.compact-landscape .how-voice>span{font-size:12px;padding:5px;right:-4px}
.compact-landscape .tap-guide{font-size:13px;line-height:1.25;margin:1px 0 0}
.compact-landscape .dialog-wrap{padding:12px max(16px,var(--safe-edge))}
.compact-landscape #dialog{max-width:670px;padding:18px 22px;overflow:visible}
.compact-landscape .dialog .eyebrow{font-size:11px;margin:0 0 8px}.compact-landscape .dialog h2{font-size:28px;margin:0 0 10px}
.compact-landscape .dialog p:not(.eyebrow){font-size:15px;line-height:1.35;margin:8px 0}
.compact-landscape .dialog .meter{margin:12px 0;height:12px}
.compact-landscape #dialog-actions{display:flex;gap:8px;margin-top:14px}.compact-landscape .dialog button{min-height:44px;padding:10px 12px;font-size:14px;justify-content:center;text-align:center}
.compact-landscape .result-links .text-button{min-height:40px}
.compact-landscape #copy-fallback{display:grid;grid-template-columns:1fr auto;gap:4px;align-items:center}
.compact-landscape #copy-fallback label{grid-column:1/-1}.compact-landscape #copy-fallback input{min-width:0;font-size:13px;margin:0;padding:6px}
.compact-landscape #copy-fallback .text-button{padding:6px}
.compact-landscape .result:has(#copy-fallback:not([hidden])) .result-art{display:none}
.compact-landscape .result:has(#copy-fallback:not([hidden])){grid-template-columns:1fr;max-width:760px}
.compact-landscape .result:has(#copy-fallback:not([hidden])) .result-copy{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:'time actions' 'cause actions' 'copy copy' 'links links' 'status status';gap:6px 18px;align-items:center}
.compact-landscape .result:has(#copy-fallback:not([hidden])) .result-copy>*{margin:0}
.compact-landscape .result:has(#copy-fallback:not([hidden])) :is(.eyebrow,h2,.result-line,.record){display:none}
.compact-landscape .result:has(#copy-fallback:not([hidden])) .result-time{grid-area:time}
.compact-landscape .result:has(#copy-fallback:not([hidden])) #cause{grid-area:cause}
.compact-landscape .result:has(#copy-fallback:not([hidden])) .result-actions{grid-area:actions}
.compact-landscape .result:has(#copy-fallback:not([hidden])) .result-links{grid-area:links;justify-content:space-between}
.compact-landscape .result:has(#copy-fallback:not([hidden])) #copy-fallback{grid-area:copy}
.compact-landscape .result:has(#copy-fallback:not([hidden])) #share-status{grid-area:status}
@container(max-height:340px){
 .compact-landscape .topbar{height:36px}.compact-landscape .brand{font-size:20px}
 .compact-landscape .launch{height:calc(var(--app-height) - 36px);padding-top:6px;padding-bottom:6px;gap:14px}
 .compact-landscape h1{font-size:clamp(20px,3.7cqw,28px);letter-spacing:-1.4px;margin-bottom:8px;line-height:1.1}.compact-landscape h1 br{display:none}.compact-landscape h1 span{margin-left:.15em}.compact-landscape .start-actions{gap:6px}.compact-landscape .privacy{margin-top:6px;font-size:11px}
 .compact-landscape .how-step{grid-template-columns:72px 1fr;padding:5px 8px}.compact-landscape .how-step strong{font-size:14px}.compact-landscape .how-step p>span{font-size:12px}.compact-landscape .survival-guide{gap:5px}.compact-landscape .how-picture{height:40px}
 .compact-landscape .choose h2{font-size:24px}.compact-landscape .character-card img{height:max(58px,calc(var(--app-height) - 165px))}.compact-landscape .choose{padding-top:6px;padding-bottom:4px}.compact-landscape #choose-back{margin-top:2px;min-height:36px}
 .compact-landscape .result{min-height:calc(var(--app-height) - 36px);padding-top:6px;padding-bottom:6px}.compact-landscape .result h2{margin-bottom:4px}.compact-landscape .result-actions{margin-top:6px}.compact-landscape .result-actions .button{min-height:44px}.compact-landscape .result-links{margin-top:2px}
 .compact-landscape[data-state=result] .topbar{display:none}.compact-landscape[data-state=result] .result{min-height:var(--app-height)}
 .compact-landscape .dialog .eyebrow{display:none}.compact-landscape #dialog{padding:14px 18px}.compact-landscape .dialog h2{font-size:25px}.compact-landscape #dialog-actions{margin-top:10px}
}

/* Ad arrivals see the game immediately. The scene grows into available space;
   instructions and both play choices stay above the fold, including browser chrome. */
.entry-scene{display:none}
.portrait-intro .topbar{height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left))}.portrait-intro .edition,.portrait-intro footer{display:none}
.portrait-intro .brand{font-size:23px}.portrait-intro #sound{min-height:44px;font-size:13px}
.portrait-intro .launch{height:calc(var(--app-height) - 48px - env(safe-area-inset-top));min-height:0;max-width:500px;padding:12px max(20px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(64px,1fr) auto auto auto auto;gap:8px;align-items:stretch}
.portrait-intro .intro-copy{display:contents}.portrait-intro .intro-copy>.eyebrow{display:none}
.portrait-intro h1{grid-row:1;text-align:center;font-size:clamp(40px,11.8vw,56px);letter-spacing:-2.5px;line-height:.9;margin:0}
.portrait-intro .tagline{display:block;grid-row:2;font-size:16px;line-height:1.3;text-align:center;margin:0;letter-spacing:-.2px}.portrait-intro .tagline br{display:none}
.portrait-intro .entry-scene{display:block;grid-row:3;position:relative;min-height:0;margin:0 2px;background:var(--mint);border-radius:44% 44% 16px 16px;isolation:isolate;overflow:hidden}
.entry-scene img{position:absolute;object-fit:contain;filter:drop-shadow(3px 4px 0 #232a3512)}
.entry-woman{height:92%;width:50%;bottom:3%;left:0;transform:rotate(-9deg);animation:entry-hop 2.6s ease-in-out infinite}
.entry-man{height:83%;width:46%;bottom:0;left:33%;transform:rotate(6deg)}
.entry-inbox{height:40%;width:28%;bottom:2%;right:5%;transform:rotate(8deg)}
.entry-bubble{position:absolute;z-index:2;top:10%;right:14%;background:var(--paper);border:1.5px solid var(--ink);border-radius:7px;padding:6px 8px;font-size:12px;font-weight:900;transform:rotate(5deg)}
.entry-sticker{position:absolute;bottom:8%;left:3%;background:var(--yellow);padding:5px 8px;font-size:11px;font-weight:900;transform:rotate(-6deg)}
.portrait-intro .survival-guide{grid-row:4;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.portrait-intro .how-step{display:flex;flex-direction:column;gap:3px;padding:5px 2px;border:0;border-radius:7px;text-align:center}
.portrait-intro .how-picture{width:62px;height:32px}.portrait-intro .how-voice img{width:32px}.portrait-intro .how-voice>span{font-size:9px;padding:3px;right:0}
.portrait-intro .how-step p{line-height:1.1}.portrait-intro .how-step strong{font-size:13px;line-height:1.15;margin:0}.portrait-intro .how-step p>span,.portrait-intro .tap-guide{display:none}
.portrait-intro .challenge{grid-row:5;margin:0;padding:5px 8px;font-size:12px;max-width:none}
.portrait-intro .start-actions{grid-row:6;max-width:none;gap:7px}.portrait-intro .start-actions .button{min-height:46px;padding:10px 16px;font-size:16px}
.portrait-intro .privacy{grid-row:7;font-size:11px;line-height:1.3;margin:0;text-align:center}
@keyframes entry-hop{50%{transform:translateY(-5px) rotate(-5deg)}}
@media(max-height:580px) and (orientation:portrait){.portrait-intro .launch{gap:5px;padding:8px max(16px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.portrait-intro h1{font-size:38px}.portrait-intro .how-picture{display:none}.portrait-intro .how-step{padding:6px 3px}.portrait-intro .entry-bubble{font-size:10px;padding:4px 6px}.portrait-intro .entry-sticker{font-size:10px}}


/* Upright phones: the scene fills the screen. The HUD sits on the office ceiling; the jump pad
   or the loudness meter sits on the floor under the runner, where the thumb already is. */
.upright .run-header{top:max(10px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));justify-content:flex-start}
.upright .run-header>div:first-child{order:0}.upright .run-header .run-meta{order:1;margin-left:auto}
.upright .target{top:calc(max(10px,env(safe-area-inset-top)) + 72px);left:max(12px,env(safe-area-inset-left));right:auto;transform:none;max-width:calc(100% - 24px);font-size:12px;padding:6px 10px}
.upright .countdown{inset:0 0 auto;height:var(--run-top);font-size:clamp(34px,11vw,52px)}
.upright .control-area{left:0;right:0;bottom:0;height:var(--floor-height);padding:calc(var(--lane) + 8px) max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));flex-direction:column;align-items:stretch;justify-content:center;gap:10px;text-align:center}
.upright .control-copy>span{display:block;font-size:11px;font-weight:800;letter-spacing:1px;color:#3d473b;margin-bottom:3px}
.upright .control-copy p{font-size:15px}
.upright .jump{width:100%;min-width:0;height:clamp(60px,calc(var(--floor-height) - var(--lane) - 84px),96px);max-height:none;font-size:20px;letter-spacing:.5px;border-width:2px;border-radius:12px;box-shadow:0 5px 0 var(--ink);transition:transform .08s,box-shadow .08s}
.upright .jump:active{transform:translateY(3px);box-shadow:0 2px 0 var(--ink)}
.upright .meter-wrap{display:grid;grid-template-columns:1fr 1fr;gap:6px 0;font-size:11px}
.upright .meter-wrap>span:first-child{grid-area:1/1;text-align:left}.upright .meter-wrap>span:last-child{grid-area:1/2;text-align:right}
.upright .meter-wrap .meter{grid-area:2/1/3/3;width:100%;height:24px;border-width:2px;border-radius:6px}
.upright .meter-threshold{border-left-width:3px}
.mobile-landscape.upright[data-state=result] .topbar{height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left))}
.mobile-landscape.upright .result{height:calc(var(--app-height) - 48px - env(safe-area-inset-top));min-height:0;padding:12px max(18px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));grid-template-rows:auto auto minmax(0,1fr);align-content:start}
.mobile-landscape.upright .result .eyebrow{margin:0 0 6px}
.mobile-landscape.upright .result h2{font-size:clamp(28px,9.5vw,40px);letter-spacing:-1.5px;margin:0}
.mobile-landscape.upright .result-art{height:auto;min-height:0;margin:6px 0}
.mobile-landscape.upright .result-art img{height:100%;width:auto;max-width:100%;object-fit:contain}
.mobile-landscape.upright .result-line{margin:2px 0 0;font-size:14px}
.mobile-landscape.upright .result-time{font-size:clamp(40px,13vw,54px);line-height:1}
.mobile-landscape.upright .result #cause{margin:6px 0 2px}
.mobile-landscape.upright .result-actions{margin-top:10px;gap:8px}
.mobile-landscape.upright .result-actions .button{min-height:50px;padding:10px 16px}
.mobile-landscape.upright .result-links{margin-top:2px}.mobile-landscape.upright .result-links .text-button{min-height:44px}
.mobile-landscape.upright .result #share-status:empty{display:none}
.mobile-landscape.upright .result:has(#copy-fallback:not([hidden])) .result-art{display:none}
.upright .run-header .eyebrow,.upright .run-meta{white-space:nowrap}
@media(max-width:360px){.upright .run-header{gap:6px}.upright .run-header .eyebrow{font-size:9px;letter-spacing:.5px}.upright .run-header>div:first-child{padding:5px 8px}.upright .run-meta{font-size:10px;padding:6px 8px;letter-spacing:0}}
/* Upright menus fill the screen exactly, like the portrait intro: no page scrolling on a phone. */
.mobile-landscape.upright .topbar{height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left))}
.mobile-landscape.upright .brand{font-size:23px}.mobile-landscape.upright footer{display:none}
.mobile-landscape.upright .choose{height:calc(var(--app-height) - 48px - env(safe-area-inset-top));min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,440px) auto;align-content:center;padding:12px max(16px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
.mobile-landscape.upright .choose .eyebrow{margin:0 0 6px}.mobile-landscape.upright .choose h2{font-size:clamp(25px,7.8vw,40px);letter-spacing:-1px}
.mobile-landscape.upright .choose-copy{font-size:15px;line-height:1.4;margin:6px 0 14px}
.mobile-landscape.upright .character-options{min-height:0}
.mobile-landscape.upright .character-card{display:flex;flex-direction:column;min-height:0}
.mobile-landscape.upright .character-card img{flex:1 1 0;height:auto;min-height:0}
.mobile-landscape.upright #choose-back{margin-top:6px;min-height:44px}
@media(max-height:560px){.upright .dialog-wrap{padding:12px}.upright #dialog{padding:18px 20px}.upright .dialog .eyebrow{margin-bottom:8px}.upright .dialog h2{font-size:26px;margin:4px 0 10px}.upright .dialog p:not(.eyebrow){line-height:1.45;margin:6px 0}.upright .dialog-actions{gap:8px}.upright .dialog .button{min-height:46px;padding:10px 16px}}
.sound-toggle{display:inline-grid;place-items:center;padding:0;color:var(--ink);flex-shrink:0}.sound-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sound-toggle .speaker{fill:currentColor}.sound-toggle[aria-pressed=false] .sound-waves,.sound-toggle[aria-pressed=true] .sound-cross{display:none}.sound-toggle:disabled{opacity:.45}.run-header #sound-game{order:2}
@container(max-height:340px){.compact-landscape .topbar .sound-toggle{width:36px;height:36px}}
.run-header .icon-button{flex-shrink:0}@media(max-width:360px){.upright .run-header{gap:4px}}
/* The crash moment is not playable: the controls fade like the paused button until the result screen. */
body[data-state=crash] .control-area{opacity:.35;pointer-events:none}
/* Result text one step larger (owner, 3 Nov 2026: hard to read on a phone). Upright, the desk picture gives up the room. */
.result .eyebrow,.compact-landscape .result .eyebrow{font-size:12px}.result-line,.mobile-landscape.upright .result-line{font-size:17px}.result #cause{font-size:16px}.record{font-size:14px}.result-actions .button{font-size:17px}.result-links{flex-wrap:wrap;gap:0 12px}.result-links .text-button{font-size:15px;white-space:nowrap;padding-left:4px;padding-right:4px}.desk-caption{font-size:11px}.result #share-status{font-size:14px}
.compact-landscape .result-line{font-size:15px}.compact-landscape .result #cause{font-size:15px}.compact-landscape .record{font-size:13px}.compact-landscape .result-links .text-button{font-size:14px}.compact-landscape .result #share-status{font-size:13px}
/* Room for the larger text: sideways, the text column takes more width so lines stop wrapping; 320px phones keep the links on one row; while a share message shows on a short sideways screen the eyebrow steps aside (as for the copy box); the shortest screens keep the earlier sizes for the small lines. */
.compact-landscape .result{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}@media(max-width:340px){.result-links .text-button{font-size:13px}}.compact-landscape .result:has(#share-status:not(:empty)) .eyebrow{display:none}
@container(max-height:270px){.compact-landscape .result #cause{font-size:13px}.compact-landscape .record{font-size:11px}.compact-landscape .result #share-status{font-size:12px}}
