/* =========================================================
   DVSTUDIO V124 — iOS / Safari navigation hardening
   One navigation system only: the custom DV transition.
   The cover intentionally extends beyond the visual viewport so
   Safari's dynamic browser chrome can never expose page content.
   ========================================================= */

/* The custom DV transition owns cross-document navigation.
   Native browser View Transitions are explicitly disabled in v77 too. */

html,
body{
  min-height:100%;
  background:#061927;
}
@supports (min-height:100dvh){
  body{min-height:100dvh}
}

/* Never clip the overscan cover to Safari's visual viewport. */
.dv73-transition{
  position:fixed!important;
  inset:0!important;
  overflow:visible!important;
  background:#061927!important;
  isolation:isolate;
  transform:translateZ(0);
}
.dv73-transition-bg{
  position:fixed!important;
  left:-12vw!important;
  right:-12vw!important;
  top:-10vh!important;
  bottom:-30vh!important;
  inset:auto!important;
  min-width:124vw!important;
  min-height:140vh!important;
  transform:translateZ(0);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
@supports (height:100lvh){
  .dv73-transition-bg{
    top:-10lvh!important;
    bottom:-30lvh!important;
    min-height:140lvh!important;
  }
}

/* Arrival document stays covered until the live transition layer has
   painted above it. This pseudo layer is on <html>, not <body>, so the
   Adobe-font visibility gate cannot accidentally hide the cover. */
html.dv-internal-arrival,
html.dv-internal-arrival body{
  background:#061927!important;
}
html.dv-internal-arrival::before{
  content:"";
  position:fixed;
  z-index:2147483000;
  pointer-events:none;
  left:-12vw;
  right:-12vw;
  top:-10vh;
  bottom:-30vh;
  min-width:124vw;
  min-height:140vh;
  background:
    radial-gradient(circle at var(--dv-arrival-x,82%) var(--dv-arrival-y,14%),rgba(198,233,250,.42),transparent 19%),
    radial-gradient(circle at 62% 34%,rgba(82,139,176,.30),transparent 27%),
    linear-gradient(145deg,#04131d 4%,#092638 52%,#061927 100%);
  transform:translateZ(0);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
@supports (height:100lvh){
  html.dv-internal-arrival::before{
    top:-10lvh;
    bottom:-30lvh;
    min-height:140lvh;
  }
}

/* iPhone / touch devices: keep the visual language but remove the most
   expensive full-screen backdrop-filter work during navigation. */
@media (max-width:820px), (hover:none) and (pointer:coarse){
  .dv73-transition-bg{
    left:-16vw!important;
    right:-16vw!important;
    top:-12vh!important;
    bottom:-34vh!important;
    min-width:132vw!important;
    min-height:146vh!important;
    filter:none!important;
  }
  @supports (height:100lvh){
    .dv73-transition-bg{
      top:-12lvh!important;
      bottom:-34lvh!important;
      min-height:146lvh!important;
    }
  }
  html.dv-internal-arrival::before{
    left:-16vw;
    right:-16vw;
    top:-12vh;
    bottom:-34vh;
    min-width:132vw;
    min-height:146vh;
  }
  @supports (height:100lvh){
    html.dv-internal-arrival::before{
      top:-12lvh;
      bottom:-34lvh;
      min-height:146lvh;
    }
  }
  .dv73-transition-glass{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    animation:none!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 30px 90px rgba(0,0,0,.22)!important;
  }
}

/* When Safari restores a document from bfcache, stale arrival state must
   never keep an invisible page covered. */
html:not(.dv-internal-arrival) .dv73-transition:not(.is-leaving)[data-dv-idle="1"]{
  visibility:hidden;
  opacity:0;
}
