/* Pause only perpetual atmosphere, never the opening fade or wordmark ident. */
.intro.atmosphere-paused .storm-far,
.intro.atmosphere-paused .storm-near,
.intro.atmosphere-paused .intro-orbit::after,
.intro.atmosphere-paused .intro-back,
.intro.atmosphere-paused .intro-pet-wrap img,
.intro.atmosphere-paused .intro-pet-halo{animation-play-state:paused!important}

/* B polished mobile crop: the face sits near 67% of the source width and
   20% of its height. Keep the first-screen art independent of text height.
   The composition still requires a real browser and device review. */
@media (max-width:800px) and (orientation:portrait) {
  html.b10-group-ready:not([data-b9-composition="b2"]) .hero-bg::before {
    inset:0 0 auto;
    height:100vh;
    height:100svh;
    background-size:auto 100%;
    background-position:68% top;
    background-repeat:no-repeat;
  }
  html.b10-group-ready:not([data-b9-composition="b2"]) .hero-content {
    margin-top:clamp(320px,49vh,540px);
    margin-top:clamp(320px,49svh,540px);
    padding-top:0;
    padding-bottom:150px;
  }
  /* Keep the portrait brighter than the copy field. */
  html.b10-group-ready:not([data-b9-composition="b2"]) .hero-bg::after {
    background:linear-gradient(180deg,#090609a3 0%,#09060914 16%,transparent 28%,#100a10cc 49%,#100a10 70%);
  }
  html.b10-group-ready:not([data-b9-composition="b2"]) .hero-vignette {
    background:linear-gradient(180deg,transparent 10%,#0e080c12 28%,#100a10ab 48%,#100a10f7 70%);
  }
  .hero-actions .button {
    min-height:48px;
    max-width:100%;
  }
  .hero-route { flex-wrap:wrap; }
  .world-tabs,.world-times,.red2-stage__controls { scroll-padding:0 12px; }
  /* Keep the six-island selector on one row instead of covering the time
     controls when text or viewport width grows. Native horizontal panning
     and pinch zoom remain available on the selector itself. */
  .world-tabs {
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    touch-action:auto;
    padding:4px 3px 5px;
    scrollbar-width:thin;
    scrollbar-color:#d47178 #1b0b12;
  }
  .world-tabs button,.world-times button,.red2-stage__controls button {
    min-height:44px;
    flex-shrink:0;
  }
}

@media (max-width:360px) and (orientation:portrait) {
  .hero-content { overflow-wrap:anywhere; }
  .hero-actions { display:grid;grid-template-columns:minmax(0,1fr); }
  .hero-actions .button { width:100%; }
  .hero-route { gap:10px; }
}

/* In short landscape windows do not force the body copy on top of the face. */
@media (min-width:501px) and (max-width:800px) and (orientation:landscape) and (max-height:500px) {
  html.b10-group-ready:not([data-b9-composition="b2"]) .hero-content {
    width:min(49%,420px);
    margin-top:145px;
    padding:0 0 140px 6%;
  }
  .hero-actions { flex-wrap:wrap; }
  .hero-actions .button { min-height:44px; }
}
