@font-face{font-family:Yi;src:url('/fonts/yi-sun-sin-dotum-m.ttf')}@font-face{font-family:Yi;src:url('/fonts/yi-sun-sin-dotum-b.ttf');font-weight:700}*{box-sizing:border-box}body{margin:0;background:#101419;color:#e9ece8;font:16px/1.6 Yi,system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;background:#222c33;border:1px solid #52606b;border-radius:6px;padding:9px 16px;min-height:44px}button:disabled{opacity:.4;cursor:default}button:hover:not(:disabled){background:#34444e}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:3px solid #f4c575;outline-offset:3px}a{color:inherit;text-decoration:none}.game-header{max-width:1240px;margin:auto;padding:17px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #35404a}.brand{font-size:24px;letter-spacing:1px;font-weight:700}.brand span{font-size:14px;color:#a9b4bd;letter-spacing:0;margin-left:18px;font-weight:400}nav{display:flex;gap:18px}header nav a{font-size:14px;color:#9faeb7}header nav a[aria-current]{color:#f4c575}main{max-width:1240px;margin:auto;padding:20px 28px}.game-shell{border:1px solid #3a454f;border-radius:12px;overflow:hidden;background:#182027;box-shadow:0 24px 80px #0005}.game-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 22px;gap:12px;background:#1b242c}.game-toolbar h1{font-size:20px;margin:0}.meters{display:flex;align-items:center;gap:20px}.meters strong{font-size:26px;font-variant-numeric:tabular-nums;color:#f4c575;min-width:45px}.meters #floor{white-space:nowrap}.meters button{font-size:14px;padding:6px 12px}.stage{position:relative;background:#15181b;aspect-ratio:1200/660;isolation:isolate;overflow:hidden}#scene,#scene svg{width:100%;height:100%;display:block}#scene svg{user-select:none}#scene [data-object]{cursor:pointer;outline:none}#scene [data-object]:focus-visible{filter:drop-shadow(0 0 6px #f4c575)}.veil{position:absolute;inset:0;background:#070e15a8;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px);z-index:4}.intro-card{width:min(510px,100%);text-align:center;padding:28px 32px;background:#101a22ed;border:1px solid #65717a;border-radius:10px;box-shadow:0 20px 60px #0008}.intro-card h2{font-size:30px;line-height:1.4;margin:12px 0}.intro-card p{color:#bac6ce;margin:12px 0 18px}.hotel-name{font-size:14px;letter-spacing:3px;color:#f4c575}.primary{background:#f4c575;color:#182028;border-color:#f4c575;font-weight:700;min-width:190px}.primary:hover:not(:disabled){background:#ffe0a8}.intro-card small{display:block;margin-top:15px;color:#a8b7c2;font-size:14px}#result button{margin:5px}#result-score{font-size:28px!important;color:#f4c575!important}.game-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 22px}.game-controls p{margin:0;color:#d4dce0}.game-controls>div{display:flex;gap:8px;flex-shrink:0}.floor-progress{display:flex;gap:6px;padding:0 22px 16px}.floor-progress i{height:4px;flex:1;background:#3a4954;border-radius:2px}.floor-progress i.done{background:#f4c575}#feedback{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);padding:9px 20px;border-radius:6px;background:#111e29ed;color:#ffdf9e;pointer-events:none;white-space:nowrap;font-size:18px}#feedback:empty{display:none}#flash{position:absolute;inset:0;pointer-events:none;z-index:2}#flash.wrong{box-shadow:inset 0 0 90px 15px #e2594c88}#flash.correct{box-shadow:inset 0 0 90px 15px #f4c57566}.below{display:flex;justify-content:space-between;align-items:start;gap:40px;margin:28px 0}.below h2{font-size:18px;margin:0 0 8px}.below p{margin:0;color:#a8b5bf;max-width:700px}.other-games{flex-direction:column;gap:9px;white-space:nowrap}.other-games a{padding:9px 16px;border:1px solid #42505c;border-radius:6px;font-size:14px}footer{max-width:1240px;margin:0 auto;padding:20px 28px;display:flex;gap:20px;flex-wrap:wrap;color:#a4b1ba;font-size:14px;border-top:1px solid #33404a}footer span{margin-left:auto}[hidden]{display:none!important}@media(max-width:700px){.game-header{padding:14px 16px}.brand{font-size:20px}.brand span{display:none}header nav{gap:12px}main{padding:12px 10px}.game-toolbar{padding:10px 12px}.game-toolbar h1{font-size:16px}.meters{gap:10px}.meters strong{font-size:22px}.meters #floor{font-size:14px}.meters button{padding:5px 7px}.stage{aspect-ratio:4/5}#scene svg{width:165%;max-width:none;margin-left:-32.5%}.intro-card{padding:20px 16px}.intro-card h2{font-size:25px}.intro-card p{font-size:15px}.veil{padding:12px}.game-controls{padding:12px;flex-direction:column;align-items:stretch;gap:10px}.game-controls p{font-size:15px;text-align:center;min-height:24px}.game-controls>div{justify-content:center}.floor-progress{padding:0 12px 14px}.below{display:block;margin:22px 6px}.other-games{flex-direction:row;flex-wrap:wrap;margin-top:20px;gap:10px}footer{padding:20px 16px;gap:14px}#feedback{font-size:16px;max-width:95%;white-space:normal;text-align:center}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:700px){.stage{aspect-ratio:1/1}#scene svg{width:100%;height:100%;margin-left:0}}
/* Photographic scenes use their entire frame on phones, so no target is cropped. */
.stage{aspect-ratio:1672/941}#scene svg{width:100%;height:100%;margin:0}.volume-control{display:flex;align-items:center;gap:8px;font-size:14px;color:#c4cdd4}.volume-control input{width:80px;accent-color:#f4c575;cursor:pointer;min-height:34px}#round-label{font-size:14px;color:#b5c1ca;white-space:nowrap}#next-status{color:#f4c575;margin:14px 0 7px;font-variant-numeric:tabular-nums}#auto-next{font-size:14px;background:transparent}.stage #scene [role=button]:focus-visible rect{stroke:#f4c575;stroke-width:4}.game-toolbar{flex-wrap:wrap}.meters{gap:14px}#flash.correct{animation:photo-impact .4s ease-out}#flash.wrong{animation:photo-impact .55s ease-out}@keyframes photo-impact{0%{background:#aa271933;box-shadow:inset 0 0 120px #a24d2688}100%{background:transparent}}@media(max-width:700px){.stage{aspect-ratio:1672/941;min-height:0}#scene svg{width:100%;height:100%;margin:0}.game-toolbar h1{font-size:17px}.game-toolbar{gap:4px}.meters{width:100%;justify-content:space-between;gap:7px}.meters strong{font-size:24px}.volume-control{gap:4px}.volume-control span{font-size:13px}.volume-control input{width:65px}.intro-card{padding:12px 16px}.intro-card h2{font-size:19px;margin:6px 0}.intro-card p{font-size:14px;margin:6px 0}.intro-card small{margin-top:6px;font-size:12px}.hotel-name{font-size:12px}.veil{padding:8px}.intro-card .primary{min-height:40px;padding:7px 12px}#result .intro-card h2{font-size:20px}#result .intro-card p{margin:4px 0;font-size:14px}#result-score{font-size:21px!important}.stage:has(#result:not([hidden])){min-height:340px}.stage:has(#result:not([hidden])) #scene svg{object-fit:cover}.intro-card #auto-next{padding:5px 12px;min-height:36px}#result button{margin:3px;font-size:14px;min-height:39px}#feedback{font-size:14px;padding:5px 10px;bottom:8px}}
@media(max-width:700px){.stage:has(#intro:not([hidden])){min-height:260px}}
.difficulty-label{display:block;font-size:14px;color:#f4c575;margin-top:2px}
