@font-face {
  font-family: "PT Root UI";
  src: url("../fonts/PTRootUI-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Root UI";
  src: url("../fonts/PTRootUI-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Root UI";
  src: url("../fonts/PTRootUI-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Root UI";
  src: url("../fonts/PTRootUI-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161616;
  --ink-2: #212121;
  --muted: #959595;
  --muted-2: #a3a3a3;
  --line: #ebebeb;
  --bg: #fafafa;
  --card: #ffffff;
  --lime: #d3ff33;
  --lime-2: #c6ef2a;
  --purple: #8d33ff;
  --purple-soft: #eee0ff;
  --red: #e53935;
  --orange: #ff5b22;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 8px 28px rgba(22, 22, 22, 0.06);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PT Root UI", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font-family: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* topbar */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #444;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 16px;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--purple); }
.phone { font-weight: 500; color: var(--ink); letter-spacing: 0.01em; }
.topbar__muted { color: var(--muted); }

/* header */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding-top: 10px;
}
.logo { text-decoration: none; flex-shrink: 0; line-height: 1.05; }
.logo__name {
  font-weight: 700;
  font-size: 26px;
  color: var(--red);
  letter-spacing: -0.03em;
}
.logo__sub { font-size: 11px; color: #7a7a7a; margin-top: 2px; }
.catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #161616;
  color: #fff;
  border: 0;
  border-radius: 99px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.catalog-btn:hover { background: #2b2b2b; }
.search {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg);
  border-radius: 99px;
  padding: 0 6px 0 16px;
  min-height: 42px;
  border: 1px solid transparent;
}
.search:focus-within { border-color: #ddd; background: #fff; }
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--ink);
}
.search input::placeholder { color: #bdbdbd; }
.search button {
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; color: #444;
}
.header__icons { display: flex; gap: 4px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink); text-decoration: none;
}
.icon-btn:hover { background: var(--bg); }

.pills {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 6px 0 12px;
  scrollbar-width: none;
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 99px;
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}
.pill--lime { background: var(--lime); }
.pill--purple { background: var(--purple); color: #fff; }

/* crumbs */
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0 8px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span.now { color: var(--ink); }

/* hero */
.hero {
  margin: 18px 0 28px;
  border-radius: 28px;
  overflow: hidden;
  background-color: #f4f4f4;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.78) 42%, rgba(255,255,255,0.15) 70%),
    var(--hero-image);
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 360px;
  display: grid;
  align-items: center;
  padding: 40px 48px;
  position: relative;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 620px;
}
.hero p.lead {
  margin: 0 0 22px;
  color: #444;
  font-size: 17px;
  max-width: 520px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: #444;
  font-size: 14px;
}
.hero__meta b { display: block; font-size: 16px; color: var(--ink); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 99px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: .2s ease;
  line-height: 1;
}
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-2); }
.btn--purple { background: var(--purple); color: #fff; }
.btn--purple:hover { filter: brightness(1.05); }
.btn--black { background: #161616; color: #fff; }
.btn--black:hover { background: #2b2b2b; }
.btn--ghost {
  background: #fff;
  border: 1px solid #d0d0d0;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--bg); }
.btn--wide { width: 100%; }

/* sections */
.sec { padding: 18px 0 8px; }
.sec h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  font-weight: 700;
}
.sec .sub {
  margin: 0 0 22px;
  color: #666;
  max-width: 720px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  min-height: 220px;
}
.step img {
  width: 88px; height: 88px; object-fit: contain; margin-bottom: 10px;
}
.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px; height: 22px;
  background: var(--lime);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0 8px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.02em; }
.step p { margin: 0; color: #555; font-size: 14.5px; }

/* prizes */
.prizes {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 14px;
}
.prize {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.prize--main { background: linear-gradient(180deg, #f6eeff 0%, #fafafa 55%); }
.prize img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin: 6px 0 12px;
}
.prize .tag {
  align-self: flex-start;
  background: #fff;
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
}
.prize--main .tag { background: var(--purple); color: #fff; }
.prize h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.02em; }
.prize .sum {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.prize p { margin: 0; color: #666; font-size: 14px; }
.prize .more { margin-top: auto; padding-top: 12px; font-size: 13px; color: #888; }

/* calendar */
.cal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cal-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  text-decoration: none;
  display: block;
  transition: .2s ease;
}
.cal-item:hover { border-color: #d7c2ff; box-shadow: var(--shadow); }
.cal-item.is-final {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(141,51,255,0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(211,255,51,0.55), transparent 55%),
    linear-gradient(135deg, #fffceb 0%, #f6eeff 60%, #fff 100%);
  color: var(--ink);
  border: 1px solid rgba(141,51,255,0.18);
  box-shadow: 0 6px 22px rgba(141,51,255,0.10);
  position: relative;
  overflow: hidden;
}
.cal-item.is-final::before {
  content: "🏆";
  position: absolute;
  top: 12px; right: 18px;
  font-size: 28px;
  opacity: 0.55;
  pointer-events: none;
}
.cal-item.is-final h3 { color: var(--ink); font-weight: 700; }
.cal-item.is-final .muted { color: #6b21a8; opacity: 0.85; }
.cal-item.is-final .status.soon { background: #fff; color: #6b21a8; border: 1px solid #eee0ff; }
.cal-item.is-final .status.waiting { background: var(--lime); color: var(--ink); }
.cal-item.is-final .status.published { background: var(--purple); color: #fff; }
.cal-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cal-item h3 { margin: 8px 0 4px; font-size: 16px; }
.muted { color: var(--muted); font-size: 13px; }
.status {
  font-size: 12px;
  font-weight: 500;
  border-radius: 99px;
  padding: 4px 8px;
  background: var(--bg);
}
.status.soon { background: #f3f3f3; color: #666; }
.status.waiting { background: #fff3e0; color: #c43e00; }
.status.published { background: #e9ff99; color: #2a4a00; }
.is-final .status.published { background: var(--lime); color: #161616; }

/* rules */
.rules-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  background: var(--bg);
  border-radius: 24px;
  padding: 28px;
  align-items: center;
}
.rules-box h2 { margin-bottom: 8px; }
.rules-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.rules-card .pdf {
  width: 48px; height: 56px;
  border-radius: 8px;
  background: #ff5b22;
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}

/* video */
.video-wrap {
  background: #111;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.video-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: #6b21a8;
  text-align: center;
  padding: 28px 24px;
  background:
    radial-gradient(circle at 20% 15%, rgba(211,255,51,0.45), transparent 38%),
    radial-gradient(circle at 80% 85%, rgba(141,51,255,0.18), transparent 42%),
    linear-gradient(135deg, #fffceb 0%, #f6eeff 55%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.video-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 4px at 18% 22%, rgba(141,51,255,0.10) 50%, transparent 51%),
    radial-gradient(circle 5px at 82% 30%, rgba(211,255,51,0.35) 50%, transparent 51%),
    radial-gradient(circle 3px at 25% 78%, rgba(141,51,255,0.10) 50%, transparent 51%),
    radial-gradient(circle 6px at 75% 72%, rgba(211,255,51,0.30) 50%, transparent 51%),
    radial-gradient(circle 4px at 50% 50%, rgba(141,51,255,0.08) 50%, transparent 51%);
  pointer-events: none;
  animation: ve-float 8s ease-in-out infinite;
}
@keyframes ve-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.video-empty__inner {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  max-width: 460px;
}
.video-empty__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid rgba(141,51,255,0.18);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  color: #6b21a8;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(141,51,255,0.08);
}
.video-empty__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple);
  animation: ve-pulse 1.4s ease-in-out infinite;
}
@keyframes ve-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
.video-empty__emojis {
  display: flex; gap: 8px; font-size: 38px; line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(141,51,255,0.15));
}
.video-empty h3 {
  margin: 0; color: var(--ink); font-size: 24px;
  letter-spacing: -0.02em; font-weight: 700;
}
.video-empty p {
  margin: 0; color: #6b21a8; opacity: 0.85; font-size: 14.5px;
  max-width: 420px; line-height: 1.5;
}
.video-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.video-tabs button {
  border: 0;
  background: var(--bg);
  border-radius: 99px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.video-tabs button.is-on { background: #161616; color: #fff; }

/* winners */
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.toolbar input, .toolbar select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 99px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}
.toolbar input { flex: 1; min-width: 220px; }
.toolbar input:focus, .toolbar select:focus { border-color: #c699ff; }
.table-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: auto;
  background: #fff;
}
table.winners {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
table.winners th, table.winners td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
table.winners th {
  font-size: 12px;
  font-weight: 500;
  color: #888;
  background: var(--bg);
  position: sticky;
  top: 0;
}
table.winners tr:last-child td { border-bottom: 0; }
table.winners tbody tr:hover { background: #fcfaff; }
.prize-chip {
  display: inline-flex;
  background: var(--purple-soft);
  color: #5b16b8;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
}
.empty {
  padding: 48px 20px;
  text-align: center;
  color: #777;
}
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* faq */
.faq { display: grid; gap: 8px; }
details.q {
  background: var(--bg);
  border-radius: 16px;
  padding: 4px 18px;
}
details.q summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 500;
  font-size: 16px;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary:after {
  content: "+";
  float: right;
  color: #999;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
details.q[open] summary:after { content: "–"; }
details.q p { margin: 0 0 16px; color: #555; }

.note {
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f6f6f6;
  color: #555;
  font-size: 13.5px;
}

/* footer */
.footer {
  margin-top: 40px;
  background: #161616;
  color: #ddd;
  padding: 36px 0 24px;
}
.footer a { color: #fff; text-decoration: none; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: #999; }
.footer h4 { margin: 0 0 10px; font-size: 14px; color: #fff; }
.footer p, .footer li { font-size: 13.5px; color: #bdbdbd; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer__copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #2d2d2d;
  font-size: 12px;
  color: #888;
}

.embed-hide { display: none !important; }

/* admin */
.admin-body { background: #f4f4f6; }
.admin-shell { max-width: 1080px; margin: 0 auto; padding: 24px 16px 60px; }
.login-card {
  max-width: 420px;
  margin: 12vh auto;
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.login-card h1 { margin: 8px 0 8px; font-size: 26px; }
.field { display: grid; gap: 6px; margin: 12px 0; }
.field label { font-size: 13px; color: #666; font-weight: 500; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 15px;
  outline: none;
  background: #fff;
}
.field textarea { min-height: 80px; resize: vertical; border-radius: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); }
.err { color: #c62828; font-size: 13px; min-height: 18px; }
.admin-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 18px; flex-wrap: wrap;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button {
  border: 0; background: #fff; border-radius: 99px; padding: 8px 14px;
  cursor: pointer; font-size: 14px;
}
.tabs button.is-on { background: #161616; color: #fff; }
.panel { display: none; }
.panel.is-on { display: block; }
.draw-list { display: grid; gap: 12px; }
.draw-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px 16px 8px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.draw-card__top {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
}
.switch {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer;
}
.w-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.w-table th, .w-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.mini { font-size: 13px; padding: 8px 12px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; align-items: end; }
.ok { color: #2e7d32; font-size: 13px; }

/* ====== Responsive: viewport-based @media ====== */
@media (max-width: 980px) {
  .steps, .prizes, .cal { grid-template-columns: 1fr 1fr; }
  .prize--main { grid-column: span 2; }
  .cal-item.is-final { grid-column: span 2; }
  .rules-box, .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 28px 22px; min-height: 320px; background-position: 70% center; }
  .catalog-btn, .search, .header__icons, .topbar { display: none; }
  .header__in { min-height: 60px; }
  .row-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cal-item.is-final { grid-template-columns: 1fr; }
  .cal-item.is-final::before { font-size: 22px; top: 8px; right: 12px; }
}
@media (max-width: 640px) {
  .steps, .prizes, .cal { grid-template-columns: 1fr; }
  .prize--main, .cal-item.is-final { grid-column: span 1; }
  .hero h1 { font-size: 28px; }
  .cal-item.is-final { grid-template-columns: 1fr; }

  /* Mobile fixes — чтобы всё влезало и не было «длинных» карточек */
  .wrap { width: min(var(--max), calc(100% - 24px)); }

  .step { min-height: auto; }
  .step img { width: 64px; height: 64px; }

  .prize { min-height: auto; }
  .prize img { height: 100px; }
  .prize .sum { font-size: 22px; }
  .prize h3 { font-size: 17px; }

  .hero {
    min-height: auto;
    padding: 24px 18px 32px;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.85) 55%, rgba(255,255,255,0.4) 100%),
      var(--hero-image);
    background-position: center;
    background-size: cover;
  }
  .hero h1 { font-size: 26px; max-width: 100%; }
  .hero p.lead { font-size: 15px; max-width: 100%; }
  .hero__meta { gap: 10px; font-size: 13px; flex-direction: column; }
  .hero__meta b { font-size: 15px; }
  .hero__badge { font-size: 12px; }

  .cal-item { padding: 12px; }
  .cal-item h3 { font-size: 15px; }

  .rules-box { padding: 20px; }

  .sec h2 { font-size: 22px; }
  .sec .sub { font-size: 14.5px; }

  .prize .tag, .status { font-size: 11px; }

  .note { padding: 14px 16px; font-size: 13px; }

  .footer__grid { gap: 16px; }
  .footer { padding: 24px 0 18px; }

  .header__in { min-height: 52px; padding-top: 6px; }
  .logo__name { font-size: 22px; }
}

/* ====== Container-based responsive (для preview-тулбара) ====== */
/* JS добавляет классы is-narrow / is-tablet на body в зависимости от ширины контейнера */
.is-narrow .steps,
.is-narrow .prizes,
.is-narrow .cal { grid-template-columns: 1fr !important; }
.is-narrow .prize--main,
.is-narrow .cal-item.is-final { grid-column: span 1 !important; }
.is-narrow .cal-item.is-final { grid-template-columns: 1fr !important; }
.is-narrow .rules-box,
.is-narrow .footer__grid { grid-template-columns: 1fr !important; }
.is-narrow .wrap { width: min(var(--max), calc(100% - 24px)) !important; }
.is-narrow .step { min-height: auto !important; }
.is-narrow .step img { width: 64px !important; height: 64px !important; }
.is-narrow .prize { min-height: auto !important; }
.is-narrow .prize img { height: 100px !important; }
.is-narrow .prize .sum { font-size: 22px !important; }
.is-narrow .prize h3 { font-size: 17px !important; }
.is-narrow .hero {
  min-height: auto !important;
  padding: 24px 18px 32px !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.85) 55%, rgba(255,255,255,0.4) 100%),
    var(--hero-image) !important;
  background-position: center !important;
  background-size: cover !important;
}
.is-narrow .hero h1 { font-size: 26px !important; max-width: 100% !important; }
.is-narrow .hero p.lead { font-size: 15px !important; max-width: 100% !important; }
.is-narrow .hero__meta { gap: 10px !important; font-size: 13px !important; flex-direction: column !important; }
.is-narrow .hero__meta b { font-size: 15px !important; }
.is-narrow .hero__badge { font-size: 12px !important; }
.is-narrow .cal-item { padding: 12px !important; }
.is-narrow .cal-item h3 { font-size: 15px !important; }
.is-narrow .rules-box { padding: 20px !important; }
.is-narrow .sec h2 { font-size: 22px !important; }
.is-narrow .sec .sub { font-size: 14.5px !important; }
.is-narrow .prize .tag,
.is-narrow .status { font-size: 11px !important; }
.is-narrow .note { padding: 14px 16px !important; font-size: 13px !important; }
.is-narrow .footer__grid { gap: 16px !important; }
.is-narrow .footer { padding: 24px 0 18px !important; }
.is-narrow .header__in { min-height: 52px !important; padding-top: 6px !important; }
.is-narrow .logo__name { font-size: 22px !important; }
.is-narrow .catalog-btn,
.is-narrow .search,
.is-narrow .header__icons,
.is-narrow .topbar { display: none !important; }

.is-tablet .steps,
.is-tablet .prizes,
.is-tablet .cal { grid-template-columns: 1fr 1fr !important; }
.is-tablet .prize--main { grid-column: span 2 !important; }
.is-tablet .cal-item.is-final { grid-column: span 2 !important; }
.is-tablet .rules-box,
.is-tablet .footer__grid { grid-template-columns: 1fr !important; }
.is-tablet .hero {
  padding: 28px 22px !important;
  min-height: 320px !important;
  background-position: 70% center !important;
}
.is-tablet .catalog-btn,
.is-tablet .search,
.is-tablet .header__icons,
.is-tablet .topbar { display: none !important; }
.is-tablet .header__in { min-height: 60px !important; }
