/* One top-center clock and environment strip; details open only on request. */
.hud-top{display:grid;grid-template-columns:minmax(170px,1fr) minmax(260px,520px) minmax(170px,1fr);align-items:start;gap:18px;z-index:15}
.hud-brand{padding-top:9px}.top-actions{justify-content:flex-end;padding-top:10px}.village-status{position:relative;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:0 4px 20px #0003}
.village-status .day-panel{position:static;left:auto;transform:none;min-width:0;justify-content:center;border:0;background:none;box-shadow:none;padding:9px 14px;gap:12px}.village-status .day-panel .divider{margin-left:14px}.village-status #phase-icon{font-size:22px}.village-status #clock{font-size:19px}
#environment-hud{position:relative;min-width:0;color:#e2e5ce;font-size:11px;border-top:1px solid #afad8133}
.environment-disclosure{pointer-events:auto}.environment-disclosure summary{display:flex;justify-content:center;align-items:center;gap:8px;min-height:30px;padding:6px 9px;cursor:pointer;list-style:none}.environment-disclosure summary::-webkit-details-marker{display:none}.environment-disclosure summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:3px}.environment-chip{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;line-height:1.3;min-width:0}.environment-chip>[aria-hidden]{color:#c9d498}.environment-weather{color:#b7c8c1}.environment-event-chip{color:#f0ce89;border-left:1px solid #cfb97555;padding-left:8px}.environment-event-chip [data-environment="event-label"]{overflow:hidden;text-overflow:ellipsis;max-width:190px}.environment-event-chip small{font-size:10px;font-variant-numeric:tabular-nums;color:#e4d3a8}.environment-expand{font-size:16px;margin-left:1px;color:#c5b576}.environment-disclosure[open] .environment-expand{transform:rotate(180deg)}
.environment-details{position:absolute;top:calc(100% + 7px);left:0;right:0;border:1px solid #b8ad7166;border-radius:7px;padding:14px;background:#14272af7;box-shadow:0 8px 22px #0005;color:#d0dac7;line-height:1.6}.environment-season-effect{margin:0 0 10px;font-size:12px}.environment-timers{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#a9beb0;font-size:10px}.environment-timers strong{font-variant-numeric:tabular-nums;color:#dedbb8;margin-left:4px}.environment-event{border-top:1px solid #d2b96c55;margin-top:10px;padding-top:10px}.environment-event>strong{font-size:12px;color:#efc975}.environment-event p{font-size:12px;line-height:1.6;margin:7px 0}.environment-event small{display:block;font-size:10px;line-height:1.5;color:#b7c0ac}.environment-quiet{font-size:11px;color:#b7c0ac;margin:10px 0 0;border-top:1px solid #a6b39530;padding-top:8px}.environment-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* A small optional guide, with combat warnings independent of its visibility. */
.watch-hud{position:absolute;left:28px;top:115px;width:225px;display:grid;gap:8px;pointer-events:none}.watch-alert{padding:10px 12px;background:#172b2be8;border:1px solid #b29e6555;border-radius:6px}.watch-alert strong{display:block;font-size:11px;color:#e2d3ad}.watch-alert>span{display:block;margin-top:5px;font-size:10px;line-height:1.5;color:#c3cfb9}.watch-hud #siege-health{margin:0;padding:12px;border:1px solid #c77c6377;border-radius:6px;background:#281e1eef}.watch-hud #first-watch-guide{margin:0;padding:5px 9px;border:1px solid #acb37b44;border-radius:6px;background:#172b29e6;max-width:225px}.watch-hud .guide-heading{gap:4px}.watch-hud .guide-toggle{min-height:28px;font-size:11px;letter-spacing:.3px}.watch-hud .guide-toggle strong{font-size:10px}.watch-hud .guide-dismiss{min-width:28px;min-height:28px}.watch-hud .guide-details{max-height:min(440px,55vh);overflow:auto;padding:0 1px 7px}.watch-hud #first-watch-guide .guide-detail{display:block;font-size:10px}.watch-hud .guide-checklist{max-height:none}.watch-hud .guide-checklist li{font-size:10px}.watch-hud .guide-progress{margin-top:4px}
/* Carried resources already have their own HUD; remove the duplicate row. */
.player-panel #supplies{display:none}.control-hint{display:none}.hotbar-wrap{bottom:24px}#tool-caption{margin-bottom:7px}
@media(max-width:1100px){.hud-top{grid-template-columns:minmax(130px,1fr) minmax(260px,450px) minmax(130px,1fr);gap:10px}.watch-hud{left:18px;width:205px}.environment-event-chip [data-environment="event-label"]{max-width:145px}}
@media(max-width:850px){.fortifications{top:115px}.hud-top{grid-template-columns:32px minmax(220px,1fr) auto;gap:10px}.hud-brand>div{display:none}.connection{display:none}.environment-disclosure summary{gap:6px;font-size:10px}.environment-event-chip [data-environment="event-label"]{max-width:120px}.watch-hud{width:180px}.village-status .day-panel{padding:8px 10px}.environment-event-chip{padding-left:6px}}
@media(max-width:650px){.hud-top{top:12px;left:12px;right:12px;grid-template-columns:minmax(0,1fr) auto;gap:8px}.hud-brand{display:none}.village-status{grid-column:1;grid-row:1 / 3}.top-actions{grid-column:2;grid-row:1 / 3;display:grid;grid-template-columns:repeat(2,28px);padding-top:2px;gap:6px}.top-actions button{width:28px;height:32px}.village-status .day-panel{gap:8px;padding:6px 9px}.village-status #phase-icon{font-size:18px}.village-status .day-panel>div strong{font-size:10px}.village-status .day-panel>div span{font-size:9px}.village-status .day-panel .divider{margin-left:4px}.village-status #clock{font-size:17px}.environment-disclosure summary{flex-wrap:wrap;gap:4px 8px;min-height:28px;padding:5px 8px}.environment-event-chip{order:2;flex-basis:100%;justify-content:center;border:0;padding-left:0}.environment-event-chip [data-environment="event-label"]{max-width:190px}.environment-details{padding:11px;max-height:50vh;overflow:auto}.watch-hud{left:12px;top:131px;width:168px}.watch-hud .guide-toggle{font-size:10px}.watch-alert{padding:8px 10px}.fortifications{top:131px}.watch-hud .guide-details{max-height:35vh}}
@media(max-height:650px) and (min-width:651px){.hud-top{top:12px}.watch-hud{top:103px}.watch-hud .guide-details{max-height:38vh}.fortifications{top:103px}}
