/* Motion appendix: source art stays fixed; only localized environment and native UI move. */
:root{--motion-hover:160ms;--motion-control:220ms;--motion-swap:320ms;--ease-ui:cubic-bezier(.2,.65,.3,1);--signal:#e0af58}
.site-header:before{mask-image:linear-gradient(#000 0 10%,transparent 10% 88%,#000 88%);mask-mode:alpha}
.header-nav button,.header-nav button.active,body[data-view] .header-nav button.active{border:0;box-shadow:none;padding:10px 5px;color:var(--paper);transition:color var(--motion-hover) var(--ease-ui);background:transparent}
.header-nav button:after{content:'';position:absolute;left:8%;right:8%;bottom:3px;height:2px;background:var(--signal);opacity:0;transform:scaleX(.45);transition:opacity 160ms,transform 160ms var(--ease-ui)}
.header-nav button:hover,.header-nav button:focus-visible,.header-nav button.active{color:var(--signal)}
.header-nav button:hover:after,.header-nav button:focus-visible:after,.header-nav button.active:after{opacity:1;transform:scaleX(1)}
.source-control,.header-follow,.image-control,.faq-category,.map-card,.menu-drawer button,.site-footer button,.header-sound,.dialog-button{transition:filter 160ms var(--ease-ui),color 160ms,outline-color 160ms,box-shadow 160ms;touch-action:manipulation}
.source-control:hover,.source-control:focus-visible,.header-follow:hover,.header-follow:focus-visible{filter:brightness(1.08);box-shadow:0 0 10px #e0af5829}
.source-control:active,.header-follow:active,.dialog-button:active{filter:brightness(.92)}
.source-control>span,.header-follow{transition:translate 80ms var(--ease-ui)}
.source-control:active>span{translate:0 1px}.header-follow:active{translate:0 1px}
.image-control{overflow:hidden}.image-control .component-art{transition:scale 220ms var(--ease-ui),filter 160ms}
.image-control:hover,.image-control:focus-visible{filter:none;outline:2px solid var(--signal);outline-offset:-3px}
.image-control:hover .component-art,.image-control:focus-visible .component-art{scale:1.025;filter:brightness(1.06)}
.image-control.map-card .component-art{scale:1!important}.image-control:disabled,.source-control:disabled{filter:none;box-shadow:none;cursor:not-allowed;opacity:.55}
.faq-item summary{transition:color 160ms}.faq-item summary:hover,.faq-item summary:focus-visible{color:var(--signal)}
@supports(interpolate-size:allow-keywords){.faq-item{interpolate-size:allow-keywords}.faq-item::details-content{block-size:0;overflow:clip;transition:block-size 220ms var(--ease-ui),content-visibility 220ms allow-discrete}.faq-item[open]::details-content{block-size:auto}}
.menu-drawer{animation:drawer-in 220ms var(--ease-ui)}
dialog[open]{animation:dialog-in 220ms var(--ease-ui)}dialog[open]::backdrop{animation:backdrop-in 180ms}
@keyframes drawer-in{from{transform:translateX(12px);opacity:.85}to{transform:none;opacity:1}}
@keyframes dialog-in{from{transform:translateY(8px);opacity:.85}to{transform:none;opacity:1}}
@keyframes backdrop-in{from{background:#0008}to{background:#000c}}
.scene-fx{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0;isolation:isolate}
.environment-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.7}
.hero-local-effects{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}
.water-ripple{fill:none;stroke:#e5c88e;stroke-width:1;transform-box:fill-box;transform-origin:center;animation:puddle-ring 5s ease-out infinite;opacity:0}
.water-ripple:nth-of-type(2n){animation-delay:-2s;animation-duration:6.5s}.water-ripple:nth-of-type(3n){animation-delay:-4s}
@keyframes puddle-ring{0%{transform:scale(.2);opacity:0}18%{opacity:.48}85%,100%{transform:scale(1.55);opacity:0}}
.water-reflection{fill:#e0af58;opacity:.04;animation:reflection-breathe 9s ease-in-out infinite}
@keyframes reflection-breathe{50%{opacity:.07}}
.shop-light{--lamp-cycle:8.4s;--lamp-delay:-1s}.light-right{--lamp-cycle:11.7s;--lamp-delay:-6s}
.lamp-glow{fill:#ffd989;opacity:.24;animation:lamp-flicker var(--lamp-cycle) linear var(--lamp-delay) infinite}
.lamp-filament{fill:#ffedb3;opacity:.45;animation:lamp-flicker var(--lamp-cycle) linear var(--lamp-delay) infinite}
.lamp-dim{fill:#251809;opacity:0;animation:lamp-cutout var(--lamp-cycle) linear var(--lamp-delay) infinite}
@keyframes lamp-flicker{0%,43%,47%,51%,100%{opacity:.45}44%,46%{opacity:.03}48%,50%{opacity:.14}68%{opacity:.32}}
@keyframes lamp-cutout{0%,43%,47%,51%,100%{opacity:0}44%,46%{opacity:.86}48%,50%{opacity:.48}}
.scene-fog{position:absolute;width:30%;height:12%;left:64%;top:67%;background:radial-gradient(ellipse,#a5b4ab20,transparent 70%);opacity:.7;animation:fog-drift 24s ease-in-out infinite alternate}
@keyframes fog-drift{to{transform:translateX(22px);opacity:.4}}
.fx-dock{position:absolute;right:12px;bottom:12px;z-index:5;display:flex;gap:6px}
.fx-dock button{display:flex;align-items:center;gap:5px;min-height:30px;background:#0b140ee6;border:1px solid #65714b;color:#d6d7c2;padding:5px 8px;font-family:'Roboto Condensed',Arial,sans-serif;font-size:10px;cursor:pointer;transition:color 160ms,border-color 160ms}
.fx-dock button:hover,.fx-dock button:focus-visible{color:var(--signal);border-color:var(--signal)}
.fx-dock button[disabled]{opacity:.65;cursor:default}.fx-dock button svg{width:13px;height:13px;fill:currentColor}
.illustration-grid{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:hidden}
.movement-cell{fill:#8caf6c20;stroke:#a6ce87;stroke-width:1;opacity:.35;transition:fill 160ms,opacity 160ms,stroke 160ms}
.movement-cell.blocked{fill:#b9583d26;stroke:#d07958;opacity:.6}.movement-cell.chosen{fill:#a6ce874a;opacity:1;stroke-width:1.6}
.movement-cell.observed{opacity:.7}.movement-path{fill:none;stroke:#dbe8b5;stroke-width:1.5;stroke-dasharray:4 5;opacity:.6;animation:path-flow 2.4s linear infinite}
.movement-target{fill:none;stroke:#c1df92;stroke-width:1.5;animation:target-breathe 3s ease-in-out infinite}
@keyframes path-flow{to{stroke-dashoffset:-18}}@keyframes target-breathe{50%{opacity:.5}}
.movement-key{position:absolute;left:10px;top:9px;z-index:3;display:flex;flex-wrap:wrap;gap:7px;max-width:90%;font:9px/1.25 'Roboto Condensed',Arial,sans-serif;color:#c7d1b8;background:#0b160cce;padding:4px 6px;pointer-events:none}
.movement-key span:before{content:'';display:inline-block;width:6px;height:6px;border:1px solid #a6ce87;margin-right:4px;background:#a6ce8733}.movement-key .blocked-key:before{border-color:#d07958;background:#b9583d33}
.step-caption{position:absolute;right:10px;bottom:10px;max-width:76%;padding:4px 7px;font:10px/1.35 'Roboto Condensed',Arial,sans-serif;background:#0b160ce8;color:#e0d5b7;z-index:4;pointer-events:none}
.map-connectors{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:3}
.map-link{fill:none;stroke:#d9ae62;stroke-width:1.3;stroke-dasharray:3 6;opacity:.16;transition:opacity 160ms}
.map-link.selected,.map-link.preview{opacity:.8;stroke-width:1.8;animation:map-signal 2s linear infinite}
@keyframes map-signal{to{stroke-dashoffset:-18}}
.map-connection-dot{fill:#e0af58;stroke:#111c12;stroke-width:2;opacity:.4}.map-connection-dot.selected,.map-connection-dot.preview{opacity:1}
.map-pins button:after{content:attr(aria-label);position:absolute;bottom:calc(100% + 6px);left:50%;translate:-50% 0;white-space:nowrap;background:#101d13f2;border:1px solid #ac8e51;color:#f0d799;padding:4px 7px;font-size:11px;opacity:0;pointer-events:none;transition:opacity 160ms}
.map-pins button:hover:after,.map-pins button:focus-visible:after{opacity:1}
.map-card.connection-preview{outline:2px solid #e0af58;outline-offset:-3px}.map-pins button.connection-preview{outline:2px solid #e0af58;outline-offset:3px;background:#e0af581a}
.map-card .native-art-label.map-card-title:before{content:attr(data-marker);display:inline-grid;place-items:center;min-width:14px;height:14px;font:9px Arial,sans-serif;border:1px solid #ad8d49;margin-right:4px;color:#e0af58}
.map-card.active .map-card-title{color:#e0af58}
.map-pins button .pin-number{display:none}
.scene-fx:not(.fx-running) *,.fx-paused .illustration-grid *,.fx-paused .map-connectors *{animation-play-state:paused!important}
body.environment-off .scene-fx{visibility:hidden}body.environment-off .illustration-grid *,body.environment-off .map-connectors *{animation-play-state:paused!important}
body.audio-playing .hero-radio:after{content:'';position:absolute;left:6px;top:6px;width:4px;height:4px;background:#e0af58;box-shadow:0 0 4px #e0af5880;animation:radio-breathe 2s ease-in-out infinite}
.character-swap-ghost{z-index:4;pointer-events:none!important}.fx-paused .hero-radio:after{animation-play-state:paused!important}.environment-off .hero-radio:after{animation:none}
@keyframes radio-breathe{50%{opacity:.45}}
@media(max-width:900px){.scene-fx{inset:0 0 auto;height:330px}.gameplay-hero .scene-fx,.media-hero .scene-fx,.news-hero .scene-fx{height:240px}.gameplay-hero .scene-fx{height:380px}.hero-local-effects,.scene-fog{display:none}.fx-dock{top:12px;bottom:auto}.fx-dock button{min-height:36px;font-size:11px;background:#0b140ee6}.world-map-section .map-pins{display:block;position:absolute;left:20px;top:24px;width:calc(100% - 40px);height:auto;aspect-ratio:431/386;z-index:4}.world-map-section .map-pins button{left:calc(var(--x)/431*100%);top:calc((var(--y) - 1)/386*100%);width:32px;height:32px;background:#142013cf;border:1px solid #9f8c54;color:#f0d799}.map-pins button .pin-number{display:block;font:12px 'Roboto Condensed',Arial,sans-serif}.map-pins button.active{background:#a77b26;outline-offset:2px}.movement-key{font-size:9px;max-width:95%;gap:4px}.step-caption{font-size:9px;max-width:80%}.map-link{stroke-width:1}.map-link.selected,.map-link.preview{stroke-width:1.4}.movement-path,.movement-target,.map-link{animation:none}.image-control:hover .component-art,.image-control:focus-visible .component-art{scale:1}}
@media(prefers-reduced-motion:reduce){.scene-fx{visibility:hidden}.header-nav button:after{transform:none}.source-control:active>span,.header-follow:active{translate:none}.image-control:hover .component-art,.image-control:focus-visible .component-art{scale:1}.movement-path,.map-link{animation:none}}
@media(max-width:900px){.map-card .native-art-label.map-card-title{top:auto!important;bottom:2px;left:3px!important;width:calc(100% - 6px)!important;height:26px!important;padding:3px;font-size:10px;white-space:nowrap;line-height:1.2;background:#101910}.map-card .native-art-label.map-card-title:before{min-width:12px;height:13px;margin-right:3px;font-size:8px}}
@media(hover:hover) and (pointer:fine) and (min-width:901px) and (prefers-reduced-motion:no-preference){
 .metal-rim:after{content:'';position:absolute;inset:0;pointer-events:none;padding:2px;z-index:5;background:radial-gradient(90px circle at var(--rim-x,50%) var(--rim-y,50%),#f4cf87cc,transparent 100%);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;opacity:0;transition:opacity 160ms}
 .metal-rim.pointer-lit:after,.metal-rim:focus-visible:after{opacity:1}
 .metal-rim:focus-visible{--rim-x:50%;--rim-y:50%}
}
@media(max-width:900px){
 .site-header,body[data-view=gameplay] .site-header,body[data-view=world] .site-header{grid-template-columns:1fr 44px 44px;gap:8px}
 .header-sound,.menu-toggle{width:44px;height:44px;min-width:44px;min-height:44px}
 .fx-dock{gap:8px}.fx-dock button{min-width:44px;min-height:44px}.fx-dock button svg{width:16px;height:16px}
 .dialog-close{min-width:44px;min-height:44px}.dialog-inner label{min-height:48px}.dialog-inner input[type=range]{height:44px}
 .world-map-section .map-pins button{width:44px;height:44px;border:0;background:transparent;box-shadow:none;outline-offset:-6px}
 .map-pins button .pin-number{display:grid;place-items:center;margin:auto;width:30px;height:30px;border:1px solid #9f8c54;border-radius:50%;background:#142013e6}
 .map-pins button.active .pin-number{background:#a77b26}.map-pins button.connection-preview{background:transparent}
 .character-carousel{gap:8px}.character-carousel .character-dot{min-width:44px;min-height:44px}
 .site-footer nav{gap:8px}.site-footer button,.site-footer .social-link{min-width:44px;min-height:44px}.download-icon,.download-row{min-height:44px}
}
@media(max-width:360px){
 .character-carousel{display:grid;grid-template-columns:repeat(4,44px);justify-content:center}
 .character-carousel .character-dot{grid-row:1}.character-carousel [data-action=previous-character]{grid-row:2;grid-column:2}.character-carousel [data-action=next-character]{grid-row:2;grid-column:3}
 .brand{max-width:100%;width:152px}
}

/* Home detail: source-aligned effects and a playable pointer preview. */
.home-hero .hero-radio{display:grid;grid-template-columns:22px 1fr;grid-template-rows:auto auto;column-gap:8px;align-content:center;min-height:44px;width:calc(160/1024*100%);padding:6px 10px;background:#101b14;border:1px solid #b59b59;box-shadow:inset 0 0 0 2px #2f3a28,0 2px 8px #0008;text-align:left;cursor:pointer;font-size:11px;color:#eee7ce}
.hero-radio .control-decor{display:none}.hero-radio>span{padding:0!important}.radio-speaker{grid-row:1/3;width:22px;height:22px;fill:currentColor;overflow:visible}.radio-speaker .speaker-on,.radio-speaker .speaker-off{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.hero-radio[aria-pressed=false] .speaker-on,.hero-radio[aria-pressed=true] .speaker-off{display:none}.radio-click-hint{color:#bdc59f;font-size:9px;letter-spacing:.7px;text-transform:uppercase;line-height:1.4}.hero-radio[aria-pressed=true]{color:#f2c873;border-color:#d2aa59}.hero-radio:hover,.hero-radio:focus-visible{color:#ffe0a0;border-color:#f0c76e;outline:2px solid #f0c76e;outline-offset:3px}.hero-radio:hover .radio-click-hint{color:#ffe0a0}body.audio-playing .hero-radio:after{left:auto;right:5px;top:5px}
:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama){cursor:crosshair;isolation:isolate}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama):focus-visible{outline:2px solid #dec075;outline-offset:3px}
:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama) .movement-cell{opacity:.34;fill:#88b65b1f;stroke:#a7cd79;stroke-width:.9}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama) .movement-cell.blocked{opacity:.45;stroke:#ce7251;fill:#a63e2426}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama) .movement-cell.chosen{opacity:.72;fill:#afd17a3d;stroke-width:1.4}
:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama).grid-preview .movement-cell.chosen{opacity:1;fill:#b3d48166;stroke:#d2eea6;stroke-width:1.7}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama) .movement-cell.hovered{opacity:1;fill:#d0e6a099;stroke:#f2ffd8;stroke-width:2}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama).grid-blocked .movement-cell.hovered{fill:#c558465e;stroke:#f08b68}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama).grid-blocked{cursor:not-allowed}
:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama)[data-home-action=choose] .movement-cell:not(.blocked){animation:grid-choice-pulse 1.6s ease-in-out infinite}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama)[data-home-action=choose] .movement-cell:nth-child(3n){animation-delay:-.35s}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama)[data-home-action=choose] .movement-cell:nth-child(3n + 1){animation-delay:-.7s}
@keyframes grid-choice-pulse{0%,100%{fill:#a8d57840;stroke:#badf91;opacity:.65}50%{fill:#c0e58a8c;stroke:#e4ffc1;opacity:1;stroke-width:1.8}}
.zombie-observation{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;opacity:0;transition:opacity 180ms;overflow:hidden}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama)[data-home-action=observe] .zombie-observation{opacity:1}.zombie-halo{fill:#eab857;opacity:.8;animation:zombie-alert 2.2s ease-in-out infinite}.zombie-outline{fill:#e2b04c18;stroke:#f1c469;stroke-width:.8}.zombie-eye{filter:drop-shadow(0 2px 3px #000a)}.zombie-eye>circle:first-child{fill:#142116;stroke:#d9b865;stroke-width:1.2}.zombie-eye>path{fill:none;stroke:#f5d68d;stroke-width:1.7}.zombie-eye .eye-pupil{fill:#f5d68d}.zombie-eye{animation:eye-hover 2.2s ease-in-out infinite}
@keyframes zombie-alert{50%{opacity:.4}}@keyframes eye-hover{50%{translate:0 -2px}}
.fx-paused .zombie-observation *,.fx-paused :is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama) .movement-cell,body.environment-off .zombie-observation *{animation-play-state:paused!important}
body.environment-off :is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama) .movement-cell{animation-play-state:paused!important}
#siteDialog.outcome-dialog{--outcome-accent:#edc575;--outcome-line:#a48546;--outcome-dark:#1b2619;width:min(510px,calc(100vw - 32px));border:1px solid var(--outcome-line);padding:7px;background:#080e0b;color:#e8e3d3;box-shadow:0 18px 80px #000c,0 0 0 3px #0b120d,0 0 0 4px #655436;overflow:visible}
#siteDialog.outcome-die{--outcome-accent:#db937c;--outcome-line:#98624c;--outcome-dark:#291d17}
.outcome-dialog .dialog-inner{position:relative;padding:44px 32px 22px;border:1px solid var(--outcome-line);background:radial-gradient(ellipse at 50% 15%,var(--outcome-dark),#101911 75%)}
.outcome-dialog .dialog-inner:before,.outcome-dialog .dialog-inner:after{content:'';position:absolute;top:8px;width:5px;height:5px;border-radius:50%;background:#bfa979;box-shadow:0 0 0 2px #40382b,0 1px 2px #000}.outcome-dialog .dialog-inner:before{left:8px}.outcome-dialog .dialog-inner:after{right:8px}
.outcome-dialog #dialogTitle{margin:0;color:var(--outcome-accent);font:700 clamp(35px,6vw,54px)/1.1 Oswald,Arial,sans-serif;text-align:center;text-transform:uppercase;letter-spacing:1px;text-shadow:0 2px #000}
.outcome-dialog .dialog-close{color:#d6c69d;background:#152017;border:1px solid #5d623f;right:10px;top:10px;min-width:36px;min-height:36px}
.turn-outcome{text-align:center;font-family:'Roboto Condensed',Arial,sans-serif}.outcome-eyebrow{color:#b8bf9a!important;font-size:10px!important;letter-spacing:2px;margin:12px 0 22px!important}.outcome-emblem{width:82px;height:82px;margin:0 auto 20px;display:grid;place-items:center;border:1px solid var(--outcome-line);background:#111b13;clip-path:polygon(20% 0,80% 0,100% 20%,100% 80%,80% 100%,20% 100%,0 80%,0 20%);box-shadow:inset 0 0 20px var(--outcome-dark)}
.outcome-emblem svg{width:44px;height:44px;fill:none;stroke:var(--outcome-accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.outcome-message{font-size:16px!important;line-height:1.5;margin:0 auto!important;max-width:330px;color:#d4d4bf!important}.outcome-divider{display:flex;align-items:center;gap:12px;max-width:250px;margin:24px auto;color:var(--outcome-line)}.outcome-divider span{height:1px;flex:1;background:var(--outcome-line)}.outcome-divider b{font-size:8px}
.outcome-dialog .outcome-action{min-height:50px;min-width:240px;display:inline-flex;align-items:center;justify-content:center;gap:18px;margin:0;padding:12px 22px;font:600 19px Oswald,Arial,sans-serif;text-transform:uppercase;letter-spacing:.5px;border:1px solid #f0d592;background:linear-gradient(#e3ba69,#b58b42);color:#191e12;box-shadow:inset 0 0 0 3px #a78343,0 3px 0 #554226;cursor:pointer}.outcome-die .outcome-action{background:linear-gradient(#ce967e,#a36950);border-color:#e5b19c;box-shadow:inset 0 0 0 3px #8b5a44,0 3px 0 #472d21}.outcome-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.outcome-action:hover,.outcome-action:focus-visible{filter:brightness(1.12);outline:2px solid var(--outcome-accent);outline-offset:4px}.outcome-action:disabled{cursor:default;opacity:.7;filter:none}.outcome-receipt{min-height:20px;margin:15px 0 0!important;font-size:12px!important;line-height:1.4;color:var(--outcome-accent)!important}.reward-collected .outcome-emblem{background:#334327}
@media(max-width:900px){.home-hero .hero-local-effects{display:block}.home-hero .hero-radio{display:grid;width:190px;min-height:48px;margin-bottom:0;font-size:12px}.radio-click-hint{font-size:10px}.outcome-dialog .dialog-inner{padding:48px 20px 20px}.outcome-dialog .dialog-close{min-width:44px;min-height:44px}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama) .movement-key{max-width:82%;font-size:8px}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama) .step-caption{max-width:65%;font-size:8px}}
#siteDialog.outcome-dialog #dialogContent .outcome-action{display:inline-flex;margin:0;padding:12px 22px;border:1px solid #f0d592;background:linear-gradient(#e3ba69,#b58b42);color:#191e12}
#siteDialog.outcome-die #dialogContent .outcome-action{background:linear-gradient(#ce967e,#a36950);border-color:#e5b19c;color:#221610}
@media(prefers-reduced-motion:reduce){.zombie-observation *,:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama) .movement-cell{animation:none!important}:is(.home-diorama,.gameplay-diorama,.gameplay-mobile-diorama)[data-home-action=choose] .movement-cell:not(.blocked){opacity:1;fill:#b8da7e66;stroke:#d6ecad}.zombie-observation{transition:none}}

/* Gameplay: enemy silhouettes and practical lights mapped to each source image. */
.gameplay-hero-effects{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}
.gameplay-effects-mobile{display:none}
.enemy-signal{animation:enemy-alert 2.8s ease-in-out var(--enemy-delay,0s) infinite}
.enemy-bloom{fill:none;stroke:#e15943;stroke-width:3;opacity:.7;filter:blur(2px)}
.enemy-outline{fill:#b6432b12;stroke:#ee7e62;stroke-width:1.05;stroke-linejoin:round}
@keyframes enemy-alert{0%,100%{opacity:.18}38%,55%{opacity:.95}72%{opacity:.4}}
.pho-sign-light{--lamp-cycle:7.8s;--lamp-delay:-2.4s}
.sign-bloom{fill:#d66031;opacity:.15;filter:blur(7px);animation:lamp-flicker var(--lamp-cycle) linear var(--lamp-delay) infinite}
.sign-lit{filter:brightness(1.45) saturate(1.15);animation:sign-flicker var(--lamp-cycle) linear var(--lamp-delay) infinite}
.sign-dim{fill:#160b08;animation:lamp-cutout var(--lamp-cycle) linear var(--lamp-delay) infinite}
@keyframes sign-flicker{0%,43%,47%,51%,100%{opacity:.72}44%,46%{opacity:0}48%,50%{opacity:.22}68%{opacity:.5}}
.gameplay-grocery{--lamp-cycle:6.9s;--lamp-delay:-1.6s}.gameplay-grocery-second{--lamp-cycle:9.3s;--lamp-delay:-5.1s}
.gameplay-hero-effects .lamp-glow{filter:blur(3px)}
.gameplay-diorama .zombie-halo,.gameplay-mobile-diorama .zombie-halo{filter:drop-shadow(0 0 3px #e6af5c);fill:#eab85750}
.fx-paused .gameplay-mobile-diorama .movement-cell,body.environment-off .gameplay-mobile-diorama .movement-cell{animation-play-state:paused!important}
@media(max-width:900px){
 .gameplay-effects-desktop{display:none}.gameplay-effects-mobile{display:block}
 .gameplay-effects-mobile .enemy-outline{stroke-width:.45}.gameplay-effects-mobile .enemy-bloom{stroke-width:1;filter:blur(.6px)}
 .gameplay-effects-mobile .lamp-glow{filter:blur(1px)}
 .gameplay-mobile-diorama{cursor:crosshair;isolation:isolate;line-height:0;overflow:hidden}
 .gameplay-mobile-diorama>img{display:block}
 .gameplay-mobile-diorama .movement-key{top:6px;left:6px;font-size:8px;max-width:95%}
 .gameplay-mobile-diorama .step-caption{bottom:6px;right:6px;font-size:8px;line-height:1.35;max-width:70%}
 .gameplay-mobile-diorama figcaption{display:none}
 .gameplay-mobile-diorama .movement-cell{stroke-width:.35}.gameplay-mobile-diorama .movement-cell.chosen{stroke-width:.5}
 .gameplay-mobile-diorama .movement-path{stroke-width:.55}.gameplay-mobile-diorama .movement-target{stroke-width:.6}
 .gameplay-mobile-diorama .zombie-outline{stroke-width:.3}
}
@media(prefers-reduced-motion:reduce){.enemy-signal,.sign-lit,.sign-dim,.sign-bloom{animation:none!important}}

/* World source artwork: weather, receiver signal, lamplight and anchored hair. */
.world-weather-effects,.world-radio-effects,.world-hair-effects{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.world-weather-effects .lamp-glow{filter:blur(3px)}
.world-street-light{--lamp-cycle:7.6s;--lamp-delay:-2.1s}.world-shop-light{--lamp-cycle:9.4s;--lamp-delay:-5.6s}.world-distant-light{--lamp-cycle:11.1s;--lamp-delay:-7.2s}
.world-window-light{--lamp-cycle:12.3s;--lamp-delay:-4.1s}.world-window-lit{filter:brightness(1.25);animation:sign-flicker var(--lamp-cycle) linear var(--lamp-delay) infinite}.world-window-dim{fill:#24190d;animation:lamp-cutout var(--lamp-cycle) linear var(--lamp-delay) infinite}
.world-weather-effects .water-ripple{stroke:#ead7ac;stroke-width:.8}
.family-photo-light{animation:photo-illumination 7.2s ease-in-out infinite}
.family-photo-lit{filter:brightness(1.6) saturate(.9)}.family-photo-warmth{fill:#e7ba6821}.family-photo-dim{fill:#16170f;animation:photo-shadow 7.2s ease-in-out infinite}
@keyframes photo-illumination{0%,100%{opacity:.3}48%{opacity:.94}68%{opacity:.75}}
@keyframes photo-shadow{0%,100%{opacity:.27}48%{opacity:0}68%{opacity:.08}}
.receiver-led{animation:receiver-pulse 3.2s linear infinite}.receiver-led-core{fill:#b3e782}.receiver-led-bloom{fill:#75b85a;filter:blur(2px);opacity:.7}
@keyframes receiver-pulse{0%,8%,16%,24%,75%,100%{opacity:.15}3%,12%,21%{opacity:1}30%,60%{opacity:.5}}
.receiver-waves{fill:none;stroke:#93c473;stroke-width:.75;stroke-linecap:round}.receiver-waves path{animation:receiver-wave 3.2s ease-out infinite}.receiver-waves path:nth-child(2){animation-delay:.28s}.receiver-waves path:nth-child(3){animation-delay:.56s}
@keyframes receiver-wave{0%,12%,100%{opacity:0}26%{opacity:.65}75%{opacity:0}}
.receiver-scan{fill:none;stroke:#e8bd68;stroke-width:1;animation:receiver-scan 5.5s ease-in-out infinite alternate}.receiver-level{fill:none;stroke:#d5d89b;stroke-width:.65;opacity:.4;animation:receiver-level 3.2s ease-in-out infinite}
@keyframes receiver-scan{to{transform:translateX(66px)}}@keyframes receiver-level{30%{opacity:.7}60%{opacity:.15}}
@media(max-width:900px){
 .world-radio .scene-fx{top:auto;bottom:0;height:auto;aspect-ratio:2.7}
 .world-overlook .scene-fx{height:auto;aspect-ratio:698/361}
}

/* Home humanity: anchored family fabric, distant smoke and windborne street dust. */
.humanity-wind-effects{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.humanity-smoke{fill:url(#humanity-smoke-shade);opacity:0;transform-box:view-box;animation:humanity-smoke-rise 10s ease-out var(--smoke-delay,0s) infinite}
.secondary-smoke{animation-duration:12s;fill:#4c4b43}
@keyframes humanity-smoke-rise{0%{transform:translate(2px,16px) scale(.86);opacity:0}18%{opacity:.58}55%{opacity:.5}100%{transform:translate(-18px,-50px) scale(1.14);opacity:0}}
.humanity-distant-fire ellipse{fill:#d69444;opacity:.16;filter:blur(3px);animation:humanity-fire-glow 3.7s ease-in-out var(--fire-delay,0s) infinite}
.humanity-distant-fire path{fill:#efbf67;opacity:.6;transform-origin:center bottom;transform-box:fill-box;animation:humanity-fire-flicker 2.3s ease-in-out var(--fire-delay,0s) infinite}
@keyframes humanity-fire-glow{50%{opacity:.34}}
@keyframes humanity-fire-flicker{0%,100%{opacity:.3;transform:scaleY(.75)}40%{opacity:.7;transform:scaleY(1.1)}70%{opacity:.45;transform:scaleY(.9)}}
.humanity-dust{fill:#d5bc83;opacity:0;animation:humanity-dust-gust var(--dust-cycle,6s) linear var(--dust-delay,0s) infinite}
@keyframes humanity-dust-gust{0%{transform:translate(0,0);opacity:0}15%{opacity:.55}70%{opacity:.35}100%{transform:translate(210px,var(--dust-rise,-16px));opacity:0}}
.humanity-dust-ribbon{fill:none;stroke:#d6bc8540;stroke-width:1.6;filter:blur(1.5px);stroke-dasharray:80 190;animation:humanity-dust-ribbon 6s linear infinite;opacity:.45}.humanity-dust-ribbon.second-ribbon{animation-delay:-3s;stroke-width:2;opacity:.35}
@keyframes humanity-dust-ribbon{to{stroke-dashoffset:-270}}
@media(max-width:900px){.home-humanity .scene-fx{height:auto;aspect-ratio:604/251}}
