/* All emitted light uses the photograph's object-fit / camera matrix in JS. */
body[data-design='tokyo'] .tokyo-hero-world.tk-atm-world {
  isolation: isolate;
}

body[data-design='tokyo'] .tk-atm-world .tokyo-hero-image {
  z-index: 0;
  transform-origin: 50% 50%;
  will-change: transform;
}

body[data-design='tokyo'] .tk-atm-world .tokyo-hero-shade {
  z-index: 2;
  pointer-events: none;
}

body[data-design='tokyo'] .tk-atm-world .tk-atm-dimming {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 1536px;
  height: 1024px;
  transform-origin: 0 0;
  pointer-events: none;
  mix-blend-mode: normal;
}

body[data-design='tokyo'] .tk-atm-world .tk-atm-emitter-mask {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: normal;
  will-change: opacity;
}

body[data-design='tokyo'] .tk-atm-world .tk-atm-lights,
body[data-design='tokyo'] .tokyo-hero-world.tk-atm-world .tokyo-rain.tk-atm-rain {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: screen;
}

body[data-design='tokyo'] .tk-atm-world .tk-atm-lights {
  z-index: 3;
}

body[data-design='tokyo'] .tk-atm-world .tokyo-rain.tk-atm-rain {
  z-index: 4;
}

body[data-design='tokyo'] .tk-atm-world[data-tk-atmosphere='paused'] .tokyo-hero-image,
body[data-design='tokyo'] .tk-atm-world[data-tk-atmosphere='fallback'] .tokyo-hero-image {
  will-change: auto;
}

body[data-design='tokyo'] .tk-atm-world[data-tk-atmosphere='paused'] .tk-atm-emitter-mask {
  will-change: auto;
}

body[data-design='tokyo'] .tk-atm-world[data-tk-atmosphere='reduced'] :is(.tk-atm-lights, .tk-atm-rain, .tk-atm-dimming),
body[data-design='tokyo'] .tk-atm-world[data-tk-atmosphere='fallback'] :is(.tk-atm-lights, .tk-atm-rain, .tk-atm-dimming) {
  visibility: hidden;
}

@media (prefers-reduced-motion:reduce) {
  body[data-design='tokyo'] .tk-atm-world :is(.tk-atm-lights, .tk-atm-rain, .tk-atm-dimming) {
    display: none !important;
  }
  body[data-design='tokyo'] .tk-atm-world .tokyo-hero-image {
    transform: none !important;
    will-change: auto;
  }
}
