/* Scene colors describe the mood; the characters retain their original colors. */
.activity-scene{
  --wall-a:#d7eee2;--wall-b:#f5e5ce;--floor:#dcc8a8;--baseboard:#bca583;
  --rug-a:#a8c8b4;--rug-b:#e4b4a6;--window-sky:#b7e4e6;--hill:#9fbe8f;
  --plant:#91b57b;--sky:#bfe8e6;--cloud:#fff8e8;--sun:#fbd28c;--path:#f1d5ae;
  --lampshade:#dbac87;
}
[data-mood="cozy"]{--wall-a:#34435e;--wall-b:#62516f;--floor:#797586;--baseboard:#93879c;--rug-a:#61888e;--rug-b:#a27f9d;--window-sky:#22344f;--hill:#6d8790;--plant:#8a9b95;--lampshade:#d7a8a0}
[data-mood="rainy"]{--wall-a:#394f69;--wall-b:#58657f;--floor:#778b98;--baseboard:#9caaba;--rug-a:#5f8c96;--rug-b:#8795b1;--window-sky:#293e59;--hill:#687e8c;--plant:#829d9f;--lampshade:#c3abb1}
[data-mood="overcast"]{--wall-a:#71869a;--wall-b:#9091a8;--floor:#a6a8af;--baseboard:#c2bbbf;--rug-a:#8bacae;--rug-b:#b3a1af;--window-sky:#60778f;--hill:#80958c;--plant:#879f93;--lampshade:#d8c1ae}
[data-mood="playful"]{--wall-a:#49456e;--wall-b:#716190;--floor:#9286a6;--baseboard:#b49fbb;--rug-a:#63a7aa;--rug-b:#c98fae;--window-sky:#303958;--hill:#6e9ea2;--plant:#96bca7;--lampshade:#e3a0bc}
[data-mood="candle"]{--wall-a:#49405c;--wall-b:#715369;--floor:#9e8790;--baseboard:#bba0a3;--rug-a:#809b9a;--rug-b:#c1939b;--window-sky:#2f3655;--hill:#8c919b;--plant:#9bab93;--lampshade:#e2b286}
[data-mood="starlight"]{--wall-a:#314660;--wall-b:#585b81;--floor:#888fa7;--baseboard:#aba9bd;--rug-a:#7bacad;--rug-b:#b397bd;--window-sky:#243854;--hill:#7b9fa4;--plant:#9ab5a7;--lampshade:#d8c0ab}
[data-mood="peach"]{--sky:#f8c9bc;--cloud:#fff2db;--sun:#ffe0a0;--hill:#a9c69a;--plant:#83ac87;--path:#efd2ae}
[data-mood="sunset"]{--sky:#e9b6c3;--cloud:#ffe1ca;--sun:#ffd39a;--hill:#b3a6b4;--plant:#929d9b;--path:#eec9af}
[data-mood="honey"]{--wall-a:#f3d5a5;--wall-b:#f3bba7;--floor:#d7ac88;--baseboard:#b89477;--rug-a:#a9b896;--rug-b:#da9e92;--window-sky:#e5ddd1;--hill:#acbe8c;--plant:#9caa70;--lampshade:#d48774}
[data-mood="lavender"]{--wall-a:#d8cce9;--wall-b:#f2d3de;--floor:#c6b5cd;--baseboard:#aa98b4;--rug-a:#a2c3bb;--rug-b:#dda8bc;--window-sky:#c4dbe9;--hill:#a2b99b;--plant:#8ba98b;--lampshade:#d1a0ae}
[data-mood="spring"]{--sky:#bce8dc;--cloud:#fff6df;--sun:#ffcf85;--hill:#a3c983;--plant:#79ac73;--path:#efd1ab}
/* Actual illustrated objects are the controls; no extra labels or UI panels. */
.environment-target{margin:0;padding:0;border:0;background:transparent;border-radius:14px;cursor:pointer;color:inherit;z-index:1;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:transform 450ms cubic-bezier(.23,1,.32,1)}
.environment-target:focus-visible{outline:3px dashed #fff4c6;outline-offset:6px}
.room-window{z-index:1;pointer-events:auto}
.environment-target svg{width:100%;height:100%;display:block;overflow:visible}
.window-raincloud{opacity:0;transition:opacity 400ms ease}
[data-weather="rain"] .window-raincloud{opacity:.9}
[data-weather="rain"] .window-sun{opacity:.18}
.window-sun{transition:opacity 400ms ease}
.season-weather{pointer-events:none}
.activity-scene[data-weather="clear"] .season-weather i{display:none}
.activity-scene[data-weather="rain"] .season-weather i{display:block;left:16%;top:27%;width:3px;height:9px;border-radius:3px;background:#bdd9eb;animation:window-rain 2.8s linear infinite}
.activity-scene[data-weather="rain"] .season-weather i:nth-child(2){left:20%;top:24%;animation-delay:-1.2s}
.activity-scene[data-weather="rain"] .season-weather i:nth-child(3){left:24%;top:29%;animation-delay:-.6s}
.activity-scene[data-weather="rain"] .season-weather i:nth-child(4){left:77%;top:25%;animation-delay:-1.9s}
.activity-scene[data-weather="rain"] .season-weather i:nth-child(5){left:81%;top:28%;animation-delay:-.4s}
.sky-orb{position:absolute;left:80%;top:6%;width:10%;min-width:52px;max-width:100px;aspect-ratio:1}
.orb-halo{transform-origin:50px 50px;animation:orb-breathe 6s ease-in-out infinite}
.orb-rays{transform-origin:50px 50px;animation:sun-turn 80s linear infinite}
.cloud-shape{animation:cloud-drift 14s ease-in-out infinite alternate}
.sky-cloud:nth-of-type(2) .cloud-shape{animation-delay:-7s}
[data-sun="warm"]{--sky:#efb3ac;--sun:#ffbb77;--cloud:#ffe3c4;--hill:#b8ad8c;--path:#e9bf9e}
.ambient-lamp{position:absolute;top:0;width:9%;height:34%;max-width:105px;min-width:44px;border-radius:0;transform-origin:top center}
.lamp-left{left:1%}.lamp-right{right:1%}
.ambient-lamp svg{object-fit:contain}
.lamplight{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at 7% 28%,#ffe3a33d,transparent 48%),radial-gradient(ellipse at 93% 28%,#ffe3a33d,transparent 48%);opacity:0;transition:opacity 500ms ease}
[data-lamp="on"] .lamplight{opacity:1}
[data-lamp="on"] .ambient-lamp{--lampshade:#f4c68c}
[data-lamp="on"] .ambient-lamp ellipse{fill:#fff5d1}
.arcade-star{position:absolute;left:calc(50% - 25px);top:24%;width:50px;height:50px}
.arcade-confetti{position:absolute;inset:0;pointer-events:none;z-index:1;opacity:0;transition:opacity 250ms ease}
.arcade-confetti i{position:absolute;top:32%;left:17%;width:14%;height:14%;border:3px solid #f6b3d3;border-radius:12px;opacity:.6}
.arcade-confetti i:nth-child(2){left:69%;border-color:#91ded0}
.arcade-confetti i:nth-child(3){top:17%;left:48%;width:4%;height:4%;background:#ffe8aa;border:0;border-radius:50%}
[data-arcade="on"] .arcade-confetti{opacity:1}
[data-arcade="on"]{--wall-a:#5b477e;--floor:#a091b4}
.environment-target[data-touched="true"]{animation:environment-touch 420ms cubic-bezier(.23,1,.32,1)}
@keyframes environment-touch{0%,100%{scale:1}45%{scale:.96}}
@keyframes cloud-drift{to{transform:translateX(22px)}}
@keyframes orb-breathe{50%{transform:scale(1.07);opacity:.28}}
@keyframes sun-turn{to{transform:rotate(360deg)}}
@media(hover:hover) and (pointer:fine){.environment-target:hover{filter:brightness(1.04)}}
@media(max-width:700px){.ambient-lamp{height:35%;width:10%;min-width:32px}.sky-orb{left:79%;top:14%;width:14%}.arcade-star{top:32%;width:44px;height:44px;left:calc(50% - 22px)}}
@media(orientation:landscape) and (max-height:600px){.ambient-lamp{height:33%;width:7%}.sky-orb{top:7%;width:7%;min-width:44px;max-width:62px}.arcade-star{top:22%;width:40px;height:40px;left:calc(50% - 20px)}}
@media(prefers-reduced-motion:reduce){.environment-target,.lamplight,.window-raincloud,.window-sun,.arcade-confetti{transition:none}.environment-target[data-touched="true"]{animation:none}}
.ambient-lamp::before{content:'';position:absolute;left:calc(50% - 1px);top:0;bottom:12px;width:2px;background:#7e6d75;pointer-events:none}
.ambient-lamp svg{position:absolute;bottom:0;left:0;height:auto;aspect-ratio:1}
#journey[data-mood="playful"] #journey-title{color:#fff0ca;text-shadow:0 3px 0 #38304f}
#journey[data-mood="sunset"] #journey-title{color:#794c5d;text-shadow:0 3px 0 #ffe2c8}

.activity-scene[data-weather="rain"] .season-weather{display:block}
[data-instant="true"] .lamplight,[data-instant="true"] .window-raincloud,[data-instant="true"] .window-sun,[data-instant="true"] .arcade-confetti{transition:none}
@media(max-width:700px){.ambient-lamp{min-width:44px}.ambient-lamp svg{width:85%;left:7.5%}}
