:root{--paper:#eeeee4;--ink:#253432;--muted:#78817a;--line:#ced0c3;--accent:#e55939;--toy-safe-top:0px;--toy-safe-bottom:0px;--safe-top:max(env(safe-area-inset-top,0px),var(--toy-safe-top));--safe-bottom:max(env(safe-area-inset-bottom,0px),var(--toy-safe-bottom));--usable-height:calc(100svh - var(--safe-top) - var(--safe-bottom));color-scheme:light;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;padding-top:var(--safe-top);padding-bottom:var(--safe-bottom);min-height:100svh;background-image:radial-gradient(#25343209 .5px,transparent .5px);background-size:4px 4px;overflow-x:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{cursor:wait;opacity:.5}button,svg{flex-shrink:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.mono,.eyebrow,.edition,.stage-topline,.stage-caption,.page-footer,.hud-label,.pill,.start-hint,.stage-bottom,.record-label{font-family:"Courier New",Arial,"Microsoft YaHei",monospace}.masthead{height:80px;margin:0 4.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:900;letter-spacing:-.8px}.wordmark>svg{width:35px;height:35px;fill:var(--ink)}.wordmark .cut{stroke:var(--paper);fill:var(--paper)}.wordmark-light{font-weight:400;margin-left:6px}.edition{font-size:10px;letter-spacing:2px;display:flex;align-items:center;gap:10px}.edition i,.stage-topline i{width:6px;height:6px;border-radius:100%;background:var(--accent);display:inline-block}.text-button{font-size:11px;display:inline-flex;align-items:center;gap:22px;padding:8px 0}.text-button:hover{color:var(--accent)}.arcade-layout{max-width:1170px;margin:26px auto 20px;display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(190px,.8fr);gap:60px;align-items:center;padding:0 24px}.intro-panel{align-self:stretch;padding:24px 0 0;display:flex;flex-direction:column}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700}.tiny-cross{color:var(--accent);font-size:18px;margin-right:5px;vertical-align:middle}h1{font-family:Impact,"Arial Narrow",Arial,sans-serif;font-size:clamp(42px,4.5vw,65px);line-height:1.04;letter-spacing:-1.5px;margin:23px 0 18px;font-weight:900}h1 em{font-style:normal;color:var(--accent)}.intro-copy{font-size:13px;line-height:1.9;letter-spacing:1px;margin:0 0 28px;color:#64716b}.rule{height:1px;background:var(--line);width:100%}.scene-heading{display:flex;justify-content:space-between;font-size:11px;align-items:center;margin:20px 0 12px}.scene-heading .mono{font-size:9px;color:var(--muted)}.scene-selector{display:grid;gap:8px}.scene-option{border:1px solid var(--line);display:flex;align-items:center;padding:12px 10px;text-align:left;border-radius:5px;gap:10px;transition:background .2s,border-color .2s}.scene-option:hover{border-color:var(--ink)}.scene-option.active{background:#e0e5d8;border-color:#6a7b6a}.scene-option>svg{width:33px;height:36px;fill:none;stroke:currentColor;stroke-width:1.2}.scene-option span:nth-child(2){display:flex;flex-direction:column;gap:6px}.scene-option strong{font-size:11px;font-weight:600}.scene-option small{font-size:7px;letter-spacing:.7px;color:var(--muted)}.selection-dot{margin-left:auto;width:9px;height:9px;border:1px solid #a6aea1;border-radius:100%;align-self:center}.active .selection-dot{border:3px solid var(--ink);background:var(--paper)}.intro-bottom{margin-top:auto;padding-top:28px;display:flex;align-items:center;gap:15px}.intro-bottom>span:last-child{font-size:9px;letter-spacing:1.3px;line-height:1.8}.orbit-symbol{font-size:35px;font-weight:300}.game-column{width:min(420px,calc((var(--usable-height) - 171px)*420/740))}.stage-topline{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.5px;margin-bottom:8px;padding:0 2px}.stage-topline span:first-child{display:flex;gap:7px;align-items:center}.game-stage{width:100%;aspect-ratio:420/740;position:relative;border:1px solid #506e65;border-radius:10px;overflow:hidden;box-shadow:0 8px 0 #d6d8cb,0 15px 35px #2534320d;background:#dce9dc;isolation:isolate;touch-action:none;user-select:none}#game{width:100%;height:100%;display:block}.hud{position:absolute;top:20px;left:22px;right:18px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.hud-left{display:flex;flex-direction:column}.hud-label{font-size:8px;letter-spacing:2px}.hud-left strong{font-family:Impact,"Arial Black",sans-serif;font-size:50px;line-height:1.1;font-weight:700}.hud-actions{display:flex;gap:4px;pointer-events:auto}.icon-button{width:32px;height:32px;background:#edf2e776;border:1px solid #5b76652e;border-radius:50%;display:grid;place-items:center}.icon-button:hover{background:#f6f4e6}.icon-button svg{width:16px;height:16px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-button.muted{opacity:.5}.screen{position:absolute;z-index:2;text-align:center}.ready-screen{top:22%;left:7%;right:7%}.pill{border:1px solid #6c8070;border-radius:99px;font-size:8px;letter-spacing:1.5px;padding:6px 12px;display:inline-block;background:#edf2e48a}.ready-screen h2{font-family:Impact,"Arial Narrow",Arial,sans-serif;font-weight:900;font-size:clamp(30px,3.4vw,48px);line-height:.98;letter-spacing:-.5px;margin:17px 0 10px;position:relative}.ready-screen h2 span{font-size:.96em}.title-arrow{width:30px;height:30px;fill:none;stroke:var(--accent);stroke-width:4;position:absolute;top:-6px;right:8%}.ready-screen p{font-size:12px;letter-spacing:3px;margin:10px 0 21px}.primary-button{background:var(--accent);color:#fff9e9;font-weight:700;border-radius:4px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:14px 19px;font-size:13px;min-height:45px;box-shadow:0 3px 0 #af492f;transition:background .15s,transform .1s}.primary-button:hover{background:#cc482d}.primary-button:active{transform:translateY(2px);box-shadow:0 1px 0 #af492f}.ready-screen .primary-button{margin:0 auto;width:76%;max-width:245px}.primary-button>span{font-size:19px;font-weight:400}.start-hint{display:block;margin:15px -10px 0;font-size:9px;color:#5d7365}.stage-bottom{position:absolute;bottom:18px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:8px;letter-spacing:1.5px;pointer-events:none;color:#f5f3df}.mini-cross{font-size:20px}.mobile-scenes{display:none;pointer-events:auto}.stage-caption{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);margin:17px 2px 0}.stage-caption .mono{font-size:7px;letter-spacing:.6px}.flight-panel{align-self:stretch;display:flex;flex-direction:column;padding-top:24px}.record-card .eyebrow{display:block}.record-card>strong{display:block;font-family:Impact,"Arial Black",sans-serif;font-size:84px;letter-spacing:-4px;font-weight:400;line-height:1.2}.record-label{font-size:10px;color:#72806f}.record-line{display:flex;justify-content:space-between;font-size:10px;border-bottom:1px solid var(--line);padding:18px 0 14px}.rank-link{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:14px 0;width:100%;font-size:11px}.rank-link:hover{color:var(--accent)}.flight-manual{margin-top:36px}.flight-manual ol{list-style:none;padding:0;margin:20px 0}.flight-manual li{display:flex;gap:16px;margin:0 0 24px}.flight-manual li>span{font-size:9px;font-family:"Courier New",monospace;color:var(--accent);padding-top:2px}.flight-manual strong{font-size:11px;font-weight:600}.flight-manual p{font-size:10px;color:var(--muted);line-height:1.8;margin:7px 0 0}.flight-stamp{margin-top:auto;display:flex;align-items:center;gap:11px;color:#6b7a69;transform:rotate(-5deg);padding-top:15px}.flight-stamp svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1}.flight-stamp span{font-size:11px;font-weight:700;letter-spacing:2px;line-height:1.5}.page-footer{display:flex;align-items:center;justify-content:space-between;margin:0 4.5%;padding:17px 0;border-top:1px solid var(--line);color:#81867b;font-size:8px;letter-spacing:.5px}.footer-dot{margin:0 8px;color:var(--accent)}#mobile-rank-button{display:none}.panel-screen{left:8%;right:8%;top:26%;padding:27px 24px;background:#f2f1e8f5;border:1px solid #7a8b78;border-radius:8px;box-shadow:0 6px 0 #40573f20}.panel-screen h2{font-size:28px;letter-spacing:-1px;margin:12px 0 10px}.panel-screen p{font-size:11px;color:var(--muted);margin-bottom:24px}.panel-screen .primary-button{width:100%;margin:14px 0 10px}.secondary-button{border:1px solid var(--line);border-radius:4px;font-size:11px;padding:11px 14px;background:#faf8ee80;min-height:36px}.secondary-button:hover{background:#e3e6d9;border-color:#8b9a85}.panel-screen>.secondary-button{width:100%}.result-screen{top:22%;padding-top:22px}.result-score>strong{font-family:Impact,"Arial Black",sans-serif;display:block;font-size:62px;line-height:1;margin:16px 0 6px;font-weight:400}.result-score>span{font-size:9px;color:var(--muted)}.result-best{display:flex;justify-content:space-between;border-block:1px solid var(--line);padding:12px 0;margin:17px 0 8px;font-size:10px}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.result-rank{font-size:10px;margin:7px 0 -7px}.modal{padding:27px;max-width:440px;width:calc(100% - 32px);border:1px solid #6d806e;border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #183e3838;max-height:85svh;overflow:auto}.modal::backdrop{background:#102d2a6b;backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between}.modal h2{font-size:23px;margin:8px 0 20px}.close-button{font-size:25px;width:27px;height:27px;line-height:1;color:var(--muted)}.rank-tabs{display:flex;border-bottom:1px solid var(--line);gap:25px}.rank-tabs button{font-size:12px;padding:10px 0}.rank-tabs .active{color:var(--accent);border-bottom:2px solid var(--accent)}.rank-content{min-height:140px;padding:15px 0}.rank-item{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.rank-item>.rank-number{font-family:"Courier New",monospace;font-size:15px;width:20px;color:var(--accent)}.rank-avatar{width:28px;height:28px;border-radius:50%;background:#d6dfd0;object-fit:cover}.rank-item>strong{margin-left:auto}.rank-empty{font-size:12px;line-height:1.9;color:var(--muted);padding:15px 0}.modal-note{font-size:10px;line-height:1.8;color:var(--muted);margin-top:17px}#refresh-rank-button{width:100%}.help-copy{font-size:12px;line-height:1.95}.help-copy p{margin:0 0 15px}.help-copy small{font-size:9px;color:var(--muted)}kbd{font-family:inherit;font-size:10px;padding:1px 5px;border:1px solid var(--line);border-radius:3px}#share-copy{font-size:13px;line-height:1.8}#share-qr{width:190px;height:190px;display:block;margin:20px auto}#copy-button{width:100%}.toast{position:fixed;z-index:20;left:50%;bottom:max(30px,env(safe-area-inset-bottom));transform:translateX(-50%);padding:13px 19px;max-width:min(90vw,460px);background:#253c33f5;color:#f6f4e6;border-radius:7px;font-size:12px;line-height:1.6;text-align:center;box-shadow:0 5px 30px #203a3222;pointer-events:none}
@media(min-width:1500px){.arcade-layout{gap:85px;max-width:1250px}.game-column{width:min(440px,calc((var(--usable-height) - 171px)*420/740))}}
@media(max-height:790px) and (min-width:981px){.arcade-layout{gap:45px;margin-top:20px}.intro-panel,.flight-panel{padding-top:8px}h1{font-size:49px;margin:16px 0}.intro-copy{margin-bottom:18px}.intro-bottom,.flight-stamp{display:none}.flight-manual{margin-top:22px}.flight-manual li{margin-bottom:17px}.record-card>strong{font-size:65px}.game-column{width:min(385px,calc((var(--usable-height) - 160px)*420/740))}.ready-screen h2{font-size:35px}.result-screen{top:18%;padding:17px 20px}.result-screen h2{font-size:24px}.result-score>strong{font-size:47px}.primary-button{padding:10px 16px;min-height:40px}.result-best{margin:12px 0 6px;padding:9px 0}.page-footer{padding:12px 0}}
@media(max-width:1100px){.arcade-layout{gap:30px;grid-template-columns:minmax(190px,1fr) auto minmax(165px,.8fr);padding:0 36px}.scene-option{padding:10px 6px;gap:6px}.scene-option small{font-size:6px}.intro-panel h1{font-size:49px}.edition{font-size:8px}}
@media(max-width:980px){.masthead{height:58px;margin:0 20px}.wordmark{font-size:16px}.wordmark>svg{width:28px;height:28px}.edition{display:none}.arcade-layout{display:flex;justify-content:center;margin:15px auto 12px;padding:0 14px}.intro-panel,.flight-panel{display:none}.game-column{width:min(420px,calc((var(--usable-height) - 143px)*420/740))}.ready-screen h2{font-size:43px}.title-arrow{right:7%}.mobile-scenes{display:flex;gap:4px}.mobile-scenes button{border:1px solid #c5dbbb44;background:#365846;padding:5px 8px;border-radius:4px;font-size:8px;letter-spacing:0;color:#b7cdb2}.mobile-scenes .active{color:#fff7db;border-color:#e8e7c588;background:#668067}.stage-bottom{left:17px;right:17px}.mini-cross{display:none}.page-footer{margin:0 20px;padding:12px 0}.page-footer>span:nth-child(2){display:none}#mobile-rank-button{display:inline-flex;font-size:10px;padding:0}.stage-caption{margin-top:15px}.ready-screen .primary-button{padding:12px 19px}}
@media(max-width:450px){.masthead{height:49px;margin:0 15px}.wordmark{font-size:14px;gap:6px}.wordmark-light{margin-left:5px}.wordmark>svg{width:25px;height:25px}.text-button{font-size:10px;gap:7px}.arcade-layout{margin-top:11px;margin-bottom:8px;padding:0 8px}.game-column{width:min(calc(100vw - 16px),calc((var(--usable-height) - 113px)*420/740))}.stage-topline{font-size:7px;margin-bottom:6px}.game-stage{border-radius:7px;box-shadow:0 5px 0 #d6d8cb}.stage-caption{margin-top:11px;font-size:7px}.page-footer{margin:0 15px;padding:8px 0;font-size:7px}.hud{top:16px;left:18px;right:14px}.ready-screen h2{font-size:clamp(32px,10vw,43px)}.ready-screen p{margin:10px 0 17px}.pill{font-size:7px}.start-hint{font-size:8px}.result-screen{top:21%;padding:21px 20px}.result-score>strong{font-size:54px}.result-screen h2{font-size:25px}.primary-button{min-height:40px;padding:11px 16px}.result-best{margin:14px 0 8px}.result-actions .secondary-button{padding:9px 8px;font-size:10px}}
@media(max-height:600px) and (max-width:980px) and (orientation:landscape){.masthead{height:37px}.arcade-layout{margin:8px auto}.game-column{width:min(420px,calc((var(--usable-height) - 85px)*420/740))}.stage-caption,.page-footer,.stage-topline{display:none}.hud-left strong{font-size:28px}.hud{top:8px;left:9px;right:7px}.icon-button{width:23px;height:23px}.ready-screen{top:22%}.ready-screen h2{font-size:23px;margin:9px 0}.ready-screen p,.start-hint,.pill{display:none}.ready-screen .primary-button{font-size:9px;min-height:28px;padding:5px 9px}.title-arrow{width:19px;height:19px}.stage-bottom{bottom:8px;left:8px;right:8px}.stage-bottom>span{display:none}.mobile-scenes button{font-size:7px;padding:3px 5px}.panel-screen{top:22%;padding:13px}.panel-screen h2{font-size:18px;margin:5px 0}.panel-screen p,.panel-screen .eyebrow,.result-score>span,.result-best{display:none}.result-score>strong{font-size:30px;margin:5px 0}.panel-screen .primary-button{font-size:9px;min-height:26px;padding:5px 9px;margin:8px 0}.secondary-button{font-size:8px;min-height:24px;padding:5px}.result-rank{font-size:8px;margin:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.ready-screen .start-hint{margin-top:51px}
.flight-spec{padding-top:25px}.flight-spec .eyebrow{color:#72806e}.flight-spec strong{display:block;font-size:15px;letter-spacing:.5px;margin-top:16px}.flight-spec p{font-size:12px;line-height:1.9;color:#78817a;margin:13px 0 22px}.flight-spec>.mono{font-size:9px;letter-spacing:1px;color:#e55939}
.icon-button{position:relative}.icon-button.muted::after{content:"";position:absolute;width:19px;height:2px;background:#e55939;transform:rotate(-45deg);border:1px solid #edf2e7}
.hud-left{background:#edf2e7db;border:1px solid #6d846526;border-radius:6px;padding:6px 11px;margin:-6px -11px}
@media(max-height:700px) and (max-width:980px){.result-screen{top:15%;padding:16px}.result-screen h2{font-size:20px;margin:9px 0}.result-score>strong{font-size:40px;margin:10px 0 5px}.result-score>span{font-size:8px}.result-best{padding:8px 0;margin:11px 0 6px;font-size:9px}.result-screen .primary-button{min-height:34px;padding:8px 12px;margin:10px 0 8px;font-size:11px}.result-actions .secondary-button{font-size:9px;min-height:30px;padding:7px}.result-rank{font-size:9px;margin:6px 0 -6px}}
@media(max-height:790px) and (min-width:981px){.ready-screen .start-hint{margin-top:43px}}
@media(max-height:600px) and (max-width:980px) and (orientation:landscape){.ready-screen .start-hint{display:none}}
