@font-face{font-family:KepuTitle;src:url('fonts/title-noto-sans-sc.ttf') format('truetype');font-weight:800;font-display:swap}@font-face{font-family:Manrope;src:url('fonts/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{font-family:Manrope,"Microsoft YaHei",sans-serif;color:#242424;background:#f5f5f3;--brand:#c91d1d;--muted:#656560;--line:#d9d9d4}*{box-sizing:border-box;scrollbar-color:#bdbdb6 #f5f5f3;scrollbar-width:thin}[hidden]{display:none!important}body{margin:0}button{font:inherit;cursor:pointer;border:0;-webkit-tap-highlight-color:transparent}button:disabled{cursor:wait;opacity:.5}button:focus-visible,#stage:focus-visible{outline:3px solid #242424;outline-offset:4px}::selection{background:var(--brand);color:#fff}.symbols{position:absolute;width:0;height:0}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#app{height:100dvh;min-height:560px;display:flex;flex-direction:column;padding:0 24px}header{height:76px;flex:none;display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line)}header>img{width:150px;height:auto}header>span{font-size:14px;padding-left:24px;border-left:1px solid var(--line)}.tools{margin-left:auto;display:flex;gap:6px}.tools button{width:44px;height:44px;display:grid;place-items:center;position:relative;background:transparent;color:#242424;border-radius:8px}.tools button:hover{background:#e7e7e2}#sound-off{position:absolute;width:27px;height:2px;background:currentColor;transform:rotate(-45deg);box-shadow:0 2px #f5f5f3}.arena{flex:1;min-height:0;position:relative;isolation:isolate;margin-top:16px;border-radius:16px;overflow:hidden;background:#e4e7e2}#stage{position:absolute;inset:0;z-index:-1;touch-action:none;outline-offset:-5px;user-select:none}#stage canvas{display:block;width:100%;height:100%}.scoreboard{position:absolute;top:24px;left:28px;right:28px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.score small,.best small{display:block;color:var(--muted);font-size:12px}.score>strong{font-size:clamp(48px,5.2vw,76px);font-weight:500;line-height:1.1;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.best{text-align:right}.best>strong{display:block;font-size:26px;font-weight:500;margin-top:4px;font-variant-numeric:tabular-nums}.best>span{display:block;font-size:12px;color:var(--muted);margin-top:8px}.intro{position:absolute;left:28px;top:168px;pointer-events:none}.intro h1{font-family:KepuTitle,sans-serif;font-size:clamp(36px,3.4vw,52px);line-height:1.3;letter-spacing:-.025em;margin:0;color:var(--brand);font-weight:800}.intro p{font-size:14px;line-height:1.9;color:var(--muted);margin:22px 0 16px}.intro>span{font-size:12px;color:var(--muted)}.bottom{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);width:min(340px,calc(100% - 40px));text-align:center}#hint{font-size:13px;line-height:1.7;margin:0 0 12px;padding:6px 8px;border-radius:8px;background:#f5f5f3;color:#414840}.charge{position:relative;isolation:isolate;overflow:hidden;display:block;width:100%;height:58px;color:#fff;background:var(--brand);border-radius:12px;touch-action:none;user-select:none;font-weight:600;font-size:16px}.charge:hover{background:#b61919}#power{position:absolute;inset:0;z-index:-1;background:#8d1111;transform-origin:left;transform:scaleX(0)}.keyboard-hint{display:block;font-size:12px;color:var(--muted);margin-top:12px}.feedback{position:absolute;top:135px;left:50%;transform:translateX(-50%);text-align:center;font-size:21px;font-weight:600;color:var(--brand);pointer-events:none;min-width:180px;line-height:1.5}.feedback.pop{animation:feedback .7s cubic-bezier(.16,1,.3,1)}@keyframes feedback{from{transform:translate(-50%,10px) scale(.9);opacity:.2}to{transform:translate(-50%,0) scale(1);opacity:1}}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:52px;font-size:12px;color:var(--muted);line-height:1.6}.overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:24px;background:#f5f5f3e8}.overlay section{max-width:100%;width:390px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;text-align:center;max-height:100%;overflow:auto}.overlay h2{font-size:30px;font-weight:600;letter-spacing:-.025em;line-height:1.4;margin:0 0 10px}.overlay p{font-size:13px;line-height:1.9;color:var(--muted);margin:0}.overlay #result-score{display:block;font-size:76px;line-height:1.2;letter-spacing:-.035em;color:var(--brand);font-weight:500;margin:22px 0;font-variant-numeric:tabular-nums}.result-details{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted);border-block:1px solid var(--line);padding:15px 0;margin:0 0 24px}.primary{min-height:52px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--brand);color:#fff;border-radius:10px;width:100%;font-weight:600;font-size:14px}.primary:hover{background:#a71515}.secondary{display:block;min-height:44px;margin:10px auto 0;padding:10px 8px;background:none;color:var(--muted);text-decoration:underline;text-underline-offset:4px;font-size:13px}.overlay .record-status{margin-top:17px;font-size:12px}#error .primary{margin-top:24px}.playing .intro{display:none}
@media(max-width:760px){#app{padding:0 10px}header{height:64px;gap:12px}header>img{width:112px}header>span{font-size:12px;padding-left:12px}.tools{gap:0}.tools button{width:40px;height:44px}.tools svg{width:20px;height:20px}.arena{margin-top:10px;border-radius:12px}.scoreboard{top:16px;left:18px;right:18px}.score>strong{font-size:48px}.best>strong{font-size:22px}.best>span{max-width:140px;line-height:1.5}.intro{left:18px;top:128px}.intro h1{font-size:32px}.intro p{font-size:12px;margin:14px 0 10px}.intro>span{font-size:11px;display:block;max-width:155px;line-height:1.8}.bottom{bottom:18px;width:calc(100% - 36px)}#hint{font-size:12px}.charge{height:54px;font-size:15px}.keyboard-hint{font-size:11px;margin-top:10px}.feedback{top:108px;font-size:18px}.overlay{padding:18px}.overlay section{padding:25px}.overlay h2{font-size:26px}.overlay #result-score{font-size:62px}.result-details{gap:10px}footer{min-height:44px;font-size:11px}footer>span:first-child{display:none}}
@media(max-width:360px){header>img{width:98px}header>span{padding-left:8px;font-size:11px}header{gap:8px}.tools button{width:36px}.intro h1{font-size:29px}.intro{top:116px}.intro p{max-width:150px}.best>span{max-width:120px;font-size:11px}.keyboard-hint{font-size:10px}.scoreboard{left:14px;right:14px}.bottom{bottom:14px}}
@media(max-height:640px){.intro{top:112px}.intro h1{font-size:32px}.intro p{margin:10px 0}.intro>span{display:none}.keyboard-hint{display:none}.bottom{bottom:16px}.feedback{top:110px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.intro{top:112px}.intro h1{font-size:29px}.intro h1 br{display:none}.intro p{margin:10px 0;font-size:12px}.intro>span{display:none}}
.station-info{position:absolute;left:28px;top:118px;display:flex;flex-direction:column;gap:6px;pointer-events:none}.station-info strong{font-size:14px;font-weight:600}.station-info span{font-size:12px;color:var(--muted)}.intro{top:190px}.demo-guide{display:none}.rocket-message{position:absolute;left:50%;top:29%;transform:translateX(-50%);width:min(550px,calc(100% - 40px));text-align:center;pointer-events:none}.rocket-message>span{font-size:13px;color:var(--brand);background:#f5f5f3;padding:6px 10px;border-radius:8px}.rocket-message h2{font-family:KepuTitle,"Microsoft YaHei",sans-serif;font-size:clamp(24px,3vw,42px);line-height:1.5;margin:18px 0 10px;font-weight:800}.rocket-message p{color:var(--brand);font-size:20px;font-weight:600;line-height:1.8;margin:0}.launching .intro,.launching .feedback{display:none}.demo #app{height:100dvh;min-height:0;padding:0}.demo header,.demo footer,.demo .scoreboard,.demo .intro,.demo .bottom,.demo .station-info,.demo #overlay,.demo #error{display:none!important}.demo .arena{margin:0;border-radius:0;min-height:0}.demo .demo-guide{display:flex;position:absolute;top:20px;left:22px;flex-direction:column;gap:7px;pointer-events:none}.demo-guide strong{font-size:clamp(14px,2vw,22px);font-weight:600}.demo-guide span{font-size:12px;color:var(--muted)}.demo .feedback{top:90px;font-size:18px}.demo .rocket-message{top:22%;width:90%}.demo .rocket-message h2{font-size:clamp(20px,3vw,32px)}.demo .rocket-message p{font-size:16px}.demo #stage{pointer-events:none}
@media(max-width:760px){.station-info{top:96px;left:18px;gap:5px}.station-info strong{font-size:12px}.station-info span{font-size:11px}.intro{top:151px}.intro h1{font-size:26px}.feedback{top:145px}.rocket-message{top:26%}.rocket-message h2{font-size:25px}.rocket-message p{font-size:16px}.demo .demo-guide{left:16px;top:16px}.demo-guide strong{font-size:16px}.demo-guide span{font-size:11px}.demo .feedback{top:80px;font-size:16px}}
@media(max-height:640px){.station-info{top:100px}.intro{top:150px}.intro p{display:none}.feedback{top:150px}}
.boot{position:absolute;inset:0;z-index:8;display:grid;place-items:center;background:#e4e7e2;color:#414840;text-align:center}.boot[hidden],.demo .boot{display:none}.boot p{margin:16px 0 0;font-size:13px;letter-spacing:.06em}.boot-track{display:block;position:relative;width:80px;height:3px;margin:auto;overflow:hidden;border-radius:3px;background:#ced2cd}.boot-track i{position:absolute;inset:0;background:#c91d1d;animation:boot-progress 1.2s ease-in-out infinite;transform-origin:left}.preparing:not(.demo) #stage,.preparing:not(.demo) .scoreboard,.preparing:not(.demo) .bottom{visibility:hidden}@keyframes boot-progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@media(prefers-reduced-motion:reduce){.boot-track i{animation:none;transform:scaleX(.5)}}
/* End-of-flight blessing: one readable white card across game and silent preview. */
.rocket-message{top:50%;transform:translate(-50%,-50%);padding:26px;background:#fff;border:1px solid var(--line);border-radius:16px;max-height:calc(100% - 40px);overflow:auto}.rocket-message>span{display:block;background:transparent;padding:0;border-radius:0}.rocket-message h2{font-size:clamp(24px,2.4vw,34px);margin:15px 0 12px}.rocket-message p{font-size:18px;line-height:1.8;text-wrap:pretty}.demo .rocket-message{top:50%;padding:14px;width:calc(100% - 28px);max-height:calc(100% - 28px)}.demo .rocket-message h2{font-size:20px;line-height:1.4;margin:10px 0 8px}.demo .rocket-message p{font-size:14px;line-height:1.7}.demo .rocket-message>span{font-size:11px}
@media(max-width:760px){.rocket-message{top:50%;padding:20px;width:calc(100% - 32px)}.rocket-message h2{font-size:22px;line-height:1.5}.rocket-message p{font-size:16px;line-height:1.85}.demo .rocket-message{top:50%;padding:12px}.demo .rocket-message h2{font-size:17px;line-height:1.4}.demo .rocket-message p{font-size:12px;line-height:1.65}}
/* Direct interaction: the stage is the target; hints never intercept a press. */
.bottom{pointer-events:none;bottom:22px;width:min(400px,calc(100% - 36px))}#hint{display:inline-block;background:none;padding:0;margin:0;color:#414840;font-size:13px;line-height:1.8}.power-track{position:relative;overflow:hidden;width:150px;height:4px;border-radius:2px;background:#d9d9d4;margin:12px auto 0;opacity:0}.is-charging .power-track{opacity:1}.power-track #power{display:block;z-index:auto;background:#c91d1d;transform-origin:left}.keyboard-hint{margin-top:10px}.demo .feedback{top:auto;bottom:18px;left:20px;transform:none;text-align:left;font-size:20px;min-width:0}.demo .feedback.pop{animation:none}#stage{cursor:pointer}.is-charging #stage{cursor:grabbing}
@media(max-width:760px){#hint{font-size:12px}.bottom{bottom:18px}.demo .feedback{bottom:14px;left:16px;font-size:18px}}
/* One dimensional reveal for the end-of-flight message, retaining an opaque reading face. */
.rocket-message{border:0;box-shadow:0 18px 42px #2424242e;transform-style:preserve-3d;transform:translate(-50%,-50%) perspective(950px)}.rocket-message:not([hidden]){animation:blessing-arrive .75s cubic-bezier(.16,1,.3,1) both,blessing-float 4s ease-in-out .75s infinite alternate}.rocket-message h2{transform:translateZ(24px)}.rocket-message p{transform:translateZ(18px)}.rocket-message>span{display:inline-block;transform:translateZ(30px);padding:5px 12px;border-radius:999px;background:#f8eaea;color:#c91d1d;font-weight:600}.demo .rocket-message>span{padding:3px 9px}.demo .feedback{bottom:auto;left:50%;top:18%;transform:translateX(-50%);font-size:24px;line-height:1.2;text-align:center;font-weight:700;min-width:0}.demo .feedback.pop{animation:none}
@keyframes blessing-arrive{from{opacity:.7;transform:translate(-50%,-43%) perspective(950px) rotateX(17deg) rotateY(-9deg) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) perspective(950px) rotateX(0) rotateY(0) scale(1)}}
@keyframes blessing-float{from{transform:translate(-50%,-50%) perspective(950px) rotateX(0) rotateY(-1deg)}to{transform:translate(-50%,calc(-50% - 4px)) perspective(950px) rotateX(1deg) rotateY(1deg)}}
@media(max-width:760px){.demo .feedback{font-size:20px}.rocket-message{box-shadow:0 12px 30px #24242429}}
@media(prefers-reduced-motion:reduce){.rocket-message{transform:translate(-50%,-50%)}.rocket-message h2,.rocket-message p,.rocket-message>span{transform:none}}
.demo .rocket-message{width:min(420px,calc(100% - 28px))}.demo .feedback:not(:empty){padding:4px 8px;border-radius:8px;background:#fff;box-shadow:0 3px 8px #2424241a}
.rocket-message{width:min(380px,calc(100% - 32px));padding:0;background:transparent;border-radius:16px;overflow:visible;max-height:calc(100% - 24px);box-shadow:0 20px 48px #24242430;transform:translate(-50%,-50%) perspective(1000px)}.rocket-message:not([hidden]){animation:wish-rise .8s cubic-bezier(.16,1,.3,1) both}.wish-heading{background:#fff;border-radius:16px 16px 0 0;padding:22px 24px 18px;border-bottom:1px solid #e5e5e0}.wish-heading>img{width:112px;height:auto;margin:0 auto 12px;display:block}.rocket-message .wish-heading h2{font-family:Manrope,"Microsoft YaHei",sans-serif;font-size:14px;font-weight:600;line-height:1.6;margin:0;color:#414840;transform:none}.wish-body{background:#fff;border-radius:0 0 16px 16px;padding:22px 26px 18px;transform-origin:50% 0;transform-style:preserve-3d}.rocket-message:not([hidden]) .wish-body{animation:wish-unfold 1s cubic-bezier(.16,1,.3,1) both}.rocket-message .wish-body>p{font-family:KepuTitle,"Microsoft YaHei",sans-serif;font-size:25px;font-weight:800;line-height:1.65;min-height:124px;display:grid;align-items:center;margin:0;color:var(--brand);transform:none;text-wrap:pretty}.wish-signoff{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px -26px -18px;padding:12px 22px;background:var(--brand);color:#fff;border-radius:0 0 16px 16px}.wish-signoff>span{font-size:12px}.wish-signoff>strong{font-size:28px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}.demo .rocket-message{width:min(340px,calc(100% - 28px));padding:0}.demo .wish-heading{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px 18px}.demo .wish-heading>img{width:86px;margin:0}.demo .rocket-message .wish-heading h2{font-size:12px;line-height:1.6}.demo .wish-body{padding:16px 22px 14px}.demo .rocket-message .wish-body>p{font-size:20px;min-height:88px;line-height:1.6}.demo .wish-signoff{margin:14px -22px -14px;padding:10px 18px}.demo .wish-signoff>strong{font-size:24px}
@keyframes wish-rise{from{opacity:.4;transform:translate(-50%,-38%) perspective(1000px) rotateX(10deg)}to{opacity:1;transform:translate(-50%,-50%) perspective(1000px) rotateX(0)}}@keyframes wish-unfold{from{opacity:.65;transform:rotateX(-70deg)}to{opacity:1;transform:rotateX(0)}}
@media(max-width:760px){.rocket-message .wish-body>p{font-size:22px;min-height:110px}.wish-heading{padding:18px 20px 15px}.wish-body{padding:20px 22px 16px}.wish-signoff{margin:18px -22px -16px}.demo .wish-heading{padding:10px 12px;gap:10px}.demo .wish-heading>img{width:74px}.demo .rocket-message .wish-heading h2{font-size:11px}.demo .wish-body{padding:12px 18px 10px}.demo .rocket-message .wish-body>p{font-size:16px;min-height:72px;line-height:1.6}.demo .wish-signoff{margin:12px -18px -10px;padding:8px 14px}.demo .wish-signoff>span{font-size:11px}.demo .wish-signoff>strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.rocket-message:not([hidden]),.rocket-message:not([hidden]) .wish-body{animation:none;transform:translate(-50%,-50%)}.rocket-message:not([hidden]) .wish-body{transform:none}}

.demo .arena{transition:opacity .4s ease}.demo.demo-resetting .arena{opacity:0}@media(prefers-reduced-motion:reduce){.demo .arena{transition:none}}

.demo .feedback{font-size:20px;transform:translate(-50%,-100%)}@media(max-width:760px){.demo .feedback{font-size:16px}}

/* Hold/release is gameplay, including when the finger is over the HUD. */
.arena,.arena *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#score,#best{color:var(--brand)}
.workshop .scoreboard>div{padding:5px 10px;border-radius:8px;background:rgba(246,248,245,.91)}
.workshop .bottom{width:max-content;max-width:calc(100% - 32px);padding:6px 14px;border-radius:9px;background:rgba(246,248,245,.94)}
.workshop:not(.is-charging) .power-track{height:0;margin:0}
@media(pointer:coarse){.workshop .keyboard-hint{display:none}}
.workshop #hint{margin:0;padding:0}.workshop .keyboard-hint{margin-top:4px}
