@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('./vendor/dm-sans-regular.ttf') format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('./vendor/dm-sans-bold.ttf') format('truetype')}
@font-face{font-family:'Patrick Hand';font-style:normal;font-weight:400;font-display:swap;src:url('./vendor/patrick-hand.ttf') format('truetype')}
:root{--paper:#f7f4e9;--ink:#263e5a;--blue:#496b8e;--yellow:#f5d365;--red:#e57c64;--green:#bad3b0;--hand:'Patrick Hand','Comic Sans MS',cursive;--sans:'DM Sans',system-ui,sans-serif;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);background-image:linear-gradient(#31527b0a 1px,transparent 1px),linear-gradient(90deg,#31527b0a 1px,transparent 1px);background-size:24px 24px}button{color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none;-webkit-user-select:none}button:focus-visible{outline:3px solid #3a789e;outline-offset:5px}button:disabled{cursor:default}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.notebook{max-width:1180px;margin:auto;padding:24px 32px 16px}.masthead{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.brand h1{font:700 40px/1 var(--sans);letter-spacing:-2px;margin:0;transform:rotate(-2deg)}.brand h1 span{position:relative;z-index:0}.brand h1 span:after{content:'';position:absolute;background:var(--yellow);height:14px;left:-3px;right:-6px;bottom:2px;z-index:-1;transform:rotate(1deg)}.brand h1 b{color:var(--red)}.brand p{font:19px var(--hand);margin:10px 0 0}.header-tools{display:flex;align-items:center;gap:10px}.edition{font-size:11px;line-height:1.7;letter-spacing:1.4px;margin-right:18px}.edition b{font-size:12px;font-weight:400;letter-spacing:0}.icon-button{width:44px;height:44px;background:#fffdf6;border:1.5px solid var(--ink);border-radius:50%;display:grid;place-items:center;box-shadow:1px 2px 0 var(--ink)}.icon-button svg{width:20px;height:20px}.icon-button:active{transform:translateY(2px);box-shadow:none}.icon-button:disabled{opacity:.35}.dashboard{display:flex;align-items:center;gap:32px;margin-bottom:18px}.energy-block{flex:1}.energy-caption,.energy-bottom{display:flex;align-items:center;justify-content:space-between}.energy-caption{margin-bottom:6px;font-size:12px;font-weight:700;letter-spacing:1.5px}.energy-caption>span{display:flex;align-items:center;gap:5px}.energy-caption svg{width:18px;height:18px;fill:var(--yellow);stroke-width:1.5}.energy-caption strong{font:22px/1 var(--hand);letter-spacing:0}.energy-caption strong span{font-size:16px}.energy-meter{height:24px;border:2px solid var(--ink);border-radius:5px 7px 4px 6px;position:relative;overflow:hidden;background:#e8e7df;transform:rotate(-.25deg);box-shadow:2px 2px 0 #263e5a18}.energy-meter>div{position:absolute;inset:0;transform-origin:left;transition:transform .18s ease-out}#energy-fill{background:var(--green)}#energy-trail{background:var(--red);transition:transform .6s ease-out}.meter-lines{background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#263e5a30 calc(10% - 1px),#263e5a30 10%)}.energy-bottom{font-size:11px;color:#597085;margin-top:5px}.energy-bottom>span:last-child{font-size:9px;letter-spacing:1px}.stat{border-left:1px solid #263e5a35;padding-left:28px;min-width:105px}.stat>span{font-size:10px;letter-spacing:1.5px;font-weight:700;display:block}.stat>strong{font:42px/1.1 var(--hand);display:block;font-variant-numeric:tabular-nums}.stat small{font-size:22px;padding-left:3px}.timer{min-width:97px}.stage{position:relative;height:clamp(350px,46vh,550px);border:1.6px solid var(--ink);border-radius:11px 8px 12px 8px;overflow:hidden;background:#eeefdf;box-shadow:4px 5px 0 #263e5a12;isolation:isolate}#yard{display:block;width:100%;height:100%;touch-action:pan-y}.scene-label{position:absolute;top:19px;left:21px;display:flex;align-items:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:1.3px;pointer-events:none}.scene-number{font:24px var(--hand);border:1.5px solid var(--ink);border-radius:50%;width:35px;height:35px;display:grid;place-items:center;transform:rotate(-8deg)}.scene-label small{display:block;font:16px var(--hand);letter-spacing:0;margin-top:3px;color:#50677a}.ground-note{position:absolute;bottom:15px;left:22px;font:15px var(--hand);color:#526b79;transform:rotate(-3deg)}.intro{position:absolute;left:35px;top:50%;transform:translateY(-45%) rotate(-2deg);background:#fffdf4f5;padding:23px 26px 20px;border:1.5px solid var(--ink);border-radius:3px 9px 4px 7px;box-shadow:5px 5px 0 #263e5a15;max-width:315px}.intro:before{content:'';position:absolute;width:65px;height:20px;background:#f2d88baa;top:-11px;left:40%;transform:rotate(7deg)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px}.intro h2,.center-panel h2{font:42px/1.1 var(--hand);margin:9px 0 12px}.intro p,.center-panel p{font-size:14px;line-height:1.65;margin:0 0 18px}.primary-button{display:block;width:100%;background:var(--yellow);border:1.7px solid var(--ink);border-radius:5px 7px 5px 6px;box-shadow:3px 3px 0 var(--ink);padding:13px 18px;font-weight:700;font-size:16px;min-height:49px}.primary-button:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}.primary-button:disabled{opacity:.5}.round-note{display:block;font:14px var(--hand);text-align:center;margin-top:13px}.control-caption{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.1px;margin:20px 0 12px}.control-caption>span:last-child{font:16px var(--hand);letter-spacing:0}.buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.question{background:#fffdf5;border:1.6px solid var(--ink);border-radius:8px 6px 9px 6px;text-align:left;padding:12px 17px 14px;box-shadow:3px 4px 0 #263e5a;position:relative;overflow:hidden;min-height:116px;transition:transform .08s,box-shadow .08s}.question:nth-child(2){transform:rotate(.5deg)}.question:nth-child(3){transform:rotate(-.6deg)}.question:active,.question.pressed{transform:translate(2px,3px);box-shadow:1px 1px 0 var(--ink)}.question:disabled{opacity:.62}.question strong{font:29px/1.1 var(--hand);display:block;margin:2px 0}.button-top{display:flex;align-items:center;justify-content:space-between}.button-icon{display:block;font:30px/1 var(--hand);width:30px;height:30px}kbd{font:10px var(--sans);padding:3px 5px;border:1px solid #263e5a40;border-radius:3px;opacity:.6}.button-description{font-size:12px}.question.watch{background:#ecf2ee}.question.confession{background:#f8e7dc}.question.why{background:var(--yellow)}.cooldown{position:absolute;inset:auto 0 0;height:4px;background:var(--ink);transform:scaleX(0);transform-origin:left}.question.cooling{opacity:.55}footer{display:flex;justify-content:space-between;gap:12px;margin-top:20px;font:14px var(--hand);color:#52677a}footer>span:last-child{font:9px var(--sans);letter-spacing:1px;align-self:center}.speech{position:absolute;max-width:220px;background:#fffdf5;border:1.6px solid var(--ink);padding:10px 14px;border-radius:12px 12px 12px 1px;box-shadow:3px 3px 0 #263e5a15;pointer-events:none;transform:translate(-50%,-100%) rotate(-3deg)}.speech small{font-size:9px;letter-spacing:1px;font-weight:700;display:block;margin-bottom:3px}.speech>span{font:22px/1.1 var(--hand);display:block}.dad-speech{position:absolute;font:20px/1.15 var(--hand);background:#fffdf4ed;border:1.3px solid var(--ink);border-radius:12px 12px 2px 12px;padding:7px 11px;max-width:180px;text-align:center;pointer-events:none;transform:translate(-50%,-100%) rotate(3deg)}.timing{position:absolute;top:19px;right:18px;background:var(--yellow);border:1.5px solid var(--ink);border-radius:5px;padding:8px 11px;transform:rotate(2deg);font:16px var(--hand);overflow:hidden}.timing span{position:absolute;inset:0;background:#fff6;transform-origin:left;transform:scaleX(0)}.timing b{position:relative;font-weight:400}.timing.perfect{background:#ecab86}.punchline{position:absolute;top:24%;left:50%;transform:translateX(-50%) rotate(-6deg);font:34px/1 var(--hand);text-align:center;white-space:nowrap;color:var(--ink);text-shadow:2px 2px var(--paper),-2px -2px var(--paper),2px -2px var(--paper),-2px 2px var(--paper);pointer-events:none}.punchline small{display:block;font:14px var(--sans);margin-top:7px;letter-spacing:1px}.barrage{position:absolute;bottom:16px;right:20px;font:20px var(--hand);background:var(--yellow);border:1.5px solid var(--ink);padding:5px 12px;border-radius:5px;transform:rotate(5deg)}.center-panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-1deg);width:min(340px,90%);background:#fffdf4f5;border:2px solid var(--ink);border-radius:7px 10px 6px 10px;padding:25px;text-align:center;box-shadow:6px 6px 0 #263e5a25}.result-stats{display:flex;justify-content:center;gap:30px;margin:0 0 20px}.result-stats strong{font:40px var(--hand);display:block}.result-stats span{font-size:9px;letter-spacing:1px}.shake{animation:shake .25s ease-out}@keyframes shake{25%{transform:translateX(-3px) rotate(-.3deg)}75%{transform:translateX(3px) rotate(.3deg)}}
@media(min-width:1500px){.notebook{padding-top:36px}.stage{height:510px}}
@media(max-width:700px){.notebook{padding:16px 16px max(12px,env(safe-area-inset-bottom));height:100svh;min-height:620px;display:flex;flex-direction:column;max-width:560px}.masthead{margin-bottom:16px;gap:10px}.brand h1{font-size:31px;letter-spacing:-1.5px}.brand p{font-size:15px;margin-top:6px}.brand h1 span:after{height:10px}.header-tools{gap:8px}.edition{display:none}.icon-button{width:40px;height:40px}.dashboard{gap:14px;margin-bottom:13px}.energy-caption{font-size:10px;letter-spacing:.7px}.energy-caption strong{font-size:20px}.energy-meter{height:22px}.energy-bottom{font-size:10px}.energy-bottom>span:last-child{display:none}.stat{min-width:52px;padding-left:13px}.stat>span{font-size:8px;letter-spacing:.8px}.stat>strong{font-size:33px}.timer{min-width:51px}.stat small{font-size:17px}.stage{height:auto;flex:1;min-height:260px;border-radius:9px}.scene-label{left:12px;top:13px;gap:7px;font-size:9px;letter-spacing:1px}.scene-number{font-size:20px;width:28px;height:28px}.scene-label small{font-size:13px;max-width:200px}.intro{left:50%;top:auto;bottom:14px;transform:translateX(-50%) rotate(-2deg);width:calc(100% - 38px);max-width:300px;padding:16px 20px 14px}.intro h2{font-size:33px;margin:5px 0 7px}.intro p{font-size:13px;margin-bottom:12px}.intro .round-note{margin-top:9px;font-size:12px}.intro .eyebrow{font-size:9px}.primary-button{padding:10px 14px;min-height:46px}.ground-note{bottom:12px;left:12px;font-size:12px}.control-caption{margin:15px 0 10px;font-size:8px;letter-spacing:.6px}.control-caption>span:last-child{font-size:13px}.buttons{grid-template-columns:repeat(3,1fr);gap:10px}.question{min-height:91px;padding:8px 11px 10px;box-shadow:2px 3px 0 var(--ink)}.question strong{font-size:26px}.button-icon{width:22px;height:22px;font-size:25px}.button-description{font-size:10px}.question.why{grid-column:1/-1;min-height:51px;padding:8px 15px;display:flex;align-items:center;gap:14px}.why .button-top{display:block}.why strong{margin:0;font-size:28px}.why .button-description{margin-left:auto;font-size:12px}.why .button-icon{height:25px;width:25px}kbd{display:none}footer{margin-top:13px;justify-content:center;font-size:12px}footer>span:last-child{display:none}.speech{max-width:170px;padding:8px 11px}.speech>span{font-size:19px}.dad-speech{font-size:17px;max-width:145px}.timing{top:60px;right:11px;padding:5px 8px;font-size:14px}.punchline{font-size:29px;top:26%}.center-panel{padding:20px}.center-panel h2{font-size:36px}.result-stats{margin-bottom:14px}.result-stats strong{font-size:33px}}
@media(max-width:700px) and (max-height:730px){.notebook{padding-top:10px;min-height:580px}.masthead{margin-bottom:10px}.brand p{display:none}.stage{min-height:230px}.control-caption{margin-top:11px}.question{min-height:79px;padding:6px 10px}.question strong{font-size:23px}.question.why{min-height:45px}footer{display:none}.intro{padding:12px 18px}.intro p{margin-bottom:9px}.intro .round-note{display:none}}
@media(orientation:landscape) and (max-height:550px){.notebook{height:100svh;min-height:320px;max-width:1050px;padding:10px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));display:grid;grid-template-columns:1fr 220px;grid-template-rows:45px 1fr;gap:10px 16px}.masthead{grid-column:1;margin:0}.brand h1{font-size:25px}.brand p,.edition{display:none}.icon-button{height:32px;width:36px}.dashboard{grid-column:2;grid-row:1;margin:0;gap:8px}.energy-caption{font-size:8px}.energy-caption strong{font-size:17px}.energy-meter{height:16px}.energy-bottom{display:none}.stat{min-width:36px;padding-left:8px}.stat>span{font-size:7px}.stat>strong{font-size:24px}.stage{grid-column:1;grid-row:2;height:100%;min-height:230px}.controls{grid-column:2;grid-row:2;align-self:center}.buttons{grid-template-columns:1fr 1fr;gap:10px}.question{min-height:96px;padding:9px}.question strong{font-size:25px}.question .button-description{font-size:9px}.question.why{grid-column:auto;display:block}.why .button-description{margin:0}.control-caption{margin-top:0}.control-caption>span:last-child,footer,kbd{display:none}.intro{left:14px;top:50%;bottom:auto;transform:translateY(-45%) rotate(-2deg);width:240px;padding:14px}.intro h2{font-size:28px}.intro p{font-size:12px}.intro .round-note{display:none}.scene-label{top:10px;left:12px}.ground-note{display:none}.timing{top:12px;right:12px}.speech{max-width:165px}}
@media(prefers-reduced-motion:reduce){.shake{animation:none}*{scroll-behavior:auto!important}}
.center-panel{max-height:calc(100% - 24px);overflow-y:auto;overscroll-behavior:contain}
@media(pointer:coarse){kbd{display:none}}
@media(orientation:landscape) and (max-height:550px){.result{padding:14px 20px}.result h2{font-size:30px;margin:6px 0}.result p{font-size:13px;margin-bottom:8px}.result-stats{margin-bottom:10px}.result-stats strong{font-size:28px}.result .round-note{font-size:12px;margin-top:8px}.result .primary-button{padding:10px;min-height:44px}}

.phone-call{position:absolute;transform:translate(-50%,-100%) rotate(9deg);font:19px var(--hand);color:var(--ink);background:var(--yellow);border:1.3px solid var(--ink);border-radius:6px;padding:3px 8px;pointer-events:none}
