:root {
  --bg: #f3f8f4;
  --surface: #fff;
  --ink: #17211d;
  --muted: #66736d;
  --line: #dce7e0;
  --mint: #b8f06a;
  --mint-soft: #e3f7ca;
  --dark: #153f30;
  --accent: #266b55;
  --accent-soft: #def3e7;
  --radius: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  min-width: 320px;
  background: #dfe9e2;
}
body {
  margin: 0;
  background: #dfe9e2;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.gifts-app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  min-height: 100svh;
  margin: auto;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 28px 100px rgba(19, 50, 38, 0.15);
}
.gifts-header {
  position: relative;
  z-index: 4;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 24px;
}
.gifts-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.gifts-brand img {
  display: block;
  width: 114px;
  height: 34px;
  object-fit: contain;
}
.gifts-miniapp,
.gifts-kicker {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.gifts-view {
  position: relative;
  z-index: 2;
  padding: 8px 22px 32px;
  text-align: center;
}
.gifts-view[hidden] {
  display: none;
}
.gifts-promo {
  margin: 18px 0 16px;
  text-align: left;
}
.gifts-social-proof {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 10px 25px;
  color: var(--dark);
  font-size: 16px;
  font-weight: 650;
}
.gifts-social-proof > span {
  margin-left: 10px;
}
.gifts-social-proof svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.gifts-social-proof b {
  display: inline-grid;
  min-width: 4.35ch;
  height: 1.25em;
  overflow: hidden;
  align-items: center;
  justify-items: end;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  vertical-align: baseline;
}
.gifts-social-proof-number {
  grid-area: 1 / 1;
  display: block;
  white-space: nowrap;
  will-change: transform, opacity;
}
.gifts-promo-card {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.gifts-countdown {
  padding: 16px 16px 18px;
  background: transparent;
  color: #000;
  text-align: center;
}
.gifts-countdown > p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.gifts-countdown-cells {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}
.gifts-countdown-cells > span {
  display: grid;
  width: 64px;
  min-height: 58px;
  place-content: center;
  border-radius: 16px;
  background: #f3f8f4;
  color: #000;
  text-align: center;
}
.gifts-countdown-cells b {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  line-height: 1;
}
.gifts-countdown-cells small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
}
.gifts-countdown-cells i {
  margin-top: -13px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}
.gifts-trial-price {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px 10px 20px;
  border-top: 0;
  background: transparent;
  color: #173627;
}
.gifts-trial-price > span {
  display: grid;
  gap: 3px;
}
.gifts-trial-price b {
  font-size: 25px;
  font-weight: 850;
}
.gifts-trial-price small {
  color: rgba(23, 54, 39, 0.68);
  font-size: 9px;
  font-weight: 700;
}
.gifts-trial-price strong {
  min-width: 68px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-align: center;
}
.gifts-kicker {
  margin: 0 auto 15px;
}
.gifts-kicker--mint {
  background: var(--mint-soft);
  color: #30543d;
  text-transform: uppercase;
}
.gifts-view h1 {
  margin: 0;
  font-size: clamp(31px, 9vw, 39px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.06;
}
.gifts-view h1 span {
  color: var(--accent);
}
.gifts-lead {
  max-width: 350px;
  margin: 13px auto 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.52;
}
.gifts-arena {
  position: relative;
  height: 287px;
  margin: 18px 0;
  border: 0;
  border-radius: 30px;
  background: transparent;
  isolation: isolate;
  overflow: hidden;
}
.gifts-arena:before {
  content: none;
}
.gifts-case-preview {
  position: relative;
  z-index: 2;
  display: block;
  width: 265px;
  height: 265px;
  margin: 0 auto;
  object-fit: contain;
  animation: gifts-case-idle 2800ms var(--ease-in-out) infinite alternate;
  transform-origin: 50% 70%;
  transition:
    opacity 280ms var(--ease),
    transform 280ms var(--ease);
  will-change: opacity, transform;
}
.gifts-arena > small {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 13px;
  left: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  transition: opacity 180ms var(--ease);
}
.gifts-arena.is-opening .gifts-case-preview {
  animation: none;
  opacity: 0;
  transform: scale(0.94);
}
.gifts-arena.is-opening > small {
  opacity: 0;
}
.gifts-roulette-stage {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  align-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
  transition:
    opacity 280ms var(--ease),
    transform 280ms var(--ease);
  will-change: opacity, transform;
}
.gifts-arena.is-opening .gifts-roulette-stage {
  top: clamp(-20px, -2svh, -12px);
  bottom: clamp(12px, 2svh, 20px);
  opacity: 1;
  transform: none;
}
.gifts-roulette-stage > p {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}
.gifts-reel-window {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 194px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(243, 248, 244, 0.88);
  transform: translateY(-40%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.gifts-gift-reel {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  gap: 9px;
  will-change: transform;
}
.gifts-reel-item {
  display: grid;
  width: 146px;
  height: 164px;
  flex: 0 0 146px;
  place-items: center;
  border: 1px solid #d4e1d8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(21, 63, 48, 0.08);
  transition: transform 280ms var(--ease);
}
.gifts-reel-item img,
.gifts-reel-animation,
.gifts-reel-gift-emoji {
  display: block;
  width: 138px;
  height: 138px;
  object-fit: contain;
}
.gifts-reel-animation > :is(svg,video,img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gifts-gift-emoji-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: clamp(72px, 22vw, 124px);
  line-height: 1;
}
.gifts-reel-gift-emoji {
  place-items: center;
  font-size: 88px;
}
.gifts-reel-item--prize {
  border-color: #d4e1d8;
  background: #fff;
}
.gifts-arena.is-resolved .gifts-reel-item--prize {
  transform: scale(1.08);
}
.gifts-reel-marker {
  position: absolute;
  z-index: 3;
  top: 5px;
  bottom: 5px;
  left: 50%;
  width: 154px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 0 0 4px rgba(23, 33, 29, 0.06);
  pointer-events: none;
  transform: translateX(-50%);
}
@keyframes gifts-case-idle {
  from {
    transform: translate3d(0, 2px, 0) rotate(-0.6deg);
  }
  to {
    transform: translate3d(0, -5px, 0) rotate(0.6deg);
  }
}
.gifts-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 19px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    filter 0.18s var(--ease),
    opacity 0.18s;
}
.gifts-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.gifts-button:active {
  transform: scale(0.985);
}
.gifts-button:disabled {
  cursor: wait;
  opacity: 0.62;
}
.gifts-button--dark {
  background: #000;
}
.gifts-view--checkout .gifts-form button[type="submit"] {
  background: #000;
}
.gifts-view--checkout .gifts-checkout-submit {
  transition:
    transform 140ms var(--ease),
    filter 180ms var(--ease),
    opacity 180ms var(--ease);
}
.gifts-view--checkout.is-entering .gifts-checkout-submit {
  animation: gifts-checkout-button-enter 280ms var(--ease) 160ms both;
}
.gifts-button--violet {
  background: var(--accent);
}
.gifts-disclosure,
.gifts-terms,
.gifts-provider,
.gifts-support {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.gifts-disclosure {
  margin: 13px 0 0;
}
.gifts-view[data-view="revealed"] {
  display: grid;
  flex: 1;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding-top: 36px;
  padding-bottom: clamp(28px, 14svh, 124px);
}
.gifts-view[data-view="revealed"] .gifts-lead {
  margin: 14px auto 0;
}
.is-weekly-draw .gifts-view[data-view="revealed"] h1 {
  font-size: 31px;
}
.is-weekly-draw .gifts-view[data-view="revealed"] .gifts-prize-card {
  padding-top: clamp(24px, 5.7svh, 47px);
}
.gifts-prize-card {
  display: grid;
  min-height: 0;
  margin: 0;
  place-items: center;
  border: 0;
  background: transparent;
  overflow: visible;
  transform: translateY(clamp(-84px, -10svh, -48px));
}
.gifts-gift-price {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.gifts-gift-price > span {
  font-weight: 500;
}
.gifts-gift-price strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.gifts-gift-price b {
  font: inherit;
}
.gifts-gift-price svg {
  width: 15px;
  height: 15px;
  fill: var(--accent);
}
.gifts-gift-price.is-ton strong::before {
  content: '≈';
  color: var(--muted);
  font-weight: 500;
}
.gifts-gift-price-original {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gifts-gift-price.is-ton .gifts-gift-price-original strong::before {
  content: none;
}
.gifts-prize-price {
  align-self: start;
  margin-top: clamp(28px, 7svh, 58px);
}
.gifts-prize-art {
  position: relative;
  height: 290px;
  background: transparent;
}
.gifts-prize-art img,
.gifts-prize-animation {
  width: 100%;
  height: 100%;
  margin-top: clamp(32px, 7.5svh, 65px);
  padding: 20px;
  animation: gifts-prize-idle 2800ms var(--ease-in-out) infinite alternate;
  transform-origin: 50% 70%;
  will-change: transform;
}
.gifts-prize-art img {
  object-fit: contain;
}
.gifts-prize-animation svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
@keyframes gifts-prize-idle {
  from {
    transform: translate3d(0, 2px, 0) rotate(-0.6deg);
  }
  to {
    transform: translate3d(0, -5px, 0) rotate(0.6deg);
  }
}
.gifts-button[data-claim-gift] {
  align-self: end;
  background: #000;
}
.gifts-prize-row {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  margin: 0 16px 16px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--bg);
}
.gifts-prize-row small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.gifts-prize-row b {
  color: var(--accent);
  font-size: 17px;
}
.gifts-terms {
  margin: 15px 0;
}
.gifts-purchase-note {
  margin: 23px 0 0;
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
}
.gifts-back {
  position: absolute;
  top: -5px;
  left: 21px;
  color: var(--ink);
  font-size: 32px;
  text-decoration: none;
}
.is-weekly-draw .gifts-view--checkout .gifts-back {
  margin-top: clamp(4px, 1svh, 8px);
}
.gifts-view--checkout h1 {
  font-size: 31px;
  font-weight: 600;
}
.gifts-view--checkout {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.gifts-view--checkout .gifts-lead {
  margin-bottom: 18px;
}
.gifts-checkout-promise {
  color: #070303;
  font-weight: 400;
}
.gifts-view--checkout.is-entering .gifts-checkout-promise {
  animation: gifts-checkout-copy-enter 280ms var(--ease) 80ms both;
}
.gifts-order {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: -4px 0 20px;
  padding: 0 13px 7px;
  border: 0;
  border-radius: 36px;
  background: transparent;
  text-align: center;
}
.gifts-order-art {
  position: relative;
  width: 132px;
  height: 132px;
  background: transparent;
}
.gifts-order-price {
  margin: 2px 0 5px;
}
.gifts-order-art img,
.gifts-order-animation {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  object-fit: contain;
}
.gifts-order-animation svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.gifts-order-animation > :is(video,img),
.gifts-prize-animation > :is(video,img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gifts-order-meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}
.gifts-order-meta small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 300;
  text-transform: uppercase;
}
.gifts-order-meta b {
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
}
.gifts-order-meta strong {
  color: #73827c;
  font-size: 12px;
  font-weight: 300;
}
.gifts-order-meta span {
  color: inherit;
  font-size: inherit;
}
.gifts-form {
  text-align: left;
}
.gifts-telegram-identity {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
  min-height: 56px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
}
.gifts-telegram-identity[hidden] {
  display: none;
}
.gifts-telegram-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.gifts-telegram-account-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.gifts-telegram-account-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 300;
  line-height: 1.3;
}
.gifts-telegram-account-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gifts-telegram-verified {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e2f1e7;
  color: var(--dark);
  font-size: 12px;
  font-weight: 500;
}
.gifts-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  margin: 15px 2px;
  align-items: start;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}
.gifts-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--dark);
}
.gifts-check a {
  color: var(--dark);
  font-weight: 300;
  text-underline-offset: 2px;
}
.gifts-check > span,
.gifts-check > span b {
  font-weight: 300;
}
.gifts-form .gifts-button {
  margin-top: 17px;
}
.gifts-form:not(.is-resume) .gifts-checkout-submit {
  font-weight: 300;
}
.gifts-form.is-resume > :not(.gifts-error):not(.gifts-button) {
  display: none;
}
.gifts-form.is-resume .gifts-button {
  margin-top: 8px;
}
.gifts-checkout-actions {
  min-width: 0;
}
.gifts-app.has-compact-checkout {
  height: 100svh;
  min-height: 100svh;
}
.gifts-app.has-compact-checkout .gifts-header {
  flex: 0 0 76px;
}
.gifts-view--checkout.is-compact-checkout {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  padding-top: clamp(8px, 1.8svh, 18px);
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}
.gifts-view--checkout.is-compact-checkout .gifts-lead {
  margin: 9px auto 0;
}
.gifts-view--checkout.is-compact-checkout .gifts-order {
  min-height: 0;
  align-content: center;
  margin: 0;
  padding: 0;
}
.gifts-view--checkout.is-compact-checkout .gifts-order-art {
  width: clamp(174px, 28svh, 238px);
  height: clamp(174px, 28svh, 238px);
}
.gifts-view--checkout.is-compact-checkout .gifts-order-meta {
  margin-top: clamp(-15px, -1.6svh, -8px);
}
.gifts-view--checkout.is-compact-checkout .gifts-checkout-actions {
  align-self: end;
}
.gifts-view--checkout.is-compact-checkout .gifts-form.is-resume .gifts-button {
  margin-top: 0;
}
.gifts-view--checkout.is-compact-checkout .gifts-provider {
  margin: 10px auto 0;
}
.gifts-view--checkout.is-compact-checkout .gifts-legal {
  margin-top: 10px;
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="creator"] .gifts-order-art {
  width: clamp(152px, 24svh, 216px);
  height: clamp(152px, 24svh, 216px);
  margin-top: clamp(24px, 10.25svh, 82px);
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="creator"] h1 {
  margin-top: clamp(-11px, -1.375svh, -6px);
  font-weight: 300;
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] {
  padding-top: clamp(30px, 5.25svh, 53px);
  padding-bottom: clamp(30px, 5.25svh, 53px);
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] h1 {
  font-weight: 500;
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] .gifts-lead {
  font-weight: 300;
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] .gifts-order-meta {
  display: none;
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] .gifts-checkout-actions {
  margin-bottom: clamp(72px, 13.25svh, 134px);
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] .gifts-form.is-resume {
  margin-right: 6px;
  margin-bottom: -28px;
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] .gifts-provider {
  margin-top: 38px;
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] .gifts-form.is-resume .gifts-button {
  border-radius: 999px;
  font-weight: 400;
}
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="creator"] .gifts-checkout-promise,
.gifts-view--checkout.is-compact-checkout[data-checkout-mode="creator"] .gifts-order-meta {
  display: none;
}
.gifts-creator-form {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(44px, 11.625svh, 93px);
  font-weight: 300;
  text-align: left;
}
.gifts-creator-form[hidden],
.gifts-app.is-creator [data-customer-checkout-only],
.gifts-app.is-creator [data-customer-checkout-form] {
  display: none;
}
.gifts-saved-card {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(21,63,48,.06);
}
.gifts-saved-card-mark {
  display: block;
  width: 48px;
  height: 32px;
  object-fit: contain;
}
.gifts-saved-card > span:nth-child(2) { display: grid; gap: 3px; }
.gifts-saved-card small { color: var(--muted); font-size: 9px; font-weight: 300; }
.gifts-saved-card b { font-size: 14px; font-weight: 300; letter-spacing: .04em; }
.gifts-saved-card i { color: var(--ink); font-size: 18px; font-style: normal; font-weight: 300; }
.gifts-creator-form .gifts-button { margin-top: 2px; font-weight: 400; }
.gifts-consent-dialog {
  width: min(calc(100% - 32px), 398px);
  max-width: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.gifts-consent-dialog::backdrop {
  background: rgba(9, 15, 12, 0.48);
  backdrop-filter: blur(3px);
}
.gifts-consent-card {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 72px rgba(9, 15, 12, 0.2);
  text-align: left;
}
.gifts-consent-card h2 {
  margin: 0 42px 10px 0;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.gifts-consent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.gifts-consent-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 23px;
  padding: 0;
  list-style: none;
}
.gifts-consent-card li {
  position: relative;
  padding-left: 25px;
  font-size: 12px;
  line-height: 1.45;
}
.gifts-consent-card li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #000;
  font-weight: 800;
}
.gifts-consent-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.gifts-consent-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}
.gifts-consent-close:focus-visible,
.gifts-consent-dialog .gifts-button:focus-visible {
  outline: 3px solid rgba(21, 63, 48, 0.2);
  outline-offset: 3px;
}
.gifts-consent-dialog[open] .gifts-consent-card {
  animation: gifts-consent-enter 220ms var(--ease) both;
}
.gifts-consent-dialog .gifts-button--dark {
  background: #000;
}
.gifts-resume-consent {
  margin: 20px 0 22px;
}
.gifts-resume-dialog .gifts-error {
  margin: -10px 0 14px;
}
.gifts-error {
  margin: 12px 0;
  padding: 11px 13px;
  border: 1px solid #f1cbd2;
  border-radius: 13px;
  background: #fff2f4;
  color: #9f344a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.gifts-error[data-roulette-error] {
  border-radius: 59px;
  font-weight: 500;
}
.gifts-button[data-open-gift] {
  border-radius: 79px;
  background: #000;
  transform-origin: 50% 70%;
  will-change: transform;
}
.gifts-button[data-open-gift]:not(:disabled),
.gifts-button[data-open-gift].is-running {
  animation: gifts-roulette-cta-nudge 2800ms var(--ease-in-out) infinite;
}
.gifts-button[data-open-gift]:active {
  animation: none;
  transform: scale(0.985);
}
.gifts-provider {
  margin: 13px auto;
  max-width: 340px;
}
.gifts-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 12px;
  margin-top: auto;
  padding-top: 22px;
}
.gifts-legal a {
  color: var(--dark);
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}
.gifts-view--success {
  padding-top: 50px;
}
.gifts-success-mark {
  display: grid;
  width: min(290px, 76vw);
  height: 250px;
  margin: 3px auto 18px;
  place-items: center;
}
.gifts-success-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(4, 100, 56, 0.14));
}
.gifts-success-gift,
.gifts-success-gift-animation,
.gifts-success-gift > img,
.gifts-success-gift-animation > :is(svg,video,img) {
  display: block;
  width: 100%;
  height: 100%;
}
.gifts-success-gift-animation > :is(svg,video,img),
.gifts-success-gift > img {
  object-fit: contain;
}
.gifts-success-mark.is-pending img {
  filter: drop-shadow(0 16px 22px rgba(21, 63, 48, 0.12));
}
.gifts-success-mark span[data-success-mark] {
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 58px;
  font-weight: 800;
}
.gifts-success-mark.is-failed {
  width: 220px;
  height: 220px;
}
.gifts-success-mark.is-failed span[data-success-mark] {
  background: #8f3040;
}
.gifts-view--success .gifts-button--violet {
  background: #000;
}
.gifts-view--success h1,
.gifts-view--success .gifts-lead {
  font-weight: 300;
}
.gifts-view--success .gifts-success-mark.is-pending ~ .gifts-lead {
  margin-bottom: clamp(56px, calc(100svh - 598px), 202px);
}
.gifts-renewal-countdown {
  display: grid;
  gap: 7px;
  width: min(100%, 390px);
  margin: 22px auto 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f3f8f4;
  text-align: center;
}
.gifts-renewal-countdown[hidden] { display: none; }
.gifts-renewal-countdown > span,
.gifts-renewal-countdown > small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.gifts-renewal-countdown strong {
  color: var(--ink);
  font-size: clamp(25px, 8vw, 34px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.gifts-retry {
  display: inline-block;
  margin: 16px;
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
}
.gifts-view--empty {
  padding-top: clamp(52px, 12svh, 108px);
  text-align: center;
}
.gifts-empty-orbit {
  position: relative;
  display: grid;
  width: 164px;
  height: 164px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid rgba(21,63,48,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.74);
}
.gifts-empty-orbit:before,
.gifts-empty-orbit span {
  position: absolute;
  border: 1px dashed rgba(21,63,48,.18);
  border-radius: 50%;
  content: "";
}
.gifts-empty-orbit:before { inset: 18px; }
.gifts-empty-orbit span { inset: 45px; }
.gifts-empty-orbit i { position: relative; color: #345e49; font-size: 42px; font-style: normal; font-weight: 600; }
.gifts-empty-kicker { display: block; margin-bottom: 10px; color: #668073; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.gifts-view--empty h1 { font-size: clamp(34px,10vw,46px); }
.gifts-view--empty .gifts-lead { max-width: 350px; margin: 16px auto 26px; }
.gifts-empty-note { display: block; max-width: 310px; margin: 15px auto 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.gifts-view--paused {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  align-items: center;
  flex-direction: column;
  padding-top: clamp(38px, 8svh, 76px);
  padding-bottom: max(22px, env(safe-area-inset-bottom));
}
.gifts-view--cycle {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-rows: minmax(150px, 1fr) auto auto auto;
  align-items: center;
  padding-top: clamp(10px, 3svh, 28px);
  padding-bottom: max(22px, env(safe-area-inset-bottom));
}
.gifts-cycle-clock {
  display: block;
  width: min(222px, 60vw);
  height: min(222px, 60vw);
  margin: auto;
  object-fit: contain;
}
.gifts-cycle-copy h1 {
  max-width: 370px;
  margin-inline: auto;
  font-size: clamp(30px, 8.5vw, 38px);
  font-weight: 300;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.gifts-cycle-copy .gifts-lead {
  max-width: 350px;
  margin: 13px auto 0;
  font-weight: 300;
  text-wrap: pretty;
}
.gifts-cycle-countdown {
  margin-top: 20px;
  margin-bottom: 0;
  padding-block: 17px;
}
.gifts-cycle-countdown strong {
  font-size: clamp(27px, 8vw, 34px);
}
.gifts-cycle-legal {
  width: 100%;
  margin-top: 12px;
}
.gifts-resume-subscription {
  margin-top: 24px;
  border-radius: 999px;
  background: #000;
  font-weight: 400;
}
.gifts-resume-subscription[aria-disabled="true"] {
  opacity: 0.46;
  pointer-events: none;
}
.gifts-paused-clock {
  display: block;
  width: min(250px, 68vw);
  height: min(250px, 68vw);
  margin: 0 auto 24px;
  object-fit: contain;
}
.gifts-view--paused h1 {
  max-width: 370px;
  font-size: clamp(31px, 9vw, 39px);
  font-weight: 300;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.gifts-view--paused .gifts-lead {
  max-width: 330px;
  margin: 15px auto 0;
  font-weight: 300;
  text-wrap: pretty;
}
.gifts-paused-legal {
  width: 100%;
  margin-top: auto;
}
.gifts-reel-item--empty { display: grid; place-items: center; background: rgba(255,255,255,.74); }
.gifts-reel-item--empty:before { color: #6f8279; font-size: 28px; font-weight: 700; content: "?"; }
.gifts-support a {
  color: var(--dark);
  font-weight: 700;
}
.gifts-view.is-entering {
  animation: gifts-enter 0.45s var(--ease) both;
}
@keyframes gifts-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gifts-checkout-copy-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gifts-checkout-button-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gifts-roulette-cta-nudge {
  0%,
  70%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  78% {
    transform: translate3d(0, -4px, 0) scale(1.012);
  }
  85% {
    transform: translate3d(0, 0, 0) scale(0.995);
  }
  91% {
    transform: translate3d(0, -1px, 0) scale(1.004);
  }
}
@keyframes gifts-consent-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 431px) {
  body {
    padding: 24px;
  }
  .gifts-app {
    min-height: calc(100svh - 48px);
    border-radius: 34px;
  }
  .gifts-app.has-compact-checkout {
    height: calc(100svh - 48px);
    min-height: calc(100svh - 48px);
  }
}
@media (max-height: 700px) {
  .gifts-view--paused {
    padding-top: 18px;
  }
  .gifts-paused-clock {
    width: min(184px, 52vw);
    height: min(184px, 52vw);
    margin-bottom: 14px;
  }
  .gifts-view--paused h1 {
    max-width: 330px;
    font-size: 29px;
  }
  .gifts-view--paused .gifts-lead {
    margin-top: 9px;
  }
  .gifts-paused-legal {
    padding-top: 14px;
  }
  .gifts-view--cycle {
    grid-template-rows: minmax(126px, 1fr) auto auto auto;
    padding-top: 0;
  }
  .gifts-cycle-clock {
    width: min(164px, 46vw);
    height: min(164px, 46vw);
  }
  .gifts-cycle-copy h1 {
    font-size: 28px;
  }
  .gifts-cycle-copy .gifts-lead {
    margin-top: 8px;
    font-size: 12px;
  }
  .gifts-cycle-countdown {
    gap: 4px;
    margin-top: 12px;
    padding-block: 12px;
  }
  .gifts-cycle-countdown strong {
    font-size: 27px;
  }
  .gifts-cycle-legal {
    margin-top: 4px;
    padding-top: 10px;
  }
  .gifts-resume-subscription {
    margin-top: 17px;
  }
  .gifts-view[data-view="roulette"] {
    padding-top: 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .gifts-view[data-view="roulette"] .gifts-promo {
    margin-block: 8px 6px;
  }
  .gifts-view[data-view="roulette"] .gifts-countdown {
    padding-block: 10px 12px;
  }
  .gifts-view[data-view="roulette"] .gifts-arena {
    height: 255px;
    margin-block: 8px 10px;
  }
  .gifts-view[data-view="roulette"] .gifts-case-preview {
    width: 240px;
    height: 240px;
  }
  .gifts-view[data-view="roulette"] .gifts-reel-window {
    height: 184px;
  }
  .gifts-view[data-view="roulette"] .gifts-reel-item {
    width: 138px;
    height: 156px;
    flex-basis: 138px;
  }
  .gifts-view[data-view="roulette"] :is(.gifts-reel-item img,.gifts-reel-animation,.gifts-reel-gift-emoji) {
    width: 130px;
    height: 130px;
  }
  .gifts-view[data-view="roulette"] .gifts-reel-marker {
    width: 146px;
  }
  .gifts-view--checkout.is-compact-checkout {
    padding-top: 4px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .gifts-view--checkout.is-compact-checkout h1 {
    font-size: 27px;
  }
  .gifts-view--checkout.is-compact-checkout .gifts-lead {
    margin-top: 5px;
    font-size: 11px;
  }
  .gifts-view--checkout.is-compact-checkout .gifts-provider,
  .gifts-view--checkout.is-compact-checkout .gifts-legal {
    margin-top: 7px;
  }
  .gifts-view--checkout.is-compact-checkout[data-checkout-mode="creator"] .gifts-creator-form {
    gap: 9px;
    margin-bottom: 18px;
  }
  .gifts-view--checkout.is-compact-checkout[data-checkout-mode="creator"] .gifts-saved-card {
    padding-block: 10px;
  }
  .gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] {
    padding-top: 18px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  .gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] .gifts-checkout-actions {
    margin-bottom: clamp(20px, 5svh, 35px);
  }
  .gifts-view--checkout.is-compact-checkout[data-checkout-mode="resume"] .gifts-provider {
    margin-top: 35px;
  }
}
@media (max-width: 350px) {
  .gifts-header {
    padding-inline: 17px;
  }
  .gifts-view {
    padding-inline: 16px;
  }
  .gifts-social-proof {
    margin-left: 0;
    font-size: 14px;
  }
  .gifts-view[data-view="revealed"] {
    padding-top: 26px;
    padding-bottom: clamp(18px, 14svh, 124px);
  }
  .gifts-miniapp {
    padding-inline: 12px;
  }
  .gifts-order-art {
    width: 118px;
    height: 118px;
  }
  .gifts-order-meta {
    gap: 9px;
  }
  .gifts-order-meta b {
    font-size: 40px;
  }
  .gifts-view--cycle {
    padding-inline: 16px;
  }
  .gifts-cycle-copy h1 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .gifts-case-preview,
  .gifts-roulette-stage {
    transform: none !important;
    transition: opacity 200ms var(--ease) !important;
  }
}
