/* MISIARIUM 10.38 — residents cooperate; single new story at a time. */
.ca28 .cre38-hotspot{position:absolute;z-index:25;display:none;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-width:45px;min-height:45px;padding:4px 6px;color:#fffbd7;border:2px solid #ffe9a3;border-radius:15px;background:#1b4765e8;box-shadow:0 4px 13px #05162ea8;font-size:23px;cursor:pointer;touch-action:manipulation;animation:cre38-pulse 2.9s ease-in-out infinite}
.ca28 .cre38-hotspot span{font:700 10px/1.1 system-ui,sans-serif;color:#fff}.ca28 .cre38-hotspot:focus-visible{outline:4px solid #fff0a4;outline-offset:3px}
.ca28 .cre38-supply{left:52%;top:45%}.ca28 .cre38-irrigation{left:80%;top:63%}.ca28 .cre38-greening{left:29%;top:46%}.ca28 .cre38-tram{left:60%;top:79%}.ca28 .cre38-celebration{left:50%;top:28%}
.ca28.cre38-ready-supply:not(.cre38-done-supply) .cre38-supply{display:flex}
.ca28.cre38-ready-irrigation:not(.cre38-done-irrigation) .cre38-irrigation{display:flex}
.ca28.cre38-ready-greening:not(.cre38-done-greening) .cre38-greening{display:flex}
.ca28.cre38-ready-tram:not(.cre38-done-tram) .cre38-tram{display:flex}
.ca28.cre38-ready-celebration .cre38-celebration{display:flex}
.ca28.cre38-done-celebration .cre38-celebration{background:#245c43e8;border-color:#99f3b5;animation:none}
.ca28 .cre38-city-details,.ca28 .cre38-city-actors{position:absolute;inset:0;z-index:16;pointer-events:none}
.ca28 .cre38-detail,.ca28 .cre38-actor{position:absolute;display:none;font-size:21px;text-shadow:0 2px 5px #061a25bf}
.ca28 .cre38-cargo{left:70%;top:42%}.ca28 .cre38-water{left:30%;top:58%}.ca28 .cre38-plants{left:44%;top:29%}.ca28 .cre38-transport{left:57%;top:70%}.ca28 .cre38-fest{left:51%;top:18%;font-size:33px}
.ca28.cre38-done-supply .cre38-cargo,.ca28.cre38-done-irrigation .cre38-water,.ca28.cre38-done-greening .cre38-plants,.ca28.cre38-done-tram .cre38-transport,.ca28.cre38-done-celebration .cre38-fest{display:block;animation:cre38-pop 3s ease-in-out infinite}
.ca28 .cre38-moving-nia{left:43%;top:57%}.ca28 .cre38-moving-raya{left:75%;top:47%}.ca28 .cre38-moving-mira{left:37%;top:52%}.ca28 .cre38-moving-tino{left:59%;top:76%}
.ca28.cre38-done-supply .cre38-moving-nia,.ca28.cre38-done-irrigation .cre38-moving-raya,.ca28.cre38-done-greening .cre38-moving-mira,.ca28.cre38-done-tram .cre38-moving-tino{display:block}
.ca28.cre38-done-supply .cre38-moving-nia{animation:cre38-courier 13s linear infinite alternate}
.ca28.cre38-done-irrigation .cre38-moving-raya{animation:cre38-worker 4s ease-in-out infinite}
.ca28.cre38-done-greening .cre38-moving-mira{animation:cre38-gardener 7s ease-in-out infinite alternate}
.ca28.cre38-done-tram .cre38-moving-tino{animation:cre38-tram 11s linear infinite alternate}
@keyframes cre38-pulse{50%{box-shadow:0 5px 18px #fff0a488;border-color:#b4fad2}}
@keyframes cre38-pop{50%{transform:scale(1.09) translateY(-3px)}}
@keyframes cre38-courier{to{transform:translate(75px,-27px)}}
@keyframes cre38-worker{50%{transform:rotate(-7deg) translateY(-4px)}}
@keyframes cre38-gardener{to{transform:translate(49px,13px)}}
@keyframes cre38-tram{to{transform:translate(100px,-27px)}}
.cre38-scene .cre38-board{padding:16px;border:1px solid #a6d9e185;border-radius:20px;background:linear-gradient(150deg,#103753,#112942);color:#fff}
.cre38-scene .cre38-board h3{color:#fff0b7;margin:0 0 12px;font-size:1.1rem}
.cre38-scene .cre38-options{display:flex;flex-wrap:wrap;gap:9px;margin:8px 0 14px}
.cre38-scene .cre38-options button,.cre38-scene .cre38-places button,.cre38-scene .cre38-track button{font:650 14px/1.4 system-ui,sans-serif;color:#f7fbff;background:#24506c;border:1px solid #91bccc;border-radius:12px;padding:10px 12px;min-height:44px;cursor:pointer}
.cre38-scene .cre38-options button:hover,.cre38-scene .cre38-places button:hover,.cre38-scene .cre38-track button:hover{background:#326781}
.cre38-scene button:focus-visible{outline:3px solid #ffe08a;outline-offset:3px}
.cre38-scene .cre38-options button[aria-pressed=true],.cre38-scene .cre38-places button.cre38-filled,.cre38-scene .cre38-track button.cre38-visited{border-color:#92f4bf;background:#215846}
.cre38-scene .cre38-track{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;min-height:155px;margin-top:20px;padding:50px 10px 12px;background:linear-gradient(180deg,#2e5f83,#19535c);border-radius:15px;border:1px solid #aee7c0}
.cre38-scene .cre38-track::before{content:"";position:absolute;top:98px;left:8%;width:84%;border-top:5px dashed #ffdf96}
.cre38-scene .cre38-track button{z-index:1;display:flex;align-items:center;flex-direction:column;font-size:23px}.cre38-scene .cre38-track small{font-size:12px}
.cre38-scene .cre38-runner{position:absolute;left:4%;top:29px;z-index:2;font-size:28px;transition:left .45s ease}
.cre38-scene .cre38-slots button{display:flex;flex:1 1 170px;flex-direction:column;gap:7px;align-items:start;text-align:left;border-style:dashed}
.cre38-scene .cre38-slots strong{font-size:13px;color:#fce5a5}
.cre38-scene .cre38-places{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cre38-scene .cre38-places button{min-height:110px;display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.cre38-scene .cre38-routebar,.cre38-scene .cre38-rolechain{min-height:54px;display:flex;align-items:center;padding:13px;border:1px dashed #9edbd6;border-radius:12px;background:#1b4c56;font-size:17px;font-weight:700;word-break:break-word}
.cre38-scene .cre38-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.cre38-scene .cre38-actions button{min-height:43px;padding:10px 16px;border-radius:12px;background:#f8d781;color:#163247;font-weight:800;border:0;cursor:pointer}
.cre38-scene .cre38-actions .cre38-light-btn{color:#fff;background:#326077;border:1px solid #9abccb}
.cre38-scene .cre38-feedback{border-left:3px solid #f5d687;padding:12px 14px;margin:16px 0 0;background:#143e57;color:#fff;min-height:45px}
.cre38-scene .cre38-feedback.cre38-success{border-color:#9cf0b6;color:#d4ffe5}
@media(max-width:600px){.cre38-scene .cre38-board{padding:12px}.cre38-scene .cre38-options{gap:6px}.cre38-scene .cre38-options button{flex:1 1 135px;padding:8px}.cre38-scene .cre38-places{grid-template-columns:1fr}.cre38-scene .cre38-places button{min-height:65px}.cre38-scene .cre38-track{gap:4px;padding-left:5px;padding-right:5px}.cre38-scene .cre38-track button{padding:6px 1px;font-size:19px}}
@media(prefers-reduced-motion:reduce){.ca28 .cre38-hotspot,.ca28 .cre38-detail,.ca28 .cre38-actor{animation:none!important}.cre38-scene .cre38-runner{transition:none}}
.ca28.ca28-paused .cre38-hotspot,.ca28.ca28-paused .cre38-detail,.ca28.ca28-paused .cre38-actor{animation-play-state:paused!important}
