/* Интро «Сборка мира» */
.intro-wait .hero-map img { visibility: hidden; }
.intro-stage { position: relative; overflow: hidden; border-radius: 10px; }
.intro-svg { display: block; width: 100%; height: auto; overflow: visible; }
.intro-svg path { transform-box: fill-box; transform-origin: center; }
.intro-count { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: baseline; gap: 6px;
  font-size: 13px; color: var(--mut); background: rgba(11, 22, 28, .72); padding: 4px 10px; border-radius: 99px;
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; pointer-events: none; }
.intro-count b { color: var(--acc-soft); font-size: 17px; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.intro-count i { font-style: normal; }
.intro-stage.played .intro-count { animation: intro-in .4s 2.3s both; }
.intro-stage.done .intro-count { opacity: 1; transform: none; }
.intro-replay { position: absolute; right: 8px; top: 6px; width: 32px; height: 32px; border-radius: 99px; border: 1px solid var(--line-strong);
  background: rgba(11, 22, 28, .72); color: var(--ink-dim); font-size: 17px; cursor: pointer; opacity: 0; transition: opacity .3s; }
.intro-stage.done .intro-replay { opacity: 1; }
.intro-stage.played.done .intro-svg { animation: intro-glow 1.2s ease-out; }
@keyframes intro-in { to { opacity: 1; transform: none; } }
@keyframes intro-glow { 0% { filter: drop-shadow(0 0 0 rgba(143, 224, 176, 0)); } 30% { filter: drop-shadow(0 0 12px rgba(143, 224, 176, .45)); } 100% { filter: drop-shadow(0 0 0 rgba(143, 224, 176, 0)); } }
/* текст героя мягко проявляется (не прячется надолго — важно для SEO и скорости) */
.intro-play .hero .wrap > div:first-child > * { animation: intro-up .6s cubic-bezier(.2, .8, .3, 1) both; }
.intro-play .hero .wrap > div:first-child > :nth-child(2) { animation-delay: .06s; }
.intro-play .hero .wrap > div:first-child > :nth-child(3) { animation-delay: .12s; }
.intro-play .hero .wrap > div:first-child > :nth-child(4) { animation-delay: .18s; }
.intro-play .hero .wrap > div:first-child > :nth-child(n+5) { animation-delay: .24s; }
@keyframes intro-up { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .intro-play .hero .wrap > div:first-child > * { animation: none; } }
