* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/martianmono/v6/2V0PKIcADoYhV6w87xrTKjs4CYElh_VS9YA4TlTnaT69wWmm.woff2) format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://yastatic.net/s3/distribution/lpc/fonts/Inter/Inter-Regular.woff) format('woff2');
}

@font-face {
  font-family: 'YS Text';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://yastatic.net/s3/home/fonts/ys/3/text-regular.woff2) format('woff2');
}

@font-face {
  font-family: 'YS Text';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://yastatic.net/s3/home/fonts/ys/4/text-medium.woff2) format('woff2');
}

html,
body {
  height: 100%;
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 140%;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.visibility-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

/* ══════════════════════════════════════════════════════════
   КОРНЕВОЙ КОНТЕЙНЕР
══════════════════════════════════════════════════════════ */
#app {
  display: flex;
  flex-flow: column nowrap;
}

/* ══════════════════════════════════════════════════════════
  .header
══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 16px 60px 16px 49px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  z-index: 100;
  gap: 70px;
  min-height: 80px;
}

.header__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.header__logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header__menu {
  flex: 1;
  max-width: 925px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__fest-logo {
  display: block;
  width: 155px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.header__menu-extra {
  display: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  width: 130px;
  height: 41px;
  padding: 4px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.language-switcher__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 61px;
  height: 33px;
  border-radius: 13px;
  color: #000;
  font-family: "YS Text", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 23px;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.language-switcher__option:hover {
  background: rgba(255, 255, 255, 0.55);
}

.language-switcher__option:focus-visible {
  outline: 2px solid #00068a;
  outline-offset: 2px;
}

.language-switcher__option_active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.header__burger {
  all: unset;
  display: none;
}

.nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.023em;
  color: #201c1c;
}

.nav__link {
  color: currentColor;
  text-decoration: none;
}

.fest-page .header {
  top: 22px;
  height: 81px;
  min-height: 0;
  padding: 0 23px 0 49px;
  box-sizing: border-box;
  gap: 35px;
}

.fest-page .header__logo {
  height: 36px;
}

.fest-page .header__menu {
  max-width: 582px;
  margin-left: auto;
}

.fest-page .nav {
  flex-wrap: nowrap;
  gap: 32px;
  margin-right: 40px;
}

@media (max-width: 1280px) {
  .fest-page .header {
    gap: 24px;
    padding-left: 32px;
  }

  .fest-page .nav {
    gap: 20px;
  }
}

@media (max-width: 1100px) {
  .fest-page .header {
    top: 17px;
    left: 15px;
    right: 15px;
    height: 64px;
    min-height: 0;
    padding: 7px 16px 7px 18px;
    gap: 12px;
  }

  .fest-page .header__logo {
    height: 40px;
  }

  .fest-page .header__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    max-width: none;
    height: calc(100dvh - 91px);
    margin-left: 0;
    padding: 24px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.35s ease, opacity 0s linear 0.35s;
  }

  .fest-page .header__menu.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition: transform 0.35s ease;
  }

  .fest-page .nav {
    flex-flow: column nowrap;
    align-items: stretch;
    gap: 4px;
    margin-right: 0;
  }

  .fest-page .nav__item {
    width: 100%;
  }

  .fest-page .nav__link {
    display: block;
    padding: 12px 8px;
    font-size: 18px;
  }

  .fest-page .header__menu-extra {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 24px;
    padding: 24px 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .fest-page .header__menu-fest-logo {
    width: 155px;
    height: auto;
  }

  .fest-page .header__actions > .language-switcher,
  .fest-page .header > .header__fest-logo {
    display: none;
  }

  .fest-page .burger {
    all: unset;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    gap: 4px;
  }

  .fest-page .burger::before,
  .fest-page .burger::after {
    display: block;
    content: '';
    width: 26px;
    height: 3px;
    background-color: #00068a;
    flex-shrink: 0;
    transition: 0.3s ease-out;
    transform-origin: center;
  }

  .fest-page .burger__content {
    width: 26px;
    height: 3px;
    background-color: #00068a;
    flex-shrink: 0;
  }

  .fest-page .header__menu.active + .header__actions .burger .burger__content {
    opacity: 0;
  }

  .fest-page .header__menu.active + .header__actions .burger::before {
    transform: translateY(7px) rotate(45deg);
  }

  .fest-page .header__menu.active + .header__actions .burger::after {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 1024px) {
  .header {
    padding: 20px 28px 20px 18px;
    top: 17px;
    left: 15px;
    right: 15px;
    gap: 24px;
  }

  .fest-page .header {
    top: 17px;
    height: 64px;
    min-height: 0;
    padding: 7px 16px 7px 18px;
    gap: 12px;
  }

  .fest-page .header__logo {
    height: 40px;
  }

  .header__logo,
  .header__fest-logo {
    height: 32px;
  }

  .nav {
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .header {
    padding: 9px 16px;
    gap: 12px;
  }

  .fest-page .header {
    height: 64px;
    min-height: 0;
    padding: 7px 16px 7px 18px;
    gap: 12px;
  }

  .fest-page .header__logo {
    height: 40px;
  }

  .fest-page .header__menu {
    max-width: none;
    margin-left: 0;
  }

  .header__actions {
    gap: 8px;
  }

  .language-switcher {
    width: 98px;
    height: 36px;
    padding: 3px;
    border-radius: 13px;
  }

  .language-switcher__option {
    width: 46px;
    height: 30px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 20px;
  }

  .header__logo {
    height: 40px;
  }

  .header__fest-logo {
    display: none;
  }

  .header__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background-color: #fff;
    opacity: 0;
    pointer-events: none;
    border-radius: 16px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 16px 0;
    box-sizing: border-box;
    overflow: auto;
    height: calc(100vh - 17px - 10px - 80px);
    height: calc(100dvh - 17px - 10px - 80px);
    transition: transform 0.5s ease-in, opacity 0s ease-in 0.5s;
    transform: translate3d(100%, 0, 0);
  }

  .header__menu.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s ease-in;
  }

  .nav {
    flex-flow: column nowrap;
    justify-content: start;
    align-items: start;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    padding: 8px 16px;
  }

  .burger {
    all: unset;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    gap: 4px;
  }

  .burger::before,
  .burger::after {
    display: block;
    content: '';
    width: 26px;
    height: 3px;
    background-color: #00068a;
    flex-shrink: 0;
    transition: 0.3s ease-out;
    transform-origin: center;
  }

  .burger__content {
    width: 26px;
    height: 3px;
    background-color: #00068a;
    flex-shrink: 0;
  }

  .header__menu.active + .header__actions .burger .burger__content {
    opacity: 0;
    /* Скрываем среднюю полоску */
  }

  .header__menu.active + .header__actions .burger::before {
    transform: translateY(7px) rotate(45deg);
  }

  .header__menu.active + .header__actions .burger::after {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 360px) {
  .header,
  .fest-page .header {
    padding-inline: 10px;
  }

  .fest-page .header__logo {
    height: 25px;
  }

  .header__logo {
    height: 25px;
  }

  .header__actions {
    gap: 4px;
  }

  .language-switcher {
    width: 86px;
  }

  .language-switcher__option {
    width: 40px;
  }
}

.btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  background-color: #00068a;
  box-sizing: border-box;
  color: #ffffff;
}

.btn:hover {
  background-color: #020abc;
}

.btn:active {
  background-color: #020abcdd;
}

.btn:disabled {
  background: #a9a9a9;
  cursor: not-allowed;
}

.btn_bordered {
  background-color: transparent;
  border: 1px solid #9f9f9f;
  color: #000000;
}

.btn_bordered:hover {
  background-color: #f6f6fa;
}

.btn_bordered:active {
  background-color: #00000033;
}

.btn_white {
  background-color: #fff;
  color: #000000;
}

.btn_white:hover {
  background-color: #f6f6fa;
}

.btn_white:active {
  background-color: rgba(255, 255, 255, 0.8);
}

/* ══════════════════════════════════════════════════════════
  .hero
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 120px 24px 21px;
  height: clamp(560px, calc(100vh - 140px), 920px);
  height: clamp(560px, calc(100dvh - 140px), 920px);
  display: grid;
  grid-template-columns: 365px 1fr 222px;
  grid-template-areas: 'side1 . side2';
  grid-template-rows: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 0 0 44px 44px;
  z-index: 2;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 300px 1fr 200px;
  }
}

@media (max-width: 767px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: stretch;
    gap: 15px;
    padding: 0;
    /* padding: 122px 14px 23px; */
    height: auto;
    /* height: clamp(520px, calc(100vh - 110px), 760px);
    height: clamp(520px, calc(100dvh - 110px), 760px); */
  }
}

/* ══════════════════════════════════════════════════════════
   КАРТА
══════════════════════════════════════════════════════════ */
#map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e8eef3;
  min-width: 0;
}

@media (max-width: 767px) {
  #map {
    position: static;
    height: calc(60vh + 120px);
    height: calc(60dvh + 120px);
    margin-block-end: -120px;
  }
}

/* Обесцвечиваем только слой тайлов (подложку карты),
   чтобы наши фото-метки и иконки оставались цветными. */
#map .ymaps-2-1-79-map-copyrights-promo,
#map ymaps[class*="ground-pane"] {
  filter: grayscale(1) saturate(0) contrast(0.95) brightness(1.03);
}

/* На случай иной версии классов ymaps — целимся в контейнер тайлов. */
#map ymaps[class$="-ground-pane"],
#map ymaps[class*="-ground-pane"] {
  filter: grayscale(1) saturate(0) contrast(0.95) brightness(1.03);
}

/* ── Карточка выбранного fest-участника поверх карты ──── */
.fest-map-popup[hidden] {
  display: none;
}

.fest-map-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 298px;
  padding-top: 29px;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  transition: left 0.08s linear, top 0.08s linear;
}

.fest-map-popup__card {
  position: relative;
  width: 264px;
  min-height: 433px;
  box-sizing: border-box;
  padding: 9px 10px 13px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
}

.fest-map-popup__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  color: #888;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
}

.fest-map-popup__close span {
  transform: translateY(-2px);
}

.fest-map-popup__image {
  display: block;
  width: 244px;
  height: 365px;
  object-fit: cover;
  object-position: center;
}

.participant-share {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.participant-share:hover {
  transform: scale(1.08);
}

.participant-share:focus-visible {
  outline: 2px solid #00068a;
  outline-offset: 2px;
}

.participant-share svg {
  display: block;
  width: 27px;
  height: 27px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.participant-share_map {
  top: 15px;
  right: 16px;
}

.fest-map-popup__description {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 36px;
  padding-top: 9px;
  padding-right: 48px;
}

.fest-map-popup__name,
.fest-map-popup__city {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fest-map-popup__name {
  font-size: 13px;
  line-height: 19px;
}

.fest-map-popup__city {
  color: #afafaf;
  font-size: 12px;
  line-height: 16px;
}

.fest-map-popup__like {
  position: absolute;
  right: 10px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0 4px 6px;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
}

.fest-map-popup__like:disabled {
  cursor: default;
}

.fest-map-popup__like-count {
  font-family: Martian Mono, monospace;
  font-size: 12px;
  line-height: 13px;
}

.fest-map-popup__like-icon {
  width: 16px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.15s ease, fill 0.15s ease;
}

.fest-map-popup__like:hover:not(:disabled) .fest-map-popup__like-icon {
  transform: scale(1.12);
}

.fest-map-popup__like.is-liked {
  color: #00068a;
}

.fest-map-popup__like.is-liked .fest-map-popup__like-icon {
  fill: currentColor;
}

@media (max-width: 767px) {
  .fest-map-popup {
    position: absolute;
    width: 280px;
  }

  .fest-map-popup__card {
    width: 250px;
    min-height: 407px;
  }

  .fest-map-popup__image {
    width: 230px;
    height: 345px;
  }
}

/* ── Круглая фото-метка семьи ─────────────────────────── */
.family-marker {
  position: absolute;
  left: -26px;
  top: -26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #00068a;
  border: none;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease-out, border 0.15s ease-out;
}

[class*="placemark-overlay"]:hover .family-marker,
.family-marker:hover {
  transform: scale(1.1);
}

.family-marker__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.family-marker--selected {
  border: 3px solid #00068a;
  width: 64px;
  height: 64px;
  left: -32px;
  top: -32px;
}

/* ── Бейдж «+N» ещё семей в этом городе ───────────────── */
.city-badge {
  position: absolute;
  left: -15px;
  top: -15px;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 15px;
  background: #00068a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  font-family: Inter, Arial, Helvetica, sans-serif;
  transition: transform 0.15s ease-in;
}

.city-badge:hover {
  transform: scale(1.1);
}

/* hint */
.map-hint {
  position: absolute;
  transform: translate3d(-50%, -100%, 0);
  box-sizing: border-box;
  background: #fff;
  border-radius: 14.4px;
  max-width: 212px;
  min-width: 50px;
  text-align: center;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  color: #4d4d4d;
  box-shadow: 0px 0px 4.8px 0px #0000001A;
}

.map-hint::before {
  position: absolute;
  display: block;
  content: '';
  background-image: url("data:image/svg+xml, %3Csvg viewBox='0 0 29 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.4008 9.60156L13.894 8.58807C13.5917 7.98343 13.4406 7.68112 13.2882 7.40692C10.857 3.03195 6.32851 0.233178 1.32817 0.0152225C1.01478 0.00156212 0.676777 0.00156212 0.000780106 0.00156212L28.8008 0.00156212C28.1248 0.00156212 27.7868 0.00156212 27.4734 0.0152225C22.473 0.233178 17.9445 3.03195 15.5134 7.40692C15.361 7.68112 15.2098 7.98343 14.9075 8.58807L14.4008 9.60156Z' fill='white'/%3E%3C/svg%3E%0A");
  width: 29px;
  height: 10px;
  top: 100%;
  left: 50%;
  transform: translate3d(-50%, -1px, 0);
  z-index: 2;
  filter: drop-shadow(0 0 4.8 #0000001A);
}

.map-hint__content {
  background-color: #fff;
  border-radius: 14.4px;
  max-height: 100px;
  width: 100%;
  padding: 9px;
  z-index: 3;
}

.map-hint_memory {
  max-width: 280px;
  min-width: 80px;
  width: max-content;
  text-align: left;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 135%;
  color: #1c1b1f;
}

.map-hint_memory .map-hint__content {
  max-height: none;
  padding: 10px;
}

.memory-point-popup {
  max-width: 260px;
  color: #1c1b1f;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* ══════════════════════════════════════════════════════════
   ЛЕВАЯ ПАНЕЛЬ — ФОРМА-ВИЗАРД
══════════════════════════════════════════════════════════ */
.navigation-panel {
  grid-area: side2;
  display: flex;
  flex-flow: row nowrap;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
  pointer-events: none;
}

.map-controls {
  position: absolute;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: end;
  align-items: end;
  gap: 10px;
}

.zoom-btn {
  all: unset;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  grid-template-areas: 'center';
  align-items: center;
  justify-items: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0px 4.06px 4.06px 0px #00000040;
}

.zoom-btn::before {
  grid-area: center;
  display: block;
  content: '';
  width: 20px;
  height: 2px;
  background-color: #201c1c;
}

.zoom-btn_in::after {
  grid-area: center;
  display: block;
  content: '';
  width: 2px;
  height: 20px;
  background-color: #201c1c;
}

.sidebar-toggle {
  all: unset;
  display: none;
  width: 63px;
  height: 63px;
  border-radius: 50%;
  box-shadow: 0px 4.06px 4.06px 0px #00000040;
  background-color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  pointer-events: auto;
}

.sidebar-toggle svg {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
}

.sidebar__header {
  display: none;
}

@media (max-width: 767px) {
  .sidebar__header {
    position: sticky;
    display: block;
    top: 0;
    width: 100%;
    height: 0;
    margin-block-end: -38px;
  }

  .sidebar__close {
    position: absolute;
    top: -14px;
    right: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #ccc;
    border-radius: 50%;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    transition: all 0.15s ease-out;
    flex-shrink: 0;
  }

  .sidebar-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navigation-panel {
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }

  .map-controls {
    top: 122px;
    right: 14px;
    bottom: auto;
  }
}

.form-panel {
  grid-column: 1 / 2;
  grid-area: side1;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: end;
  align-items: start;
  pointer-events: none;
  /* slide-in animation */
  /* transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  order: -1; */
  z-index: 2;
}

@media (max-width: 767px) {
  .form-panel {
    justify-content: end;
  }
}


/* ── Экраны шагов ─────────────────────────────────────── */
.wizard-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  pointer-events: none;
  max-height: 100%;
}

.wizard-screen#screen-2 {
  height: 100%;
  justify-content: start;
  overflow: hidden;
  width: 100%;
  background-color: #fff;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 16px;
  box-sizing: border-box;
}

.wizard-screen[hidden],
.wizard-screen.is-hidden {
  display: none;
}

@media (max-width: 767px) {
  .wizard-screen {
    justify-content: end;
    gap: 15px;
    height: 100%;
  }
}

/* ══════════════════════════════════════════════════════════
   ШАГ 1 — ПРИВЕТСТВИЕ
══════════════════════════════════════════════════════════ */
.welcome-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 27px 24px;
  text-align: center;
  pointer-events: auto;
  gap: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 4px 4px 0px #00000040;
  overflow: hidden;
  max-width: 100%;
}

.welcome-screen__content {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: center;
  gap: 20px;
  overflow-y: auto;
  margin: auto 0;
}

.welcome-screen__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 120%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

.welcome-screen__text {
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.01em;
  text-align: center;
}

.welcome-screen__text p:not(:last-child) {
  margin-bottom: 1.4em;
}

.welcome-screen__button {
  width: 100%;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .welcome-screen {
    flex: none;
    padding: 34px 25px;
    scroll-padding-block: 34px;
    max-height: calc(100% - 30vh);
  }

  .welcome-screen__content {
    justify-content: start;
    gap: 26px;
  }
}

@media (max-width: 360px) {
  .welcome-screen {
    padding: 24px 15px;
  }

  .welcome-screen__content {
    gap: 20px;
  }

  .welcome-screen__title {
    font-size: 25px;
  }

  .welcome-screen__text {
    font-size: 14px;
  }
}

/* ══════════════════════════════════════════════════════════
   ШАГ 2, 3 — ТЕЛО ШАГА
══════════════════════════════════════════════════════════ */


.wizard-screen__body {
  padding: 33px 27px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 100%;
  overflow-y: auto;
  width: 100%;
  scroll-padding-block: 33px;
  box-sizing: border-box;
  pointer-events: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wizard-screen__body::-webkit-scrollbar {
  display: none;
}

.wizard-screen__header {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.wizard-screen__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
}

.wizard-screen__text {
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.step {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: stretch;
  padding-bottom: 80px;
  box-sizing: border-box;
  gap: 20px;
}

.step.is-hidden {
  display: none;
}

.step__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 170%;
  text-align: center;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
}

/* ── Кнопки навигации ─────────────────────────────────── */
.step__buttons {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: stretch;
  margin: 0;
  box-sizing: border-box;
  padding: 16px 27px;
  background-color: #fff;
  gap: 8px 16px;
  border-radius: 0 0 16px 16px;
}

.step__btn {
  flex: 1;
}

.step__btn_back {
  display: none;
}

@media (max-width: 767px) {
  .step__btn_back {
    display: flex;
  }
}


/* ── Ошибки шага ──────────────────────────────────────── */
.step__error {
  box-sizing: border-box;
  min-width: 100%;
  font-size: 10px;
  line-height: 100%;
  color: #c62828;
  width: 100%;
}

/* ── Загрузка фото ────────────────────────────────────── */
.photo-upload {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.photo-upload__placeholder {
  border-radius: 8px;
  border: 1px solid #d3d3d3;
  background: #f4f4f4;
  height: 198px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-align: center;
  padding: 24px;
  color: #8b8b8b;
  font-size: 16px;
  line-height: 120%;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  box-sizing: border-box;
}

.photo-upload__placeholder:hover {
  border-color: #000;
}

.photo-upload__placeholder:active {
  border-color: #000;
}

.photo-upload__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.photo-upload__icon svg {
  width: 100%;
  height: 100%;
}

.photo-upload__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 170%;
  text-align: center;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  color: #000000;
}

.photo-upload__hint {
  font-size: 14px;
}

.photo-upload__preview {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.photo-upload__placeholder.is-hidden,
.photo-upload__preview.is-hidden {
  display: none;
}

.photo-upload__image {
  width: 100%;
  min-height: 198px;
  aspect-ratio: 250 / 200;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.photo-upload__remove {
  position: absolute;
  top: 5px;
  right: 5px;
  color: #fff;
  background: #7d7d7d;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  line-height: 0.2;
  transition: background 0.25s ease-in;
}

@media (any-hover: hover) {
  .photo-upload__remove:hover {
    background-color: #ddd;
  }
}

.photo-upload__remove:hover {
  background-color: #ccc;
}

/* ── Поля формы ───────────────────────────────────────── */
.input {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: stretch;
  gap: 7px;
}

.input__label {
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  color: #9f9f9f;
}

.input__note {
  display: block;
  font-size: 12px;
  margin-top: -4px;
  opacity: 0.8;
}

.input__field {
  all: unset;
  width: 100%;
  padding: 15px 24px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  font-size: 16px;
  line-height: 120%;
  font-weight: 400;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  transition: border-color 0.2s;
  background: #f4f4f4;
  color: #000;
  box-sizing: border-box;
  cursor: text;
  min-height: 51px;
}

.input__field::placeholder {
  color: #000;
  opacity: 0.3;
}

.input__field:hover {
  outline: none;
  border-color: #000;
}

.input__field:focus {
  outline: none;
  border-color: #000;
}

.agreement {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: start;
  gap: 24px;
}

.agreement__text {
  font-size: 16px;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  line-height: 120%;
  font-weight: 400;
  color: #9f9f9f;
}

.agreement__text p {
  margin: 0;
}

.agreement__text p:not(:last-child) {
  margin-block-end: 8px;
}

.agreement__notes {
  font-size: 12px;
  line-height: 120%;
  color: #9f9f9f;
}

:is(.agreement__text, .agreement__notes) a {
  color: currentColor;
  text-decoration: underline;
  transition: all 0.15s ease-in;
}

:is(.agreement__text, .agreement__notes) a:hover {
  text-decoration: none;
}

:is(.agreement__text, .agreement__notes) a:active {
  color: #000;
}

:is(.agreement__text, .agreement__notes) a:visited {
  color: #00068a;
}

.agreement__checkbox {
  padding: 5px 0;
}

.checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

.checkbox__label {
  display: flex;
  flex-flow: row nowrap;
  justify-content: start;
  align-items: flex-start;
  font-size: 12px;
  line-height: 120%;
  font-weight: 400;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  color: #9f9f9f;
  gap: 8px;
}

.checkbox__label-text a {
  color: #00068a;
  text-decoration: underline;
  transition: text-decoration 0.15s ease-in;
}

.checkbox__label-text a:hover {
  text-decoration: none;
}

.checkbox__box {
  display: block;
  background-image: url("data:image/svg+xml, %3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.70711 11.2929C8.31658 10.9024 7.68342 10.9024 7.29289 11.2929C6.90237 11.6834 6.90237 12.3166 7.29289 12.7071L10.2929 15.7071C10.6834 16.0976 11.3166 16.0976 11.7071 15.7071L17.7071 9.70711C18.0976 9.31658 18.0976 8.68342 17.7071 8.29289C17.3166 7.90237 16.6834 7.90237 16.2929 8.29289L11 13.5858L8.70711 11.2929Z' fill='white'/%3E%3C/svg%3E%0A");
  width: 20px;
  height: 20px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px #eb5547;
  flex-shrink: 0;
  background-color: transparent;
  background-size: 24px;
  background-position: 0 24px;
  background-repeat: no-repeat;
  content: '';
  transition: all 0.15s ease-in;
  cursor: pointer;
}

@media (any-hover: hover) {
  .checkbox__box:hover {
    background-color: #eb5547;
  }
}

.checkbox input[type="checkbox"]:checked+.checkbox__label .checkbox__box {
  background-color: #eb5547;
  background-position: center;
}

.checkbox input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

/* ══════════════════════════════════════════════════════════
   ШАГ 3 — ТОЧКИ ПАМЯТИ
══════════════════════════════════════════════════════════ */
.memory-points-list {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 20px;
}

.point-card {
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.point-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  background: #ccc;
  border-radius: 16px;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  line-height: 0.2;
  padding: 0;
  transition: all 0.25s ease-out;
}

@media (any-hover: hover) {
  .point-remove:hover {
    background-color: #bbb;
  }
}

.point-remove:active {
  background-color: #aaa;
}

.select {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: stretch;
  gap: 7px;
}

.select__label {
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  color: #9f9f9f;
}

.select__note {
  display: block;
  font-size: 12px;
  margin-top: -4px;
  opacity: 0.8;
}

.select__field {
  all: unset;
  width: 100%;
  padding: 15px 24px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  font-size: 16px;
  line-height: 120%;
  font-weight: 400;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  transition: border-color 0.2s;
  background: #f4f4f4;
  color: #000;
  box-sizing: border-box;
  cursor: text;
  min-height: 51px;
}

.select__field::placeholder {
  color: #000;
  opacity: 0.3;
}

.select__field:hover {
  outline: none;
  border-color: #000;
}

.select__field:focus {
  outline: none;
  border-color: #000;
}

/* .point-card select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  transition: border-color 0.2s;
} */


/* ── Сообщение формы ──────────────────────────────────── */
.form-message {
  margin-block: -10px;
  padding: 0;
  font-size: 14px;
  border-radius: 8px;
  box-sizing: border-box;
  display: none;
}

.form-message.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 10px 14px;
}

.form-message.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  padding: 10px 14px;
}

/* ══════════════════════════════════════════════════════════
   ПРАВАЯ БОКОВАЯ ПАНЕЛЬ — СТАТИСТИКА
══════════════════════════════════════════════════════════ */
.sidebar {
  grid-area: side2;
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  max-height: 292px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2.413px 2.413px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 20px;
  scroll-padding-block: 18px;
  z-index: 2;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar__section {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: center;
  gap: 14px;
}

.sidebar__title {
  text-align: center;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 20px;
  line-height: 120%;
  font-weight: 800;
  box-sizing: border-box;
}

.sidebar__statistics {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: start;
  width: 100%;
  gap: 16px;
}

@media (max-width: 767px) {
  .sidebar {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 100%, 0);
    position: fixed;
    inset: 122px 14px 25px;
    width: auto;
    height: auto;
    max-height: none;
    transition: transform 0.5s ease-in, opacity 0s ease-in 0.5s;
    gap: 38px;
    padding: 24px 30px;
    scroll-padding-block: 24px;
    z-index: 3;
  }

  .sidebar.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s ease-in;
  }

  .sidebar__section {
    gap: 16px;
  }
}

/* ── Статистика ───────────────────────────────────────── */
.stat {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex: 1;
  padding: 8px 15px;
  border: 1px solid #989898;
  border-radius: 100px;
  min-height: 40px;
  gap: 15px;
  box-sizing: border-box;
}

.stat__value {
  display: block;
  font-size: 11px;
  line-height: 140%;
  letter-spacing: -0.02em;
  font-weight: 500;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.stat__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-family: Martian Mono, Inter, Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 140%;
}

/* ── Топ городов ──────────────────────────────────────── */
.cities-list {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: stretch;
  gap: 10px;
  margin: 0;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
}

.city {
  display: grid;
  grid-template-columns: 1fr 60px;
  grid-template-areas: 'label value';
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.city__label {
  grid-area: label;
  display: flex;
  flex-flow: column nowrap;
  justify-content: end;
  align-items: start;
  text-wrap: balance;
  overflow-wrap: break-word;
  font-size: 12px;
  line-height: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  gap: 10px;
  flex: 1;
}

.city__label::after {
  display: block;
  content: '';
  width: var(--progress-bar, 0%);
  height: 5px;
  background-color: #49a1ff;
}

.city__count {
  grid-area: value;
  font-size: 11px;
  line-height: 11px;
  letter-spacing: -0.02em;
  font-weight: 500;
  width: 60px;
  flex-shrink: 0;
  align-self: end;
}

/* ── Карточка участника ───────────────────────────────── */
.participant-card {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  flex-shrink: 0;
}

.participant-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #c00;
  margin-bottom: 10px;
}

.participant-card h2 {
  font-size: 17px;
  font-weight: 700;
}

.card-origin {
  font-size: 13px;
  color: #888;
  margin: 4px 0 12px;
}

.card-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-point {
  background: #faf5f5;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
}

.card-point__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c00;
  margin-right: 6px;
}

.card-point__place {
  font-weight: 600;
}

.card-point__relation {
  color: #666;
  display: block;
  margin-top: 2px;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #ccc;
  line-height: 1;
  transition: color 0.15s;
}

.close-btn:hover {
  color: #333;
}

/* ══════════════════════════════════════════════════════════
   АВТОДОПОЛНЕНИЕ ГОРОДА
══════════════════════════════════════════════════════════ */
.city-suggest-dropdown {
  position: fixed;
  z-index: 9999;
  background: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  box-shadow: 0 4px 4px #00000040;
  max-height: 220px;
  overflow-y: auto;
  min-width: 200px;
  font-family: YS Text, Arial, Helvetica, sans-serif;
}

.city-suggest-item {
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
  color: #000;
  line-height: 120%;
}

.city-suggest-item:hover,
.city-suggest-item.is-active {
  background: #f3f3f3;
  color: #00068a;
}

.city-suggest-item__sub {
  font-size: 10px;
  color: #9f9f9f;
  display: block;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════ */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  align-items: center;
}

.toast {
  background: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  max-width: 360px;
  pointer-events: auto;
}

.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  background: #27ae60;
}

.toast--error {
  background: #c0392b;
}

.toast--info {
  background: #2980b9;
}

/* ══════════════════════════════════════════════════════════
   ВЫБОР ШАБЛОНА ПОСТЕРА
══════════════════════════════════════════════════════════ */
.poster-option {
  all: unset;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 6px;
  background: #fff;
  width: 100%;
  border-radius: 6px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  isolation: isolate;
}

.poster-option__preview {
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 52.5%;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px #cdcdcd;
  transition: box-shadow 0.25s ease-in;
}

.poster-option:hover .poster-option__preview {
  box-shadow: inset 0 0 0 4px #cdcdcd;
}

.poster-option.is-selected .poster-option__preview {
  box-shadow: inset 0 0 0 4px #00068a;
}

.poster-option__preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: -1;
}

/* ══════════════════════════════════════════════════════════
   МОДАЛКА ПОСТЕРА
══════════════════════════════════════════════════════════ */
.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 70px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in;
}

@media (max-width: 1024px) {
  .poster-modal {
    padding: 60px 24px 60px;
  }
}

@media (max-width: 767px) {
  .poster-modal {
    padding: 72px 14px 24px;
  }
}

.poster-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.poster-modal__overlay {
  position: absolute;
  inset: 0;
  background: #00011366;
}

.poster-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column nowrap;
  gap: 35px;
  width: 100%;
  max-width: 944px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 4px 4px 0px #00000040;
  box-sizing: border-box;
  animation: poster-modal-in 0.2s ease;
  isolation: isolate;
}

.poster-modal__scroll-wrapper {
  display: flex;
  flex-flow: column nowrap;
  gap: 35px;
  justify-content: start;
  align-items: stretch;
  padding: 40px 36px;
  scroll-padding-block: 40px;
  box-sizing: border-box;
  width: 100%;
  overflow-y: auto;
}

@keyframes poster-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.poster-modal__close {
  all: unset;
  position: absolute;
  top: 21px;
  right: 10px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(230, 230, 230, 0.4);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 2;
}

.poster-modal__close svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

@media (any-hover: hover) {
  .poster-modal__close:hover {
    background-color: rgba(210, 210, 210, 0.4);
  }
}

.poster-modal__close:active {
  background-color: rgba(200, 200, 200, 0.4);
}

@media (max-width: 1024px) {
  .poster-modal__scroll-wrapper {
    padding: 40px 28px;
  }

  .poster-modal__close {
    width: 50px;
    height: 50px;
    top: 13px;
  }

  .poster-modal__close svg {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 767px) {
  .poster-modal__dialog {
    max-height: calc(100vh - 100px);
    border-radius: 40px;
  }

  .poster-modal__scroll-wrapper {
    padding: 50px 26px;
    gap: 50px;
  }
}

.poster-modal__title {
  margin: 0;
  padding: 0;
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
  line-height: 90%;
  font-weight: 800;
  color: #00068a;
  letter-spacing: -0.02em;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
}

.poster-modal__content {
  display: grid;
  grid-template-columns: 1fr 198px;
  grid-template-areas: 'main side' 'buttons side';
  gap: 16px;
}

.poster-modal__main {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: stretch;
  gap: 9px;
  grid-area: main;
}

.poster-modal__side {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: stretch;
  gap: 9px;
  grid-area: side;
}

.poster-modal__actions {
  grid-area: buttons;
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
}

.poster-modal__templates {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: stretch;
  gap: 15px;
  max-height: 100%;
  overflow: auto;
}

@media (max-width: 1024px) {
  .poster-modal__content {
    grid-template-columns: 1fr 168px;
  }

  .poster-modal__actions {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .poster-modal__title {
    margin: 0 -10px;
    width: calc(100% + 20px);
    text-wrap: balance;
  }

  .poster-modal__content {
    grid-template-columns: 100%;
    grid-template-areas: 'main' 'side' 'buttons';
    gap: 7px;
  }

  .poster-modal__templates {
    flex-flow: row nowrap;
    max-height: none;
    max-width: 100%;
    gap: 7px;
  }

  .poster-modal__actions {
    padding-top: 68px;
    flex-flow: column nowrap;
    gap: 10px;
  }

  .poster-option {
    width: 178px;
    flex-shrink: 0;
  }
}

@media (max-width: 400px) {
  .poster-option {
    width: 128px;
  }
}

.poster-modal__label {
  margin: 0;
  padding: 0;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 180%;
  color: #000000;
  letter-spacing: -0.02em;
  font-weight: 800;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
}

.poster-modal__preview {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f3f3;
  border: 1px solid #b7b7b7;
}

.poster-modal__image {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  display: block;
}

.poster-modal__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
}

.poster-modal__loader[hidden] {
  display: none;
}

.poster-modal__spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #d4d8ff;
  border-top-color: #00068a;
  border-radius: 50%;
  animation: poster-modal-spin 0.8s linear infinite;
}

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

.poster-modal__btn {
  flex: 0 1 220px;
}

.poster-share-field {
  flex: 1 1 410px;
  min-width: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px 0 23px;
  border: 1px solid #9c9c9c;
  border-radius: 12px;
  background-color: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.poster-share-field__input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #000000;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-share-field__copy {
  all: unset;
  min-height: 30px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 10px;
  background-color: #00068a;
  color: #ffffff;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.poster-share-field__copy:hover {
  background-color: #020abc;
}

.poster-share-field__copy:active {
  transform: translateY(1px);
}

@media (max-width: 767px) {
  .poster-modal__label {
    text-align: center;
  }

  .poster-modal__preview {
    border-radius: 9px;
  }

  .poster-modal__btn {
    flex: none;
    width: 100%;
  }

  .poster-share-field {
    width: 100%;
    min-height: 56px;
    flex: none;
    gap: 8px;
    padding: 0 6px 0 16px;
  }

  .poster-share-field__copy {
    min-height: 44px;
    padding: 0 16px;
  }
}

.container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: stretch;
  gap: 50px;
  max-width: 1286px;
  padding: 0 24px;
  box-sizing: border-box;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 767px) {
  .container {
    padding: 0 14px;
  }
}

.section {
  position: relative;
  width: 100%;
  padding: 90px 0;
  box-sizing: border-box;
  z-index: 2;
  background-color: #ffffff;
}

.section__header {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.section__title {
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  font-size: 50px;
  line-height: 132%;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #00068a;
}

.section__text {
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.01em;
  max-width: 580px;
  text-align: center;
}

.section__text.fest__about__text {
  max-width: 945px;
}

.section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 930px;
  margin: 0 auto;
}

.section__subtitle {
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  font-size: 32px;
  line-height: 106%;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section__column {
  display: flex;
  flex-flow: column nowrap;
  justify-content: start;
  align-items: start;
  gap: 24px;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.section__button {
  align-self: center;
}

.about-banner {
  position: relative;
  width: min(100%, 900px);
  height: 120px;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: #fff url('./assets/banner/bg_desktop.jpg') center / cover no-repeat;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.about-banner__title {
  position: absolute;
  z-index: 2;
  bottom: 21px;
  left: 54px;
  display: block;
  width: 222px;
  height: 34px;
}

.about-banner__faces {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 228px;
  display: block;
  width: 256px;
  height: 120px;
  object-fit: contain;
  object-position: center bottom;
}

.about-banner__button {
  position: absolute;
  z-index: 1;
  top: 33px;
  right: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  min-height: 56px;
  padding: 18px 16px;
  border-radius: 12px;
  background-color: #ffb300;
  color: #fff;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.about-banner:hover .about-banner__button {
  background-color: #f3a900;
}

.about-banner:active .about-banner__button {
  background-color: #dd9900;
}

.about-banner:focus-visible {
  outline: 3px solid #ffb300;
  outline-offset: 3px;
}

.fest-about-banner {
  background: #fff url('./assets/banner/fest-bg.jpg') center / cover no-repeat;
}

.fest-about-banner::after {
  top: 89px;
  left: 285px;
  width: 62px;
  height: 62px;
  background-color: rgba(0, 6, 138, 0.8);
}

.fest-about-banner__title {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 52px;
  display: flex;
  width: 227px;
  height: 57px;
  align-items: center;
  color: #00068a;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  pointer-events: none;
}

.fest-about-banner__photo {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 261px;
  width: 243px;
  height: 162px;
  background: transparent url('./assets/banner/fest-photo.png') center top / contain no-repeat;
  pointer-events: none;
}

.fest-about-banner__button {
  z-index: 3;
  background-color: #00068a;
}

.fest-about-banner:hover .fest-about-banner__button {
  background-color: #020abc;
}

.fest-about-banner:active .fest-about-banner__button {
  background-color: rgba(2, 10, 188, 0.87);
}

.section_about {
  padding: 134px 0 90px;
  background-image: url('./assets/images/about.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #00068a;
  color: #fff;
  margin-top: -44px;
  z-index: 1;
}

.section_about .section__title {
  color: #fff;
}

.section_faq {
  border-radius: 0 0 44px 44px;
}

@media (max-width: 1024px) {
  .section__grid {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .section__title {
    font-size: 40px;
  }

  .section__grid {
    grid-template-columns: 100%;
  }

  .about-banner__title {
    left: 24px;
    width: 180px;
    height: auto;
  }

  .about-banner__faces {
    right: 166px;
    left: auto;
    width: 240px;
  }

  .about-banner__button {
    right: 18px;
    width: 148px;
  }
}

@media (max-width: 767px) {
  .fest-about-banner__title {
    left: 24px;
    width: 185px;
  }

  .fest-about-banner__photo {
    right: 166px;
    left: auto;
  }
}

@media (max-width: 600px) {
  .about-banner {
    height: 120px;
    background-image: url('./assets/banner/bg_mobile.jpg');
    background-position: center;
    background-size: cover;
  }

  .about-banner__title {
    top: 9px;
    bottom: auto;
    left: 16px;
    width: 126px;
    height: 101px;
  }

  .about-banner__title img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .about-banner__faces {
    right: -20px;
  }

  .about-banner__button {
    display: none;
  }

  .fest-about-banner {
    background-color: #fff;
    background-image: url('./assets/banner/fest-bg.jpg');
  }

  .fest-about-banner__photo {
    right: -40px;
  }
}

@media (max-width: 350px) {
  .about-banner__title {
    left: 10px;
  }

  .about-banner__button {
    right: 10px;
    width: 128px;
  }
}

.gallery {
  width: 100%;
  overflow: hidden;
}

.gallery__navigation {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 24px;
  gap: 8px;
}

.gallery__btn {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: #f6f6fa;
  color: #000;
  transition: opacity 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.gallery__btn-icon :where(path, svg) {
  fill: currentColor;
}

.gallery__btn:hover {
  background-color: #00068a;
  color: #fff;
}

.gallery__btn:active {
  background-color: #020abc;
  color: #fff;
}

.gallery__btn-icon {
  flex-shrink: 0;
  width: 20px !important;
  height: 20px !important;
  transform-origin: center;
  pointer-events: none;
}

.gallery__btn.swiper-button-disabled {
  opacity: 50%;
}

.gallery__btn_prev .gallery__btn-icon {
  transform: rotate(180deg);
}

.terms-page {
  min-height: 100%;
  background: #f6f6fa;
}

.terms {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
  color: #201c1c;
}

.terms__back {
  display: inline-flex;
  margin-bottom: 32px;
  color: #00068a;
  font-family: YS Text, Arial, Helvetica, sans-serif;
  text-decoration: underline;
}

.terms__title {
  margin-bottom: 16px;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 106%;
  font-weight: 800;
  text-transform: uppercase;
}

.terms__lead {
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 140%;
  color: #555;
}

.terms__section {
  padding: 24px 0;
  border-top: 1px solid #d3d3d3;
}

.terms__section h2 {
  margin-bottom: 12px;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 120%;
  text-transform: uppercase;
}

.terms__section p {
  font-size: 18px;
  line-height: 150%;
}

.terms__section p+p,
.terms__section p+.terms__list,
.terms__list+p {
  margin-top: 12px;
}

.terms__list {
  margin: 0;
  padding-left: 28px;
  font-size: 18px;
  line-height: 150%;
}

.swiper-navigation-icon {
  display: none;
}

.card {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #000;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card__image {
  width: 100%;
  aspect-ratio: 294 / 441;
  object-fit: cover;
  object-position: center;
}

.participant-share_card {
  top: 8px;
  right: 8px;
}

.card__description {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-height: 54px;
  box-sizing: border-box;
  padding: 10px 72px 8px 0;
}

.card__name,
.card__city {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card__city {
  color: #afafaf;
  font-size: 14px;
}

.card__like {
  position: absolute;
  right: 0;
  bottom: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 58px;
  padding: 5px 0 5px 8px;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
}

.card__like:disabled {
  cursor: default;
}

.card__like-count {
  font-family: Martian Mono, monospace;
  font-size: 15px;
  line-height: 1;
}

.card__like-icon {
  width: 16px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.15s ease, fill 0.15s ease, color 0.15s ease;
}

.card__like:hover:not(:disabled) .card__like-icon {
  transform: scale(1.12);
}

.card__like.is-liked {
  color: #00068a;
}

.card__like.is-liked .card__like-icon {
  fill: currentColor;
}

.faq {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;
  gap: 7px;
  max-width: 856px;
  margin: 0 auto;
  width: 100%;
}

/*! spoiler start */
.spoiler {
  background-color: #f6f6fa;
  border-radius: 40px;
  width: 100%;
  font-family: YS Text, Arial, Helvetica, sans-serif;
}

.spoiler>.spoiler__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  column-gap: 8px;
  padding: 16px 25px;
  min-height: 76px;
  width: 100%;
  cursor: pointer;
  color: #000000;
  box-sizing: border-box;
}

.spoiler>.spoiler__header:hover {
  color: #00068a;
}

.spoiler>.spoiler__header .spoiler__title {
  font-size: 20px;
  line-height: 130%;
  font-weight: 400;
  margin: 0;
}

.spoiler>.spoiler__header .spoiler__arrow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 100%;
  align-items: center;
  justify-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background-color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.spoiler__arrow::before,
.spoiler__arrow::after {
  display: block;
  content: '';
  background-color: currentColor;
  flex-shrink: 0;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.spoiler__arrow::before {
  width: 2px;
  height: 16px;
}

.spoiler__arrow::after {
  width: 16px;
  height: 2px;
}

.spoiler>.spoiler__content {
  padding: 0 25px 25px;
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: start;
  justify-content: start;
  gap: 16px;
  box-sizing: border-box;
}

.spoiler>.spoiler__content p,
.spoiler>.spoiler__content ul {
  font-size: 16px;
  line-height: 145%;
}

.spoiler>.spoiler__content ul {
  margin: 0;
  padding-left: 24px;
}

.spoiler>.spoiler__content a {
  color: #00068a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.spoiler[open]>.spoiler__header .spoiler__arrow {
  transform: rotate(45deg);
}

/*! spoiler end */

.footer {
  position: relative;
  padding: 96px 0 30px;
  box-sizing: border-box;
  background-color: #000;
  color: rgba(255, 255, 255, 0.72);
  margin-top: -44px;
  z-index: 1;
}

.footer__content {
  gap: 56px;
}

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

.footer__legal-section {
  min-width: 0;
}

.footer__title {
  margin: 0 0 24px;
  color: #ffffff;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 120%;
  text-transform: uppercase;
}

.footer__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-style: normal;
  font-size: 12px;
  line-height: 150%;
  overflow-wrap: anywhere;
}

.footer__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__copyright {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

@media (max-width: 767px) {
  .footer {
    padding: 80px 0 24px;
  }

  .footer__content {
    gap: 40px;
  }

  .footer__legal {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__title {
    margin-bottom: 18px;
    font-size: 20px;
  }
}

/* ── Fest: результат отправки без генерации постера ───────── */
.wizard-screen#screen-3 {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.submission-success {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100%;
  padding: clamp(48px, 11vh, 110px) 27px 34px;
  box-sizing: border-box;
  text-align: center;
}

.submission-success__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: auto 0;
}

.submission-success__title,
.moderation-modal__title {
  margin: 0;
  font-family: Martian Mono, Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 120%;
  letter-spacing: -0.02em;
}

.submission-success__text {
  max-width: 311px;
  margin: 0;
  font-size: 16px;
  line-height: 140%;
}

.submission-success__link {
  max-width: 311px;
  color: #00068a;
  font-size: 14px;
  line-height: 140%;
  overflow-wrap: anywhere;
}

.submission-success__qr {
  display: block;
  width: 148px;
  height: 148px;
  border-radius: 8px;
}

.submission-success__button {
  width: 100%;
  flex-shrink: 0;
}

/* ── Fest: участник по share-ссылке ещё на модерации ─────── */
.moderation-modal[hidden] {
  display: none;
}

.moderation-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.moderation-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.moderation-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(735px, 100%);
  min-height: 363px;
  padding: 72px;
  box-sizing: border-box;
  border-radius: 15px;
  background: #2c349e;
  color: #fff;
  text-align: center;
}

.moderation-modal__close {
  position: absolute;
  top: 22px;
  right: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #888;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 31px;
  line-height: 1;
}

@media (max-width: 767px) {
  .submission-success {
    padding: 42px 25px 34px;
  }

  .submission-success__qr {
    width: 132px;
    height: 132px;
  }

  .moderation-modal__dialog {
    min-height: 300px;
    padding: 64px 28px;
  }

  .moderation-modal__close {
    top: 16px;
    right: 16px;
  }
}