/* ==========================================================================
   T2X2 AWARDS 2026
   Тёмная афиша + глубокие панели, лаванда и приглушённое золото.
   В духе t2x2.store: Unbounded, крупная типографика, минимум декора.
   ========================================================================== */

@font-face {
  font-family: 'Unbounded';
  src: url('assets/fonts/Unbounded.woff2') format('woff2'),
       url('assets/fonts/Unbounded.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter.woff2') format('woff2'),
       url('assets/fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0a0a0c;
  --paper: #141418;
  --ink: #101014;
  --ink-2: #17171c;
  --text: #f2f1ed;
  --muted: #a6a5ae;
  --dim: #8d8c97;
  --line: rgba(242, 241, 237, 0.12);
  --line-dark: rgba(242, 241, 237, 0.22);

  --lav: #b5aee2;
  --lav-deep: #c9c2f5;
  --lav-soft: #1e1c2a;
  --gold: #cfba6b;
  --gold-deep: #ddc97e;
  --gold-soft: #242013;

  --danger: #e07a7a;
  --radius: 26px;
  --container: 1280px;
  --pad: clamp(16px, 4vw, 40px);

  --font-u: 'Unbounded', 'Inter', system-ui, sans-serif;
  --font-i: 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: radial-gradient(900px 520px at 50% -160px, rgba(181, 174, 226, 0.1), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-i);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--lav);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nav,
.hero,
.about,
.vote,
.success,
.footer {
  width: min(var(--container), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.progress-top {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 110;
  pointer-events: none;
}

.progress-top i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lav-deep);
  transition: width 0.25s ease;
}

/* --------------------------------------------------------------------------
   Шапка
-------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 14px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
  margin-top: 14px;
  padding: 0 12px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.nav.is-scrolled {
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font-family: var(--font-u);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo__star {
  color: var(--lav);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.logo__word {
  letter-spacing: -0.04em;
}

.logo__award {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-i);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lav);
}

.logo__award b {
  color: var(--gold);
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: auto;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.18s ease;
}

.nav__links a:hover {
  color: #fff;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.nav__meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.authbtn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--lav);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.authbtn:hover {
  background: #c4beee;
}

.authbtn__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
}

.authbtn__icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.authbtn__icon img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  margin: -3px;
}

#authBtnLabel {
  min-width: 0;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.authbtn.is-authed {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.authbtn.is-authed:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* --------------------------------------------------------------------------
   Хиро
-------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 16px;
  margin-top: 24px;
}

.hero__main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 660px;
  padding: clamp(26px, 4.4vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 30px;
  background:
    radial-gradient(620px 320px at 88% -10%, rgba(181, 174, 226, 0.12), transparent 70%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero__main::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  top: -44px;
  right: 6px;
  font-size: clamp(160px, 19vw, 260px);
  line-height: 1;
  color: var(--lav);
  opacity: 0.13;
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 0;
}

.hero__intro {
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.tag--lav {
  background: var(--lav);
  color: var(--ink);
}

.tag--lav span {
  font-size: 12px;
  line-height: 1;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: clamp(28px, 4vw, 48px);
  font-family: var(--font-u);
  font-size: clamp(56px, 7.4vw, 112px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero__t1,
.hero__t2,
.hero__t3 {
  display: block;
}

.hero__t1 {
  color: #fff;
}

.hero__t2 {
  color: var(--gold);
}

.hero__t3 {
  color: var(--lav);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.6px var(--lav);
  text-stroke: 1.6px var(--lav);
  letter-spacing: -0.05em;
}

.hero__lede {
  max-width: 500px;
  margin-top: 26px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hero__foot a {
  color: var(--gold);
  transition: color 0.18s ease;
}

.hero__foot a:hover {
  color: #fff;
}

.hero__sticker {
  position: absolute;
  right: clamp(20px, 3vw, 42px);
  bottom: 104px;
  z-index: 1;
  width: 138px;
  padding: 8px 8px 0;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  transform: rotate(7deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

.hero__sticker img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 11px;
  background: #e8e5f7;
}

.hero__sticker span {
  display: block;
  padding: 6px 2px 8px;
  font-family: var(--font-i);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.hero__side {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 16px;
  min-height: 660px;
}

.fact {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px;
  border-radius: var(--radius);
  overflow: hidden;
}

.fact__cap {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.62;
}

.fact strong {
  display: block;
  margin-top: auto;
  font-family: var(--font-u);
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.fact__note {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.7;
}

.fact__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
  opacity: 0.42;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.fact:hover .fact__arrow {
  opacity: 0.9;
  transform: translate(2px, -2px);
}

.fact--gold {
  background: var(--gold);
  color: var(--ink);
}

.fact--lav {
  background: var(--lav);
  color: var(--ink);
}

.fact--dark {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--ink-2);
  color: #fff;
}

.fact--dark .fact__cap {
  grid-column: 1 / -1;
  color: var(--lav);
  opacity: 1;
}

.fact--dark p {
  align-self: end;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.fact__twitch {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lav);
}

.fact__twitch svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Кнопки
-------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: #ddca83;
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--lav {
  background: var(--lav);
  color: var(--ink);
}

.btn--lav:hover {
  background: #c4beee;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   О премии
-------------------------------------------------------------------------- */
.about {
  padding-top: clamp(70px, 9vw, 120px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(181, 174, 226, 0.3);
  border-radius: 50%;
  background: var(--lav-soft);
  color: var(--lav);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.about__head {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.h2 {
  max-width: 800px;
  font-family: var(--font-u);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.h2 em {
  font-style: normal;
  color: var(--lav-deep);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  margin-top: 38px;
  margin-left: 260px;
}

.about__text {
  max-width: 680px;
}

.about__text p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
}

.about__text p + p {
  margin-top: 16px;
}

.about__note {
  align-self: start;
  padding: 22px;
  border-radius: 20px;
  background: var(--lav-soft);
  border: 1px solid rgba(181, 174, 226, 0.22);
}

.about__notecap {
  display: block;
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(242, 241, 237, 0.16);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav-deep);
}

.about__note p {
  font-size: 13px;
  line-height: 1.55;
  color: #cfcedb;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-left: 260px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.mini b {
  display: block;
  font-family: var(--font-u);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.mini span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Голосование
-------------------------------------------------------------------------- */
.vote {
  position: relative;
  padding-top: clamp(74px, 9vw, 124px);
  padding-bottom: 80px;
  background-image: radial-gradient(rgba(242, 241, 237, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
}

.vote__head {
  position: relative;
  margin-bottom: 28px;
}

.vote__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.vote__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

.vote__status i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #4f9d6b;
  box-shadow: 0 0 0 3px rgba(79, 157, 107, 0.14);
  animation: statusPulse 2.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(79, 157, 107, 0.14);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(79, 157, 107, 0);
  }
}

.vote__status span {
  padding-left: 8px;
  border-left: 1px solid var(--line);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.vote__headrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: end;
  margin-top: 18px;
}

.vote__headrow p {
  padding-bottom: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.auth {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(181, 174, 226, 0.24);
  border-radius: 20px;
  background: var(--lav-soft);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.auth.is-authed {
  background: #201e2d;
}

.auth__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: var(--ink);
  color: var(--lav);
  overflow: hidden;
}

.auth__icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.auth__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth__text {
  flex: 1;
  min-width: 0;
}

.auth__cap {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lav-deep);
}

.auth__text h3 {
  margin-top: 2px;
  font-family: var(--font-u);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.auth__text p {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.auth .btn {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  font-size: 12px;
}

.vote__form {
  position: relative;
}

/* Тонкая «app»-полоса над бюллетенем — акцент из референса. */
.ballot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}

.ballot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ballot__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.ballot__label b {
  color: var(--gold);
}

.ballot__meta {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.ballot__meta b {
  font-family: var(--font-u);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}

.ballot__meta span {
  margin-left: 5px;
}

.ballot__track {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.ballot__track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lav), var(--gold));
  transition: width 0.25s ease;
}

.stream {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nom {
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  scroll-margin-top: 104px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nom.is-answered {
  border-color: rgba(181, 174, 226, 0.5);
}

.nom.is-missing {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(224, 122, 122, 0.14);
}

.nom__head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: start;
  margin-bottom: 18px;
}

.nom__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-u);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nom--community .nom__num {
  border-color: transparent;
  background: var(--lav);
  color: var(--ink);
}

.nom__title {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.3em;
  font-family: var(--font-u);
  font-size: clamp(20px, 2.5vw, 29px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.nom__title em {
  font-style: normal;
  color: var(--lav-deep);
}

.nom--community .nom__title em {
  color: var(--gold-deep);
}

.nom__desc {
  max-width: 680px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.nom__state {
  margin-top: 4px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--dim);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nom__state.is-ok {
  border-color: var(--lav);
  background: #221f31;
  color: var(--lav);
}

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.options--clips {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.opt:hover {
  border-color: rgba(201, 194, 245, 0.55);
  background: rgba(255, 255, 255, 0.045);
}

.opt:focus-within {
  outline: 2px solid var(--lav-deep);
  outline-offset: 2px;
}

.opt__pick {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.opt__mark {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  flex: none;
  border: 1.5px solid rgba(242, 241, 237, 0.34);
  border-radius: 50%;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.opt__mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.15s ease;
}

.opt__text {
  font-size: 13.5px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.opt.is-selected {
  border-color: var(--lav);
  background: #221f31;
  color: var(--text);
}

.opt.is-selected .opt__mark {
  border-color: var(--lav);
}

.opt.is-selected .opt__mark::after {
  transform: scale(1);
}

.opt.is-selected .opt__link {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--lav);
}

.opt--clip {
  padding: 0;
  gap: 0;
  align-items: stretch;
}

.opt--clip .opt__pick {
  padding: 11px 14px;
}

.opt__link {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 0 12px;
  border-left: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.opt__link:hover {
  background: var(--lav-soft);
  color: var(--text);
}

.opt__link svg {
  width: 12px;
  height: 12px;
}

.opt--other {
  grid-column: 1 / -1;
  padding: 7px 7px 7px 14px;
  border-style: dashed;
}

.opt--other .opt__pick {
  flex: none;
  gap: 11px;
}

.other-input {
  flex: 1;
  min-width: 0;
  padding: 9px 8px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.other-input::placeholder {
  color: #9b9992;
}

.opt--other.is-selected .other-input {
  color: #fff;
}

.opt--other.is-selected .other-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.opt--other:focus-within {
  border-color: var(--lav-deep);
}

/* Смайлики — квадраты с полным изображением внутри */
.options--smiles {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.smile {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 6px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.smile:hover {
  border-color: rgba(201, 194, 245, 0.55);
  transform: translateY(-2px);
}

.smile:focus-within {
  outline: 2px solid var(--lav-deep);
  outline-offset: 2px;
}

.smile.is-selected {
  border-color: var(--lav);
  background: #221f31;
  box-shadow: 0 0 0 2px var(--lav);
}

.smile__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #101014;
  overflow: hidden;
}

.smile__media > img {
  position: absolute;
  inset: 9px;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  object-fit: contain;
}

.smile__anim {
  opacity: 0;
  transition: opacity 0.16s ease;
}

.smile:hover .smile__anim,
.smile.is-selected .smile__anim {
  opacity: 1;
}

.smile__check {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  transform: scale(0);
  transition: transform 0.18s ease;
}

.smile.is-selected .smile__check {
  transform: scale(1);
}

.smile__gif {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(10, 10, 12, 0.72);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e6e4ee;
}

.smile__name {
  display: block;
  padding-inline: 2px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smile.is-selected .smile__name {
  color: var(--text);
}

/* Комьюнити */
.community {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  margin: 8px 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  background:
    radial-gradient(420px 220px at 90% 0%, rgba(181, 174, 226, 0.1), transparent 70%),
    var(--ink);
  color: #fff;
  scroll-margin-top: 104px;
}

.community__tag {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(181, 174, 226, 0.5);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav);
}

.community__title {
  margin-top: 12px;
  font-family: var(--font-u);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.community__body {
  align-self: end;
}

.community__body p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.64);
}

.community__note {
  margin-top: 10px;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.38) !important;
}

/* --------------------------------------------------------------------------
   Нижняя панель
-------------------------------------------------------------------------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  width: min(780px, calc(100% - 32px));
  padding: 9px 9px 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 19px;
  background: rgba(12, 12, 15, 0.97);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, 150%);
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.3, 1);
  backdrop-filter: blur(14px);
}

.dock.is-visible {
  transform: translate(-50%, 0);
}

.dock__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dock__progress {
  flex: 1;
  min-width: 0;
}

.dock__count {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.dock__count b {
  font-family: var(--font-u);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}

.dock__segs {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.dock__seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease;
}

.dock__seg.is-on {
  background: var(--gold);
}

.dock__hint {
  margin-top: 5px;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.38);
}

.dock__hint.is-ready {
  color: var(--lav);
}

.dock__submit {
  flex: none;
  min-height: 48px;
  padding: 0 18px;
  font-size: 12px;
}

.dock__submit.is-sending {
  opacity: 0.7;
}

.noscript {
  padding: 20px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--text);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Успех
-------------------------------------------------------------------------- */
.success {
  padding-top: clamp(60px, 8vw, 100px);
}

.success__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 4vw, 50px);
  padding: clamp(26px, 4.5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 30px;
  background:
    radial-gradient(540px 300px at 90% -10%, rgba(207, 186, 107, 0.1), transparent 70%),
    var(--ink);
  color: #fff;
}

.success__top .kicker {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.44);
}

.success__top .kicker span {
  background: var(--lav);
  color: var(--ink);
}

.success__badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
  transform: rotate(-6deg);
}

.success__title {
  margin-top: 18px;
  font-family: var(--font-u);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.success__title span {
  color: var(--gold);
}

.success__lede {
  max-width: 500px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.success__lede b {
  color: #fff;
}

.success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.success__actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.22);
}

.success__summary {
  align-self: start;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.48);
}

.summary__row:last-child {
  border-bottom: 0;
}

.summary__row b {
  max-width: 54%;
  font-size: 11px;
  font-weight: 600;
  text-align: right;
  color: #fff;
}

.summary__row.is-empty b {
  color: rgba(255, 255, 255, 0.25);
}

.success__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.linkbtn {
  padding: 0;
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.24);
}

.linkbtn:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

/* --------------------------------------------------------------------------
   Футер
-------------------------------------------------------------------------- */
.footer {
  margin-top: clamp(60px, 8vw, 100px);
  padding: 38px 0 26px;
  border-top: 1px solid var(--line);
}

body:not(.is-done) .footer {
  padding-bottom: 120px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
}

.footer__cap {
  display: block;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer__date {
  font-family: var(--font-u);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.footer__date b {
  color: var(--lav-deep);
  font-weight: 700;
}

.footer__link {
  display: inline-block;
  font-family: var(--font-u);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
  border-bottom: 1px solid var(--text);
}

.footer__link:hover {
  color: var(--lav-deep);
  border-color: var(--lav-deep);
}

.footer__authors {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer__bottom span {
  margin-right: auto;
  color: var(--text);
}

.footer__bottom a:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Модалка
-------------------------------------------------------------------------- */
.modal {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal::backdrop {
  background: rgba(17, 17, 18, 0.56);
  backdrop-filter: blur(4px);
}

.modal__inner {
  position: relative;
  padding: 32px;
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.modal__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--lav);
  color: var(--ink);
}

.modal__icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.modal h3 {
  font-family: var(--font-u);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.modal p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.modal__connect {
  width: 100%;
  margin-top: 22px;
}

.modal__fine {
  font-size: 10px !important;
  color: var(--dim) !important;
}

/* --------------------------------------------------------------------------
   Тост
-------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 14px 34px rgba(17, 17, 18, 0.24);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Анимация появления
-------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Адаптив
-------------------------------------------------------------------------- */
@media (max-width: 1160px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .hero__sticker {
    width: 120px;
    right: 24px;
    bottom: 88px;
  }

  .about__grid,
  .about__facts {
    margin-left: 0;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  }
}

@media (max-width: 980px) {
  .nav__links {
    display: none;
  }

  .nav__right {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__main {
    min-height: 580px;
  }

  .hero__side {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    min-height: 0;
  }

  .fact {
    min-height: 220px;
  }

  .fact--dark {
    min-height: 220px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }

  .fact--dark .fact__twitch {
    justify-self: start;
  }

  .about__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .vote__headrow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vote__headrow p {
    max-width: 560px;
  }

  .options--smiles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .success__card {
    grid-template-columns: 1fr;
  }

  .success__summary {
    max-height: 360px;
    overflow: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 16px;
  }

  .nav {
    top: 8px;
    height: 62px;
    margin-top: 8px;
    padding-left: 15px;
    border-radius: 16px;
  }

  .logo {
    font-size: 14px;
  }

  .logo__award {
    display: none;
  }

  .nav__meta {
    display: none;
  }

  .authbtn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 11px;
  }

  .hero {
    margin-top: 16px;
    gap: 12px;
  }

  .hero__main {
    min-height: 0;
    padding: 24px 20px 20px;
    border-radius: 24px;
  }

  .hero__title {
    margin-top: 34px;
    font-size: clamp(50px, 15vw, 78px);
  }

  .hero__t3 {
    -webkit-text-stroke-width: 1px;
  }

  .hero__lede {
    margin-top: 20px;
    font-size: 14px;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__foot {
    margin-top: 36px;
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .hero__sticker {
    display: none;
  }

  .hero__side {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fact {
    min-height: 170px;
    padding: 18px;
    border-radius: 20px;
  }

  .fact strong {
    font-size: clamp(40px, 12vw, 52px);
  }

  .fact--dark {
    grid-column: 1 / -1;
    min-height: 0;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px;
  }

  .fact--dark .fact__cap {
    grid-column: 1 / -1;
  }

  .fact--dark .fact__twitch {
    align-self: center;
  }

  .about {
    padding-top: 64px;
  }

  .h2 {
    font-size: clamp(29px, 8vw, 42px);
  }

  .about__grid {
    margin-top: 24px;
  }

  .about__text p {
    font-size: 15px;
  }

  .about__facts {
    margin-top: 32px;
    gap: 18px 16px;
  }

  .mini b {
    font-size: 26px;
  }

  .vote {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .vote__status span {
    display: none;
  }

  .ballot {
    padding: 12px 14px 10px;
    border-radius: 14px;
  }

  .ballot__meta span {
    display: none;
  }

  .auth {
    flex-wrap: wrap;
    padding: 14px;
    gap: 12px;
  }

  .auth__text {
    flex: 1 1 60%;
  }

  .auth .btn {
    flex: 1 1 100%;
  }

  .nom {
    padding: 16px;
    border-radius: 20px;
  }

  .nom__head {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 14px;
  }

  .nom__num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 10px;
  }

  .nom__title {
    font-size: clamp(18px, 5.6vw, 24px);
  }

  .nom__state {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: -4px;
    padding: 4px 8px;
    font-size: 8px;
  }

  .options,
  .options--clips {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .opt {
    min-height: 48px;
    padding: 10px 12px;
  }

  .opt__text {
    font-size: 13px;
  }

  .options--smiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .smile {
    border-radius: 12px;
    padding: 5px 5px 7px;
  }

  .smile__media > img {
    inset: 7px;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
  }

  .smile__name {
    font-size: 8px;
  }

  .smile__gif {
    display: none;
  }

  .community {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
  }

  .dock {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 9px;
    border-radius: 16px;
  }

  .dock__inner {
    gap: 10px;
  }

  .dock__hint {
    display: none;
  }

  .dock__submit {
    min-height: 44px;
    padding: 0 14px;
    font-size: 11px;
  }

  .success {
    padding-top: 48px;
  }

  .success__card {
    padding: 24px 20px;
    border-radius: 22px;
    gap: 24px;
  }

  .success__summary {
    max-height: none;
    overflow: visible;
  }

  .success__actions .btn {
    flex: 1 1 auto;
  }

  .footer {
    margin-top: 60px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__block:last-child {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .logo__star {
    font-size: 20px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__block:last-child {
    grid-column: auto;
  }

  .footer__date {
    font-size: 24px;
  }

  .footer__link {
    font-size: 19px;
  }

  .authbtn {
    max-width: 190px;
    overflow: hidden;
  }

  .authbtn__icon img {
    width: 22px;
    height: 22px;
  }

  .hero__title {
    font-size: clamp(44px, 14.2vw, 64px);
  }

  .options--smiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .smile__name {
    font-size: 7.5px;
  }

  .dock__count span {
    display: none;
  }

  .dock__count::after {
    content: '/ 10';
    color: rgba(255, 255, 255, 0.35);
  }

  .dock__submit svg {
    display: none;
  }

  .success__foot {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .smile__anim {
    display: none !important;
  }
}

/* Фиолетовая палитра для шапки и первого экрана + блок «Итоги / Где смотреть / Авторы» сверху */
.nav,.hero{--gold:#a66bff;--gold-deep:#b98dff;--gold-soft:#a66bff;--lav:#dccfff;--lav-deep:#c9b6ff}
.hero .btn--gold{background:#a66bff;color:#fff}
.hero .btn--gold:hover{background:#b98dff}
.hero__t2{color:#a97cf5}
.hero__t3{-webkit-text-stroke-color:#c9b6ff}
.hero .fact--gold{background:#a66bff;color:#14101f}
.hero .fact--lav{background:#dccfff;color:#14101f}
