@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Noto+Sans+KR:wght@300;400;500&display=swap');
:root{color-scheme:dark;font-family:"Noto Sans KR",sans-serif;color:#c2c9c7;background:#080d11;font-synthesis:none}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
body{touch-action:none;user-select:none;-webkit-user-select:none}
#game{display:block;width:100%;height:100%;outline:none}
button{font:inherit;color:inherit;background:none;border:1px solid #ccd7d22b;cursor:pointer;touch-action:none}
button:focus-visible,input:focus-visible{outline:2px solid #d0e2da;outline-offset:4px}
button:hover{border-color:#cbd8d687;background:#d2e2dc0a}
button:active,[aria-pressed=true]{background:#d3e0dc20;border-color:#d3e0dc99}
.hidden{display:none!important}.vignette{pointer-events:none;position:fixed;inset:0;background:radial-gradient(ellipse at 52% 48%,transparent 28%,#03060a35 65%,#010306c2 100%);box-shadow:inset 0 0 130px #0004}
.overlay{position:fixed;inset:0;z-index:10;display:flex;align-items:center;background:linear-gradient(90deg,#02070cbb,transparent 80%);padding:8vw}
.title-block{padding-top:2vh;max-width:670px}.eyebrow{font-size:11px;letter-spacing:.34em;color:#95a6a8;margin:0 0 22px}
h1{font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(70px,11.5vw,160px);font-weight:300;letter-spacing:.19em;line-height:.9;margin:0 0 36px;text-shadow:0 4px 40px #0006;color:#dce1d9}
.intro{font-weight:300;font-size:14px;line-height:2.2;letter-spacing:.14em;color:#9badaa}
.menu-actions{display:flex;align-items:center;gap:16px;margin-top:32px}
.primary{padding:15px 24px;border-color:#abbab277;background:#6c827d13;letter-spacing:.08em;min-width:190px;text-align:left;font-size:13px}.primary span{float:right;margin-left:40px}
.subtle{font-size:12px;padding:14px 18px;border-color:transparent;color:#94a9a4}
.small{font-size:10px;letter-spacing:.06em;color:#7d918e;line-height:1.8;margin-top:23px}
.menu-bottom{position:absolute;bottom:28px;left:8vw;right:6vw;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.17em;color:#7f9193}
#hud{position:fixed;z-index:4;left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));top:max(18px,env(safe-area-inset-top));display:flex;align-items:center;gap:20px;color:#aabbb7}
#hud button{border:none;font-size:12px;min-height:36px;padding:8px 12px;background:#07101540}
#location{font-size:10px;letter-spacing:.17em;text-shadow:0 2px 8px #000}#sound{margin-left:auto}
#chapter{position:fixed;pointer-events:none;top:19%;left:0;right:0;text-align:center;opacity:0;transition:opacity 1.6s;z-index:3;text-shadow:0 3px 20px #000}
#chapter.show{opacity:1}#chapter-number{font-size:10px;letter-spacing:.5em;color:#9caaa7}#chapter h2{font-weight:300;font-size:24px;letter-spacing:.3em;margin:17px 0}#chapter p{font-size:11px;letter-spacing:.1em;color:#8e9c99}
#hint{position:fixed;z-index:4;bottom:120px;left:16%;right:16%;text-align:center;font-size:11px;letter-spacing:.04em;line-height:1.8;color:#bacbc5;text-shadow:0 2px 10px #000,0 0 15px #000}
#notice{position:fixed;right:32px;top:76px;font-size:10px;letter-spacing:.12em;opacity:0;transition:opacity .5s;color:#9cb8af;z-index:4}
#controls{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:max(26px,env(safe-area-inset-left));right:max(26px,env(safe-area-inset-right));display:flex;justify-content:space-between;pointer-events:none;z-index:5}
#controls>div{display:flex;gap:12px;align-items:center}#controls button{pointer-events:auto;border-radius:50%;width:64px;height:64px;background:#0d1a204d;backdrop-filter:blur(4px);box-shadow:0 3px 20px #0003;font-size:24px;color:#bdcac7}
#controls button span{display:block;font-size:25px;line-height:28px}#controls button small{display:block;font-size:9px;color:#98aba6}
#controls #jump{width:74px;height:74px;margin-left:8px}
#keyboard{position:fixed;bottom:8px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:.03em;color:#7a8c8b;pointer-events:none;z-index:4}
.compact{justify-content:center;background:#03080ee0;backdrop-filter:blur(14px);text-align:center}.panel{width:min(420px,90vw)}.panel h2{font-weight:300;letter-spacing:.15em;font-size:25px;line-height:1.8;margin:20px 0 30px}.panel p{font-size:12px;line-height:1.9;color:#839d97}.panel>.primary{display:block;width:100%;text-align:center}
.setting{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #bccfc41c;padding:15px 0;font-size:11px;letter-spacing:.05em}.setting input{accent-color:#b5c9be;width:140px}
#danger{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 140px #986b4b99;opacity:0;z-index:3}
#fade{position:fixed;inset:0;background:#010307;opacity:0;pointer-events:none;z-index:8;transition:opacity .2s}
#rotate{display:none;position:fixed;inset:0;z-index:30;background:#050b11ec;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#acbeb8}
#rotate>div{font-size:58px;font-weight:300}#rotate p{font-size:16px;line-height:2;letter-spacing:.1em}#rotate button{font-size:11px;padding:12px 20px;margin-top:15px}
@media(orientation:portrait) and (max-width:760px){#rotate:not(.hidden){display:flex}}
@media(max-height:520px){.overlay{padding:6vw}.eyebrow{margin-bottom:14px;font-size:9px}h1{font-size:76px;margin-bottom:18px}.intro{font-size:11px;line-height:1.9}.menu-actions{margin-top:18px}.small{margin-top:14px;font-size:9px}.menu-bottom{bottom:14px;font-size:8px}#hint{bottom:97px;font-size:10px}#controls{bottom:16px}#controls button{width:57px;height:57px}#controls #jump{width:65px;height:65px}#keyboard{display:none}.panel h2{font-size:21px;margin:14px 0}.setting{padding:10px 0}#chapter{top:15%}#chapter h2{font-size:20px}}
@media(pointer:coarse){#keyboard{display:none}#hud{top:8px}}
