/* Reserved HUD zones: top status, contextual tools at bottom, map at the side. */
.app-header.game-hud{inset:12px 16px auto;height:58px;gap:12px;align-items:flex-start}
.hud-actions{display:flex;align-items:center;gap:8px;margin-left:auto;pointer-events:auto}
.app-header.game-hud .hud-actions .header-sound,.app-header.game-hud .hud-actions .hud-settings{position:static;margin:0;width:38px;height:40px;flex-shrink:0;background:#f5efdbed;border:1px solid #aab397;box-shadow:2px 2px 0 #83927444}
.online-indicator{display:flex;align-items:center;gap:7px;padding:7px 10px;min-width:86px;min-height:40px;background:#f6efdbed;border:1px solid #b6bc9d;font:10px var(--pixel-type);color:#6f8265}
.online-indicator>i{width:6px;height:6px;background:#9bb68a;box-shadow:0 0 0 2px #d8e1bf}.online-indicator>span{display:block;white-space:nowrap}.online-indicator b{font-size:14px}.online-indicator small{display:block;font-size:7px;color:#9b9d86;margin-top:4px}
.app-header.game-hud .zone-title{display:block;position:absolute;top:0;left:50%;right:auto;transform:translateX(-50%);max-width:180px;text-align:center;margin:0;padding:0;background:none;border:0;box-shadow:none}.app-header.game-hud .zone-title>span{font-size:19px}.app-header.game-hud .zone-title small{font-size:8px}
.village-time-hud{top:86px;right:16px;left:auto;min-width:190px;width:190px;padding:10px 12px}.village-time-hud>b{font-size:19px}.village-time-hud>span{font-size:8px}.village-time-hud>div{margin-top:9px;padding-top:8px}.village-time-hud>div small{font-size:8px}
.daily-note{top:88px;left:16px;right:auto;bottom:auto;max-width:215px;min-width:0;width:215px;padding:9px 11px}.daily-note b{font-size:10px;line-height:1.7}.daily-note small{font-size:8px}
.game-minimap{position:fixed;z-index:5;right:16px;top:235px;width:176px;padding:7px;background:#f4eed9ec;border:2px solid #b5b49c;box-shadow:3px 3px 0 #8d879933;font-family:var(--pixel-type);color:#838570}
.game-minimap summary{cursor:pointer;font-size:10px;min-height:25px;display:flex;align-items:center;justify-content:space-between;list-style:none}.game-minimap summary::-webkit-details-marker{display:none}.game-minimap summary span{transition:transform .15s}.game-minimap:not([open]) summary span{transform:rotate(180deg)}
.game-minimap canvas{display:block;width:100%;height:auto;image-rendering:pixelated;cursor:pointer}.game-minimap>small{display:block;text-align:center;font-size:7px;margin:5px 0 1px}.game-minimap:not([open])>canvas,.game-minimap:not([open])>small{display:none}
.is-arriving .game-minimap,.is-arriving .online-indicator{visibility:hidden}
.settings-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 24px}.settings-menu-item{min-height:62px;border:2px solid #b9a7bf;background:#f8efda;color:#8d7594;font:13px var(--pixel-type);box-shadow:3px 3px 0 #ddcedb;cursor:pointer}.settings-menu-item:hover{background:#e9dded}
.home-production-link{font:9px var(--pixel-type);color:#8d7a92;border:1px solid #c5b2c7;background:#fff0d8;padding:5px 7px;white-space:nowrap;cursor:pointer}
.production-identity{display:flex;gap:18px;align-items:center;padding:20px;background:#eee8d7;border:1px solid #cdbcc6}.production-identity>span{font-size:45px}.production-identity small{font-size:10px;color:#a08b99}.production-identity h3{font-size:21px!important;margin:7px 0}.production-identity p{font-size:12px;margin:0;line-height:1.8}.home-production h4{margin:24px 0 10px;font-size:13px}.production-materials{font-size:17px;color:#8d7696}.production-recipe{padding:14px;background:#e3e8cf;font-size:14px}.production-crops{display:flex;flex-wrap:wrap;gap:10px}.production-crops article{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:110px;padding:15px;background:#fff4df;border:1px solid #d2bccf}.production-crops article>span{font-size:30px}.production-crops b{font-size:14px}.production-crops small,.production-crops em{font-size:10px;font-style:normal}.production-actions{display:flex;gap:10px;margin-top:25px}
@media(max-width:700px){
 .app-header.game-hud{top:calc(10px + env(safe-area-inset-top));left:10px;right:10px;height:72px;gap:6px}
 .game-hud .player-bar{width:calc(100% - 155px);max-width:none;min-width:0;padding:6px;gap:4px;min-height:44px}.game-hud .profile-pill{min-width:0;gap:5px;flex:1}.game-hud .tiny-avatar{width:25px;height:29px;flex-shrink:0}.game-hud .player-info{min-width:0}.game-hud .player-info b{font-size:10px;max-width:58px}.game-hud .player-info small{font-size:7px}.game-hud .xp-track{width:40px}.game-hud .currency{padding-left:3px;gap:2px;border:0}.game-hud .currency b{font-size:10px}.game-hud .currency svg,.game-hud .currency>span{display:none}
 .hud-actions{gap:5px}.app-header.game-hud .hud-actions .header-sound{width:28px;height:34px}.app-header.game-hud .hud-actions .hud-settings{width:34px;height:34px}.online-indicator{min-width:70px;min-height:34px;padding:5px 6px;gap:5px;font-size:8px}.online-indicator b{font-size:11px}.online-indicator small{font-size:6px;margin-top:3px}.online-indicator>i{width:4px;height:4px}
 .app-header.game-hud .zone-title{top:54px;left:0;right:auto;transform:none;max-width:calc(100% - 6px);text-align:left}.app-header.game-hud .zone-title>span{font-size:13px}.app-header.game-hud .zone-title small{display:none}
 .village-time-hud{top:calc(89px + env(safe-area-inset-top));left:10px;right:10px;width:auto;min-width:0;min-height:40px;padding:7px 9px;display:grid;grid-template-columns:65px 1fr;align-items:center;column-gap:6px}.village-time-hud>b{font-size:13px}.village-time-hud>span{display:none}.village-time-hud>small{font-size:7px;margin:2px 0 0;grid-column:1}.village-time-hud>div{grid-column:2;grid-row:1/3;margin:0;padding:0;display:flex;align-items:center;justify-content:flex-end;gap:8px;border:0}.village-time-hud>div small{font-size:7px;max-width:100px;line-height:1.6}.village-time-hud>div strong{font-size:11px;white-space:nowrap}
 .daily-note{top:calc(146px + env(safe-area-inset-top));left:10px;right:auto;width:calc(100vw - 157px);max-width:190px;min-width:0;padding:7px 8px;gap:5px}.daily-note b{font-size:8px;line-height:1.7}.daily-note small{font-size:6px}.daily-note .daily-icon{font-size:16px}.daily-note #goal-count{font-size:7px}
 .game-minimap{top:calc(146px + env(safe-area-inset-top));right:10px;width:126px;padding:5px}.game-minimap summary{font-size:9px;min-height:24px}.game-minimap>small{font-size:6px}.has-farm-context .game-minimap,.has-farm-context .daily-note{display:none}
 .joystick{left:18px;bottom:calc(24px + env(safe-area-inset-bottom));width:106px;height:106px}.interaction-hud{right:12px;bottom:calc(42px + env(safe-area-inset-bottom));max-width:calc(100vw - 146px)}.interact-button{min-height:52px;padding:9px 10px;font-size:9px;gap:6px}.interact-button span{max-width:145px}
 .farm-hud{left:10px;bottom:calc(207px + env(safe-area-inset-bottom));width:210px;padding:9px}.farm-seeds{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.farm-seed-tool{padding:5px 3px}.farm-seed-tool>span{font-size:15px}.farm-seed-tool b{font-size:8px}.farm-seed-tool small{font-size:7px}.farm-hud>p{font-size:8px;line-height:1.7;margin:7px 0;min-height:0}.farm-hud>small{font-size:7px}
 .work-progress{left:auto;right:12px;bottom:calc(116px + env(safe-area-inset-bottom));transform:none;width:calc(100vw - 151px);max-width:220px}.work-progress header{font-size:9px}.work-progress small{font-size:7px}.walk-status{left:auto;right:12px;bottom:calc(114px + env(safe-area-inset-bottom));transform:none;max-width:calc(100vw - 150px);font-size:8px;padding:7px}.walk-status button{font-size:7px}
 .settings-menu{gap:7px;margin-bottom:20px}.settings-menu-item{min-height:57px;font-size:11px}.production-identity{padding:13px;gap:12px}.production-identity>span{font-size:32px}.production-identity h3{font-size:17px!important}.production-identity p{font-size:10px}.production-crops{gap:7px}.production-crops article{min-width:85px;padding:11px 8px;flex:1}.production-crops small{font-size:8px}.production-actions button{font-size:10px}.home-production-link{font-size:8px;padding:4px 5px}
}
@media(max-height:650px) and (max-width:700px){.farm-hud{bottom:196px}.farm-hud>small{display:none}.daily-note{max-height:49px;overflow:hidden}}
@media(max-height:500px) and (orientation:landscape){.village-time-hud{top:68px;width:170px;left:auto}.daily-note{display:none}.game-minimap{top:82px;left:16px;right:auto;width:115px}.has-farm-context .game-minimap{display:none}.game-minimap>small{display:none}.farm-hud{bottom:135px}.work-progress{bottom:108px}}

#markers[hidden]{display:none!important}
/* The room contents enlarge independently of the dialog. */
.room-zoom{position:absolute;right:9px;top:9px;z-index:2;display:flex;align-items:center;gap:6px;padding:5px;background:#fff2dcf2;border:1px solid #c8b9bd;color:#887583;font:10px var(--pixel-type)}
.room-zoom button{min-width:27px;min-height:27px}.room-zoom span{min-width:34px;text-align:center}.mini-room-stage .pixel-room{touch-action:none;cursor:grab}.is-decorating .pixel-room{cursor:crosshair}
.mini-book-layout,.mini-letter{min-height:0}.mini-letter{display:flex;flex-direction:column;overflow:hidden}.mini-guestbook-list{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;scrollbar-width:thin}.mini-guestbook-list .guestbook-entry{padding:15px 12px;border-bottom:1px dashed #cbbbc1;background:transparent;min-height:0}.mini-guestbook-list .guestbook-entry p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:12px;margin:10px 0}.mini-guestbook-list .guestbook-entry header{display:flex;gap:9px;align-items:center}.mini-guestbook-list .guestbook-entry time{font-size:9px;margin-left:auto}.mini-guestbook-list .guestbook-entry .tiny-button{font-size:9px}
.settings-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.hud-settings[data-unread="true"]::after{content:'';position:absolute;top:3px;right:3px;width:7px;height:7px;background:#c88b9c;box-shadow:0 0 0 2px #fff0d8}
.home-notices{max-width:720px;margin:auto}.notice-tabs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-bottom:2px solid #cab9c4;padding-bottom:13px}.notice-tabs>button{font:12px var(--pixel-type);border:1px solid #c7b6be;background:#f7edd9;color:#8d7b89;padding:10px;cursor:pointer}.notice-tabs>button[aria-pressed="true"]{background:#dfe7d4;border-color:#a8b698;color:#798c6d}.notice-thread{display:grid;grid-template-columns:35px minmax(0,1fr);gap:13px;padding:20px 0;border-bottom:1px dashed #cbbbc4}.notice-avatar{width:32px;height:32px;display:grid;place-items:center;font:13px var(--pixel-type);color:#897580;background:#dfdfc8;box-shadow:2px 2px 0 #c4b6b8}.notice-thread>div{border-left:2px solid #ddd0d6;padding-left:13px}.notice-thread header{display:flex;align-items:center;gap:10px;font-size:12px}.notice-thread time{font-size:9px;color:#ac99a1;margin-left:auto}.notice-thread header i{width:6px;height:6px;background:#c48b9b}.notice-thread ul{list-style:none;padding:0;margin:12px 0 0}.notice-thread li{font-size:12px;line-height:2.1;color:#97838e}.notice-thread li>span{margin-right:9px;color:#9eac8e}.notice-empty{text-align:center;padding:50px 12px;color:#a09099}.notice-empty>span{font-size:30px}.notice-empty p{font-size:13px}.notice-empty small{font-size:10px;line-height:1.8}
@media(max-width:600px){.room-zoom{font-size:8px;top:5px;right:5px;gap:3px;padding:3px}.room-zoom button{min-width:25px;min-height:28px}.mini-book-layout{grid-template-columns:1fr!important;grid-template-rows:minmax(90px,1fr) auto!important;gap:8px}.mini-guestbook-list .guestbook-entry{padding:10px 6px}.mini-guestbook-list .guestbook-entry p{font-size:10px}.mini-compose{padding:9px}.mini-compose p{font-size:9px;line-height:1.6}.mini-compose textarea{min-height:54px;max-height:70px}.mini-compose form{gap:5px}.mini-compose small{font-size:7px}.notice-tabs>button{font-size:10px;padding:8px}.notice-thread{gap:8px;grid-template-columns:28px minmax(0,1fr)}.notice-avatar{width:27px;height:27px}.notice-thread li{font-size:10px}.notice-thread time{font-size:8px}}

.app-header.game-hud .hud-actions .hud-settings{position:relative}
