/* =====================================================================
   Glow-Awards — дизайн-система v2
   Тёмная фиолетовая атмосфера, стекло, кристаллы, мягкий свет.
   ===================================================================== */
:root {
  /* цвет */
  --bg-0: #05030a;
  --bg-1: #0a0614;
  --bg-2: #120a22;
  --surface: rgba(30, 17, 56, .52);
  --surface-2: rgba(44, 24, 82, .46);
  --stroke: rgba(205, 190, 255, .13);
  --stroke-2: rgba(205, 190, 255, .28);
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-900: #2e1065;
  --orchid: #c084fc;
  --lav: #c4b5fd;
  --lav2: #ede4ff;
  --text: #f1ebff;
  --text-2: #bcaedc;
  --muted: #8f80b3;
  --ok: #86efac;
  --danger: #fda4af;
  --line: var(--stroke);
  /* форма */
  --r-sm: 12px;
  --radius: 20px;
  --r-lg: 30px;
  /* шрифты */
  --font-logo: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --font-head: "Forum", "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  /* движение */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.5, .64, 1);
  --t-fast: .18s;
  --t-med: .45s;
  --t-slow: .9s;
  --header-h: 70px;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  background: var(--bg-0); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
a { color: var(--lav); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1240px, 100% - 40px); margin: 0 auto; }

/* =====================================================================
   АТМОСФЕРА: свет, туман, частицы
   ===================================================================== */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: strict;
  background:
    radial-gradient(1300px 800px at 50% -18%, rgba(124, 58, 237, .30), transparent 62%),
    radial-gradient(900px 700px at 100% 100%, rgba(88, 28, 135, .22), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 45%, #07040f); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.orb.o1 { width: 46vmax; height: 46vmax; left: -14vmax; top: 8vh; background: radial-gradient(circle, #6d28d9, transparent 68%); animation: drift1 26s var(--ease-io) infinite alternate; }
.orb.o2 { width: 40vmax; height: 40vmax; right: -12vmax; top: 30vh; background: radial-gradient(circle, #a21caf, transparent 66%); opacity: .32; animation: drift2 32s var(--ease-io) infinite alternate; }
.orb.o3 { width: 34vmax; height: 34vmax; left: 30vw; bottom: -18vmax; background: radial-gradient(circle, #4c1d95, transparent 70%); animation: drift3 38s var(--ease-io) infinite alternate; }
@keyframes drift1 { to { transform: translate3d(12vw, 18vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-16vw, -14vh, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(-10vw, -20vh, 0) scale(1.1); } }
.grain { position: absolute; inset: -50%; opacity: .06; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sparkles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sparkles i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #f3e8ff;
  box-shadow: 0 0 6px 1px rgba(192, 132, 252, .9); opacity: 0; animation: twinkle 7s infinite ease-in-out; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: translateY(0) scale(.5); } 50% { opacity: .85; transform: translateY(-14px) scale(1); } }

main, .header, .footer, #banners { position: relative; z-index: 1; }

/* =====================================================================
   ВСТУПЛЕНИЕ ПРИ ЗАГРУЗКЕ
   ===================================================================== */
.intro { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--bg-0);
  transition: opacity .8s var(--ease-out), visibility .8s; }
.intro .logo-word { font-size: clamp(34px, 7vw, 72px); opacity: 0; transform: translateY(14px); filter: blur(8px);
  animation: introIn 1s var(--ease-out) .1s forwards; }
.intro::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 1px; transform: translate(-50%, 46px);
  background: linear-gradient(90deg, transparent, #e9d5ff, transparent); animation: introLine 1.1s var(--ease-out) .3s forwards; }
@keyframes introIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes introLine { to { width: min(420px, 70vw); } }
.intro.gone { opacity: 0; visibility: hidden; }

/* =====================================================================
   ЛОГОТИП (только текст Glow-Awards)
   ===================================================================== */
.logo { display: inline-flex; align-items: center; text-decoration: none; position: relative; }
.logo-word {
  display: inline-block; font-family: var(--font-logo); font-weight: 900; letter-spacing: .03em; line-height: 1.05; white-space: nowrap;
  background: linear-gradient(100deg, #f5f3ff 0%, #c4b5fd 20%, #ffffff 34%, #a78bfa 50%, #efe7ff 64%, #9d8fc7 82%, #f5f3ff 100%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, .45)); animation: shimmer 9s linear infinite;
}
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 260% 0; } }
.logo-sm .logo-word { font-size: 23px; }

/* =====================================================================
   ШАПКА
   ===================================================================== */
.header { position: sticky; top: 0; z-index: 60; height: var(--header-h); transition: background .4s, box-shadow .4s, height .4s var(--ease-out); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 4, 16, .55); backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.header.scrolled::before { background: rgba(8, 4, 16, .82); border-color: var(--stroke); }
.header.scrolled { box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.header .container { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.header .logo { order: -1; }
.header .nav { justify-self: center; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; color: var(--text-2); text-decoration: none; font-size: 14.5px; padding: 8px 12px; border-radius: 999px;
  transition: color var(--t-fast), background var(--t-fast); white-space: nowrap; }
.nav a:hover { color: var(--text); background: rgba(167, 139, 250, .08); }
.nav a.active { color: #fff; }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 16px; height: 2px; border-radius: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--violet-400), var(--orchid)); box-shadow: 0 0 10px var(--orchid); }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.burger { display: none; background: rgba(167, 139, 250, .08); border: 1px solid var(--stroke); border-radius: 12px; width: 44px; height: 42px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--lav); margin: 4px auto; border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.user-chip { display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px; border-radius: 999px; cursor: pointer; max-width: 220px;
  border: 1px solid var(--stroke-2); background: rgba(124, 58, 237, .14); color: var(--text); transition: background var(--t-fast), border-color var(--t-fast); }
.user-chip:hover { background: rgba(124, 58, 237, .26); border-color: rgba(196, 181, 253, .45); }
.user-chip .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: linear-gradient(135deg, #c084fc, #5b21b6); color: #fff; flex: none; box-shadow: 0 0 12px rgba(168, 85, 247, .5); }
.user-chip .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }

/* =====================================================================
   КНОПКИ
   ===================================================================== */
.btn {
  --g1: #b06cff; --g2: #7c3aed; --g3: #5b21b6;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; user-select: none;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -10px 20px rgba(46, 16, 101, .35), 0 8px 26px -8px rgba(124, 58, 237, .8), 0 0 0 1px rgba(233, 213, 255, .18);
  transition: transform .35s var(--spring), box-shadow .35s var(--ease-out), filter .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before { /* блик, пробегающий при наведении */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 64%) -150% 0 / 200% 100% no-repeat;
  transition: background-position .9s var(--ease-out);
}
.btn::after { /* верхняя «стеклянная» половина */
  content: ""; position: absolute; left: 1px; right: 1px; top: 1px; height: 50%; z-index: -1; border-radius: 999px 999px 40% 40% / 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); pointer-events: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -10px 20px rgba(46, 16, 101, .3), 0 14px 34px -8px rgba(147, 51, 234, .95), 0 0 0 1px rgba(233, 213, 255, .35), 0 0 30px rgba(192, 132, 252, .35); }
.btn:hover::before { background-position: 150% 0; }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.btn:disabled { cursor: default; transform: none; }
.btn-lg { min-height: 58px; padding: 0 40px; font-size: 16.5px; }
.btn-sm { min-height: 42px; padding: 0 22px; font-size: 14px; }
.btn-silver { --g1: #ffffff; --g2: #cfc9e6; --g3: #8e86ad; color: #1d1236;
  box-shadow: inset 0 1px 0 #fff, inset 0 -10px 20px rgba(80, 70, 120, .25), 0 8px 26px -10px rgba(220, 210, 255, .6), 0 0 0 1px rgba(255, 255, 255, .5); }
.btn-silver:hover { box-shadow: inset 0 1px 0 #fff, 0 14px 34px -10px rgba(220, 210, 255, .8), 0 0 28px rgba(220, 210, 255, .35); }
.btn-ghost { --g1: rgba(167, 139, 250, .14); --g2: rgba(124, 58, 237, .12); --g3: rgba(76, 29, 149, .14);
  font-weight: 600; box-shadow: inset 0 0 0 1px var(--stroke-2); min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-ghost::after { display: none; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .5), 0 8px 24px -10px rgba(124, 58, 237, .7); }
.btn-voted, .btn:disabled:not(.btn-ghost) {
  --g1: rgba(134, 239, 172, .12); --g2: rgba(60, 40, 100, .5); --g3: rgba(30, 18, 54, .6);
  color: var(--ok); box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .3); text-shadow: none;
}
.btn:disabled:not(.btn-voted):not(.btn-ghost) { color: var(--text-2); box-shadow: inset 0 0 0 1px var(--stroke); --g1: rgba(255, 255, 255, .04); --g2: rgba(255, 255, 255, .03); --g3: rgba(255, 255, 255, .02); }
.btn-voted::before, .btn:disabled::before, .btn-voted::after, .btn:disabled::after { display: none; }
.btn .ico { width: 17px; height: 17px; flex: none; }
.btn .spin { width: 17px; height: 17px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.ripple { position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .55); animation: ripple .6s var(--ease-out) forwards; }
@keyframes ripple { to { transform: scale(26); opacity: 0; } }

/* =====================================================================
   ГЕРОЙ
   ===================================================================== */
.hero { position: relative; text-align: center; padding: clamp(54px, 10vh, 120px) 0 clamp(40px, 8vh, 90px); min-height: min(860px, calc(100svh - var(--header-h))); display: grid; align-items: center; overflow: hidden; }
.hero-beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-beams::before, .hero-beams::after { content: ""; position: absolute; left: 50%; top: -30%; width: 140vmax; height: 140vmax; transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(167, 139, 250, .14) 12deg, transparent 26deg, transparent 150deg, rgba(192, 132, 252, .10) 166deg, transparent 182deg, transparent 300deg, rgba(167, 139, 250, .12) 312deg, transparent 330deg);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 0, transparent 55%); mask: radial-gradient(circle at 50% 50%, #000 0, transparent 55%);
  animation: beams 60s linear infinite; }
.hero-beams::after { animation-duration: 90s; animation-direction: reverse; opacity: .7; }
@keyframes beams { to { transform: translateX(-50%) rotate(360deg); } }
.hero-halo { position: absolute; left: 50%; top: 46%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(147, 51, 234, .38), rgba(76, 29, 149, .14) 38%, transparent 64%); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .8; } }
.hero-crystals { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-crystals .gem-icon { position: absolute; opacity: .55; filter: drop-shadow(0 0 18px rgba(168, 85, 247, .6));
  transform: translate3d(calc(var(--px, 0) * var(--d, 10px)), calc(var(--py, 0) * var(--d, 10px)), 0); transition: transform 1.2s var(--ease-out); }
.hero-crystals .gem-icon > * { animation: floaty 9s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(4deg); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--lav); }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--lav)); }
.eyebrow::after { transform: scaleX(-1); }
.hero .eyebrow { margin-bottom: 22px; }
.logo-xl { display: block; }
.logo-xl .logo-word { font-size: clamp(46px, 10.5vw, 150px); padding: 0 .04em .06em; }
.logo-xl .logo-word[data-split] { background: none; animation: none; }
/* у каждой буквы свой кусок общего градиента — иначе градиентный текст пропадает при анимации букв */
.logo-xl .ch { display: inline-block;
  background: linear-gradient(100deg, #f5f3ff 0%, #c4b5fd 20%, #ffffff 34%, #a78bfa 50%, #efe7ff 64%, #9d8fc7 82%, #f5f3ff 100%);
  background-size: calc(var(--n, 11) * 100%) 100%; background-position: calc(var(--i) / (var(--n, 11) - 1) * 100%) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-line { width: min(560px, 70%); height: 1px; margin: 18px auto 0; background: linear-gradient(90deg, transparent, #e9d5ff, transparent); box-shadow: 0 0 18px 1px rgba(196, 181, 253, .55); }
.hero-sub { font-family: var(--font-head); font-size: clamp(22px, 3vw, 34px); letter-spacing: .2em; text-transform: uppercase; margin: 28px 0 12px; color: var(--lav2); }
.hero-text { max-width: 620px; margin: 0 auto 34px; color: var(--text-2); font-size: clamp(15px, 1.7vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-stats { display: flex; justify-content: center; gap: clamp(10px, 3vw, 22px); margin-top: 46px; flex-wrap: wrap; }
.stat { min-width: 140px; padding: 14px 20px; border-radius: 18px; background: rgba(30, 17, 56, .4); border: 1px solid var(--stroke); backdrop-filter: blur(8px); }
.stat b { display: block; font-family: var(--font-head); font-size: 32px; line-height: 1.1; color: #fff; font-weight: 400; text-shadow: 0 0 18px rgba(168, 85, 247, .7); }
.stat span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat.live b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 8px 4px 0; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(134, 239, 172, .6); animation: live 2s infinite; vertical-align: middle; }
.stat.paused b::before { background: #fcd34d; animation: none; }
.stat.closed b::before { background: var(--danger); animation: none; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(134, 239, 172, 0); } 100% { box-shadow: 0 0 0 0 rgba(134, 239, 172, 0); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid var(--stroke-2); opacity: .7; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--lav); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* последовательность появления героя */
.js .hero [data-seq] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.js .logo-xl .ch { opacity: 0; transform: translateY(.35em) rotateX(-60deg); filter: blur(10px); }
.is-ready .hero [data-seq] { animation: seqIn 1s var(--ease-out) forwards; animation-delay: calc(var(--s, 0) * 120ms + 450ms); }
.is-ready .logo-xl .ch { animation: chIn 1.1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 150ms); }
@keyframes seqIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }

/* =====================================================================
   ПЛАШКИ И ЗАГОЛОВКИ РАЗДЕЛОВ
   ===================================================================== */
.banner { margin: 0 auto 10px; width: min(900px, 100% - 32px); padding: 13px 18px; border-radius: 16px; border: 1px solid var(--stroke-2);
  background: rgba(124, 58, 237, .12); backdrop-filter: blur(10px); text-align: center; font-size: 15px; }
.banner.warn { border-color: rgba(253, 164, 175, .35); background: rgba(190, 18, 60, .12); color: #ffd6dd; }
.section { position: relative; padding: clamp(56px, 9vh, 100px) 0 20px; }
.section-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-title { font-family: var(--font-head); font-weight: 400; font-size: clamp(32px, 5vw, 58px); line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; margin: 0;
  background: linear-gradient(180deg, #ffffff 10%, #dccfff 55%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { color: var(--text-2); margin: 12px auto 0; max-width: 620px; }
.progress-pill { display: inline-flex; gap: 10px; align-items: center; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(20, 10, 36, .6); color: var(--text-2); font-size: 14px; }
.progress-pill b { color: #fff; }
.progress-bar { width: 90px; height: 5px; border-radius: 4px; background: rgba(196, 181, 253, .15); overflow: hidden; }
.progress-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-500), var(--orchid)); transition: width 1s var(--ease-out); }

/* появление при прокрутке */
.js [data-reveal] { opacity: 0; transform: translateY(26px) scale(.985); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in.instant { transition: none; }

/* =====================================================================
   ГЛАВНЫЕ НАГРАДЫ: CHAT KING И CHAT QUEEN
   ===================================================================== */
.royal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.royal-card {
  --mx: 50%; --my: 30%; --rx: 0deg; --ry: 0deg;
  position: relative; isolation: isolate; border-radius: var(--r-lg); cursor: pointer; min-height: clamp(560px, 62vh, 680px);
  display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 34px); overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(124, 58, 237, .38), transparent 60%),
    radial-gradient(80% 50% at 50% 0%, rgba(192, 132, 252, .14), transparent 70%),
    linear-gradient(180deg, rgba(36, 18, 68, .85), rgba(12, 6, 24, .92));
  box-shadow: 0 40px 90px -30px rgba(76, 29, 149, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.royal-card::before { /* вращающаяся светящаяся рамка */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang), rgba(233, 213, 255, .15), rgba(192, 132, 252, .95), rgba(233, 213, 255, .15) 25%, rgba(167, 139, 250, .1) 50%, rgba(240, 171, 252, .85) 75%, rgba(233, 213, 255, .15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinBorder 8s linear infinite;
}
@keyframes spinBorder { to { --ang: 360deg; } }
.royal-card::after { /* свет, следующий за курсором */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(233, 213, 255, .14), transparent 45%); transition: opacity .5s;
}
.royal-card:hover { box-shadow: 0 50px 110px -30px rgba(124, 58, 237, .9), 0 0 60px rgba(168, 85, 247, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
.royal-card:hover::after { opacity: 1; }
.royal-sheen { position: absolute; inset: -40% -60%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .07) 48%, rgba(255, 255, 255, .14) 50%, transparent 56%); transform: translateX(-60%); animation: sheen 9s var(--ease-io) infinite; }
.royal-card:nth-child(2) .royal-sheen { animation-delay: 4.5s; }
@keyframes sheen { 0%, 60% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.royal-top { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.royal-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--lav2); background: rgba(124, 58, 237, .22); border: 1px solid rgba(196, 181, 253, .3); }
.royal-tag .gem-icon { width: 18px; height: 18px; }
.royal-num { font-family: var(--font-head); color: var(--muted); font-size: 18px; letter-spacing: .1em; }
.royal-title { position: relative; z-index: 4; margin: 14px 0 0; font-family: var(--font-head); font-weight: 400; text-transform: uppercase; text-align: center;
  font-size: clamp(54px, 6.4vw, 92px); line-height: .95; letter-spacing: .06em;
  background: linear-gradient(180deg, #ffffff 15%, #e4d7ff 50%, #a78bfa 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(168, 85, 247, .55)); }
.royal-sub { position: relative; z-index: 4; text-align: center; color: var(--text-2); font-size: 15px; margin-top: 8px; }
.royal-stage { position: relative; z-index: 1; flex: 1; min-height: 270px; margin: 6px -12px 0; }
.royal-stage::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(168, 85, 247, .55), transparent); filter: blur(20px); }
.royal-stage .fans { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 97%); mask-image: linear-gradient(180deg, #000 62%, transparent 97%); }
.fan { position: absolute; left: 50%; bottom: 0; height: 100%; width: 46%; margin-left: -23%; display: flex; align-items: flex-end; justify-content: center;
  transform: translateX(calc(var(--p) * var(--spread, 62%))) scale(calc(1 - var(--ap) * .16)); z-index: calc(20 - var(--ap));
  opacity: calc(1 - var(--ap) * .28); filter: brightness(calc(1 - var(--ap) * .28)) saturate(calc(1 - var(--ap) * .2));
  transition: transform 1.1s var(--ease-out), opacity 1.1s var(--ease-out), filter 1.1s var(--ease-out); }
.fan.out { opacity: 0; pointer-events: none; }
.fan img { max-height: 100%; max-width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 14px rgba(192, 132, 252, .55)); }
.royal-card:hover .fan { --spread: 70%; }
.royal-now { position: relative; z-index: 40; text-align: center; margin-top: -34px; min-height: 30px; font-family: var(--font-head); font-size: 24px; letter-spacing: .05em; color: #fff;
  transition: opacity .5s, transform .5s var(--ease-out); text-shadow: 0 0 20px rgba(168, 85, 247, .8); }
.royal-now.swap { opacity: 0; transform: translateY(6px); }
.royal-foot { position: relative; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.royal-count { color: var(--text-2); font-size: 14.5px; }
.royal-count b { color: #fff; }
.royal-card .btn { min-width: 220px; }
.royal-card.voted .royal-count { color: var(--ok); }

/* =====================================================================
   КОМПАКТНЫЕ КАРТОЧКИ НОМИНАЦИЙ
   ===================================================================== */
.chips { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 12px 20px; margin-bottom: 28px; scrollbar-width: none;
  background: linear-gradient(180deg, rgba(6, 3, 12, .85), rgba(6, 3, 12, .55)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid rgba(196, 181, 253, .06); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(124, 58, 237, .08); color: var(--text-2); font-size: 13.5px; cursor: pointer;
  white-space: nowrap; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.chip:hover { background: rgba(124, 58, 237, .24); border-color: rgba(196, 181, 253, .4); color: #fff; }
.chip.done { color: var(--ok); border-color: rgba(134, 239, 172, .3); }
.chip.done::before { content: "✓ "; }
.nom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.nom-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border-radius: var(--radius); cursor: pointer; min-height: 248px;
  background: linear-gradient(160deg, rgba(42, 22, 78, .62), rgba(14, 7, 27, .82) 70%);
  box-shadow: inset 0 0 0 1px var(--stroke), 0 18px 40px -26px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .5s;
}
.nom-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .5s;
  background: radial-gradient(120% 80% at 50% 0%, rgba(168, 85, 247, .24), transparent 60%); }
.nom-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .38), 0 26px 50px -24px rgba(124, 58, 237, .65), 0 0 30px rgba(168, 85, 247, .12); }
.nom-card:hover::before { opacity: 1; }
.nc-head { display: flex; align-items: center; gap: 12px; }
.nc-head .gem-icon { width: 54px; height: 54px; flex: none; filter: drop-shadow(0 6px 14px rgba(124, 58, 237, .5)); transition: transform .6s var(--spring); }
.nom-card:hover .nc-head .gem-icon { transform: rotate(-6deg) scale(1.08); }
.nc-num { font-family: var(--font-head); color: var(--muted); font-size: 15px; letter-spacing: .1em; }
.nc-done { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--ok);
  background: rgba(134, 239, 172, .12); border: 1px solid rgba(134, 239, 172, .35); }
.nc-title { margin: 0; font-family: var(--font-head); font-weight: 400; font-size: 25px; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.nc-desc { margin: -4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.nc-avatars { display: flex; align-items: center; margin-top: auto; padding-left: 6px; min-height: 44px; }
.av-c { width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; overflow: hidden; flex: none; display: block;
  background: radial-gradient(circle at 50% 80%, #7c3aed, #1d0f36 72%); box-shadow: 0 0 0 2px #140a24, 0 0 0 3px rgba(196, 181, 253, .25); transition: transform .4s var(--spring); }
.av-c img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; transform: scale(1.5); transform-origin: 50% 0; display: block; }
.av-c.ph { display: grid; place-items: center; font-family: var(--font-head); font-size: 18px; color: #fff; }
.av-more { margin-left: 6px; color: var(--text-2); font-size: 13px; font-weight: 600; }
.nom-card:hover .av-c { transform: translateY(-3px); }
.nom-card:hover .av-c:nth-child(2) { transition-delay: .04s; } .nom-card:hover .av-c:nth-child(3) { transition-delay: .08s; } .nom-card:hover .av-c:nth-child(4) { transition-delay: .12s; }
.nc-titles { margin-top: auto; color: var(--text-2); font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(196, 181, 253, .08); }
.nc-state { color: var(--text-2); font-size: 13px; }
.nc-state.done { color: var(--ok); }
.nom-card.voted { box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .22), 0 18px 40px -26px rgba(0, 0, 0, .8); }
.nom-card.flash { animation: flash 1s var(--ease-out); }
@keyframes flash { 0% { box-shadow: inset 0 0 0 1px var(--lav), 0 0 0 0 rgba(196, 181, 253, .8); } 100% { box-shadow: inset 0 0 0 1px var(--stroke), 0 0 0 18px rgba(196, 181, 253, 0); } }

/* =====================================================================
   КЛИПЫ ГОДА
   ===================================================================== */
.clips-block + .clips-block { margin-top: 40px; }
.clips-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.clips-bar h3 { margin: 0; font-family: var(--font-head); font-weight: 400; font-size: 28px; letter-spacing: .05em; text-transform: uppercase; }
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.clip-card { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(36, 18, 68, .7), rgba(12, 6, 24, .9)); box-shadow: inset 0 0 0 1px var(--stroke), 0 24px 50px -30px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.clip-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .35), 0 30px 60px -26px rgba(124, 58, 237, .7); }
.clip-card.mine { box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .4), 0 24px 50px -30px rgba(0, 0, 0, .9); }
.clip-media { position: relative; aspect-ratio: 16 / 9; background: #0b0614; overflow: hidden; }
.clip-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-out), filter .6s; }
.clip-card:hover .clip-media img { transform: scale(1.05); filter: brightness(1.08); }
.clip-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(8, 4, 16, .65)); }
.clip-media.embed::after { display: none; }
.clip-play { position: absolute; inset: 0; margin: auto; z-index: 2; width: 70px; height: 70px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(124, 58, 237, .78); backdrop-filter: blur(6px); box-shadow: 0 0 0 8px rgba(124, 58, 237, .22), 0 0 40px rgba(168, 85, 247, .8);
  transition: transform .45s var(--spring), box-shadow .45s; }
.clip-play::after { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.clip-card:hover .clip-play { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(124, 58, 237, .18), 0 0 60px rgba(168, 85, 247, .9); }
.clip-src { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(8, 4, 16, .7); backdrop-filter: blur(6px); color: #e9d5ff; }
.clip-src.tw { color: #d7b8ff; } .clip-src.yt { color: #ffb4b4; }
.clip-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.clip-body h4 { margin: 0; font-family: var(--font-head); font-weight: 400; font-size: 23px; line-height: 1.15; color: #fff; }
.clip-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.clip-actions .btn { flex: 1 1 150px; }
.clips-empty { text-align: center; padding: 50px 24px; border-radius: var(--radius); border: 1px dashed var(--stroke-2); color: var(--text-2); background: rgba(20, 10, 36, .4); }
.clips-empty .gem-icon { width: 80px; height: 80px; margin-bottom: 8px; }

/* =====================================================================
   КАРТОЧКИ, ФОРМЫ, FAQ, ФУТЕР
   ===================================================================== */
.card { position: relative; border-radius: var(--radius); padding: clamp(20px, 4vw, 36px);
  background: linear-gradient(180deg, rgba(36, 18, 68, .55), rgba(12, 6, 24, .82)); box-shadow: inset 0 0 0 1px var(--stroke), 0 24px 60px -30px rgba(0, 0, 0, .8); }
.suggest-wrap { max-width: 720px; margin: 0 auto; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; text-align: left; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--lav); }
.field small { color: var(--muted); font-size: 12px; font-weight: 400; }
.input, select.input, textarea.input { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(5, 3, 10, .6); color: var(--text);
  outline: none; transition: border-color .25s, box-shadow .25s, background .25s; }
.input:hover { border-color: var(--stroke-2); }
.input:focus { border-color: rgba(196, 181, 253, .7); box-shadow: 0 0 0 4px rgba(124, 58, 237, .22); background: rgba(5, 3, 10, .8); }
select.input option, select.input optgroup { background: #120822; }
textarea.input { min-height: 100px; resize: vertical; }
.form-actions { display: flex; justify-content: center; margin-top: 8px; }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: rgba(20, 10, 36, .55); box-shadow: inset 0 0 0 1px var(--stroke); padding: 0 20px; transition: background .3s, box-shadow .3s; }
.faq details[open] { background: rgba(36, 18, 68, .55); box-shadow: inset 0 0 0 1px var(--stroke-2); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-head); font-size: 21px; letter-spacing: .02em; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lav); transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--text-2); }
.footer { text-align: center; padding: 60px 0 44px; color: var(--muted); font-size: 14px; margin-top: 70px; }
.footer::before { content: ""; display: block; width: min(700px, 80%); height: 1px; margin: 0 auto 44px; background: linear-gradient(90deg, transparent, var(--stroke-2), transparent); }
.footer .logo { margin-bottom: 12px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0 16px; }
.footer nav a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer nav a:hover { color: #fff; }

/* =====================================================================
   МОДАЛЬНЫЕ ОКНА
   ===================================================================== */
.overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(4, 1, 9, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 24px 12px; }
.overlay.open { display: flex; animation: ovIn .35s var(--ease-out); }
.overlay.closing { animation: ovOut .28s var(--ease-io) forwards; }
@keyframes ovIn { from { opacity: 0; backdrop-filter: blur(0); } }
@keyframes ovOut { to { opacity: 0; } }
.modal { position: relative; width: min(460px, 100%); margin: auto; border-radius: 26px; padding: 32px 26px 26px;
  background: radial-gradient(500px 260px at 50% -60px, rgba(124, 58, 237, .4), transparent 70%), linear-gradient(180deg, rgba(26, 13, 48, .96), rgba(10, 5, 20, .97));
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .22), inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 100px -20px rgba(0, 0, 0, .8), 0 0 60px rgba(124, 58, 237, .2);
  animation: popIn .5s var(--ease-out); }
.overlay.closing .modal { animation: popOut .28s var(--ease-io) forwards; }
@keyframes popIn { from { transform: translateY(18px) scale(.96); opacity: 0; filter: blur(4px); } }
@keyframes popOut { to { transform: translateY(10px) scale(.97); opacity: 0; } }
.modal h3 { font-family: var(--font-head); font-weight: 400; font-size: 30px; letter-spacing: .06em; margin: 0 0 6px; text-align: center; text-transform: uppercase; }
.modal .lead { color: var(--text-2); text-align: center; margin: 0 0 22px; font-size: 15px; }
.x-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px var(--stroke-2);
  background: rgba(124, 58, 237, .14); cursor: pointer; color: var(--lav2); font-size: 22px; line-height: 1; z-index: 5; transition: background .25s, transform .4s var(--spring); }
.x-close:hover { background: rgba(124, 58, 237, .35); transform: rotate(90deg); }

/* вход */
.auth-btns { display: grid; gap: 12px; }
.auth-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 16px; cursor: pointer; border: 0;
  box-shadow: inset 0 0 0 1px var(--stroke); background: rgba(255, 255, 255, .035); color: #fff; font-weight: 600; font-size: 16px;
  transition: transform .4s var(--spring), background .25s, box-shadow .25s; animation: popIn .5s var(--ease-out) backwards; }
.auth-btn:nth-child(2) { animation-delay: .06s; } .auth-btn:nth-child(3) { animation-delay: .12s; }
.auth-btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .5), 0 12px 30px -14px rgba(124, 58, 237, .8); background: rgba(124, 58, 237, .16); }
.auth-btn .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.auth-btn.tg .ic { background: linear-gradient(135deg, #37aee2, #1e96c8); }
.auth-btn.vk .ic { background: #0077ff; }
.auth-btn.em .ic { background: linear-gradient(135deg, #a855f7, #6d28d9); }
.auth-btn svg { width: 20px; height: 20px; fill: #fff; }
.auth-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 16px; }
.code-input { text-align: center; font-size: 28px; letter-spacing: .5em; font-weight: 700; padding-left: .5em; }
.link-btn { background: none; border: 0; color: var(--lav); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; padding: 4px; }
.link-btn:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.err { color: var(--danger); font-size: 14px; text-align: center; min-height: 20px; margin: 6px 0; }
.profile-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--stroke); font-size: 15px; }
.profile-row:last-child { border: 0; }
.prov { display: inline-flex; align-items: center; gap: 8px; }
.prov i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* окно номинации */
.overlay.nom { padding: 0; align-items: stretch; background: rgba(4, 1, 9, .6); }
.nom-modal { position: relative; width: 100%; min-height: 100%;
  background: radial-gradient(900px 500px at 80% 0, rgba(124, 58, 237, .26), transparent 60%), radial-gradient(700px 500px at 0 100%, rgba(88, 28, 135, .26), transparent 60%), linear-gradient(180deg, rgba(13, 6, 24, .97), rgba(6, 3, 11, .99));
  animation: sheetIn .55s var(--ease-out); }
.overlay.nom.closing .nom-modal { animation: sheetOut .3s var(--ease-io) forwards; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px) scale(.985); } }
@keyframes sheetOut { to { opacity: 0; transform: translateY(20px) scale(.99); } }
.nom-head { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px clamp(16px, 4vw, 52px) 20px;
  background: rgba(10, 5, 20, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--stroke); }
.nom-head h2 { margin: 0; font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: .07em; font-size: clamp(24px, 3.6vw, 44px); line-height: 1.05;
  background: linear-gradient(180deg, #fff, #cdbcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nom-head h2 small { display: block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .3em; color: var(--muted); -webkit-text-fill-color: var(--muted); margin-bottom: 8px; }
.nom-head .meta { color: var(--text-2); margin-top: 8px; font-size: 14.5px; }
.nom-head .meta.done { color: var(--ok); }
.nom-head .gem-icon { width: clamp(64px, 8vw, 100px); height: auto; margin-right: 50px; }
.nom-modal.royal .nom-head h2 { font-size: clamp(30px, 5vw, 64px); }
.cand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; padding: 36px clamp(16px, 4vw, 52px) 70px; max-width: 1440px; margin: 0 auto; }
.cand-grid.pairs { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.cand-grid.media { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cand-grid.clips { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.cand { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 10px 20px; border-radius: 22px;
  transition: transform .5s var(--ease-out), background .4s; animation: candIn .7s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 45ms + 120ms); }
@keyframes candIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.cand:hover { transform: translateY(-5px); background: rgba(124, 58, 237, .08); }
.cand.mine { background: rgba(134, 239, 172, .05); box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .3); }
.cand.just { animation: justVoted 1.4s var(--ease-out); }
@keyframes justVoted { 0% { box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .9), 0 0 0 0 rgba(134, 239, 172, .5); } 100% { box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .3), 0 0 0 30px rgba(134, 239, 172, 0); } }
.portrait { position: relative; width: 100%; aspect-ratio: 1 / 1.02; isolation: isolate; }
.portrait::before { content: ""; position: absolute; left: 8%; right: 8%; top: 12%; bottom: 0; z-index: -1; border-radius: 50% 50% 0 0;
  background: radial-gradient(closest-side at 50% 58%, rgba(168, 85, 247, .55), rgba(124, 58, 237, .16) 62%, transparent); filter: blur(8px); opacity: .8; transition: opacity .5s, transform .6s var(--ease-out); }
.portrait::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 24%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(10, 5, 20, .96) 92%); }
.cand:hover .portrait::before { opacity: 1; transform: scale(1.06); }
.portrait > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 0 10px rgba(192, 132, 252, .5)) drop-shadow(0 0 26px rgba(124, 58, 237, .3)); transition: transform .7s var(--ease-out); }
.cand:hover .portrait > img { transform: scale(1.035) translateY(-4px); }
.portrait.pair { aspect-ratio: 1.45 / 1; }
.portrait.pair .duo { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; }
.portrait.pair .duo img { height: 100%; width: auto; max-width: 58%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 10px rgba(192, 132, 252, .5)); transition: transform .7s var(--ease-out); }
.portrait.pair .duo img + img { margin-left: -9%; }
.portrait.pair .duo img:first-child { position: relative; z-index: 1; }
.cand:hover .portrait.pair .duo img:first-child { transform: translateX(-3%); }
.cand:hover .portrait.pair .duo img:last-child { transform: translateX(3%); }
.portrait .ph { width: 70%; aspect-ratio: 1; display: grid; place-items: center; margin: 0 auto 12%; position: absolute; left: 15%; bottom: 0; border-radius: 50%;
  font-family: var(--font-head); font-size: 64px; color: #fff; background: radial-gradient(circle at 35% 30%, #c084fc, #4c1d95 70%);
  box-shadow: 0 0 40px rgba(168, 85, 247, .6), inset 0 -10px 30px rgba(0, 0, 0, .35); border: 2px solid rgba(233, 213, 255, .45); }
.portrait.pair .duo .ph { position: relative; left: auto; width: 44%; font-size: 48px; margin: 0 0 12%; }
.portrait.pair .duo > * + .ph, .portrait.pair .duo .ph + img { margin-left: -6%; }
.cand-name { font-family: var(--font-head); font-size: 23px; letter-spacing: .03em; margin: 14px 0 2px; color: #fff; word-break: break-word; line-height: 1.15; }
.cand-name .x { color: var(--orchid); margin: 0 .25em; }
.cand-line { width: 64%; height: 1px; margin: 10px auto 16px; background: linear-gradient(90deg, transparent, rgba(196, 181, 253, .45), transparent); }
.cand .btn { min-width: 200px; }
.mine-badge { position: absolute; top: 14px; right: 14px; z-index: 3; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(134, 239, 172, .14); color: var(--ok); border: 1px solid rgba(134, 239, 172, .4); animation: popIn .5s var(--spring); }
.poster { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 50% 0%, rgba(168, 85, 247, .35), transparent 60%), linear-gradient(160deg, #2a1150, #0f061e 75%);
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .25), 0 20px 44px -20px rgba(0, 0, 0, .9); transition: transform .6s var(--ease-out), box-shadow .6s; }
.cand:hover .poster { transform: translateY(-3px) rotate(-.6deg); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .5), 0 26px 50px -20px rgba(124, 58, 237, .7); }
.poster.wide { aspect-ratio: 16 / 9; }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster .poster-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px; gap: 12px; }
.poster .poster-ph .gem-icon { width: 46%; height: auto; opacity: .95; }
.poster .poster-ph span { font-family: var(--font-head); font-size: 24px; line-height: 1.15; color: #f3ecff; text-shadow: 0 0 14px rgba(168, 85, 247, .8); }
.empty { text-align: center; color: var(--text-2); padding: 60px 20px; grid-column: 1 / -1; }
.player { width: min(960px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--stroke); background: #000; margin: auto; }
.player iframe { width: 100%; height: 100%; border: 0; }
.confirm-portrait { width: 150px; height: 150px; margin: 0 auto 12px; display: flex; align-items: flex-end; justify-content: center; }
.confirm-portrait img { max-height: 100%; filter: drop-shadow(0 0 16px rgba(192, 132, 252, .7)); animation: floatSoft 4s ease-in-out infinite; }
@keyframes floatSoft { 50% { transform: translateY(-6px); } }
.confirm-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* =====================================================================
   АНИМАЦИЯ «ГОЛОС УЧТЁН»
   ===================================================================== */
.vote-fx { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; pointer-events: none; }
.vote-fx .bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(60, 22, 120, .82), rgba(4, 1, 9, .72) 62%); backdrop-filter: blur(3px); animation: fxBg 2s var(--ease-out) forwards; }
@keyframes fxBg { 0% { opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
.vote-fx .box { position: relative; text-align: center; animation: fxBox 2s var(--ease-out) forwards; }
@keyframes fxBox { 0% { opacity: 0; transform: scale(.8); } 18% { opacity: 1; transform: scale(1); } 78% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.04) translateY(-10px); } }
.vote-fx .ring { width: 132px; height: 132px; margin: 0 auto 18px; position: relative; }
.vote-fx .ring svg { width: 100%; height: 100%; overflow: visible; }
.vote-fx .ring circle { fill: rgba(124, 58, 237, .22); stroke: url(#fxG); stroke-width: 3; stroke-dasharray: 380; stroke-dashoffset: 380; animation: draw .8s var(--ease-out) .1s forwards; filter: drop-shadow(0 0 12px rgba(192, 132, 252, .9)); }
.vote-fx .ring path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .5s var(--ease-out) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.vote-fx .ring::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(233, 213, 255, .7); animation: wave 1.2s var(--ease-out) .5s forwards; opacity: 0; }
@keyframes wave { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.9); } }
.vote-fx .spark { position: absolute; left: 50%; top: 66px; width: 7px; height: 7px; margin: -3.5px; border-radius: 2px; background: #f5d0fe; box-shadow: 0 0 10px #c084fc;
  transform: rotate(45deg); opacity: 0; animation: spark 1.1s var(--ease-out) .55s forwards; }
@keyframes spark { 0% { opacity: 1; transform: translate(0, 0) rotate(45deg) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(225deg) scale(.3); } }
.vote-fx .t1 { font-family: var(--font-head); font-size: clamp(30px, 5vw, 46px); letter-spacing: .05em; color: #fff; text-shadow: 0 0 24px rgba(168, 85, 247, .9); }
.vote-fx .t2 { color: var(--lav2); margin-top: 6px; font-size: 16px; }

/* уведомления */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; display: grid; gap: 10px; width: min(440px, calc(100% - 24px)); }
.toast { padding: 14px 18px; border-radius: 16px; background: rgba(30, 14, 56, .92); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .35), 0 20px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(124, 58, 237, .3);
  text-align: center; font-weight: 600; animation: toastIn .5s var(--spring); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.95); } }
.toast.ok { box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .45), 0 20px 50px rgba(0, 0, 0, .5); }
.toast.bad { box-shadow: inset 0 0 0 1px rgba(253, 164, 175, .5), 0 20px 50px rgba(0, 0, 0, .5); color: #ffe4e8; }
.toast.big { font-family: var(--font-head); font-size: 24px; font-weight: 400; letter-spacing: .05em; padding: 20px; }
.loading { display: grid; place-items: center; padding: 80px 0; color: var(--text-2); gap: 14px; }
.loader { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(196, 181, 253, .18); border-top-color: var(--lav); animation: rot .9s linear infinite; }
.skeleton { border-radius: var(--radius); min-height: 248px; background: linear-gradient(100deg, rgba(36, 18, 68, .4) 30%, rgba(60, 32, 110, .45) 50%, rgba(36, 18, 68, .4) 70%) 0 0 / 300% 100%; animation: skel 1.6s linear infinite; }
.skeleton.big { min-height: 560px; border-radius: var(--r-lg); }
@keyframes skel { to { background-position: -300% 0; } }

/* =====================================================================
   АДАПТИВНОСТЬ
   ===================================================================== */
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: block; }
  .header .container { grid-template-columns: auto 1fr auto; }
  .header .burger { order: -2; }
  .header .logo { order: -1; justify-self: center; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; padding: 10px 16px 18px; gap: 2px;
    background: rgba(8, 4, 16, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--stroke); animation: menuIn .35s var(--ease-out); }
  .nav.open a { padding: 13px 14px; font-size: 17px; border-radius: 12px; }
  .nav.open a.active::after { display: none; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .container { width: calc(100% - 28px); }
  .logo-sm .logo-word { font-size: 19px; }
  .user-chip .nm { display: none; }
  .user-chip { padding: 4px; }
  .header-right .btn-sm { padding: 0 16px; min-height: 38px; }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-actions .btn { width: min(340px, 100%); }
  .stat { min-width: 0; flex: 1 1 28%; padding: 12px 8px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 10.5px; letter-spacing: .08em; }
  .scroll-cue { display: none; }
  .royal-card { min-height: 0; padding: 20px 18px 20px; border-radius: 24px; }
  .royal-title { font-size: clamp(46px, 14vw, 64px); }
  .royal-stage { flex: none; min-height: 0; height: 78vw; max-height: 340px; margin: 4px -10px 0; }
  .fan { width: 58%; margin-left: -29%; }
  .royal-now { font-size: 21px; margin-top: -24px; }
  .royal-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .royal-card .btn { width: 100%; min-width: 0; }
  .nom-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nom-card { min-height: 0; padding: 14px 12px 12px; gap: 8px; border-radius: 18px; }
  .nc-head .gem-icon { width: 40px; height: 40px; }
  .nc-num { font-size: 12.5px; }
  .nc-title { font-size: 18px; }
  .nc-desc { display: none; }
  .av-c { width: 32px; height: 32px; margin-left: -9px; }
  .nc-avatars { min-height: 34px; }
  .av-more { font-size: 11.5px; }
  .nc-titles { font-size: 12px; }
  .nc-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
  .nc-state { font-size: 11.5px; text-align: center; }
  .nom-card .btn { width: 100%; min-height: 40px; font-size: 13px; padding: 0 10px; }
  .clip-grid { gap: 16px; }
  .cand-grid { grid-template-columns: 1fr 1fr; gap: 18px 8px; padding: 22px 10px 60px; }
  .cand-grid.pairs, .cand-grid.clips { grid-template-columns: 1fr; }
  .cand-grid.media { grid-template-columns: 1fr 1fr; }
  .cand-name { font-size: 18px; }
  .cand .btn { min-width: 0; width: 100%; font-size: 13px; padding: 0 10px; min-height: 44px; }
  .nom-head { grid-template-columns: 1fr; padding: 16px 60px 14px 16px; }
  .nom-head .gem-icon { display: none; }
  .poster .poster-ph span { font-size: 18px; }
  .faq summary { font-size: 19px; }
  .toasts { bottom: 14px; }
}
/* только мышь: тяжёлые эффекты наведения */
@media (hover: none) {
  .royal-card { transform: none !important; }
  .royal-card::after { display: none; }
}
/* уменьшение движения */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .orb, .hero-beams, .royal-sheen, .sparkles { display: none; }
  .js [data-reveal], .js .hero [data-seq], .js .logo-xl .ch { opacity: 1 !important; transform: none !important; filter: none !important; }
}
.clip-actions .btn { white-space: nowrap; padding: 0 14px; }

/* =====================================================================
   v3: регистрация по коду, политика конфиденциальности
   ===================================================================== */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 14px; background: rgba(5, 3, 10, .55); box-shadow: inset 0 0 0 1px var(--stroke); }
.seg button { border: 0; border-radius: 10px; padding: 10px 8px; background: none; color: var(--text-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .25s, color .25s; }
.seg button:hover { color: #fff; }
.seg button.on { background: linear-gradient(135deg, rgba(167, 139, 250, .35), rgba(124, 58, 237, .35)); color: #fff; box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .35); }
.seg button.pulse { animation: segPulse 1.2s var(--ease-out) 2; }
@keyframes segPulse { 50% { box-shadow: inset 0 0 0 1px var(--lav), 0 0 18px rgba(196, 181, 253, .6); color: #fff; } }
.code-field { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; font-size: 17px; }
.consent { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13.5px; color: var(--text-2); line-height: 1.45; margin: 2px 0 6px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet-500); flex: none; }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(5, 3, 10, .55); box-shadow: inset 0 0 0 1px var(--stroke); }
.code-box code { font-family: ui-monospace, Consolas, monospace; font-size: 17px; letter-spacing: .1em; color: #fff; }
.clip-link { flex: 1 1 120px; }
.cand .clip-link-inline { display: inline-flex; margin: -4px 0 12px; font-size: 14px; }
/* политика */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-family: var(--font-head); font-weight: 400; font-size: 28px; letter-spacing: .03em; margin: 34px 0 10px; color: #fff; }
.legal p, .legal li { color: var(--text-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--stroke); }
.legal th { color: var(--lav); font-weight: 600; }
.legal .table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--stroke); background: rgba(20, 10, 36, .5); }
.legal .note { padding: 14px 16px; border-radius: 14px; background: rgba(124, 58, 237, .12); box-shadow: inset 0 0 0 1px var(--stroke-2); color: var(--lav2); }
a.clip-media { display: block; cursor: pointer; }
.footer a { color: var(--text-2); }
.lbl-short { display: none; }
@media (max-width: 640px) { .lbl-long { display: none; } .lbl-short { display: inline; } }
