* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: Inter, "Segoe UI", sans-serif; color: #f7eee0; background: #171711; }
body { margin: 0; }
[hidden] { display: none !important; }
#game { min-height: 100svh; position: relative; overflow: hidden; background: #171711; }
#scene { display: block; width: 100%; height: 100%; position: absolute; inset: 0; touch-action: none; }
.location { position: absolute; top: 22px; left: 26px; display: grid; gap: 3px; text-shadow: 0 2px 4px #070704, 0 1px 10px #070704; pointer-events: none; }
.location strong { font-family: Impact, "Arial Black", sans-serif; font-weight: 900; line-height: 1; }
.location strong { color: #ffc062; font-size: 29px; letter-spacing: .025em; }
.location span { font-size: 12px; }
#menu { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: linear-gradient(0deg, #13100ae3, #211c1466 70%, #16130c33); }
.panel { width: min(780px, 100%); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(6px, 1.3vw, 20px); width: max-content; max-width: 100%; margin: auto; }
.choice { display: block; width: min(42vw, 350px, calc((100dvh - 130px) * .8)); aspect-ratio: 4 / 5; overflow: hidden; border: 0; padding: 0; border-radius: clamp(5px, 1vw, 12px); outline: 1px solid #a46985; background: #182033; box-shadow: 0 8px 26px #000a; cursor: pointer; }
.choice img { display: block; width: 100%; height: 100%; object-fit: cover; }
.choice:disabled { cursor: progress; opacity: .62; }
.choice:not(:disabled):hover { filter: brightness(1.12); }
.choice:focus-visible { outline: 2px solid white; outline-offset: 3px; }
#status { width: max-content; max-width: 100%; margin: 14px auto 0; padding: 7px 10px; border-radius: 5px; background: #1a1711ea; font-size: 13px; color: #e6c9a3; }
.utility { position: absolute; border: 1px solid #d8a56585; color: #f7eee0; background: #1a1711ea; padding: 9px 13px; border-radius: 5px; font-size: 13px; }
#switch { top: 22px; right: 25px; }
#resume { top: 50%; left: 50%; transform: translate(-50%, -50%); }
#controls { display: flex; flex-wrap: wrap; gap: 9px 16px; position: absolute; bottom: 18px; left: 25px; border: 1px solid #d8a56548; border-radius: 5px; background: #1a1711e6; padding: 8px 10px; font-size: 11px; pointer-events: none; }
kbd { display: inline-block; margin-right: 3px; padding: 2px 4px; border: 1px solid #b78d5c80; border-radius: 3px; color: #ffcc8d; }
#crosshair { position: absolute; top: 50%; left: 50%; width: 3px; height: 3px; background: #ffecd3bb; border-radius: 50%; pointer-events: none; }
@media (max-width: 480px) { .location { left: 14px; } #switch { right: 14px; } #exit { left: 14px; } #controls { left: 14px; } }

#exit { top: 72px; left: 26px; z-index: 1; text-decoration: none; }
@media (max-width: 480px) { #exit { left: 14px; } }
