/* ============================================================
   nastixh — v3
   чёрный + розово-фиолетовый, лёгкая готика (кресты),
   акцентный шрифт Cormorant для подписей
   ============================================================ */

:root {
  --bg:          #050309;
  --bg-2:        #0c0714;
  --pink:        #ff5ca8;
  --pink-soft:   #ffa3cd;
  --violet:      #9d6bff;
  --violet-soft: #c4a5ff;
  --text:        #f4eefa;
  --muted:       #c1b4d8;
  --line:        rgba(196, 165, 255, .13);

  /* Финальная геометрия: три уровня вместо случайного набора радиусов. */
  --radius-card:   22px;
  --radius-feature: 26px;
  --radius-contact: 18px;

  --font-display: 'Unbounded', sans-serif;
  --font-body:    'Onest', 'Manrope', sans-serif;
  --font-accent:  'Cormorant', serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* угол для вращающихся градиентных рамок (без поддержки — рамка статична) */
@property --rot {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scrollbar-width: none;
  scroll-behavior: smooth;
  overflow-x: clip;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--pink); color: var(--bg); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Однотонный крест, собранный геометрией: не зависит от emoji-шрифтов ОС. */
.symbol-cross {
  position: relative;
  display: inline-block;
  width: .72em;
  height: 1em;
  flex: none;
  color: inherit;
  font-style: normal;
  line-height: 1;
  vertical-align: -.12em;
}
.symbol-cross::before,
.symbol-cross::after {
  content: '';
  position: absolute;
  left: 50%;
  display: block;
  border-radius: 1px;
  background: currentColor;
  transform: translateX(-50%);
}
.symbol-cross::before {
  top: 0;
  width: .12em;
  min-width: 1px;
  height: 100%;
}
.symbol-cross::after {
  top: 28%;
  width: 100%;
  height: .12em;
  min-height: 1px;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- фон ---------- */

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* фолбэк без WebGL; тот же фон — когда играет твич-плеер */
body.no-webgl #bg,
body.player-live #bg { display: none; }
body.no-webgl::before,
body.player-live::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(42% 55% at 22% 68%, rgba(255, 92, 168, .1), transparent 70%),
    radial-gradient(50% 60% at 78% 25%, rgba(157, 107, 255, .12), transparent 70%),
    radial-gradient(70% 80% at 50% 100%, rgba(70, 35, 115, .12), transparent 70%),
    var(--bg);
  animation: bg-drift 24s ease-in-out infinite alternate;
}
@keyframes bg-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}

#grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Редкие световые частицы: спокойный фон, а не эффект «снега». */
.particle-field {
  position: fixed;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.ambient-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  opacity: 0;
  color: rgba(255, 163, 205, .82);
  animation: particle-drift var(--d) ease-in-out var(--delay) infinite;
}
.particle-pink { color: rgba(255, 126, 187, .84); }
.particle-violet { color: rgba(185, 151, 255, .78); }
.particle-soft { color: rgba(255, 232, 245, .72); }
.particle-dot {
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 5px currentColor, 0 0 13px currentColor;
}
.particle-spark {
  background: currentColor;
  clip-path: polygon(50% 0, 59% 40%, 100% 50%, 59% 60%, 50% 100%, 41% 60%, 0 50%, 41% 40%);
  filter: drop-shadow(0 0 3px currentColor) drop-shadow(0 0 6px currentColor);
}
@keyframes particle-drift {
  0%, 100% {
    opacity: .04;
    transform: translate3d(0, 7px, 0) scale(.72) rotate(0deg);
  }
  36% { opacity: var(--o); }
  58% {
    opacity: var(--o);
    transform: translate3d(var(--dx), var(--dy), 0) scale(1) rotate(22deg);
  }
  78% { opacity: .16; }
}

/* ---------- плавное затемнение при входе и смене вкладки ---------- */

#switcher {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(12, 7, 20, .92), rgba(5, 3, 9, .99) 80%);
  transition: opacity .42s ease, visibility .42s;
}
#switcher.on {
  visibility: visible;
  opacity: 1;
  transition: opacity .3s ease, visibility .3s;
}
#switcher.entry {
  visibility: visible;
  opacity: 1;
  transition: none;
}

/* ---------- навигация ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px clamp(16px, 4vw, 48px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .8s var(--ease-out) .1s, transform .8s var(--ease-out) .1s;
}
body.ready .nav { opacity: 1; transform: none; }

.nav-pill {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 5, 16, .62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, .85);
  pointer-events: auto;
}

.nav-tab {
  position: relative;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--muted);
  padding: 9px 22px;
  border-radius: 999px;
  transition: color .3s, background .3s, box-shadow .3s;
  white-space: nowrap;
}
.nav-tab:hover { color: var(--text); }
.nav-tab.is-active {
  color: var(--text);
  background: linear-gradient(120deg, rgba(255, 92, 168, .2), rgba(157, 107, 255, .22));
  box-shadow: inset 0 0 0 1px rgba(255, 163, 205, .25);
}

.nav-live[hidden] { display: none; }
.nav-live {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--text);
  padding: 10px 16px;
  border: 1px solid rgba(255, 92, 168, .45);
  border-radius: 999px;
  background: rgba(255, 92, 168, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}
.nav-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: live-pulse 1.6s ease-in-out infinite;
}
.nav-utility { display: contents; }
@keyframes live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: .55; }
}

/* Тонкая навигация по длинной главной странице. */
.home-index {
  position: fixed;
  z-index: 42;
  right: clamp(10px, 1.8vw, 28px);
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  opacity: 0;
  transform: translateY(-50%) translateX(10px);
  pointer-events: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
body.ready .home-index { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
[data-home-section] { scroll-margin-top: 18px; }
.home-index-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-height: 25px;
  border-radius: 999px;
  color: rgba(196, 165, 255, .46);
}
.home-index-item i {
  display: block;
  width: 6px;
  height: 6px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(5, 3, 9, .8);
  transition: color .3s, background .3s, box-shadow .3s;
}
.home-index-label {
  padding: 5px 8px;
  border: 1px solid rgba(196, 165, 255, .12);
  border-radius: 999px;
  background: rgba(9, 5, 16, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(244, 238, 250, .76);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(5px);
  transition: opacity .25s, transform .3s var(--ease-out), border-color .25s;
}
.home-index-item:hover,
.home-index-item.is-active { color: var(--pink-soft); }
.home-index-item:hover .home-index-label,
.home-index-item:focus-visible .home-index-label,
.home-index-item.is-active .home-index-label { opacity: 1; transform: none; }
.home-index-item.is-active i {
  width: 8px;
  height: 8px;
  background: linear-gradient(var(--pink), var(--violet));
  border-color: transparent;
  box-shadow: 0 0 12px rgba(255, 92, 168, .48), 0 0 0 4px rgba(5, 3, 9, .84);
}

/* ---------- панели ---------- */

main {
  position: relative;
  z-index: 10;
  max-width: 100%;
  overflow-x: clip;
}

.panel {
  min-height: 100svh;
  display: none;
  align-items: center;
}
.panel.is-active { display: flex; }

/* главная — колонка: контент, лента, подвал */
#panel-live.is-active {
  flex-direction: column;
  align-items: stretch;
}
.hero-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  min-height: 86svh;
}

#panel-live .screen .panel-inner { padding: 84px 0 28px; }
#panel-live .screen-donate .panel-inner { padding-bottom: 96px; }

.panel-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 130px 0 90px;
}
#panel-live .panel-inner { padding-bottom: 40px; }

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--pink-soft);
  margin-bottom: 20px;
}
.eyebrow .symbol-cross { color: var(--pink); font-size: 12px; }

/* появление контента: при показе панели и при скролле (IntersectionObserver
   ставит .is-in; задержку каскада JS задаёт через transition-delay) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Экраны вне видимой области не тратят ресурсы на бесконечные CSS-анимации. */
[data-home-section]:not(.motion-active) *,
[data-home-section]:not(.motion-active) *::before,
[data-home-section]:not(.motion-active) *::after {
  animation-play-state: paused !important;
}

/* ---------- главная ---------- */

.hero { position: relative; text-align: center; }

/* мягкий ореол позади заголовка (вместо filter: drop-shadow —
   тот даёт артефакты рендера поверх текста при нагрузке) */
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 90px;
  transform: translateX(-50%);
  width: min(920px, 92%);
  height: 360px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(157, 107, 255, .17), transparent 70%);
  pointer-events: none;
  animation: halo-breathe 7s ease-in-out infinite;
}
@keyframes halo-breathe {
  0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.07); }
}

/* мерцающие искры вокруг заголовка */
.hero-spark {
  position: absolute;
  font-size: 15px;
  line-height: 1;
  color: var(--pink-soft);
  text-shadow: 0 0 12px var(--pink);
  opacity: 0;
  pointer-events: none;
  user-select: none;
  animation: spark-twinkle 5.5s ease-in-out infinite;
}
.hero-spark.sp1 { left: 16%; top: 24%; animation-delay: 0s; }
.hero-spark.sp2 { right: 14%; top: 34%; animation-delay: -1.8s; font-size: 11px; }
.hero-spark.sp3 { left: 24%; top: 66%; animation-delay: -3.2s; color: var(--violet-soft); text-shadow: 0 0 12px var(--violet); }
.hero-spark.sp4 { right: 22%; top: 70%; animation-delay: -4.4s; font-size: 12px; }
@keyframes spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50%      { opacity: .85; transform: scale(1) rotate(45deg); }
}

/* Портрет за hero: лицо остаётся в фокусе, края растворяются в фоне. */
.hero-portrait {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 32%;
  width: min(820px, 82vw);
  height: min(650px, 72svh);
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 57% 57% at 48% 40%, #000 0%, #000 34%, rgba(0, 0, 0, .88) 48%, rgba(0, 0, 0, .38) 64%, transparent 79%);
  mask-image: radial-gradient(ellipse 57% 57% at 48% 40%, #000 0%, #000 34%, rgba(0, 0, 0, .88) 48%, rgba(0, 0, 0, .38) 64%, transparent 79%);
  transition: opacity 2s ease .35s, transform 1.4s var(--ease-out);
}
.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 92, 168, .13), rgba(157, 107, 255, .2)),
    radial-gradient(ellipse 48% 40% at 48% 39%, transparent 16%, rgba(5, 3, 9, .12) 68%);
  mix-blend-mode: color;
  pointer-events: none;
}
.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 40%;
  filter: brightness(.62) contrast(1.12) saturate(.88);
  transform: scale(1.035);
  animation: portrait-drift 15s ease-in-out infinite alternate;
}
body.ready .hero-portrait { opacity: .52; }
@keyframes portrait-drift {
  from { transform: scale(1.035) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(0, -5px, 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  transform: translateY(38px);
}

/* парящие кресты по бокам */
.hero-cross {
  position: absolute;
  top: 46%;
  font-family: var(--font-accent);
  font-size: clamp(60px, 8vw, 120px);
  line-height: 1;
  color: var(--violet-soft);
  opacity: .07;
  pointer-events: none;
  user-select: none;
  animation: cross-float 7s ease-in-out infinite;
}
.hc-l { left: 2%; }
.hc-r { right: 2%; animation-delay: -3.5s; }
@keyframes cross-float {
  0%, 100% { transform: translateY(-14px) rotate(-4deg); }
  50%      { transform: translateY(14px) rotate(4deg); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: lowercase;
  font-size: clamp(44px, 10.5vw, 138px);
  line-height: 1;
  letter-spacing: .015em;
  background: linear-gradient(110deg,
    var(--text) 15%, var(--pink-soft) 40%, var(--violet-soft) 60%, var(--text) 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-sheen 9s ease-in-out infinite;
  user-select: none;
}
@keyframes title-sheen {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

/* кинематографичный вход заголовка: из тумана, буквы сжимаются на место */
.hero-title.reveal.is-in {
  animation:
    title-in 1.5s var(--ease-out) both,
    title-sheen 9s ease-in-out 1.5s infinite;
}
@keyframes title-in {
  from { opacity: 0; transform: translateY(34px) scale(.94); filter: blur(16px); letter-spacing: .22em; }
  60%  { filter: blur(0); }
  to   { opacity: 1; transform: none; filter: none; letter-spacing: .015em; }
}

.hero-sub {
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 500;
  color: var(--muted);
  margin: 28px auto 0;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.hero-actions .btn-ghost { padding: 14px 26px; font-size: 12px; }

/* главная кнопка «дышит» свечением */
.hero-actions .btn-primary { animation: btn-breathe 3.8s ease-in-out infinite; }
@keyframes btn-breathe {
  0%, 100% { box-shadow: 0 8px 34px -10px rgba(255, 92, 168, .5); }
  50%      { box-shadow: 0 12px 52px -8px rgba(255, 92, 168, .85), 0 0 34px -6px rgba(157, 107, 255, .55); }
}

.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 2px;
}
.status-dot.off { background: rgba(183, 168, 212, .4); }
.status-dot.on {
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: live-pulse 1.6s ease-in-out infinite;
}

/* готический разделитель секций: линии + пульсирующий самоцвет */
.orn-divider {
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(980px, 94%);
  margin: 64px auto 0;
  user-select: none;
}
.orn-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 165, 255, .38));
}
.orn-line:last-child {
  background: linear-gradient(270deg, transparent, rgba(196, 165, 255, .38));
}
.orn-gem {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 0 11px rgba(255, 92, 168, .5);
  animation: gem-pulse 3.2s ease-in-out infinite;
}
.orn-gem::before,
.orn-gem::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  background: rgba(196, 165, 255, .55);
  box-shadow: 0 0 8px rgba(157, 107, 255, .5);
}
.orn-gem::before { left: -17px; }
.orn-gem::after { right: -17px; }
@keyframes gem-pulse {
  0%, 100% { box-shadow: 0 0 7px rgba(255, 92, 168, .34); }
  50%      { box-shadow: 0 0 14px rgba(255, 92, 168, .64), 0 0 22px rgba(157, 107, 255, .3); }
}

/* именованный разделитель — заголовок секции: линии ✦ имя ✦ линии */
.orn-divider.named { margin: 0 auto 46px; }
.orn-divider.named .orn-gem::before,
.orn-divider.named .orn-gem::after { display: none; }
.orn-label {
  flex: none;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--pink-soft);
  white-space: nowrap;
  user-select: none;
}

.player-shell {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 1.5px;
  border-radius: var(--radius-card);
  background: conic-gradient(from var(--rot),
    rgba(157, 107, 255, .6), rgba(196, 165, 255, .1) 28%,
    rgba(255, 92, 168, .55) 52%, rgba(196, 165, 255, .1) 78%,
    rgba(157, 107, 255, .6));
  animation: rot-spin 10s linear infinite;
  box-shadow: 0 30px 100px -42px rgba(157, 107, 255, .55);
  transition: box-shadow .5s, transform .5s var(--ease-out);
}
@keyframes rot-spin { to { --rot: 360deg; } }
/* мягкая аура позади плеера */
.player-shell::before {
  content: '';
  position: absolute;
  inset: -70px -90px;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(157, 107, 255, .16), transparent 72%);
  pointer-events: none;
}
.player-shell.live {
  animation-duration: 4.5s;
  background: conic-gradient(from var(--rot),
    rgba(255, 92, 168, .8), rgba(196, 165, 255, .16) 28%,
    rgba(255, 92, 168, .55) 52%, rgba(157, 107, 255, .5) 78%,
    rgba(255, 92, 168, .8));
  box-shadow: 0 24px 96px -26px rgba(255, 92, 168, .6);
}

.player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: var(--bg-2);
}

/* док-панель консоли: статус · чипы · кнопка */
.player-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 14px 16px 14px 20px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 20px 20px;
  background: linear-gradient(100deg, rgba(13, 7, 22, .98), rgba(8, 4, 14, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
}
.pb-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: 12px;
  transition: opacity .25s;
}
.pb-info:hover { opacity: .84; }
.pb-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 0 22px rgba(157, 107, 255, .18);
}
.pb-avatar::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: #120a20;
}
.pb-avatar img,
.pb-avatar-fallback {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 2px solid #0b0612;
  border-radius: 50%;
  object-fit: cover;
}
.pb-avatar-fallback { width: 24px; height: 24px; padding: 4px; border: 0; fill: var(--violet-soft); }
.pb-avatar-fallback.is-hidden,
.pb-avatar img[hidden] { display: none; }
.pb-text { min-width: 0; }
.pb-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .015em;
  line-height: 1.25;
  color: var(--text);
}
.player-shell.live .pb-title { color: var(--pink-soft); }
.pb-followers {
  display: block;
  font-weight: 500;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: .01em;
  color: rgba(196, 181, 220, .92);
}
.pb-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}
.pb-btn { min-width: 150px; padding: 12px 18px; justify-content: center; font-size: 11px; flex: none; }
.player-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* собственный экран станции: закрывает Twitch embed в офлайне;
   на http остаётся и в live-состоянии как ссылка на канал */
.player-off {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: clamp(24px, 5vw, 58px);
  background: var(--bg-2);
  overflow: hidden;
}
.player-shell.has-embed.live .player-off { opacity: 0; visibility: hidden; pointer-events: none; }
.player-shell.has-embed .player-off { transition: opacity .45s, visibility .45s; }
/* картинка отдельным слоем — притемнена и подогнана под палитру сайта */
.player-off-bg {
  position: absolute;
  inset: 0;
  background: url('../img/offline.jpg') center / cover no-repeat;
  filter: brightness(.29) saturate(.68) hue-rotate(-6deg);
  transition: filter .6s, transform .8s var(--ease-out);
}
.player-off:hover .player-off-bg {
  filter: brightness(.34) saturate(.76) hue-rotate(-6deg);
  transform: scale(1.018);
}
.player-off-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 3, 9, .88) 0%, rgba(5, 3, 9, .64) 28%, rgba(5, 3, 9, .26) 56%, rgba(5, 3, 9, .76) 100%),
    radial-gradient(65% 90% at 50% 52%, rgba(9, 5, 16, .1), rgba(5, 3, 9, .7) 100%);
}
.player-off-content {
  position: relative;
  z-index: 1;
  width: min(590px, 100%);
  text-align: center;
}
.player-off-orn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 120px;
  margin-bottom: 15px;
  font-size: 12px;
  color: rgba(255, 163, 205, .85);
  text-shadow: 0 0 14px rgba(255, 92, 168, .55);
}
.player-off-orn i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 163, 205, .5)); }
.player-off-orn i:last-child { transform: rotate(180deg); }
.player-off-title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 3.8vw, 38px);
  line-height: 1.12;
  letter-spacing: -.04em;
  color: var(--text);
}
.player-off-text {
  max-width: 56ch;
  margin: 0 auto;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.player-off-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.player-off-actions .btn { min-width: 166px; padding: 12px 18px; justify-content: center; font-size: 11px; }

/* данные активного эфира: игра / зрители */
.sb-chip[hidden] { display: none; }
.sb-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 10, 32, .55);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap;
}
.sb-chip b { font-weight: 600; color: var(--text); }
.sb-ico {
  width: 14px;
  height: 14px;
  flex: none;
  fill: var(--violet-soft);
  opacity: .9;
}

/* соцсети на главной — крупные карточки 2×2 */
.hero-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 22px;
  margin-top: 0;
  text-align: left;
}
.soc-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(18, 10, 32, .62), rgba(9, 5, 16, .58));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  backface-visibility: hidden;
  transition:
    opacity .9s var(--ease-out),
    border-color .35s,
    box-shadow .4s,
    transform .45s var(--ease-out);
}
.soc-card::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -44px;
  width: 238px;
  height: 238px;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--brand) 22%, transparent) 0%,
    color-mix(in srgb, var(--brand) 9%, transparent) 38%,
    transparent 70%);
  opacity: 0;
  transform: translateY(-50%) scale(.76);
  transition: opacity .42s ease, transform .55s var(--ease-out);
  pointer-events: none;
}
.soc-card .brand-mark {
  z-index: 2;
  width: 150px;
  height: 150px;
  right: -16px;
  fill: color-mix(in srgb, var(--brand) 12%, #b6a3cb);
  opacity: .11;
  filter: none;
  transition:
    opacity .4s ease,
    transform .5s var(--ease-out),
    fill .38s ease;
}
.soc-card:hover,
.soc-card:focus-visible {
  border-color: var(--brand-glow);
  box-shadow: 0 22px 60px -24px var(--brand-glow);
}
.soc-card:hover::after,
.soc-card:focus-visible::after {
  opacity: .82;
  transform: translateY(-50%) scale(1);
}
.soc-card:hover .brand-mark,
.soc-card:focus-visible .brand-mark {
  fill: var(--brand);
  opacity: .3;
  transform: translateY(-50%) scale(1.035) rotate(-1deg);
}
.soc-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--text);
}
.soc-desc {
  position: relative;
  z-index: 2;
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 14px;
  padding-right: 96px;
  flex: 1;
  color: rgba(202, 190, 222, .84);
}
/* круглый брендовый чип с иконкой (кнопки сотрудничества) */
.soc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent);
  transition: box-shadow .3s, transform .3s var(--ease-out);
}
.soc-ico svg { width: 18px; height: 18px; fill: var(--brand, var(--violet-soft)); }

/* фирменные цвета платформ */
[data-brand="twitch"]   { --brand: #a970ff; --brand-glow: rgba(145, 70, 255, .5);  --brand-dim: rgba(145, 70, 255, .1); }
[data-brand="telegram"] { --brand: #2aabee; --brand-glow: rgba(42, 171, 238, .45); --brand-dim: rgba(42, 171, 238, .09); }
[data-brand="youtube"]  { --brand: #ff4d4d; --brand-glow: rgba(255, 60, 60, .45);  --brand-dim: rgba(255, 60, 60, .09); }
[data-brand="boosty"]   { --brand: #f15f2c; --brand-glow: rgba(241, 95, 44, .45);  --brand-dim: rgba(241, 95, 44, .09); }
[data-brand="mail"]     { --brand: #ff5ca8; --brand-glow: rgba(255, 92, 168, .45); --brand-dim: rgba(255, 92, 168, .09); }
[data-brand="tiktok"]   { --brand: #ff3b5c; --brand-glow: rgba(255, 59, 92, .45);  --brand-dim: rgba(255, 59, 92, .09); }
/* фирменный «хроматический» сдвиг тиктока на вотермарке */
[data-brand="tiktok"] .brand-mark {
  filter: drop-shadow(-3px -2px 0 rgba(37, 244, 238, .5)) drop-shadow(3px 2px 0 rgba(254, 44, 85, .4));
}
.hero-socials .soc-card[data-brand="tiktok"] .brand-mark,
.hero-socials .soc-card[data-brand="tiktok"]:hover .brand-mark,
.hero-socials .soc-card[data-brand="tiktok"]:focus-visible .brand-mark {
  filter: none;
}
/* Спектральная нить: цельное переплетение, световые импульсы и частицы. */
.ambient-signal {
  --signal-glow-level: 0;
  position: relative;
  overflow: hidden;
  height: 82px;
  background: radial-gradient(ellipse 58% 72% at 50% 52%, rgba(157, 107, 255, .065), transparent 72%);
  isolation: isolate;
}
.ambient-signal svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.signal-thread,
.signal-glow,
.signal-dust {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.signal-glow {
  stroke: url(#signal-gradient-a);
  stroke-width: 9;
  opacity: calc(.12 + var(--signal-glow-level) * .14);
  filter: blur(3.5px);
}
.signal-thread {
  stroke-linecap: round;
  mix-blend-mode: screen;
}
.signal-thread-main {
  stroke: url(#signal-gradient-a);
  stroke-width: 1.55;
  filter: drop-shadow(0 0 2px rgba(255, 92, 168, .6)) drop-shadow(0 0 7px rgba(157, 107, 255, .24));
  animation: signal-breathe 5.4s ease-in-out infinite alternate;
}
.signal-thread-upper {
  stroke: url(#signal-gradient-b);
  stroke-width: .9;
  opacity: .72;
}
.signal-thread-lower {
  stroke: url(#signal-gradient-a);
  stroke-width: .72;
  opacity: .58;
}
.signal-thread-veil {
  stroke: url(#signal-gradient-b);
  stroke-width: .55;
  opacity: .34;
}
.signal-thread-axis {
  stroke: url(#signal-gradient-a);
  stroke-width: .4;
  opacity: .2;
}
.signal-dust {
  stroke: rgba(208, 170, 255, .4);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: .001 .023;
  animation: signal-dust-flow 22s linear infinite;
}
.signal-motes { mix-blend-mode: screen; }
.signal-mote {
  opacity: .92;
  filter: drop-shadow(0 0 4px rgba(255, 92, 168, .85)) drop-shadow(0 0 9px rgba(157, 107, 255, .6));
}
.signal-mote-b { opacity: .7; }
.signal-mote-c { opacity: .52; }
@keyframes signal-breathe {
  from { opacity: .76; }
  to { opacity: 1; }
}
@keyframes signal-dust-flow { to { stroke-dashoffset: -1; } }

/* Сотрудничество: открытая типографическая сцена без карточки-контейнера. */
.collab-stage {
  position: relative;
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 10px 0 0;
  text-align: center;
  isolation: isolate;
}
.collab-stage::before {
  content: '';
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 44%;
  width: min(760px, 86vw);
  height: 330px;
  border: 1px solid rgba(196, 165, 255, .065);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(157, 107, 255, .018),
    0 0 90px rgba(157, 107, 255, .055);
  transform: translate(-50%, -50%) rotate(-5deg);
  pointer-events: none;
}
.collab-stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 42%;
  width: min(580px, 72vw);
  height: 260px;
  background: radial-gradient(ellipse, rgba(255, 92, 168, .09), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.collab-backdrop {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 40%;
  font-family: var(--font-display);
  font-size: clamp(90px, 14vw, 178px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 165, 255, .055);
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
}
.collab-intro { position: relative; }
.collab-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--text);
  margin-top: 0;
}
.collab-title span {
  background: linear-gradient(100deg, var(--pink-soft) 12%, #df9cff 52%, var(--violet-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.collab-lead {
  position: relative;
  max-width: 58ch;
  margin: 24px auto 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--muted);
}
.collab-channels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(820px, 100%);
  margin: 52px auto 0;
  border: 1px solid rgba(196, 165, 255, .13);
  border-radius: var(--radius-contact);
  background:
    linear-gradient(110deg, rgba(255, 92, 168, .045), rgba(157, 107, 255, .025) 52%, transparent),
    rgba(8, 5, 15, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  overflow: hidden;
}
.collab-contact {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 96px;
  width: 100%;
  padding: 19px 21px;
  text-align: left;
  transition: background .3s, box-shadow .3s;
}
.collab-contact + .collab-contact {
  border-left: 1px solid rgba(196, 165, 255, .1);
}
.collab-contact:hover,
.collab-contact:focus-visible {
  background: linear-gradient(100deg, rgba(255, 92, 168, .07), rgba(157, 107, 255, .035));
  box-shadow: inset 0 0 32px rgba(255, 92, 168, .025);
}
.collab-contact-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: rgba(255, 163, 205, .78);
  filter: drop-shadow(0 0 9px rgba(255, 92, 168, .2));
  transition: color .3s, filter .3s;
}
.collab-contact:hover .collab-contact-ico,
.collab-contact:focus-visible .collab-contact-ico {
  color: var(--pink-soft);
  filter: drop-shadow(0 0 10px rgba(255, 92, 168, .34));
}
.collab-contact-ico svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
.collab-contact-copy {
  display: block;
  min-width: 0;
}
.collab-contact-copy small,
.collab-contact-copy b {
  display: block;
}
.collab-contact-copy small {
  font-size: 9px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(199, 186, 220, .7);
}
.collab-contact-copy b {
  margin-top: 5px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: rgba(244, 238, 250, .94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.collab-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 38px;
  padding: 10px 16px;
  border: 1px solid rgba(196, 165, 255, .13);
  border-radius: 999px;
  background: rgba(196, 165, 255, .035);
  font-size: 9.25px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 163, 205, .72);
  transition: color .3s, border-color .3s, background .3s;
}
.collab-contact:hover .collab-contact-action,
.collab-contact:focus-visible .collab-contact-action {
  color: var(--pink-soft);
  border-color: rgba(255, 163, 205, .24);
  background: rgba(255, 92, 168, .06);
}
.collab-mail.copied {
  background: linear-gradient(100deg, rgba(82, 210, 132, .07), rgba(157, 107, 255, .025));
}
.collab-mail.copied .collab-contact-ico,
.collab-mail.copied .collab-contact-action {
  color: #8effb0;
}
.collab-mail.copied .collab-contact-action {
  border-color: rgba(126, 240, 168, .22);
  background: rgba(126, 240, 168, .045);
}
.collab-brief {
  width: min(820px, 100%);
  margin: 22px auto 0;
  font-size: 10.5px;
  line-height: 1.6;
  text-align: center;
  color: rgba(199, 186, 220, .68);
}

/* поддержка — цельная карточка: основное действие + конкретные детали */
.donate-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 1px minmax(300px, .92fr);
  gap: clamp(30px, 5vw, 64px);
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 60px);
  border: 1px solid rgba(196, 165, 255, .14);
  border-radius: var(--radius-feature);
  background:
    linear-gradient(135deg, rgba(18, 10, 32, .8), rgba(8, 4, 14, .92)),
    var(--bg-2);
  box-shadow: 0 34px 110px -50px rgba(157, 107, 255, .48);
  overflow: hidden;
}
.donate-card::before,
.donate-card::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  pointer-events: none;
}
.donate-card::before {
  left: 14px;
  top: 14px;
  border-left: 1px solid rgba(255, 163, 205, .28);
  border-top: 1px solid rgba(255, 163, 205, .28);
  border-radius: 12px 0 0;
}
.donate-card::after {
  right: 14px;
  bottom: 14px;
  border-right: 1px solid rgba(157, 107, 255, .25);
  border-bottom: 1px solid rgba(157, 107, 255, .25);
  border-radius: 0 0 12px;
}
.donate-aura {
  position: absolute;
  left: -12%;
  top: -35%;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 168, .12), transparent 66%);
  pointer-events: none;
}
.donate-copy,
.donate-details { position: relative; z-index: 1; }
.donate-symbol {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 19px;
  color: var(--pink-soft);
}
.donate-symbol i {
  display: block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 163, 205, .5));
}
.donate-symbol i:last-child { transform: rotate(180deg); }
.donate-symbol svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  filter: drop-shadow(0 0 9px rgba(255, 92, 168, .6));
}
.donate-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(29px, 3.5vw, 43px);
  line-height: 1.15;
  letter-spacing: -.04em;
  background: linear-gradient(110deg, var(--text) 15%, var(--pink-soft) 70%, var(--violet-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.donate-lead {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  max-width: 50ch;
  margin-top: 17px;
  color: var(--muted);
}
.donate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
}
.donate-primary,
.donate-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .07em;
  transition: border-color .3s, box-shadow .3s, color .3s;
}
.donate-primary {
  color: #14061c;
  background: linear-gradient(115deg, var(--pink), #df5dd7 58%, var(--violet));
  box-shadow: 0 14px 38px -15px rgba(255, 92, 168, .75);
}
.donate-primary:hover { box-shadow: 0 18px 50px -13px rgba(255, 92, 168, .9); }
.donate-secondary {
  border: 1px solid rgba(196, 165, 255, .18);
  color: var(--text);
  background: rgba(9, 5, 16, .48);
}
.donate-secondary:hover { border-color: rgba(255, 163, 205, .4); color: var(--pink-soft); }
.donate-secondary svg { width: 16px; height: 16px; fill: currentColor; }
.donate-note {
  margin-top: 15px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(199, 186, 220, .68);
}
.donate-divider {
  position: relative;
  width: 1px;
  background: linear-gradient(transparent, rgba(196, 165, 255, .18) 14%, rgba(255, 92, 168, .35) 50%, rgba(196, 165, 255, .18) 86%, transparent);
}
.donate-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.donate-detail {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(196, 165, 255, .09);
}
.donate-detail:last-child { border-bottom: 0; }
.donate-detail-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 163, 205, .18);
  border-radius: 13px;
  background: rgba(255, 92, 168, .06);
}
.donate-detail-ico svg { width: 18px; height: 18px; fill: var(--pink-soft); }
.donate-detail b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text);
}
.donate-detail-copy,
.donate-detail-copy > span { display: block; }
.donate-detail-copy > span { font-size: 12px; line-height: 1.55; color: var(--muted); }
.donate-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .1em;
  color: #14061c;
  padding: 20px 44px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--pink));
  background-size: 200% 100%;
  animation: donate-flow 7s linear infinite;
  box-shadow: 0 10px 44px -12px rgba(255, 92, 168, .6);
  transition: box-shadow .35s;
}
@keyframes donate-flow {
  to { background-position: -200% 0; }
}
.donate-line .btn-ico { fill: #14061c; }
.donate-heart { animation: heartbeat 1.6s ease-in-out infinite; }
@keyframes heartbeat {
  0%, 48%, 100% { transform: scale(1); }
  12%           { transform: scale(1.28); }
  24%           { transform: scale(1); }
  36%           { transform: scale(1.18); }
}
.donate-line:hover { box-shadow: 0 16px 64px -10px rgba(255, 92, 168, .85); }

/* ---------- кнопки ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .1em;
  padding: 17px 30px;
  border-radius: 999px;
  overflow: hidden;
  transition: box-shadow .35s, border-color .35s, color .35s;
}
.btn-ico { width: 17px; height: 17px; fill: currentColor; flex: none; }
.btn-arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-primary {
  color: #14061c;
  background: linear-gradient(120deg, var(--pink) 10%, var(--violet) 120%);
  box-shadow: 0 8px 34px -10px rgba(255, 92, 168, .5);
}
.btn-primary:hover { box-shadow: 0 10px 44px -8px rgba(255, 92, 168, .7); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(9, 5, 16, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255, 92, 168, .5); }

/* CTA меняют только свет и цвет, но всегда остаются на месте. */
.btn,
.btn:hover,
.btn:active,
.static-cta,
.static-cta:hover,
.static-cta:active { transform: none; }

/* переливающийся градиент главной кнопки */
.btn-primary {
  background-size: 200% 100%;
  transition: background-position .6s var(--ease-out), box-shadow .35s;
}
.btn-primary:hover { background-position: 90% 0; }

/* Интерактивные элементы не меняют положение: обратная связь только светом. */
.donate-primary,
.donate-primary:hover,
.donate-primary:active,
.donate-secondary,
.donate-secondary:hover,
.donate-secondary:active,
.board-toggle,
.board-toggle:hover,
.board-toggle:active,
.foot-socials .soc-ico,
.foot-socials .soc-ico:hover,
.foot-socials .soc-ico:active {
  transform: none;
}

/* ---------- заголовки разделов ---------- */

.panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6.4vw, 76px);
  line-height: 1.08;
  color: var(--text);
  text-align: center;
}
.panel-title .hl {
  background: linear-gradient(110deg, var(--pink) 10%, var(--violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.panel-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  margin: 20px auto 0;
  max-width: 52ch;
  text-align: center;
  color: rgba(202, 190, 222, .86);
}

/* ---------- карточки записей ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 22px;
  margin-top: 48px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 34px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(18, 10, 32, .62), rgba(9, 5, 16, .58));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  backface-visibility: hidden;
  transition: border-color .35s, box-shadow .4s, transform .45s var(--ease-out);
}

/* большая иконка платформы, растворяется вправо */
.brand-mark {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 158px;
  height: 158px;
  fill: var(--brand, var(--violet-soft));
  opacity: .13;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, #000 25%, transparent 88%);
  mask-image: linear-gradient(100deg, #000 25%, transparent 88%);
  transition: opacity .4s, transform .5s var(--ease-out);
}
.card:hover .brand-mark,
.card:focus-visible .brand-mark {
  opacity: .23;
  transform: translateY(-50%) scale(1.035) rotate(-1deg);
}

.card:hover,
.card:focus-visible {
  border-color: var(--brand-glow);
  box-shadow: 0 26px 70px -26px var(--brand-glow);
}

.card-name {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text);
}
.card-desc {
  position: relative;
  font-size: 15px;
  margin-top: 14px;
  padding-right: 44px;
  flex: 1;
  color: rgba(202, 190, 222, .84);
}
.card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  background: radial-gradient(340px 220px at var(--mx, 50%) var(--my, 0%), var(--brand-glow, rgba(255, 92, 168, .16)), transparent 70%);
}
.card:hover .card-glow,
.card:focus-visible .card-glow,
.soc-card:hover .card-glow,
.soc-card:focus-visible .card-glow { opacity: .5; }

/* ---------- топ донатеров ---------- */

/* тройка лидеров: один главный блок и два компактных места */
#panel-support .panel-inner { width: min(1040px, 92vw); }
.podium {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(940px, 100%);
  margin: 44px auto 0;
}
.podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 148px;
  padding: 26px 28px;
  border: 1px solid rgba(196, 165, 255, .13);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(18, 10, 32, .76), rgba(8, 4, 14, .78)),
    var(--bg-2);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition:
    transform .52s var(--ease-out),
    border-color .4s ease,
    box-shadow .5s var(--ease-out),
    background .4s ease;
}
.podium-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(110% 100% at 100% 0%, var(--rank-glow), transparent 62%);
  opacity: .72;
  transform: scale(.98);
  transform-origin: 100% 0;
  transition: opacity .48s ease, transform .7s var(--ease-out);
}
.podium-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -36px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid var(--rank-ring);
  border-radius: 50%;
  box-shadow: 0 0 0 28px color-mix(in srgb, var(--rank-ring) 35%, transparent);
  opacity: .72;
  transform: scale(.82) rotate(-8deg);
  transition: opacity .48s ease, transform .72s var(--ease-out), box-shadow .55s ease;
  pointer-events: none;
}
.podium-card.p1 {
  --rank-glow: rgba(255, 92, 168, .27);
  --rank-line: rgba(255, 92, 168, .72);
  --rank-ring: rgba(255, 92, 168, .09);
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 310px;
  padding: 42px;
  border-color: rgba(255, 92, 168, .34);
  background:
    linear-gradient(145deg, rgba(29, 12, 35, .86), rgba(8, 4, 14, .82)),
    var(--bg-2);
  box-shadow: 0 28px 90px -45px rgba(255, 92, 168, .56);
}
.podium-card.p2 {
  --rank-glow: rgba(196, 165, 255, .2);
  --rank-line: rgba(196, 165, 255, .55);
  --rank-ring: rgba(196, 165, 255, .07);
  grid-column: 2;
  grid-row: 1;
}
.podium-card.p3 {
  --rank-glow: rgba(157, 107, 255, .19);
  --rank-line: rgba(157, 107, 255, .5);
  --rank-ring: rgba(157, 107, 255, .07);
  grid-column: 2;
  grid-row: 2;
}
.podium-card:hover,
.podium-card:focus-within {
  transform: translateY(-7px) scale(1.012);
  border-color: color-mix(in srgb, var(--rank-line) 78%, transparent);
  box-shadow:
    0 32px 78px -42px var(--rank-line),
    0 18px 46px -40px rgba(255, 92, 168, .7),
    inset 0 1px 0 rgba(255, 255, 255, .055);
}
.podium-card:hover::before,
.podium-card:focus-within::before {
  opacity: 1;
  transform: scale(1.055);
}
.podium-card:hover::after,
.podium-card:focus-within::after {
  opacity: 1;
  transform: scale(1.08) rotate(7deg);
  box-shadow:
    0 0 0 34px color-mix(in srgb, var(--rank-ring) 42%, transparent),
    0 0 58px color-mix(in srgb, var(--rank-line) 16%, transparent);
}
.podium-card:active {
  transform: translateY(-3px) scale(1.004);
}
.podium-caption {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-bottom: auto;
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: rgba(196, 165, 255, .6);
  transition: color .38s ease, letter-spacing .5s var(--ease-out), transform .5s var(--ease-out);
}
.podium-card.p1 .podium-caption { color: rgba(255, 163, 205, .78); }
.podium-card:hover .podium-caption,
.podium-card:focus-within .podium-caption {
  color: color-mix(in srgb, var(--rank-line) 82%, #fff);
  letter-spacing: .225em;
  transform: translateX(3px);
}

.podium-rank {
  position: absolute;
  z-index: -1;
  right: 22px;
  top: 50%;
  transform: translateY(-54%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 60px;
  line-height: 1;
  letter-spacing: .015em;
  color: rgba(196, 165, 255, .07);
  user-select: none;
  transition:
    color .46s ease,
    transform .68s var(--ease-out),
    text-shadow .48s ease;
}
.podium-card.p1 .podium-rank {
  right: 30px;
  top: 50%;
  transform: translateY(-54%);
  font-size: clamp(112px, 13vw, 160px);
  color: rgba(255, 163, 205, .075);
}
.podium-card:hover .podium-rank,
.podium-card:focus-within .podium-rank {
  color: color-mix(in srgb, var(--rank-line) 24%, transparent);
  text-shadow: 0 0 34px color-mix(in srgb, var(--rank-line) 24%, transparent);
  transform: translateY(-54%) translateX(-6px) scale(1.065);
}
.podium-card.p1:hover .podium-rank,
.podium-card.p1:focus-within .podium-rank {
  transform: translateY(-54%) translateX(-8px) scale(1.065);
}
.podium-person {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}
.podium-card.p2 .podium-person,
.podium-card.p3 .podium-person {
  max-width: calc(100% - 68px);
}
.podium-name {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.2;
  text-align: left;
  color: var(--text);
  overflow-wrap: anywhere;
  transition: color .38s ease, transform .52s var(--ease-out), text-shadow .42s ease;
}
.podium-card.p1 .podium-name { font-size: clamp(27px, 3.2vw, 38px); }
.podium-card.has-long-name:not(.p1) .podium-name {
  font-size: clamp(17px, 1.55vw, 19px);
}
.podium-card:hover .podium-name,
.podium-card:focus-within .podium-name {
  color: #fff8fc;
  text-shadow: 0 0 24px color-mix(in srgb, var(--rank-line) 20%, transparent);
  transform: translateY(-3px);
}
.podium-sum {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--pink-soft);
  margin-top: 8px;
  transition: color .38s ease, transform .55s var(--ease-out), text-shadow .4s ease;
}
.podium-card.p1 .podium-sum { margin-top: 12px; font-size: 16px; }
.podium-card:hover .podium-sum,
.podium-card:focus-within .podium-sum {
  color: color-mix(in srgb, var(--rank-line) 74%, #fff);
  text-shadow: 0 0 18px color-mix(in srgb, var(--rank-line) 28%, transparent);
  transform: translateY(-2px);
}

/* Карточки собираются по местам один раз при открытии вкладки. */
.podium.reveal.is-in .podium-card {
  animation: podium-card-in .72s var(--ease-out) backwards;
}
.podium.reveal.is-in .podium-card:nth-child(1) { animation-delay: .04s; }
.podium.reveal.is-in .podium-card:nth-child(2) { animation-delay: .13s; }
.podium.reveal.is-in .podium-card:nth-child(3) { animation-delay: .22s; }
@keyframes podium-card-in {
  from { opacity: 0; transform: translateY(24px) scale(.965); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.heart {
  width: 13px; height: 13px;
  fill: var(--pink);
  filter: drop-shadow(0 0 6px rgba(255, 92, 168, .6));
}

/* рейтинг сообщества: компактная редакционная лента */
.board-shell {
  position: relative;
  width: min(940px, 100%);
  margin: 22px auto 0;
  border: 1px solid rgba(196, 165, 255, .13);
  border-radius: var(--radius-feature);
  background:
    linear-gradient(152deg, rgba(19, 9, 30, .84), rgba(7, 4, 13, .9) 58%, rgba(13, 6, 23, .88)),
    var(--bg-2);
  box-shadow:
    0 42px 110px -76px rgba(255, 92, 168, .62),
    inset 0 1px 0 rgba(255, 255, 255, .025);
  overflow: hidden;
  isolation: isolate;
}
.board-shell::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(80% 135% at 2% -12%, rgba(255, 92, 168, .13), transparent 57%),
    radial-gradient(75% 120% at 105% 108%, rgba(157, 107, 255, .09), transparent 64%);
  pointer-events: none;
}
.board-shell::after {
  content: '';
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  top: 94px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 92, 168, .46), rgba(157, 107, 255, .18) 38%, transparent 88%);
  box-shadow: 0 0 18px rgba(255, 92, 168, .14);
  pointer-events: none;
}
.board-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  padding: 25px 28px 23px;
  background: linear-gradient(100deg, rgba(255, 92, 168, .055), transparent 62%);
}
.board-heading-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.board-heading-copy span {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  word-spacing: .18em;
  color: rgba(248, 243, 252, .96);
}
.board-heading-copy small {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(196, 165, 255, .54);
}
.board-heading b {
  display: inline-flex;
  align-items: center;
  padding-bottom: 2px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .04em;
  color: rgba(255, 163, 205, .68);
  white-space: nowrap;
}
.board {
  position: relative;
  z-index: 1;
  list-style: none;
  display: block;
  padding: 13px 16px 16px;
}
.board:not(.is-expanded) li:nth-child(n+11) { display: none; }
.board li {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
  min-height: 70px;
  padding: 10px 14px 10px 8px;
  border-bottom: 1px solid rgba(196, 165, 255, .075);
  transition: background .28s, border-color .28s;
  overflow: hidden;
}
.board li::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(90deg, rgba(255, 92, 168, .075), rgba(157, 107, 255, .025) 64%, transparent);
  transition: opacity .3s;
}
.board li:hover::after { opacity: 1; }
.board li:last-child { border-bottom: 0; }
.board-idx {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -.08em;
  color: rgba(196, 165, 255, .18);
  transition: color .28s, text-shadow .28s;
}
.board li:hover .board-idx { color: rgba(196, 165, 255, .38); }
.board li:nth-child(-n+3) .board-idx {
  color: rgba(255, 163, 205, .72);
  text-shadow: 0 0 20px rgba(255, 92, 168, .24);
}
.board-person {
  display: block;
  min-width: 0;
}
.board-name {
  display: block;
  font-weight: 680;
  font-size: 14px;
  line-height: 1.25;
  color: rgba(244, 238, 250, .94);
  overflow-wrap: anywhere;
}
.board-meter {
  position: relative;
  display: block;
  width: min(520px, 100%);
  height: 1px;
  margin-top: 9px;
  border-radius: 2px;
  background: rgba(196, 165, 255, .075);
}
.board-meter i {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 92, 168, .86), rgba(157, 107, 255, .72));
  box-shadow: 0 0 11px rgba(255, 92, 168, .34);
  transition: width .9s var(--ease-out) var(--row-delay, 0ms);
}
.board-shell.is-in .board-meter i { width: var(--share); }
.board-meter i::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--violet-soft);
  box-shadow: 0 0 7px rgba(196, 165, 255, .62);
  transform: translateY(-50%);
}
.board-sum {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 128px;
  font-weight: 750;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  color: rgba(255, 184, 217, .96);
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(255, 92, 168, .18);
  transition: color .25s, text-shadow .25s;
}
.board li:hover .board-sum {
  color: rgba(255, 211, 232, 1);
  text-shadow: 0 0 20px rgba(255, 92, 168, .28);
}
.board-value {
  font-variant-numeric: tabular-nums;
}
.board-currency {
  font-size: 14px;
  font-weight: 800;
  color: rgba(196, 165, 255, .9);
  text-shadow: 0 0 14px rgba(157, 107, 255, .24);
}
.board-sum.special {
  min-width: 0;
  font-weight: 600;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--violet-soft);
  white-space: normal;
  text-align: right;
  max-width: 118px;
}
.board-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border-top: 1px solid rgba(196, 165, 255, .1);
  background: linear-gradient(90deg, rgba(255, 92, 168, .055), rgba(157, 107, 255, .045));
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244, 238, 250, .84);
  transition: color .25s, background .25s;
}
.board-toggle:hover {
  color: var(--pink-soft);
  background: linear-gradient(90deg, rgba(255, 92, 168, .1), rgba(157, 107, 255, .075));
}
.board-toggle b {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 21px;
  padding: 0 6px;
  border: 1px solid rgba(255, 163, 205, .2);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--pink-soft);
  background: rgba(255, 92, 168, .06);
}

/* низ зала славы */
.fame-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}
.fame-ornament {
  font-size: 13px;
  letter-spacing: .2em;
  color: rgba(196, 165, 255, .35);
  user-select: none;
}

/* ---------- футер ---------- */

.site-foot {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 140% at 86% 0%, rgba(255, 92, 168, .07), transparent 65%),
    radial-gradient(70% 100% at 14% 0%, rgba(157, 107, 255, .08), transparent 65%),
    rgba(7, 4, 13, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}
.foot-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 54px 0 24px;
}
.foot-closing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.foot-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 92px);
  line-height: .88;
  letter-spacing: -.065em;
  background: linear-gradient(110deg, var(--text) 10%, var(--pink-soft) 62%, var(--violet-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  filter: drop-shadow(0 16px 34px rgba(157, 107, 255, .09));
}
.foot-tag {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 55ch;
  color: rgba(183, 168, 212, .76);
}
.foot-twitch {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-width: 260px;
  padding: 13px 15px;
  border: 1px solid rgba(157, 107, 255, .25);
  border-radius: 17px;
  background: rgba(157, 107, 255, .075);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.foot-twitch:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 165, 255, .48);
  box-shadow: 0 18px 42px -22px rgba(157, 107, 255, .6);
}
.foot-twitch-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(157, 107, 255, .16);
  color: var(--violet-soft);
}
.foot-twitch-ico svg { width: 20px; height: 20px; fill: currentColor; }
.foot-twitch small,
.foot-twitch b { display: block; }
.foot-twitch small { margin-bottom: 2px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot-twitch b { font-family: var(--font-display); font-size: 11px; color: var(--text); }
.foot-arrow { padding: 0 4px; font-size: 20px; color: var(--violet-soft); transition: transform .3s var(--ease-out); }
.foot-twitch:hover .foot-arrow { transform: translate(2px, -2px); }
.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding: 18px 0;
  border-top: 1px solid rgba(196, 165, 255, .09);
  border-bottom: 1px solid rgba(196, 165, 255, .09);
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
}
.foot-socials {
  display: flex;
  gap: 10px;
}
.foot-socials .soc-ico {
  width: 38px; height: 38px;
  transition: transform .25s var(--ease-out), box-shadow .3s;
}
.foot-socials .soc-ico:hover {
  transform: translateY(-3px) rotate(-8deg);
  box-shadow: 0 10px 26px -10px var(--brand-glow),
    inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent);
}
.foot-socials .soc-ico svg { width: 16px; height: 16px; }
.foot-link {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  padding: 5px 0;
  transition: color .25s;
}
.foot-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  transition: right .3s var(--ease-out);
}
.foot-link:hover { color: var(--text); }
.foot-link:hover::after { right: 0; }

.foot-legal {
  margin-top: 18px;
}
.foot-legal summary {
  cursor: pointer;
  width: fit-content;
  list-style: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
  color: rgba(183, 168, 212, .75);
  transition: color .25s;
}
.foot-legal summary::-webkit-details-marker { display: none; }
.foot-legal summary::after {
  content: ' +';
  color: var(--pink-soft);
}
.foot-legal[open] summary::after { content: ' −'; }
.foot-legal summary:hover { color: var(--text); }
.foot-legal p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(183, 168, 212, .7);
  margin-top: 12px;
  max-width: 88ch;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(196, 165, 255, .07);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(183, 168, 212, .6);
}
.foot-love {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.foot-love .heart { width: 12px; height: 12px; }

/* компактный футер */
.foot-inner { padding: 25px 0 19px; }
.foot-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.foot-socials .soc-ico {
  position: relative;
  --brand: rgba(213, 202, 229, .78);
  --brand-glow: rgba(196, 165, 255, .16);
  width: 34px;
  height: 34px;
  color: var(--brand);
  border-color: rgba(196, 165, 255, .12);
  background: rgba(196, 165, 255, .045);
}
.foot-socials .soc-ico::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 5;
  padding: 5px 8px;
  border: 1px solid rgba(196, 165, 255, .15);
  border-radius: 7px;
  background: rgba(9, 5, 16, .94);
  color: rgba(244, 238, 250, .86);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 5px);
  pointer-events: none;
  transition: opacity .22s, transform .22s var(--ease-out);
}
.foot-socials .soc-ico:hover::after,
.foot-socials .soc-ico:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.foot-socials .soc-ico svg { width: 15px; height: 15px; fill: currentColor; }
.foot-socials .soc-ico:hover {
  transform: none;
  color: var(--text);
  border-color: rgba(196, 165, 255, .3);
  box-shadow: 0 10px 24px -14px rgba(196, 165, 255, .3);
}
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid rgba(196, 165, 255, .08);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .025em;
  color: rgba(199, 186, 220, .68);
}
.foot-copy { white-space: nowrap; }
.foot-legal-links { display: flex; align-items: center; gap: 18px; }
.foot-legal { position: static; margin: 0; }
.foot-legal summary { font-size: 11.5px; color: rgba(199, 186, 220, .72); }
.foot-legal[open] { order: initial; flex-basis: auto; }
.foot-legal p {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 13px);
  z-index: 8;
  width: min(520px, 92vw);
  max-width: none;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(196, 165, 255, .17);
  border-radius: 12px;
  background: rgba(9, 5, 16, .97);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .9), 0 0 30px -18px rgba(157, 107, 255, .45);
  font-size: 11.5px;
  line-height: 1.6;
  text-align: left;
  transform: translateX(-50%);
}
.foot-author { display: inline-flex; align-items: center; gap: 9px; }
.foot-author small { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: rgba(199, 186, 220, .6); }
.foot-author a {
  position: relative;
  padding: 5px 9px;
  border: 1px solid rgba(255, 163, 205, .15);
  border-radius: 999px;
  background: rgba(255, 92, 168, .045);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .04em;
  color: rgba(244, 238, 250, .86);
  transition: color .25s, border-color .25s, background .25s;
}
.foot-author a::after {
  display: none;
}
.foot-author a:hover { color: var(--pink-soft); border-color: rgba(255, 163, 205, .38); background: rgba(255, 92, 168, .08); }

/* ---------- адаптив ---------- */

/* Планшетный режим: сложные двухколоночные блоки не ужимаются до состояния,
   в котором адреса, подписи и суммы начинают конкурировать за ширину. */
@media (max-width: 900px) and (min-width: 721px) {
  .cards {
    grid-template-columns: 1fr;
    width: min(680px, 100%);
    margin-inline: auto;
  }
  .card { min-height: 220px; }

  .collab-channels { grid-template-columns: 1fr; width: min(680px, 100%); }
  .collab-contact + .collab-contact {
    border-left: 0;
    border-top: 1px solid rgba(196, 165, 255, .1);
  }
  .collab-brief { width: min(680px, 100%); }

  .donate-card {
    grid-template-columns: 1fr;
    width: min(680px, 100%);
    gap: 28px;
  }
  .donate-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 92, 168, .35), transparent);
  }

  .podium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }
  .podium-card.p1 { grid-column: 1 / -1; grid-row: 1; min-height: 260px; }
  .podium-card.p2 { grid-column: 1; grid-row: 2; }
  .podium-card.p3 { grid-column: 2; grid-row: 2; }
}

@media (max-width: 720px) {
  .nav { gap: 6px; padding: 14px 12px; }
  .nav-pill {
    background: rgba(9, 5, 16, .86);
    border-color: rgba(196, 165, 255, .18);
    box-shadow: 0 12px 34px -16px rgba(0, 0, 0, .95);
  }
  .nav-tab { padding: 8px 14px; font-size: 13px; }
  .home-index { display: none; }
  [data-home-section] { scroll-margin-top: 76px; }
  .ambient-signal { height: 64px; }
  .ambient-particle:nth-child(n+7) { display: none; }
  .ambient-particle { opacity: .72; }

  .nav-live {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: auto;
    top: auto;
    padding: 9px 13px 9px 11px;
    border: 1px solid rgba(255, 92, 168, .28);
    background: rgba(255, 92, 168, .09);
    box-shadow: 0 16px 40px -22px rgba(0, 0, 0, .95);
    transition: opacity .28s, transform .35s var(--ease-out);
  }
  .nav-utility.is-stowed .nav-live {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
  }
  .foot-inner { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }

  .panel-inner { padding: 110px 0 70px; }
  .hero-main { min-height: 0; }
  .hero-cross, .hero-spark { display: none; }
  .hero-actions .btn { padding: 15px 22px; font-size: 12px; }
  #panel-live .screen .panel-inner { padding: 76px 0 28px; }
  .orn-divider { margin-top: 44px; }
  .orn-divider.named { margin: 0 auto 32px; gap: 14px; }
  .orn-label { font-size: 11px; letter-spacing: .24em; }
  .hero-portrait {
    top: 37%;
    width: 120vw;
    height: min(570px, 68svh);
    -webkit-mask-image: radial-gradient(ellipse 55% 52% at 48% 37%, #000 0%, #000 32%, rgba(0, 0, 0, .84) 47%, rgba(0, 0, 0, .34) 63%, transparent 78%);
    mask-image: radial-gradient(ellipse 55% 52% at 48% 37%, #000 0%, #000 32%, rgba(0, 0, 0, .84) 47%, rgba(0, 0, 0, .34) 63%, transparent 78%);
  }
  .hero-portrait img { object-position: 47% 38%; filter: brightness(.58) contrast(1.1) saturate(.86); }
  body.ready .hero-portrait { opacity: .46; }
  .hero-content { transform: translateY(24px); }
  .player-bar { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .player-shell.is-offline .player-box,
  .player-shell.no-embed .player-box { aspect-ratio: 4 / 3; }
  .player-off { padding: 16px; }
  .player-off-orn { margin-bottom: 9px; }
  .player-off-title { margin-bottom: 7px; }
  .player-off-text { font-size: 12px; }
  .player-off-actions { width: min(230px, 100%); margin: 13px auto 0; flex-direction: column; gap: 7px; }
  .player-off-actions .btn { width: 100%; min-width: 0; padding: 9px 12px; }
  .pb-chips { margin-left: 0; justify-content: flex-start; order: 3; }
  .pb-btn { width: 100%; justify-content: center; order: 4; }
  .hero-socials {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 14px;
    margin-top: 0;
  }
  .soc-card { padding: 24px 20px 20px; }
  .soc-card .brand-mark { width: 104px; height: 104px; }
  .soc-desc { padding-right: 40px; }
  .collab-stage { padding-top: 2px; }
  .collab-stage::before { top: 34%; width: 118vw; height: 230px; }
  .collab-stage::after { top: 33%; width: 94vw; height: 210px; }
  .collab-backdrop { top: 30%; font-size: clamp(70px, 24vw, 94px); }
  .collab-title { font-size: clamp(36px, 11.4vw, 48px); }
  .collab-lead { margin-top: 18px; font-size: 13px; }
  .collab-channels { grid-template-columns: 1fr; margin-top: 38px; border-radius: 17px; }
  .collab-contact { min-height: 84px; padding: 16px 14px; gap: 12px; }
  .collab-contact + .collab-contact { border-left: 0; border-top: 1px solid rgba(196, 165, 255, .1); }
  .collab-contact-copy b { font-size: 14px; }
  .collab-contact-action { min-width: 108px; min-height: 36px; padding-inline: 12px; font-size: 8.5px; }
  .collab-brief { margin-top: 18px; }
  .donate-card { grid-template-columns: 1fr; gap: 24px; padding: 30px 20px 24px; border-radius: 22px; }
  .donate-symbol { margin-bottom: 14px; }
  .donate-title { font-size: clamp(27px, 9vw, 36px); }
  .donate-lead { font-size: 13px; }
  .donate-actions { flex-direction: column; align-items: stretch; margin-top: 22px; }
  .donate-primary, .donate-secondary { width: 100%; }
  .donate-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 92, 168, .35), transparent); }
  .donate-detail { padding: 13px 4px; }
  .donate-line { flex-wrap: wrap; justify-content: center; padding: 16px 28px; font-size: 12px; }

  .card { padding: 30px 24px 26px; }
  .cards { grid-template-columns: 1fr; grid-auto-rows: 1fr; }
  .foot-inner { padding: 44px 0 22px; }
  .foot-closing { align-items: stretch; flex-direction: column; gap: 26px; }
  .foot-logo { font-size: clamp(48px, 17vw, 68px); }
  .foot-twitch { width: 100%; min-width: 0; }
  .foot-bar { align-items: flex-start; flex-direction: column; margin-top: 30px; }
  .foot-nav { gap: 8px 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .foot-inner { padding: 23px 0 18px; }
  .foot-main { align-items: flex-start; flex-direction: column; gap: 16px; }
  .foot-meta { align-items: flex-start; flex-direction: column; gap: 9px; }
  .foot-copy { white-space: normal; }
  .foot-legal-links { gap: 16px; }
  .foot-legal[open] { width: auto; }
  .foot-author { margin-top: 2px; }
  .podium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 10px;
    margin-top: 32px;
  }
  .podium-card { min-height: 150px; padding: 19px 16px; border-radius: 17px; }
  .podium-card.p1 { grid-column: 1 / -1; grid-row: 1; min-height: 220px; padding: 28px 24px; }
  .podium-card.p2 { grid-column: 1; grid-row: 2; }
  .podium-card.p3 { grid-column: 2; grid-row: 2; }
  .podium-card.p1 .podium-rank { right: 6px; top: 50%; font-size: clamp(82px, 27vw, 106px); }
  .podium-rank { right: 12px; top: 50%; font-size: 42px; }
  .podium-card.p2 .podium-person,
  .podium-card.p3 .podium-person { max-width: calc(100% - 48px); }
  .podium-card.p1 .podium-name { font-size: clamp(25px, 7.7vw, 31px); }
  .podium-name { font-size: clamp(14px, 3.6vw, 17px); }
  .podium-card.p3 .podium-name,
  .podium-card.has-long-name:not(.p1) .podium-name { font-size: clamp(13px, 3.35vw, 16px); }
  .podium-sum { gap: 5px; margin-top: 7px; font-size: 12px; letter-spacing: .01em; }
  .podium-card.p1 .podium-sum { font-size: 15px; }
  .podium-caption { font-size: 8.5px; line-height: 1.35; letter-spacing: .14em; }
  .podium-card::before {
    background: radial-gradient(110% 100% at 100% 0%, var(--rank-glow), transparent 62%);
  }
  .podium-card.p1 {
    box-shadow: 0 24px 64px -52px rgba(255, 92, 168, .42);
  }
  .board-shell { margin-top: 14px; border-radius: 21px; }
  .board-shell::after { left: 16px; right: 16px; top: 82px; }
  .board-heading { min-height: 84px; padding: 20px 17px 19px; gap: 12px; }
  .board-heading-copy { gap: 7px; }
  .board-heading-copy span { font-size: 14px; letter-spacing: -.03em; }
  .board-heading-copy small { font-size: 7.5px; letter-spacing: .13em; }
  .board-heading b { padding-bottom: 1px; font-size: 9px; }
  .board { padding: 10px 8px 10px; }
  .board li { grid-template-columns: 43px minmax(0, 1fr) auto; gap: 10px; min-height: 64px; padding: 9px 8px 9px 3px; }
  .board-idx { width: 43px; font-size: 15px; }
  .board-name { font-size: 12.5px; }
  .board-meter { width: min(142px, 100%); margin-top: 8px; }
  .board-sum { min-width: 96px; gap: 4px; font-size: 13px; }
  .board-currency { font-size: 12.5px; }
  .board-sum.special { max-width: 110px; font-size: 10px; }
  .board-toggle {
    min-height: 54px;
    padding: 12px 16px;
    font-size: 8px;
  }
}

@media (max-width: 720px) and (hover: hover) {
  .podium-card.p1:hover .podium-rank,
  .podium-card.p1:focus-within .podium-rank {
    transform: translateY(-54%) translateX(4px);
  }
}

@media (max-width: 520px) {
  .podium { grid-template-columns: 1fr; }
  .podium-card.p1,
  .podium-card.p2,
  .podium-card.p3 { grid-column: 1; }
  .podium-card.p1 { grid-row: 1; }
  .podium-card.p2 { grid-row: 2; min-height: 132px; }
  .podium-card.p3 { grid-row: 3; min-height: 132px; }
  .podium-card.p2 .podium-name,
  .podium-card.p3 .podium-name,
  .podium-card.has-long-name:not(.p1) .podium-name {
    font-size: clamp(16px, 4.6vw, 18px);
  }
  .podium-card.p2 .podium-person,
  .podium-card.p3 .podium-person { max-width: calc(100% - 82px); }
}

@media (max-width: 360px) {
  .nav-tab { padding-inline: 12px; font-size: 12px; }
  .collab-contact {
    grid-template-columns: 26px minmax(0, 1fr);
    min-height: 0;
  }
  .collab-contact-action {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }
  .collab-contact-copy b { font-size: 13.5px; }
  .foot-legal-links { flex-wrap: wrap; row-gap: 8px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;
  }
  .reveal { transform: none; }
  .signal-motes { display: none; }
  .signal-dust { animation: none; }
  .board-meter i { width: var(--share); transition: none; }
  body.no-webgl::before { animation: none; }
  .particle-field { display: none; }
  .card:hover .brand-mark,
  .card:focus-visible .brand-mark,
  .soc-card:hover .brand-mark,
  .soc-card:focus-visible .brand-mark { transform: translateY(-50%); }
  .foot-socials .soc-ico:hover,
  .foot-twitch:hover { transform: none; }
}
