/* =======================================================================
   ПРЕМИЯ 2026 — стили (тёмная «кристаллическая» тема)
   =======================================================================

   ┌─────────────────────────────────────────────────────────────────────┐
   │  ЧТО МЕНЯТЬ ПОД СЕБЯ — три места, всё в начале файла                │
   │                                                                     │
   │  1. ЦВЕТА        → блок :root                                       │
   │  2. ФОН          → блок «ФОН САЙТА»                                 │
   │  3. ФОТО ЛЮДЕЙ   → блок «ФОТО НОМИНАНТОВ»                            │
   └─────────────────────────────────────────────────────────────────────┘
*/

* { box-sizing: border-box; }

:root {
  --bg: #07050a;
  --ink: #eef1f5;
  --muted: #97a1b0;
  --line: rgba(186, 199, 216, .16);

  /* хромированная палитра */
  --fire-1: #6b7280;
  --fire-2: #98a1b0;
  --fire-3: #c2cbd9;
  --gold: #dbe3ee;

  --panel: rgba(14, 16, 20, .72);
  --radius: 4px;
}

/* =======================================================================
   ФОН САЙТА
   -----------------------------------------------------------------------
   Сейчас: чёрный + медленно плывущие красные пятна + искры на canvas
   (искры рисуются в base.html).

   Чтобы поставить СВОЮ КАРТИНКУ:
     1) положи файл в static/ (например static/fon.jpg)
     2) в .bg-layers добавь:  background: url("/static/fon.jpg") center/cover;
     3) если картинка тёмная — уменьши прозрачность .bg-vignette
   ======================================================================= */

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

.bg-layers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;

  /* ↓ СВОЯ КАРТИНКА ФОНА — раскомментируй строку ниже и укажи файл
  background: url("/static/fon.jpg") center / cover no-repeat; */
}

/* медленно дышащие красные пятна */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: drift 26s ease-in-out infinite alternate;
}
.g1 {
  width: 60vw; height: 60vw;
  left: -14vw; top: -18vw;
  background: radial-gradient(circle, rgba(104, 109, 118, .42), transparent 68%);
}
.g2 {
  width: 54vw; height: 54vw;
  right: -12vw; top: 8vh;
  background: radial-gradient(circle, rgba(140, 146, 158, .3), transparent 68%);
  animation-delay: -9s;
  animation-duration: 32s;
}
.g3 {
  width: 66vw; height: 66vw;
  left: 22vw; bottom: -30vw;
  background: radial-gradient(circle, rgba(104, 109, 118, .26), transparent 70%);
  animation-delay: -17s;
  animation-duration: 38s;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(4vw, -3vh, 0) scale(1.12); }
  100% { transform: translate3d(-3vw, 4vh, 0) scale(1.04); }
}

#embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* затемнение по краям — «кинематографичность» */
.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 26%, rgba(7, 5, 10, .82) 78%),
    linear-gradient(180deg, rgba(7, 5, 10, .55) 0%, transparent 22%, transparent 74%, rgba(7, 5, 10, .92) 100%);
}

/* =======================================================================
   ФОТО НОМИНАНТОВ
   -----------------------------------------------------------------------
   Сейчас: портрет в прямоугольнике, низ растворяется в чёрное
   (как на референсе). Что можно менять:
     .person-photo            — размеры, скругление, рамка
     .person-photo img        — object-fit / object-position (что в кадре)
     .photo-fade              — градиент-растворение снизу
   ======================================================================= */

.person-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.16;          /* ← пропорции кадра */
  overflow: hidden;
  background: linear-gradient(170deg, #1a1114, #0b0709);
  border: 1px solid rgba(147, 153, 166, .22);
  border-radius: 2px;
  display: grid;
  place-items: center;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;               /* ← cover / contain */
  object-position: center 18%;     /* ← центр кадра (лица выше центра) */
  display: block;
  transition: transform .5s cubic-bezier(.2,.8,.3,1), filter .4s;
  filter: saturate(1.04) contrast(1.03);
}

/* растворение низа фото в фон — ключевой приём референса */
.photo-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(7, 5, 10, .32) 42%,
      rgba(7, 5, 10, .82) 74%,
      #07050a 100%);
  pointer-events: none;
}

/* если фото нет — инициалы */
.photo-fallback {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: .06em;
  background: linear-gradient(160deg, #ffffff, var(--fire-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .85;
}

/* =======================================================================
   ШАПКА
   ======================================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 26px;
  background: rgba(7, 5, 10, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .19em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
}
.brand-mark {
  color: var(--fire-3);
  font-size: .85rem;
  animation: pulse 3.2s ease-in-out infinite;
}
.brand-year {
  background: linear-gradient(100deg, var(--fire-3), var(--fire-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
@keyframes pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.18); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .78rem;
  letter-spacing: .13em;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  position: relative;
}
.nav a:hover { color: var(--gold); }

.who {
  padding: 3px 11px;
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--gold);
  border: 1px solid rgba(189, 197, 214, .34);
  border-radius: 2px;
  background: rgba(189, 197, 214, .07);
}
.btn-ghost {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 12px;
  color: var(--muted);
  text-decoration: none;
}
.btn-ghost:hover { color: var(--ink); border-color: rgba(147, 153, 166,.45); }

/* =======================================================================
   КОНТЕЙНЕР
   ======================================================================= */

.wrap {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 26px 90px;
}
.foot {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #5c636e;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 24px;
  border-top: 1px solid rgba(141, 147, 159,.1);
}

/* =======================================================================
   АФИША (входной блок)
   ======================================================================= */

.hero { text-align: center; padding: 40px 10px 46px; }

.hero-kicker {
  margin: 0 0 10px;
  font-size: .68rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--fire-3);
  text-indent: .5em;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: .96;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: linear-gradient(178deg, #ffffff 6%, #d5dde8 50%, #8f9aab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(122, 127, 138, .38));
}

.hero-sub {
  margin: 18px auto 0;
  max-width: 430px;
  font-size: .86rem;
  letter-spacing: .1em;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* =======================================================================
   ОГНЕННАЯ КНОПКА (со скошенными краями, как на референсе)
   ======================================================================= */

.btn-chrome {
  --skew: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 26px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0b0d10;
  text-decoration: none;
  transition: transform .16s, filter .2s;
  clip-path: polygon(
    var(--skew) 0, calc(100% - var(--skew)) 0,
    100% 50%,
    calc(100% - var(--skew)) 100%, var(--skew) 100%,
    0 50%
  );
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), transparent 46%),
    linear-gradient(96deg, #353c45 0%, #aab4bf 20%, #ffffff 46%, #8e99a6 58%, #dfe6ee 78%, #353c45 100%);
  box-shadow:
    inset 0 0 22px rgba(184, 192, 208, .5),
    0 0 22px rgba(110, 115, 124, .45);
}

/* внутреннее «пламя» — бегущий блик */
.btn-chrome::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 26%, rgba(245,250,255,.7) 46%, transparent 64%);
  transform: translateX(-130%);
  animation: flame 3.4s ease-in-out infinite;
  mix-blend-mode: overlay;
}
@keyframes flame {
  0%, 62%  { transform: translateX(-130%); }
  88%, 100% { transform: translateX(130%); }
}

.btn-chrome-inner { position: relative; z-index: 2; text-shadow: 0 1px 0 rgba(255,255,255,.55); }

.btn-chrome:hover { transform: translateY(-1px) scale(1.012); filter: brightness(1.12); }
.btn-chrome:active { transform: translateY(0) scale(.995); }

.btn-chrome.small { font-size: .78rem; padding: 10px 20px; --skew: 10px; }
.btn-chrome.wide { margin-top: 20px; padding: 16px; font-size: 1rem; }

/* =======================================================================
   СЕТКА НОМИНАЦИЙ (главная)
   ======================================================================= */

.polls-grid {
  display: grid;
  gap: 26px 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.nom-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 16px 22px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: .26s;
  background: radial-gradient(ellipse at 50% 0%, rgba(122, 127, 138, .07), transparent 62%);
}
.nom-card:hover {
  border-color: rgba(147, 153, 166, .32);
  background: radial-gradient(ellipse at 50% 0%, rgba(122, 127, 138, .15), transparent 65%);
  transform: translateY(-4px);
}

.nom-icon {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: transform .3s;
}
.nom-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 22px rgba(110, 115, 124, .5));
}
.nom-card:hover .nom-icon { transform: scale(1.07) translateY(-2px); }

.nom-icon-fallback {
  font-size: 3.4rem;
  color: var(--fire-3);
  filter: drop-shadow(0 0 26px rgba(122, 127, 138, .7));
}

.nom-title {
  margin: 0 0 8px;
  font-size: clamp(1rem, 2.1vw, 1.32rem);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #cfd8e4 55%, #9aa6b6 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 15ch;
}

.nom-status {
  margin: 0 0 16px;
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 1.1em;
}
.nom-status.done { color: var(--gold); }
.nom-status.closed { color: #6d7480; }

/* =======================================================================
   ШАПКА НОМИНАЦИИ (внутри)
   ======================================================================= */

.poll-head-block { text-align: center; padding: 8px 0 34px; }
.poll-head-icon {
  width: 106px;
  height: 106px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}
.poll-head-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(110, 115, 124, .55));
}

.poll-title {
  margin: 0;
  font-size: clamp(1.5rem, 4.4vw, 2.6rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(178deg, #ffffff 6%, #d5dde8 50%, #8f9aab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(122, 127, 138, .3));
}

.poll-desc {
  margin: 12px auto 0;
  max-width: 520px;
  font-size: .84rem;
  letter-spacing: .08em;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* =======================================================================
   НОМИНАНТЫ — сетка карточек
   ======================================================================= */

.nominees-grid {
  display: grid;
  gap: 34px 22px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 10px;
}

.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.person form { width: 100%; margin-top: auto; }

/* при наведении фото слегка приближается */
.person:hover .person-photo img { transform: scale(1.045); }

.person-name {
  margin: 16px 0 4px;
  font-size: clamp(.95rem, 1.9vw, 1.16rem);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.9);
  word-break: break-word;
}

.person-sub {
  margin: 0 0 17px;
  font-size: .77rem;
  letter-spacing: .07em;
  color: var(--fire-3);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 1.15em;
}

/* «ВАШ ГОЛОС» на фото */
.mine-tag {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 4px 12px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  color: #0e0e0f;
  background: linear-gradient(100deg, #ffffff, var(--gold));
  border-radius: 2px;
  box-shadow: 0 3px 16px rgba(163, 170, 184, .5);
  white-space: nowrap;
}

.person-mine .person-photo { border-color: rgba(189, 197, 214, .6); box-shadow: 0 0 0 1px rgba(189, 197, 214,.28), 0 0 32px rgba(163, 170, 184, .22); }
.person-mine .person-name { color: var(--gold); }

/* результаты */
.result-bar {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  margin: 4px 0 8px;
}
.pct {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: linear-gradient(180deg, #ffffff, var(--fire-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.votes {
  font-size: .74rem;
  letter-spacing: .07em;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
  border-radius: 1px;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fire-2), var(--fire-3), #ffffff);
  box-shadow: 0 0 14px rgba(140, 146, 158, .8);
  border-radius: 1px;
  transition: width .7s cubic-bezier(.2,.8,.3,1);
}

/* =======================================================================
   ПАНЕЛИ / ФОРМЫ
   ======================================================================= */

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.panel.narrow { max-width: 430px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.cols { display: grid; gap: 20px; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; } }

h1, h2, h3 { font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
h1 { font-size: 1.5rem; margin: 0 0 8px; }
h2 { font-size: 1.02rem; margin: 0 0 12px; }
h2.section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  letter-spacing: .16em;
  color: var(--fire-3);
}

.muted { color: var(--muted); }
.small { font-size: .8rem; letter-spacing: .04em; }
.muted.small { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.stack { display: grid; gap: 15px; }
.stack.tight { gap: 9px; }

label {
  display: grid;
  gap: 7px;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

input[type=text], input[type=password], textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(154, 160, 173, .22);
  border-radius: 2px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: .92rem;
  letter-spacing: 0;
  background: rgba(255, 255, 255, .035);
  color: var(--ink);
  transition: .2s;
}
input::placeholder, textarea::placeholder { color: #5e5350; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--fire-3);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 3px rgba(140, 146, 158, .13);
}
textarea { resize: vertical; min-height: 110px; }

input[type=file] {
  width: 100%;
  font-size: .78rem;
  color: var(--muted);
  padding: 9px;
  border: 1px dashed rgba(154, 160, 173, .28);
  border-radius: 2px;
  background: rgba(255, 255, 255, .02);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
input[type=file]::file-selector-button {
  margin-right: 11px;
  padding: 6px 13px;
  border: none;
  border-radius: 2px;
  background: rgba(140, 146, 158, .22);
  color: var(--gold);
  font: inherit;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
input[type=file]::file-selector-button:hover { background: rgba(140, 146, 158, .34); }

/* кнопки-утилиты */
.btn-small {
  display: inline-block;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(154, 160, 173, .24);
  color: var(--ink);
  border-radius: 2px;
  padding: 7px 13px;
  font: inherit;
  font-size: .74rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: .18s;
}
.btn-small:hover { background: rgba(140, 146, 158, .18); border-color: rgba(154, 160, 173,.5); color: var(--gold); }
.btn-small.danger { color: #9fa6b4; border-color: rgba(127, 133, 144, .28); }
.btn-small.danger:hover { background: rgba(114, 119, 129, .16); }

/* метки */
.tag {
  display: inline-block;
  padding: 3px 9px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}
.tag.open { background: rgba(80, 220, 140, .14); color: #6ee7a8; }
.tag.done { background: rgba(189, 197, 214, .14); color: var(--gold); }
.tag.closed { background: rgba(255, 255, 255, .07); color: var(--muted); }

/* сообщения */
.flashes { display: grid; gap: 10px; margin-bottom: 22px; }
.flash {
  padding: 12px 17px;
  border-radius: 2px;
  font-size: .85rem;
  letter-spacing: .03em;
  border: 1px solid;
  border-left-width: 3px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: rgba(18,12,14,.9);
  backdrop-filter: blur(6px);
}
div.flash.success {
  border-color: rgba(80, 220, 140, .4);
  color: #9df0c4;
}
.flash.error, div.flash.error {
  border-color: rgba(127, 133, 144, .45);
  color: #bac2d2;
}

/* таблицы */
.table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .82rem;
         font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.table th {
  text-align: left;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fire-3);
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  font-family: 'Oswald', sans-serif;
}
.table td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, .05); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table code {
  background: rgba(140, 146, 158, .14);
  color: var(--gold);
  padding: 2px 7px;
  border-radius: 2px;
  font-size: .8rem;
}

.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
form.inline { display: inline-flex; gap: 5px; align-items: center; margin: 0; }
form.inline input[type=text] { width: 118px; padding: 6px 8px; font-size: .78rem; }

.back {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .16em;
  margin-bottom: 20px;
  transition: color .2s;
}
.back:hover { color: var(--gold); }

/* админские карточки номинантов */
.admin-nominee {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, .022);
  margin-bottom: 12px;
}
.admin-nominee .person-photo { width: 104px; flex: none; aspect-ratio: 1/1.16; }
.admin-nominee .nominee-body { flex: 1; min-width: 210px; display: grid; gap: 11px; }

.add-nominee { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

/* =======================================================================
   АДАПТИВ
   ======================================================================= */

@media (max-width: 700px) {
  .wrap { padding: 22px 14px 60px; }
  .polls-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 12px; }
  .nom-icon { width: 84px; height: 84px; margin-bottom: 14px; }
  .nominees-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 24px 14px; }
  .hero { padding: 26px 6px 30px; }
  .topbar { padding: 12px 15px; }
  .nav { gap: 12px; font-size: .72rem; }
  .table { font-size: .76rem; }
  .table th, .table td { padding: 8px 5px; }
  .panel { padding: 18px; }
  .btn-chrome { font-size: .82rem; padding: 11px 18px; }
  .poll-head-block { padding-bottom: 24px; }
}

/* уважение к «уменьшить анимацию» */
@media (prefers-reduced-motion: reduce) {
  .bg-glow, .btn-chrome::before, .brand-mark { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ---------- главные премии и хромированный логотип ---------- */
.hero-logo {
  display: block;
  width: min(560px, 86vw);
  height: auto;
  margin: 6px auto 4px;
  filter: drop-shadow(0 6px 30px rgba(190, 205, 220, .35));
}
.hero-year {
  margin: 6px 0 0;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--gold);
  font-weight: 600;
}
.section-title {
  font-size: .8rem;
  letter-spacing: .42em;
  text-indent: .42em;
  text-align: center;
  color: var(--gold);
  margin: 44px 0 24px;
  font-weight: 600;
}
.featured-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.nom-card-main {
  padding: 34px 22px 28px;
  border: 1px solid rgba(220, 230, 240, .14);
  background: radial-gradient(ellipse at 50% 0%, rgba(220, 230, 240, .12), transparent 65%);
}
.nom-card-main .nom-title { font-size: clamp(1.2rem, 2.6vw, 1.7rem); }

/* ---------- хромированный слой v2 ---------- */





.brand-logo { height: 40px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(200,215,235,.35)); }
.brand { gap: 14px; }
.brand-year { font-size: .8rem; letter-spacing: .3em; color: #cfd8e4; font-weight: 500; }

.hero-logo {
  display: block;
  width: min(820px, 92vw);
  height: auto;
  margin: 4px auto 6px;
  filter: drop-shadow(0 0 34px rgba(200,215,235,.35));
}
.login-logo { display: block; width: min(440px, 80vw); height: auto; margin: 0 auto 10px; filter: drop-shadow(0 0 24px rgba(200,215,235,.3)); }

.my-vote-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; margin-bottom: 26px;
  border: 1px solid rgba(210,224,240,.28); background: rgba(14,16,20,.7);
}
.my-vote-text { font-size: .95rem; letter-spacing: .06em; color: #eef1f5; }
.my-vote-text strong { color: #ffffff; }
.my-vote-locked { font-size: .75rem; letter-spacing: .12em; color: #8f9aab; text-transform: uppercase; }

.foot .ver { margin-left: 14px; opacity: .5; }
.foot { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }




/* ============ ИКОНКИ ГЛАВНЫХ ПРЕМИЙ: своя зона, текст не наезжает ============ */
.nom-card-main {
  padding: 30px 22px 28px;
  overflow: hidden;
  position: relative;
}

.nom-icon.nom-icon-big {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  height: auto;
  aspect-ratio: 3 / 2;             /* зона под широкую корону */
  margin: 0 auto 16px;
}

.nom-icon.nom-icon-big img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  display: block;
}

.nom-card-main .nom-title {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
}

@media (min-width: 1200px) {
  .nom-icon.nom-icon-big { max-width: 400px; }
}
@media (max-width: 700px) {
  .nom-icon.nom-icon-big { max-width: 230px; margin-bottom: 12px; }
  .nom-card-main { padding: 20px 14px 18px; }
}

/* разделитель между главными премиями и остальными номинациями */
.main-divider {
  height: 1px;
  width: min(900px, 90%);
  margin: 56px auto 0;
  background: linear-gradient(90deg, transparent, rgba(220,230,242,.7), transparent);
  box-shadow: 0 0 14px rgba(200,218,240,.35);
}

/* чекбокс «главная премия» в форме создания */
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
}
.check-row input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #c2cbd9;
  cursor: pointer;
  flex: none;
}

/* главные премии — не больше двух в ряд, заметно крупнее */
.featured-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  max-width: 900px;
  margin: 0 auto;
}

/* =======================================================================
   ХРОМИРОВАННАЯ РАМКА — две половины, каждая привязана к своему краю
   -----------------------------------------------------------------------
   Левая половина прибита к левому краю, правая — к правому. Высота
   всегда = высоте окна, ширина считается из пропорций картинки, поэтому
   картинка не растягивается. Зум браузера (Ctrl +/-) масштабирует всё.

   ЧТО МЕНЯТЬ:
     --frame-w  — ширина половины в процентах от высоты окна (0.373 = точная)
     --frame-op — прозрачность рамки
   ======================================================================= */
:root {
  --frame-w: .373;
  --frame-op: .9;
}

.frame-side {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100vh;
  width: min(calc(100vh * var(--frame-w)), 30vw);
  z-index: 1;
  pointer-events: none;
  background-image: url("/static/brand/chrome_frame.png?v=2.6");
  background-size: auto 100%;
  background-repeat: no-repeat;
  opacity: var(--frame-op);
  filter: drop-shadow(0 0 14px rgba(190, 210, 235, .2));
}
.frame-left  { left: 0;  background-position: left center; }
.frame-right { right: 0; background-position: right center; }

@media (max-width: 700px) {
  :root { --frame-w: .22; --frame-op: .7; }
}
