/* ============================================================
   ЖОПИЧ АВАРДС — базовая тема
   Тёплая бумага, чернила, один акцент. Ничего лишнего.
   ============================================================ */

:root {
  --paper: #F4F1EB;
  --surface: #FBF9F5;
  --ink: #17130F;
  --ink-80: rgba(23, 19, 15, 0.8);
  --ink-70: rgba(23, 19, 15, 0.68);
  --muted: #6C655C;
  --line: rgba(23, 19, 15, 0.14);
  --line-strong: rgba(23, 19, 15, 0.3);
  --line-soft: rgba(23, 19, 15, 0.16);
  --line-mid: rgba(23, 19, 15, 0.28);
  --ink-55: rgba(23, 19, 15, 0.55);
  --ink-58: rgba(23, 19, 15, 0.58);
  --ink-48: rgba(23, 19, 15, 0.48);
  --wash: rgba(23, 19, 15, 0.06);
  --accent: #B7354B;
  --accent-deep: #8C2236;
  --accent-soft: #EFD9DE;
  --accent-pale: #F8EDEF;
  --cream: #F4F1EB;
  --header-bg: rgba(244, 241, 235, 0.86);
  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 76px;
}

/* ---------- reset ---------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

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

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

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

::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

p { margin: 0; }

[id] { scroll-margin-top: 96px; }

/* ---------- утилиты ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(52px, 7vw, 92px); }

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot,
.nom-voted .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 34px);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.section-label .num { color: var(--accent); font-weight: 600; }

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  min-width: 24px;
  background: var(--line);
}

.section--dark .section-label { color: rgba(244, 241, 235, 0.55); }
.section--dark .section-label .num { color: #E7A6B2; }
.section--dark .section-label::after { background: rgba(244, 241, 235, 0.18); }

.h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  max-width: 18ch;
}

.h2 em,
.page-title em,
.hero-title em,
.cta h2 em {
  font-style: normal;
  font-weight: 400;
  color: var(--accent);
}

.section--dark .h2 em { color: #E7A6B2; }

.lead {
  max-width: 58ch;
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link span { transition: transform 0.3s ease; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link:hover span { transform: translate(2px, -2px); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}

.skip-link:focus { top: 12px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn .arr { transition: transform 0.3s ease; }
.btn:hover .arr { transform: translate(2px, -2px); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--accent); }

.btn--outline { border-color: var(--line-strong); }
.btn--outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); }

.btn--sm { min-height: 40px; padding: 0 18px; font-size: 12.5px; }

.header-discord { border-color: var(--line-strong); background: transparent; }
.header-discord:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- шапка ---------- */

#site-header { display: contents; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  padding-bottom: 2px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.brand:hover .brand-mark { background: var(--accent); }

.brand-text {
  display: flex;
  flex-direction: column;
  margin-top: -1px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand-text small {
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 36px);
  font-size: 13.5px;
}

.nav a {
  position: relative;
  padding-block: 4px;
  color: var(--ink-70);
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { background: var(--accent); transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- вход через Discord ---------- */

.auth-slot { position: relative; display: flex; align-items: center; }

.auth-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.auth-user:hover { border-color: var(--line-strong); background: var(--surface); }

.auth-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 600;
  object-fit: cover;
}

.auth-name {
  max-width: 132px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 210px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 50px var(--line-soft);
}

.auth-menu[hidden] { display: none; }

.auth-menu-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.auth-menu-name {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-logout {
  width: 100%;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--accent-deep);
  text-align: left;
  transition: color 0.2s ease;
}

.auth-logout:hover { color: var(--accent); }

.auth-offline { font-size: 11px; color: var(--muted); }

.auth-menu-role {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.auth-menu-link {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-menu-link:hover { color: var(--accent); }
.auth-menu-link + .auth-logout { margin-top: 6px; padding-top: 0; border-top: 0; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-right: -10px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease;
}

.menu-toggle.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
  background: var(--paper);
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.55s;
  overflow-y: auto;
}

.mobile-menu.is-open { visibility: visible; transform: translateY(0); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.mobile-nav a small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.mobile-nav a.is-active { color: var(--accent); }

.menu-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding-top: 32px;
}

.menu-foot .eyebrow { margin-bottom: 2px; }

/* ---------- герой ---------- */

.hero {
  position: relative;
  padding-block: clamp(44px, 6.5vw, 88px) clamp(56px, 8vw, 108px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -22vw;
  right: -14vw;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, rgba(183, 53, 75, 0.14), rgba(183, 53, 75, 0.04) 52%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(4rem, 11vw, 9.4rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero-title span { display: block; }
.hero-title em { display: block; font-weight: 400; }

.hero-sub {
  max-width: 54ch;
  margin-top: clamp(22px, 3vw, 34px);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-80);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: clamp(26px, 3.5vw, 40px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.meta-item { display: flex; flex-direction: column; gap: 5px; }

.meta-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-value { font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em; }

.hero-seal { width: clamp(150px, 17vw, 216px); flex: none; }

.seal-svg { width: 100%; height: auto; color: var(--ink); }
.seal-spin { transform-origin: 100px 100px; animation: seal-spin 44s linear infinite; }

.seal-ring {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  fill: currentColor;
}

.seal-mono {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.04em;
  fill: var(--accent-deep);
}

@keyframes seal-spin { to { transform: rotate(360deg); } }

/* ---------- бегущая строка ---------- */

.ticker {
  border-block: 1px solid var(--line);
  padding-block: 14px;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-set {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-set .sep { color: var(--accent); font-size: 13px; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- типовая секция: текст в две колонки ---------- */

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.section-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.section-copy p { color: var(--ink-80); max-width: 58ch; }
.section-copy .lead { color: var(--ink); }
.section-copy .text-link { margin-top: 8px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 22px 24px 0 0;
  border-right: 1px solid var(--line);
}

.stat:not(:first-child) { padding-left: clamp(16px, 3vw, 36px); }
.stat:last-child { border-right: 0; }

.stat-value {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- тёмный блок премии ---------- */

.awards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}

.awards-grid .lead { color: rgba(244, 241, 235, 0.74); }
.awards-copy { display: flex; flex-direction: column; }

.cd-kicker {
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.5);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 440px;
  margin-top: 10px;
}

.cd {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 241, 235, 0.22);
}

.cd-num {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.cd-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.52);
}

.awards-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 34px;
}

.section--dark .text-link { border-color: rgba(244, 241, 235, 0.32); }
.section--dark .text-link:hover { color: #E7A6B2; border-color: #E7A6B2; }

/* ---------- заголовок секции с действием ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-bottom: clamp(32px, 4.5vw, 54px);
}

.section-head .h2 { margin-top: 0; }

/* ---------- карточки номинаций ---------- */

.nom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.nom-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.3s ease;
}

.nom-card:hover { background: var(--surface); }
.nom-card:target { background: var(--accent-pale); }

.nom-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.nom-num {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.nom-mark {
  font-size: 14px;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.4s ease;
}

.nom-card:hover .nom-mark { transform: rotate(90deg); }

.nom-title {
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.02;
  max-width: 14ch;
}

.nom-desc {
  max-width: 42ch;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.nom-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
}

.nom-count {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nom-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nom-action:hover { color: var(--accent); border-color: var(--accent); }
.nom-action .arr { transition: transform 0.3s ease; }
.nom-action:hover .arr { transform: translate(2px, -2px); }

.nom-voted {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--accent);
}

.nom-status {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nom-card.is-locked .nom-mark { opacity: 0.4; }

/* ---------- роли сервера ---------- */

.live-status {
  margin-top: 18px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.role-intro {
  max-width: 60ch;
  margin-bottom: 30px;
  color: var(--ink-80);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.role-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 176px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.role-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.role-card-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.role-card-tag {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.role-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-80);
}

.role-system {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 76ch;
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: var(--accent-pale);
}

.role-system p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-80);
}

.role-system .role-warning {
  font-weight: 600;
  color: var(--accent-deep);
}

/* ---------- панель голосования ---------- */

.votes-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.votes-text { font-size: 12px; color: var(--muted); }

.link-reset {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
  font-size: 11.5px;
  color: var(--accent);
  transition: color 0.25s ease;
}

.link-reset:hover { color: var(--accent-deep); }

/* ---------- новости ---------- */

.news-list { border-top: 1px solid var(--line); }

.news-item {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr) 32px;
  gap: clamp(16px, 3vw, 36px);
  align-items: start;
  padding-block: clamp(20px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.news-item:hover { background: rgba(251, 249, 245, 0.7); }

.news-date {
  padding-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.news-body { display: block; }

.news-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.news-title {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.news-item:hover .news-title { color: var(--accent); }

.news-excerpt {
  display: block;
  max-width: 60ch;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.news-arrow {
  padding-top: 18px;
  font-size: 17px;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.news-item:hover .news-arrow { transform: translate(3px, -3px); color: var(--accent); }

/* ---------- пастельный CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 122px);
  background: var(--accent-soft);
}

.cta::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -22vw;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.05) 58%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta .section-label { color: var(--ink-55); }
.cta .section-label::after { background: var(--line-soft); }
.cta .section-label .num { color: var(--accent-deep); }

.cta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px 48px;
}

.cta h2 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 6.5vw, 5.6rem);
  line-height: 0.98;
}

.cta h2 em { color: var(--accent-deep); }

.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.cta-note {
  font-size: 11.5px;
  color: var(--ink-58);
}

/* ---------- внутренний герой ---------- */

.page-hero {
  padding-block: clamp(52px, 7vw, 96px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.page-title {
  margin-top: 20px;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.page-sub {
  max-width: 56ch;
  margin-top: 24px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-80);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(24px, 4vw, 54px);
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- таймлайн ---------- */

.timeline { border-top: 1px solid var(--line); }

.timeline-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.timeline-time {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.timeline-title { font-size: 15px; font-weight: 500; letter-spacing: 0.005em; }

.timeline-desc {
  max-width: 62ch;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  margin-top: -2px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  max-width: 66ch;
  margin: -4px 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- правила ---------- */

.rules { border-top: 1px solid var(--line); }

.rule-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.rule-num {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--accent);
}

.rule-title { font-size: 15.5px; font-weight: 500; }

.rule-desc {
  max-width: 66ch;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- команда ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.team-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 196px;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--paper);
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.team-role {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-name {
  margin-top: 4px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.1;
}

/* ---------- зал славы ---------- */

.hall { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 104px); }

.hall-year { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }

.hall-year-title {
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 0.9;
  color: var(--accent);
}

.hall-year-note {
  max-width: 26ch;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.hall-table { border-top: 1px solid var(--line); }

.hall-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.hall-cat {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hall-name { font-size: 15px; font-weight: 500; }

/* ---------- нижняя полоса ---------- */

.join-band { border-top: 1px solid var(--line); padding-block: 26px; }

.join-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.join-band p { font-size: 13px; color: var(--muted); }
.join-band strong { color: var(--ink); font-weight: 500; }

/* ---------- статьи ---------- */

.article-head { padding-block: clamp(44px, 6vw, 80px) clamp(28px, 4vw, 44px); text-align: left; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.25s ease;
}

.back-link:hover { color: var(--accent); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 28px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-meta .sep { color: var(--line-strong); }
.article-meta .tag { color: var(--accent); }

.article-title {
  max-width: 18ch;
  margin-top: 16px;
  font-size: clamp(2.4rem, 5.6vw, 4.9rem);
  line-height: 0.98;
}

.article-lead {
  max-width: 58ch;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-80);
}

.article-body {
  max-width: 720px;
  padding-block: clamp(28px, 4vw, 44px) clamp(48px, 7vw, 84px);
}

.prose { font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1.3em; }

.prose p { color: var(--ink-80); }

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.prose h2 + * { margin-top: 0.7em; }

.prose ol,
.prose ul { margin: 1.2em 0 0; padding-left: 1.4em; color: var(--ink-80); }

.prose li { padding-left: 0.35em; margin-bottom: 0.45em; }
.prose li::marker { color: var(--accent); font-family: var(--display); }

.prose strong { font-weight: 600; color: var(--ink); }

.prose blockquote {
  margin: 2em 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 62vh;
  padding-block: clamp(64px, 9vw, 120px);
}

.error-code {
  font-family: var(--display);
  font-size: clamp(6rem, 20vw, 16rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.error-title { margin-top: 28px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

.error-text {
  max-width: 42ch;
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.error-page .btn { margin-top: 32px; }

/* ---------- подвал ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 76px);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(48px, 6vw, 76px);
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.footer-brand .brand-mark { width: 44px; height: 44px; font-size: 24px; }

.footer-brand p {
  max-width: 32ch;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.footer-col h4 {
  margin: 4px 0 14px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a {
  display: block;
  width: fit-content;
  padding-block: 4px;
  font-size: 13px;
  color: var(--ink-80);
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.footer-bottom a { transition: color 0.25s ease; }
.footer-bottom a:hover { color: var(--accent); }

.footer-wordmark {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(48px, 13vw, 204px);
  line-height: 0.78;
  letter-spacing: -0.045em;
  text-align: center;
  white-space: nowrap;
  color: var(--wash);
  -webkit-text-stroke: 1px var(--line-soft);
  user-select: none;
  transform: translateY(20%);
}

@supports not (-webkit-text-stroke: 1px black) {
  .footer-wordmark { color: var(--wash); }
}

/* ---------- диалог голосования ---------- */

.vote-dialog {
  width: min(580px, calc(100vw - 24px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 90px var(--line-mid);
}

.vote-dialog::backdrop {
  background: var(--ink-48);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.vote-dialog[open] { animation: dialog-in 0.32s cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.vote-form {
  max-height: calc(100dvh - 24px);
  padding: clamp(24px, 4vw, 38px);
  overflow-y: auto;
}

.vote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(18px, 3vw, 26px);
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.dialog-close:hover { border-color: var(--ink); color: var(--ink); }

.vote-title {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  line-height: 1.05;
}

.vote-desc {
  max-width: 48ch;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.vote-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.vote-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.vote-option:hover { border-color: var(--line-strong); }

.vote-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-pale);
}

.vote-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vote-radio {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}

.vote-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.2s ease;
}

.vote-option input:checked + .vote-radio { border-color: var(--accent); }
.vote-option input:checked + .vote-radio::after { transform: scale(1); }
.vote-option input:focus-visible + .vote-radio { outline: 2px solid var(--accent); outline-offset: 3px; }

.vote-name { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; }

.vote-note {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

.vote-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.vote-actions .btn { width: 100%; }
.vote-actions .btn:disabled { opacity: 0.4; cursor: not-allowed; }

.vote-note-foot { margin-top: 12px; font-size: 10.5px; line-height: 1.5; color: var(--muted); }

/* ---------- тост ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 250;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

/* ---------- появление при скролле ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero-copy > * { animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.36s; }

.hero-seal { animation: rise 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both; }

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

@media (max-width: 1040px) {
  .hero-seal { width: clamp(130px, 16vw, 178px); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-seal { display: none; }
  .awards-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .section-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hall-year { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }

  .nom-grid { grid-template-columns: minmax(0, 1fr); }
  .nom-card { min-height: 0; }
  .nom-desc { max-width: 52ch; }
  .role-grid { grid-template-columns: minmax(0, 1fr); }
  .role-card { min-height: 0; }

  .news-item { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; }
  .news-date { grid-column: 1 / -1; padding-top: 0; }
  .news-body { grid-column: 1; }
  .news-arrow { grid-column: 2; grid-row: 2; padding-top: 3px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; padding-left: clamp(16px, 4vw, 28px); }
  .stat:nth-child(n + 3) { padding-top: 22px; }
  .stat:nth-last-child(-n + 2) { border-bottom: 0; }

  .header-discord { display: none; }

  .auth-name { display: none; }
  .auth-user { padding: 2px; border-color: transparent; }
  .auth-user:hover { border-color: var(--line); }
  .auth-menu { right: -4px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .cta-row { align-items: flex-start; }

  .timeline-row { grid-template-columns: 88px minmax(0, 1fr); gap: 18px; }

  .article-body { font-size: 16.5px; }

  .hall-row { grid-template-columns: minmax(0, 1fr); gap: 3px; }

  .page-title { font-size: clamp(2.7rem, 11vw, 5rem); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }

  .brand-text { font-size: 10.5px; }
  .brand-text small { font-size: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; }

  .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; max-width: 280px; }
  .cd-num { font-size: 2.5rem; }

  .section-head { align-items: flex-start; }
  .section-head .btn { min-height: 44px; }

  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-actions .btn { width: 100%; }

  .cta-side, .cta-side .btn { width: 100%; }
  .cta-side .btn { width: auto; }

  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-card { min-height: 150px; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .vote-form { padding: 22px 18px; }
  .vote-actions { flex-direction: column; align-items: stretch; }

  .article-meta { font-size: 9px; }
  .prose { font-size: 16px; }

  .rule-item { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .timeline-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

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

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

  .ticker-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-copy > *, .hero-seal { animation: none; }
  .seal-spin { animation: none; }
}

/* ---------- тёмная тема ---------- */

[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141110;
  --surface: #1B1816;
  --ink: #F3EEE7;
  --ink-80: rgba(243, 238, 231, 0.82);
  --ink-70: rgba(243, 238, 231, 0.7);
  --muted: #A49C93;
  --line: rgba(243, 238, 231, 0.15);
  --line-strong: rgba(243, 238, 231, 0.34);
  --line-soft: rgba(243, 238, 231, 0.18);
  --line-mid: rgba(243, 238, 231, 0.26);
  --ink-55: rgba(243, 238, 231, 0.55);
  --ink-58: rgba(243, 238, 231, 0.58);
  --ink-48: rgba(243, 238, 231, 0.48);
  --wash: rgba(243, 238, 231, 0.07);
  --accent: #E0667C;
  --accent-deep: #F0919F;
  --accent-soft: #3A2028;
  --accent-pale: #291820;
  --cream: #141110;
  --header-bg: rgba(18, 15, 14, 0.82);
}

body {
  transition: background-color 0.25s ease, color 0.25s ease;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  background: var(--accent-pale);
}

.nom-media {
  margin: 2px 0 16px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--accent-pale);
  border: 1px solid var(--line);
}

.nom-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Бренд, печать, бегущая строка
   ============================================================ */

.brand-mark--image {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.brand-mark--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-seal { position: relative; }

.hero-seal.has-media .seal-mono { opacity: 0; }

.seal-media {
  position: absolute;
  inset: 14%;
  overflow: hidden;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}

.seal-media img,
.seal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ticker-set a { color: inherit; border-bottom: 1px solid transparent; }
.ticker-set a:hover { color: var(--ink); border-color: var(--accent); }

.section-note {
  margin-top: -6px;
  margin-bottom: clamp(24px, 3vw, 34px);
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ============================================================
   Полоса «вы не на сервере»
   ============================================================ */

.member-banner {
  border-bottom: 1px solid var(--line);
  background: var(--accent-pale);
}

.member-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding-block: 11px;
  font-size: 12.5px;
  color: var(--ink-80);
}

.member-banner p { flex: 1 1 280px; }
.member-banner strong { font-weight: 600; }

.member-banner-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}

.member-banner-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}

/* ============================================================
   Обязательный вход
   ============================================================ */

body.is-gated { overflow: hidden; }

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: clamp(18px, 5vw, 48px);
  overflow-y: auto;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--paper) 52%, transparent), color-mix(in srgb, var(--paper) 74%, transparent)),
    radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
  -webkit-backdrop-filter: blur(26px) saturate(0.9);
  backdrop-filter: blur(26px) saturate(0.9);
  animation: gate-in 0.4s ease both;
}

.auth-gate.is-open { display: grid; }

@keyframes gate-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-gate-card {
  width: min(600px, 100%);
  margin: auto;
  padding: clamp(26px, 4.5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  animation: gate-card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes gate-card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.gate-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 28px);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.gate-brand .brand-mark { width: 32px; height: 32px; font-size: 16px; }

.gate-title {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  line-height: 1.02;
}

.gate-title em { color: var(--accent); font-style: normal; }

.gate-lead {
  max-width: 46ch;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.gate-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
}

.gate-discord { width: 100%; justify-content: center; }

.gate-invite {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.gate-invite:hover { color: var(--accent); border-color: var(--accent); }

.gate-fan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.gate-arrow {
  width: 64px;
  height: 42px;
  flex: none;
  color: var(--accent);
  transform: rotate(6deg);
  animation: gate-arrow 2.8s ease-in-out infinite;
}

@keyframes gate-arrow {
  0%, 100% { transform: translate(0, 0) rotate(6deg); }
  50% { transform: translate(3px, 5px) rotate(9deg); }
}

.gate-fan-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.gate-fan-copy strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

.gate-fan-btn {
  margin-left: 0;
  display: flex;
  flex: 1 0 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.gate-fan-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-pale); }

.gate-fan-note {
  flex-basis: 100%;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

.gate-age {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent) 6%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 34px -26px color-mix(in srgb, var(--accent) 70%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.gate-age-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gate-age p {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-80);
}

/* ============================================================
   Диалог заявки
   ============================================================ */

.gate-dialog {
  width: min(540px, calc(100vw - 24px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 90px var(--line-mid);
}

.gate-dialog::backdrop {
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.gate-dialog[open] { animation: dialog-in 0.32s cubic-bezier(0.22, 1, 0.36, 1); }

.gate-form {
  max-height: calc(100dvh - 24px);
  padding: clamp(22px, 4vw, 34px);
  overflow-y: auto;
}

.gate-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.gate-field > span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.gate-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.gate-form-status { margin-top: 12px; font-size: 12px; color: var(--accent); }

/* ============================================================
   Предложить номинанта
   ============================================================ */

.suggest-box {
  margin-bottom: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.suggest-box > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 500;
}

.suggest-box > summary::-webkit-details-marker { display: none; }

.suggest-box > summary::after {
  content: "+";
  margin-left: 8px;
  font-size: 16px;
  color: var(--accent);
}

.suggest-box[open] > summary::after { content: "−"; }

.suggest-box > summary small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.suggest-form { padding: 0 18px 18px; }

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

.suggest-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.suggest-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 18px 18px;
}

.suggest-list:empty { display: none; }

.suggest-list-title {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.suggest-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.suggest-item-name { font-weight: 500; }
.suggest-item-meta { font-size: 11px; color: var(--muted); }

.suggest-status--pending { color: var(--accent); }
.suggest-status--approved { color: #3E7A4E; }
.suggest-status--rejected { color: var(--muted); }

/* ============================================================
   Зал славы: карточки с фото
   ============================================================ */

.hall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 14px;
}

.hall-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.hall-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.3), transparent 62%);
  transition: opacity 0.3s ease;
}

.hall-card.is-tilting {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px -30px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hall-card.is-tilting::after { opacity: 1; }

.hall-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(140deg, var(--accent-pale), color-mix(in srgb, var(--accent-soft) 60%, var(--paper)));
}

.hall-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hall-card:hover .hall-card-media img { transform: scale(1.04); }

.hall-mono {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.hall-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 17px 18px;
}

.hall-card-cat {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hall-card-name {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hall-card-link {
  margin-top: 4px;
  font-size: 11px;
  color: var(--accent);
}

.hall-empty {
  grid-column: 1 / -1;
  padding: 18px 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* ============================================================
   Наклон карточек номинаций
   ============================================================ */

.nom-card { position: relative; transform-style: preserve-3d; }

.nom-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.34), transparent 62%);
  transition: opacity 0.3s ease;
}

.nom-card.is-tilting {
  background: var(--surface);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-2px);
  box-shadow: 0 24px 54px -34px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.nom-card.is-tilting::after { opacity: 1; }

@media (max-width: 760px) {
  .suggest-grid { grid-template-columns: minmax(0, 1fr); }
  .gate-fan-btn { margin-left: 0; }
  .hall-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .auth-gate,
  .auth-gate-card,
  .gate-arrow { animation: none; }
  .nom-card.is-tilting,
  .hall-card.is-tilting { transform: none; }
}
.gate-fan-note--lead {
  font-size: 12px;
  color: var(--ink-80);
  margin-bottom: 2px;
}


/* ============================================================
   Спонсор премии — SwinBet
   ============================================================ */

.sponsor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  margin-left: 4px;
  padding: 0 10px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sponsor-chip:hover {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.sponsor-chip-label {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
}

.sponsor-chip img {
  display: block;
  height: 16px;
  width: auto;
}

.sponsor-chip-name {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sponsor-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 44px;
  margin-top: 46px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.sponsor-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 54ch;
}

.sponsor-strip-copy .eyebrow { margin: 0; }

.sponsor-strip-tagline {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-80);
}

.sponsor-strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.sponsor-tag {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sponsor-strip-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.sponsor-strip-logo {
  display: block;
  height: 34px;
  width: auto;
}

.sponsor-strip-name {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.sponsor-strip-note {
  font-size: 10.5px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .sponsor-chip-label { display: none; }
}

@media (max-width: 960px) {
  .sponsor-chip { display: none; }
}

@media (max-width: 760px) {
  .sponsor-strip { gap: 18px; }
  .sponsor-strip-side { align-items: flex-start; }
  .sponsor-strip-logo { height: 28px; }
}