@font-face{font-family:RocketBrush;src:url('/assets/rocket-launch/mobile-ui/title.woff2') format('woff2');font-display:swap}
.rocket-phone{--ink:#12385c;--paper:#fff9ed;--muted:#526477;overflow:auto;background:#123c70;color:var(--ink);height:auto;min-height:100%;font-family:system-ui,-apple-system,"PingFang SC","Microsoft Yahei",sans-serif}
.rocket-phone [hidden]{display:none!important}.rocket-phone main{max-width:520px;margin:0 auto;padding:0 18px calc(24px + env(safe-area-inset-bottom));position:relative;min-height:100svh;background:var(--paper)}
.rocket-phone .phone-top{position:absolute;left:0;right:0;top:0;padding:calc(10px + env(safe-area-inset-top)) 18px 0;display:flex;justify-content:space-between;align-items:center;z-index:3;color:white}
.rocket-phone .phone-top>a{font-size:10px;letter-spacing:1px;color:#fff;text-decoration:none;font-weight:700}.phone-top nav{display:flex;gap:16px}
.rocket-phone .phone-top button{border:0;border-radius:0;background:none;color:#fff;display:flex;align-items:center;flex-direction:column;gap:4px;padding:0 2px;margin:0;width:auto;min-height:42px;font-size:11px}.rocket-phone .phone-top img{width:23px;height:23px;margin:0;filter:brightness(0) invert(1)}
.rocket-phone .sound-status{position:absolute;top:calc(53px + env(safe-area-inset-top));right:20px;margin:0;font-size:10px;color:#fff;z-index:3}
.rocket-phone .phone-hero{height:calc(350px + env(safe-area-inset-top));margin:0 -18px;position:relative;overflow:hidden;background:#164b82 url('/assets/rocket-launch/visual-v1/launch-pad-v2.webp') 65% 100%/auto 100% no-repeat;color:#fff}
.hero-copy{position:relative;z-index:1;text-align:center;padding-top:calc(66px + env(safe-area-inset-top));text-shadow:0 2px 5px #0c315d}
.rocket-phone .hero-copy h1{font-family:RocketBrush,"KaiTi",serif;font-weight:400;font-size:49px;line-height:1;margin:0;letter-spacing:3px}.hero-copy h1 span{color:#ffe59a}.rocket-phone .hero-copy p{font-size:15px;letter-spacing:3px;margin:10px 0 12px;line-height:1.3}
.play-steps{display:flex;align-items:center;justify-content:center;gap:20px;list-style:none;margin:0;padding:0;font-size:11px}.play-steps li{display:flex;align-items:center;gap:5px}.rocket-phone .play-steps img{width:17px;height:17px;filter:brightness(0) invert(1);margin:0}
.rocket-phone .hero-rocket{position:absolute;left:42%;bottom:37px;height:154px;margin:0;transform:translateX(-50%)}.rocket-phone .hero-rocket>img{height:100%;max-height:none;width:auto;max-width:none;filter:drop-shadow(0 3px 2px #0c284766)}.hero-rocket figcaption{position:absolute;left:calc(100% + 5px);top:18px;padding:4px 9px;background:#fff4d9;color:#20415d;border-radius:12px;font-size:11px;white-space:nowrap;transform:rotate(-8deg);box-shadow:0 2px 5px #452f2930}
.rocket-phone .card{border:1px solid #ecd9b7;border-radius:23px;background:var(--paper);padding:20px;margin:16px 0;box-shadow:0 5px 22px #513d1c0d}.rocket-phone .scan-workshop{position:relative;margin-top:-24px;z-index:2}
.rocket-phone h2{font-size:21px;line-height:1.4;margin:0 0 14px;display:flex;align-items:center;gap:10px}.rocket-phone .section-icon{height:30px;width:26px;margin:0;opacity:.8}
.rocket-phone button,.rocket-phone summary{font-size:14px;border:1px solid #b5c1cc;background:#fff9ed;color:var(--ink);border-radius:12px;padding:12px 14px;min-height:44px}.rocket-phone button{margin:10px 0;font-weight:600}.rocket-phone button:disabled{opacity:.48;cursor:not-allowed}.rocket-phone button:focus-visible,.rocket-phone a:focus-visible,.rocket-phone input:focus-visible,.rocket-phone select:focus-visible,.rocket-phone summary:focus-visible{outline:3px solid #297cbe;outline-offset:3px}
.rocket-phone .primary{background:#f89b25;color:#153452;border:1px solid #ed8b16;box-shadow:0 3px 0 #d87d14;padding:14px;font-size:18px;font-weight:750;border-radius:28px;display:flex;justify-content:center;align-items:center;gap:10px}.rocket-phone .primary img,.rocket-phone .secondary img{width:23px;height:23px;margin:0}.rocket-phone .secondary{border:1.5px solid #16436b;border-radius:28px;background:transparent;display:flex;justify-content:center;align-items:center;gap:8px;font-size:15px;padding:11px}
.rocket-phone select,.rocket-phone input[type=text]{width:100%;background:#fffdf7;color:var(--ink);border:1px solid #a7b6c6;border-radius:10px;padding:12px;font-size:16px;min-height:46px;margin:0}.rocket-phone .draft-badge{font-size:11px;line-height:1.55;margin:9px 0;color:#875011;border-left:2px solid #db9b31;padding-left:8px}.rocket-phone .capture-tip{font-size:12px;line-height:1.6;margin:12px 0;color:var(--muted)}
.rocket-phone .paper-link{min-height:40px;display:flex;align-items:center;justify-content:center;gap:8px;margin:8px 0 0;font-size:14px;color:var(--ink);text-underline-offset:4px}.rocket-phone .paper-link img{height:18px;width:18px;margin:0}.rocket-phone .paper-link[aria-disabled=true]{opacity:.5;pointer-events:none;text-decoration:none}
.rocket-phone .capture-help{margin:8px 0 0}.rocket-phone .capture-help summary{font-size:12px;padding:8px 0;min-height:30px;text-align:center;border:0;background:transparent;color:var(--muted)}.capture-help p{font-size:12px}
.rocket-phone #scan-status{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 0}.rocket-phone #scan-status:empty{display:none}.rocket-phone .scan-help{font-size:13px;line-height:1.65;color:var(--muted)}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:11px;color:var(--muted)}.rocket-phone .section-heading .back-button{width:auto;min-height:36px;font-size:13px;padding:6px 0;margin:0;border:0;background:none;text-decoration:underline;text-underline-offset:4px}
.rocket-phone .scan-check{font-size:13px;line-height:1.7;gap:10px}.scan-check input{width:18px;height:18px;accent-color:#174f79}.rocket-phone .public-notice{border:1px solid #e4bf72;border-radius:12px;background:#fff0cc;padding:14px;margin:16px 0;font-size:13px}.public-notice p{font-size:12px;line-height:1.6;margin:6px 0}.public-notice .scan-check{margin-bottom:0}
.rocket-phone figure.master-preview{margin:0 0 16px;background:#e6edf0;border-radius:16px;padding:16px}.rocket-phone .master-preview img{max-height:310px;width:100%;object-fit:contain}.rocket-phone figcaption{font-size:11px;text-align:center;margin-top:8px}.rocket-phone .page-preview{margin:12px 0}.rocket-phone .page-preview img{max-height:none;width:100%}.rocket-phone .scan-parts img{max-height:none}
.rocket-phone #status{color:#173e63;font-size:22px;margin:10px 0;line-height:1.5}.rocket-phone #participant{font-size:12px;text-align:center}.rocket-phone #artwork{max-height:290px;background:#e6edf0;border-radius:16px;padding:10px;max-width:100%;width:100%;object-fit:contain}.rocket-phone #guidance{font-size:12px;min-height:0;color:var(--muted)}.rocket-phone #cancel{font-size:13px;color:var(--muted)}
.rocket-phone #connection-panel{font-size:11px;color:#526477;text-align:center}.rocket-phone .note{font-size:10px;color:#647281;margin:8px 0;text-align:center;opacity:1}.rocket-phone #qa-tools{font-size:12px}.rocket-phone #qa-tools a{color:var(--ink)}.rocket-phone #memorial img{max-height:none;width:100%}
.rocket-phone[data-view]:not([data-view=home]) .phone-hero{height:calc(124px + env(safe-area-inset-top));background-position:65% 22%;background-size:auto 350px}.rocket-phone[data-view]:not([data-view=home]) .hero-copy{padding-top:calc(72px + env(safe-area-inset-top));text-align:left;padding-left:24px}.rocket-phone[data-view]:not([data-view=home]) .hero-copy h1{font-size:29px}.rocket-phone[data-view]:not([data-view=home]) .hero-copy p,.rocket-phone[data-view]:not([data-view=home]) .play-steps,.rocket-phone[data-view]:not([data-view=home]) .hero-rocket{display:none}
.rocket-phone[data-view]:not([data-view=home]) .scan-workshop{margin-top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:360px){.rocket-phone main{padding-left:12px;padding-right:12px}.rocket-phone .phone-hero{margin:0 -12px;height:330px}.rocket-phone .card{padding:16px}.play-steps{gap:13px}.rocket-phone .hero-rocket{height:140px}.rocket-phone h2{font-size:19px}}
/* Enlarge the launch scene together; keep the nozzle on the same platform anchor. */
.rocket-phone .phone-hero{height:calc(600px + env(safe-area-inset-top))}
.rocket-phone .hero-rocket{left:51%;bottom:22.1%;height:280px}
.rocket-phone[data-view=home] .phone-hero{background-image:url('/assets/rocket-launch/loading-v1/launch-pad-portrait.webp');background-size:cover;background-position:center 73.3%}
.rocket-phone[data-view=home] .hero-rocket{left:39.5%;bottom:26.7%}
.rocket-phone .phone-top nav{background:#103b65b8;border-radius:12px;padding:6px 10px;gap:14px}
.rocket-phone .sound-status{top:calc(69px + env(safe-area-inset-top));right:24px;font-size:10px}
.rocket-phone .hero-copy{padding-top:calc(82px + env(safe-area-inset-top))}
.rocket-phone .hero-copy p{margin:7px 0 9px}
.rocket-phone[data-view]:not([data-view=home]) .hero-copy{padding-top:calc(83px + env(safe-area-inset-top))}
@media(prefers-reduced-motion:reduce){.rocket-phone *{scroll-behavior:auto!important;animation:none!important}}

.experience-mode{position:relative;padding:14px 8px;color:#123c70;background:#fff7e8;border-radius:18px;margin:12px 0 28px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.experience-mode strong{flex:1 1 100%}.experience-mode a,.experience-mode button{font-size:13px}.experience-mode form{width:100%}#site-address{width:100%;box-sizing:border-box}.rocket-phone #phone-flight{width:100%;height:auto;aspect-ratio:39/55;display:block;border-radius:18px;background:#132d4b}.rocket-phone #phone-flight[hidden]{display:none}.rocket-phone #artwork[hidden]{display:none}#flight-error{color:#963b22}#save-card{display:block;padding:12px;text-align:center}#save-card[hidden]{display:none}.rocket-phone[data-view=console] .experience-mode{margin-bottom:8px}.rocket-phone .flight-console{padding:12px}.rocket-phone .flight-console h2{font-size:20px;margin:8px 0}body.rocket-phone{padding-bottom:env(safe-area-inset-bottom)}

.rocket-phone[data-view=console] .phone-hero{height:75px}.rocket-phone[data-view=console] .hero-copy{display:none}.rocket-phone[data-view=console] .experience-mode{padding:8px;margin:6px 0;gap:4px}.rocket-phone[data-view=console] .experience-mode strong{font-size:13px}.rocket-phone[data-view=console] .flight-console{margin-top:8px}.rocket-phone[data-view=console] .flight-console h2{display:none}.rocket-phone[data-view=console] .section-heading{margin-bottom:8px}.rocket-phone[data-view=console] .flight-console #participant{font-size:13px;margin:8px 0}

.rocket-phone .experience-mode button{width:auto;padding:6px 12px;margin:0}.rocket-phone[data-view=console] .experience-mode{display:flex;flex-direction:row;align-items:center}.rocket-phone[data-view=console] .experience-mode strong{flex:1}.rocket-phone[data-view=console] #connect-site{font-size:12px}
/* Full-screen phone flight: one canvas, shared by H5 and the mini-program WebView. */
.rocket-phone .phone-top>a{display:flex;align-items:center;gap:8px;font-size:19px;letter-spacing:0;min-height:44px}
.rocket-phone .phone-top>a img{width:22px;height:22px;filter:brightness(0) invert(1)}
.rocket-phone details.experience-mode{display:block;margin:12px 0 28px}
.rocket-phone .experience-mode>summary{font-size:12px;background:transparent;border:0;padding:6px;min-height:32px;color:inherit}
.rocket-phone .experience-mode>button,.rocket-phone .experience-mode>a{display:inline-block;margin:8px}
.rocket-phone[data-view=console]{height:100dvh;min-height:0;overflow:hidden;padding:0;background:#123c70;color:#fff7df}
.rocket-phone[data-view=console] main{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;min-height:0;margin:0;padding:0;background:transparent;overflow:hidden}
.rocket-phone[data-view=console] .phone-hero,.rocket-phone[data-view=console] main>.note,.rocket-phone[data-view=console] #qa-tools{display:none}
.rocket-phone[data-view=console] .phone-top{position:fixed;z-index:5;padding:calc(10px + env(safe-area-inset-top)) 16px 0;text-shadow:0 2px 6px #10233b}
.rocket-phone[data-view=console] .phone-top nav{background:#0e31556b;border:1px solid #ffffff30;gap:10px;border-radius:24px;padding:5px 10px}
.rocket-phone[data-view=console] .phone-top button{min-width:40px;min-height:40px;font-size:10px}
.rocket-phone[data-view=console] .sound-status{position:fixed;top:calc(66px + env(safe-area-inset-top));font-size:10px;text-shadow:0 2px 5px #10233b;z-index:5;max-width:55%}
.rocket-phone[data-view=console] details.experience-mode{position:fixed;top:calc(82px + env(safe-area-inset-top));left:16px;z-index:5;max-width:calc(100% - 32px);display:block;margin:0;padding:2px 7px;border-radius:18px;background:#092e527a;color:#fff3d5;border:1px solid #ffffff30;backdrop-filter:blur(8px)}
.rocket-phone[data-view=console] .experience-mode>summary{font-size:11px;max-width:100%;font-weight:500;min-height:28px}
.rocket-phone[data-view=console] .experience-mode[open]{background:#0c2a47f5;width:min(400px,calc(100% - 32px));padding:9px}
.rocket-phone[data-view=console] .experience-mode a{color:#ffdf91}
.rocket-phone[data-view=console] #connection-panel{margin:0;padding:4px;font-size:12px;color:#eaf2ff}
.rocket-phone[data-view=console] #flight-console{position:absolute;inset:0;margin:0;padding:0;border:0;border-radius:0;background:#123c70;box-shadow:none;overflow:hidden}
.rocket-phone[data-view=console] #phone-flight{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0;background:#123c70}
.rocket-phone[data-view=console] #artwork{position:absolute;top:29%;left:50%;transform:translateX(-50%);height:42%;width:auto;max-height:none;max-width:72%;object-fit:contain;margin:0}
.rocket-phone[data-view=console] .flight-hud{position:absolute;top:calc(122px + env(safe-area-inset-top));left:18px;right:18px;pointer-events:none;text-shadow:0 2px 5px #10233b}
.rocket-phone[data-view=console] .flight-hud #participant{font-size:12px;margin:0;color:#fff4d5}
.rocket-phone[data-view=console] .flight-actions{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:10px 24px max(16px,env(safe-area-inset-bottom));text-align:center;text-shadow:0 2px 6px #13263f;background:linear-gradient(transparent,#05172b6b)}
.rocket-phone[data-view=console] #status{color:#fff0bd;font-size:clamp(16px,4.6vw,21px);line-height:1.4;margin:0 0 12px;font-weight:650}
.rocket-phone[data-view=console] .flight-actions>.primary{max-width:440px;margin:0 auto 8px;min-height:62px;border-radius:34px;border:2px solid #fff4bf;background:#ffc342;color:#462510;font-size:27px;letter-spacing:3px;box-shadow:0 0 22px #ffbd5066,inset 0 0 16px #fff1b4;text-shadow:none}
.rocket-phone[data-view=console] .flight-actions>.primary:disabled{background:#173d5f;color:#dee5ec;box-shadow:none;letter-spacing:0;font-size:18px;opacity:.8}
.rocket-phone[data-view=console] .flight-results{display:flex;justify-content:center;gap:12px;max-width:440px;margin:auto}
.rocket-phone[data-view=console] .flight-results>*{width:auto;flex:1;min-height:48px;border:1px solid #fff1ba87;background:#0c3158b8;color:#fff2cf;border-radius:26px;margin:0;text-decoration:none;font-size:15px;text-shadow:none}
.rocket-phone[data-view=console] .flight-more{margin:6px auto 0;max-width:440px;font-size:12px}
.rocket-phone[data-view=console] .flight-more>summary{background:transparent;color:#f5e6c6;font-size:11px;border:0;min-height:28px;padding:5px}
.rocket-phone[data-view=console] .flight-more[open]{max-height:45dvh;overflow:auto;padding:8px 16px;background:#0b2947f2;border:1px solid #a7c9e644;border-radius:18px}
.rocket-phone[data-view=console] #guidance{font-size:12px;color:#e2eaf3;min-height:0}
.rocket-phone[data-view=console] #memorial h2{font-size:17px}.rocket-phone[data-view=console] #memorial-image{max-height:26dvh}
.rocket-phone[data-view=console] #flight-error{font-size:13px;background:#752f25ed;color:#fff1e6;border-radius:12px;margin:0 0 8px;padding:8px;text-shadow:none}
.rocket-phone[data-view=console] #flight-error:empty{display:none}
@media(max-height:620px){.rocket-phone[data-view=console] .flight-actions{padding:6px 20px max(6px,env(safe-area-inset-bottom))}.rocket-phone[data-view=console] .flight-actions>.primary{min-height:48px;font-size:22px}.rocket-phone[data-view=console] #status{font-size:15px;margin-bottom:5px}.rocket-phone[data-view=console] .flight-hud{top:115px}}
@media(orientation:landscape) and (max-height:600px){.rocket-phone[data-view=console] .flight-actions{left:60%;padding:8px 12px}.rocket-phone[data-view=console] details.experience-mode{top:75px}.rocket-phone[data-view=console] .flight-hud{top:110px}}


/* Phone document scroll; fullscreen console remains fixed. */
html.rocket-phone-document{overflow-x:hidden;overflow-y:auto}

/* Bound SMS button width; preserve room for the six-digit code. */
.rocket-phone #onsiteLoginGate .onsite-login-code input{flex:1 1 0;width:0;min-width:0;margin:6px 0 0}
.rocket-phone #onsiteLoginGate .onsite-login-code button{flex:0 0 auto;width:auto;margin:6px 0 0;min-height:46px;padding:10px;font-size:14px;white-space:nowrap}

.rocket-phone #scan-canvas{touch-action:pan-y}

.rocket-phone[data-completion-scene=true] .flight-hud,.rocket-phone[data-completion-scene=true] #status{display:none}
.rocket-phone[data-finished=true] .flight-results{gap:7px;max-width:620px}
.rocket-phone[data-finished=true] .flight-results>button{font-size:13px;padding:10px 8px;min-height:48px}
.rocket-phone[data-finished=true] #open-card{background:linear-gradient(125deg,#ffe6a0,#e8b44d);color:#3b280c;border-color:#fff0c5;font-weight:700}
.rocket-phone .replay-scope{font-size:11px;color:#d9e8fc;margin:9px 0 0;text-align:center}
.rocket-phone #memorial-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid #819abb;border-radius:20px;background:#07172d;color:#eff6ff;overflow:auto}
.rocket-phone #memorial-dialog::backdrop{background:#010916c9;backdrop-filter:blur(6px)}
.rocket-phone #close-card{position:sticky;top:0;float:right;width:40px;height:40px;margin:0;padding:0;border-radius:50%;background:#203754;color:#fff;z-index:1}
.rocket-phone #memorial-title{font-size:19px;padding-right:42px}
.rocket-phone #memorial-dialog #memorial-image{width:100%;height:auto;max-height:none;display:block;border-radius:10px}
.rocket-phone #memorial-dialog #save-card{color:#ffe4a3;border:1px solid #c0a667;border-radius:22px;margin-top:12px}
.rocket-phone #memorial-dialog .card-products{display:flex;gap:8px}
.rocket-phone #memorial-dialog .card-products button{flex:1;width:auto;font-size:13px;padding:10px}
@media(orientation:landscape) and (max-height:600px){.rocket-phone[data-view=console][data-finished=true] .flight-actions{left:0;right:0;bottom:0;padding:8px 20px}.rocket-phone[data-finished=true] .flight-more{display:none}}

/* Home is a separate, scrollable surface. Flight and confirmation keep their
   existing containers; the same rules run inside the mini-program WebView. */
.home-panel{display:contents}
.rocket-phone #home-scene{position:absolute;inset:0;width:100%;height:100%;display:block}
.rocket-phone .home-example{position:absolute;z-index:1;background:#fff0ca;color:#193852;border:1px solid #d9b56c;border-radius:14px;padding:3px 9px;font-size:11px;transform:rotate(-7deg)}
.rocket-phone #home-scene-status,.rocket-phone #home-scene-retry{position:absolute;bottom:60px;left:18px;z-index:2;font-size:12px;color:#fff;background:#092743d9}
.rocket-phone #home-scene-status:empty{display:none}
.rocket-phone[data-view=home]{background:#102a49}
.rocket-phone[data-view=home] main{--ink:#f3f7ff;--muted:#b8cdeb;background:#102b4a url('/assets/rocket-launch/loading-v1/launch-pad-portrait.webp') center bottom/100% auto no-repeat;padding-bottom:max(18px,env(safe-area-inset-bottom));max-width:520px}
.rocket-phone[data-view=home] .phone-hero{height:clamp(430px,59svh,600px);background:#174875}
.rocket-phone[data-view=home] .hero-copy{padding-top:calc(72px + env(safe-area-inset-top));pointer-events:none}
.rocket-phone[data-view=home] .hero-copy h1{font-size:clamp(43px,12vw,61px);letter-spacing:4px}
.rocket-phone[data-view=home] .hero-copy p{font-size:14px;letter-spacing:2px;margin:7px 0 10px}
.rocket-phone[data-view=home] .play-steps{gap:18px;font-size:11px}
.rocket-phone[data-view=home] .phone-top nav{border-radius:18px;background:#092a4d99}
.rocket-phone[data-view=home] .home-panel{display:block;position:relative;z-index:2;margin:-36px -7px 0;padding:14px 15px 10px;border:1px solid #a4c7f56b;border-radius:25px;background:#10294ddf;backdrop-filter:blur(14px);box-shadow:0 8px 24px #03132d66;color:#f3f7ff}
.rocket-phone[data-view=home] details.experience-mode{display:block;padding:0 0 11px;margin:0 0 13px;border-radius:0;border:0;border-bottom:1px solid #90b8e54d;background:transparent;color:#f4f8ff;min-height:52px}
.rocket-phone[data-view=home] .experience-mode>summary{display:block;list-style:none;margin:0;padding:0 42% 0 0;min-height:40px;font-size:13px;line-height:1.5;font-weight:650;text-align:left;color:#eef5ff;cursor:pointer}
.rocket-phone[data-view=home] .experience-mode>summary::-webkit-details-marker{display:none}
.rocket-phone[data-view=home] #connect-site{position:absolute;right:0;top:0;font-size:12px;padding:8px 12px;min-height:38px;border-radius:24px;border-color:#ffda83;color:#ffda83;background:transparent}
.rocket-phone[data-view=home] #personal-entry{font-size:12px;color:#ffdf8c;margin:4px 0}
.rocket-phone[data-view=home] #connection-panel{color:#b7cae6;text-align:left;font-size:10px;line-height:1.5}
.rocket-phone[data-view=home] #connection-status{margin:3px 0 0}
.rocket-phone[data-view=home] #connection-retry,.rocket-phone[data-view=home] #template-retry,.rocket-phone[data-view=home] #site-form button{background:#173958;color:#ffdf91;border-color:#97b5d9}
.rocket-phone[data-view=home] #site-form{margin-top:8px;font-size:12px}
.rocket-phone[data-view=home] #site-address{background:#173958;color:#fff;padding:10px;border:1px solid #8fa9ce;border-radius:8px;margin-top:6px}
.rocket-phone[data-view=home] .scan-workshop{background:none;border:0;box-shadow:none;border-radius:0;padding:0;margin:0}
.rocket-phone[data-view=home] h2{font-size:18px;margin:0 0 10px;gap:8px;color:#f4f8ff}
.rocket-phone[data-view=home] .section-icon{width:22px;height:25px;filter:brightness(0) invert(1);opacity:1}
.rocket-phone .paper-choice{display:flex;gap:10px;align-items:center}
.rocket-phone .paper-choice select{flex:1;min-width:0}
.rocket-phone[data-view=home] #scan-template{border:1px solid #a1bee6;color:#e4efff;background:#204065;min-height:43px;font-size:13px;padding:9px 26px 9px 10px}
.rocket-phone[data-view=home] #scan-template option{background:#173958;color:#fff}
.rocket-phone[data-view=home] .paper-link{flex:0 0 auto;max-width:100px;min-height:42px;font-size:12px;gap:5px;margin:0;color:#c6dcff;text-decoration:none}
.rocket-phone[data-view=home] .paper-link img{filter:brightness(0) invert(1);height:17px;width:17px}
.rocket-phone[data-view=home] .draft-badge{font-size:10px;line-height:1.45;color:#ffda94;margin:7px 0;padding-left:6px;border-color:#dcb760}
.rocket-phone[data-view=home] .capture-tip{color:#c4d6ee;font-size:10px;line-height:1.5;margin:6px 0 8px}
.rocket-phone[data-view=home] #scan-camera{width:100%;margin:4px 0 8px;min-height:51px;font-size:20px;border:2px solid #ffe7a1;background:#ffce65;color:#102644;box-shadow:0 0 18px #ffc95b55,inset 0 0 13px #fff3c3}
.rocket-phone[data-view=home] #scan-album{width:100%;margin:0 0 4px;min-height:43px;border-color:#a7c6ef;color:#d3e5ff;background:#0a244452;font-size:15px}
.rocket-phone[data-view=home] #scan-album img{filter:brightness(0) invert(1);opacity:.85}
.rocket-phone[data-view=home] .capture-help{margin:0}
.rocket-phone[data-view=home] .capture-help summary{color:#b9cfee;font-size:12px;padding:6px 0;min-height:30px}
.rocket-phone[data-view=home] .capture-help p{color:#d3e1f5;font-size:12px}
.rocket-phone[data-view=home] #scan-status{color:#c1d7f2;font-size:10px;line-height:1.5;margin:4px 0 0}
.rocket-phone[data-view=home] main>.note{color:#c6d7ef;font-size:10px;margin:9px 0 0}
.rocket-phone[data-view]:not([data-view=home]) #home-scene,.rocket-phone[data-view]:not([data-view=home]) .home-example{display:none}
@media(max-width:360px){.rocket-phone[data-view=home] .hero-copy{padding-top:70px}.rocket-phone[data-view=home] .hero-copy h1{font-size:40px}.rocket-phone[data-view=home] .hero-copy p{font-size:12px;margin:5px 0 7px}.rocket-phone[data-view=home] .play-steps{font-size:10px;gap:12px}.rocket-phone[data-view=home] .home-panel{padding:12px 12px 9px}.rocket-phone[data-view=home] .paper-link{font-size:11px;max-width:90px}.rocket-phone[data-view=home] #connect-site{font-size:11px;padding:6px 9px}}


.rocket-phone .site-scanner{width:min(440px,calc(100vw - 24px));box-sizing:border-box;max-height:calc(100dvh - 24px);padding:18px 18px max(18px,env(safe-area-inset-bottom));border:1px solid #809bbd;border-radius:22px;background:#0c2240;color:#eff6ff;overflow-y:auto}
.rocket-phone .site-scanner::backdrop{background:#000a;backdrop-filter:blur(5px)}
.rocket-phone .site-scanner header{display:flex;align-items:center;gap:10px}.rocket-phone .site-scanner h2{flex:1;font-size:19px;margin:0}.rocket-phone #site-scan-close{width:auto;min-height:44px;margin:0;color:#fff;border-color:#8fa6c2;background:#183454;padding:6px 10px}
.rocket-phone .site-scanner p{font-size:13px;line-height:1.65;margin:12px 0;color:#dce9fa}.rocket-phone #site-scan-status{min-height:44px;color:#ffe099}
.rocket-phone .site-viewfinder{position:relative;aspect-ratio:1;background:#041020;overflow:hidden;border-radius:16px}.rocket-phone .site-viewfinder video{width:100%;height:100%;object-fit:cover}.rocket-phone .site-viewfinder span{position:absolute;inset:12%;border:2px solid #ffdc85;border-radius:14px;box-shadow:0 0 0 60px #0003;pointer-events:none}
.rocket-phone .site-scan-actions{display:flex;flex-wrap:wrap;gap:8px}.rocket-phone .site-scan-actions button{flex:1;min-width:86px;width:auto;min-height:44px;margin:0;padding:8px;color:#fff;border-color:#809bbd;background:#244463;font-size:13px}.rocket-phone .site-scanner .site-scan-note{font-size:11px;color:#acbfda}

/* Actual transfer progress; unknown server work stays indeterminate. */
.rocket-phone .scan-progress{margin:12px 0;padding:14px;border:1px solid #a9c1d3;border-radius:14px;background:#eaf2f8;color:#143c59;display:grid;gap:9px}
.rocket-phone .scan-progress[hidden]{display:none}.rocket-phone .scan-progress strong{font-size:15px}.rocket-phone .scan-progress small{font-size:12px;line-height:1.5}.rocket-phone .scan-progress progress{display:block;width:100%;height:12px;accent-color:#e99b22}.rocket-phone .scan-progress[data-stage=error]{border-color:#c27526;background:#fff1de}.rocket-phone #scan-detail-status{font-size:12px;line-height:1.6}

/* Optional portrait is a separate, consented input after the corrected paper. */
.rocket-phone .window-photo{padding:16px;margin:16px 0;background:#eaf0f1;border:1px solid #9db6c6;border-radius:16px}
.rocket-phone .window-photo h3{margin:0 0 8px;font-size:18px}.rocket-phone .window-photo p{font-size:13px;line-height:1.65}
.rocket-phone .window-photo .photo-actions{display:flex;gap:8px;flex-wrap:wrap}.rocket-phone .window-photo .photo-actions button{flex:1;min-width:110px;font-size:13px;padding:10px}
.rocket-phone .window-photo input[type=range]{width:100%;min-height:32px}.rocket-phone .window-photo [data-photo=public-label]{padding:12px;border:1px solid #c59041;background:#fff0cb;border-radius:10px}

.rocket-phone #operation-timer{font-size:13px;line-height:1.5;color:#fff2c3;background:#092744db;border:1px solid #ffe6a466;border-radius:12px;padding:7px 10px;margin:0 auto 9px;max-width:440px}.rocket-phone #operation-timer[data-urgent=true]{border-color:#ffda71;color:#ffe49c}.rocket-phone #operation-timer[hidden]{display:none}

/* Shell must finish before scene images; the real page reports its own progress. */
.rocket-phone:not([data-boot]) main,.rocket-phone:not([data-boot]) .phone-hero{background-image:none}
.rocket-entry-progress{font-size:12px;color:#d7e7ff;padding:8px 0;line-height:1.6}.rocket-entry-progress button{width:auto;display:inline-block;margin:4px 8px;padding:5px 10px;font-size:12px}


/* Confirmed paper colour preview; photo remains independent. */
.rocket-phone .paper-color-controls{padding:14px;margin:0 0 16px;background:#edf3f5;border:1px solid #afc2cd;border-radius:14px}
.rocket-phone .paper-color-controls h3{margin:0 0 10px;font-size:16px}.rocket-phone .paper-color-options{display:flex;gap:8px}
.rocket-phone .paper-color-options button{flex:1;width:auto;margin:0;min-height:44px;font-size:14px;background:#fffdf7;border-color:#9fb5c5}
.rocket-phone .paper-color-options button[aria-pressed=true]{background:#164b70;color:#fff;border-color:#164b70;box-shadow:inset 0 0 0 1px #fff5}
.rocket-phone .paper-color-controls p{font-size:12px;line-height:1.65;margin:9px 0 0}.rocket-phone .paper-color-help{color:#526477}
.rocket-phone .paper-color-warning{padding:10px;border-left:3px solid #b67527;background:#fff2dc;color:#6d4618;border-radius:6px}
.rocket-phone #paper-color-retry{font-size:13px;margin:10px 0 0}.rocket-phone .window-photo[inert]{opacity:.7}

/* Class activity receipt and collection status. */
.rocket-phone .class-activity-summary{margin:12px 0 18px;padding:13px 15px;border:1px solid #c1a66b;border-radius:15px;background:#143956;color:#fff2cf}
.rocket-phone .class-activity-summary strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.rocket-phone .class-activity-summary p{font-size:15px;margin:5px 0;color:#ffdc88}
.rocket-phone .class-activity-summary small{font-size:11px;line-height:1.6;color:#d9e6ef;display:block}
.rocket-phone #class-collection-state{margin:7px 0;color:#ffe4a5;font-size:12px}
.rocket-phone #class-upload-status{margin-top:7px}
.rocket-phone #class-upload-retry{margin-top:10px;padding:8px 13px;border:1px solid #e4cd96;border-radius:10px;background:#fff5da;color:#183d56;font-size:13px}
.rocket-phone .class-receipt{text-align:center;margin-top:16px}
.rocket-phone .class-receipt h2{justify-content:center;font-size:22px;margin:6px 0 10px}
.rocket-phone .class-receipt-check{width:46px;height:46px;line-height:46px;margin:0 auto;border-radius:50%;background:#dcece3;color:#245744;font-size:28px}
.rocket-phone #class-receipt-number{display:block;color:#123c70;font-size:22px;overflow-wrap:anywhere}
.rocket-phone #class-receipt-status{font-size:13px;line-height:1.6;color:#4c6578}
.rocket-phone #class-receipt-artwork{display:block;width:100%;max-height:240px;object-fit:contain;margin:14px auto;background:#edf2f2;border-radius:14px;padding:10px;box-sizing:border-box}
.rocket-phone[data-activity-mode=class][data-view=home] .experience-mode>summary{padding-right:0;min-height:24px}
.rocket-phone[data-activity-mode=class] #class-next-camera{width:100%;letter-spacing:0}
.rocket-phone[data-activity-mode=class] .class-receipt .scan-help{text-align:left;font-size:12px}
.rocket-phone[data-activity-mode=class] #works-panel .scan-help{color:#526477}
.rocket-phone .class-deleted-notice{margin:16px 0;text-align:left}.rocket-phone .class-deleted-notice p{color:#4c6578;line-height:1.7;font-size:14px}.rocket-phone .class-deleted-notice a{display:block;margin-top:14px;text-align:center;color:#164d71;text-decoration:underline}.rocket-phone[data-activity-deleted=true] .phone-hero,.rocket-phone[data-activity-deleted=true] .scan-workshop{display:none!important}.rocket-phone[data-activity-deleted=true] #connection-retry{display:none!important}
.rocket-phone #class-deleted-title{color:#173d50}.rocket-phone #class-deleted-records{background:#173958;color:#fff9ed;border-color:#173958}

/* Host-only batch preparation reuses the confirmed activity queue. */
.rocket-phone .class-launch-entry{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;margin:14px 0 20px;font-size:20px;letter-spacing:0;font-weight:700}
.rocket-phone .class-launch-entry[hidden]{display:none}.rocket-phone .class-launch-entry img{height:27px;width:27px;margin:0;max-height:none;object-fit:contain}.rocket-phone .class-launch-entry img:last-child{width:18px}
.rocket-phone .class-launch-entry,.rocket-phone #class-launch-dialog #class-launch-start{background:linear-gradient(110deg,#ffe8a6,#ffd371 55%,#ffe39b);border:1px solid #ffe8ac;box-shadow:inset 0 0 12px #fff5d2aa,0 3px 12px #020c1b33;color:#16344e}
.rocket-phone #class-launch-dialog{position:fixed;box-sizing:border-box;width:min(460px,calc(100vw - 28px));max-height:calc(100vh - 32px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 28px);margin:auto;padding:20px;border:2px solid #e7c56a;border-radius:26px;background:#18344f;color:#fff6e6;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 60px #0009}
.rocket-phone #class-launch-dialog::backdrop{background:#041329b8}
.rocket-phone #class-launch-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}
.rocket-phone #class-launch-title{margin:0;flex:1;text-align:center;font-size:26px;color:#fff6e6;line-height:1.4}
.rocket-phone #class-launch-close{width:40px;min-width:40px;min-height:40px;padding:0;margin:0;background:transparent;border:0;border-radius:10px;color:#fff6e6;font:32px/1 system-ui}
.rocket-phone .class-launch-works{display:flex;justify-content:center;gap:9px}
.rocket-phone .class-launch-works figure{margin:0;width:calc((100% - 18px)/3);min-width:0;overflow:hidden;border-radius:13px;background:#fff8ed}
.rocket-phone .class-launch-works img{display:block;width:100%;height:170px;max-height:none;padding:9px 5px;margin:0;object-fit:contain}
.rocket-phone .class-launch-works figcaption{padding:6px 2px;text-align:center;background:#ffdf91;color:#17344c;font-size:17px;font-weight:700}
.rocket-phone #class-launch-count{margin:18px 0 8px;text-align:center;font-size:20px;color:#fff7e9;letter-spacing:2px}
.rocket-phone #class-launch-status{min-height:38px;font-size:13px;line-height:1.6;color:#dbe7f5;text-align:center;margin:8px 0 15px;overflow-wrap:anywhere}
.rocket-phone #class-launch-dialog #class-launch-start{display:block;width:100%;min-height:54px;font-size:22px;letter-spacing:1px;margin:14px 0 10px}
.rocket-phone #class-launch-dialog #class-launch-back{display:block;width:100%;min-height:46px;background:transparent;color:#edf4ff;border:1px solid #cfdef2;font-size:16px;margin:10px 0}
.rocket-phone #class-launch-dialog .class-launch-note{text-align:center;color:#dbe7f5;font-size:14px;margin:14px 0 2px}
.rocket-phone #class-launch-retry{display:block;width:100%;font-size:14px;color:#fff6e6}.rocket-phone #class-launch-retry[hidden]{display:none}
@media(max-width:350px){.rocket-phone #class-launch-dialog{padding:15px}.rocket-phone #class-launch-title{font-size:23px}.rocket-phone .class-launch-works img{height:140px}.rocket-phone .class-launch-entry{font-size:17px}}
@media(orientation:landscape) and (max-height:520px){.rocket-phone #class-launch-dialog{padding:14px 20px}.rocket-phone .class-launch-works img{height:110px}.rocket-phone #class-launch-dialog header{margin-bottom:10px}}
.rocket-phone #class-launch-counts{font-size:12px;line-height:1.7;color:#dbe7f5;text-align:center;margin:0 0 14px}
.rocket-phone #class-launch-section-title{font-size:16px;color:#ffe2a0;margin:0 0 12px;text-align:center}
.rocket-phone #class-launch-empty{padding:20px 10px;text-align:center;color:#e5edf7}
.rocket-phone .class-launch-works figcaption small,.rocket-phone .class-launch-history-works figcaption small{display:block;font-size:11px;line-height:1.7;letter-spacing:0}
.rocket-phone .class-launch-history{margin-top:22px;border-top:1px solid #9eb1c14a;padding-top:16px}
.rocket-phone #class-launch-history summary{background:#102b43;border-color:#8fa9bc;color:#dbe7f5;font-size:15px;cursor:pointer}
.rocket-phone .class-launch-history-works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:310px;overflow-y:auto;overscroll-behavior:contain;margin-top:14px}
.rocket-phone .class-launch-history-works figure{margin:0;min-width:0;border-radius:10px;overflow:hidden;background:#e8e9e9}
.rocket-phone .class-launch-history-works img{display:block;object-fit:contain;width:100%;height:110px;max-height:none;padding:7px 4px;margin:0;filter:grayscale(.7) brightness(.72)}
.rocket-phone .class-launch-history-works figcaption{padding:5px 2px;background:#cfd3d6;color:#394955;text-align:center;font-size:14px;font-weight:700}
.rocket-phone #class-launch-history-status{font-size:12px;line-height:1.7;color:#bbcbdc;margin:12px 0 0}
.rocket-phone #class-launch-history button{width:100%;min-height:40px;font-size:13px;background:#102b43;color:#e9f1fa;margin-top:12px}
.rocket-phone #class-launch-history button[hidden]{display:none}

.rocket-phone .class-launch-entry{font-size:clamp(15px,4.5vw,20px);line-height:1.45;overflow-wrap:anywhere}
.rocket-phone .class-launch-entry[hidden],.rocket-phone #class-launch-records-entry[hidden]{display:none}
.rocket-phone #class-launch-records-entry{display:block;width:100%;margin:8px 0 0;background:transparent;color:#ffdc88;border-color:#c1a66b}
.rocket-phone[data-view=console] #class-launch-console-entry{font-size:clamp(15px,4.5vw,20px);letter-spacing:0;line-height:1.4;min-height:50px;text-shadow:none}
.rocket-phone #class-launch-console-entry[hidden]{display:none}
