.site-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(20px, 5vw, 56px);
  background: transparent;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 320ms ease,
    visibility 320ms ease;
  isolation: isolate;
}

.site-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.98) 42%),
    linear-gradient(135deg, rgba(255, 179, 198, 0.26), rgba(126, 200, 227, 0.24));
  opacity: 1;
  transition: opacity 1700ms ease;
}

.site-splash.is-docking::before {
  opacity: 0;
}

.site-splash.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-splash__stage {
  width: min(46vw, 240px);
  height: min(46vh, 210px);
  min-width: 150px;
  display: grid;
  place-items: center;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  transition: transform 1700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.site-splash.is-docking .site-splash__stage {
  transform: translate3d(var(--dock-x, 0px), var(--dock-y, 0px), 0) scale(var(--dock-scale, 1));
}

.site-splash__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.12));
}

.site-splash__skip {
  position: absolute;
  right: clamp(16px, 4vw, 42px);
  top: clamp(16px, 4vw, 42px);
  min-width: 68px;
  padding: 9px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #666;
  font: 14px/1.2 "汉仪润圆-75W", sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-splash.is-docking .site-splash__skip {
  opacity: 0;
  pointer-events: none;
}

.site-splash__skip:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #444;
  transform: translateY(-1px);
}

body.splash-lock {
  overflow: hidden;
}

body.splash-preparing > header,
body.splash-preparing > nav,
body.splash-preparing .intro-text,
body.splash-preparing .cards .card,
body.splash-preparing .link-section,
body.splash-preparing > footer {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(16px);
}

body.splash-measuring > header {
  transform: none !important;
  transition: none !important;
}

body.splash-revealing > header,
body.splash-revealing > nav,
body.splash-revealing .intro-text,
body.splash-revealing .cards .card,
body.splash-revealing .link-section,
body.splash-revealing > footer {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition:
    opacity 1250ms ease,
    filter 1250ms ease,
    transform 1250ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.splash-revealing > header {
  transition-delay: 120ms;
}

body.splash-revealing > nav {
  transition-delay: 260ms;
}

body.splash-revealing .intro-text {
  transition-delay: 420ms;
}

body.splash-revealing .cards .card:nth-child(1) {
  transition-delay: 560ms;
}

body.splash-revealing .cards .card:nth-child(2) {
  transition-delay: 660ms;
}

body.splash-revealing .cards .card:nth-child(3) {
  transition-delay: 760ms;
}

body.splash-revealing .cards .card:nth-child(4) {
  transition-delay: 860ms;
}

body.splash-revealing .cards .card:nth-child(5) {
  transition-delay: 960ms;
}

body.splash-revealing .cards .card:nth-child(6) {
  transition-delay: 1060ms;
}

body.splash-revealing .link-section {
  transition-delay: 1160ms;
}

body.splash-revealing > footer {
  transition-delay: 1260ms;
}

@media screen and (max-width: 480px) {
  .site-splash__stage {
    width: min(58vw, 190px);
    height: min(36vh, 166px);
    min-width: 136px;
  }

  .site-splash__skip {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-splash,
  .site-splash::before,
  .site-splash__stage,
  .site-splash__skip {
    transition: none;
  }

  body.splash-preparing > header,
  body.splash-preparing > nav,
  body.splash-preparing .intro-text,
  body.splash-preparing .cards .card,
  body.splash-preparing .link-section,
  body.splash-preparing > footer {
    filter: none;
    transform: none;
  }
}
