:root,
[data-theme="dark"] {
  --bg: #060806;
  --bg-top: rgba(184, 255, 60, 0.24);
  --bg-side: rgba(129, 205, 16, 0.14);
  --bg-glow: rgba(184, 255, 60, 0.1);
  --card: rgba(16, 18, 15, 0.58);
  --soft: rgba(24, 27, 21, 0.52);
  --text: #ffffff;
  --muted: #9a9a9a;
  --blue: #b8ff3c;
  --blue-soft: rgba(184, 255, 60, 0.14);
  --lime: #b8ff3c;
  --lime-soft: rgba(184, 255, 60, 0.14);
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  --tab-muted: #8e8e93;
  --glass: blur(14px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f5f8ef;
  --bg-top: rgba(184, 255, 60, 0.34);
  --bg-side: rgba(134, 207, 25, 0.2);
  --bg-glow: rgba(184, 255, 60, 0.15);
  --card: rgba(255, 255, 255, 0.72);
  --soft: rgba(248, 252, 240, 0.76);
  --text: #121212;
  --muted: #6b7162;
  --blue: #7ab800;
  --blue-soft: rgba(184, 255, 60, 0.28);
  --lime: #9ad92e;
  --lime-soft: rgba(184, 255, 60, 0.22);
  --shadow: 0 10px 28px rgba(40, 60, 10, 0.1);
  --tab-muted: #8a9080;
  --glass: blur(12px);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  overscroll-behavior: none;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 70% at 6% -8%, var(--bg-top), transparent 56%),
    radial-gradient(90% 55% at 105% 4%, var(--bg-side), transparent 50%),
    radial-gradient(80% 42% at 12% 58%, var(--bg-glow), transparent 60%),
    radial-gradient(74% 42% at 96% 92%, var(--bg-glow), transparent 58%),
    linear-gradient(155deg, transparent 12%, rgba(184, 255, 60, 0.055) 48%, transparent 78%);
  background-attachment: fixed;
}
button, a { font-family: inherit; }
button { border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }

#app {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding-bottom: calc(96px + var(--safe-b));
  position: relative;
  isolation: isolate;
}
.wrap { width: min(430px, 100%); margin: 0 auto; padding: 12px 16px 0; position: relative; z-index: 2; }

.theme-toggle {
  position: absolute;
  top: calc(10px + var(--safe-t));
  right: 16px;
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
  color: var(--text);
}
.theme-toggle svg { width: 18px; height: 18px; }
.home-hello { padding-right: 52px; }

.page-title {
  padding-top: calc(6px + var(--safe-t));
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.slider { margin-top: 14px; }
.slider-view {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
}
.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(.22, .9, .3, 1);
  will-change: transform;
}
.slide {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  min-height: 0;
  background: var(--card);
  display: block;
  overflow: hidden;
}
.slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: var(--lime);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 55%, transparent);
}
.slider-dots .dot.on {
  width: 18px;
  background: var(--blue);
}

.home-hello {
  padding-top: calc(6px + var(--safe-t));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.home-hello h1 {
  font-size: 26px;
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1.1;
}
.home-hello .kicker { margin-bottom: 4px; }
.wallet-chip {
  flex: 0 0 auto;
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border-radius: 16px;
  padding: 8px 12px 9px;
  text-align: right;
  box-shadow: var(--shadow);
}
.wallet-chip span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wallet-chip strong { font-size: 15px; letter-spacing: -0.03em; }

.usp-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  align-items: start;
}
.usp-row button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.usp-row img {
  width: 58px; height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 6px;
  background: rgba(8, 10, 7, 0.78);
  box-shadow: 0 8px 22px rgba(93, 145, 12, 0.2);
}
.usp-row span {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 2.4em;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.usp-row small {
  display: block;
  min-height: 1.2em;
  margin-top: 1px;
  font-size: 9px;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.2;
}

.news-rail,
.review-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.news-rail::-webkit-scrollbar,
.review-rail::-webkit-scrollbar { display: none; }
.news-card {
  position: relative;
  flex: 0 0 78%;
  min-height: 148px;
  border-radius: 22px;
  padding: 16px 16px 18px;
  text-align: left;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), transparent 42%),
    repeating-linear-gradient(-32deg, rgba(255,255,255,.06) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #9ad92e, var(--lime) 55%, #5a7a10);
}
.news-card.has-img {
  flex: 0 0 92%;
  min-height: 0;
  padding: 0;
  background: #111;
  aspect-ratio: 1024 / 360;
}
.news-card.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card.violet {
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), transparent 42%),
    repeating-linear-gradient(-32deg, rgba(255,255,255,.06) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #7c3aed, #5b21b6 60%, #312e81);
}
.news-card.navy {
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), transparent 42%),
    repeating-linear-gradient(-32deg, rgba(255,255,255,.06) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #0ea5e9, #9ad92e 50%, #5a7a10);
}
.news-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 4px 8px;
}
.news-ph {
  position: absolute;
  right: 12px; top: 14px;
  font-size: 10px;
  font-weight: 700;
  opacity: .7;
}
.news-card h4 {
  margin-top: 18px;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.news-card p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  opacity: .88;
}
.review-card {
  flex: 0 0 78%;
  background: var(--card);
  border-radius: 20px;
  padding: 14px 14px 15px;
  box-shadow: var(--shadow);
  text-align: left;
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.review-top b { font-size: 14px; }
.stars { color: #f5b400; font-size: 12px; letter-spacing: 1px; }
.review-place {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.review-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.home-rail .pcard { flex: 0 0 46%; max-width: 168px; }

.bank-card {
  margin-top: 14px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.7 / 1;
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
}
.bank-card img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.bank-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 42%,
    rgba(8, 22, 64, 0.18) 100%
  );
}
.bank-card .pad {
  position: relative; z-index: 1;
  height: 100%;
  padding: 16px 16px 14px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bank-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.bank-logo {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 16, 48, 0.45);
}
.bank-logo small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.95;
  margin-top: 2px;
}
.bank-chip {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
}
.bank-id,
.bank-bal {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 8px 12px;
}
.bank-id span,
.bank-bal > span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 1;
  color: #fff;
}
.bank-id b {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 16, 48, 0.35);
}
.bank-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}
.bank-bal strong {
  display: block;
  margin-top: 2px;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 16, 48, 0.35);
}
.bank-mark {
  width: 46px; height: 30px;
  position: relative;
  flex: 0 0 46px;
}
.bank-mark i,
.bank-mark b {
  position: absolute; top: 3px;
  width: 24px; height: 24px; border-radius: 50%;
}
.bank-mark i { left: 0; background: rgba(255,255,255,.42); }
.bank-mark b { right: 0; background: rgba(186, 230, 253, .55); }

.holder {
  margin-top: 14px;
}
.holder .label {
  color: var(--muted);
  font-size: 13px;
  display: flex; align-items: center; gap: 6px;
}
.holder .row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px;
}
.holder strong {
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.plus-pill {
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
}
.mellivora {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
}
.bank-bal .mellivora {
  display: inline;
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: .02em;
  opacity: .9;
  color: #fff;
}
.balance .mellivora {
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
}

.actions-2 {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.actions-2 .btn {
  padding: 13px 10px;
  font-size: 14px;
}
.actions-2 .btn svg { width: 18px; height: 18px; }
.tile {
  background: var(--card);
  border-radius: 22px;
  padding: 18px 12px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.tile .ico {
  width: 44px; height: 44px; margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
}
.tile .ico svg { width: 22px; height: 22px; }
.tile span { font-size: 13px; font-weight: 600; }

.section { margin-top: 22px; }
.section-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.section-head h3 { font-size: 16px; font-weight: 700; }
.see { color: var(--muted); font-size: 13px; text-decoration: none; }

.scroll {
  display: flex; gap: 14px;
  overflow-x: auto;
  padding: 2px 0 6px;
  scrollbar-width: none;
}
.scroll::-webkit-scrollbar { display: none; }

.cat-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cat-banner {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--lime);
  box-shadow: var(--shadow);
}
.cat-banner:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-radius: 18px;
}
.cat-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: var(--bg);
}
.cat-item { flex: 0 0 108px; text-align: center; }
.cat-item img, .cat-item .ph {
  width: 108px; height: 108px; border-radius: 50%;
  object-fit: contain; object-position: center;
  background: var(--card);
  box-shadow: 0 6px 16px rgba(17,24,39,.07);
  margin: 0 auto;
  overflow: hidden;
}
.cat-item .ph { display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); }

.panel {
  background: var(--soft);
  border-radius: 24px;
  padding: 14px 10px 12px;
}

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard {
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: left;
}
.pcard .pic {
  position: relative;
  aspect-ratio: 1;
  height: auto;
  background: var(--soft);
}
.pcard .pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.pcard.game {
  position: relative;
  border-radius: 18px;
  background: #111;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}
.pcard.game .pic {
  position: relative;
  aspect-ratio: 1;
  background: #1c1c1e;
}
.pcard.game .pic img { object-fit: contain; }
.pcard.game .shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 68%;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 16, 0.55) 38%, rgba(8, 10, 16, 0.94) 100%);
  pointer-events: none;
}
.pcard.game .flags {
  position: absolute;
  top: 7px; left: 7px; right: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 1;
}
.flag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.72);
  color: #fff;
}
.flag.plat { background: rgba(52, 120, 246, 0.92); }
.flag.hot { background: var(--lime); color: #0a0a0a; }
.flag.po { background: #ff9f0a; color: var(--text); }
.flag.new { background: #32d74b; color: #0b1a0d; }
.flag.vr { background: #bf5af2; }
.pcard.game .onpic {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  z-index: 1;
  color: #fff;
}
.pcard.game .genre-line {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard.game .onpic h4 {
  font-size: 12px;
  font-weight: 750;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard.game .onpic-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  margin-top: 5px;
}
.pcard.game .onpic .price { color: #fff; font-size: 12px; font-weight: 800; }
.pcard.game .lang { font-size: 10px; color: rgba(255,255,255,.78); font-weight: 600; }
.pic-tag {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(17, 17, 17, 0.72);
  border-radius: 999px;
  padding: 4px 8px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pcard.shop .short { min-height: 2.4em; }
.hero-prod .pic { position: relative; }
.hero-prod.game {
  background: #16171c;
  color: #fff;
}
.hero-prod.game .pic {
  aspect-ratio: 1;
  background: #111;
}
.hero-prod.game .pic img { object-fit: contain; }
.hero-prod.game .muted { color: rgba(255,255,255,.62); }
.hero-prod.game .flags {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.prod-specs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.prod-specs div {
  background: var(--card);
  border-radius: 16px;
  padding: 10px 10px 11px;
  box-shadow: var(--shadow);
}
.prod-specs span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 5px;
}
.prod-specs svg { flex: 0 0 13px; color: var(--blue); }
.prod-specs b { font-size: 12px; line-height: 1.25; }
.search-more {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.shelf-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.shelf-row::-webkit-scrollbar { display: none; }
.shelf-row .pcard { flex: 0 0 46%; max-width: 168px; }
.pcard .body { padding: 10px 11px 12px; }
.pcard .meta { color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.pcard h4 { font-size: 13px; line-height: 1.25; min-height: 2.4em; }
.pcard .short {
  color: var(--muted); font-size: 11px; margin: 5px 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard .row {
  display: flex; justify-content: space-between; align-items: center;
}
.price { font-weight: 800; font-size: 13px; color: var(--blue); }
.buy {
  background: var(--lime); color: #0a0a0a;
  border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 700;
}

.search-wrap { margin-top: 12px; }
.search {
  background: var(--card);
  border-radius: 16px;
  padding: 8px 8px 8px 12px;
  display: flex; gap: 8px; align-items: center;
  box-shadow: var(--shadow);
  color: var(--muted);
}
.search svg { flex: 0 0 auto; opacity: .55; }
.search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  color: var(--text); font-size: 15px;
  min-width: 0;
}
.search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.search-clear {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}
.search-go {
  flex: 0 0 auto;
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.search-live { margin-top: 12px; }
.search-rail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  margin: 0 -2px 10px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.search-rail::-webkit-scrollbar { display: none; }
.search-cover {
  flex: 0 0 92px;
  width: 92px;
  text-align: left;
  scroll-snap-align: start;
}
.search-cover.game { flex-basis: 84px; width: 84px; }
.search-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: var(--soft);
  box-shadow: var(--shadow);
}
.search-cover.game img { aspect-ratio: 3 / 4; }
.search-cover b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  min-height: 2.5em;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  color: var(--text);
}
.search-cover span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-hits { display: grid; gap: 8px; }
.hit {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: var(--card);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.hit-pic {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft);
}
.hit.game .hit-pic {
  width: 56px;
  height: 74px;
}
.hit-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hit-body { flex: 1; min-width: 0; }
.hit-body h4 {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hit-body p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.hit-price {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  background: var(--card);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
}
.chip.on { background: var(--lime); color: #0a0a0a; }

.banner {
  margin-top: 18px;
  background: var(--blue);
  color: #fff;
  border-radius: 22px;
  padding: 16px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow);
}
.banner .ico {
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(255,255,255,.16);
  display: grid; place-items: center; flex: 0 0 44px;
}
.banner b { display: block; font-size: 14px; }
.banner span { font-size: 12px; opacity: .86; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--lime); color: #0a0a0a;
  border-radius: 16px; padding: 14px 16px;
  font-weight: 700; font-size: 15px;
}
.btn.wide { width: 100%; }
.btn.ghost { background: var(--soft); color: var(--text); }
.btn:disabled { opacity: .45; }

.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.back {
  margin: calc(6px + var(--safe-t)) 0 10px;
  color: var(--muted); font-size: 14px; font-weight: 600;
}
.back-chip {
  margin: calc(6px + var(--safe-t)) 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.back-chip svg { width: 18px; height: 18px; }

.hero-prod {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-prod .pic { position: relative; aspect-ratio: 1; height: auto; background: var(--lime); }
.hero-prod.shop .pic {
  aspect-ratio: 16 / 10;
  background: var(--soft);
}
.hero-prod .pic img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-prod .body { padding: 16px 16px 18px; }
.hero-prod h2 { font-size: 24px; letter-spacing: -.04em; font-weight: 800; line-height: 1.15; }
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.lead { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.hero-prod.game .pic {
  aspect-ratio: 1;
  background: #111;
}
.hero-prod.game .pic img { object-fit: contain; }
.hero-prod.game .shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 58%;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 16, 0.92) 100%);
  pointer-events: none;
}
.hero-prod.game .muted,
.hero-prod.game .kicker { color: rgba(255,255,255,.72); }
.hero-prod.game .flags {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 1;
}
.hero-on {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 18px 16px 16px;
  color: #fff;
}
.hero-on h2 { color: #fff; font-size: 22px; }
.hero-price {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.desc { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.muted { color: var(--muted); font-size: 13px; }

.section > h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.plans { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 4px; }
.plan {
  background: var(--card);
  border-radius: 18px;
  padding: 12px 14px;
  text-align: left;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan.on { outline: 2px solid var(--blue); background: var(--lime-soft); }
.plan-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.plan-copy { min-width: 0; }
.plan-copy b { display: block; font-size: 14px; line-height: 1.25; }
.plan-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 600; }
.plan-price { color: var(--blue); font-size: 15px; font-weight: 800; white-space: nowrap; }
.tier-badge {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 10px;
  padding: 6px 8px;
  line-height: 1;
}
.tier-badge.p3 { background: var(--lime); color: #0a0a0a; }
.tier-badge.p2 { background: #ff9f0a; color: var(--text); }

.tier-explain { display: grid; gap: 8px; }
.tier-card {
  background: var(--card);
  border-radius: 20px;
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}
.tier-card.p3 { outline: 1px solid rgba(52, 120, 246, .22); }
.tier-card.p2 { outline: 1px solid rgba(255, 159, 10, .28); }
.tier-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tier-head b { font-size: 15px; }
.tier-card p { font-size: 13px; line-height: 1.45; color: var(--muted); }
.tier-card ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tier-card li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 650; color: var(--text);
}
.tier-card li svg { flex: 0 0 16px; color: var(--blue); }
.faq-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.faq {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-top: 8px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  flex: 0 0 8px;
  width: 8px; height: 8px;
  border-right: 2px solid #3a3a3a;
  border-bottom: 2px solid #3a3a3a;
  transform: rotate(45deg);
  margin-top: -4px;
}
.faq[open] summary i { transform: rotate(225deg); margin-top: 4px; }
.faq p {
  padding: 0 14px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.how-lead {
  margin: -4px 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.how-list { display: grid; gap: 8px; }
.how-step {
  background: var(--card);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  text-align: left;
}
.how-step span {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0;
}
.how-step h4 { font-size: 15px; letter-spacing: -0.02em; margin-bottom: 4px; }
.how-step p { font-size: 13px; line-height: 1.45; color: var(--muted); }

.how {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.how div {
  background: var(--card);
  border-radius: 16px;
  padding: 12px 10px 13px;
  box-shadow: var(--shadow);
  text-align: left;
}
.how span {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}
.how b { display: block; font-size: 13px; }
.how small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }

.list { display: grid; gap: 8px; }
.line {
  background: var(--card);
  border-radius: 18px;
  padding: 13px 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
}
.line .ico {
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; flex: 0 0 36px;
}
.line .ico svg { width: 18px; height: 18px; }
.line h4 { font-size: 14px; }
.line .grow { flex: 1; }
.chev { color: var(--muted); }

.profile-head { text-align: center; padding-top: calc(10px + var(--safe-t)); }
.avatar {
  width: 84px; height: 84px; border-radius: 50%;
  margin: 0 auto 10px;
  background: var(--blue);
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 28px;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.id-badge {
  display: inline-flex; align-items: center;
  border-radius: 999px; overflow: hidden;
  font-size: 12px; font-weight: 700;
}
.id-badge .left { background: var(--lime); color: #0a0a0a; padding: 6px 8px; }
.id-badge .right { background: var(--soft); padding: 6px 10px; }
.settings {
  position: absolute; right: 16px; top: calc(12px + var(--safe-t));
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--card); display: grid; place-items: center;
  box-shadow: var(--shadow); color: var(--muted);
}

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.mini {
  border-radius: 20px; padding: 14px;
  min-height: 96px;
  text-align: left;
}
.mini.plus {
  background: linear-gradient(135deg, #3a4a12, var(--lime));
  color: #fff;
}
.mini.plain { background: var(--soft); }
.mini label { font-size: 12px; opacity: .8; display: block; margin-bottom: 16px; }
.mini b { font-size: 16px; }

.balance {
  margin-top: 12px;
  background: var(--soft);
  border-radius: 20px;
  padding: 16px;
  text-align: left;
}
.balance label { color: var(--muted); font-size: 12px; }
.balance strong { display: block; font-size: 28px; margin-top: 4px; }

.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.actions { display: grid; gap: 8px; margin-top: 16px; }
.total { display: flex; justify-content: space-between; margin-top: 14px; font-weight: 800; }

.tabbar {
  position: fixed; left: 50%; bottom: calc(12px + var(--safe-b));
  transform: translateX(-50%);
  z-index: 30;
  width: min(360px, calc(100% - 28px));
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 8px 10px;
}
.tab {
  text-align: center;
  color: var(--tab-muted);
  text-decoration: none;
  font-size: 10px;
  padding: 6px 0 2px;
}
.tab.on { color: var(--blue); }
.tab svg { width: 22px; height: 22px; display: block; margin: 0 auto 2px; }

.toast {
  position: fixed; left: 50%; bottom: calc(88px + var(--safe-b));
  transform: translateX(-50%);
  background: var(--text); color: var(--bg);
  padding: 10px 14px; border-radius: 12px; font-size: 13px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  background: var(--card);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.field span { font-size: 12px; color: var(--muted); font-weight: 600; }
.field textarea {
  border: 0; outline: 0; background: transparent;
  color: var(--text); font-size: 16px;
  min-height: 64px; resize: vertical;
  font-family: inherit;
}
.any-price {
  margin: 14px 4px 0;
  font-size: 22px;
  font-weight: 800;
}

.pay-page #app { padding-bottom: 32px; }
.pay-page .list { margin-top: 8px; }

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.kpi {
  background: var(--card);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.kpi span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.kpi b { display: block; margin-top: 6px; font-size: 18px; letter-spacing: -0.03em; }

.wallet-addr {
  font-size: 13px;
  word-break: break-all;
  line-height: 1.35;
}

.legal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0 10px;
  font-size: 12px;
}
.legal-strip a { color: var(--muted); text-decoration: none; }
.legal-strip a:hover { color: var(--blue); }

.doc-page { background: var(--bg); }
.doc-page .wrap {
  width: min(760px, 100%);
  padding: 24px 18px 48px;
}
.doc-brand { font-weight: 700; margin-bottom: 10px; }
.doc-brand a { color: inherit; text-decoration: none; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 18px;
  font-size: 13px;
}
.legal-nav a { color: var(--blue); text-decoration: none; }
.doc-page h1 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.doc-page h2 {
  font-size: 18px;
  margin: 22px 0 8px;
}
.doc p, .doc li {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 10px;
}
.doc a { color: var(--blue); }
.doc-foot { margin-top: 28px; }
.price-wrap { overflow-x: auto; margin: 8px 0 20px; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--soft);
}
.price-table th { color: var(--muted); font-size: 12px; font-weight: 600; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { font-weight: 700; white-space: nowrap; }

.vpn-card {
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.vpn-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vpn-head .ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--lime-soft);
  color: var(--lime);
}
.vpn-head .ico svg { width: 22px; height: 22px; }
.vpn-head h3 { font-size: 18px; letter-spacing: -0.03em; }
.vpn-badge {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--soft);
  border-radius: 999px;
  padding: 6px 10px;
}
.vpn-badge.on {
  color: #102000;
  background: var(--lime);
}
.vpn-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vpn-grid div {
  background: var(--soft);
  border-radius: 14px;
  padding: 10px 12px;
}
.vpn-grid span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.vpn-grid b { font-size: 14px; letter-spacing: -0.02em; }
.vpn-meter {
  margin-top: 14px;
  height: 8px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}
.vpn-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #9ad92e, #b8ff3c);
  border-radius: inherit;
}
