/* ============================================================================
 * 宝可梦V7 开场动效样式
 * ========================================================================== */
.pkm-splash {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: 100%;   /* 关键：不约束列宽时内容会把网格撑宽导致溢出 */
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  background: #04060f;
  color: #eaf2ff;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  opacity: 1;
  transition: opacity .4s ease;
}
.pkm-splash.pkm-splash-out {
  opacity: 0;
  pointer-events: none;
}
.pkm-splash-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.pkm-splash-stage > div,
.pkm-splash-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}
.pkm-splash-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(227,53,13,.16), transparent 58%),
    radial-gradient(ellipse at 18% 82%, rgba(85,205,245,.12), transparent 55%),
    #04060f;
}
.pkm-splash-word {
  font-size: clamp(2.2rem, 9vw, 4.4rem);
  font-weight: 900;
  letter-spacing: .06em;
  color: #f2f7ff;
  text-shadow: 0 0 34px rgba(85,205,245,.45);
}
.pkm-splash-word span {
  color: #e3350d;
  text-shadow: 0 0 34px rgba(227,53,13,.55);
}
.pkm-splash-copy {
  position: relative;
  z-index: 2;
  padding: 18px 20px 30px;
  text-align: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, transparent, rgba(4,6,15,.92) 26%, #04060f);
}
.pkm-splash-tag {
  margin: 0 0 7px;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: normal !important;
  overflow-wrap: anywhere;
  color: #55cdf5 !important;
}
.pkm-splash-lead {
  display: block !important;
  width: 100% !important;
  max-width: 34rem !important;
  margin: 0 auto 16px !important;
  padding: 0 6px !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #9fb6d4 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  text-indent: 0 !important;
}
.pkm-splash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff5a34, #e3350d);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(227,53,13,.40), inset 0 1px 0 rgba(255,255,255,.28);
  transition: filter .16s ease, transform .16s ease;
}
.pkm-splash-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pkm-splash-btn:active { transform: translateY(0); }
.pkm-splash-skip {
  display: block;
  margin: 11px auto 0;
  border: 0;
  background: none;
  color: #6f88a8;
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pkm-splash-skip:hover { color: #55cdf5; }
@media (max-width: 720px) {
  .pkm-splash-copy { padding: 14px 16px 22px; }
  .pkm-splash-lead {
    font-size: 12.5px;
    line-height: 1.55;
    max-width: 100%;
    margin-bottom: 13px;
  }
  .pkm-splash-tag { font-size: 10.5px; letter-spacing: .13em; }
  .pkm-splash-btn { min-width: 148px; height: 42px; font-size: 14px; }
  .pkm-splash-word { font-size: clamp(1.9rem, 15vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .pkm-splash-stage { min-height: 44vh; }
}
