@font-face {
  font-family: Manrope;
  src: url("./assets/fonts/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #10090c;
  --surface: #1e1016;
  --raised: #2a151d;
  --inset: #160b10;
  --ink: #fff5f3;
  --secondary: #ccb1b6;
  --muted: #ad8d96;
  --edge: rgba(238, 167, 178, 0.12);
  --accent: #ce3434;
  --focus: #ffb7b1;
  --accent-rgb: 206, 52, 52;
  --accent-soft: #ffaaa7;
  --button-top: #cf343b;
  --button-bottom: #a6212f;
  --radius: 28px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --safe-top: var(--tg-content-safe-area-inset-top, 0px);
  --safe-bottom: var(--tg-content-safe-area-inset-bottom, 0px);
  --safe-left: var(--tg-content-safe-area-inset-left, 0px);
  --safe-right: var(--tg-content-safe-area-inset-right, 0px);
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-bottom: 120px;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
}
button:disabled {
  cursor: default;
}
button,
a {
  transition:
    transform 160ms var(--ease),
    opacity 160ms var(--ease),
    background-color 160ms var(--ease),
    border-color 160ms var(--ease);
}
button:active,
a:active {
  transform: scale(0.98);
}
button:hover,
a:hover {
  filter: brightness(1.08);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: 30px;
  font-weight: 800;
}
h2 {
  font-size: 24px;
  font-weight: 750;
}
h3 {
  font-size: 18px;
  font-weight: 700;
}
small {
  font-size: 13px;
}
input,
select {
  min-width: 0;
  max-width: 100%;
  color: var(--ink);
  border: 0;
  outline: none;
  background: none;
}
input::placeholder {
  color: var(--muted);
  opacity: 1;
}
svg {
  display: block;
}
.icon {
  width: 24px;
  height: 24px;
  flex: none;
}
.brand-icon {
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  padding: 12px;
  border-radius: 12px;
}
.skip-link:focus {
  top: 16px;
}
#main:focus {
  outline: none;
}
strong,
b,
.option-price,
.wallet-pill {
  font-variant-numeric: tabular-nums;
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 650px 520px at 50% -180px,
    rgba(145, 36, 52, 0.2),
    transparent 80%
  );
  z-index: -1;
}
.app-shell {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: calc(24px + var(--safe-top)) max(20px, var(--safe-right))
    calc(124px + var(--safe-bottom)) max(20px, var(--safe-left));
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
  min-height: 44px;
}
.header-start {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.wordmark img {
  border-radius: 11px;
}
.wordmark-light {
  font-weight: 500;
}
.demo-badge {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 3px 5px;
  border: 1px solid var(--edge);
  border-radius: 5px;
}
.wallet-pill {
  padding: 5px 12px 5px 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid rgba(238, 167, 178, 0.23);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 750;
  min-height: 44px;
}
.wallet-pill > span {
  width: 30px;
  height: 30px;
  background: linear-gradient(160deg, var(--button-top), var(--button-bottom));
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.wallet-pill .icon {
  width: 17px;
  height: 17px;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: none;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 50%;
}
.icon-button .icon {
  width: 20px;
  height: 20px;
}
.page-title {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.store-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.store-intro h1 {
  max-width: 360px;
  font-size: 29px;
}
.intro-spark {
  color: var(--accent-soft);
  transform: rotate(12deg);
  opacity: 0.8;
  margin-left: 8px;
}
.intro-spark .icon {
  width: 40px;
  height: 40px;
}
.search-box {
  height: 56px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--edge);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 16px;
  margin: 0 0 24px;
  color: var(--muted);
}
.search-box > input {
  flex: 1;
  height: 100%;
  font-size: 14px;
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.09);
}
.search-box > input:focus-visible {
  outline: none;
}
.search-box > .icon {
  width: 20px;
  height: 20px;
}
.search-submit {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--raised);
  color: var(--secondary);
}
.search-submit .icon {
  width: 18px;
  height: 18px;
}
.clear-search {
  border: none;
  background: none;
  color: var(--muted);
  width: 36px;
  height: 36px;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.wide {
  grid-column: 1/-1;
}
.tone-violet {
  --tint: 166, 126, 255;
  --brand: #a57aff;
  --panel-top: #b08aff;
  --panel-bottom: #6c45cc;
}
.tone-gold {
  --tint: 255, 193, 66;
  --brand: #ffc957;
  --panel-top: #ffd879;
  --panel-bottom: #da941d;
}
.tone-cyan {
  --tint: 44, 178, 240;
  --brand: #4ac6ff;
  --panel-top: #3cc9f6;
  --panel-bottom: #167ac8;
}
.tone-blue {
  --tint: 60, 142, 255;
  --brand: #59a0ff;
  --panel-top: #339fff;
  --panel-bottom: #145bb9;
}
.tone-red {
  --tint: 255, 69, 100;
  --brand: #ff5b76;
  --panel-top: #ff4b68;
  --panel-bottom: #b22547;
}
.tone-mint {
  --tint: 35, 201, 165;
  --brand: #57d9b7;
  --panel-top: #22c9a6;
  --panel-bottom: #0b7669;
}
.tone-green {
  --tint: 30, 215, 96;
  --brand: #4bd878;
  --panel-top: #20d762;
  --panel-bottom: #0b8b3c;
}
.tone-indigo {
  --tint: 102, 102, 255;
  --brand: #8d8dff;
  --panel-top: #6871ff;
  --panel-bottom: #3e3bb4;
}
.tone-peach {
  --tint: 217, 149, 118;
  --brand: #e3aa89;
  --panel-top: #d59c7e;
  --panel-bottom: #a55d43;
}
.tone-silver {
  --tint: 179, 193, 215;
  --brand: #d8e1ee;
  --panel-top: #4b5362;
  --panel-bottom: #222631;
}
.category-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--tint), 0.3);
  background: linear-gradient(
    145deg,
    rgba(var(--tint), 0.09),
    rgba(var(--tint), 0.025)
  );
  padding: 14px;
  display: block;
  min-width: 0;
}
.category-art {
  position: relative;
  height: 88px;
  background: linear-gradient(160deg, var(--panel-top), var(--panel-bottom));
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px -10px rgba(var(--tint), 0.7);
}
.category-art > .icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  stroke-width: 1.4;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.12));
}
.category-copy {
  padding: 12px 2px 2px;
}
.category-copy h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
}
.category-caption {
  display: inline-block;
  color: var(--brand);
  border: 1px solid rgba(var(--tint), 0.25);
  background: rgba(var(--tint), 0.09);
  font-size: 11px;
  line-height: 1.4;
  padding: 3px 8px;
  border-radius: 20px;
  margin-top: 8px;
}
.category-card.wide .category-art {
  height: 112px;
}
.category-card.wide .category-copy {
  padding-bottom: 4px;
}
.category-card.wide .category-caption {
  font-size: 12px;
}
.category-open {
  position: absolute;
  bottom: 23px;
  right: 18px;
  opacity: 0.45;
}
.category-open .icon {
  width: 18px;
  height: 18px;
}
.category-card:not(.wide) .category-open {
  display: none;
}
.category-ai .category-art > .icon {
  width: 56px;
  height: 56px;
  stroke-width: 1.4;
}
.category-ai .category-art {
  background:
    radial-gradient(
      ellipse at 50% 0,
      rgba(255, 255, 255, 0.16),
      transparent 70%
    ),
    linear-gradient(155deg, var(--panel-top), var(--panel-bottom));
}
.art-orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 220px;
  height: 220px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.orbit-two {
  width: 340px;
  height: 340px;
  opacity: 0.6;
}
.ai-satellite {
  position: absolute;
  width: 36px;
  height: 36px;
  background: #ffffff20;
  backdrop-filter: blur(8px);
  border: 1px solid #ffffff25;
  display: grid;
  place-items: center;
  border-radius: 12px;
  transform: rotate(-12deg);
}
.ai-satellite > .icon {
  width: 22px;
  height: 22px;
}
.satellite-one {
  left: 15%;
  top: 23px;
}
.satellite-two {
  right: 15%;
  bottom: 22px;
  transform: rotate(12deg);
}
.telegram-group {
  grid-column: 1/-1;
  margin: 12px 0 8px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.section-heading h2 {
  font-size: 18px;
  letter-spacing: -0.025em;
}
.section-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.telegram-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.telegram-tile {
  background: linear-gradient(
    145deg,
    rgba(var(--tint), 0.11),
    rgba(var(--tint), 0.025)
  );
  border: 1px solid rgba(var(--tint), 0.2);
  border-radius: 24px;
  padding: 16px 8px;
  text-align: center;
  min-width: 0;
}
.telegram-art {
  display: grid;
  place-items: center;
  height: 64px;
  margin-bottom: 8px;
}
.telegram-art > .icon {
  width: 44px;
  height: 44px;
  color: var(--brand);
  filter: drop-shadow(0 4px 12px rgba(var(--tint), 0.25));
}
.telegram-tile h3 {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.telegram-tile > span:last-child {
  font-size: 10px;
  line-height: 1.4;
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.services-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(130deg, #26131a, #190d13);
  border: 1px solid var(--edge);
  border-radius: 28px;
  padding: 20px;
  gap: 16px;
  overflow: hidden;
}
.service-logo-ribbon {
  display: flex;
  gap: 10px;
}
.brand-badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  background: linear-gradient(145deg, var(--panel-top), var(--panel-bottom));
  border-radius: 16px;
  width: 52px;
  height: 52px;
  box-shadow: 0 3px 12px -8px rgba(var(--tint), 0.8);
  color: #fff;
}
.brand-badge .icon {
  width: 28px;
  height: 28px;
}
.service-logo-ribbon .brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}
.service-logo-ribbon .brand-badge .icon {
  width: 25px;
  height: 25px;
}
.services-card h3 {
  font-size: 20px;
}
.services-card p {
  font-size: 12px;
  color: var(--secondary);
  margin-top: 4px;
  max-width: 85%;
}
.quick-section {
  margin-top: 32px;
}
.quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 20px;
  min-width: 0;
}
.quick-card > .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  margin-left: auto;
}
.quick-card .brand-badge {
  height: 40px;
  width: 40px;
  border-radius: 12px;
}
.quick-card .brand-badge > .icon {
  height: 23px;
  width: 23px;
}
.quick-card strong {
  font-size: 14px;
  display: block;
}
.quick-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.monogram {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 32px;
}
.trust-line .icon {
  width: 16px;
  height: 16px;
}
.legal-footer {
  padding: 28px 0 12px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.prototype-note {
  display: block;
  margin-bottom: 12px;
  color: #a3828c;
}
.legal-footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
}
.legal-footer button {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 0;
  min-height: 32px;
  color: var(--muted);
}
.bottom-nav {
  position: fixed;
  z-index: 10;
  bottom: calc(
    20px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom))
  );
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px;
  gap: 4px;
  width: calc(100% - 64px);
  max-width: 360px;
  background: rgba(34, 15, 23, 0.92);
  border: 1px solid #ffffff17;
  border-radius: 30px;
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 40px #0008;
}
.nav-item {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #ad8e97;
  border-radius: 24px;
}
.nav-item > .icon {
  width: 21px;
  height: 21px;
}
.nav-item.is-active {
  color: #fff;
  background: linear-gradient(165deg, var(--button-top), var(--button-bottom));
  box-shadow: 0 2px 14px rgba(var(--accent-rgb), 0.333);
}
.page-heading {
  margin: 8px 0 24px;
}
.page-heading > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.catalog-intro {
  margin: 12px 0 28px;
}
.catalog-intro h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.045em;
}
.catalog-intro h2 > span {
  color: var(--accent-soft);
}
.catalog-intro > p:last-child {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 370px;
  margin-top: 16px;
}
.family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.family-card {
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(
    150deg,
    rgba(var(--tint), 0.1),
    rgba(var(--tint), 0.025)
  );
  border: 1px solid rgba(var(--tint), 0.24);
  min-width: 0;
}
.family-art {
  height: 104px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, var(--panel-top), var(--panel-bottom));
  margin-bottom: 16px;
}
.family-art > .icon {
  width: 48px;
  height: 48px;
}
.family-card h3 {
  font-size: 20px;
}
.family-card > p {
  color: var(--secondary);
  font-size: 12px;
  margin-top: 4px;
}
.tinted-tag {
  display: inline-block;
  color: var(--brand);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(var(--tint), 0.13);
  border: 1px solid rgba(var(--tint), 0.23);
  font-weight: 500;
}
.family-card .tinted-tag {
  margin-top: 12px;
}
.catalog-footnote {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 24px auto 0;
  max-width: 350px;
}
.brand-hero {
  border-radius: 30px;
  border: 1px solid rgba(var(--tint), 0.28);
  background: linear-gradient(
    135deg,
    rgba(var(--tint), 0.08),
    rgba(var(--tint), 0.025)
  );
  padding: 16px;
  margin-bottom: 32px;
}
.brand-hero-art {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 128px;
  background: linear-gradient(160deg, var(--panel-top), var(--panel-bottom));
  display: grid;
  place-items: center;
  isolation: isolate;
}
.brand-hero-art > .brand-badge {
  background: none;
  box-shadow: none;
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
}
.brand-hero-art > .brand-badge .icon {
  width: 54px;
  height: 54px;
}
.brand-hero-copy {
  padding: 16px 2px 4px;
}
.brand-hero-copy h2 {
  font-size: 22px;
}
.brand-hero-copy .tinted-tag {
  margin-top: 8px;
}
.brand-hero-copy p {
  font-size: 13px;
  color: var(--secondary);
  margin-top: 12px;
}
.tariff-list {
  display: grid;
  gap: 12px;
}
.tariff-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(var(--tint), 0.3);
  background: rgba(var(--tint), 0.06);
  padding: 16px;
  border-radius: 24px;
}
.tariff-name {
  font-size: 15px;
  font-weight: 650;
}
.tariff-name small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
}
.tariff-price {
  margin-left: auto;
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
  text-align: right;
}
.tariff-price small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.tariff-row > .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.catalog-title {
  margin: 8px 0 24px;
}
.catalog-title h2 {
  font-size: 26px;
}
.search-box.compact {
  margin-bottom: 16px;
  height: 52px;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.filter-chip {
  border: 1px solid var(--edge);
  border-radius: 20px;
  min-height: 40px;
  padding: 7px 16px;
  font-size: 12px;
  color: var(--secondary);
  background: var(--surface);
}
.filter-chip.is-active {
  border-color: rgba(var(--accent-rgb), 0.533);
  color: var(--accent-soft);
  background: rgba(var(--accent-rgb), 0.11);
}
.results-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.product-card {
  overflow: hidden;
  border-radius: 24px;
  min-width: 0;
  border: 1px solid var(--edge);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.product-cover {
  height: 108px;
  position: relative;
  overflow: hidden;
}
.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.platform-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 10px;
  border: 1px solid #ffffff26;
  border-radius: 8px;
  padding: 2px 7px;
  background: #19090fb3;
  backdrop-filter: blur(6px);
}
.product-symbol {
  height: 110px;
  margin: 12px 12px 0;
  border-radius: 14px;
  background:
    radial-gradient(
      ellipse at 50% 0,
      rgba(var(--tint), 0.23),
      transparent 100%
    ),
    rgba(var(--tint), 0.04);
  display: grid;
  place-items: center;
}
.product-symbol > .brand-badge {
  box-shadow: none;
  background: none;
}
.product-symbol > .brand-badge .icon {
  width: 44px;
  height: 44px;
}
.product-card-copy {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card h3 {
  font-size: 15px;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.product-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.45;
}
.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
}
.product-card-bottom strong {
  font-size: 14px;
}
.product-card-bottom > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(var(--tint), 0.1);
  border-radius: 9px;
}
.product-card-bottom .icon {
  height: 16px;
  width: 16px;
}
.fortnite-mark {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.1em;
  transform: rotate(-7deg);
}
.empty-state {
  grid-column: 1/-1;
  padding: 44px 16px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.empty-art {
  width: 112px;
  height: 112px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.094),
    transparent 70%
  );
  margin-bottom: 16px;
}
.empty-art > .icon {
  width: 52px;
  height: 52px;
  color: var(--accent-soft);
  stroke-width: 1.1;
  transform: rotate(-8deg);
}
.empty-art > span {
  position: absolute;
  right: 9px;
  bottom: 18px;
  width: 28px;
  height: 28px;
  background: var(--night);
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.267);
}
.empty-state h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.empty-state > p {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
}
.empty-state > .secondary-button {
  margin-top: 24px;
}
.telegram-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.telegram-switch > a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  border: 1px solid var(--edge);
  border-radius: 24px;
  color: var(--muted);
}
.telegram-switch .icon {
  width: 18px;
  height: 18px;
}
.telegram-switch > a.selected {
  border-color: rgba(var(--accent-rgb), 0.478);
  background: rgba(var(--accent-rgb), 0.078);
  color: var(--accent-soft);
}
.detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(var(--tint), 0.3);
  background: linear-gradient(
    150deg,
    rgba(var(--tint), 0.1),
    rgba(var(--tint), 0.03)
  );
  margin-bottom: 20px;
}
.detail-hero-art {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(
    ellipse at 50% 0,
    rgba(var(--tint), 0.2),
    transparent 90%
  );
}
.detail-hero-art > .brand-badge {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  transform: rotate(-7deg);
  box-shadow: 0 12px 40px -14px rgba(var(--tint), 0.55);
  border: 1px solid #ffffff26;
}
.detail-hero-art > .brand-badge > .icon {
  width: 52px;
  height: 52px;
}
.detail-hero-art .art-orbit {
  border-color: rgba(var(--tint), 0.15);
}
.detail-hero-copy {
  padding: 0 20px 24px;
}
.detail-hero-copy > .tinted-tag {
  margin-bottom: 12px;
}
.detail-hero h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.detail-hero p {
  font-size: 14px;
  color: var(--secondary);
  margin-top: 8px;
}
.detail-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mask-image: linear-gradient(#0008, transparent);
}
.has-cover .detail-hero-art {
  background: none;
}
.order-form {
  padding: 20px;
  border: 1px solid var(--edge);
  border-radius: 26px;
  background: var(--surface);
}
.form-kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 20px;
}
.field-group {
  margin-bottom: 20px;
  min-width: 0;
}
.field-group > label,
.field-label > label,
.variant-fieldset > legend {
  display: block;
  font-size: 13px;
  color: var(--secondary);
  font-weight: 650;
  margin-bottom: 10px;
}
.field-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.text-button {
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
  min-height: 32px;
  padding: 0 0 8px;
}
.input-wrap,
.select-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 52px;
  background: var(--inset);
  border: 1px solid var(--edge);
  border-radius: 14px;
}
.input-wrap:focus-within,
.select-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.082);
}
.input-wrap > .icon,
.select-wrap > .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.input-wrap > input {
  height: 50px;
  flex: 1;
  width: 100%;
  font-size: 14px;
}
.input-wrap > input:focus-visible,
.select-wrap > select:focus-visible {
  outline: none;
}
.input-wrap:has([aria-invalid="true"]) {
  border-color: #ff6c83;
}
.select-wrap select {
  appearance: none;
  width: 100%;
  flex: 1;
  height: 50px;
  font-size: 14px;
}
.select-wrap option {
  background: var(--surface);
}
.select-wrap > .icon:last-child {
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.region-label {
  display: block;
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 650;
}
.region-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--inset);
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.region-trigger > .icon:last-child {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--muted);
}
.region-trigger:hover {
  border-color: var(--accent);
}
.region-trigger {
  cursor: pointer;
  list-style: none;
}
.region-trigger::-webkit-details-marker {
  display: none;
}
.region-picker {
  position: relative;
}
.region-picker[open] {
  z-index: 20;
}
.region-picker[open] > .region-trigger {
  border-color: var(--accent);
}
.region-picker[open] > .region-trigger > .icon:last-child {
  transform: rotate(180deg);
}
.region-flag {
  display: block;
  flex: none;
  width: 32px;
  height: 24px;
  border-radius: 5px;
  object-fit: cover;
}
.region-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  max-height: 280px;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 32px #0007;
  list-style: none;
}
.region-picker:not([open]) > .region-options {
  display: none;
}
.region-picker.opens-up > .region-options {
  top: auto;
  bottom: calc(100% + 8px);
}
.region-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.region-option:focus-visible {
  outline-offset: -3px;
}
.region-option:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
}
.region-option.selected {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
}
.region-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border: 1px solid var(--edge);
  border-radius: 50%;
}
.region-check > .icon {
  width: 13px;
  height: 13px;
  opacity: 0;
}
.region-option.selected .region-check {
  border-color: var(--accent);
  background: var(--accent);
}
.region-option.selected .region-check > .icon {
  opacity: 1;
}
.field-error {
  font-size: 12px;
  display: block;
  color: #ff8c9d;
  margin-top: 7px;
}
.field-error:empty {
  display: none;
}
.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.platform-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 0 0 20px;
  color: var(--secondary);
}
.platform-line .icon {
  height: 18px;
  width: 18px;
}
.platform-line strong {
  color: var(--ink);
  margin-left: auto;
  font-size: 13px;
}
.variant-fieldset,
.payment-methods {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.variant-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.variant-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: var(--inset);
  padding: 12px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  min-height: 64px;
  width: 100%;
}
.variant-option.selected {
  background: rgba(var(--accent-rgb), 0.071);
  border-color: rgba(var(--accent-rgb), 0.533);
}
.variant-option > .brand-badge {
  height: 36px;
  width: 36px;
  border-radius: 11px;
}
.variant-option > .brand-badge > .icon {
  height: 21px;
  width: 21px;
}
.variant-option > span:not(.brand-badge):not(.selection-indicator) {
  min-width: 0;
}
.variant-option strong {
  font-size: 13px;
  line-height: 1.4;
  display: block;
  overflow-wrap: anywhere;
}
.variant-option small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.option-price {
  margin-left: auto;
  white-space: nowrap;
}
.selection-indicator {
  height: 16px;
  width: 16px;
  border: 1px solid #ffffff23;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.selection-indicator .icon {
  width: 11px;
  height: 11px;
  opacity: 0;
}
.variant-option.selected .selection-indicator {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.variant-option.selected .selection-indicator .icon {
  opacity: 1;
}
.quantity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.quantity-grid .variant-option {
  min-height: 50px;
  justify-content: center;
  gap: 6px;
  padding: 10px 4px;
  text-align: center;
  border-radius: 12px;
}
.quantity-grid .variant-option > .icon {
  color: #ffc0ad;
  width: 16px;
  height: 16px;
}
.quantity-grid .variant-option strong {
  font-size: 12px;
}
.quantity-grid .variant-option:last-child {
  grid-column: span 2;
}
.price-summary {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.price-summary > div > span {
  font-size: 12px;
  color: var(--secondary);
}
.price-summary strong {
  display: block;
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -0.045em;
  margin-top: 4px;
  line-height: 1.3;
}
.price-summary > span {
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 4px;
}
.primary-button,
.secondary-button,
.white-button,
.glass-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 750;
  padding: 14px 20px;
  text-align: center;
  line-height: 1.4;
}
.primary-button {
  width: 100%;
  background: linear-gradient(160deg, var(--button-top), var(--button-bottom));
  box-shadow: 0 6px 18px -9px rgba(var(--accent-rgb), 0.733);
  color: #fff;
  border: 1px solid #ffffff12;
  margin-top: 20px;
}
.primary-button > .icon {
  height: 18px;
  width: 18px;
  opacity: 0.75;
}
.secondary-button {
  background: var(--raised);
  border: 1px solid var(--edge);
  font-size: 13px;
}
.secondary-button > .icon {
  height: 18px;
  width: 18px;
}
.full-width {
  width: 100%;
  margin-top: 10px;
}
.white-button {
  background: #fff;
  color: #36131c;
}
.glass-button {
  background: #ffffff24;
  color: white;
}
.form-footnote {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}
.product-info {
  padding: 24px 8px 0;
}
.product-info h3 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}
.product-info h3 .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.product-info ul {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.product-info li {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.product-info li:before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  top: 8px;
  left: 0;
  background: #9b6c76;
}
.info-note {
  font-size: 11px;
  color: var(--muted);
}
.delivery-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--edge);
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}
.delivery-note > .icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.currency-tabs,
.amount-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.currency-tabs button,
.amount-presets button {
  font-size: 12px;
  font-weight: 650;
  min-height: 44px;
  border-radius: 12px;
  background: var(--inset);
  border: 1px solid var(--edge);
}
.currency-tabs button.selected,
.amount-presets button.selected {
  color: var(--accent-soft);
  border-color: rgba(var(--accent-rgb), 0.533);
  background: rgba(var(--accent-rgb), 0.094);
}
.amount-input > input {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.amount-input > span {
  color: var(--secondary);
  font-size: 14px;
}
.field-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.field-options button {
  min-height: 44px;
  flex: 1;
  min-width: 80px;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 12px;
  background: var(--inset);
  border: 1px solid var(--edge);
}
.field-options button.selected {
  background: rgba(var(--accent-rgb), 0.102);
  border-color: rgba(var(--accent-rgb), 0.533);
  color: var(--accent-soft);
}
.profile-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(155deg, #c8323b, #8e2435);
  border-radius: 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  box-shadow: 0 14px 32px -24px rgba(var(--accent-rgb), 0.6);
  margin-bottom: 16px;
}
.profile-avatar {
  height: 68px;
  width: 68px;
  background: linear-gradient(160deg, #4d1c27, #281018);
  border: 1px solid #ffffff2b;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 750;
  position: relative;
  box-shadow: 0 8px 20px -8px #6f182b;
  margin-bottom: 12px;
}
.profile-avatar > span {
  position: absolute;
  bottom: -3px;
  right: -5px;
  height: 24px;
  width: 24px;
  background: #ffbfbb;
  border: 2px solid #be303b;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #83212f;
}
.profile-avatar .icon {
  width: 13px;
  height: 13px;
}
.profile-hero h2 {
  font-size: 23px;
}
.profile-username {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 3px;
}
.profile-id {
  font-size: 11px;
  background: rgba(var(--accent-rgb), 0.267);
  padding: 4px 10px;
  border-radius: 8px;
  margin-top: 10px;
}
.profile-arc {
  position: absolute;
  border: 1px solid rgba(var(--accent-rgb), 0.467);
  border-radius: 50%;
  width: 145%;
  height: 200px;
  top: 77%;
  left: -22%;
  z-index: -1;
  background: rgba(var(--accent-rgb), 0.133);
}
.arc-two {
  top: 89%;
  width: 180%;
  left: -40%;
  background: rgba(var(--accent-rgb), 0.133);
}
.wallet-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(120deg, #35161d, #a32736);
  border-radius: 30px;
  padding: 24px;
  margin-bottom: 16px;
}
.wallet-card > p {
  font-size: 14px;
}
.wallet-card > strong {
  display: block;
  font-size: 42px;
  letter-spacing: -0.05em;
  font-weight: 650;
  line-height: 1.3;
  margin-top: 4px;
}
.wallet-card > span {
  display: block;
  max-width: 280px;
  color: #e2bdc3;
  font-size: 12px;
  margin-top: 4px;
}
.wallet-decoration {
  position: absolute;
  z-index: -1;
  right: -20px;
  top: -20px;
  transform: rotate(-16deg);
  color: #f09298;
  opacity: 0.12;
}
.wallet-decoration .icon {
  height: 180px;
  width: 180px;
  stroke-width: 1;
}
.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.wallet-actions > a,
.wallet-actions > button {
  font-size: 13px;
  border-radius: 24px;
  min-height: 46px;
  padding: 12px;
}
.wallet-actions .icon {
  width: 17px;
  height: 17px;
}
.referral-card {
  padding: 20px;
  border-radius: 30px;
  background: linear-gradient(145deg, #25151c, #2b151e);
  border: 1px solid var(--edge);
  margin-bottom: 16px;
}
.referral-intro {
  display: flex;
  gap: 14px;
  align-items: center;
}
.feature-icon {
  display: grid;
  place-items: center;
  height: 48px;
  width: 48px;
  flex: none;
  border: 1px solid rgba(var(--accent-rgb), 0.467);
  border-radius: 16px;
  background: linear-gradient(150deg, var(--button-top), var(--button-bottom));
  box-shadow: 0 6px 22px -10px rgba(var(--accent-rgb), 0.467);
}
.referral-intro h2 {
  font-size: 17px;
}
.referral-intro p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #16090e44;
  border-radius: 20px;
  padding: 16px;
  margin-top: 20px;
}
.referral-stats > div {
  text-align: center;
}
.referral-stats > div + div {
  border-left: 1px solid var(--edge);
}
.referral-stats span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.referral-stats strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  margin-top: 3px;
}
.referral-stats > div + div strong {
  color: var(--accent-soft);
}
.referral-card .primary-button {
  margin-top: 16px;
}
.referral-hint {
  text-align: center;
  font-size: 10px;
  margin-top: 10px;
  color: var(--muted);
}
.profile-links {
  display: grid;
  gap: 8px;
}
.profile-links > button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 18px;
  font-size: 14px;
  text-align: left;
}
.profile-links > button .icon:first-child {
  width: 20px;
  height: 20px;
  color: #d0aab3;
}
.profile-links > button .icon:last-child {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.reset-button {
  display: block;
  width: 100%;
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
  min-height: 44px;
}
.orders-list {
  display: grid;
  gap: 12px;
}
.order-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 22px;
  min-width: 0;
  width: 100%;
  text-align: left;
}
.order-card .brand-badge {
  height: 44px;
  width: 44px;
  border-radius: 14px;
}
.order-card .brand-badge .icon {
  height: 25px;
  width: 25px;
}
.order-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.order-status {
  font-size: 10px;
  color: #66d2ad;
  display: flex;
  gap: 4px;
  align-items: center;
}
.order-status .icon {
  width: 12px;
  height: 12px;
}
.order-copy > strong {
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.order-copy > small {
  font-size: 10px;
  color: var(--muted);
}
.order-price {
  font-size: 13px;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
}
.order-price > .icon {
  width: 16px;
  height: 16px;
  margin: 8px 0 0 auto;
  color: var(--muted);
}
/* Native dialog supplies modal focus trapping and Escape dismissal. */
.modal {
  --sheet-gutter: 24px;
  position: fixed;
  inset: auto 0 0;
  width: min(100%, 560px);
  max-width: 100%;
  max-height: calc(100dvh - max(24px, var(--safe-top)));
  margin: 0 auto;
  padding: 32px var(--sheet-gutter)
    calc(24px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom)));
  border-radius: 32px 32px 0 0;
  background: #1c1017;
  color: var(--ink);
  border: 1px solid #ffffff24;
  border-bottom: 0;
  overflow: auto;
  box-shadow: 0 -10px 80px #0005;
  animation: sheet-in 240ms var(--ease);
}
.modal::backdrop {
  background: #090205b3;
  backdrop-filter: blur(8px);
}
.modal h2 {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.035em;
  padding-right: 32px;
}
.modal-subtitle {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
  margin-bottom: 20px;
}
.sheet-handle {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: #ffffff30;
  border-radius: 10px;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 22px;
  width: 32px;
  height: 32px;
  background: #ffffff05;
  border-color: #ffffff0c;
  color: var(--muted);
}
.modal-close .icon {
  width: 16px;
  height: 16px;
}
.checkout-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(var(--tint), 0.25);
  background: rgba(var(--tint), 0.04);
  border-radius: 22px;
  margin-top: 20px;
}
.checkout-product > .brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}
.checkout-product .brand-badge > .icon {
  width: 27px;
  height: 27px;
}
.checkout-product > span {
  min-width: 0;
}
.checkout-product strong {
  font-size: 14px;
  display: block;
}
.checkout-product small {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.checkout-product b {
  margin-left: auto;
  white-space: nowrap;
  font-size: 14px;
}
.checkout-recipient {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  margin: 8px 0 20px;
  background: #ffffff03;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  color: var(--secondary);
  font-size: 11px;
  overflow-wrap: anywhere;
  align-items: center;
}
.checkout-recipient .icon {
  height: 16px;
  width: 16px;
}
.payment-methods legend {
  font-size: 10px;
  letter-spacing: 0.09em;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 12px;
}
.payment-method {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--edge);
  border-radius: 19px;
  margin-bottom: 8px;
  background: #190d13;
}
.payment-method > input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.payment-method:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.payment-method.selected {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.082);
}
.method-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #ffffff06;
  color: var(--accent-soft);
}
.method-icon > .icon {
  width: 21px;
  height: 21px;
}
.method-sbp {
  color: #f2b2a8;
}
.method-crypto {
  color: #f2b2a8;
}
.method-copy {
  min-width: 0;
}
.method-copy > strong {
  display: block;
  font-size: 13px;
}
.method-copy > small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.method-price {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}
.method-price small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}
.radio-mark {
  border: 1px solid #ffffff25;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  flex: none;
}
.selected .radio-mark {
  border: 5px solid var(--accent);
  background: #fff;
}
.method-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.balance-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff04;
  padding: 12px;
  border: 1px solid var(--edge);
  border-radius: 18px;
  margin-bottom: 20px;
  cursor: pointer;
}
.balance-toggle strong {
  display: block;
  font-size: 13px;
}
.balance-toggle small {
  color: var(--muted);
  font-size: 11px;
  display: block;
}
.balance-toggle input {
  position: absolute;
  opacity: 0;
}
.balance-toggle:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.switch {
  width: 36px;
  height: 22px;
  margin-left: auto;
  border-radius: 20px;
  background: #56333d;
  position: relative;
  flex: none;
}
.switch:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 160ms var(--ease);
}
.balance-toggle input:checked + .switch {
  background: var(--accent);
}
.balance-toggle input:checked + .switch:before {
  transform: translateX(14px);
}
.checkout-totals {
  margin-top: 16px;
}
.checkout-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.checkout-totals b {
  font-size: 11px;
  color: var(--secondary);
}
.checkout-totals .grand-total {
  font-size: 15px;
  color: var(--ink);
  margin-top: 16px;
}
.grand-total strong {
  font-size: 27px;
  letter-spacing: -0.035em;
}
.checkout-sheet .primary-button {
  margin-top: 16px;
}
.payment-illustration {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: rgba(var(--accent-rgb), 0.078);
  border: 1px solid rgba(var(--accent-rgb), 0.141);
  border-radius: 30px;
  margin: 16px auto 24px;
  position: relative;
  color: var(--accent-soft);
}
.payment-illustration > .icon {
  width: 44px;
  height: 44px;
  stroke-width: 1.3;
}
.payment-orbit {
  position: absolute;
  right: -10px;
  bottom: -6px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #49202c;
  border: 3px solid #1c1017;
}
.payment-orbit > .icon {
  width: 20px;
  height: 20px;
}
.payment-sheet > h2,
.payment-sheet > .modal-subtitle {
  text-align: center;
  padding-right: 0;
}
.payment-facts {
  margin: 24px 0;
}
.payment-facts > div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--edge);
  font-size: 13px;
}
.payment-facts span {
  color: var(--muted);
}
.payment-facts strong {
  text-align: right;
  max-width: 65%;
}
.receipt-success {
  margin: 16px auto 20px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, #43d0ac, #158b74);
  box-shadow: 0 0 44px -15px #24b89480;
}
.receipt-success > .icon {
  width: 34px;
  height: 34px;
  stroke-width: 2;
}
.receipt-sheet {
  text-align: center;
}
.receipt-sheet h2 {
  padding-right: 0;
  font-size: 28px;
}
.success-text {
  color: #62d4b2;
  font-size: 10px;
}
.receipt-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--inset);
  padding: 24px 20px;
  border: 1px solid var(--edge);
  border-radius: 20px;
  margin: 24px 0;
  text-align: center;
}
.receipt-content > span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.receipt-content > code {
  font-family: Manrope, monospace;
  font-size: 15px;
  color: var(--accent-soft);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.receipt-content > .icon {
  width: 36px;
  height: 36px;
  color: var(--accent-soft);
}
.receipt-content .secondary-button {
  font-size: 12px;
  min-height: 40px;
  padding: 8px 16px;
}
.activation-warning {
  display: flex;
  gap: 8px;
  text-align: left;
  font-size: 11px;
  color: var(--muted);
  padding: 0 4px;
}
.activation-warning > .icon {
  width: 16px;
  height: 16px;
  color: #d4aa95;
}
.receipt-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin: 24px 0;
}
.receipt-meta strong {
  color: var(--secondary);
}
.small-sheet .field-group {
  margin-top: 24px;
}
.small-sheet .amount-presets {
  grid-template-columns: repeat(3, 1fr);
}
.dialog-feature {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(var(--accent-rgb), 0.086);
  color: var(--accent-soft);
  margin: 8px 0 20px;
}
.dialog-feature > .icon {
  width: 30px;
  height: 30px;
}
.dialog-body {
  margin: 20px 0;
  color: var(--secondary);
  font-size: 14px;
}
.dialog-body p + p {
  margin-top: 16px;
}
.sample-link {
  background: var(--inset);
  padding: 16px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  font-size: 13px;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(112px + var(--safe-bottom));
  transform: translate(-50%, 8px);
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  background: #47232f;
  border: 1px solid #ffffff1f;
  box-shadow: 0 10px 30px #0006;
  border-radius: 16px;
  font-size: 13px;
  color: white;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transition:
    transform 180ms var(--ease),
    opacity 180ms var(--ease);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.category-art > .brand-icon {
  filter: brightness(0) invert(1) drop-shadow(0 3px 4px rgba(0, 0, 0, 0.12));
}
.method-copy > strong,
.checkout-product strong,
.variant-option strong {
  font-size: 14px;
}
.method-copy > small,
.method-price small,
.checkout-product small,
.variant-option small,
.product-card p,
.order-copy > small {
  font-size: 12px;
}
.category-caption,
.telegram-tile > span:last-child,
.services-card p,
.quick-card small,
.family-card > p,
.tinted-tag {
  font-size: 12px;
}
.nav-item {
  font-size: 11px;
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 780px) {
  .app-shell {
    width: 100%;
    max-width: 1020px;
    padding: 36px 40px 140px;
  }
  .app-header {
    margin-bottom: 44px;
  }
  .wordmark {
    font-size: 25px;
  }
  .wordmark img {
    height: 38px;
    width: 38px;
  }
  .store-intro {
    margin-bottom: 28px;
  }
  .store-intro h1 {
    font-size: 36px;
    max-width: none;
  }
  .intro-spark {
    margin-right: 4px;
  }
  .search-box {
    margin-bottom: 28px;
  }
  .store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .store-grid > .wide {
    grid-column: span 2;
  }
  .category-ai {
    grid-row: span 1;
  }
  .telegram-group {
    grid-column: span 2;
    margin: 0;
    padding: 16px 0;
  }
  .telegram-group .section-heading {
    margin: 0 0 20px;
  }
  .telegram-tile {
    min-height: 166px;
    padding-top: 24px;
  }
  .telegram-art {
    height: 68px;
  }
  .telegram-tile > span:last-child {
    font-size: 10px;
  }
  .category-card.wide .category-art {
    height: 132px;
  }
  .category-games {
    grid-column: span 2;
  }
  .category-steam,
  .category-topups {
    grid-column: span 1;
  }
  .category-steam .category-art,
  .category-topups .category-art {
    height: 132px;
  }
  .services-card {
    grid-column: 1/-1 !important;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 24px;
  }
  .services-card p {
    max-width: 100%;
    font-size: 13px;
  }
  .services-card .category-open {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick-section {
    margin-top: 40px;
  }
  .quick-grid .quick-card {
    padding: 16px;
  }
  .quick-card strong {
    font-size: 15px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .family-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .family-card {
    padding: 16px;
  }
  .family-art {
    height: 128px;
  }
  .catalog-intro {
    margin-bottom: 32px;
  }
  .catalog-intro h2 {
    font-size: 40px;
  }
  .catalog-intro > p:last-child {
    max-width: 480px;
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .product-card-copy {
    padding: 16px;
  }
  .product-card h3 {
    font-size: 16px;
  }
  .product-card p {
    font-size: 12px;
  }
  .product-cover {
    height: 120px;
  }
  .product-symbol {
    height: 128px;
  }
  .catalog-title h2 {
    font-size: 32px;
  }
  .brand-hero {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .tariff-list {
    max-width: 600px;
    margin: 0 auto;
  }
  .brand-hero + .section-heading {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .detail-hero {
    min-height: 220px;
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 24px;
    padding: 24px;
  }
  .detail-hero-art {
    width: 220px;
    height: 180px;
    flex: none;
    border-radius: 18px;
  }
  .detail-hero-copy {
    padding: 0;
  }
  .detail-hero h2 {
    font-size: 34px;
  }
  .detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }
  .order-form {
    padding: 24px;
  }
  .product-info {
    padding: 12px 0;
  }
  .product-info li {
    font-size: 14px;
  }
  .telegram-switch {
    max-width: 460px;
    margin-bottom: 24px;
  }
  .profile-hero,
  .wallet-card,
  .referral-card,
  .profile-links,
  .reset-button {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .profile-hero {
    min-height: 260px;
  }
  .profile-hero h2 {
    font-size: 26px;
  }
  .profile-links {
    margin-top: 20px;
  }
  .page-heading {
    margin-bottom: 28px;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .orders-list {
    max-width: 700px;
    margin: 0 auto;
  }
  .order-card {
    padding: 20px;
  }
  .order-copy > strong {
    font-size: 15px;
  }
  .order-copy > small {
    font-size: 11px;
  }
  .order-price {
    font-size: 15px;
  }
  .modal {
    inset: 50% 0 auto;
    transform: translateY(-50%);
    max-height: calc(100dvh - 48px);
    border-radius: 32px;
    border-bottom: 1px solid #ffffff24;
    animation: none;
  }
  .sheet-handle {
    display: none;
  }
  .modal {
    padding-top: 28px;
  }
  .bottom-nav {
    bottom: 24px;
  }
  .legal-footer {
    padding-top: 36px;
  }
  .empty-state {
    padding-top: 64px;
    padding-bottom: 80px;
  }
}
@media (max-width: 359px) {
  .app-shell {
    padding-left: max(14px, var(--safe-left));
    padding-right: max(14px, var(--safe-right));
  }
  .wordmark {
    font-size: 20px;
    gap: 6px;
  }
  .demo-badge {
    display: none;
  }
  .store-intro h1 {
    font-size: 26px;
  }
  .intro-spark .icon {
    width: 32px;
    height: 32px;
  }
  .category-card {
    padding: 10px;
    border-radius: 24px;
  }
  .category-art {
    border-radius: 14px;
    height: 80px;
  }
  .category-copy h3 {
    font-size: 17px;
  }
  .category-caption {
    font-size: 10px;
    padding: 3px 6px;
  }
  .category-card.wide .category-caption {
    font-size: 10px;
  }
  .telegram-tile {
    padding: 12px 6px;
    border-radius: 20px;
  }
  .telegram-tile h3 {
    font-size: 13px;
  }
  .telegram-tile > span:last-child {
    font-size: 9px;
  }
  .telegram-art > .icon {
    width: 38px;
    height: 38px;
  }
  .telegram-art {
    height: 52px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading > span {
    font-size: 10px;
  }
  .order-form {
    padding: 16px;
  }
  .variant-option {
    gap: 8px;
    padding: 10px;
  }
  .variant-option > .brand-badge {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }
  .variant-option strong {
    font-size: 12px;
  }
  .quantity-grid .variant-option {
    gap: 4px;
  }
  .quantity-grid .variant-option strong {
    font-size: 11px;
  }
  .modal {
    --sheet-gutter: 16px;
  }
  .payment-method {
    padding: 10px;
    gap: 8px;
  }
  .method-copy > strong {
    font-size: 12px;
  }
  .method-copy > small {
    font-size: 9px;
  }
  .method-price {
    font-size: 12px;
  }
  .radio-mark {
    width: 14px;
    height: 14px;
  }
  .wallet-actions {
    gap: 8px;
  }
  .wallet-actions > button,
  .wallet-actions > a {
    font-size: 12px;
    padding: 12px 6px;
  }
  .profile-hero {
    border-radius: 28px;
  }
  .order-card {
    gap: 8px;
    padding: 12px;
  }
  .order-card .brand-badge {
    height: 36px;
    width: 36px;
    border-radius: 12px;
  }
  .order-copy > strong {
    font-size: 11px;
  }
  .order-price {
    font-size: 12px;
  }
  .tariff-row {
    padding: 12px;
    gap: 10px;
  }
  .tariff-row > .icon {
    display: none;
  }
  .tariff-name {
    font-size: 13px;
  }
  .tariff-row > .brand-badge {
    width: 42px;
    height: 42px;
  }
  .tariff-price {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
[hidden] {
  display: none !important;
}
.live-description,
.live-receipt {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.live-receipt {
  margin-block: 20px;
  padding: 18px;
  background: var(--surface, #17171f);
  border: 1px solid var(--border, #33313b);
  border-radius: 16px;
  font-size: 14px;
}
.live-receipt a {
  color: #ffaaa7;
}
.live-receipt pre {
  white-space: pre-wrap;
}
.live-receipt blockquote {
  margin: 12px 0;
  padding-left: 12px;
  border-left: 3px solid #ce3434;
}
.out-of-stock {
  border-color: #8b3037 !important;
  background: #29171c !important;
}
.out-of-stock .tariff-price small {
  color: #ffaaa7;
}
.live-topup-methods button {
  width: 100%;
  text-align: left;
  color: inherit;
}
.search-submit {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px;
}
