/* Небо канала (розовый баннер ssn0s) сверху, под облаками ночь, в ней плавают хромовые эмблемы.
   Хром и розовый леденец — единственные два «материала»; золото только у главной награды. */
:root {
  --night: #16042c;
  --plum: #2a0a55;
  --violet: #6a18cf;
  --hot: #d8067f;
  --pink: #ff63d4;
  --blush: #ffd6f3;
  --milk: #fff4fc;
  --mute: #c9a9e6;
  --gold: #f3c65b;
  --line: rgba(255, 190, 240, .2);
  --chrome: linear-gradient(178deg, #fff 8%, #f6dcff 34%, #a566e6 49%, #57209d 52%, #f09be4 66%, #fff 92%);
  --display: 'Dela Gothic One', 'Arial Black', Impact, sans-serif;
  --nick: 'Sofia Sans Extra Condensed', 'Arial Narrow', Arial, sans-serif;
  --text: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
  --gut: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html:has(.ballot[open]), html:has(.reveal[open]) { overflow: hidden; }
body { margin: 0; background: var(--night); color: var(--milk); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, figure { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--plum); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.nojs { position: fixed; inset: auto 0 0; margin: 0; padding: 14px; text-align: center; background: var(--hot); }

/* ---------- кнопки ---------- */
.candy {
  border: 0; cursor: pointer; border-radius: 999px; padding: 13px 28px 14px; color: #fff; font: 400 17px/1.15 var(--display); text-decoration: none; display: inline-block; text-align: center;
  background: radial-gradient(120% 70% at 50% -12%, rgba(255,255,255,.85) 0 22%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #f2229f, #c2006f 62%, #8f0059);
  box-shadow: inset 0 -6px 12px rgba(80, 0, 60, .45), inset 0 0 0 1.5px rgba(255, 190, 235, .55), 0 8px 22px rgba(40, 0, 60, .4);
  text-shadow: 0 1px 2px rgba(70, 0, 50, .75);
  transition: transform .16s, filter .16s;
}
.candy:hover { transform: translateY(-2px); filter: brightness(1.1) saturate(1.05); }
.candy:active { transform: translateY(1px) scale(.985); }
.candy:disabled { filter: grayscale(.7) brightness(.75); cursor: default; transform: none; }
.candy--xl { font-size: clamp(20px, 2.2vw, 26px); padding: 18px 44px 20px; }
.ghost { background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 22px; cursor: pointer; text-decoration: none; font-weight: 500; display: inline-block; transition: border-color .15s, background .15s; }
.ghost:hover { border-color: var(--pink); background: rgba(255, 99, 212, .12); }
.ghost:disabled { opacity: .4; cursor: default; }
.link { background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--pink); }

.tw { border: 0; cursor: pointer; border-radius: 999px; background: #772ce8; color: #fff; font-weight: 600; font-size: 16px; line-height: 1.2; padding: 10px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28), 0 6px 18px rgba(30, 0, 60, .4); transition: filter .15s, transform .15s; }
.tw:hover { filter: brightness(1.14); transform: translateY(-1px); }
.tw:disabled { filter: grayscale(.75) brightness(.75); cursor: default; transform: none; }
.tw--xl { font-size: 19px; padding: 16px 28px; }

/* ---------- шапка ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 28px; padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gut) 10px; transition: background .25s, box-shadow .25s; }
.bar.is-solid { background: rgba(22, 4, 44, .97); box-shadow: 0 1px 0 var(--line); }
.bar__logo { display: flex; align-items: center; gap: 10px; font: 400 17px/1 var(--display); text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.bar__nav { display: flex; gap: 24px; margin-inline: auto; font-weight: 500; font-size: 16px; }
.bar__nav a { text-decoration: none; opacity: .88; }
.bar__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--pink); }
.bar__user { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.who { display: flex; align-items: center; gap: 9px; font: 800 21px/1 var(--nick); max-width: 190px; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- первый экран ---------- */
.hero { position: relative; height: clamp(640px, 100svh, 1040px); overflow: hidden; isolation: isolate; --p: 0; --w: min(1150px, 88vw, 122svh); --wt: 26%; --wh: .29; }
.hero__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #1f0652 0, #4c10a8 24%, #9a1fd6 42%, #ee3fd0 57%, #ff9ee4 66%, #ff7fe0 100%); }
.hero__star { position: absolute; left: 50%; top: 7.2%; width: min(22svh, 230px); translate: -50% calc(var(--p) * -60px); filter: drop-shadow(0 18px 40px rgba(60, 0, 90, .45)); animation: bob 7s ease-in-out infinite; }
.hero__sea, .hero__front { position: absolute; left: 50%; width: max(100%, 1500px); max-width: none; pointer-events: none; }
.hero__sea { top: calc(var(--wt) + var(--w) * var(--wh) * .62); translate: -50% calc(var(--p) * 30px); }
.hero__word { position: absolute; left: 50%; top: var(--wt); width: var(--w); translate: -50% calc(var(--p) * 70px); }
.hero__word img { width: 100%; filter: drop-shadow(0 16px 30px rgba(70, 0, 100, .4)); }
/* ближняя гряда: то же облачное море, отражённое и крупнее, прячет основания букв */
.hero__front { width: max(128%, 1900px, 240svh); top: calc(var(--wt) + var(--w) * var(--wh) * .8); translate: -50% 0; scale: -1 1; animation: drift 26s ease-in-out infinite alternate; }
/* живая версия на WebGL проявляется поверх картинок; потом они прячутся и остаются запасным вариантом */
.hero__live { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s; pointer-events: none; }
.is-live .hero__live { opacity: 1; }
.is-live .hero__star, .is-live .hero__sea, .is-live .hero__front { animation: none; translate: -50% 0; }
.is-live .hero__word { translate: -50% 0; }
.is-solo .hero__star, .is-solo .hero__sea, .is-solo .hero__front, .is-solo .hero__word img { visibility: hidden; filter: none; }
.is-solo .hero__sky { display: none; }
.hero__fade { position: absolute; inset: auto 0 -2px; height: 34%; background: linear-gradient(180deg, rgba(22, 4, 44, 0), rgba(58, 6, 96, .55) 45%, var(--night) 97%); }
.hero__text { position: absolute; inset: auto 0 clamp(34px, 6svh, 76px); text-align: center; padding-inline: var(--gut); }
.hero__awards { font: 400 clamp(30px, 5.4vw, 70px)/1 var(--display); letter-spacing: .06em; color: var(--plum); text-shadow: 0 1px 0 rgba(255, 225, 250, .75); }
.hero__sub { font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; margin-top: 10px; text-shadow: 0 1px 8px rgba(40, 0, 70, .85); }
.hero__cta { margin-top: clamp(14px, 2.4svh, 26px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 26px; }
.timer { background: rgba(22, 4, 44, .62); box-shadow: inset 0 0 0 1.5px rgba(255, 170, 235, .3); border-radius: 22px; padding: 9px 18px 11px; }
.timer p { font-size: 14px; font-weight: 600; color: var(--blush); line-height: 1.2; }
.timer__row { display: flex; gap: 4px; margin-top: 5px; }
.timer__row div { width: 74px; }
.timer b { display: block; font: 400 30px/1 var(--display); font-variant-numeric: tabular-nums; color: #fff; }
.timer span { font-size: 13px; line-height: 1.2; color: var(--blush); }
.hero__status { margin-top: 14px; font-weight: 500; min-height: 1.6em; white-space: pre-line; text-shadow: 0 1px 6px rgba(22, 4, 44, .8); font-variant-numeric: tabular-nums; }
@keyframes bob { 50% { transform: translateY(-12px); } }
@keyframes drift { from { transform: translateX(-1.6%); } to { transform: translateX(1.6%); } }

/* ---------- номинации ---------- */
.chrome { font: 400 clamp(32px, 5.6vw, 68px)/1.14 var(--display); filter: drop-shadow(0 4px 14px rgba(140, 20, 190, .55)); text-wrap: balance; }
.chrome span, .main-award h2 span { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-block: .06em .1em; }
.lead { max-width: 56ch; margin-top: 12px; font-size: 19px; color: var(--blush); }
.noms { padding-block: clamp(56px, 8vw, 110px) 40px; background: linear-gradient(180deg, var(--night), transparent 260px), radial-gradient(60% 460px at 78% 460px, rgba(150, 20, 190, .42), transparent 70%), radial-gradient(50% 520px at 12% 58%, rgba(106, 24, 207, .4), transparent 70%), var(--night); }
.noms__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 36px; margin-top: 56px; padding-bottom: 110px; }
.nom { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nom:nth-child(3n + 2) { translate: 0 88px; }
.nom__art { display: block; width: min(300px, 100%); transition: transform .35s cubic-bezier(.2, 1.2, .3, 1); background: none; border: 0; padding: 0; cursor: pointer; }
.nom__art img { width: 100%; filter: drop-shadow(0 26px 26px rgba(8, 0, 22, .55)); }
.nom__art:hover { transform: translateY(-8px) scale(1.04); }
.nom h3 { font: 400 clamp(21px, 2vw, 27px)/1.16 var(--display); text-wrap: balance; margin-top: 4px; }
.nom__desc { margin-top: 10px; color: var(--mute); max-width: 32ch; text-wrap: pretty; }
.faces { display: flex; justify-content: center; margin-top: 16px; }
.faces .ava { margin-inline: -6px; box-shadow: 0 0 0 3px var(--night); }
.nom__act { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--plum); }
.ava--mono { display: grid; place-items: center; font: 400 18px/1 var(--display); color: #fff; background: radial-gradient(circle at 50% 8%, rgba(255, 255, 255, .7), transparent 42%), linear-gradient(180deg, #a13be8, #4a0f9c); }
.ava--clip { border-radius: 12px; width: 62px; }
.mine { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; background: rgba(255, 99, 212, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 130, 220, .6); max-width: 100%; }
.mine .ava { width: 36px; height: 36px; }
.mine .ava--clip { width: 50px; border-radius: 8px; margin-left: 6px; }
.mine b { font: 800 22px/1.05 var(--nick); overflow-wrap: anywhere; text-align: left; }
.mine small { font-size: 13px; color: var(--blush); display: block; line-height: 1.1; text-align: left; }
.mine--gold { background: rgba(243, 198, 91, .16); box-shadow: inset 0 0 0 1.5px var(--gold); }
.mine--gold small { color: var(--gold); }

/* ---------- главная награда ---------- */
.main-award { background: linear-gradient(180deg, var(--night), transparent 34% 66%, var(--night)), radial-gradient(52% 62% at 32% 50%, rgba(170, 104, 14, .6), transparent 72%), var(--night); padding-block: clamp(40px, 7vw, 100px); }
.main-award .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.main-award__art { filter: drop-shadow(0 40px 50px rgba(10, 0, 20, .7)); animation: bob 8s ease-in-out infinite; width: 100%; max-width: 560px; justify-self: center; }
.main-award h2 { font: 400 clamp(38px, 6vw, 76px)/1.12 var(--display); }
.main-award h2 span { background-image: linear-gradient(178deg, #fff6dc 10%, #f7d27a 38%, #a66a12 51%, #5c3607 54%, #ebb548 70%, #fff0c4 95%); }
.main-award p { font-size: 20px; max-width: 34ch; margin-top: 16px; text-wrap: pretty; }
.main-award .sealed { color: var(--gold); font-weight: 600; }
.main-award .nom__act { align-items: flex-start; margin-top: 24px; }

/* ---------- как голосовать, вопросы ---------- */
.how { padding-block: clamp(48px, 7vw, 96px); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); font: 400 76px/1 var(--display); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.steps h3 { font: 400 22px/1.2 var(--display); margin: 10px 0 8px; }
.steps p { color: var(--blush); }
.faq { padding-block: 24px clamp(60px, 8vw, 120px); }
.faq__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 50%; translate: 0 -50%; font: 400 26px/1 var(--display); color: var(--pink); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 40px 22px 0; color: var(--blush); max-width: 60ch; }

.foot { position: relative; overflow: hidden; padding-block: 150px 40px; text-align: center; isolation: isolate; }
.foot__sea { position: absolute; left: 50%; bottom: -70px; width: max(100%, 1500px); max-width: none; translate: -50% 0; z-index: -1; filter: brightness(.5) saturate(1.2); animation: drift 34s ease-in-out infinite alternate; mask-image: linear-gradient(180deg, transparent 6%, #000 55%); }
.foot__title { font: 400 clamp(26px, 4vw, 44px)/1.1 var(--display); }
.foot__links { margin-top: 18px; display: flex; gap: 28px; justify-content: center; font-size: 20px; font-weight: 600; }
.foot__links a { text-underline-offset: 6px; text-decoration-color: var(--pink); }
.foot__small { margin-top: 60px; font-size: 14px; color: var(--blush); }

/* ---------- бюллетень ---------- */
dialog { color: inherit; border: 0; padding: 0; }
dialog::backdrop { background: rgba(10, 0, 22, .78); }
.ballot { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; overflow: hidden; background: radial-gradient(70% 60% at 22% 30%, rgba(120, 22, 190, .75), transparent 70%), radial-gradient(60% 60% at 88% 90%, rgba(216, 6, 127, .34), transparent 70%), var(--night); }
.ballot[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.ballot__top { display: flex; align-items: center; gap: 20px; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gut) 12px; }
.dots { display: flex; gap: 6px; flex: 1; max-width: 640px; margin-inline: auto; }
.dots button { flex: 1; height: 26px; border: 0; background: none; padding: 9px 0; cursor: pointer; }
.dots button::before { content: ''; display: block; height: 8px; border-radius: 99px; background: rgba(255, 200, 245, .2); }
.dots .done::before { background: linear-gradient(180deg, #ff9fe4, #d8067f); }
.dots .now::before { box-shadow: 0 0 0 2px #fff; }
.x { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: rgba(22, 4, 44, .5); cursor: pointer; font-size: 22px; line-height: 1; flex: none; }
.x:hover { border-color: var(--pink); }
.ballot__body { overflow-y: auto; overscroll-behavior: contain; }
.ballot__in { width: min(1240px, 100%); margin: auto; padding: 12px var(--gut) 40px; display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: 20px 56px; align-items: center; min-height: 100%; }
.ballot__info img { width: min(340px, 100%, 40vh); margin-inline: auto; filter: drop-shadow(0 26px 30px rgba(8, 0, 22, .6)); }
.ballot__info h2 { font: 400 clamp(26px, 3.2vw, 42px)/1.08 var(--display); text-wrap: balance; }
.ballot__info p { margin-top: 10px; color: var(--blush); font-size: 18px; max-width: 36ch; }
.ballot__in.is-long { align-items: start; }
.ballot__in.is-long .ballot__info { position: sticky; top: 16px; }
.picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 20px; --cw: 152px; }
.picks[data-n="2"], .picks[data-n="3"] { --cw: min(240px, 30%); }
.picks[data-n="4"], .picks[data-n="7"], .picks[data-n="8"] { --cw: calc((100% - 60px) / 4); }
.picks[data-n="5"], .picks[data-n="6"] { --cw: min(205px, 30%); }
.picks--clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick { position: relative; width: var(--cw); display: flex; flex-direction: column; border: 0; padding: 0; text-align: center; background: none; cursor: pointer; border-radius: 22px; transition: transform .2s; }
.pick:hover { transform: translateY(-4px); }
.pick__pic { aspect-ratio: 1; width: 100%; border-radius: 22px; object-fit: cover; background: var(--plum); box-shadow: inset 0 0 0 2px var(--line), 0 14px 26px rgba(8, 0, 22, .45); }
.pick__pic.ava--mono { font-size: clamp(54px, 7vw, 84px); border-radius: 22px; width: 100%; height: auto; background: radial-gradient(circle at 50% -6%, rgba(255, 255, 255, .6), transparent 46%), linear-gradient(180deg, #a13be8, #4a0f9c); }
.pick__pic--thing { object-fit: contain; background: radial-gradient(circle at 50% 40%, #5a16ac, #2a0a55 72%); padding: 8px; }
.pick__name { font: 800 clamp(23px, 2.1vw, 29px)/1.02 var(--nick); padding: 11px 4px 0; overflow-wrap: anywhere; }
.picks--things .pick__name { font: 600 17px/1.25 var(--text); text-wrap: balance; overflow-wrap: normal; }
.pick__note { font-size: 14px; color: var(--mute); padding-top: 3px; }
.pick[aria-pressed="true"] .pick__pic { outline: 5px solid #ff63d4; outline-offset: 4px; }
.pick[aria-pressed="true"]::after, .pick.is-winner::after { content: 'Твой голос'; position: absolute; left: 50%; top: -12px; translate: -50% 0; white-space: nowrap; background: linear-gradient(180deg, #f2229f, #b00068); box-shadow: 0 4px 12px rgba(20, 0, 40, .5); color: #fff; font-weight: 600; font-size: 14px; line-height: 1; border-radius: 99px; padding: 7px 14px 8px; }
.pick.is-winner.is-winner .pick__pic { outline: 5px solid var(--gold); outline-offset: 4px; }
.pick.is-winner.is-winner::after { content: 'Победитель'; background: linear-gradient(180deg, #ffe29a, #d59a23); color: #3a2000; }
.pick.is-winner[aria-pressed="true"]::after { content: 'Победитель, твой голос'; }
.pick:disabled { cursor: default; transform: none; }
.pick.is-busy { opacity: .6; }
.pct { display: block; height: 8px; border-radius: 99px; background: rgba(255, 200, 245, .16); margin-top: 8px; overflow: hidden; flex: none; }
.pick .pct { margin-top: auto; }
.pick .pick__note, .pick .pick__name { padding-bottom: 8px; }
.pick .pick__name:has(+ .pick__note) { padding-bottom: 0; }
.pct i { display: block; height: 100%; background: linear-gradient(90deg, #c2006f, #ff63d4); border-radius: 99px; }
.is-winner .pct i { background: linear-gradient(90deg, #c98a16, #ffe29a); }
.pick__pct { font: 800 22px/1 var(--nick); margin-top: 6px; font-variant-numeric: tabular-nums; }
.clip { display: flex; flex-direction: column; }
.clip .pick__pic, .clip__frame { aspect-ratio: 16 / 9; border-radius: 18px; width: 100%; border: 0; }
.clip__play { position: relative; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 18px; }
.clip__play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; background: radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, .85) 0 24%, transparent 60%), linear-gradient(180deg, #f2229f, #8f0059); clip-path: circle(50%); }
.clip__play::before { content: ''; position: absolute; inset: 0; margin: auto; z-index: 1; width: 0; height: 0; translate: 3px 0; border-left: 20px solid #fff; border-block: 13px solid transparent; }
.clip__row { display: flex; align-items: center; gap: 14px; padding-top: 10px; justify-content: space-between; }
.clip__row .pick__name { padding: 0; font: 800 25px/1.05 var(--nick); text-align: left; }
.clip__row .pick__note { text-align: left; }
.clip__vote { flex: none; padding: 10px 20px; }
.clip.is-mine .pick__pic, .clip.is-mine .clip__frame { outline: 5px solid #ff63d4; outline-offset: 3px; }
.clip.is-winner .pick__pic, .clip.is-winner .clip__frame { outline: 5px solid var(--gold); outline-offset: 3px; }
.ballot__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px var(--gut) calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgba(22, 4, 44, .7); }
.ballot__foot .hint { color: var(--mute); font-size: 15px; text-align: center; min-width: 0; }
.done { text-align: center; max-width: 640px; margin: auto; padding: 24px var(--gut) 60px; }
.done img { width: min(320px, 70vw); margin: 0 auto; }
.done h2 { font: 400 clamp(30px, 5vw, 54px)/1.08 var(--display); }
.done p { margin-top: 14px; font-size: 19px; color: var(--blush); }
.done__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.ballot__picks { min-width: 0; }
.pick--add .pick__pic { display: grid; place-items: center; background: rgba(13, 1, 25, .28); box-shadow: none; border: 2.5px dashed rgba(255, 130, 220, .6); color: #ff8fe0; font: 400 clamp(48px, 5vw, 72px)/1 var(--display); transition: background .15s, border-color .15s; }
.pick--add:hover .pick__pic { background: rgba(255, 99, 212, .16); border-color: #ff8fe0; }
.pick--add .pick__name { color: #ffc9f2; }
.pick--clip { width: 100%; }
.pick--clip .pick__pic { aspect-ratio: 16 / 9; border-radius: 18px; }
.pick--clip .pick__name { text-align: left; }
.props { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; color: var(--mute); font-size: 15px; }
.props span { display: inline-flex; gap: 8px; align-items: baseline; background: rgba(13, 1, 25, .5); border-radius: 99px; padding: 5px 14px; color: var(--milk); font-weight: 500; overflow-wrap: anywhere; }
.props i { font-style: normal; font-size: 13px; color: #ffb6ec; white-space: nowrap; }
.props .no i { color: var(--mute); }
.pr input { width: 100%; font: inherit; font-size: 18px; color: var(--milk); background: #0d0119; border: 1.5px solid var(--line); border-radius: 99px; padding: 14px 20px; margin-top: 18px; }
.found { min-height: 84px; margin-top: 16px; }
.hit { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: rgba(13, 1, 25, .55); flex-wrap: wrap; }
.hit > div { flex: 1 1 120px; min-width: 0; }
.hit .ava { width: 54px; height: 54px; }
.hit .ava--clip { width: 100px; height: 56px; border-radius: 10px; }
.hit b { font: 800 24px/1.05 var(--nick); overflow-wrap: anywhere; display: block; }
.hit small { color: var(--mute); font-size: 14px; }
.hit .candy { font-size: 16px; padding: 11px 20px 12px; }
.found .warn { margin: 0 0 12px; }

/* ---------- вход ---------- */
.login { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; border-radius: 28px; background: linear-gradient(180deg, #3a0c78, #1e0540); box-shadow: 0 0 0 1.5px rgba(255, 170, 235, .35), 0 40px 90px rgba(0, 0, 0, .6); }
.login__in { padding: 30px clamp(20px, 5vw, 38px) 34px; position: relative; }
.login .x { position: absolute; right: 16px; top: 16px; }
.login h2 { font: 400 27px/1.15 var(--display); padding-right: 50px; }
.login p { margin-top: 12px; color: var(--blush); }
.login__go { display: grid; gap: 12px; margin-top: 18px; }
.demo { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); }
.demo form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.demo input { flex: 1 1 190px; min-width: 0; font: inherit; color: var(--milk); background: #0d0119; border: 1.5px solid var(--line); border-radius: 99px; padding: 11px 18px; }
.demo-mark { position: fixed; z-index: 30; left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); background: rgba(13, 1, 25, .88); color: var(--blush); font-size: 14px; line-height: 1.3; padding: 8px 14px; border-radius: 12px; }
.hello { text-align: center; padding-block: 12px; }
.hello .ava { width: 108px; height: 108px; margin: 0 auto 16px; font-size: 44px; }
.hello b { font: 800 38px/1.05 var(--nick); overflow-wrap: anywhere; }

/* ---------- объявление победителя ---------- */
.reveal { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; overflow: hidden; background: radial-gradient(60% 60% at 50% 46%, #7a1fc8, #2c0a66 60%, var(--night)); }
.reveal[open] { display: grid; place-items: center; }
.reveal__in { text-align: center; padding: 20px var(--gut); width: min(920px, 100%); }
.reveal__em { width: min(250px, 34vh); margin-inline: auto; }
.reveal h2 { font: 400 clamp(22px, 3.4vw, 40px)/1.1 var(--display); }
.reveal__slot { height: min(300px, 34vh); display: grid; place-items: center; margin-top: 18px; }
.reveal__slot .ava { width: min(230px, 28vh); height: min(230px, 28vh); font-size: 90px; border-radius: 36px; }
.reveal__slot .ava--clip { width: min(470px, 80vw); height: auto; aspect-ratio: 16 / 9; }
.reveal.is-open .reveal__slot .ava { outline: 7px solid var(--gold); outline-offset: 7px; animation: pop .7s cubic-bezier(.2, 1.6, .4, 1); box-shadow: 0 0 120px rgba(255, 205, 100, .75); }
.reveal__name { font: 800 clamp(44px, 8vw, 104px)/1 var(--nick); margin-top: 20px; min-height: 1em; overflow-wrap: anywhere; }
.reveal__pct { font-size: 20px; color: var(--gold); min-height: 1.6em; margin-top: 8px; font-weight: 600; }
.reveal .x { position: absolute; right: 20px; top: 20px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

.pill { position: fixed; z-index: 30; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); border: 0; cursor: pointer; border-radius: 99px; padding: 13px 22px; background: #fff; color: var(--plum); font-weight: 600; box-shadow: 0 10px 34px rgba(0, 0, 0, .45); }
.pill b { font-weight: 600; color: #b00068; }
.toast { position: fixed; z-index: 99; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; width: max-content; max-width: calc(100vw - 32px); background: #fff; color: #4a003a; font-weight: 600; padding: 13px 22px; border-radius: 16px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }

@media (max-width: 1000px) {
  .bar__nav { display: none; }
  .bar__user { margin-left: auto; }
  .noms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 60px; }
  .nom:nth-child(3n + 2) { translate: none; }
  .ballot__in { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 26px; padding-top: 0; }
  .ballot__info, .ballot__in.is-long .ballot__info { position: static; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
  .ballot__info img { width: 100%; }
}
@media (max-width: 699px) {
  .hero { height: clamp(620px, 100svh, 860px); --w: min(76vw, 33svh); --wt: 17.5%; --wh: 1.211; }
  .hero__cta { gap: 12px; }
  .timer { padding: 8px 10px 9px; }
  .timer__row div { width: 66px; }
  .timer b { font-size: 25px; }
  .hero__star { width: min(30vw, 14svh); top: 7.5%; }
  .hero__sea, .hero__front { width: 1500px; }
  .hero__fade { height: 46%; }
  .hero__awards, .hero__sub { color: #fff; text-shadow: 0 2px 10px rgba(40, 0, 70, .9); }
  .noms__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 34px; }
  .nom { display: grid; grid-template-columns: 128px minmax(0, 1fr); column-gap: 14px; text-align: left; align-items: start; }
  .nom__art { grid-row: 1 / span 4; width: 128px; }
  .nom h3 { font-size: 21px; margin-top: 8px; }
  .nom__desc { margin-top: 4px; font-size: 16px; }
  .faces { justify-content: flex-start; padding-left: 6px; margin-top: 12px; }
  .faces .ava { width: 38px; height: 38px; }
  .faces .ava--clip { width: 54px; }
  .nom__act { align-items: flex-start; margin-top: 12px; }
  .main-award .wrap { grid-template-columns: minmax(0, 1fr); gap: 8px; text-align: center; }
  .main-award p { margin-inline: auto; }
  .main-award .nom__act { align-items: center; }
  .steps, .faq__in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .picks, .picks[data-n] { gap: 24px 14px; --cw: calc(50% - 7px); }
  .picks--clips { grid-template-columns: minmax(0, 1fr); }
  .ballot__info { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .ballot__info p { font-size: 16px; margin-top: 6px; }
  .ballot__foot .hint { display: none; }
  .ballot__foot .candy, .ballot__foot .ghost { flex: 1; padding-inline: 10px; }
  .dots { gap: 4px; }
  .hero__status, .hero__sub { font-size: 16px; }
  .who { font-size: 18px; max-width: 118px; }
  .bar__logo { font-size: 14px; gap: 7px; }
  .bar__logo img { width: 32px; height: 32px; }
  .pill { left: 16px; right: 16px; }
  .demo-mark { font-size: 12px; padding: 6px 10px; }
  body:has(.pill:not([hidden])) .demo-mark { display: none; }
  body:has(.pill:not([hidden])) .foot { padding-bottom: 110px; }
}
@media (min-width: 700px) and (max-height: 760px) {
  .hero { --w: min(88vw, 108svh); --wt: 25%; }
  .hero__awards { font-size: clamp(28px, 4.4vw, 52px); }
  .candy--xl { padding-block: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
