/* In-world HUD: the viewport is the playfield, with a small status panel and hotbar. */
.game-hud .tiny-avatar{position:relative;background:#dce6c3!important;overflow:hidden}.game-hud .tiny-avatar::before{content:"";position:absolute;left:calc(50% - 7px);top:5px;width:14px;height:16px;background:#dabb90;border-top:5px solid #6c5c45}.game-hud .tiny-avatar::after{content:"";position:absolute;left:calc(50% - 11px);top:21px;width:22px;height:16px;background:var(--shirt-color,#91a879)}.game-hud .tiny-avatar>i{position:absolute;left:calc(50% - 4px);top:14px;width:2px;height:2px;background:#46523b;box-shadow:6px 0 #46523b;z-index:1}.player-info b{max-width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media(max-width:380px){.app-header.game-hud .zone-title{display:none}}
html,body{width:100%;height:100%;overscroll-behavior:none}body{background:#c6d5ad;user-select:none}.panel-body{user-select:text}.app-header.game-hud{height:auto;inset:20px 23px auto;display:flex;align-items:flex-start;padding:0;background:none}.game-hud .player-bar{padding:10px 13px 10px 10px;border-radius:5px;background:#f1edcfed;border:2px solid #7d9462;box-shadow:inset 0 0 0 2px #faf8e5,0 3px 0 #50673f50;gap:16px}.game-hud .profile-pill{gap:10px;text-align:left;padding:0}.game-hud .tiny-avatar{width:42px;height:44px;border-radius:3px;border:2px solid #72905c;font-size:30px;box-shadow:inset 0 0 0 2px #ffffff33}.game-hud .player-info{display:flex;flex-direction:column;gap:5px;min-width:86px}.player-info b{font-size:13px;font-weight:650;color:#40553b}.game-hud .player-info small{font-size:8px;letter-spacing:.3px;color:#789065}.xp-track{display:block;width:92px;height:5px;background:#c8d4ae;border:1px solid #b9c89c;border-radius:0}.xp-track>i{display:block;height:100%;background:#789a58;width:0}.game-hud .currency{align-self:stretch;border-left:1px solid #c8d0a9;padding-left:13px;gap:5px}.game-hud .currency b{font-size:13px}.game-hud .currency>span{font-size:9px}.zone-title{position:absolute;top:0;left:50%;transform:translateX(-50%);text-align:center;padding:10px 35px;color:#455e3e;border-top:1px solid #78915c77;border-bottom:1px solid #78915c77;background:#d7e1b981;box-shadow:0 0 25px #d7e1b9a0}.zone-title>span{display:block;font-family:var(--heading);font-size:23px;letter-spacing:4px}.zone-title small{display:block;font-size:8px;letter-spacing:1px;margin-top:8px;color:#6a8154}.hud-settings.icon-button{margin-left:auto;margin-right:0;pointer-events:auto;width:33px;height:33px;font-size:20px;background:#f1edcfeb;border:2px solid #80976a;border-radius:3px;box-shadow:inset 0 0 0 2px #faf8e5}.mini-map-hud{position:absolute;right:23px;top:65px;z-index:3;width:180px;background:#e8e7cbea;border:2px solid #81986a;border-radius:3px;padding:7px;box-shadow:inset 0 0 0 2px #f9f6e1,0 3px 0 #50673f40;pointer-events:none}.mini-map-hud>header{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:9px;color:#546b45;padding:3px 3px 6px}.mini-map-hud header small{font-size:7px;color:#7f906e;white-space:nowrap}.mini-map-hud canvas{display:block;width:100%;height:auto;image-rendering:pixelated;border:1px solid #bccba2}.mini-map-hud p{display:flex;align-items:center;gap:5px;font-size:8px;margin:6px 3px 1px;color:#758761}.mini-map-hud p>span{margin-left:auto}.mini-map-hud p i{width:5px;height:5px;background:#f8f8d9;border:1px solid #73885c;border-radius:50%}.daily-note{top:calc(65px + 205px);right:23px;left:auto;bottom:auto;max-width:210px;min-width:180px;border:1px solid #8da477;border-radius:3px;padding:10px 12px;background:#e5e9cbd9;box-shadow:inset 0 0 0 2px #f4f5dc;backdrop-filter:none;gap:9px}.daily-icon{font-size:22px}.daily-note small{font-size:8px;color:#78905f;letter-spacing:.5px}.daily-note b{font-size:10px;color:#50683f}.daily-note>span:last-child{font-size:8px;margin-left:4px;color:#83966d}.save-status{display:none}.save-status.save-warning{display:block;left:22px;bottom:110px;z-index:7;max-width:230px;white-space:normal}.scene-toolbar{top:auto;bottom:23px;left:auto;right:23px;gap:2px;padding:5px;border:1px solid #879c6e;border-radius:4px;background:#edeed1e8;box-shadow:inset 0 0 0 2px #f7f7df;backdrop-filter:none}.scene-toolbar .time-button{font-size:9px;padding:8px}.scene-toolbar .time-button svg{width:13px;height:13px}.scene-toolbar .icon-button{width:27px;height:29px;font-size:18px;border-radius:2px}.scene-toolbar .icon-button svg{width:14px;height:14px}.scene-toolbar .icon-button.selected{background:#c9d7ad;color:#415f32}.scene-toolbar .tool-divider{height:20px;margin:0 3px;background:#c1ceaa}.compass{display:none}.village-dock{bottom:19px;padding:5px 8px;gap:5px;border:2px solid #839569;border-radius:4px;background:#e9e8cce8;box-shadow:inset 0 0 0 2px #f7f6df,0 4px 0 #50673f40;backdrop-filter:none}.dock-button{min-width:66px;position:relative;display:flex;flex-direction:column;gap:6px;padding:11px 10px 9px;border:1px solid #b4c49a;border-radius:3px;background:#f2f1d6;font-size:9px}.dock-button:hover,.dock-button.selected{background:#d8e2be;box-shadow:inset 0 0 0 1px #8ca26f}.dock-button svg{width:22px;height:22px;stroke-width:1.4}.dock-button>kbd{position:absolute;left:4px;top:3px;font-family:var(--utility);font-size:8px;color:#8d9b78}.dock-button>i{right:5px;top:5px}.dock-button>small{position:absolute;right:5px;top:4px}.dock-divider{background:#b6c59b;margin:0 2px}.game-controls-hint{position:absolute;bottom:23px;left:23px;z-index:3;display:flex;flex-direction:column;gap:7px;color:#536c43;font-size:9px;text-shadow:0 1px #e6edcc;pointer-events:none}.game-controls-hint>span:last-child{font-size:8px;color:#7b8c66}.game-controls-hint kbd{display:inline-flex;align-items:center;justify-content:center;border:1px solid #9eb087;border-bottom:2px solid #95aa7c;background:#e8edcfb0;min-width:18px;height:17px;padding:0 3px;margin-right:2px;border-radius:2px;font-family:var(--utility);font-size:8px}.interaction-hud{position:absolute;z-index:4;left:50%;bottom:114px;transform:translateX(-50%)}.interact-button{display:flex;align-items:center;gap:12px;padding:9px 15px 9px 8px;background:#eff0d7f2;border:1px solid #819b67;border-radius:3px;box-shadow:inset 0 0 0 2px #f7f8e4,0 3px 0 #50673f33;color:#49613a;font-size:11px;white-space:nowrap}.interact-button kbd{display:grid;place-items:center;width:28px;height:28px;background:#647f4b;border:1px solid #526c3a;border-bottom:3px solid #4e6938;border-radius:3px;font-size:13px;font-family:var(--utility);color:#f3f6de}.interact-button svg{width:15px;height:15px}.interact-button:disabled{opacity:.45;box-shadow:none}.interact-button:disabled kbd{background:#9aa887;border-color:#8e9d7e}.player-nameplate{position:absolute;left:0;top:0;z-index:2;color:#f7f8e3;white-space:nowrap;font-size:10px;font-weight:600;text-shadow:0 1px 2px #3d5a33,1px 0 #4d6841,-1px 0 #4d6841,0 -1px #4d6841;pointer-events:none;will-change:transform}.markers .marker{background:none;border:none;box-shadow:none;color:#3e5937;padding:3px 6px;font-size:9px;text-shadow:0 1px 2px #eef4d5,0 -1px 2px #eef4d5,1px 0 #eef4d5,-1px 0 #eef4d5;border-radius:0}.markers .marker .marker-dot,.markers .marker::after{display:none}.markers .my-home-marker{color:#536d34;font-weight:700}.markers .hall-marker{color:#78633d}.markers .marker:hover,.markers .marker.is-selected{background:#eff2d8bd;outline:1px solid #9eb185;color:#415e31}.joystick{display:none}.game-dialog::backdrop{background:#24352340;backdrop-filter:blur(2px)}.game-dialog{border:2px solid #8b9e73;border-radius:6px;box-shadow:inset 0 0 0 2px #f6f6df,0 20px 90px #22312040}.game-dialog .panel-header{background:#e9efd9}.toast{bottom:198px;background:#455f38f0;border:1px solid #b8c998;border-radius:3px;box-shadow:inset 0 0 0 2px #6a825244}
@media(max-width:1100px){.scene-toolbar{bottom:114px}.mini-map-hud{width:160px}.daily-note{top:255px;max-width:190px;min-width:160px}.dock-button{min-width:60px}.game-controls-hint{font-size:8px}.game-hud .player-bar{gap:10px}.game-hud .currency{padding-left:10px}}
@media(max-width:700px){.app-header.game-hud{inset:12px 12px auto}.game-hud .player-bar{padding:7px 8px;border-width:1px;gap:9px}.game-hud .tiny-avatar{width:32px;height:35px;font-size:23px;border-width:1px}.game-hud .player-info{min-width:64px;gap:4px}.player-info b{font-size:11px}.game-hud .player-info small{font-size:7px}.xp-track{width:66px;height:4px}.game-hud .currency{padding-left:8px;gap:4px}.game-hud .currency b{font-size:10px}.game-hud .currency>span{display:none}.game-hud .currency svg{width:12px;height:12px}.game-hud .profile-pill{gap:7px}.zone-title{top:0;left:auto;right:42px;transform:none;padding:8px 10px;border:0;background:none;box-shadow:none}.zone-title>span{font-size:15px;letter-spacing:1px}.zone-title small{font-size:6px;letter-spacing:0;margin-top:5px}.hud-settings.icon-button{width:29px;height:29px;font-size:18px;border-width:1px}.mini-map-hud{right:12px;top:77px;width:115px;padding:5px;border-width:1px}.mini-map-hud>header{font-size:8px;padding:2px 2px 4px}.mini-map-hud header small{display:none}.mini-map-hud p{font-size:6px;margin-top:4px}.daily-note{left:12px;right:auto;top:78px;bottom:auto;min-width:0;max-width:calc(100% - 151px);padding:9px 10px;gap:6px;border-radius:3px}.daily-icon{font-size:18px}.daily-note small{font-size:7px}.daily-note b{font-size:8px;line-height:1.6}.daily-note>span:last-child{display:none}.scene-toolbar{right:12px;bottom:91px;padding:3px;gap:0}.scene-toolbar .time-button{font-size:8px;padding:7px 6px;gap:3px}.scene-toolbar .time-button svg{width:11px;height:11px}.scene-toolbar .icon-button{width:24px;height:25px;font-size:15px}.scene-toolbar .icon-button svg{width:12px;height:12px}.scene-toolbar #photo-button{display:none}.scene-toolbar .tool-divider{margin:0 2px}.village-dock{width:auto;max-width:calc(100% - 20px);bottom:max(12px,env(safe-area-inset-bottom));padding:5px;gap:4px;border-width:1px;border-radius:3px}.dock-button{min-width:50px;padding:10px 9px 8px;gap:5px;font-size:8px;flex:0}.dock-button svg{width:20px;height:20px}.dock-button>kbd{font-size:6px;left:3px;top:2px}.dock-divider{margin:0 1px}.game-controls-hint{display:none}.interaction-hud{left:auto;right:15px;bottom:160px;transform:none}.interact-button{min-height:60px;padding:9px 12px;gap:8px;max-width:185px;white-space:normal;font-size:10px;background:#eff0d7ef;border-radius:7px;line-height:1.6}.interact-button kbd{width:33px;height:33px;font-size:15px;flex-shrink:0}.interact-button svg{display:none}.joystick{position:absolute;z-index:5;display:grid;place-items:center;left:24px;bottom:145px;width:112px;height:112px;border-radius:50%;border:2px solid #edf3d8ab;box-shadow:inset 0 0 0 11px #4d6b3d10,0 2px 12px #35562713;background:#dae6c330;touch-action:none;user-select:none;pointer-events:auto}.stick-guide{color:#eff5d7a0;font-size:88px;font-weight:200;line-height:1;pointer-events:none}.joystick-thumb{position:absolute;width:46px;height:46px;border-radius:50%;border:2px solid #f1f5e2c9;background:#8aa66bb8;box-shadow:inset 0 -3px 0 #66884b55,0 3px 9px #44613822;pointer-events:none}.player-nameplate{font-size:9px}.markers .marker{font-size:8px}.toast{bottom:285px;font-size:10px}.save-status.save-warning{bottom:300px;left:12px;font-size:9px;max-width:200px}}
@media(pointer:coarse) and (min-width:701px){.joystick{position:absolute;z-index:5;display:grid;place-items:center;left:35px;bottom:145px;width:115px;height:115px;border-radius:50%;border:2px solid #eef3d8aa;background:#dae6c340;touch-action:none}.stick-guide{font-size:85px;color:#eef4d4aa;pointer-events:none}.joystick-thumb{position:absolute;width:47px;height:47px;border-radius:50%;background:#8da975c0;border:2px solid #eff3df;pointer-events:none}.game-controls-hint{display:none}}
