/* The animation and its first painted frame share the same responsive stage. */
html[data-electric-bloom] body.calm .eb-portal :is(.eb-portal-poster,.eb-portal-canvas) {
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100svh;
  opacity: var(--eb-depth-opacity,1);
  transform: scale(var(--eb-depth-scale,1));
  transform-origin: center;
}
html[data-electric-bloom] body.calm .eb-portal .eb-portal-canvas { opacity: 0 }
html[data-electric-bloom] body.calm .eb-portal.is-rendered .eb-portal-canvas { opacity: var(--eb-depth-opacity,1) }
html[data-electric-bloom] body.calm .eb-portal.is-rendered .eb-portal-poster { visibility: hidden }
.doom-sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
html[data-electric-bloom] body.calm .doom-footer-index a { color:var(--em-teal) }
@media (max-width:420px) {
  html[data-electric-bloom]:root:root,
  html[data-electric-bloom]:root:root body.calm {
    min-width:0!important; max-width:100vw!important; overflow-x:clip!important;
  }
  html[data-electric-bloom]:root:root body.calm .sitebar,
  html[data-electric-bloom]:root:root body.calm #content#content .eb-portal {
    width:100vw!important; min-width:0!important; max-width:100vw!important;
  }
  html[data-electric-bloom]:root:root body.calm #cookie-notice {
    box-sizing:border-box!important; inset-inline:12px!important; width:auto!important;
    min-width:0!important; max-width:none!important; transform:none!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html[data-electric-bloom] body.calm .eb-portal :is(.eb-portal-poster,.eb-portal-canvas) { transform:none }
}
