:root{font-family:system-ui,Noto Sans KR,sans-serif;color:#f0ede4;background:#0d1722}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:#eaf0ef;cursor:pointer;background:#1c3345;border:1px solid #64818d;border-radius:7px;padding:.55rem .8rem}button:hover{background:#325365}button:focus-visible{outline:3px solid #e8be7b;outline-offset:2px}#game-root{position:relative;overflow:hidden;width:100vw;height:100dvh;min-height:490px}#viewport{position:absolute;inset:0}canvas{display:block}#hud{position:absolute;inset:0;pointer-events:none;display:flex;flex-direction:column;justify-content:space-between}#hud button{pointer-events:auto}header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.3rem 2rem;background:linear-gradient(#0b1722e8,#0b172200)}.eyebrow{font-size:.66rem;letter-spacing:.21em;color:#dbb57b;font-weight:700}h1{font-family:Georgia,"Noto Serif KR",serif;font-size:clamp(1.25rem,2.25vw,2rem);font-weight:500;margin:.3rem 0}.masthead #scene{font-size:.82rem;color:#b6cad2}.toolbar{display:flex;gap:.45rem;flex-wrap:wrap;justify-content:end}.toolbar button{font-size:.78rem;background:#142637d9}#status{position:absolute;top:118px;left:2rem;font-size:.74rem;color:#f0c28b;max-width:min(570px,80vw);text-shadow:0 2px 4px #09111b}#toast{position:absolute;top:146px;left:2rem;color:#e9e1bb;font-size:.83rem;max-width:500px;text-shadow:0 2px 4px #09111b}#story{position:absolute;left:2rem;bottom:130px;width:min(590px,calc(100vw - 4rem));padding:1rem 1.25rem;background:#0d2032d9;border-left:3px solid #c5a274;box-shadow:0 8px 40px #06121e55;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}#layer{font-size:.64rem;letter-spacing:.17em;color:#f5c68a;margin-bottom:.35rem}#speaker{font-size:.92rem}#line{font-size:clamp(.86rem,1.15vw,1.07rem);line-height:1.65;margin:.45rem 0}#source{font-size:.68rem;color:#b0c3c8}footer{padding:1.1rem 2rem 1.3rem;background:linear-gradient(#0b172200,#0b1722f5 38%);display:flex;align-items:end;gap:1rem}#objective{font-weight:600;color:#f1c88a;max-width:290px}#controls{color:#d9dfe0;font-size:.73rem;flex:1;text-align:center}#actions{display:flex;gap:.4rem}#shade{position:absolute;top:27%;right:2rem;background:#c5ad8d26;color:#f1ddbe;padding:.7rem 1rem;font-size:.76rem;letter-spacing:.08em;border:1px solid #d7b99488;pointer-events:none}@media(max-width:760px){header{padding:1rem;flex-direction:column}.toolbar{justify-content:start}#status{top:150px;left:1rem}#toast{top:180px;left:1rem}#story{left:1rem;bottom:160px;width:calc(100vw - 2rem)}footer{padding:1rem;flex-wrap:wrap}#controls{order:3;flex-basis:100%;text-align:left}#actions{margin-left:auto}#shade{right:1rem;top:30%}}
