
/* V17 · clean all-illustration face states + natural light shading */
.magic-scene .magic-glasses-overlay,.magic-scene .magic-lamp-mask,.magic-scene .magic-string-mask,
.magic-scene .magic-candle-mask,.magic-scene .magic-fire-mask,.magic-scene .magic-item-mask { display:none!important }
.magic-scene { isolation:isolate; --ambient-level:1; --ambient-saturation:1.05; --warm-opacity:.8; }
.magic-scene .magic-scene-art{filter:brightness(var(--ambient-level)) saturate(var(--ambient-saturation))!important;transition:filter .85s ease, opacity .36s ease;transform-origin:center center}
.magic-scene .magic-scene-art { image-rendering:auto; }
.magic-scene .magic-lamp-glow,.magic-scene .magic-candle-glow,.magic-scene .magic-string-glow{transition:opacity .55s ease!important;mix-blend-mode:screen;opacity:.65;}
.magic-scene[data-lamp='off'] .magic-lamp-glow,.magic-scene[data-candles='off'] .magic-candle-glow,.magic-scene[data-stringlights='off'] .magic-string-glow,.magic-scene[data-fire='off'] .magic-ambient-fire,.magic-scene[data-fire='off'] .magic-firespark {opacity:0!important;animation:none!important}
.magic-scene[data-fire='off'] .magic-hotspot.magic-fire:after{content:'🔥 Off';position:absolute;bottom:1%;right:0;padding:5px 8px;border-radius:10px;color:#fff3ef;font-size:.7rem;background:#2d1b36c9;white-space:nowrap;transform:translateX(0)}
.magic-ambient-fire{transition:opacity .5s ease!important}
.magic-ambient-twinkle{opacity:.8}
.magic-scene[data-motion='on'] .magic-ambient-twinkle{animation:v17-float 7s ease-in-out infinite alternate}
.magic-scene[data-motion='off'] .magic-ambient-twinkle{animation:none}
.magic-ambient-twinkle span{animation:v17-twinkle 3.6s ease-in-out infinite}
.magic-scene[data-motion='off'] .magic-ambient-twinkle span{animation:none}
@keyframes v17-float{from{transform:translateY(0)}to{transform:translateY(-4px)}}
@keyframes v17-twinkle{0%,100%{opacity:.4}50%{opacity:1}}
.magic-room-status{font-size:.84rem;line-height:1.45;color:#f0d7e1;margin-top:12px}
.magic-soundboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.75fr);gap:10px;margin:12px 0 4px}
.magic-soundboard label{font-size:.82rem;font-weight:700;color:#f1dfe4;display:flex;flex-direction:column;gap:6px;min-width:0}
.magic-soundboard select{width:100%;border-radius:12px;padding:12px 10px;border:1px solid #dca6cc75;background:#3b2649;color:#fff5f0;font:600 .92rem system-ui}
.magic-soundboard input[type='range']{width:100%;accent-color:#eda6d1;min-height:42px}
.magic-scene .magic-hotspot[data-magic-avatar]{-webkit-tap-highlight-color:transparent;outline:0!important;box-shadow:none!important}
.magic-scene .magic-hotspot[data-magic-avatar]:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:none!important}
.magic-audio-hint{margin:10px 0 0;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,220,240,.12);color:#dec6d3;font-size:.79rem;line-height:1.45}
.cw-custom-rail{max-width:100%}
.cw-room-builder{overflow-x:hidden;}
@media(max-width:680px){.magic-soundboard{grid-template-columns:1fr}.magic-live-controls{margin-inline:auto;max-width:100%;overflow:hidden}.cw-room-builder,.cw-custom-panel{max-width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){.magic-scene-art,.magic-scene-layer,.magic-ambient-twinkle{transition:none!important;animation:none!important}}

/* Keep the star counter out of the illustrated wall calendar */
.cw-stage-card.magic-upgraded .magic-room-hud{position:relative!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;display:flex!important;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:9px 12px 11px;background:linear-gradient(135deg,#40264f,#261633);border-radius:0 0 18px 18px;max-width:100%}
.cw-stage-card.magic-upgraded .magic-room-score,.cw-stage-card.magic-upgraded .magic-room-next{position:relative!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;transform:none!important;margin:0!important;min-width:0;max-width:100%}
