.camp-view{--camp-edge:rgba(164,188,180,.24);--camp-amber:#dfb777;--camp-muted:#b8c8c3;padding:0;overflow:hidden;border:1px solid var(--camp-edge);border-radius:4px;margin:1.4rem 0;background:#0b1c23;box-shadow:0 18px 45px rgba(0,0,0,.2)}
.camp-illustration{position:relative;isolation:isolate;min-height:0;aspect-ratio:auto;background:radial-gradient(ellipse at 70% 30%,#31484b,#10252e 65%);overflow:hidden}
.camp-art{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center 49%;animation:camp-reveal .65s ease-out}
.camp-illustration:after{display:none;content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(0deg,rgba(5,17,23,.97),rgba(5,17,23,.56) 28%,transparent 68%),linear-gradient(180deg,rgba(5,17,23,.6),transparent 24%)}
.camp-scene-header{position:absolute;top:0;left:0;right:0;pointer-events:none;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.4rem 1.7rem;color:#e0e7df;font:.65rem ui-monospace,Consolas,monospace;letter-spacing:.18em;text-shadow:0 1px 4px #000}
.camp-scene-stamp{padding:.35rem .6rem;border:1px solid rgba(223,183,119,.5);background:rgba(8,24,28,.65);color:var(--camp-amber)}
.camp-scene-caption{position:relative;background:linear-gradient(120deg,#122b30,#081a23);z-index:1;padding:1.8rem clamp(1.2rem,3vw,2.3rem)}
.camp-kicker{margin:0 0 .6rem!important;color:var(--camp-amber)!important;font-size:.64rem!important;letter-spacing:.19em;text-transform:uppercase;font-weight:700;overflow-wrap:anywhere}
.camp-scene-caption h3{margin:0;font-size:clamp(1.8rem,3.5vw,3.2rem);line-height:1.1;letter-spacing:-.035em;font-weight:600;color:#f0eee5;text-wrap:balance}
.camp-scene-caption>p:not(.camp-kicker){color:#d0d9d1;margin:.65rem 0 0;font-size:.93rem;max-width:54ch}
.camp-statline{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;margin-top:1rem;color:#c1cec7;font-size:.75rem}
.camp-statline strong{font-size:1rem;font-variant-numeric:tabular-nums;color:#f0eee5;font-weight:600;margin-right:.2rem}
.camp-facilities{padding:1.1rem clamp(1rem,2.6vw,2rem);border-top:1px solid var(--camp-edge);background:linear-gradient(135deg,#122c32,#0b1e27)}
.camp-facility-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.45rem}
.camp-facility{display:inline-flex;align-items:center;gap:.8rem;background:rgba(5,19,25,.65);border:1px solid var(--camp-edge);padding:.45rem .65rem;font-size:.75rem;color:#d3ded5;overflow-wrap:anywhere}
.camp-facility strong{font:600 .69rem ui-monospace,Consolas,monospace;color:var(--camp-amber);white-space:nowrap;padding-left:.6rem;border-left:1px solid var(--camp-edge)}
.camp-empty{margin:.2rem 0;font-size:.85rem;color:var(--camp-muted)}
.camp-progress{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem;padding:1.5rem clamp(1rem,2.6vw,2rem);border-top:1px solid var(--camp-edge)}
.camp-construction [data-camp-construction]{font-size:.88rem;line-height:1.6;margin:.4rem 0 .8rem;color:#e0e6dd;overflow-wrap:anywhere}
.camp-representative{font-size:.73rem!important;line-height:1.65;max-width:49ch;color:var(--camp-muted)!important}
.camp-milestone{padding-left:1.5rem;border-left:1px solid var(--camp-edge)}
.camp-milestone h4{margin:.3rem 0 .7rem;color:#e0e6dd;font-size:.97rem;font-weight:600}
.camp-milestone>p:not(.camp-kicker){font-size:.82rem;line-height:1.6;color:var(--camp-muted)}
.camp-milestone ul{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.camp-milestone li{display:flex;align-items:baseline;gap:.5rem;font-size:.74rem;color:var(--camp-muted)}
.camp-milestone li>span:first-child{width:.8rem;flex:none;text-align:center}
.camp-milestone li small{margin-left:auto;font-size:.61rem;text-transform:uppercase;letter-spacing:.06em}
.camp-milestone .is-complete{color:var(--status-growth)}
.camp-milestone .is-needed>span:first-child{color:var(--camp-amber)}
.camp-layout{border-top:1px solid var(--camp-edge);background:rgba(5,17,23,.4)}
.camp-layout>summary{padding:1rem clamp(1rem,2.6vw,2rem);min-height:3rem;cursor:pointer;color:#d7e1d6;font-size:.82rem}
.camp-layout>summary span{color:var(--camp-muted);font-size:.7rem;margin-left:.7rem}
.camp-layout-scene{padding:0 clamp(.7rem,2vw,1.5rem) 1.5rem}
.camp-layout .city-diorama{max-height:48rem;object-fit:contain;box-shadow:none}
.city-diorama .facility-sprite{border:0;background:none;pointer-events:all}
.city-diorama .facility-link{cursor:pointer;outline:none}
.city-diorama .facility-footprint{fill:#d9b675;fill-opacity:0;stroke:#eacb85;stroke-width:1;stroke-opacity:0}
.city-diorama .facility-link:hover .facility-footprint,.city-diorama .facility-link:focus-visible .facility-footprint{fill-opacity:.2;stroke-opacity:1}
.city-diorama .facility-link:hover .facility-sprite,.city-diorama .facility-link:focus-visible .facility-sprite{filter:brightness(1.16)}
.city-diorama .facility-label rect{fill:#081711;fill-opacity:.88;stroke:#a58d60;stroke-width:.35}
.city-diorama .facility-label{opacity:0;pointer-events:none}
.city-diorama .facility-label.is-active{opacity:1}
.city-diorama .facility-label text{font:4.9px system-ui,sans-serif;fill:#f2e8d3;stroke:none;text-anchor:middle}
.city-diorama .facility-label .facility-level{font:4.3px ui-monospace,monospace;fill:#eac88b;letter-spacing:.6px}
.city-diorama .construction path{fill:none;stroke:#f2c56f;stroke-width:1.7;stroke-dasharray:4 2}
.city-diorama .settlement-hud text{font:7px ui-monospace,monospace;text-anchor:start;fill:#f2e4c4;stroke:#19271d;stroke-width:2;letter-spacing:1px}
.city-diorama .settlement-hud text+text{font-size:5.8px;letter-spacing:.1px;fill:#d7decb}
.building-card.is-selected{border-color:#e5bc76;box-shadow:0 0 0 2px #e5bc7644}
.city-overview.camp-guide{grid-template-columns:1fr}
.camp-guide>section{background:linear-gradient(140deg,rgba(19,43,49,.7),rgba(8,25,32,.75));border:1px solid var(--edge);padding:1.3rem}
.camp-guide h3{font-size:1rem;margin:.2rem 0 .7rem}
@keyframes camp-reveal{from{opacity:.45;transform:scale(1.015)}to{opacity:1;transform:scale(1)}}
@media(min-width:1200px){.camp-guide>section{display:grid;grid-template-columns:12rem minmax(0,1fr) auto;gap:.6rem 1.3rem;align-items:center}.camp-guide h3,.camp-guide p{margin:.2rem 0}.camp-guide button{justify-self:start}.camp-guide h3:nth-of-type(2){grid-column:1}}
@media(max-width:750px){.camp-illustration{aspect-ratio:auto;min-height:0}.camp-art{object-position:center}.camp-scene-header{padding:1rem;font-size:.55rem;letter-spacing:.12em}.camp-scene-index{display:none}.camp-progress{grid-template-columns:1fr;gap:1rem;padding:1.1rem}.camp-milestone{border-left:0;border-top:1px solid var(--camp-edge);padding:1rem 0 0}.camp-layout>summary span{display:block;margin:.3rem 0 0}.camp-layout-scene{padding-bottom:.7rem}.camp-facilities{padding:1rem}.camp-facility{font-size:.7rem}.camp-scene-caption{padding:1.2rem}.camp-representative{max-width:none}}
@media(max-width:400px){.camp-illustration{min-height:0}.camp-scene-caption h3{font-size:1.85rem}.camp-scene-caption>p:not(.camp-kicker){font-size:.8rem}.camp-statline{font-size:.68rem;gap:.4rem 1rem}.camp-facility-list{gap:.35rem}.camp-facility{padding:.4rem .5rem;gap:.5rem}}
@media(prefers-reduced-motion:reduce){.camp-art{animation:none}}

.camp-illustration>.city-diorama{border:0;border-radius:0;box-shadow:none;width:100%;height:auto;max-height:none}

/* Fictional regional weather. Effects never intercept building selection. */
.camp-weather{display:flex;justify-content:space-between;gap:1rem;padding:1.2rem 2rem;border-top:1px solid var(--camp-edge);border-radius:0;background:#102932}
.camp-weather strong{font-size:1.15rem;color:#e9e2cf}.camp-weather [data-weather-change]{margin-left:1rem;font: .7rem ui-monospace,monospace;color:#b8c8c3}.camp-weather p:not(.camp-kicker){margin:.45rem 0;font-size:.8rem;color:#dfc48c}.camp-weather small{font-size:.7rem;color:#b8c8c3}.weather-controls{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:flex-end}.weather-controls button{font-size:.72rem;min-height:40px}.weather-controls button[aria-pressed=true]{border-color:#d9b978;color:#eed8b0}.weather-controls span{font-size:.7rem}
.city-diorama .weather-layer{pointer-events:none}.weather-rain,.weather-clouds,.weather-sun,.weather-lightning{display:none}.weather-shade{fill:#0a1727;opacity:0}
[data-weather=sunny] .weather-sun{display:block;animation:sun-breathe 12s ease-in-out infinite alternate}
[data-weather=cloudy] .weather-clouds,[data-weather=rain] .weather-clouds,[data-weather=storm] .weather-clouds{display:block;fill:#ccd2d3;opacity:.15;filter:blur(12px);animation:cloud-drift 32s ease-in-out infinite alternate}
[data-weather=cloudy] .weather-shade{opacity:.12}[data-weather=rain] .weather-shade{opacity:.12}[data-weather=storm] .weather-shade{opacity:.2}
[data-weather=cloudy] .settlement-terrain{filter:saturate(.85) brightness(.91)}[data-weather=rain] .settlement-terrain{filter:saturate(.75) brightness(.8)}[data-weather=storm] .settlement-terrain{filter:saturate(.65) brightness(.66)}
[data-weather=rain] .weather-rain,[data-weather=storm] .weather-rain{display:block;fill:none;stroke:#e8f4ff;stroke-width:.3;opacity:.34}
.weather-rain path{animation:rain-fall .65s linear infinite}.weather-rain path:nth-child(3n){animation-delay:-.22s;opacity:.6}.weather-rain path:nth-child(3n+1){animation-delay:-.43s;opacity:.8}[data-weather=storm] .weather-rain{stroke-width:.42;opacity:.46}[data-weather=storm] .weather-rain path{animation-duration:.75s}
[data-weather=storm] .settlement-terrain{filter:brightness(1.22) contrast(1.02) saturate(.86)}
[data-weather=storm] .weather-lightning{display:block;opacity:0;animation:lightning-flash 13s linear infinite}
@keyframes rain-fall{from{transform:translate(8px,-35px)}to{transform:translate(-15px,40px)}}
@keyframes cloud-drift{from{transform:translateX(-30px)}to{transform:translateX(35px)}}
@keyframes sun-breathe{from{opacity:.55}to{opacity:1}}
@keyframes lightning-flash{0%,70%,72%,100%{opacity:0}71%{opacity:.7}}
.weather-still .weather-layer *{animation:none!important}.weather-still .weather-lightning{display:none}
@media(prefers-reduced-motion:reduce){.weather-layer *{animation:none!important}.weather-lightning{display:none!important}}
@media(max-width:750px){.camp-weather{padding:1rem;flex-direction:column}.weather-controls{justify-content:flex-start}.camp-weather [data-weather-change]{display:block;margin:.4rem 0}}

/* Auren's seven-day seasons combine with the current regional weather. */
.camp-season{margin:.2rem 0 .65rem;font:.74rem ui-monospace,monospace;letter-spacing:.08em;color:#e6cf9f}
.city-diorama[data-season=spring]{--season-tone:saturate(1.13) hue-rotate(3deg)}
.city-diorama[data-season=summer]{--season-tone:sepia(.12) saturate(1.08) brightness(1.06)}
.city-diorama[data-season=autumn]{--season-tone:sepia(.5) saturate(1.25) hue-rotate(-17deg)}
.city-diorama[data-season=winter]{--season-tone:grayscale(.65) brightness(1.2) contrast(.8)}
.city-diorama[data-weather=cloudy]{--weather-tone:saturate(.85) brightness(.91)}
.city-diorama[data-weather=rain]{--weather-tone:saturate(.75) brightness(.8)}
.city-diorama[data-weather=storm]{--weather-tone:saturate(.65) brightness(.66)}
.city-diorama[data-weather=snow]{--weather-tone:saturate(.6) brightness(.95)}
.city-diorama .settlement-terrain{filter:var(--season-tone,brightness(1)) var(--weather-tone,brightness(1))}
.weather-snow,.season-leaves{display:none;pointer-events:none}.season-frost{fill:#e8f1f8;opacity:0;pointer-events:none}
[data-season=winter] .season-frost{opacity:.2}[data-season=autumn] .season-leaves{display:block;fill:#be793e;opacity:.65;animation:leaves-drift 9s linear infinite}
[data-weather=snow] .weather-snow{display:block;fill:#f1f7ff;opacity:.85}.weather-snow circle{animation:snow-fall 3s linear infinite}.weather-snow circle:nth-child(3n){animation-delay:-1s}.weather-snow circle:nth-child(3n+1){animation-delay:-2s}
[data-weather=snow] .weather-shade{opacity:.1}
@keyframes snow-fall{from{transform:translate(-5px,-15px)}to{transform:translate(10px,20px)}}
@keyframes leaves-drift{from{transform:translate(-10px,-12px)}to{transform:translate(18px,18px)}}

/* Server-synchronised Auren daylight; visual only, no production modifiers. */
.daylight-layer{pointer-events:none}.daylight-night,.daylight-warm,.night-sky,.camp-night-lights{transition:opacity 2s linear}
.city-diorama[data-daylight=night] .weather-sun{display:none}.city-diorama[data-daylight=night]{background:#071426}
.city-diorama[data-weather=rain] .night-sky,.city-diorama[data-weather=storm] .night-sky,.city-diorama[data-weather=snow] .night-sky{visibility:hidden}.city-diorama[data-weather=cloudy] .night-sky{filter:opacity(.25)}
.camp-time{display:flex;align-items:baseline;flex-wrap:wrap;gap:.5rem .8rem;margin:0 0 .8rem;color:#f0dbab}.camp-time [data-auren-clock]{font:1.2rem ui-monospace,monospace;letter-spacing:.08em}.camp-time strong{font-size:.8rem}.camp-time [data-daylight-change]{font-size:.7rem;color:#b9cbc9}.camp-time small{flex-basis:100%;font-size:.65rem}
@media(prefers-reduced-motion:reduce){.daylight-layer *{transition:none}}

/* Plaza fire: separate from the artwork so it stays live over every stage. */
.campfire-flame { transform-box: fill-box; transform-origin: center bottom; animation: campfire-flicker .68s ease-in-out infinite alternate; }
.campfire-core { animation-duration: .43s; animation-delay: -.2s; }
.campfire-ember { animation: campfire-ember 1.9s ease-out infinite; }
@keyframes campfire-flicker {
  0% { transform: scale(.86,.75) skewX(-7deg); }
  54% { transform: scale(1.05,1.03) skewX(9deg); }
  100% { transform: scale(.92,.89) skewX(-3deg); }
}
@keyframes campfire-ember { from { opacity: .85; } to { opacity: 0; transform: translate(5px,-17px); } }
@media (prefers-reduced-motion: reduce) {
  .campfire-flame, .campfire-ember { animation: none; }
}

.campfire-smoke { opacity: .18; animation: campfire-smoke 3.4s ease-out infinite; }
@keyframes campfire-smoke {
  0% { opacity: .25; transform: translate(0, 2px); }
  100% { opacity: 0; transform: translate(7px, -15px); }
}
.weather-still :is(.campfire-smoke,.campfire-flame,.campfire-ember) { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .campfire-smoke { animation: none; }
}
