.portal-splash.splash-intro,
.portal-splash.splash-intro[data-playing] {
  position: fixed;
  inset: 0;
  z-index: 1000;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  min-height: 100dvh;
  background: #faf6f4;
  color: #332b32;
  animation: none;
  transition: opacity 240ms ease;
}

body.portal-splash-active { overflow: hidden; }
.portal-splash.is-leaving { opacity: 0; pointer-events: none; }

.portal-splash .splash-intro__title {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #332b32;
}

.portal-splash .splash-intro__title span { color: #8d3f5d; }
.portal-splash .splash-intro__frame { grid-row: 1 / 3; }
.portal-splash .splash-intro__frame picture { display: block; width: 100%; height: 100%; }
.portal-splash .splash-intro__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }

.portal-splash .daily-sentence--splash {
  --daily-ink: #332b32;
  --daily-muted: #756c73;
  --daily-accent: #8d3f5d;
  --daily-line: #e8dfe1;
  grid-column: 1;
  grid-row: 2;
}

.portal-splash__hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .portal-splash.splash-intro,
  .portal-splash.splash-intro[data-playing] { min-height: 100dvh; }
  .portal-splash .splash-intro__frame { order: 1; }
  .portal-splash .daily-sentence--splash { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-splash.splash-intro { display: none; }
  .portal-splash.splash-intro { animation: none !important; transition: none !important; }
}
