/* Descent (Abyss; static/js/seat_entrance/entrances_abyss.js), 1.2 s: the water darkens round the plate and marine snow
   drifts down; the helmet descends on its air hose (lamp lit) beside a gliding lure, settles on the plate's top edge with a
   sonar ring and a breath of bubbles, and the plate rises as the water clears. Transform and opacity only, every
   animation finite. Reduce flashing: the lure's light and the rings at half. Low graphics: one snow layer, one ring.
   Calm motion: the host plays no entrance. */
.se-descent > * { pointer-events: none; }
.se-dc-water { inset: 0; border-radius: 50%; opacity: 0;
  background: radial-gradient(ellipse at 50% 46%, rgba(4,26,40,.82), rgba(2,12,24,.6) 48%, rgba(1,5,12,0) 74%);
  animation: seDcWater 1.2s ease-in-out forwards; }
@keyframes seDcWater { 0% { opacity: 0; transform: scale(.85); } 16%, 76% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }
.se-dc-snow { inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; animation: seDcSnow 1.2s linear forwards; }
.se-dc-snow.near { animation-name: seDcSnowNear; }
@keyframes seDcSnow { 0% { opacity: 0; transform: translateY(-14px); } 15%, 78% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes seDcSnowNear { 0% { opacity: 0; transform: translate(-4px, -30px); } 15%, 75% { opacity: .9; } 100% { opacity: 0; transform: translate(6px, 34px); } }
.se-dc-helmet { left: 50%; bottom: calc(var(--pad) + var(--h) - 7px); width: var(--dw); height: calc(var(--dw) * 3.25);
  margin-left: calc(var(--dw) * -.5); opacity: 0; transform-origin: 50% 0; animation: seDcDown 1.2s linear forwards; }
.se-descent svg { display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes seDcDown {
  0% { opacity: 0; transform: translateY(-120px) rotate(2.5deg); animation-timing-function: cubic-bezier(.3,.1,.5,1); }
  10% { opacity: 1; }
  52% { transform: translateY(3px) rotate(-1.2deg); animation-timing-function: ease-in-out; }
  60% { transform: translateY(-2px) rotate(.5deg); }
  68%, 82% { opacity: 1; transform: translateY(0) rotate(0); }
  100% { opacity: 0; transform: translateY(-10px); } }
.se-dc-helmet .ab-helmet-lamp circle:nth-of-type(2) { animation: seDcLamp 1.2s ease-in-out both; }
@keyframes seDcLamp { 0%, 40% { opacity: .5; } 58% { opacity: 1; } 100% { opacity: .6; } }
.se-dc-bub { opacity: 0; animation: seDcBub 1.2s ease-out both; }
.se-dc-bub.b1 { animation-name: seDcBub1; } .se-dc-bub.b2 { animation-name: seDcBub2; }
@keyframes seDcBub { 0%, 56% { opacity: 0; transform: none; } 62% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, -46px); } }
@keyframes seDcBub1 { 0%, 62% { opacity: 0; transform: none; } 68% { opacity: 1; } 100% { opacity: 0; transform: translate(-3px, -38px); } }
@keyframes seDcBub2 { 0%, 68% { opacity: 0; transform: none; } 74% { opacity: 1; } 100% { opacity: 0; transform: translate(9px, -30px); } }
.se-dc-lure { left: calc(50% + var(--dw) * .62); top: calc(var(--pad) - var(--dw) * .55); width: calc(var(--dw) * .55);
  height: calc(var(--dw) * .55); opacity: 0; animation: seDcLure 1.2s ease-out forwards; }
@keyframes seDcLure {
  0% { opacity: 0; transform: translate(30px, -110px); }
  14% { opacity: 1; }
  34% { transform: translate(-6px, -52px); }
  58% { transform: translate(8px, -6px); }
  80% { opacity: 1; transform: translate(2px, 0); }
  100% { opacity: 0; transform: translate(-2px, 4px); } }
.se-dc-ring { left: 50%; top: calc(var(--pad) + 2px); width: calc(var(--w) * 1.25); height: calc(var(--h) * 1.1 + 16px);
  margin: calc(var(--h) * -.55 - 8px) 0 0 calc(var(--w) * -.625); border: 1.5px solid rgba(79,240,220,.62); border-radius: 50%;
  opacity: 0; animation: seDcRing 1.2s ease-out forwards; }
.se-dc-ring.b { border-color: rgba(157,134,255,.42); animation-delay: .14s; }
@keyframes seDcRing { 0%, 54% { opacity: 0; transform: scale(.15); } 60% { opacity: .8; } 100% { opacity: 0; transform: scale(1.5); } }
.se-dc-rise { animation: seDcRise 1.2s linear; }
@keyframes seDcRise { 0%, 54% { opacity: .25; translate: 0 6px; }
  70% { opacity: .7; animation-timing-function: cubic-bezier(.2,.7,.3,1); } 90%, 100% { opacity: 1; translate: 0 0; } }

html.calm-flash .se-dc-lure svg { opacity: .5; }
html.calm-flash .se-dc-ring { border-color: rgba(79,240,220,.3); }
html.calm-flash .se-dc-ring.b { border-color: rgba(157,134,255,.2); }
html.calm-flash .se-dc-helmet .ab-helmet-lamp circle:nth-of-type(2) { animation: none; opacity: .55; }
html.calm-motion .se-descent { display: none; }
html.calm-motion .se-dc-rise { animation: none; }
html.gfx-low .se-dc-ring.b { display: none; }
