/* A close-up of the real twelve-plot outpost, not a prebuilt settlement picture. */
.world-panel>.outpost-open{display:block;width:100%;text-align:center;border:1px solid #a2d6b865;border-radius:13px;background:linear-gradient(125deg,#84c39c20,#a8d0ae0a);color:#dcf3cd;font-size:12px;min-height:45px;margin:8px 0}
#city-map.city-map{padding:105px 6px 31px;min-height:503px;background:linear-gradient(180deg,#061e301a,#092b2b18 65%,#082b2f5c),url('assets/outpost-clearing-v01.png') center center / cover no-repeat!important;border-color:#a1d6ac8a;box-shadow:inset 0 1px 0 #ddf4cb42,0 18px 35px -20px #0009;contain:paint}
body[data-planet=p2] #city-map.city-map{background-image:linear-gradient(180deg,#bc8b5f26,#b6974e3b 65%,#3d443a4d),url('assets/outpost-clearing-v01.png')!important}
body[data-planet=p3] #city-map.city-map{background-image:linear-gradient(180deg,#8886c126,#719ba336 65%,#132d4f4d),url('assets/outpost-clearing-v01.png')!important}
#city-map:before,#city-map:after{top:171px;bottom:31px}
#city-map:before{translate:0 7px;background:linear-gradient(155deg,#527447,#2a4e3b 65%,#163e36);opacity:.95}
#city-map:after{background:linear-gradient(140deg,#9bb66b30,#39764b55),url('assets/outpost-clearing-v01.png') center bottom / 150% auto;border-top:1px solid #c8d89b65}
.outpost-scene-label{position:absolute;z-index:14;left:16px;right:16px;top:16px;padding:9px 11px;border:1px solid #bbdcca31;border-radius:12px;background:linear-gradient(110deg,#09293ce6,#0c2e3ab3);box-shadow:0 5px 12px #0624312e;pointer-events:none}
.outpost-scene-label>span{display:block;font:650 8px/1.5 system-ui;letter-spacing:1.3px;color:#c4d6bb}.outpost-scene-label strong{display:block;font:550 12px/1.5 system-ui;color:#f0f2d7;margin-top:2px}
#city-map .city-paths,#city-map .city-activity{top:105px}#city-map .city-paths{opacity:.9}.road-edge{stroke:#284f3c;stroke-width:17}.road-surface{stroke:#c6b78a;stroke-width:9;opacity:.78}.road-marks{stroke:#f2dcaa;opacity:.8}
#city-map .city-plot>.city-building{width:90px;height:90px;margin-left:-45px;bottom:27px;filter:drop-shadow(4px 6px 3px #082d324f)}
#city-map .city-plot{clip-path:polygon(6% -32%,94% -32%,94% 43%,100% 65%,100% 79%,50% 100%,0 79%,0 65%,6% 43%)}
#city-map .plot-pad{background:linear-gradient(145deg,#a9bc7840,#668c525e);border-top:1px solid #c2d69b2e}
#city-map .city-plot[data-type] .plot-pad{background:linear-gradient(135deg,#bbcd8a98,#80a35d85 65%,#5a844d8c)}
#city-map .city-plot[data-type=garden] .plot-pad{background:linear-gradient(135deg,#b6d387aa,#6b9a568c)}
#city-map .city-plot[aria-pressed=true] .plot-pad{background:linear-gradient(135deg,#ecdfadbb,#a4c97eaa);box-shadow:inset 0 0 0 2px #ffe9ab}
#city-map .plot-plus{font:20px/1 system-ui;color:#e8edc2c2;inset:51px 0 auto;filter:drop-shadow(0 1px 2px #173f35)}
#city-map .plot-name{font-size:9px;background:#153e36dc;color:#eef2d1;bottom:7px;border:1px solid #c2d4a942}
#city-map .city-plot[aria-pressed=true] .plot-name{background:#f0deab;color:#274f3f;border-color:#fff0bd}
.scene-sun{display:none}.scene-cloud{top:84px;opacity:.65;filter:blur(1px)}.scene-cloud.cloud-b{top:112px;opacity:.4}.scene-birds{top:93px;opacity:.8}
/* Visible daily life follows the existing road lattice and saved colony conditions. */
.colonist{width:6px;height:11px;border-radius:4px 4px 2px 2px;background:linear-gradient(90deg,#dfb58d,#f0d5a9);box-shadow:3px 5px 2px #173e3759}
.colonist:before{width:6px;height:6px;top:-5px;background:#f1d8b4;border-top:2px solid #567b71}.colonist:after{bottom:-3px;width:2px;height:4px;background:#214b50;box-shadow:4px 0 #214b50}
.route-agent{animation-duration:35s}.citizen-b{animation-duration:42s;animation-delay:-19s}.citizen-c{animation-duration:38s;animation-delay:-11s}.citizen-d{animation-duration:46s;animation-delay:-27s}.citizen-b .colonist{background:#b8d2b4}.citizen-c .colonist{background:#c8b0d1}.citizen-d .colonist{background:#a2d2d2}
.courier-pod{width:17px;height:10px;left:-7px;top:-4px;border-radius:7px;background:linear-gradient(145deg,#e4e5be,#75a49c);box-shadow:0 5px 3px #08252e44,0 0 8px #cfde9b25}.courier-pod:before{width:7px;height:3px;left:4px;top:1px;background:#2b657a}.delivery-pod{animation-duration:26s}
.outpost-fireflies{display:none;position:absolute;inset:145px 20px 30px;z-index:13;pointer-events:none;overflow:hidden}#city-map[data-gardens=true] .outpost-fireflies{display:block}
.outpost-fireflies i{position:absolute;width:3px;height:3px;left:16%;top:47%;border-radius:50%;background:#eee8a1;box-shadow:0 0 7px 2px #dced9d64;animation:outpost-firefly 8s ease-in-out infinite}
.outpost-fireflies i:nth-child(2){left:75%;top:25%;animation-delay:-3s;animation-duration:11s}.outpost-fireflies i:nth-child(3){left:47%;top:66%;animation-delay:-6s;animation-duration:9s}.outpost-fireflies i:nth-child(4){left:87%;top:77%;animation-delay:-2s;animation-duration:13s}.outpost-fireflies i:nth-child(5){left:24%;top:12%;animation-delay:-5s;animation-duration:10s}
.plot-ambience{display:block;position:absolute;pointer-events:none;width:90px;height:90px;left:50%;bottom:27px;margin-left:-45px;z-index:6}
.plot-ambience i{position:absolute;display:block;pointer-events:none}
.outpost-pennant{left:73%;top:38%;width:1px;height:16px;background:#e6dfad;filter:drop-shadow(1px 1px 1px #294b3b55)}.outpost-pennant:after{content:'';position:absolute;top:1px;left:1px;width:8px;height:5px;border-radius:0 4px 2px 0;background:linear-gradient(#dbeab1,#9dc49c);transform-origin:left center;animation:outpost-pennant 2.6s ease-in-out infinite alternate}
.outpost-lamplight{left:32%;top:53%;width:30%;height:23%;border-radius:50%;background:radial-gradient(ellipse,#ffdf973b,transparent 75%);opacity:0}
.city-map[data-powered=true] .outpost-lamplight,.globe-live[data-lit=true] .outpost-lamplight{opacity:1;animation:outpost-lamplight 7s ease-in-out infinite alternate}
.outpost-butterfly{left:64%;top:25%;width:3px;height:5px;border-radius:50%;background:#e9d6a7;animation:outpost-butterfly-path 7s ease-in-out infinite}
.outpost-butterfly:before,.outpost-butterfly:after{content:'';position:absolute;width:6px;height:6px;top:0;background:#f4bfc5;border-radius:80% 20% 65% 25%;transform-origin:right center;animation:outpost-wing .6s ease-in-out infinite alternate}.outpost-butterfly:before{right:2px}.outpost-butterfly:after{left:2px;border-radius:20% 80% 25% 65%;transform-origin:left center;animation-delay:-.3s}
.outpost-pollen{left:34%;top:31%;width:2px;height:2px;background:#eff3b5;border-radius:50%;box-shadow:12px -4px #eef1b59c,-7px 10px #f0e7bb8c;animation:outpost-pollen 6s ease-in-out infinite}
.outpost-energy{left:29%;top:37%;width:40%;height:3px;border-radius:50%;background:linear-gradient(90deg,transparent,#d7f2d7,transparent);rotate:-27deg;opacity:0;animation:outpost-energy 7s ease-in-out infinite}
.outpost-signal{left:51%;top:29%;width:4px;height:4px;border-radius:50%;background:#e3e9b4;box-shadow:0 0 7px #e9edaf66;animation:outpost-lamplight 4s ease-in-out infinite alternate}
#planet-sphere .plot-ambience{inset:0;width:64px;height:64px;margin:0;scale:.83;transform-origin:50% 82%}#planet-sphere .outpost-pennant{height:10px}#planet-sphere .outpost-pennant:after{width:5px;height:3px}#planet-sphere .outpost-butterfly{scale:.6}
/* Old structure stays in place until the new addition is visible. Only the selected plot animates. */
#city-map .city-plot.construction-site{z-index:18}
#city-map .city-plot>.city-building.building-arrival{animation:outpost-building-reveal 2.8s cubic-bezier(.22,.7,.25,1) both;transform-origin:50% 85%;z-index:5}
.construction-previous{position:absolute;width:90px;height:90px;left:50%;bottom:27px;margin-left:-45px;pointer-events:none;z-index:4;animation:outpost-previous 2.8s ease-out both}
.construction-previous>.city-building{width:90px;height:90px;animation:none!important}
.site-celebration{position:absolute;width:80%;height:48px;left:10%;top:32px;z-index:7;pointer-events:none;border-radius:50%;animation:outpost-worksite 3.2s ease-out both}
.site-celebration:before{content:'';position:absolute;inset:16px 0 0;border:2px solid #d9ed9f9c;border-radius:50%;box-shadow:0 0 12px #d9ed9f4d;animation:outpost-foundation 3.2s ease-out both}
.site-celebration i{position:absolute;left:15%;top:50%;width:3px;height:3px;border-radius:50%;background:#edf0b9;box-shadow:0 0 6px #e1edaa;animation:outpost-worklight 2.8s ease-out both}.site-celebration i:nth-child(2){left:80%;top:36%;animation-delay:.15s}.site-celebration i:nth-child(3){left:55%;top:6%;animation-delay:.3s}
.planet-growth-site>.city-building{animation:outpost-globe-settle 2.4s var(--planet-build-delay,1.2s) ease-out both}
@keyframes outpost-building-reveal{0%,25%{opacity:0;clip-path:inset(95% 0 0);scale:.96;translate:0 3px}45%{opacity:.6;clip-path:inset(48% 0 0)}80%{opacity:1;clip-path:inset(0);scale:1.02;translate:0 -1px}100%{opacity:1;clip-path:inset(0);scale:1;translate:0 0}}
@keyframes outpost-previous{0%,48%{opacity:1}80%,100%{opacity:0}}
@keyframes outpost-foundation{0%{opacity:0;scale:.8}20%,65%{opacity:1;scale:1}100%{opacity:0;scale:1.1}}
@keyframes outpost-worksite{0%,80%{opacity:1}100%{opacity:0}}
@keyframes outpost-worklight{0%{opacity:0;translate:0 7px}30%,60%{opacity:1}100%{opacity:0;translate:2px -9px}}
@keyframes outpost-globe-settle{0%{scale:1;translate:0 2px;filter:brightness(1.3)}60%{translate:0 -1px}100%{scale:1;translate:0 0;filter:brightness(1)}}
@keyframes outpost-firefly{0%,100%{opacity:0;translate:0 0}30%{opacity:.85;translate:9px -7px}65%{opacity:.45;translate:-6px -17px}}
@keyframes outpost-pennant{from{transform:skewY(-8deg) scaleX(.65)}to{transform:skewY(10deg) scaleX(1)}}
@keyframes outpost-lamplight{from{opacity:.45}to{opacity:.95}}
@keyframes outpost-butterfly-path{0%,100%{translate:-8px 3px;rotate:-10deg}35%{translate:10px -11px;rotate:20deg}70%{translate:16px 1px;rotate:-8deg}}
@keyframes outpost-wing{from{scale:.35 1}to{scale:1 1}}
@keyframes outpost-pollen{0%,100%{opacity:0;translate:0 4px}50%{opacity:.8;translate:2px -5px}}
@keyframes outpost-energy{0%,18%,82%,100%{opacity:0;translate:-3px 3px}42%,58%{opacity:.75;translate:3px -3px}}
.scene-paused .plot-ambience *{animation-play-state:paused!important}
#city-map.outpost-idle *{animation-play-state:paused!important}
body.calm .outpost-fireflies,body.calm .outpost-butterfly,body.calm .outpost-pollen,body.calm .outpost-energy{display:none!important}
@media(prefers-reduced-motion:reduce){body:not(.lively) .outpost-fireflies,body:not(.lively) .outpost-butterfly,body:not(.lively) .outpost-pollen,body:not(.lively) .outpost-energy{display:none!important}}
@media(max-width:620px){#city-map.city-map{min-height:503px}body[data-view=play] .plot-ambience *{animation-play-state:paused!important}.outpost-scene-label strong{font-size:12px}.city-plot>.plot-ambience{scale:1}}
@media(max-width:360px){#city-map .city-plot>.city-building,.construction-previous>.city-building{width:84px;height:84px}#city-map .city-plot>.city-building{margin-left:-42px}.construction-previous{width:84px;height:84px;margin-left:-42px}.city-plot>.plot-ambience{width:84px;height:84px;margin-left:-42px}.outpost-scene-label{left:12px;right:12px;padding:8px 9px}.outpost-scene-label strong{font-size:11px}}
