@font-face {
  font-family: "Spar Typeface";
  src: url("assets/fonts/Spar-Typeface-Normal.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Spar Typeface";
  src: url("assets/fonts/Spar-Typeface-Bold.otf") format("opentype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Главные цвета и радиусы кнопок. Менять здесь, если нужно быстро сменить общий стиль. */
  --bg: #a0def7;
  --ink: #2a2e38;
  --button: #2a2e38;
  --button-radius: 37.694px;

  /* JS меняет эти переменные при ресайзе, чтобы колесо попадало в экран. */
  --canvas-scale: 1;
  --pointer-tilt: 0deg;

  /* Адаптивные размеры картинок в прелоадере, стартовом и выигрышном попапах. */
  --preloader-wheel-size: clamp(142px, min(44vw, 30svh), 220px);
  --startup-hero-size: clamp(176px, min(68vw, 28svh), 300px);
  --win-prize-size: clamp(188px, min(74vw, 34svh), 320px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100svh;
}

body {
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Spar Typeface", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
a {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.screen {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.42) 0, rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #a9e4fb 0%, #99d9f3 100%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 520ms cubic-bezier(0.22, 0.8, 0.24, 1),
    visibility 0s linear 520ms;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  width: min(100%, 440px);
  text-align: center;
}

.preloader__wheel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(180px, 34svh, 286px);
}

.preloader__wheel-image {
  width: var(--preloader-wheel-size);
  height: auto;
  max-height: min(32svh, 260px);
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(42, 46, 56, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

.preloader__eyebrow {
  margin: 0;
  color: rgba(42, 46, 56, 0.66);
  font-size: clamp(0.88rem, 3vw, 0.98rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preloader__title {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.02;
}

.preloader__text {
  width: min(100%, 320px);
  margin: 14px auto 0;
  color: rgba(42, 46, 56, 0.78);
  font-size: clamp(1rem, 3.8vw, 1.1rem);
  line-height: 1.32;
  text-wrap: balance;
}

.preloader__track {
  position: relative;
  width: min(100%, 300px);
  height: 10px;
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(1, 59, 192, 0.08);
}

.preloader__bar {
  width: 56%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #013bc0 0%, #347eff 100%);
  animation: preloader-bar-slide 1.5s cubic-bezier(0.3, 0.82, 0.32, 1) infinite;
}

.preloader__status {
  margin: 14px 0 0;
  color: rgba(42, 46, 56, 0.72);
  font-size: clamp(0.9rem, 3.2vw, 1rem);
  line-height: 1.2;
}

@keyframes preloader-bar-slide {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(280%);
  }
}

.bottom-sheet {
  --sheet-duration: 620ms;
  --sheet-ease: cubic-bezier(0.16, 0.84, 0.24, 1);
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  visibility: visible;
}

.bottom-sheet.is-hidden {
  visibility: hidden;
  transition: visibility 0s linear var(--sheet-duration);
}

.bottom-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 46, 56, 0.22);
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--sheet-duration) ease;
}

.bottom-sheet.is-hidden .bottom-sheet__backdrop {
  opacity: 0;
  pointer-events: none;
}

.bottom-sheet__panel {
  /* Общая оболочка всех попапов. max-height и overflow не дают попапам выходить за экран. */
  position: absolute;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(0px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  width: min(100% - 32px, 560px);
  max-height: calc(100svh - max(10px, env(safe-area-inset-top)) - max(0px, env(safe-area-inset-bottom)));
  margin-inline: auto;
  padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 28px 28px 0 0;
  background: #ffffff;
  box-shadow: 0 -14px 34px rgba(42, 46, 56, 0.18);
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform var(--sheet-duration) var(--sheet-ease),
    opacity 420ms ease,
    filter 420ms ease;
  pointer-events: auto;
  touch-action: pan-y;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  will-change: transform, opacity, filter;
}

.bottom-sheet__panel::-webkit-scrollbar {
  width: 6px;
}

.bottom-sheet__panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(42, 46, 56, 0.14);
}

.bottom-sheet__panel::-webkit-scrollbar-track {
  background: transparent;
}

.bottom-sheet.is-hidden .bottom-sheet__panel {
  opacity: 0;
  filter: blur(1px);
  transform: translateY(calc(100% + 36px)) scale(0.985);
}

.bottom-sheet__panel.is-dragging {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .bottom-sheet,
  .bottom-sheet__backdrop,
  .bottom-sheet__panel {
    --sheet-duration: 1ms;
    transition-duration: 1ms;
  }
}

.bottom-sheet__handle {
  display: none;
}

.bottom-sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(42, 46, 56, 0.06);
  cursor: pointer;
}

.bottom-sheet__close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.bottom-sheet__close span:first-child {
  transform: rotate(45deg);
}

.bottom-sheet__close span:last-child {
  transform: rotate(-45deg);
}

.bottom-sheet__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
}

.bottom-sheet__text {
  margin: 14px 0 0;
  color: rgba(42, 46, 56, 0.88);
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  line-height: 1.45;
}

.bottom-sheet__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-height: clamp(170px, 32svh, 320px);
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #eef7fb;
  color: var(--ink);
  font-size: clamp(0.98rem, 3.8vw, 1.05rem);
  line-height: 1.35;
  text-align: center;
}

.bottom-sheet__empty[hidden] {
  display: none;
}

.bottom-sheet__empty-title {
  font-weight: 700;
}

.bottom-sheet__empty-text {
  color: rgba(42, 46, 56, 0.62);
  font-size: clamp(0.9rem, 3.2vw, 0.98rem);
  line-height: 1.32;
}

.bottom-sheet__badge {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #013bc0;
  box-shadow: 0 0 0 6px rgba(1, 59, 192, 0.12);
}

.bottom-sheet__action {
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  border: 0;
  border-radius: var(--button-radius);
  color: #ffffff;
  background: var(--button);
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.prizes-sheet__panel {
  /* Высота "Мои призы": попап раскрывается выше, а список призов заполняет свободное место. */
  display: flex;
  flex-direction: column;
  width: min(100% - 32px, 620px);
  height: min(78svh, 760px);
  max-height: min(86svh, 760px);
  padding-top: 44px;
  padding-bottom: calc(42px + env(safe-area-inset-bottom));
  touch-action: auto;
}

.prizes-sheet__panel .bottom-sheet__close {
  top: 10px;
}

.prizes-sheet__title {
  text-align: center;
  font-size: clamp(1.42rem, 4.8vw, 2rem);
}

.prizes-sheet__text {
  text-align: center;
  margin-top: 6px;
  color: rgba(42, 46, 56, 0.68);
  font-size: clamp(0.78rem, 2.9vw, 0.92rem);
  line-height: 1.22;
}

.prizes-sheet__divider {
  height: 1px;
  margin: 12px 0 10px;
  background: rgba(42, 46, 56, 0.08);
}

.prizes-list {
  /* Список призов скроллится внутри попапа, а не двигает всю страницу. */
  display: grid;
  align-content: start;
  gap: clamp(8px, 1.6svh, 12px);
  margin-top: 10px;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 10px 18px;
  overscroll-behavior: contain;
}

.prizes-list[hidden] {
  display: none;
}

.prizes-list::-webkit-scrollbar {
  width: 6px;
}

.prizes-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(42, 46, 56, 0.16);
}

.prizes-list::-webkit-scrollbar-track {
  background: transparent;
}

.prizes-list__item {
  /* Карточка-купон в "Мои призы". Здесь меняются размеры купона и его фон. */
  position: relative;
  display: grid;
  grid-template-columns: clamp(84px, 24vw, 116px) minmax(0, 1fr);
  align-items: stretch;
  column-gap: clamp(18px, 4.8vw, 28px);
  row-gap: 10px;
  min-width: 0;
  padding: clamp(12px, 3vw, 16px);
  border-radius: 22px;
  background: #eef9ff;
  cursor: pointer;
  isolation: isolate;
}

.prizes-list__item:focus-visible {
  outline: 3px solid rgba(1, 59, 192, 0.32);
  outline-offset: 2px;
}

.prizes-list__item::before,
.prizes-list__item::after {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateY(-50%);
}

.prizes-list__item::before {
  left: -9px;
}

.prizes-list__item::after {
  right: -9px;
}

.prizes-list__coupon-line {
  /* Пунктирная линия купона между картинкой и текстовой частью. */
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: clamp(112px, 30vw, 150px);
  z-index: 0;
  border-left: 1px dashed rgba(42, 46, 56, 0.16);
  pointer-events: none;
}

.prizes-list__lock {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: none;
  width: 14px;
  height: auto;
}

.prizes-list__item.is-expired {
  opacity: 0.48;
}

.prizes-list__item.is-expired .prizes-list__lock {
  display: block;
}

.prizes-list__prize-visual {
  /* Левая область купона под будущую картинку приза. Путь можно добавить в PRIZE_DETAILS.image. */
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(96px, 27vw, 132px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
}

.prizes-list__prize-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.prizes-list__image-placeholder {
  width: 64%;
  aspect-ratio: 1;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(1, 59, 192, 0.08) 0 25%, transparent 25% 50%, rgba(1, 59, 192, 0.08) 50% 75%, transparent 75%),
    rgba(255, 255, 255, 0.52);
  background-size: 18px 18px;
}

.prizes-list__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.prizes-list__title {
  color: var(--ink);
  font-size: clamp(1rem, 4vw, 1.24rem);
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.prizes-list__meta {
  color: rgba(42, 46, 56, 0.46);
  font-size: clamp(0.72rem, 2.6vw, 0.86rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.prizes-list__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  width: 100%;
  min-width: 0;
}

.prizes-list__controls--single {
  grid-template-columns: minmax(0, max-content);
}

.prizes-list__promo-copy {
  /* Кликабельный блок промокода внутри карточки. Иконка справа рисуется CSS ниже. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  min-width: 0;
  min-height: 34px;
  padding: 5px 9px 5px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.prizes-list__promo-label {
  grid-column: 1 / 2;
  color: rgba(42, 46, 56, 0.42);
  font-size: clamp(0.52rem, 2vw, 0.62rem);
  font-weight: 700;
  line-height: 1;
}

.prizes-list__promo-code {
  grid-column: 1 / 2;
  margin-top: 2px;
  overflow: hidden;
  font-size: clamp(0.72rem, 2.6vw, 0.82rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prizes-list__copy-icon {
  position: relative;
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  justify-self: end;
  width: 15px;
  height: 17px;
}

.prizes-list__copy-icon::before,
.prizes-list__copy-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 12px;
  border: 2px solid #8a93a3;
  border-radius: 3px;
}

.prizes-list__copy-icon::before {
  top: 0;
  right: 0;
  opacity: 0.45;
}

.prizes-list__copy-icon::after {
  left: 0;
  bottom: 0;
  background: #ffffff;
}

.prizes-list__action {
  flex: 0 1 auto;
  min-width: 0;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: var(--button-radius);
  color: #ffffff;
  background: var(--button);
  font-size: clamp(0.72rem, 2.5vw, 0.84rem);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.prizes-list__action:disabled {
  cursor: default;
  opacity: 0.45;
}

.prizes-list__timer-wrap {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  color: rgba(42, 46, 56, 0.5);
  font-size: clamp(0.62rem, 2.25vw, 0.74rem);
  line-height: 1.1;
  white-space: nowrap;
}

.prizes-list__timer {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-variant-numeric: tabular-nums;
}

.promo-copy-toast {
  /* Уведомление с галочкой после копирования промокода. */
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  top: calc(14px + env(safe-area-inset-top));
  bottom: auto;
  left: max(16px, env(safe-area-inset-left));
  z-index: 2147483647;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: min(100% - 32px, 440px);
  margin-inline: auto;
  padding: 12px 14px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(42, 46, 56, 0.18);
  font-size: clamp(0.86rem, 3vw, 1rem);
  font-weight: 700;
  line-height: 1.18;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px) scale(0.98);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.promo-copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.promo-copy-toast__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #19b56b;
}

.promo-copy-toast__icon::before {
  content: "";
  width: 12px;
  height: 7px;
  border-bottom: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: translateY(-1px) rotate(-45deg);
}

.prizes-list__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #013bc0;
  background: rgba(160, 222, 247, 0.42);
  font-size: clamp(0.8rem, 3vw, 0.9rem);
  font-weight: 700;
  line-height: 1;
}

.win-sheet__panel {
  /* Попап выигрыша. Отступы дополнительно сжимаются в media rules для низких экранов. */
  width: min(100% - 32px, 620px);
  padding-top: 44px;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  text-align: center;
}

.win-prize {
  /* Картинка выпавшего приза. Размер задается через --win-prize-size. */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--win-prize-size));
  aspect-ratio: 520 / 396;
  margin: clamp(8px, 1.8svh, 16px) auto clamp(18px, 3svh, 30px);
}

.win-prize__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 18px 28px rgba(42, 46, 56, 0.16));
  user-select: none;
  -webkit-user-drag: none;
}

.win-sheet__text {
  width: min(100%, 420px);
  margin: 18px auto 0;
  color: rgba(42, 46, 56, 0.9);
  font-size: clamp(1rem, 3.9vw, 1.2rem);
  line-height: 1.32;
  text-align: center;
}

.win-sheet__promo {
  /* Кликабельный промокод в попапе выигрыша. Копирование подключено в app.js. */
  display: inline-grid;
  grid-template-columns: auto auto 15px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 0;
  border-radius: 18px;
  background: #eef7fb;
  color: rgba(42, 46, 56, 0.7);
  cursor: pointer;
  font-size: clamp(0.88rem, 3.2vw, 1rem);
  line-height: 1.1;
}

.win-sheet__promo-code {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.win-sheet__copy-icon {
  position: relative;
  width: 15px;
  height: 17px;
  color: #8a93a3;
}

.win-sheet__copy-icon::before,
.win-sheet__copy-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.win-sheet__copy-icon::before {
  top: 0;
  right: 0;
  opacity: 0.52;
}

.win-sheet__copy-icon::after {
  left: 0;
  bottom: 0;
  background: #eef7fb;
}

.win-sheet__title {
  width: min(100%, 420px);
  margin: 0 auto;
  font-size: clamp(2rem, 8vw, 3.1rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.win-sheet__action {
  width: min(100%, 420px);
  margin-top: 28px;
  border-radius: 28px;
  font-size: clamp(1.5rem, 5.6vw, 2rem);
}

.win-sheet__status {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 12px;
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(1rem, 3.8vw, 1.28rem);
  line-height: 1.2;
}

.win-sheet__status-time {
  font-variant-numeric: tabular-nums;
}

.prize-detail-modal {
  z-index: 32;
}

.prize-detail-modal__panel {
  /* Центральный попап деталей приза из "Мои призы". Не является нижним листом. */
  top: 50%;
  bottom: auto;
  width: min(calc(100% - 32px), 440px);
  max-height: calc(100svh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding: 44px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 38px;
  box-shadow: 0 22px 58px rgba(42, 46, 56, 0.24);
  transform: translateY(-50%) scale(1);
}

.prize-detail-modal.is-hidden .prize-detail-modal__panel {
  opacity: 0;
  filter: blur(1px);
  transform: translateY(calc(-50% + 22px)) scale(0.96);
}

.prize-detail-modal__visual {
  /* Большая картинка/заглушка в центральном попапе. */
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, clamp(190px, 68vw, 300px));
  aspect-ratio: 520 / 396;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: 34px;
  background: #eef9ff;
}

.prize-detail-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.prize-detail-modal__image-placeholder {
  width: 56%;
  aspect-ratio: 1;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(1, 59, 192, 0.08) 0 25%, transparent 25% 50%, rgba(1, 59, 192, 0.08) 50% 75%, transparent 75%),
    rgba(255, 255, 255, 0.7);
  background-size: 22px 22px;
}

.prize-detail-modal__title {
  width: min(100%, 360px);
  margin: 0 auto;
  font-size: clamp(1.8rem, 7vw, 2.65rem);
  text-align: center;
  text-wrap: balance;
}

.prize-detail-modal__description {
  width: min(100%, 360px);
  margin: 12px auto 0;
  color: rgba(42, 46, 56, 0.72);
  font-size: clamp(0.9rem, 3.5vw, 1.05rem);
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.prize-detail-modal__promo {
  /* Строка промокода в центральном попапе. Вся строка кликабельна для копирования. */
  display: block;
  width: min(100%, 360px);
  margin: 18px auto 0;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #eef7fb;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.prize-detail-modal__promo[hidden] {
  display: none;
}

.prize-detail-modal__promo-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  min-width: 0;
  min-height: 52px;
  padding: 8px 13px;
}

.prize-detail-modal__promo-label {
  color: rgba(42, 46, 56, 0.52);
  font-size: clamp(0.64rem, 2.3vw, 0.76rem);
  font-weight: 700;
  line-height: 1;
}

.prize-detail-modal__promo-code {
  grid-column: 1 / 2;
  margin-top: 4px;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(1rem, 3.7vw, 1.18rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prize-detail-modal__copy-icon {
  position: relative;
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  justify-self: end;
  flex: 0 0 auto;
  width: 15px;
  height: 17px;
  color: #8a93a3;
}

.prize-detail-modal__copy-icon::before,
.prize-detail-modal__copy-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.prize-detail-modal__copy-icon::before {
  top: 0;
  right: 0;
  opacity: 0.52;
}

.prize-detail-modal__copy-icon::after {
  left: 0;
  bottom: 0;
  background: #eef7fb;
}

.prize-detail-modal__status {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  width: 100%;
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(0.92rem, 3.4vw, 1.1rem);
  line-height: 1.2;
}

.prize-detail-modal__time {
  font-variant-numeric: tabular-nums;
}

.prize-detail-modal__action {
  margin-inline: auto;
  margin-top: 18px;
}

.startup-sheet__panel {
  /* Стартовый попап с таймером акции. */
  width: min(100% - 32px, 750px);
  padding: 28px 30px calc(72px + env(safe-area-inset-bottom));
  border-radius: 42px 42px 0 0;
}

.startup-sheet__hero {
  /* Картинка в стартовом попапе. Размер задается через --startup-hero-size. */
  display: block;
  width: min(100%, var(--startup-hero-size));
  height: auto;
  max-height: min(30svh, 320px);
  margin: clamp(10px, 2svh, 18px) auto clamp(6px, 1.4svh, 12px);
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(66, 131, 227, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

.startup-sheet__title {
  margin-top: 6px;
  font-size: clamp(2.2rem, 6vw, 3.55rem);
  font-weight: 900;
  line-height: 1.02;
  text-align: center;
}

.startup-sheet__text {
  width: min(100%, 540px);
  margin: 18px auto 0;
  color: rgba(42, 46, 56, 0.92);
  font-size: clamp(0.96rem, 3.2vw, 1.16rem);
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}

.startup-sheet__countdown {
  width: min(100%, 520px);
  margin: 34px auto 0;
}

.startup-sheet__countdown-label {
  margin: 0 0 14px;
  color: rgba(42, 46, 56, 0.88);
  font-size: clamp(1rem, 3.7vw, 1.22rem);
  line-height: 1.2;
  text-align: center;
}

.startup-sheet__countdown-pill {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 28px;
  background: #a0def7;
}

.startup-sheet__countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  flex: 1 1 0;
}

.startup-sheet__countdown-value {
  color: var(--ink);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.startup-sheet__countdown-caption {
  color: rgba(42, 46, 56, 0.34);
  font-size: clamp(0.76rem, 2.6vw, 1rem);
  line-height: 1.1;
  white-space: nowrap;
}

.startup-sheet__countdown-separator {
  align-self: center;
  justify-self: center;
  margin-top: -8px;
  color: rgba(42, 46, 56, 0.76);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1;
}

.design-canvas {
  /* Вся главная сцена масштабируется JS через --canvas-scale. */
  --wheel-top: -852px;
  --pointer-top: 813.4075px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1210.1305px;
  height: 2141px;
  transform: translate3d(-50%, -50%, 0) scale(var(--canvas-scale));
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
}

.wheel-composition {
  /* Позиция колеса меняется JS через --wheel-top. */
  position: absolute;
  top: var(--wheel-top);
  left: 50%;
  width: 1760px;
  height: 1760px;
  transform: translate3d(-50%, 0, 0);
  backface-visibility: hidden;
}

.wheel-rotation {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-origin: center center;
  will-change: transform;
}

.wheel {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate(-0.6px, -3px);
  user-select: none;
  -webkit-user-drag: none;
}

.wheel-rotation.is-cell-tick .wheel {
  animation: wheel-cell-tick 120ms ease-out;
}

.wheel-face {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 188px;
  height: 188px;
  border: 14px solid #ffffff;
  border-radius: 50%;
  background: #013bc0;
  box-shadow:
    inset -10px 6px 10px rgba(145, 145, 145, 0.25),
    0 0 0 6px rgba(1, 59, 192, 0.08);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.pointer {
  /* Стрелка. transform-origin стоит снизу, чтобы визуально качался кончик. */
  position: absolute;
  top: var(--pointer-top);
  left: 50%;
  width: 186px;
  height: 189.185px;
  object-fit: contain;
  transform: translate3d(-50%, 0, 0) rotate(var(--pointer-tilt));
  transform-origin: 50% 88%;
  transition: transform 90ms linear;
  z-index: 3;
  backface-visibility: hidden;
  will-change: transform;
}

.pointer.is-cell-tick {
  animation: pointer-cell-tick 120ms ease-out;
}

@keyframes wheel-cell-tick {
  0%,
  100% {
    transform: translate(-0.6px, -3px) scale(1);
  }

  45% {
    transform: translate(-0.6px, -3px) scale(1.003);
  }
}

@keyframes pointer-cell-tick {
  0%,
  100% {
    transform: translate3d(-50%, 0, 0) rotate(var(--pointer-tilt));
  }

  45% {
    transform: translate3d(-50%, 0, 0) rotate(calc(var(--pointer-tilt) - 8deg));
  }
}

h1 {
  position: absolute;
  top: 1035px;
  left: 170px;
  width: 871px;
  margin: 0;
  color: var(--ink);
  font-size: 111.704px;
  font-weight: 900;
  line-height: 1.02;
  text-align: center;
}

.subtitle {
  position: absolute;
  top: 1192px;
  left: 214px;
  width: 782px;
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.24;
  text-align: center;
}

.cta {
  position: absolute;
  top: 1577.3492px;
  left: 161.3506px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 890.5319px;
  height: 125.6268px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--button-radius);
  color: #fff;
  background: var(--button);
  font-size: 61.254px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.cta-secondary {
  top: 1404px;
}

.cta:disabled {
  cursor: wait;
  opacity: 0.45;
  transform: none;
}

.cta:not(:disabled):active {
  transform: scale(0.985);
}

.cooldown {
  position: absolute;
  top: 1732px;
  left: 161.3506px;
  display: grid;
  grid-template-columns: 36px auto 126px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  column-gap: 16px;
  width: 890.5319px;
  color: var(--ink);
  font-family:
    "Spar Typeface", Inter, sans-serif;
  font-size: 41px;
  line-height: 1.2;
  text-align: center;
}

.cooldown[hidden] {
  display: none;
}

.cooldown-icon {
  width: 28px;
  height: 34px;
  flex: 0 0 auto;
  justify-self: center;
}

.cooldown-label {
  justify-self: end;
  white-space: nowrap;
}

.cooldown-time {
  min-width: 126px;
  justify-self: start;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.legal {
  position: absolute;
  top: 1885px;
  left: 116px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 978px;
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.46;
  text-align: center;
}

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

@media (max-width: 768px) {
  /* Планшеты и широкие телефоны: колесо поднимается выше, попапы занимают всю ширину. */
  .design-canvas {
    --wheel-top: -1017px;
    --pointer-top: 598.4075px;
  }

  h1 {
    top: 905px;
  }

  .subtitle {
    top: 1060px;
  }

  .pointer {
    width: 186px;
    height: auto;
  }

  .pointer.is-cell-tick {
    animation-duration: 150ms;
  }

  @keyframes pointer-cell-tick {
    0%,
    100% {
      transform: translate3d(-50%, 0, 0) rotate(var(--pointer-tilt));
    }

    45% {
      transform: translate3d(-50%, 0, 0) rotate(calc(var(--pointer-tilt) - 16deg));
    }
  }

  .legal {
    left: 102px;
    width: 1006px;
    font-size: 44px;
    line-height: 1.42;
  }

  .cooldown {
    grid-template-columns: 36px auto 126px;
    column-gap: 16px;
    font-size: 41px;
  }

  .bottom-sheet__panel {
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 28px 28px 0 0;
  }

  .prize-detail-modal__panel {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    width: min(calc(100% - 24px), 420px);
    border-radius: 34px;
  }

  .startup-sheet__panel {
    width: 100%;
    padding: 22px 22px calc(64px + env(safe-area-inset-bottom));
    border-radius: 36px 36px 0 0;
  }

  .startup-sheet__hero {
    margin-top: 14px;
  }

  .startup-sheet__text {
    width: min(100%, 580px);
    margin-top: 16px;
  }

  .startup-sheet__countdown {
    margin-top: 30px;
  }

  .startup-sheet__countdown-pill {
    padding: 14px 12px;
    gap: 6px;
    border-radius: 26px;
  }

  .prizes-list__item {
    text-align: left;
  }

  .prizes-list__copy {
    align-items: flex-start;
  }

  .prizes-list__controls {
    align-items: flex-end;
  }

  .prizes-list__timer-wrap {
    align-items: center;
  }

  .prizes-list {
    padding-inline: 8px;
  }
}

@media (max-width: 420px) {
  /* Обычные мобильные экраны: компактнее карточки и отступы. */
  .design-canvas {
    --wheel-top: -992px;
    --pointer-top: 615.4075px;
  }

  .bottom-sheet__panel {
    padding-inline: 16px;
  }

  .bottom-sheet__close {
    width: 36px;
    height: 36px;
  }

  .bottom-sheet__empty {
    gap: 10px;
    padding: 12px 14px;
  }

  .prizes-sheet__panel {
    height: min(82svh, 760px);
    max-height: 88svh;
    padding-inline: 14px;
    padding-top: 44px;
    padding-bottom: calc(36px + env(safe-area-inset-bottom));
  }

  .prizes-sheet__title {
    font-size: clamp(1.32rem, 7vw, 1.72rem);
  }

  .prizes-sheet__text {
    font-size: 0.74rem;
  }

  .prizes-list {
    padding-inline: 8px;
    padding-bottom: 18px;
  }

  .prizes-list__item {
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 7px;
    padding: 11px 12px;
    border-radius: 20px;
  }

  .prizes-list__coupon-line {
    left: 112px;
  }

  .prizes-list__prize-visual {
    min-height: 98px;
    border-radius: 16px;
  }

  .prizes-list__title {
    font-size: 0.98rem;
  }

  .prizes-list__meta {
    font-size: 0.68rem;
  }

  .prizes-list__controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
    align-items: center;
    gap: 5px;
  }

  .prizes-list__action {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .prizes-list__timer-wrap {
    font-size: 0.6rem;
    gap: 3px;
  }

  .startup-sheet__panel {
    padding-inline: 18px;
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .startup-sheet__hero {
    margin-bottom: 4px;
  }

  .startup-sheet__title {
    font-size: clamp(2rem, 10vw, 2.45rem);
  }

  .startup-sheet__text {
    width: 100%;
    font-size: 0.9rem;
    line-height: 1.28;
  }

  .startup-sheet__countdown {
    width: 100%;
    margin-top: 26px;
  }

  .startup-sheet__countdown-label {
    margin-bottom: 12px;
  }

  .startup-sheet__countdown-pill {
    gap: 4px;
    padding: 14px 10px;
  }

  .startup-sheet__countdown-separator {
    font-size: 1.15rem;
  }

  .startup-sheet__countdown-value {
    font-size: 1.32rem;
  }

  .startup-sheet__countdown-caption {
    font-size: 0.68rem;
  }
}

@media (max-height: 720px) {
  /* Низкие телефоны: сжимаем попапы по вертикали, чтобы они не выходили за экран. */
  :root {
    --preloader-wheel-size: clamp(132px, min(42vw, 28svh), 186px);
    --startup-hero-size: clamp(150px, min(58vw, 24svh), 220px);
    --win-prize-size: clamp(168px, min(68vw, 30svh), 250px);
  }

  .bottom-sheet__panel {
    max-height: calc(100svh - max(8px, env(safe-area-inset-top)) - max(0px, env(safe-area-inset-bottom)));
    padding-top: 38px;
  }

  .preloader__wheel-wrap {
    min-height: clamp(158px, 30svh, 220px);
  }

  .win-sheet__panel {
    padding-top: 38px;
    padding-bottom: calc(38px + env(safe-area-inset-bottom));
  }

  .win-prize {
    margin-top: 6px;
    margin-bottom: 16px;
  }

  .win-sheet__title {
    font-size: clamp(1.62rem, 7vw, 2.35rem);
  }

  .win-sheet__text {
    margin-top: 12px;
    font-size: clamp(0.88rem, 3.6vw, 1.02rem);
    line-height: 1.24;
  }

  .win-sheet__promo {
    margin-top: 12px;
    padding: 8px 12px;
  }

  .win-sheet__action {
    min-height: 50px;
    margin-top: 18px;
    font-size: clamp(1.22rem, 5vw, 1.62rem);
  }

  .win-sheet__status {
    margin-top: 16px;
    font-size: clamp(0.9rem, 3.5vw, 1.05rem);
  }

  .prize-detail-modal__panel {
    width: min(calc(100% - 24px), 420px);
    max-height: calc(100svh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 36px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius: 34px;
  }

  .prize-detail-modal__visual {
    width: min(100%, clamp(160px, 60vw, 240px));
    margin-bottom: 14px;
    border-radius: 30px;
  }

  .prize-detail-modal__title {
    font-size: clamp(1.5rem, 6.4vw, 2.1rem);
  }

  .prize-detail-modal__status {
    margin-top: 10px;
    font-size: clamp(0.82rem, 3.2vw, 0.96rem);
  }

  .prize-detail-modal__description {
    margin-top: 9px;
    font-size: clamp(0.82rem, 3.1vw, 0.94rem);
  }

  .prize-detail-modal__promo {
    margin-top: 14px;
  }

  .prize-detail-modal__promo {
    border-radius: 18px;
  }

  .prize-detail-modal__promo-copy {
    min-height: 46px;
  }

  .prize-detail-modal__action {
    margin-top: 14px;
  }

  .startup-sheet__panel {
    padding-top: 38px;
    padding-bottom: calc(34px + env(safe-area-inset-bottom));
  }

  .startup-sheet__hero {
    margin-top: 8px;
  }

  .startup-sheet__title {
    font-size: clamp(1.82rem, 7vw, 2.5rem);
  }

  .startup-sheet__text {
    margin-top: 12px;
    font-size: clamp(0.82rem, 3.3vw, 0.96rem);
    line-height: 1.22;
  }

  .startup-sheet__countdown {
    margin-top: 20px;
  }

  .startup-sheet__countdown-label {
    margin-bottom: 10px;
    font-size: clamp(0.84rem, 3.3vw, 1rem);
  }

  .startup-sheet__countdown-pill {
    padding: 12px 10px;
  }

  .prizes-sheet__panel {
    height: min(82svh, 700px);
    max-height: 90svh;
    padding-top: 38px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
  }

  .prizes-sheet__title {
    font-size: clamp(1.24rem, 4.2vw, 1.62rem);
  }

  .prizes-sheet__text {
    margin-top: 4px;
    font-size: clamp(0.68rem, 2.4vw, 0.78rem);
  }

  .prizes-sheet__divider {
    margin: 9px 0 8px;
  }

  .prizes-list {
    gap: 8px;
    margin-top: 8px;
    padding-inline: 8px;
    padding-bottom: 16px;
  }

  .prizes-list__item {
    grid-template-columns: 74px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 6px;
    padding: 10px 11px;
  }

  .prizes-list__coupon-line {
    left: 101px;
  }

  .prizes-list__prize-visual {
    min-height: 88px;
  }

  .prizes-list__title {
    font-size: 0.92rem;
  }

  .prizes-list__meta {
    font-size: 0.64rem;
  }

  .prizes-list__action {
    min-height: 28px;
    padding-inline: 9px;
    font-size: 0.62rem;
  }

  .prizes-list__controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
    gap: 5px;
  }

  .prizes-list__timer-wrap {
    font-size: 0.58rem;
  }
}

@media (min-width: 430px) and (min-height: 820px) {
  /* Большие телефоны: можно дать картинкам и "Мои призы" больше воздуха. */
  :root {
    --preloader-wheel-size: clamp(186px, min(42vw, 26svh), 240px);
    --startup-hero-size: clamp(230px, min(62vw, 28svh), 330px);
    --win-prize-size: clamp(260px, min(66vw, 33svh), 340px);
  }

  .prizes-sheet__panel {
    height: min(76svh, 760px);
  }

  .bottom-sheet__empty {
    min-height: clamp(240px, 36svh, 360px);
  }
}

@media (max-width: 360px) {
  /* Очень узкие экраны: уменьшаем картинки и высоту пустого состояния. */
  :root {
    --startup-hero-size: clamp(146px, min(62vw, 25svh), 196px);
    --win-prize-size: clamp(162px, min(72vw, 31svh), 228px);
  }

  .prizes-sheet__panel {
    height: min(84svh, 680px);
  }

  .bottom-sheet__empty {
    min-height: clamp(154px, 31svh, 260px);
  }

  .prizes-sheet__panel {
    padding-inline: 12px;
  }

  .prizes-list {
    padding-inline: 7px;
  }

  .prizes-list__item {
    grid-template-columns: 66px minmax(0, 1fr);
    column-gap: 14px;
    padding: 9px;
  }

  .prizes-list__coupon-line {
    left: 89px;
  }

  .prizes-list__item::before,
  .prizes-list__item::after {
    width: 16px;
    height: 16px;
  }

  .prizes-list__item::before {
    left: -8px;
  }

  .prizes-list__item::after {
    right: -8px;
  }

  .prizes-list__prize-visual {
    min-height: 78px;
  }

  .prizes-list__title {
    font-size: 0.84rem;
  }

  .prizes-list__meta {
    font-size: 0.6rem;
  }

  .prizes-list__promo {
    font-size: 0.59rem;
  }

  .prizes-list__controls {
    gap: 4px;
  }

  .prizes-list__action {
    min-height: 27px;
    padding: 0 8px;
    font-size: 0.58rem;
  }

  .prizes-list__timer-wrap {
    gap: 2px;
    font-size: 0.53rem;
  }

  .win-prize__image {
    border-radius: 20px;
  }
}

@media (max-height: 620px) {
  /* Очень низкие экраны: максимально компактный режим для всех попапов. */
  :root {
    --startup-hero-size: clamp(112px, min(48vw, 21svh), 160px);
    --win-prize-size: clamp(138px, min(58vw, 27svh), 190px);
  }

  .bottom-sheet__panel {
    border-radius: 24px 24px 0 0;
  }

  .bottom-sheet__close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .startup-sheet__panel,
  .win-sheet__panel {
    padding-inline: 16px;
    padding-top: 34px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .prizes-sheet__panel {
    height: min(86svh, 560px);
    padding-inline: 12px;
    padding-top: 34px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }

  .prizes-list {
    padding-inline: 7px;
  }

  .bottom-sheet__empty {
    min-height: clamp(128px, 28svh, 220px);
  }

  .startup-sheet__hero {
    margin-top: 4px;
    margin-bottom: 2px;
  }

  .startup-sheet__title {
    margin-top: 2px;
    font-size: clamp(1.55rem, 6.4vw, 2rem);
  }

  .startup-sheet__text {
    margin-top: 8px;
    font-size: clamp(0.76rem, 3vw, 0.88rem);
    line-height: 1.18;
  }

  .startup-sheet__countdown {
    margin-top: 14px;
  }

  .startup-sheet__countdown-pill {
    padding: 10px 8px;
    border-radius: 22px;
  }

  .startup-sheet__countdown-value {
    font-size: clamp(1.12rem, 4.6vw, 1.45rem);
  }

  .startup-sheet__countdown-caption {
    font-size: clamp(0.58rem, 2.4vw, 0.72rem);
  }

  .win-prize {
    margin-top: 2px;
    margin-bottom: 12px;
  }

  .win-sheet__title {
    font-size: clamp(1.45rem, 6.4vw, 2rem);
  }

  .win-sheet__text {
    margin-top: 8px;
    font-size: clamp(0.78rem, 3.2vw, 0.92rem);
  }

  .win-sheet__promo {
    margin-top: 10px;
    font-size: clamp(0.76rem, 3vw, 0.88rem);
  }

  .win-sheet__action {
    min-height: 46px;
    margin-top: 14px;
    font-size: clamp(1.08rem, 4.8vw, 1.42rem);
  }

  .win-sheet__status {
    margin-top: 12px;
    font-size: clamp(0.82rem, 3.2vw, 0.96rem);
  }

  .prize-detail-modal__panel {
    width: min(calc(100% - 20px), 390px);
    padding: 34px 16px calc(18px + env(safe-area-inset-bottom));
    border-radius: 32px;
  }

  .prize-detail-modal__visual {
    width: min(100%, clamp(136px, 56vw, 190px));
    margin-bottom: 10px;
    border-radius: 28px;
  }

  .prize-detail-modal__title {
    font-size: clamp(1.32rem, 6vw, 1.82rem);
  }

  .prize-detail-modal__status {
    grid-template-columns: 1fr;
    row-gap: 2px;
    margin-top: 8px;
    font-size: clamp(0.78rem, 3vw, 0.9rem);
  }

  .prize-detail-modal__description {
    margin-top: 8px;
    font-size: clamp(0.78rem, 3vw, 0.88rem);
  }

  .prize-detail-modal__promo {
    margin-top: 12px;
    border-radius: 16px;
  }

  .prize-detail-modal__promo-copy {
    min-height: 44px;
  }
}
