/* Ten-house overhead neighborhood. Map geometry is shared with street.mjs. */
.game-frame{background:radial-gradient(ellipse at center,#26253a,#101222 78%)}#street-world{inset:auto;min-width:0;isolation:isolate}.street-art{background-image:url('assets/neighborhood.png');background-size:100% 100%;background-position:center}.scene-shade,.game-frame.playing .scene-shade{background:linear-gradient(#10132515,transparent 30%,transparent 75%,#10132525)}.home-screen{background:linear-gradient(#12112422,transparent 55%,#10102088)}.home-character{width:170px;left:17%;bottom:30px}.title-block{top:22px}.title-block h1{font-size:clamp(65px,7vw,103px);text-shadow:0 5px 0 #45213a,0 7px 20px #070914}.tagline{font-size:12px}.home-launch{bottom:29px}.house-choices{position:absolute;inset:0;pointer-events:none}.house.map-house{position:absolute;width:15%!important;height:28%;border-radius:17px;pointer-events:auto;background:transparent;border:1px solid transparent;z-index:3}.house.map-house:focus-visible{outline:2px solid var(--mint);outline-offset:1px}.map-house .house-glow{inset:0;pointer-events:none;border-radius:17px}.map-house:hover .house-glow,.map-house.near .house-glow{background:radial-gradient(ellipse at center,#ffd06a20,transparent 72%);box-shadow:0 0 0 1px #ffda8177,0 0 17px #fba24733}.house-number{position:absolute;left:50%;top:38%;translate:-50% -50%;min-width:23px;height:23px;padding:0 5px;border-radius:6px;background:#21192fe8;color:#fff1ce;border:1px solid #efcf8c99;display:grid;place-items:center;font-size:11px;font-weight:900;box-shadow:0 3px 8px #0005;pointer-events:none}.house.map-house .door-marker{left:50%;top:88%;width:23px;height:23px;font-size:16px;transform:translateX(-50%);background:#332135da;box-shadow:0 0 13px #ffb44b88;animation:none}.south-house .door-marker{top:63%!important}.map-house .house-prize{top:103%;padding:3px 7px;font-size:9px;gap:3px;background:#21182ddd}.map-house .house-prize svg{height:13px;width:13px}.south-house .house-prize{top:91%}.map-house.near .door-marker{background:#ffd58b;color:#3e2636;box-shadow:0 0 19px #ffb44bcc;scale:1.1}.house.map-house.visited{opacity:1;cursor:default}.house.map-house.visited .house-glow{background:linear-gradient(#0f252c12,#0c263b22);box-shadow:none;border:1px dashed #a0cab833}.house.map-house.visited .house-number{border-color:#9ad8b6aa;background:#20352fe8;color:#c9edda}.house.map-house.visited .door-marker{background:#a8e3c5;color:#24443b;box-shadow:0 0 12px #9edbc344;border-color:#ccf5df;font-size:18px;scale:1}.map-house.visited .house-prize{display:flex;color:#c9edda;border-color:#a8e3c566;opacity:1}.house.map-house[data-result="wrong"] .door-marker{color:#64372c;background:#ffc2a2;border-color:#ffd4b4;box-shadow:none}.house.map-house[data-result="thief"] .door-marker{width:31px;height:39px;border-radius:9px;background:#4c2c5a;border-color:#d3a6e3;box-shadow:0 0 14px #b68cdb55}.thief-mark{display:block;width:26px;height:36px;background:url('assets/mummy.png') center/contain no-repeat}.house.map-house[data-result="thief"] .house-number{background:#4c2c5a;border-color:#cba6dc;color:#ebd6f4}.player-character{width:7%;height:auto;aspect-ratio:1;bottom:auto;transform:translate(-50%,-94%);translate:none;scale:1;z-index:8;transition:scale .2s,opacity .2s;min-width:0}.player-character.approaching,.encounter .player-character{translate:0 -4px;scale:.94;opacity:.88}.player-sprite{animation:player-idle 2.8s ease-in-out infinite;filter:drop-shadow(0 4px 3px #0006)}.player-character.walking .player-sprite{animation:map-walk .25s ease-in-out infinite}.player-shadow{bottom:3px;height:7px;left:20%;width:60%;filter:blur(2px)}.door-prompt{bottom:auto;transform:translateX(-50%);font-size:9px;padding:4px 8px;z-index:10;animation:prompt-bob 1.8s ease-in-out infinite;white-space:nowrap;box-shadow:0 2px 0 #9c6b3e,0 4px 9px #0004}.door-prompt:after{top:-3px;bottom:auto;width:6px;height:6px;left:calc(50% - 3px)}.world-host{bottom:auto;width:65px;height:65px;transform:translate(-50%,-90%);z-index:9}.bank-stop{left:4.5%;top:48.5%;bottom:auto;transform:translate(-50%,-50%);width:28px;height:36px;rotate:-5deg;border-width:2px;border-radius:6px;z-index:9}.bank-stop svg{width:18px;height:18px}.bank-stop span{width:16px;height:16px;font-size:10px;right:-6px;top:-7px}.round-pill{font-size:11px;letter-spacing:.5px}#door-label{display:none}.next-prize{min-width:61px;justify-content:center}.map-toggle{pointer-events:auto;position:absolute;right:21px;top:64px;z-index:12;width:34px;height:34px;background:#171729dd;border-color:#decda477;color:#ffdf9e}.map-toggle[aria-pressed="true"]{background:#ffcf82;color:#3d2b38;border-color:#ffe0a6}.map-toggle svg{width:18px;height:18px}.touch-controls{align-items:center;gap:19px;bottom:11px}.d-pad{display:grid;grid-template-columns:repeat(3,34px);grid-template-rows:repeat(2,34px);gap:3px}.touch-controls .d-pad button{width:34px;height:34px;min-height:0;font-size:20px;border-radius:8px;box-shadow:0 2px 0 #0d091c}.d-pad #move-up{grid-column:2;grid-row:1}.d-pad #move-left{grid-column:1;grid-row:2}.d-pad #move-down{grid-column:2;grid-row:2}.d-pad #move-right{grid-column:3;grid-row:2}.touch-controls #enter-house{height:48px;width:81px;margin-top:20px;font-size:11px}.street-bottom{bottom:19px}.control-hint{font-size:9px}.challenge-dialog{bottom:36px}.game-frame.overview .control-hint{display:none}.game-frame.overview .player-character{filter:drop-shadow(0 0 5px #ffe8aa)}
@keyframes map-walk{0%,100%{translate:0 0;rotate:-4deg}50%{translate:0 -3px;rotate:4deg}}
@media(min-width:900px){.map-toggle{display:none}}
@media(max-width:900px){.street-art{background-size:100% 100%;background-position:center}.street-bottom{bottom:91px}.home-character{left:10%;width:165px;bottom:85px}.game-frame.overview .street-bottom{bottom:91px}}
@media(max-width:600px){.street-art{background-size:100% 100%;background-position:center}.title-block{top:40px}.title-block h1{font-size:60px}.tagline{font-size:11px}.home-character{width:170px;left:calc(50% - 85px);bottom:140px}.home-launch{bottom:35px}.player-character{width:7%;height:auto;bottom:auto;min-width:0}.player-character.approaching,.encounter .player-character{translate:0 -4px;scale:.94}.world-host{bottom:auto;width:65px;height:65px}.door-prompt{bottom:auto;font-size:9px;padding:4px 8px}.bank-stop{bottom:auto}.house.map-house{width:15%!important;height:28%;border-radius:17px}.house.map-house .door-marker{width:24px;height:24px;top:88%;font-size:16px}.south-house .door-marker{top:63%!important}.map-house .house-prize{font-size:9px;top:103%}.south-house .house-prize{top:91%}.map-toggle{right:12px;top:62px;width:33px;height:33px}.round-pill{font-size:10px;padding:6px 9px}.street-bottom{bottom:94px}.touch-controls{bottom:12px}.d-pad{grid-template-columns:repeat(3,36px);grid-template-rows:repeat(2,34px);gap:3px}.touch-controls .d-pad button{width:36px;height:34px;font-size:20px}.touch-controls #enter-house{height:47px;width:86px}.house-number{font-size:11px}.challenge-dialog{bottom:23px}.overview .house-number{min-width:17px;height:17px;font-size:8px;padding:0 3px;border-radius:4px}.overview .house.map-house .door-marker{width:16px;height:16px;font-size:11px}.overview .map-house .house-prize{font-size:7px;padding:2px 4px;gap:1px}.overview .map-house .house-prize svg{width:10px;height:10px}.overview .door-prompt{display:none}.overview .house.map-house[data-result="thief"] .door-marker{width:20px;height:25px}.overview .thief-mark{width:17px;height:23px}.overview .house.map-house{border-radius:6px}.overview .map-house .house-glow{border-radius:6px}}
@media(max-height:620px) and (min-width:601px){.player-character{width:7%;height:auto}.home-character{width:130px;bottom:40px}.title-block h1{font-size:75px}.home-launch{bottom:20px}}
@media(prefers-reduced-motion:reduce){.player-character.walking .player-sprite{animation:none!important}}
