/* The native dialog and its focus stay in place underneath a pointer-transparent lens. */
.gravity-passage {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  background: transparent;
  z-index: 2147483600;
  --gravity-x: 54.8%;
  --tidal-size: min(118vmax,1480px);
}
.gravity-veil {
  position:absolute;inset:0;
  background:radial-gradient(ellipse at var(--gravity-x) 49.5%,#0a3949 0%,#0c3c49 27%,#082a37 59%,#061a28 92%);
  opacity:0;will-change:opacity;
}
.tidal-surface {
  position:absolute;
  left:var(--gravity-x);
  top:49.5%;
  width:var(--tidal-size);
  height:auto;
  max-width:none;
  aspect-ratio:1;
  opacity:0;
  transform-origin:center;
  will-change:transform,opacity;
}
.tidal-foam {width:calc(var(--tidal-size) * .6)}
html[data-portal-active] #detail {transition:none}
html[data-portal-active] .sdf-type-active {opacity:1!important}
html.has-three[data-portal-active] #stage:not(:has(> #kinetic)) #sculpt:not(:has(canvas[data-painted="true"])) .sculpt-poster {visibility:visible}
/* These are the large visible surfaces that otherwise have to rasterise for
   the first time on pointer-down. Native assets keep their real pixel density. */
@media(prefers-reduced-motion:no-preference) {
  #stage :is(.mast .identity,.mast nav,.story.active .line,.story.active .medium,
    .story.active .deck,.story.active .work-open,.object-label,.transport),
  #detail[open] :is(.studio-stage,.fr-console,.room-bar .identity,.room-bar nav) {will-change:transform}
}
@media(max-width:649px) {.gravity-passage{--gravity-x:51.5%}}
