.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.btn-primary {
  border: none;
  background: #ffffff;
  color: #171922;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.028);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary:hover:not(:disabled),
.btn-ghost:hover:not(:disabled) {
  transform: scale(0.99);
  opacity: 0.95;
}

.btn-primary:active:not(:disabled),
.btn-ghost:active:not(:disabled) {
  transform: scale(0.97);
}

.grid {
  display: grid;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 9, 14, 0.54);
  z-index: 40;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: rgba(24, 27, 36, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
}

.modal-close {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
}

.modal-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

body.burger-menu-open {
  overflow: hidden;
}

.side-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: transparent;
  transition: opacity 0.2s ease, visibility 0s linear 0.24s;
}

.side-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.side-menu__panel {
  box-sizing: border-box;
  position: absolute;
  top: 52px;
  right: 12px;
  left: auto;
  width: min(calc(100vw - 42px), 340px);
  max-height: min(284px, calc(100dvh - 36px));
  padding: 9px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(22, 24, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 14px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  overflow: visible;
  transform: translate3d(0, 8px, 0);
  transform-origin: top right;
  transition: opacity 0.22s ease, transform 0.24s var(--motion-ease-soft, cubic-bezier(0.22, 0.61, 0.36, 1));
  will-change: opacity, transform;
}

.side-menu.open .side-menu__panel {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.side-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.side-menu__title {
  font-size: 15px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0;
  color: #ffffff;
}

.side-menu__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.side-menu .close {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #f2f4fb;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.side-menu .close:active {
  transform: scale(0.98);
}

.side-menu .close-icon {
  width: 10px;
  height: 10px;
}

.side-menu .close-icon path {
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side-menu__primary-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.side-menu__utility-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 7px;
  align-items: start;
}

.side-menu__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 13px;
  background: rgba(30, 32, 42, 0.78);
  color: #f5f6fb;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    transform var(--motion-fast) var(--motion-ease-enter),
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.side-menu__link:active {
  transform: scale(0.97);
}

.side-menu__link--primary {
  display: grid;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 8px 10px;
  grid-template-columns: 31px minmax(0, 1fr) 10px;
}

.side-menu__link--notification {
  grid-template-columns: 31px minmax(0, 1fr) 10px;
}

.side-menu__link--notification-active {
  grid-template-columns: 31px minmax(0, 1fr) auto 10px;
  background: rgba(35, 34, 50, 0.76);
  border-color: rgba(124, 92, 255, 0.08);
}

.side-menu__link-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.side-menu__link-copy--stacked {
  justify-content: center;
}

.side-menu__link-subtitle {
  font-size: 9px;
  line-height: 12px;
  font-weight: 500;
  color: rgba(220, 224, 235, 0.7);
  letter-spacing: 0;
}

.side-menu .link-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  color: #f4f5fa;
  flex: 0 0 auto;
  box-shadow: none;
}

.side-menu .link-text {
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: #f5f6fb;
}

.side-menu__icon-asset {
  width: 28px;
  height: 28px;
  display: block;
}

.side-menu__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  border: 0;
  background: #6047d7;
  color: #ffffff;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  flex: 0 0 auto;
  white-space: nowrap;
}

.side-menu__badge[hidden] {
  display: none;
}

.side-menu__link-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  color: rgba(244, 247, 255, 0.88);
}

.side-menu__link-chevron svg {
  width: 10px;
  height: 10px;
  display: block;
}

.side-menu__link-chevron path {
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.side-menu .icon--fill {
  stroke: none;
  fill: currentColor;
}

.side-menu .icon--fill path {
  fill: currentColor !important;
  stroke: none !important;
}

.side-menu__social-shell {
  min-width: 0;
  display: flex;
  align-items: stretch;
  padding: 4px;
  border-radius: 13px;
  background: rgba(30, 32, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.side-menu .social-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
}

.side-menu .social-btn {
  position: relative;
  min-height: 40px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
  color: #f5f6fb;
  transform: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.side-menu .social-btn:active {
  transform: none;
}

.side-menu .social-icon {
  width: 25px;
  height: 25px;
  fill: currentColor;
  flex: 0 0 auto;
  transform-origin: center;
  transition: transform 0.18s ease;
}

.side-menu__lang-block {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  z-index: 1;
}

.side-menu__lang-block.is-open {
  z-index: 4;
}

.side-menu .lang-toggle {
  width: 100%;
  min-height: 48px;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 13px;
  background: rgba(30, 32, 42, 0.78);
  color: #f5f6fb;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.side-menu .lang-toggle-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.side-menu .lang-toggle-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.side-menu .lang-toggle-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  color: #f5f6fb;
}

.side-menu .lang-toggle-icon svg {
  width: 27px;
  height: 27px;
  display: block;
}

.side-menu .lang-main {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: auto;
  width: auto;
  flex: 0 0 auto;
}

.side-menu .lang-text {
  font-size: 12px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.side-menu .lang-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b2bbd0;
  transition: transform 0.18s ease;
  flex: 0 0 auto;
}

.side-menu .lang-chevron svg {
  width: 14px;
  height: 14px;
  display: block;
}

.side-menu .lang-chevron.flipped {
  transform: rotate(180deg);
}

.side-menu .lang-menu {
  position: absolute;
  left: auto;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 2px;
  min-width: 0;
  width: 126px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(19, 21, 29, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translate3d(0, 6px, 0);
  pointer-events: none;
  transition: max-height 0.2s ease, opacity 0.18s ease, transform 0.2s var(--motion-ease-soft, cubic-bezier(0.22, 0.61, 0.36, 1)), padding 0.18s ease;
  z-index: 4;
}

.side-menu__lang-block.is-open .lang-menu,
.side-menu .lang-menu.open {
  opacity: 1;
  max-height: 104px;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.side-menu .lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #f5f6fb;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.16s ease, background 0.18s ease, color 0.18s ease;
}

.side-menu .lang-item:active {
  transform: scale(0.985);
  background: rgba(255, 255, 255, 0.08);
}

.side-menu .lang-item.active {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.side-menu .lang-item-copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

.side-menu .lang-item-label-text {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  color: rgba(245, 247, 255, 0.76);
}

.side-menu .lang-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  color: #ece6ff;
}

.side-menu .lang-item.active .lang-check {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .side-menu .close:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
  }

  .side-menu__link:hover {
    transform: scale(0.99);
    background: rgba(38, 40, 52, 0.86);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .side-menu .social-btn:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
  }

  .side-menu .social-btn:hover .social-icon {
    transform: scale(0.96);
  }

  .side-menu .social-btn:active .social-icon {
    transform: scale(0.93);
  }

  .side-menu .lang-toggle:hover {
    color: #ffffff;
  }

  .side-menu .lang-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
  }

  .side-menu__lang-block:hover:not(.is-open) .lang-toggle {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(38, 40, 52, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }
}

.side-menu__link:focus-visible,
.side-menu .social-btn:focus-visible,
.side-menu .lang-toggle:focus-visible,
.side-menu .lang-item:focus-visible,
.side-menu .close:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 3px rgba(122, 99, 255, 0.22);
}

.side-menu__link:focus-visible,
.side-menu .social-btn:focus-visible,
.side-menu .lang-toggle:focus-visible,
.side-menu .close:focus-visible {
  border-color: rgba(162, 146, 255, 0.38);
}

.side-menu .lang-item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

@media (max-width: 520px) {
  .side-menu__panel {
    width: min(calc(100vw - 42px), 340px);
    max-height: min(284px, calc(100dvh - 30px));
    padding: 9px 12px 10px;
  }

  .side-menu__title {
    font-size: 15px;
    line-height: 18px;
  }

  .side-menu .close {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .side-menu__link {
    min-height: 54px;
    padding: 8px 10px;
  }

  .side-menu__link--primary {
    min-height: 56px;
    grid-template-columns: 31px minmax(0, 1fr) 10px;
    padding: 8px 10px;
  }

  .side-menu__link--notification-active {
    grid-template-columns: 31px minmax(0, 1fr) auto 10px;
  }

  .side-menu .link-icon {
    width: 31px;
    height: 31px;
  }

  .side-menu .link-text {
    font-size: 12px;
    line-height: 15px;
  }

  .side-menu__link-subtitle {
    font-size: 9px;
    line-height: 12px;
  }

  .side-menu__utility-strip {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 7px;
  }

  .side-menu__social-shell {
    padding: 4px;
  }

  .side-menu .social-btn {
    min-height: 40px;
  }

  .side-menu .lang-toggle {
    min-height: 48px;
    padding: 7px 8px;
  }

  .side-menu .lang-toggle-icon {
    width: 26px;
    height: 26px;
  }

  .side-menu .lang-text {
    font-size: 12px;
    line-height: 14px;
  }

  .side-menu .lang-menu {
    top: calc(100% + 8px);
    width: 126px;
  }

  .side-menu__lang-block.is-open .lang-menu,
  .side-menu .lang-menu.open {
    padding: 6px;
  }

  .side-menu .lang-item {
    min-height: 40px;
    padding: 0 10px;
  }

  .side-menu .lang-item-label-text {
    font-size: 13px;
    line-height: 16px;
  }
}

@media (max-width: 380px) {
  .side-menu__panel {
    width: min(calc(100vw - 28px), 340px);
  }

  .side-menu__utility-strip {
    grid-template-columns: minmax(0, 1fr) 100px;
  }

  .side-menu .close {
    width: 26px;
    height: 26px;
  }

  .side-menu__link--primary {
    gap: 12px;
  }

  .side-menu__badge {
    min-height: 18px;
    padding: 0 7px;
  }

  .side-menu .social-row {
    gap: 2px;
  }

  .side-menu .social-btn {
    min-height: 40px;
  }

  .side-menu .lang-toggle {
    min-height: 48px;
  }
}

/* App bottom sheets (payment success, out of credits) */
.app-bottom-sheet-modal {
  --app-sheet-motion: 0.16s;
  --app-sheet-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(5, 6, 10, 0);
  transition: opacity var(--app-sheet-motion) var(--app-sheet-ease),
    background var(--app-sheet-motion) var(--app-sheet-ease),
    visibility 0s linear var(--app-sheet-motion);
}

.app-bottom-sheet-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(5, 6, 10, 0.68);
  transition-delay: 0s;
}

.app-bottom-sheet {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 228px;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  overflow: hidden;
  color: var(--tg-theme-text-color, #ffffff);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--app-sheet-motion) var(--app-sheet-ease),
    transform var(--app-sheet-motion) var(--app-sheet-ease);
  will-change: transform, opacity;
}

.app-bottom-sheet-modal.open .app-bottom-sheet,
.app-bottom-sheet-modal.is-ready .app-bottom-sheet {
  opacity: 1;
  transform: translateY(0);
}

.payment-success-sheet {
  background:
    radial-gradient(circle at 58% 14%, rgba(56, 255, 133, 0.18), transparent 32%),
    radial-gradient(circle at 42% 72%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, #0f1725 0%, #101827 42%, #0f1a2b 100%);
}

.credits-sheet {
  background:
    radial-gradient(circle at 82% 10%, rgba(77, 69, 255, 0.18), transparent 34%),
    radial-gradient(circle at 70% 14%, rgba(53, 255, 140, 0.12), transparent 26%),
    radial-gradient(circle at 42% 74%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, #101726 0%, #11192b 44%, #0f1a2b 100%);
}

.payment-failed-sheet {
  background:
    radial-gradient(circle at 58% 14%, rgba(255, 92, 92, 0.18), transparent 32%),
    radial-gradient(circle at 42% 72%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, #1a1010 0%, #1f1218 42%, #1a1018 100%);
}

.payment-success-sheet__grabber,
.credits-sheet__grabber,
.payment-failed-sheet__grabber {
  width: 54px;
  height: 5px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.payment-success-sheet__content,
.credits-sheet__content,
.payment-failed-sheet__content {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 14px;
}

.payment-success-sheet__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #3ce886 0%, #2fd06f 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(47, 208, 111, 0.28);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.credits-sheet__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  color: #ffffff;
  background: transparent;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.payment-success-sheet__title,
.credits-sheet__title,
.payment-failed-sheet__title {
  margin: 2px 0 8px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.payment-success-sheet__text {
  margin: 0;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.25;
}

.credits-sheet__text {
  margin: 0;
  max-width: 294px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 400;
}

.payment-failed-sheet__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ff6b6b 0%, #e54848 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(229, 72, 72, 0.28);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.payment-failed-sheet__text {
  margin: 0;
  max-width: 294px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.25;
}

.payment-success-sheet__actions,
.credits-sheet__actions,
.payment-failed-sheet__actions {
  margin-top: 22px;
}

.payment-success-sheet__button,
.credits-sheet__button,
.payment-failed-sheet__button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #f4f4f4;
  color: #111111;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.payment-success-sheet__button:active,
.credits-sheet__button:active,
.payment-failed-sheet__button:active {
  transform: scale(0.985);
}

body.payment-success-open .footer.tap-bar.bottom-bar,
body.out-of-credits-open .footer.tap-bar.bottom-bar,
body.payment-failed-open .footer.tap-bar.bottom-bar {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 480px) {
  .app-bottom-sheet {
    max-width: 100%;
    min-height: 220px;
    padding: 12px 16px calc(18px + env(safe-area-inset-bottom));
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
  }

  .payment-success-sheet__grabber,
  .credits-sheet__grabber {
    margin-bottom: 20px;
  }

  .payment-success-sheet__content,
  .credits-sheet__content {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .payment-success-sheet__icon,
  .credits-sheet__icon {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }

  .payment-success-sheet__title,
  .credits-sheet__title {
    font-size: 20px;
  }

  .payment-success-sheet__text,
  .credits-sheet__text {
    font-size: 14px;
  }

  .payment-success-sheet__button,
  .credits-sheet__button {
    min-height: 52px;
    border-radius: 15px;
  }
}
