:root{color-scheme:dark;--page:#18171e;--panel:#24222b;--edge:#403b47;--muted:#c0b6c1;--cream:#fff1cd;--orange:#ff995e;--mono:"DejaVu Sans Mono",monospace;font-family:"Noto Sans TC","Noto Sans CJK TC","PingFang TC","Microsoft JhengHei",sans-serif}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background-color:var(--page);background-image:radial-gradient(#37303c85 .8px,transparent .8px);background-size:8px 8px;color:#f7ecdf}
button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #fff3a6;outline-offset:4px}button:disabled{cursor:wait;opacity:.65}button:hover{filter:brightness(1.13)}button:active{transform:translateY(1px)}[hidden]{display:none!important}
svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.symbols{position:absolute;width:0;height:0;overflow:hidden}
header{background:#201e26;border-bottom:1px solid #3a353f}.header-inner,main{width:min(1240px,calc(100% - 9vw));margin:auto}.header-inner{height:72px;display:flex;align-items:center;justify-content:space-between}
.brand,.tools,.state,.stats,.stat,.route,.route>span,.route-label,.launch,h2,.keys,.control-items,.control,.items,.item,#flight-tools{display:flex;align-items:center}.brand{gap:13px}.cat-mark{width:37px;height:33px;color:var(--orange);stroke:none;filter:drop-shadow(2px 2px 0 #633d34)}.brand strong{font-size:23px;letter-spacing:2px;line-height:1;font-weight:900}
.tools{gap:9px}.tools button,#pause{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:36px;padding:0 13px;border:1px solid #49434e;background:#2b2831;border-radius:6px;font-size:13px;font-weight:600;letter-spacing:.7px}.tools svg{width:17px;height:17px}.tools #fullscreen{width:38px;padding:0}
main{padding:30px 0 36px}.cabinet{border:1px solid #4b4551;border-radius:12px;padding:0 8px;background:#25232c;box-shadow:0 5px 0 #0d0c11,0 12px 30px #08050c38}.hud{display:flex;justify-content:space-between;align-items:center;min-height:55px;padding:0 18px}.state{font-size:13px;font-weight:700;letter-spacing:1.3px;gap:9px;color:#f8ca98}.state i{width:7px;height:7px;background:var(--orange);box-shadow:0 0 7px #ff9b6655;border-radius:2px}
.stats{gap:21px}.stat{gap:11px;font-size:12px;letter-spacing:.9px;color:#cac1cd}.stat+.stat{border-left:1px solid #4c4651;padding-left:21px}.stat b{color:#fff1dc;font-family:var(--mono);font-size:20px;font-weight:700;letter-spacing:1.8px}.record b,.record svg{color:#edc285}.record svg{width:15px;height:15px;margin-right:-5px}#hearts{display:flex;gap:4px;color:#fb8f75}#hearts svg{width:17px;height:17px}.empty-heart{color:#625963}
.stage{position:relative;width:100%;height:clamp(354px,35.6vw,480px);overflow:hidden;isolation:isolate;border-radius:5px;background:#3a2c43;touch-action:none;user-select:none}.stage canvas,.cover{position:absolute;inset:0;width:100%;height:100%;display:block}.cover{display:flex;align-items:center;background-image:linear-gradient(90deg,#271c31e8 0%,#312038bd 27%,#45243f5c 46%,transparent 66%),url("../../assets/title.webp");background-size:cover;background-position:center,50% 34%}
.intro{padding-left:5.4%;padding-bottom:3px;max-width:75%}.route-label{gap:10px;width:max-content;color:#ffce98;font-size:12px;font-weight:700;letter-spacing:2px}.route-label svg{width:18px;height:18px}.route-label span{height:1px;width:23px;background:#eaa57399}h1{font-family:"Noto Sans TC","Noto Sans CJK TC","Microsoft JhengHei",sans-serif;font-size:clamp(58px,6.45vw,89px);letter-spacing:.05em;font-weight:1000;line-height:1.22;color:#fff0c8;margin:12px 0 17px;text-shadow:0 3px #cb947a,3px 6px #5a3547,5px 8px #452b41;-webkit-text-stroke:1px #fff0c8}
.intro p{margin:0;color:#fff5df;font-size:clamp(14px,1.18vw,17px);font-weight:500;letter-spacing:.9px;line-height:1.85;text-shadow:0 1px 3px #2d1b30}
.launch{display:inline-flex;justify-content:center;gap:13px;padding:0 18px 0 23px;min-height:49px;margin-top:26px;background:#ffa365;border:1px solid #ffc08a;border-bottom-color:#dc8550;border-radius:5px;box-shadow:0 4px 0 #935237,0 5px 8px #1c142a55;color:#30202a;font-size:17px;letter-spacing:1.7px}.triangle{height:0;width:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #412632}.launch kbd{font:16px/20px var(--mono);background:transparent;border:1px solid #a4694a;border-radius:3px;padding:0px 4px;color:#614035}.launch:active{box-shadow:0 2px 0 #935237}
.frame-corner{position:absolute;width:13px;height:13px;pointer-events:none;opacity:.64;color:#f3dcb6}.tl{top:12px;left:12px;border-left:2px solid;border-top:2px solid}.tr{top:12px;right:12px;border-right:2px solid;border-top:2px solid}.bl{bottom:12px;left:12px;border-left:2px solid;border-bottom:2px solid}.br{bottom:12px;right:12px;border-right:2px solid;border-bottom:2px solid}
.route{gap:19px;height:43px;padding:0 17px;color:#c9bdc6;font-size:12px;letter-spacing:1.1px}.route>span{gap:7px;white-space:nowrap}.route>span svg{width:15px;height:15px;color:#b1a0ae}.route-line{flex:1;position:relative;border-top:2px dashed #514751}.route-line i{position:absolute;top:-8px;left:0;height:16px;color:#e7a47b;transition:left .15s linear}.route-line i svg{width:17px;height:17px;background:#25232c;transform:rotate(13deg)}
.guides{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.guide{background:#23212a;border:1px solid var(--edge);border-radius:9px;padding:19px 24px 18px}h2{margin:0 0 17px;gap:10px;color:#f8e7d7;font-size:17px;letter-spacing:1.4px;line-height:1.2}h2 svg{color:var(--orange);width:20px;height:20px}.control-items,.items{gap:24px}.control,.keys{gap:9px}.keys{gap:4px}.control{font-size:13px;color:#e3d9e1;letter-spacing:.4px}.control kbd{display:grid;place-items:center;min-width:25px;height:25px;padding:1px 4px;background:#37333e;border:1px solid #57505e;border-radius:4px;box-shadow:0 2px #16131c;color:#f5ead9;font:15px var(--mono)}.control-items>i,.items>i{width:1px;height:22px;background:#49414f}.touch-hint{font-size:12px;color:#b7aebc;letter-spacing:.6px;margin:12px 0 0}.touch-hint span{margin:0 5px;color:#8e8395}.items{gap:clamp(12px,2.4vw,40px)}.item{gap:12px}.tile{width:48px;height:48px;display:grid;place-items:center;background:#342c2c;border:1px solid #57433b;border-radius:7px}.tile.storm{background:#2f293a;border-color:#4f425e}.tile img{width:35px;height:35px;object-fit:contain;image-rendering:pixelated}.item b,.item small{display:block}.item b{font-size:15px;letter-spacing:1px}.item small{font-size:12px;line-height:1.9;color:var(--muted)}em{color:#efc582;font-style:normal}.storm+div em{color:#efa395}
#flight-tools{position:absolute;right:19px;top:17px;gap:8px}#chain,#pause{background:#292333e8;border:1px solid #75606b;border-radius:5px;color:#ffead5}#chain{padding:5px 10px;font-size:13px;letter-spacing:1px}#pause{width:34px;height:32px;padding:0}.cover.interlude{background:#201729df}.cover.interlude .intro{max-width:95%}.cover.interlude h1{font-size:clamp(44px,5.2vw,72px)}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1550px){main{padding-top:40px}.stage{height:495px}}
@media(max-width:900px){.header-inner,main{width:94%}.stats{gap:13px}.stat+.stat{padding-left:13px}.guide{padding:17px}.items,.control-items{gap:12px}.item{gap:8px}.tile{width:40px;height:40px}.guide h2{margin-bottom:14px}.intro{padding-left:4.8%}}
@media(max-width:690px){.header-inner{height:58px}.brand strong{font-size:19px}.cat-mark{width:29px;height:28px}.brand{gap:9px}main{padding-top:16px}.hud{min-height:48px;padding:0 5px}.state{font-size:11px;gap:6px;letter-spacing:.3px}.stats{gap:9px}.stat{font-size:10px;gap:5px;letter-spacing:0}.stat+.stat{padding-left:9px}.stat b{font-size:15px;letter-spacing:1px}.record span,.lifes>span{display:none}.record svg{margin-right:1px}#hearts{gap:2px}#hearts svg{width:13px;height:13px}.guides{grid-template-columns:1fr;gap:12px;margin-top:17px}.guide{padding:17px 18px}.items{gap:25px}.stage{height:clamp(355px,91vw,445px)}.cover{align-items:flex-end;background-size:auto,auto 100%;background-position:center,right top;background-repeat:no-repeat;background-image:linear-gradient(0deg,#251b32fa,#322035cf 30%,#39243c22 62%,transparent),url("../../assets/title.webp")}.intro{padding:0 22px 25px;max-width:100%}.route-label{font-size:10px;gap:7px}.route-label svg{width:14px;height:14px}h1{font-size:48px;margin:6px 0 9px}.intro p{font-size:13px;line-height:1.65}.launch{min-height:40px;margin-top:13px;font-size:15px}.route{gap:10px;padding:0 5px;height:36px;font-size:10px}.cover.interlude{align-items:center}.cover.interlude .intro{padding-bottom:0}.cabinet{padding:0 5px}.control-items{gap:20px}.touch-hint{margin-top:10px}}
@media(max-width:365px){.stats{gap:5px}.stat+.stat{padding-left:5px}.tools button{padding:0 8px}.tools{gap:4px}.brand strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
