:root{--hak-dai:#22384f;--hak-dai-deep:#182a3d;--hak-rammed:#cb9657;--hak-rammed-light:#e0b87e;--hak-paper:#f4ecd8;--hak-paper-deep:#eadfc4;--hak-ink:#2b2620;--hak-ink-soft:#57504a;--hak-red:#c1271c;--hak-red-deep:#8e170f;--hak-gold:#d9a441;--hak-gold-light:#f0c869;--hak-indigo:#33506e;--hak-leaf:#5e8c3e;--hak-granite:#9e9c93;--radius-paper:18px 22px 15px 24px;--shadow-hard:6px 8px 0 #2b1c1029;--shadow-press:0 4px 0 #2b1c1038;--font-hakka:"Songti SC", "STSong", "STSongti-SC-Regular", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;--font-ui:"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif}*{box-sizing:border-box}html,body{height:100%;color:var(--hak-ink);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;background:#dfe7e4;margin:0;overflow:hidden}#game-root,#stage,#ui-layer{position:fixed;inset:0}#stage canvas{touch-action:none;outline:none;width:100%;height:100%;display:block}::selection{background:#c1271c40}.game-ui{pointer-events:none;color:var(--hak-ink);-webkit-user-select:none;user-select:none;position:fixed;inset:0}.game-ui .ui-interactive,.game-ui button,.game-ui [role=button]{pointer-events:auto}kbd{min-width:18px;color:var(--hak-ink);text-align:center;background:#fffcf4b8;border:1px solid #2b262066;border-bottom-width:2px;border-radius:6px;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;line-height:1.5;display:inline-block}.mute-dot{background:var(--hak-leaf);border-radius:50%;flex:none;width:10px;height:10px;box-shadow:0 0 0 3px #5e8c3e33}.is-muted .mute-dot{background:#b0492f;box-shadow:0 0 0 3px #b0492f2e}#title-screen{z-index:30;pointer-events:none;display:none;position:fixed;inset:0;overflow:hidden}#title-screen.active{padding:max(22px, env(safe-area-inset-top,0px)) clamp(16px, 4.4vw, 64px) max(22px, env(safe-area-inset-bottom,0px));flex-direction:column;justify-content:center;align-items:flex-start;animation:.5s both title-screen-in;display:flex}@keyframes title-screen-in{0%{opacity:0}to{opacity:1}}.title-atmosphere{z-index:0;pointer-events:none;position:absolute;inset:0;overflow:hidden}.title-vignette{pointer-events:none;background:radial-gradient(118% 96% at 70% 44%,#120e0900 52%,#120e0942 100%),linear-gradient(90deg,#140e0885 0%,#140e0833 30%,#140e0800 52%),linear-gradient(#140e0800 76%,#140e0857 100%),linear-gradient(#140e0829 0%,#140e0800 16%);position:absolute;inset:0}.title-cloud{pointer-events:none;will-change:transform;display:block;position:absolute;overflow:visible;-webkit-mask-image:linear-gradient(90deg,#0000 0%,#000 12% 88%,#0000 100%);mask-image:linear-gradient(90deg,#0000 0%,#000 12% 88%,#0000 100%)}.title-cloud path{fill:none;stroke:#f8f3e7d9;stroke-width:18px;stroke-linecap:round;stroke-linejoin:round}.title-cloud-a{top:max(6px, env(safe-area-inset-top,0px));opacity:.42;filter:blur(9px);width:100%;height:clamp(58px,8vw,112px);animation:38s ease-in-out infinite alternate title-cloud-drift-a;left:0}.title-cloud-b{bottom:max(8px, env(safe-area-inset-bottom,0px));opacity:.34;filter:blur(11px);width:100%;height:clamp(58px,8vw,112px);animation:46s ease-in-out infinite alternate title-cloud-drift-b;left:0}@keyframes title-cloud-drift-a{0%{transform:translate(-14px)}to{transform:translate(22px,7px)}}@keyframes title-cloud-drift-b{0%{transform:translate(16px,5px)}to{transform:translate(-22px,-6px)}}.title-card{z-index:2;overscroll-behavior:contain;text-align:center;width:min(452px,42vw);max-width:100%;min-height:0;max-height:100%;color:var(--hak-paper);scrollbar-width:thin;scrollbar-color:#d9a44180 transparent;background-image:radial-gradient(120% 88% at 10% -6%,#f0c8692b 0%,#f0c86900 56%),radial-gradient(105% 82% at 102% 108%,#c1271c29 0%,#c1271c00 52%),linear-gradient(166deg,#3a2b1c 0%,#2a1e12 46%,#1d140b 100%);border:1.5px solid #d9a441b8;border-radius:20px 26px 18px 28px/26px 18px 28px 20px;flex-direction:column;flex:0 auto;align-items:center;margin:0;padding:26px 34px 22px;animation:.72s cubic-bezier(.22,.9,.3,1) 60ms both title-card-in;display:flex;position:relative;overflow-y:auto;box-shadow:inset 0 0 0 1px #f0c86933,8px 10px #120b054d,0 30px 72px #070c1299}.title-card::-webkit-scrollbar{width:6px}.title-card::-webkit-scrollbar-thumb{background:#d9a44173;border-radius:99px}@keyframes title-card-in{0%{opacity:0;transform:translateY(26px)translate(-14px)scale(.985)}to{opacity:1;transform:translateY(0)translate(0)scale(1)}}.title-fret{width:100%;height:13px;color:var(--hak-gold-light);opacity:.92;flex:none;margin:0 0 15px;display:block}.title-kicker{letter-spacing:.26em;color:#e3c084;align-items:center;gap:10px;margin:0 0 13px;font-size:12.5px;font-weight:600;line-height:1.4;display:inline-flex}.title-kicker-text{text-indent:.26em;white-space:nowrap}.title-kicker-seal{width:27px;height:27px;font-family:var(--font-hakka);color:#fbeed2;background:linear-gradient(165deg, #d23a2a 0%, var(--hak-red) 52%, var(--hak-red-deep) 100%);border:1.5px solid #f0c869a8;border-radius:8px 10px 7px 11px;flex:none;place-items:center;font-size:16px;font-weight:900;display:inline-grid;transform:rotate(-5deg);box-shadow:0 2px #4a0a06d9,0 6px 14px #781a0e73}.game-title.title-name{font-family:var(--font-hakka);letter-spacing:.13em;text-indent:.13em;white-space:nowrap;background:linear-gradient(180deg, #f9e3a6 0%, var(--hak-gold-light) 36%, var(--hak-gold) 68%, #bd862f 100%);color:#0000;filter:drop-shadow(0 2px #3a240a9e)drop-shadow(0 12px 24px #00000080);-webkit-background-clip:text;background-clip:text;margin:0;font-size:clamp(47px,4.3vw,65px);font-weight:900;line-height:1.05}.title-en{font-family:var(--font-hakka);letter-spacing:clamp(.34em,.62vw,.5em);text-indent:clamp(.34em,.62vw,.5em);white-space:nowrap;color:#ece0c8bd;margin:11px 0 0;font-size:clamp(11px,.9vw,12.5px);font-weight:700}.title-tagline{font-family:var(--font-hakka);letter-spacing:.1em;text-indent:.1em;color:#f7efe0f0;text-shadow:0 1px 10px #00000073;margin:17px auto 21px;font-size:17px;font-weight:600;line-height:1.62}.begin-button{appearance:none;min-width:230px;font-family:var(--font-ui);color:#fbeed2;cursor:pointer;background:linear-gradient(180deg, #d23a2a 0%, var(--hak-red) 46%, var(--hak-red-deep) 100%);border:2px solid #7c120b;border-radius:18px 24px 16px 26px/22px 18px 26px 16px;flex-direction:column;align-items:center;gap:2px;padding:13px 34px 12px;transition:transform 80ms,box-shadow 80ms,filter .15s;display:inline-flex;box-shadow:0 5px #6e0f09,0 12px 26px #781a0e6b,inset 0 1px #ffdcaa80}.begin-button:hover{filter:brightness(1.06);transform:translateY(-1px)}.begin-button:active{transform:translateY(4px);box-shadow:0 1px #6e0f09,0 6px 14px #781a0e66,inset 0 1px #ffdcaa66}.begin-main{font-family:var(--font-hakka);letter-spacing:.42em;text-indent:.42em;font-size:27px;font-weight:900;line-height:1.1}.begin-sub{letter-spacing:.18em;opacity:.9;font-size:11.5px}.begin-button.title-cta{border-radius:15px 20px 14px 21px/19px 15px 21px 16px;gap:3px;width:100%;min-width:0;padding:14px 26px 12px;animation:3s ease-in-out infinite title-cta-glow}.begin-button.title-cta:hover{transform:translateY(-2px)}.begin-button.title-cta:active{transform:translateY(3px)}.title-cta-row{justify-content:center;align-items:center;gap:16px;display:inline-flex}.begin-main.title-cta-main{letter-spacing:.3em;text-indent:0;padding-left:.3em;font-size:30px;font-weight:900;line-height:1.12}.title-cta-arrow{font-family:var(--font-ui);color:#ffe9c4;text-shadow:0 1px #6e0f09e6;font-size:25px;font-weight:800;line-height:1;transition:transform .18s}.begin-button.title-cta:hover .title-cta-arrow{transform:translate(6px)}.begin-sub.title-cta-sub{letter-spacing:.22em;text-indent:.22em;opacity:.92;font-size:11.5px;font-weight:600}@keyframes title-cta-glow{0%,to{box-shadow:0 5px #6e0f09,0 12px 26px #781a0e6b,0 0 #f0c86900,inset 0 1px #ffdcaa80}50%{box-shadow:0 5px #6e0f09,0 14px 32px #781a0e80,0 0 0 5px #f0c86929,inset 0 1px #ffdcaa80}}.title-hint{letter-spacing:.04em;color:#e9dec7ad;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;margin:16px 0 0;font-size:11.5px;line-height:1.7;display:flex}.title-hint kbd{color:#efdcae;background:#f4ecd817;border:1px solid #f0c86952;border-radius:5px;min-width:17px;padding:0 4px;font-size:10px;line-height:1.6}.title-hint-item{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.title-hint-sep{opacity:.5}.title-hint--mobile{display:none}.title-card-bottom{border-top:1px solid #d9a4413d;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;margin-top:20px;padding-top:15px;display:flex}.title-mute-btn{min-height:38px;font-family:var(--font-ui);color:#f4ecd8e0;cursor:pointer;background:#f4ecd812;border:1.5px solid #f0c86952;border-radius:999px;align-items:center;gap:8px;padding:6px 14px;font-size:12.5px;transition:background .15s,border-color .15s;display:inline-flex}.title-mute-btn:hover{background:#f4ecd826;border-color:#f0c86994}.title-mute-btn:focus-visible{outline-offset:2px;outline:3px solid #f0c869a6}.title-mute-btn kbd{color:#efdcae;background:#f4ecd81a;border:1px solid #f0c8694d;border-radius:5px;font-size:10px}.title-foot{text-align:right;letter-spacing:.12em;color:#e9dec785;flex:150px;min-width:0;margin:0;font-size:10.5px;line-height:1.6;position:static}#hud{display:none}#hud.active{display:block}.hud-card{top:max(14px, env(safe-area-inset-top));left:max(14px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#f4ecd8eb;border:1.6px solid #2b26209e;border-radius:15px 19px 13px 21px;width:min(312px,46vw);padding:10px 14px 11px;position:fixed;box-shadow:4px 6px #2b1c1029,0 10px 26px #141a222e}.hud-tag{letter-spacing:.22em;color:var(--hak-paper);background:var(--hak-dai);border-radius:6px 8px 5px 9px;padding:2px 8px 2.5px;font-size:9.5px;font-weight:800;display:inline-block}.hud-objective-text{color:var(--hak-ink);margin:7px 0;font-size:13.5px;font-weight:650;line-height:1.5}.hud-lanterns{letter-spacing:.04em;color:var(--hak-red);align-items:center;gap:6px;font-size:11.5px;font-weight:800;display:inline-flex}.hud-top-actions{top:max(14px, env(safe-area-inset-top));right:max(14px, env(safe-area-inset-right));pointer-events:none;gap:9px;display:flex;position:fixed}.hud-btn{min-height:44px;color:var(--hak-ink);cursor:pointer;background:#f4ecd8eb;border:1.6px solid #2b262099;border-radius:13px 17px 12px 18px;align-items:center;gap:7px;padding:7px 12px;font-size:13px;font-weight:700;transition:transform 80ms,box-shadow 80ms,background .15s;display:inline-flex;box-shadow:3px 4px #2b1c1029}.hud-btn:hover{background:#fffcf4fa}.hud-btn:active{transform:translateY(2px);box-shadow:1px 2px #2b1c1029}.hud-btn kbd{opacity:.75}#btn-time.hkb-time-btn{background:linear-gradient(#fbf3df 0%,#f1e3c2 100%);border-color:#7a541ca6;gap:8px;padding:6px 13px 6px 15px;box-shadow:3px 4px #2b1c1029,0 0 0 1px #d9a44140}#btn-time.hkb-time-btn:hover{background:linear-gradient(#fff8e6 0%,#f5e7c4 100%);box-shadow:3px 4px #2b1c1029,0 0 0 2px #d9a44180}#btn-time.hkb-time-btn:active{transform:translateY(2px);box-shadow:1px 2px #2b1c1029}#btn-time.hkb-time-btn:focus-visible{outline-offset:2px;outline:3px solid #33506eeb}.hkb-time-label{font-family:var(--font-hakka);letter-spacing:.16em;color:var(--hak-dai);white-space:nowrap;margin-right:-.16em;font-size:15.5px;font-weight:800;line-height:1}#btn-time-phase.hkb-time-phase{min-width:26px;height:26px;font-family:var(--font-hakka);color:var(--hak-paper);background:linear-gradient(135deg, var(--hak-dai) 0%, var(--hak-dai-deep) 100%);border:1.5px solid #2b26208c;border-radius:8px 11px 7px 12px;place-items:center;padding:0 5px;font-size:15px;font-weight:800;line-height:1;transition:background .18s,color .18s,border-color .18s;display:inline-grid;box-shadow:inset 0 1px #ffffff38,1px 1.5px #2b1c1038}#btn-time[data-phase=day] #btn-time-phase.hkb-time-phase{color:var(--hak-ink);background:linear-gradient(135deg, var(--hak-gold-light) 0%, var(--hak-gold) 100%);border-color:#7a541ca6}#btn-time[data-phase=sunset] #btn-time-phase.hkb-time-phase{color:#fff3e2;background:linear-gradient(135deg, #e8913f 0%, var(--hak-red) 100%);border-color:#8e170fb3}#btn-time[data-phase=night] #btn-time-phase.hkb-time-phase{color:var(--hak-gold-light);background:linear-gradient(135deg, var(--hak-indigo) 0%, var(--hak-dai-deep) 100%);border-color:#d9a44199}@media (width>=821px) and (width<=900px){.hud-top-actions{gap:6px}.hud-top-actions .hud-btn{padding-left:9px;padding-right:9px}.hud-top-actions #btn-time.hkb-time-btn{padding-left:12px;padding-right:12px}}.hud-progress-row{flex-wrap:wrap;align-items:center;gap:4px 13px;margin-top:2px;display:flex}.hud-foods{letter-spacing:.03em;color:#5b7a45;align-items:center;gap:6px;font-size:11.5px;font-weight:800;display:inline-flex}.hud-foods:before{content:"";background:#6f8f5a;border-radius:3px 5px;flex:none;width:9px;height:9px;box-shadow:0 0 0 2px #6f8f5a38}.hud-lanterns.is-complete{color:#b07b16;text-shadow:0 0 9px #d9a441a6}.hud-foods.is-complete{color:#9a7420;text-shadow:0 0 9px #d9a44180}.hud-tag.is-finale{color:#fff4e6;background:linear-gradient(135deg,#d43a28,#8e170f);animation:1.8s ease-in-out infinite hak-tag-glow;box-shadow:0 0 0 2px #d9a44199,0 0 15px #d43a288c}@keyframes hak-tag-glow{0%,to{box-shadow:0 0 0 2px #d9a4418c,0 0 12px #d43a2866}50%{box-shadow:0 0 0 2px #ffd98ae6,0 0 20px #d43a28b3}}.hud-poster-btn{box-sizing:border-box;width:100%;min-height:40px;font-family:var(--font-hakka,"Songti SC", "STSong", "SimSun", serif);letter-spacing:.06em;color:var(--hak-dai,#22384f);cursor:pointer;text-align:left;background:linear-gradient(#fffcf4f7,#eee4ccf7);border:1.4px solid #22384f8c;border-radius:11px 15px 10px 16px;align-items:center;gap:8px;margin-top:8px;padding:6px 10px;font-size:13px;font-weight:700;transition:transform 80ms,box-shadow .12s,border-color .15s,background .15s;display:inline-flex;box-shadow:2px 3px #2b1c1024}.hud-poster-btn:hover{background:linear-gradient(#fffdf7,#f4e8ca);border-color:#a8232cb8}.hud-poster-btn:active{transform:translateY(1px);box-shadow:1px 1.5px #2b1c1024}.hud-poster-btn:focus-visible{outline:3px solid var(--hak-gold,#d9a441);outline-offset:2px}.hud-poster-seal{color:#f7ecd6;background:linear-gradient(150deg,#d43a28,#9c1f16);border:1px solid #50100ad9;border-radius:5px 7px 5px 8px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 0 0 1px #d43a2838}.hud-poster-text{white-space:nowrap;text-overflow:ellipsis;flex:auto;min-width:0;overflow:hidden}.hud-poster-kbd{min-width:18px;font-family:var(--font-ui,inherit);letter-spacing:0;text-align:center;color:var(--hak-dai,#22384f);background:#22384f14;border:1px solid #22384f66;border-bottom-width:2px;border-radius:5px 7px;flex:none;padding:1px 5px 2px;font-size:10px;font-weight:800}.hud-finale-btn{width:100%;min-height:44px;font-family:var(--font-ui,inherit);letter-spacing:.1em;color:#fff3df;cursor:pointer;background:linear-gradient(#dc4a33,#a8232c);border:1.6px solid #2b1410c7;border-radius:14px 18px 13px 19px;justify-content:center;align-items:center;gap:9px;margin-top:10px;padding:9px 13px;font-size:14px;font-weight:800;transition:transform 80ms,box-shadow .12s,filter .2s;display:inline-flex;box-shadow:3px 4px #2b1c104d,0 0 18px #d43a2866}.hud-finale-btn:hover{filter:brightness(1.07)}.hud-finale-btn:active{transform:translateY(2px);box-shadow:1px 2px #2b1c104d,0 0 12px #d43a2866}.hud-finale-btn:focus-visible{outline:3px solid var(--hak-gold,#d9a441);outline-offset:2px}.hud-finale-btn[hidden]{display:none}.finale-dot{background:#ffd98a;border-radius:50%;flex:none;width:10px;height:10px;animation:1.1s ease-in-out infinite hak-finale-dot;box-shadow:0 0 9px 2px #ffc85ad9}@keyframes hak-finale-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.75;transform:scale(1.35)}}.hud-finale-btn.is-pulsing{animation:1.7s ease-in-out infinite hak-finale-pulse}@keyframes hak-finale-pulse{0%,to{filter:brightness()}50%{filter:brightness(1.16)}}.prompt-chip{left:50%;bottom:max(30px, env(safe-area-inset-bottom));max-width:min(88vw,560px);min-height:46px;color:var(--hak-paper);opacity:0;pointer-events:none;background:linear-gradient(#283c52f5,#1c2a3bf5);border:1.6px solid #f0c8698c;border-radius:999px;align-items:center;gap:11px;padding:7px 18px 7px 8px;transition:opacity .16s,transform .16s;display:flex;position:fixed;transform:translate(-50%,14px)scale(.97);box-shadow:0 8px 26px #080e166b,3px 4px #0000002e}.prompt-chip.show{opacity:1;pointer-events:auto;transform:translate(-50%)scale(1)}.prompt-key{width:32px;height:32px;font-family:var(--font-hakka);color:#fbeed2;background:linear-gradient(180deg, #d23a2a, var(--hak-red-deep));border:1.5px solid #f0c869;border-radius:10px;flex:none;place-items:center;font-size:18px;font-weight:900;display:grid;box-shadow:0 2px #0000004d}.prompt-text{letter-spacing:.02em;white-space:nowrap;text-overflow:ellipsis;font-size:14.5px;font-weight:650;overflow:hidden}.toast{top:max(80px, calc(env(safe-area-inset-top) + 64px));text-align:center;max-width:min(86vw,520px);color:var(--hak-paper);opacity:0;pointer-events:none;z-index:40;background:#22384ff2;border:1.4px solid #f0c86980;border-radius:12px 16px 11px 17px;padding:10px 18px;font-size:13.5px;font-weight:600;line-height:1.5;transition:opacity .2s,transform .2s;position:fixed;left:50%;transform:translate(-50%,-10px);box-shadow:0 10px 30px #080e1666}.toast.show{opacity:1;transform:translate(-50%)}#dialogue{z-index:45;padding:18px clamp(12px, 4vw, 40px) max(20px, env(safe-area-inset-bottom));background:linear-gradient(#141c2800 46%,#18120a75 100%);justify-content:center;align-items:flex-end;display:none;position:fixed;inset:0}#dialogue.show{animation:.18s both dialogue-fade;display:flex}@keyframes dialogue-fade{0%{opacity:0}to{opacity:1}}.dialogue-paper{width:min(760px,100%);max-height:min(62vh,560px);color:var(--hak-ink);background:repeating-linear-gradient(0deg,#785c320b 0 2px,#0000 2px 30px),radial-gradient(120% 130% at 0 0,#fffcf2f2,#f4ecd8fa 55%,#e8dcc0fc);border:2px solid #2b2620d9;border-radius:20px 26px 17px 28px/26px 18px 28px 20px;padding:clamp(18px,3.4vw,30px) clamp(18px,4vw,38px) 16px;position:relative;overflow:auto;box-shadow:7px 9px #2b1c1038,0 26px 70px #060a1080}.dialogue-corner{border:2.5px solid var(--hak-red);opacity:.7;width:26px;height:26px;position:absolute}.dialogue-corner-tl{border-bottom:none;border-right:none;border-radius:8px 0 0;top:10px;left:10px}.dialogue-corner-br{border-top:none;border-left:none;border-radius:0 0 8px;bottom:10px;right:10px}.dialogue-title{font-family:var(--font-hakka);letter-spacing:.08em;color:var(--hak-dai);border-left:6px solid var(--hak-red);margin:0 0 10px;padding-left:12px;font-size:clamp(19px,3vw,23px);font-weight:900;line-height:1.25}.dialogue-lines p{letter-spacing:.015em;color:#3a342c;margin:0 0 9px;font-size:clamp(14.5px,2.2vw,16.5px);line-height:1.85}.dialogue-hint{text-align:right;color:var(--hak-ink-soft);margin:12px 0 0;font-size:11.5px}.dialogue-hint kbd{margin:0 2px}.joystick{left:max(22px, env(safe-area-inset-left));bottom:max(26px, env(safe-area-inset-bottom));touch-action:none;pointer-events:auto;z-index:35;width:118px;height:118px;display:none;position:fixed}.joystick-ring{background:radial-gradient(circle at 50% 42%,#f4ecd86b,#d2c4a847);border:2px solid #2b262057;border-radius:50%;position:absolute;inset:0;box-shadow:inset 0 2px 10px #2b26202e}.joystick-knob{background:radial-gradient(circle at 38% 32%, #46698c, var(--hak-dai) 70%);border:2px solid #f4ecd8b8;border-radius:50%;width:54px;height:54px;margin:-27px 0 0 -27px;position:absolute;top:50%;left:50%;box-shadow:0 5px 14px #0a121c66}.interact-fab{right:max(26px, env(safe-area-inset-right));bottom:max(34px, env(safe-area-inset-bottom));cursor:pointer;background:radial-gradient(circle at 38% 32%, #e0493a, var(--hak-red) 62%, var(--hak-red-deep));z-index:35;border:3px solid #f4ecd8d1;border-radius:50%;place-items:center;width:78px;height:78px;display:none;position:fixed;box-shadow:0 9px 24px #781a0e75,inset 0 2px 6px #ffdcaa80}.interact-fab:active{transform:scale(.94)}.fab-key{font-family:var(--font-hakka);color:#fbeed2;font-size:28px;font-weight:900}.jump-fab{right:calc(max(26px, env(safe-area-inset-right,0px)) + 92px);bottom:calc(max(34px, env(safe-area-inset-bottom,0px)) + 7px);cursor:pointer;touch-action:none;color:#f3ead2;background:radial-gradient(circle at 38% 32%, #467aa2, var(--hak-dai,#22384f) 74%);z-index:35;border:3px solid #f4ecd8d1;border-radius:50%;place-items:center;width:64px;height:64px;display:none;position:fixed;box-shadow:0 9px 22px #10223475,inset 0 2px 6px #bedcff66}.jump-fab:active{transform:scale(.92)}.jump-fab-icon{filter:drop-shadow(0 1px 1px #0a121c80);display:block}.error-overlay{z-index:60;background:#100c08b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.error-overlay[hidden]{display:none}.error-card{text-align:center;background:var(--hak-paper);border:2px solid var(--hak-ink);border-radius:var(--radius-paper);width:min(460px,92vw);box-shadow:var(--shadow-hard);padding:28px 26px}.error-card h2{font-family:var(--font-hakka);color:var(--hak-red-deep);margin:0 0 10px}.error-message{color:var(--hak-ink-soft);margin:0 0 18px;font-size:14px;line-height:1.7}html[data-noui="1"] #ui-layer .title-screen,html[data-noui="1"] #ui-layer #hud,html[data-noui="1"] #ui-layer .error-overlay,html.noui #ui-layer .title-screen,html.noui #ui-layer #hud,html.noui #ui-layer .error-overlay{display:none!important}@media (pointer:coarse),(width<=820px){.joystick{display:block}.interact-fab,.jump-fab{display:grid}.prompt-chip{bottom:max(128px, calc(env(safe-area-inset-bottom) + 118px))}.dialogue{align-items:flex-end}.hud-card{width:min(300px,100vw - 78px);padding:8px 11px 9px}.hud-objective-text{font-size:12.5px;line-height:1.46}.hud-top-actions{top:max(10px, env(safe-area-inset-top,0px));right:max(10px, env(safe-area-inset-right,0px));flex-direction:column;align-items:flex-end;gap:7px}.hud-top-actions .hud-btn{border-radius:13px 16px 12px 17px;justify-content:center;gap:0;width:44px;min-width:44px;height:44px;min-height:44px;padding:0}.hud-top-actions .hud-btn .btn-label,.hud-top-actions .hud-btn kbd,.hud-top-actions .hud-btn .mute-dot{display:none}.hud-top-actions .hud-btn:before{font-family:var(--font-hakka,"Songti SC", "STSong", serif);color:var(--hak-dai,#22384f);font-size:20px;font-weight:800;line-height:1}#btn-map:before{content:"图"}#btn-handbook:before{content:"簿"}#btn-overview:before{content:"览"}.hud-top-actions .hud-mute:before{content:"声";color:#3f6b34}.hud-top-actions .hud-mute.is-muted:before{content:"静";color:#b0492f}#hud .hud-card{width:min(288px,100vw - 124px)}.hud-top-actions #btn-time.hkb-time-btn{border-radius:14px 18px 13px 19px;justify-content:center;gap:7px;width:auto;min-width:0;height:44px;min-height:44px;margin-bottom:1px;padding:0 12px}.hud-top-actions #btn-time.hkb-time-btn:before{content:none}.hud-top-actions #btn-time .hkb-time-label{letter-spacing:.12em;margin-right:-.12em;font-size:15px}.hud-top-actions #btn-time #btn-time-phase.hkb-time-phase{min-width:24px;height:24px;font-size:14px}#hakka-build-badge.hkb-root{top:calc(env(safe-area-inset-top,0px) + 268px)}.hud-poster-btn{min-height:44px;padding:7px 11px;font-size:12.5px}.hud-poster-seal{width:26px;height:26px;font-size:15px}}@media (width<=430px){.hud-lanterns,.hud-foods{font-size:10.5px}.hud-progress-row{gap:3px 10px}.title-hint{font-size:10.5px}.hud-finale-btn{min-height:42px;font-size:13px}}@media (width<=860px),(pointer:coarse) and (width<=1024px){#title-screen.active{padding:max(10px, env(safe-area-inset-top,0px)) max(10px, env(safe-area-inset-right,0px)) max(10px, env(safe-area-inset-bottom,0px)) max(10px, env(safe-area-inset-left,0px));justify-content:flex-end;align-items:center}.title-card{border-radius:20px 24px 16px 27px/24px 17px 27px 19px;width:100%;max-width:580px;max-height:64dvh;padding:16px 18px 13px}.title-fret{height:10px;margin-bottom:10px}.title-kicker{letter-spacing:.2em;gap:8px;margin-bottom:8px;font-size:11px}.title-kicker-text{text-indent:.2em}.title-kicker-seal{border-radius:7px 9px 6px 10px;width:23px;height:23px;font-size:14px}.game-title.title-name{letter-spacing:.12em;text-indent:.12em;font-size:clamp(40px,12.4vw,50px)}.title-en{letter-spacing:.42em;text-indent:.42em;margin-top:8px;font-size:10px}.title-tagline{letter-spacing:.08em;text-indent:.08em;margin:10px 0 14px;font-size:14.5px;line-height:1.55}.begin-button.title-cta{border-radius:14px 18px 13px 19px/17px 13px 19px 14px;min-height:52px;padding:11px 18px 10px}.begin-main.title-cta-main{letter-spacing:.28em;padding-left:.28em;font-size:25px}.title-cta-row{gap:13px}.title-cta-arrow{font-size:21px}.begin-sub.title-cta-sub{letter-spacing:.16em;text-indent:.16em;font-size:10.5px}.title-hint{gap:5px 7px;margin-top:11px;font-size:11px;line-height:1.6}.title-hint--desktop{display:none}.title-hint--mobile{display:flex}.title-card-bottom{gap:8px 12px;margin-top:12px;padding-top:11px}.title-mute-btn{min-height:44px;padding:8px 15px}.title-foot{letter-spacing:.08em;flex-basis:130px;font-size:9.5px;line-height:1.5}.title-cloud-a{top:max(14px, calc(env(safe-area-inset-top,0px) + 8px));opacity:.4;filter:blur(10px);height:56px}.title-cloud-b{display:none}.title-vignette{background:radial-gradient(130% 90% at 50% 18%,#120e0900 46%,#120e0947 100%),linear-gradient(#140e0800 54%,#140e0814 70%,#140e0880 100%),linear-gradient(#140e082e 0%,#140e0800 22%)}}@media (width>=861px) and (height<=780px){.title-card{padding:20px 30px 16px}.title-fret{height:11px;margin-bottom:11px}.title-kicker{margin-bottom:9px;font-size:11.5px}.game-title.title-name{font-size:clamp(44px,4vw,57px)}.title-en{margin-top:8px;font-size:11.5px}.title-tagline{margin:12px 0 15px;font-size:15.5px}.begin-button.title-cta{padding:11px 24px 10px}.begin-main.title-cta-main{font-size:27px}.title-hint{margin-top:12px}.title-card-bottom{padding-top:11px}}@media (pointer:coarse) and (orientation:landscape) and (height<=560px){#title-screen.active{padding:8px max(10px, env(safe-area-inset-right,0px)) 8px max(10px, env(safe-area-inset-left,0px))}.title-card{max-height:calc(100dvh - 16px);padding:12px 24px 10px}.title-fret{display:none}.title-kicker{margin-bottom:5px}.game-title.title-name{font-size:38px}.title-en{margin-top:5px;font-size:9.5px}.title-tagline{margin:7px 0 10px;font-size:13.5px}.begin-button.title-cta{min-height:46px;padding:8px 18px}.begin-main.title-cta-main{font-size:22px}.title-hint{margin-top:8px}.title-card-bottom{margin-top:8px;padding-top:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}.title-cloud{animation:none!important}}.visually-hidden{width:1px;height:1px;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.hud-objective.hud-card{z-index:20;transition:background-color .18s,border-color .18s,box-shadow .22s}.hud-objective.hud-obj-mode-in{animation:.24s ease-out both hud-obj-card-in}@keyframes hud-obj-card-in{0%{opacity:.4;transform:translateY(-3px)scale(.985)}to{opacity:1;transform:none}}.hud-obj-head{align-items:center;gap:4px;min-width:0;display:flex}.hud-obj-head .hud-tag{white-space:nowrap;text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.hud-obj-tools{flex:none;align-items:center;gap:1px;margin-left:auto;display:inline-flex}.hud-obj-icon-btn{appearance:none;width:40px;min-width:40px;height:40px;min-height:40px;color:var(--hak-ink-soft);cursor:pointer;background:0 0;border:1.4px solid #0000;border-radius:11px 13px 10px 14px;place-items:center;margin:0;padding:0;transition:color .15s,background-color .15s,border-color .15s,transform 80ms;display:inline-grid}.hud-obj-icon-btn .hud-obj-glyph{display:block}.hud-obj-icon-btn:hover{color:var(--hak-ink);background:#2b262012;border-color:#2b262047}.hud-obj-icon-btn:active{transform:scale(.92)}.hud-obj-icon-btn:focus-visible{outline-offset:1px;outline:3px solid #33506eeb}.hud-obj-close:hover{color:#fff3e6;background:linear-gradient(150deg,#d43a28,#9c1f16);border-color:#50100acc;box-shadow:2px 2px #2b1c102e}.hud-objective .hud-obj-glyph-collapse,.hud-objective[data-mode=full] .hud-obj-glyph-expand{display:none}.hud-objective[data-mode=full] .hud-obj-glyph-collapse{display:block}.hud-objective[data-mode=min]{padding:8px 10px 9px}.hud-objective[data-mode=min] .hud-tag{letter-spacing:.18em;padding:2px 7px 2.5px;font-size:9px}.hud-objective-short.hud-objective-short{font-family:var(--font-hakka);letter-spacing:.05em;color:var(--hak-ink);white-space:nowrap;text-overflow:ellipsis;margin:6px 2px 1px;font-size:15.5px;font-weight:800;line-height:1.32;overflow:hidden}.hud-objective[data-mode=min] .hud-progress-row{gap:3px 12px;margin-top:5px}.hud-poster-btn.is-icon-only{width:40px;min-width:40px;height:40px;min-height:40px;box-shadow:none;background:0 0;border-color:#0000;justify-content:center;gap:0;margin:0;padding:0}.hud-poster-btn.is-icon-only .hud-poster-seal{border-radius:7px 9px 6px 10px;width:29px;height:29px;font-size:16.5px;transition:transform .15s}.hud-poster-btn.is-icon-only .hud-poster-text,.hud-poster-btn.is-icon-only .hud-poster-kbd{display:none}.hud-poster-btn.is-icon-only:hover{box-shadow:none;background:#b23a2e1a;border-color:#0000}.hud-poster-btn.is-icon-only:hover .hud-poster-seal{transform:rotate(-4deg)scale(1.06)}.hud-poster-btn.is-icon-only:active{box-shadow:none;transform:scale(.92)}.hud-poster-btn.is-icon-only:focus-visible{outline-offset:1px;outline:3px solid #b23a2ebf}.hud-objective[data-mode=full] .hud-objective-short{display:none}.hud-objective-full-copy{margin:0}.hud-objective[data-mode=full] .hud-objective-full-copy{letter-spacing:.015em;color:var(--hak-ink);white-space:normal;margin:8px 1px 6px;font-size:13.5px;font-weight:650;line-height:1.62;animation:.26s both hud-obj-reveal}@keyframes hud-obj-reveal{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:none}}.hud-objective[data-mode=full] #btn-poster:not(.is-icon-only){animation:.26s 30ms both hud-obj-reveal}.hud-objective.hud-card[data-mode=hidden]{top:max(74px, calc(env(safe-area-inset-top,0px) + 60px));left:max(0px, env(safe-area-inset-left,0px));min-width:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;background:0 0;border:0;border-radius:0;animation:none;overflow:visible;width:auto!important;padding:0!important}.hud-objective[data-mode=hidden] .hud-obj-head,.hud-objective[data-mode=hidden] .hud-objective-short,.hud-objective[data-mode=hidden] .hud-objective-full-copy,.hud-objective[data-mode=hidden] .hud-progress-row,.hud-objective[data-mode=hidden] #btn-poster,.hud-objective[data-mode=hidden] #btn-finale{display:none!important}.hud-obj-restore{pointer-events:auto;width:42px;min-width:42px;min-height:88px;color:var(--hak-paper);background:linear-gradient(180deg, #2c4a68 0%, var(--hak-dai-deep) 100%);cursor:pointer;border:1.6px solid #2b2620b8;border-left:0;border-radius:0 15px 16px 0;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:11px 0 12px;transition:transform .15s,filter .15s,box-shadow .15s;animation:.3s both hud-obj-restore-in;display:inline-flex;box-shadow:4px 6px #2b1c102e,0 10px 22px #141a223d}.hud-obj-restore[hidden]{display:none}.hud-obj-restore:hover{filter:brightness(1.13);transform:translate(3px);box-shadow:5px 7px #2b1c1033,0 12px 26px #141a2247}.hud-obj-restore:active{transform:translate(1px)scale(.97)}.hud-obj-restore:focus-visible{outline:3px solid var(--hak-gold-light,#f0c869);outline-offset:2px}.hud-obj-restore-mark{color:var(--hak-gold-light,#f0c869);text-shadow:0 0 10px #f0c86999;font-size:17px;line-height:1}.hud-obj-restore-text{writing-mode:vertical-rl;font-family:var(--font-hakka);letter-spacing:.34em;color:var(--hak-paper);font-size:13.5px;font-weight:800;line-height:1}@keyframes hud-obj-restore-in{0%{opacity:0;transform:translate(-16px)}to{opacity:1;transform:none}}@media (pointer:coarse),(width<=820px){.hud-objective[data-mode=min]{padding:7px 9px 8px}.hud-obj-head .hud-tag{letter-spacing:.16em;padding:2px 7px 2.5px;font-size:9px}.hud-objective-short.hud-objective-short{letter-spacing:.035em;font-size:14px}.hud-objective[data-mode=full] .hud-objective-full-copy{font-size:12.5px;line-height:1.52}.hud-obj-icon-btn,.hud-poster-btn.is-icon-only{width:42px;min-width:42px;height:42px;min-height:42px}.hud-obj-restore{width:44px;min-width:44px;min-height:92px}.hud-objective.hud-card[data-mode=hidden]{top:max(66px, calc(env(safe-area-inset-top,0px) + 54px))}}@media (width<=390px){.hud-objective-short.hud-objective-short{font-size:13.5px}.hud-obj-head .hud-tag{letter-spacing:.13em;font-size:8.5px}}@media (prefers-reduced-motion:reduce){.hud-objective.hud-obj-mode-in,.hud-objective[data-mode=full] .hud-objective-full-copy,.hud-objective[data-mode=full] #btn-poster:not(.is-icon-only),.hud-obj-restore{animation:none!important}.hud-obj-icon-btn,.hud-poster-btn.is-icon-only .hud-poster-seal,.hud-obj-restore,.hud-objective.hud-card{transition:none!important}}
