:root{--exit-green: #009034;--exit-green-deep: #006c26;--exit-white: #ffffff;--exit-yellow: #ffe400;--exit-ink: #111714;--font-sign: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Arial, sans-serif;--font-mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;--sat: env(safe-area-inset-top, 0px);--sab: env(safe-area-inset-bottom, 0px);--sal: env(safe-area-inset-left, 0px);--sar: env(safe-area-inset-right, 0px)}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html,body,#app{width:100%;height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none;touch-action:none;background:var(--exit-green);color:var(--exit-white);font-family:var(--font-sign);user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#viewport{position:fixed;inset:0;width:100%;height:100%;touch-action:none;cursor:default}#viewport canvas{display:block;width:100%;height:100%;touch-action:none}.is-hidden{display:none!important}#gate-flash{position:fixed;inset:0;background:var(--exit-white);opacity:0;pointer-events:none;z-index:30}#sector-banner{position:fixed;top:calc(82px + var(--sat));left:50%;transform:translate(-50%) translateY(-10px);display:flex;align-items:center;gap:10px;padding:6px 16px 6px 10px;background:var(--exit-white);color:var(--exit-green);border:2px solid var(--exit-green);font-size:13px;font-weight:900;letter-spacing:.2em;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .22s ease,transform .28s cubic-bezier(.22,1,.36,1);z-index:25}#sector-banner.is-visible{opacity:1;transform:translate(-50%) translateY(0)}.banner-mark{width:8px;height:14px;background:var(--exit-yellow);display:block}#hud{position:fixed;top:calc(16px + var(--sat));left:calc(18px + var(--sal));right:calc(18px + var(--sar));display:flex;justify-content:space-between;align-items:flex-start;gap:10px;pointer-events:none;z-index:20}.hud-left{display:flex;flex-direction:column;gap:0;border:1.5px solid var(--exit-white);min-width:0}.sector-plate{display:flex;align-items:stretch;background:var(--exit-white);color:var(--exit-green);height:32px}.plate-accent{width:5px;background:var(--exit-yellow);display:block}.plate-label{display:flex;align-items:center;padding:0 8px 0 10px;font-size:10px;font-weight:800;letter-spacing:.16em}.plate-value{display:flex;align-items:center;padding:0 12px 0 2px;font-size:17px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:.04em}.sector-progress-track{width:100%;height:3px;background:#00521de6;overflow:hidden}.sector-progress-fill{width:0%;height:100%;background:var(--exit-yellow);transition:width .2s linear}.hud-telemetry{display:flex;align-items:center;gap:7px;padding:5px 10px;background:var(--exit-green-deep);font-family:var(--font-mono);font-size:11px;font-weight:700;letter-spacing:.05em;font-variant-numeric:tabular-nums;color:var(--exit-white);white-space:nowrap}.tele-item{display:inline-flex;align-items:center;gap:3px}.tele-item small{font-size:10px;opacity:.8}.tele-sep{opacity:.42}.tele-picto{width:14px;height:14px}.following-tag{background:var(--exit-yellow);color:var(--exit-ink);font-size:10px;font-weight:900;padding:1px 4px;margin-left:2px}.hud-right{display:flex;gap:6px;pointer-events:auto;flex-shrink:0}.sign-btn{width:36px;height:36px;display:grid;place-items:center;background:var(--exit-green);border:1.5px solid var(--exit-white);color:var(--exit-white);cursor:pointer;touch-action:manipulation;transition:background-color .12s ease,color .12s ease,border-color .12s ease}.sign-btn svg{width:17px;height:17px}.sign-btn:hover{background:var(--exit-white);color:var(--exit-green)}.sign-btn:active{background:var(--exit-yellow);color:var(--exit-ink);border-color:var(--exit-yellow)}#key-hints{position:fixed;left:calc(18px + var(--sal));bottom:calc(18px + var(--sab));display:flex;align-items:center;gap:14px;padding:6px 10px;background:var(--exit-green-deep);border:1px solid rgba(255,255,255,.6);pointer-events:none;z-index:15;opacity:.92;transition:opacity .8s ease}#key-hints.is-quiet{opacity:.34}.hint-group{display:inline-flex;align-items:center;gap:3px}.hint-group kbd{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border:1px solid rgba(255,255,255,.65);font-family:var(--font-mono);font-size:10px;font-weight:700;color:var(--exit-white)}.hint-txt{margin-left:4px;font-size:10px;font-weight:700;letter-spacing:.14em;opacity:.8}#title-overlay{position:fixed;inset:0;display:flex;align-items:flex-end;justify-content:flex-start;padding:calc(24px + var(--sat)) calc(24px + var(--sar)) calc(28px + var(--sab)) calc(28px + var(--sal));pointer-events:none;z-index:24;transition:opacity .35s ease}#title-overlay.is-dismissed{opacity:0;pointer-events:none}.title-block{pointer-events:auto;display:flex;flex-direction:column;align-items:flex-start;padding:24px 28px 26px;background:var(--exit-green);border:2px solid var(--exit-white)}.title-rule{width:44px;height:5px;background:var(--exit-yellow);margin-bottom:12px}.title-word{font-size:clamp(54px,9.5vw,108px);font-weight:900;line-height:.86;letter-spacing:-.04em;color:var(--exit-white)}.title-word span{color:var(--exit-yellow)}.title-sub{display:flex;align-items:baseline;gap:14px;margin-top:10px;margin-bottom:22px}.title-jp{font-size:18px;font-weight:900;letter-spacing:.24em}.title-code{font-family:var(--font-mono);font-size:11px;font-weight:700;letter-spacing:.14em;opacity:.78}.enter-btn{display:inline-flex;align-items:center;gap:18px;height:46px;padding:0 22px;background:var(--exit-white);color:var(--exit-green);border:none;font-family:var(--font-sign);font-size:14px;font-weight:900;letter-spacing:.22em;cursor:pointer;touch-action:manipulation;transition:background-color .14s ease,color .14s ease,transform .12s ease}.enter-btn:hover{background:var(--exit-yellow);color:var(--exit-ink)}.enter-btn:active{transform:translateY(1px);background:var(--exit-yellow);color:var(--exit-ink)}.enter-arrow{font-size:17px;letter-spacing:0}#exit-stamp{position:fixed;right:calc(18px + var(--sar));bottom:calc(16px + var(--sab));display:flex;align-items:flex-end;gap:9px;padding:5px 9px;background:var(--exit-green);pointer-events:none;z-index:16}.stamp-cone{width:20px;height:23px}.stamp-picto{width:28px;height:31px}.stamp-text{display:flex;flex-direction:column;line-height:1}.stamp-jp{font-size:19px;font-weight:900;letter-spacing:.08em}.stamp-en{margin-top:3px;font-size:9px;font-weight:800;letter-spacing:.34em;opacity:.85}#touch-controls{display:none}body.is-touch #key-hints{display:none!important}body.is-touch #touch-controls:not(.is-hidden){display:flex;position:fixed;left:calc(20px + var(--sal));right:calc(20px + var(--sar));bottom:calc(74px + var(--sab));justify-content:space-between;align-items:flex-end;pointer-events:none;z-index:22}body.is-touch .sign-btn{width:42px;height:42px}.touch-pad{width:120px;height:120px;border:2px solid var(--exit-white);outline:1.5px solid var(--exit-green-deep);background:#006c268f;position:relative;pointer-events:auto;touch-action:none}.pad-tick{position:absolute;background:#ffffffa6;pointer-events:none}.pad-tick-n{top:0;left:50%;width:2px;height:10px;transform:translate(-50%)}.pad-tick-s{bottom:0;left:50%;width:2px;height:10px;transform:translate(-50%)}.pad-tick-w{left:0;top:50%;width:10px;height:2px;transform:translateY(-50%)}.pad-tick-e{right:0;top:50%;width:10px;height:2px;transform:translateY(-50%)}.touch-knob{width:40px;height:40px;background:var(--exit-white);border:2px solid var(--exit-green-deep);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}.touch-pad.is-active .touch-knob{background:var(--exit-yellow);border-color:var(--exit-ink)}.touch-jump{width:88px;height:56px;border:2px solid var(--exit-green-deep);outline:1.5px solid var(--exit-white);background:var(--exit-white);color:var(--exit-green);font-family:var(--font-sign);font-size:13px;font-weight:900;letter-spacing:.16em;pointer-events:auto;touch-action:none}.touch-jump:active,.touch-jump.is-active{background:var(--exit-yellow);border-color:var(--exit-yellow);color:var(--exit-ink)}@media(min-width:700px){body.is-touch .touch-pad{width:134px;height:134px}body.is-touch .touch-knob{width:44px;height:44px}body.is-touch .touch-jump{width:98px;height:62px;font-size:14px}body.is-touch #touch-controls:not(.is-hidden){left:calc(28px + var(--sal));right:calc(28px + var(--sar));bottom:calc(80px + var(--sab))}}@media(max-width:520px){#hud{top:calc(12px + var(--sat));left:calc(12px + var(--sal));right:calc(12px + var(--sar))}.hud-telemetry{font-size:10px;gap:5px;padding:4px 7px}.sign-btn{width:36px;height:36px}body.is-touch .sign-btn{width:38px;height:38px}#title-overlay{padding:calc(16px + var(--sat)) calc(16px + var(--sar)) calc(82px + var(--sab)) calc(16px + var(--sal))}.title-block{padding:18px 20px 20px}.title-word{font-size:56px}.title-sub{margin-bottom:16px}.touch-pad{width:112px;height:112px}.touch-jump{width:82px;height:52px}#exit-stamp{right:calc(12px + var(--sar));bottom:calc(12px + var(--sab))}.stamp-jp{font-size:16px}.stamp-picto{width:24px;height:26px}.stamp-cone{width:17px;height:20px}}@media(max-height:460px){#hud{top:calc(10px + var(--sat));left:calc(14px + var(--sal));right:calc(14px + var(--sar))}#sector-banner{top:calc(12px + var(--sat));padding:4px 12px 4px 8px;font-size:11px}#title-overlay{padding:calc(12px + var(--sat)) calc(16px + var(--sar)) calc(14px + var(--sab)) calc(16px + var(--sal))}.title-block{padding:14px 18px 16px}.title-rule{width:34px;height:4px;margin-bottom:8px}.title-word{font-size:clamp(38px,12vh,58px)}.title-sub{margin-top:6px;margin-bottom:12px}.title-jp{font-size:14px}.enter-btn{height:38px;padding:0 16px;font-size:12px}body.is-touch #touch-controls:not(.is-hidden){left:calc(16px + var(--sal));right:calc(16px + var(--sar));bottom:calc(14px + var(--sab))}body.is-touch .touch-pad{width:96px;height:96px}body.is-touch .touch-knob{width:34px;height:34px}body.is-touch .touch-jump{width:78px;height:48px;margin-bottom:42px}#exit-stamp{right:calc(14px + var(--sar));bottom:calc(10px + var(--sab));padding:3px 7px}.stamp-jp{font-size:14px}.stamp-picto{width:20px;height:22px}.stamp-cone{width:14px;height:16px}}@media(pointer:coarse){#key-hints{display:none}#touch-controls:not(.is-hidden){display:flex;position:fixed;left:calc(20px + var(--sal));right:calc(20px + var(--sar));bottom:calc(74px + var(--sab));justify-content:space-between;align-items:flex-end;pointer-events:none;z-index:22}}
