/* Exposure applies to photographed surfaces. Labels, focus rings, and monitors
   remain separately lit. The technical campus uses its German clock. */
@media screen and (forced-colors:none) {
  html:not(.dw-contrast)[data-dw-camera-phase=dawn] {--dw-camera-exposure:brightness(.91) sepia(.12) saturate(.94)}
  html:not(.dw-contrast)[data-dw-camera-phase=dusk] {--dw-camera-exposure:brightness(.78) sepia(.19) saturate(.90)}
  html:not(.dw-contrast)[data-dw-camera-phase=night] {--dw-camera-exposure:brightness(.60) saturate(.72)}
  html:not(.dw-contrast)[data-dw-tech-phase=dawn] {--dw-tech-exposure:brightness(.91) sepia(.12) saturate(.94)}
  html:not(.dw-contrast)[data-dw-tech-phase=dusk] {--dw-tech-exposure:brightness(.78) sepia(.19) saturate(.90)}
  html:not(.dw-contrast)[data-dw-tech-phase=night] {--dw-tech-exposure:brightness(.60) saturate(.72)}

  #dw-home-webcam :is(.kiosk-room img,.kiosk-poster), [data-campus] :is(.tiles img,.picture>img) {
    filter:var(--dw-camera-exposure,none);
  }
  #dw-home-webcam .kiosk-room:is([data-room="7"],[data-room="8"],[data-room="9"],[data-room="10"]) img,
  #dw-home-webcam:has(.kiosk-room:is([data-room="7"],[data-room="8"],[data-room="9"],[data-room="10"])[aria-current]) .kiosk-poster,
  [data-campus] .tiles :is([data-room="7"],[data-room="8"],[data-room="9"],[data-room="10"]) img,
  [data-campus]:is([data-camera="7"],[data-camera="8"],[data-camera="9"],[data-camera="10"]) .picture>img,
  [data-tech-office] .tech-scene :is(picture>img,.crew-actor .crew-body,.crew-film-shot>img,.crew-film-shot>canvas) {
    filter:var(--dw-tech-exposure,none);
  }

  html[data-dw-tech-phase] [data-tech-office] .tech-scene::after {
    background:linear-gradient(140deg,transparent 48%,#172a4524);
  }
  html[data-dw-tech-phase=night] [data-tech-office] .tech-scene::after {
    background:linear-gradient(160deg,#26375d20,#101b322e);
  }

  /* K01 already uses separate, registered day, twilight and night plates.
     These other rooms have independent artwork layered above the original set. */
  #screen[data-light=dawn] {--dw-room-exposure:brightness(.91) sepia(.12) saturate(.94)}
  #screen[data-light=dusk] {--dw-room-exposure:brightness(.78) sepia(.19) saturate(.90)}
  #screen[data-light=night] {--dw-room-exposure:brightness(.60) saturate(.72)}
  html:not(.dw-contrast) #screen :is(.desk02-film-still,.desk02-film video,#week-image,.week-light),
  html:not(.dw-contrast) #screen #correspondence-stage::before {
    filter:var(--dw-room-exposure,none);
  }
  /* A second background layer shades only the wall behind the awards. */
  html:not(.dw-contrast) #screen[data-light=dawn] {--dw-wall-tint:#d89e5420}
  html:not(.dw-contrast) #screen[data-light=dusk] {--dw-wall-tint:#66492754}
  html:not(.dw-contrast) #screen[data-light=night] {--dw-wall-tint:#09203973}
  html:not(.dw-contrast) #screen:is([data-light=dawn],[data-light=dusk],[data-light=night]) #week-map {
    background-image:linear-gradient(var(--dw-wall-tint),var(--dw-wall-tint)),url(../js/webcam/v02/assets/weekly-atlas/preview.webp);
  }
  html:not(.dw-contrast) #screen:is([data-light=dawn],[data-light=dusk],[data-light=night]) .week-frame {
    background-image:linear-gradient(var(--dw-wall-tint),var(--dw-wall-tint)),url(../js/webcam/v02/assets/weekly-atlas-ui/walnut.webp);
  }
  html:not(.dw-contrast) #screen:is([data-light=dawn],[data-light=dusk],[data-light=night]) #hall-awards-shot:not([data-layout=compact]) .hall-wall {
    background-image:linear-gradient(var(--dw-wall-tint,transparent),var(--dw-wall-tint,transparent)),url(../js/webcam/v02/assets/hall-awards/room.webp);
  }
  html:not(.dw-contrast) #screen:is([data-light=dawn],[data-light=dusk],[data-light=night]) #hall-awards-shot[data-layout=compact] .hall-wall {
    background-image:linear-gradient(var(--dw-wall-tint),var(--dw-wall-tint)),linear-gradient(115deg,#182a20bb,#1e3021e8),url(../js/webcam/v02/assets/hall-awards/room.webp);
  }
}
