#first-video-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  overflow: hidden;
  background: #030615;
  color: #f0f4fc;
  font: 500 14px/1.5 var(--ok-font, system-ui, sans-serif);
  text-align: center;
  overscroll-behavior: contain;
  transition: opacity 240ms ease;
}

#first-video-splash[hidden] {
  display: none;
}

#first-video-splash[data-state="leaving"] {
  opacity: 0;
  pointer-events: none;
}

.first-video-splash-content {
  display: grid;
  justify-items: center;
  width: min(100%, 360px);
}

.first-video-splash-art {
  position: relative;
  isolation: isolate;
  width: clamp(184px, 57vw, 232px);
  aspect-ratio: 1;
  margin-bottom: -8px;
}

.first-video-splash-art::before {
  position: absolute;
  inset: -16%;
  z-index: -1;
  background: radial-gradient(ellipse, rgb(48 91 166 / 31%), transparent 66%);
  animation: first-video-splash-glow 2.8s ease-in-out infinite alternate;
  content: "";
}

.first-video-splash-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse closest-side, #000 84%, transparent 100%);
  animation: first-video-splash-reveal 550ms cubic-bezier(.2,.65,.25,1) both;
}

.first-video-splash-slogan {
  margin: 0;
  color: #e0e8f7;
  font-size: clamp(14px, 3.9vw, 18px);
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: .06em;
  text-indent: .06em;
}

/* 产品口号两行：主句大而亮，副句小一号、偏灰、字距拉开 */
.first-video-splash-slogan span {
  display: block;
  text-indent: 0;
  animation: first-video-splash-hop 480ms ease-in-out 150ms;
}

.first-video-splash-slogan span:first-child {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.5em;
  font-weight: 800;
  letter-spacing: .14em;
}

.first-video-splash-slogan span + span {
  color: #9fb0cc;
  font-size: .92em;
  font-weight: 500;
  letter-spacing: .24em;
  animation-delay: 265ms;
}

@keyframes first-video-splash-hop {
  0%, 100% { transform: translateY(0); }
  48% { transform: translateY(-6px); }
  76% { transform: translateY(1px); }
}

@keyframes first-video-splash-reveal {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes first-video-splash-glow {
  from { opacity: .58; transform: scale(.94); }
  to { opacity: 1; transform: scale(1.06); }
}

#first-video-splash-status {
  margin: 14px 0 0;
  color: #aebbd2;
  font-size: 13px;
  animation: first-video-splash-loading-hop 1.2s ease-in-out infinite;
}

@keyframes first-video-splash-loading-hop {
  0%, 55%, 100% { transform: translateY(0); }
  26% { transform: translateY(-4px); }
}

#first-video-splash:is([data-state="error"], [data-state="leaving"]) #first-video-splash-status {
  animation: none;
}

#first-video-splash-retry {
  display: none;
  min-width: 108px;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 19px;
  border: 1px solid #445c7c;
  border-radius: 999px;
  background: #16243a;
  color: #f5f7fa;
  font: inherit;
  cursor: pointer;
}

#first-video-splash-retry:focus-visible {
  outline: 2px solid #a0c1f5;
  outline-offset: 3px;
}

#first-video-splash:is([data-state="slow"], [data-state="error"]) #first-video-splash-retry {
  display: block;
}

#first-video-splash:is([data-state="error"], [data-state="leaving"]) .first-video-splash-art::before {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  #first-video-splash { transition: none; }
  #first-video-splash-status, .first-video-splash-image, .first-video-splash-slogan span, .first-video-splash-art::before { animation: none; }
}
