/* FIXED109 — background-editor controls apply to the ACTUAL scene layer.
   FIXED101 places the independent forest scene on .event-panel.active:before,
   so these overrides intentionally target that same pseudo-element. */
body[data-stm-working-theme="woodland"] .event-panel.active:before{
  background-position:center,var(--stm-theme-position,center 48%)!important;
  filter:saturate(var(--stm-theme-saturation,.97)) contrast(var(--stm-theme-contrast,.98)) brightness(var(--stm-theme-brightness,.96))!important;
  transform:scale(var(--stm-theme-zoom,1))!important;
  transform-origin:center center!important;
}
body[data-stm-working-theme="woodland"] .event-panel.active:after{
  background:
    radial-gradient(ellipse at 50% 36%,rgba(255,252,244,.28) 0 12%,rgba(255,250,240,var(--stm-theme-wash,.14)) 28%,rgba(255,248,238,.05) 46%,transparent 64%),
    linear-gradient(180deg,rgba(249,244,230,var(--stm-theme-wash,.14)),rgba(239,232,209,var(--stm-theme-wash,.14)))!important;
}
/* Non-raster theme families still honor treatment/zoom on their independent shell scene. */
body[data-stm-working-theme]:not([data-stm-working-theme="woodland"]) .event-panel.active:before{
  filter:saturate(var(--stm-theme-saturation,.97)) contrast(var(--stm-theme-contrast,.98)) brightness(var(--stm-theme-brightness,.96))!important;
  transform:scale(var(--stm-theme-zoom,1))!important;
  transform-origin:center center!important;
}
@media(max-width:919px){
  body[data-stm-working-theme="woodland"] .event-panel.active:before{
    background-position:center,var(--stm-theme-position,center 44%)!important;
    transform:scale(min(var(--stm-theme-zoom,1),1.08))!important;
  }
}
