.life-hud{position:absolute;right:24px;top:100px;width:188px;padding:12px;border:1px solid #d9c47a;border-radius:12px;background:#082c4eea;color:#fff5cb;z-index:4;display:grid;gap:7px;font:12px/1.35 'Trebuchet MS',sans-serif}.life-hud label{font-weight:700}.life-hud meter{width:100%;height:12px;accent-color:#9dd49a}.life-hud .hub-action{width:100%}#life-dialog{color:#fff2ce;background:#103754;border:1px solid #e5cb7d;border-radius:15px;width:min(680px,calc(100vw - 32px));max-height:calc(100svh - 64px);padding:24px;box-sizing:border-box}#life-dialog::backdrop{background:#01162b9c}#life-close{float:right;font-size:22px;color:#fff2ce;background:transparent;border:0;cursor:pointer}#life-dialog h2{font:28px Georgia;margin:0 0 12px}#life-dialog h3{font:20px Georgia;margin:0 0 12px}#life-content{max-height:calc(100svh - 270px);overflow:auto;padding-right:8px;line-height:1.5}#life-content section{border-top:1px solid #d9c47a55;padding:18px 0}#life-content section>.hub-action{margin:4px}#life-result{min-height:1.5em;color:#ffe69b}.life-action{display:flex;gap:8px;margin:9px 0}.life-action>button:first-child{flex:1;text-align:left}.life-action>button:last-child{white-space:nowrap}.life-bed{padding:9px 0;border-bottom:1px solid #d9c47a22}.life-current{background:#315d65;padding:10px;border-radius:8px}.home-toolbar{display:flex;flex-wrap:wrap;gap:12px;position:absolute;left:24px;bottom:24px;z-index:4;padding:14px;border:1px solid #d9c47a;border-radius:12px;background:#082c4eea;color:#fff5cb}.home-toolbar a{color:#ffe8a5}.home-caption{position:absolute;left:24px;top:24px;color:#fff5cb;background:#082c4eea;padding:16px;border:1px solid #d9c47a;border-radius:12px;max-width:280px}.home-caption h1{font:24px Georgia;margin:0 0 8px}.home-caption p{margin:0;font:13px/1.5 'Trebuchet MS',sans-serif}
#routine-content section>a{color:#ffe09b}
#escort-dialog{box-sizing:border-box;width:min(660px,calc(100vw - 32px));max-height:calc(100svh - 48px);overflow:auto;padding:24px;color:#fff2ce;background:#103754;border:1px solid #e5cb7d;border-radius:15px;box-shadow:0 10px 40px #00152788}#escort-dialog::backdrop{background:#01162b9c}#escort-close{float:right;font-size:22px;color:inherit;background:transparent;border:0}#escort-dialog h2{font:28px Georgia;margin:0 0 12px}#escort-dialog h3{font:22px Georgia;margin:18px 0 10px}#escort-dialog label{display:block;margin:12px 0 6px}#escort-guide,#escort-lesson{width:100%;padding:10px;margin-bottom:10px;font:inherit;color:#fff2ce;background:#082c4e;border:1px solid #ad985a;border-radius:7px}.escort-actions{display:flex;flex-wrap:wrap;gap:8px}#escort-dialog p,#escort-dialog small{line-height:1.55}#escort-note{color:#ffe59b;min-height:1.5em}#escort-dialog .hub-action:disabled{opacity:.55;cursor:default}#escort-progress[hidden],#escort-dialog button[hidden]{display:none}@media(max-width:700px){#escort-dialog{padding:18px;max-height:calc(100svh - 24px)}.escort-actions>.hub-action{flex:1 1 100%;white-space:normal}}
.coach-mentor{font-size:12px;color:#efdda5}.coach-reason{padding:12px;border-left:3px solid #e5cb7d;background:#244b60;border-radius:6px;line-height:1.55}
#game-guide{box-sizing:border-box;width:min(660px,calc(100vw - 32px));max-height:calc(100svh - 48px);overflow:auto;padding:24px;color:#fff2ce;background:#103754;border:1px solid #e5cb7d;border-radius:15px;box-shadow:0 10px 40px #00152788}#game-guide::backdrop{background:#01162b9c}#guide-close{float:right;font-size:22px;color:inherit;background:transparent;border:0}#game-guide h2{font:28px Georgia;margin:0 0 12px}#game-guide h3{font:22px Georgia;margin:20px 0 10px}#game-guide label{display:block;margin:14px 0 6px}#guide-topic{display:block;width:100%;max-width:100%;padding:10px;font:inherit;color:#fff2ce;background:#082c4e;border:1px solid #ad985a;border-radius:7px}#guide-body li{margin:12px 0;padding-left:4px;line-height:1.6}.guide-actions{display:flex;flex-wrap:wrap;gap:8px}#guide-note{font-size:12px;line-height:1.5;color:#efdda5}#game-guide .hub-action:disabled{opacity:.55;cursor:default}@media(max-width:700px){#game-guide{padding:18px;max-height:calc(100svh - 24px)}.guide-actions>.hub-action{flex:1 1 100%;white-space:normal}}
@media(max-width:700px){.community-home-page .life-hud{top:auto;bottom:108px;right:16px}.community-home-page .touch-pad{bottom:108px;left:16px}}
@media(max-width:700px){.life-hud{right:16px;top:230px;width:130px;padding:10px;font-size:11px}.life-hud .hub-action{padding:8px;font-size:11px}#life-dialog{padding:18px;max-height:calc(100svh - 32px)}#life-content{max-height:calc(100svh - 235px)}.life-action{flex-wrap:wrap}.life-action>button:first-child{min-width:150px}.home-toolbar{left:16px;right:16px;bottom:16px;font-size:12px}.home-caption{left:16px;top:16px;max-width:180px}}
@media(max-width:700px){.community-home-page .life-hud{top:228px;bottom:auto}.community-home-page .touch-pad{bottom:230px}.community-home-page .home-toolbar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px;font-size:11px}.community-home-page .home-toolbar .hub-action{padding:9px 5px;font-size:11px}.community-home-page #door-hint,.community-home-page .home-toolbar>span:last-child{grid-column:1/-1}.community-home-page .home-toolbar>a{grid-column:1/-1}}
#resource-actions{position:absolute;left:50%;bottom:128px;transform:translateX(-50%);width:min(340px,calc(100vw - 32px));max-height:46vh;overflow:auto;padding:18px;border:1px solid #e3c783;border-radius:12px;background:#0c315cf5;color:#fff4d2;z-index:8;box-shadow:0 8px 30px #00152b88}#resource-actions[hidden],#work-progress[hidden]{display:none}#resource-actions h2{font:22px Georgia;margin:0 25px 10px 0}#resource-actions p{font-size:12px;line-height:1.5}#resource-close{float:right;background:transparent;border:0;color:#ffe391;font-size:22px}#resource-buttons{display:flex;flex-wrap:wrap;gap:8px}#resource-buttons button{flex:1 1 130px}#resource-buttons button:disabled{opacity:.5}#resource-status{color:#ffe391;margin-bottom:0}#work-progress{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);width:min(360px,calc(100vw - 32px));z-index:7;padding:12px 16px;border:1px solid #e3c783;border-radius:10px;background:#0a2d50f2;color:#fff4d2;box-shadow:0 6px 24px #00152b66;font-size:12px}.work-heading{display:flex;align-items:center;gap:9px}.work-heading strong{flex:1}#work-icon{font-size:21px}#work-icon.working{animation:work-swing .6s ease-in-out infinite alternate;transform-origin:center bottom}#work-cancel{border:1px solid #bba871;border-radius:5px;color:#fff4d2;background:#1a4963;padding:4px 8px}#work-meter{width:100%;height:12px;accent-color:#67d4b8;margin:7px 0}#work-time{font-size:11px;color:#d1e3e8}#world:has(#work-progress:not([hidden])) .walk-note{display:none}@keyframes work-swing{from{transform:rotate(-15deg)}to{transform:rotate(15deg)}}@media(max-width:700px){#resource-actions{bottom:180px;max-height:43vh;padding:14px}#work-progress{bottom:75px}}@media(prefers-reduced-motion:reduce){#work-icon.working{animation:none}}
@media(max-width:700px){#world:has(#hub-chat:not([hidden])) #work-progress{bottom:calc(min(48dvh,340px) + 92px)}}

#routine-dialog{box-sizing:border-box;width:min(600px,calc(100vw - 28px));max-height:calc(100svh - 32px);overflow:auto;padding:24px}#routine-content{max-height:none;overflow:visible}.bot-card h3{margin:0 0 9px!important;font:21px Georgia!important}.bot-hero{display:flex;align-items:center;gap:18px;padding:12px 0 18px}.bot-hero>div:last-child{flex:1;min-width:0}.bot-hero small{color:#e4cb88;font-size:10px;letter-spacing:.12em}.bot-hero h3{font-size:27px!important;margin:5px 0 8px!important}.bot-hero p{margin:0;color:#c7e5e9;line-height:1.5}#bot-portrait{width:82px;height:112px;flex:0 0 82px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#476980,#0b2b49 70%);border:1px solid #d6bc7566;border-radius:14px;overflow:hidden}.bot-portrait{display:block;width:80px;height:108px;object-fit:contain}.bot-needs{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:14px!important;background:#082a48;border-radius:9px;border:1px solid #678c9a44!important}.bot-needs label{display:block!important;font-size:12px!important;margin:0 0 5px!important}.bot-needs meter{width:100%;height:13px;accent-color:#80c9ad}.bot-help{padding:18px 0!important;border:0!important}#bot-help-status{line-height:1.5;font-size:13px;color:#f5dda1}.bot-help-actions{display:flex;flex-wrap:wrap;gap:9px}.bot-help-actions button{flex:1 1 180px;font-size:12px;padding:12px}.bot-help-actions button:disabled{opacity:.5;cursor:default}.bot-help-actions button[hidden]{display:none}.bot-help-explain{font-size:12px;line-height:1.6;color:#bcd8e6}#bot-help-result{color:#ffe391;font-size:12px;line-height:1.5}#bot-help-result:empty{display:none}#bot-more{border-top:1px solid #d2b97655;padding:13px 0}#bot-more summary{cursor:pointer;color:#ffe391;font-size:13px;padding:4px 0}#bot-details{font-size:12px;line-height:1.55}#bot-details section{padding:15px 0}#bot-details a{color:#ffe391}#routine-ask{margin-top:12px}@media(max-width:700px){#routine-dialog{padding:18px}.bot-hero{gap:13px}.bot-hero h3{font-size:23px!important}.bot-help-actions button{flex-basis:100%}.bot-needs{gap:12px}}

#town-view-open{position:absolute;z-index:6;right:24px;top:24px;font-size:12px}#town-view-menu{position:absolute;z-index:9;right:24px;top:70px;width:min(330px,calc(100vw - 48px));box-sizing:border-box;padding:18px;border:1px solid #dfc583;border-radius:12px;background:#0c315cf7;box-shadow:0 10px 35px #00152888;color:#fff2ce}#town-view-menu[hidden]{display:none}#town-view-menu h2{font:23px Georgia;margin:0 0 14px}#town-view-menu h3{font:18px Georgia;margin:15px 0 8px}#town-view-menu .view-presets,#town-place-buttons{display:flex;flex-wrap:wrap;gap:8px}#town-view-menu button{font-size:11px;flex:1 1 125px}#town-view-menu label{display:block;margin:14px 0;font-size:12px}#town-view-menu input{width:100%;display:block;margin-top:8px;accent-color:#75c8cc}#town-panels-toggle{width:100%;margin-top:14px}#town-weather{position:absolute;z-index:3;left:50%;top:20px;transform:translateX(-50%);background:#0c315ccc;border:1px solid #e4c77a77;color:#fff2ce;border-radius:20px;padding:8px 14px;font-size:11px;white-space:nowrap;pointer-events:none}#world.immersive-town>.place,#world.immersive-town>.hub-presence,#world.immersive-town>.life-hud,#world.immersive-town>.mini{display:none}.camera-tools{top:73px}.life-hud{top:132px}#work-icon{font-size:28px}@media(max-width:700px){#town-view-open{right:12px;top:12px;padding:8px;font-size:11px}#town-view-menu{right:12px;top:54px;width:min(330px,calc(100vw - 24px));max-height:70svh;overflow:auto}#town-weather{top:63px;font-size:9px;padding:6px 9px;left:auto;right:12px;transform:none}.camera-tools{top:100px}.life-hud{top:256px}}
