:root {
  --bg: #19171f;
  --bg-2: #141219;
  --well: #0f0d14;
  --well-line: rgba(255, 255, 255, 0.06);
  --btn: #26232e;
  --text: #f4f2f8;
  --muted: #8d8996;
  --muted-2: #5d5966;
  --gold: #f7b928;
  --gram: #2b9df4;
  --violet: #a46bff;
  --gift: #ff5d6c;
  --teal: #14a596;
  --green: #3ddc97;
  --red: #ff6b7a;
  --tab: var(--gold);
  --tab-rgb: 247, 185, 40;
  --ease: cubic-bezier(0.22, 0.9, 0.25, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --safe-bottom: max(env(safe-area-inset-bottom), var(--tg-safe-bottom, 0px));
  /* полный экран Telegram: сверху вырез камеры + кнопки Telegram («Закрыть», «⋯») — контент ниже них */
  --safe-top: var(--tg-safe-top, 0px);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f3f2f7;
  --bg-2: #ebe9f1;
  --well: #ffffff;
  --well-line: rgba(20, 10, 40, 0.07);
  --btn: #ffffff;
  --text: #17141f;
  --muted: #7d7987;
  --muted-2: #b4b0bd;
  color-scheme: light;
}

body[data-tab="gram"] { --tab: var(--gram); --tab-rgb: 43, 157, 244; }
body[data-tab="premium"] { --tab: var(--violet); --tab-rgb: 164, 107, 255; }
body[data-tab="gifts"] { --tab: var(--gift); --tab-rgb: 255, 93, 108; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); }

body {
  min-height: 100vh;
  color: var(--text);
  font: 15px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; user-select: text; -webkit-user-select: text; }

.app {
  position: relative;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 14px calc(12px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.app.ready { opacity: 1; }

/* ───────── круглые кнопки (назад в играх) ───────── */
.round {
  position: absolute;
  top: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--btn);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--ease), background 0.35s var(--ease);
}
.round:active { transform: scale(0.92); }
.round svg { width: 19px; height: 19px; }
.round .lt { width: 24px; height: 24px; }

.lt { display: inline-block; line-height: 0; }
.lt svg { width: 100% !important; height: 100% !important; }
.stack { display: inline-flex; align-items: center; flex: none; }
.stack > * { width: 18px; height: 18px; flex: none; display: block; object-fit: contain; }
.stack > * + * { margin-left: -10px; }

@keyframes shake {
  20% { transform: translateX(-6px); } 40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); } 80% { transform: translateX(2px); }
}

/* ═════════ экран «Пополнить»: собран из деталей раздела «Игры» (шапка .gh, баннер .gbanner, карточки .gcard) ═════════ */
.tp-ghs { margin-top: 4px; font-size: 13px; font-weight: 700; color: #cfc8e6; }
.tp-orders { position: relative; flex: none; width: 48px; height: 48px; margin-right: 2px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #2d2840; transition: transform 0.2s var(--ease); }
.tp-orders:active { transform: scale(0.92); }
.tp-orders svg { width: 20px; height: 20px; }
.tp-orders .dot { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 11px; line-height: 18px; font-weight: 800; color: #17141f; background: #fff; }
.tp-orders .dot[hidden] { display: none; }

.tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); height: 46px; margin-top: 12px; padding: 4px; border-radius: 23px;
  background: linear-gradient(180deg, #231d35, #171320); border: 1px solid rgba(164, 107, 255, 0.28); }
.tab-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 4); border-radius: 19px; background: #fff; transition: transform 0.4s var(--spring); }
.tab { position: relative; z-index: 1; font-weight: 800; font-size: 13.5px; color: #a49dba; white-space: nowrap; transition: color 0.25s ease; }
.tab.active { color: #17141f; }

.tp-ban { height: 150px; padding: 24px 22px; }
.tp-ban .gt { font-size: 40px; }
.tp-art { position: absolute; right: 6px; top: 50%; width: 150px; height: 150px; margin-top: -75px; object-fit: contain; transform: rotate(-8deg); filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45)); }
svg.tp-art { width: 110px; height: 110px; margin-top: -55px; right: 22px; }

.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.tp-grid[data-k="premium"], .tp-grid[data-k="gifts"] { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tp-grid .gcard { height: 128px; padding: 16px 14px; transition: transform 0.25s var(--spring), box-shadow 0.2s ease; }
.tp-grid .gcard .gt { font-size: 30px; }
.tp-grid[data-k="premium"] .gcard .gt { font-size: 30px; }
.tp-grid .gcard.on { box-shadow: inset 0 0 0 2.5px #fff; }
.tp-grid.shake, .tp-grid .own.shake { animation: shake 0.4s ease; }
.tp-u { position: relative; z-index: 2; margin-top: 3px; font-family: var(--display); font-weight: 800; font-size: 13px; color: rgba(255, 255, 255, 0.75); text-transform: uppercase; letter-spacing: 0.02em; }
.tp-grid .gtags { left: 12px; bottom: 12px; }
.tp-grid .gtag { height: 26px; padding: 0 10px; border-radius: 10px; font-size: 12.5px; }
.tp-grid .gcard.on .gtag { background: #fff; color: #17141f; box-shadow: none; }
.tp-grid[data-k="premium"] .gtag { font-size: 12px; padding: 0 8px; }
.tp-grid[data-k="premium"] .tp-u { font-size: 12px; line-height: 1.25; }
.tp-grid .gart .stk { position: absolute; right: 4px; bottom: 8px; }
.tp-grid .gart .pm { position: absolute; right: 8px; top: 12px; width: 34px; height: 34px; }
.tp-grid .gift { height: 104px; }
.tp-grid .gift .gi { position: absolute; left: 50%; top: 8px; width: 58px; height: 58px; margin-left: -29px; }
.tp-grid .gift .gtags { left: 8px; right: 8px; bottom: 8px; justify-content: center; }
.tp-grid .gift .gtag { max-width: 100%; font-size: 10.5px; padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; line-height: 26px; }
#starsInput.gt { width: 100%; height: 30px; padding: 0; border: 0; outline: 0; background: none; font-size: 30px; line-height: 30px; caret-color: #fff; }
#starsInput.gt::placeholder { color: rgba(255, 255, 255, 0.5); }
.own-u { margin: 0 0 8px; color: #fff; }
.tp-grid .own #starsInput.gt { font-size: 24px; height: 28px; }
.own-pen { position: absolute; right: 14px; bottom: 16px; width: 30px; height: 30px; color: rgba(255, 255, 255, 0.85); }

/* ровная стопка звёзд Telegram */
.stk { position: relative; display: block; width: 88px; height: 62px; }
.stk i { position: absolute; display: block; background: center / contain no-repeat; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)); }

.tp-to { margin-top: 12px; padding: 12px 8px 8px 20px; border-radius: 28px; background: linear-gradient(180deg, #231d35, #171320); border: 1px solid rgba(164, 107, 255, 0.28); }
.tp-to.error { animation: shake 0.4s ease; border-color: rgba(232, 148, 158, 0.6); }
/* «Кому» и «Оплата» — одна панель (07.10.2026): между ними тонкая линия, способы оплаты на всю ширину панели */
.tp-sep { height: 1px; margin: 8px 12px 10px 0; background: rgba(164, 107, 255, 0.18); }
.tp-to .tp-pay3 { gap: 8px; margin: 8px 0 4px -12px; }
.tp-to .m { height: 46px; border-radius: 23px; background: rgba(10, 8, 16, 0.45); border-color: rgba(255, 255, 255, 0.08); }
.tp-to .m.on { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.tp-k { font-family: var(--display); font-weight: 800; font-size: 12px; color: #a49dba; text-transform: uppercase; letter-spacing: 0.04em; }
.tp-row { display: flex; align-items: center; gap: 1px; height: 42px; }
.at { color: #a49dba; font-size: 17px; font-weight: 700; }
#recipient { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; font-size: 17px; font-weight: 700; color: #fff; }
#recipient::placeholder { color: #6c6582; }
.tp-me { flex: none; height: 34px; padding: 0 14px; border-radius: 17px; font-weight: 800; font-size: 13.5px; color: #17141f; background: #fff; transition: transform 0.2s var(--ease); }
.tp-me:active { transform: scale(0.94); }
.tp-me[hidden] { display: none; }
.hint { margin: 7px 18px 0; font-size: 13px; font-weight: 600; color: #a49dba; }
.hint.error { color: #e8949e; }
.hint:empty { margin: 0; }
.discount { margin: 7px 18px 0; font-size: 13px; font-weight: 700; color: #6fe08a; }
.discount[hidden] { display: none; }

.tp-pay3 { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 10px; margin-top: 12px; }
.m { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 26px; font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(180deg, #231d35, #171320); border: 1px solid rgba(164, 107, 255, 0.28); transition: transform 0.2s var(--ease), box-shadow 0.2s ease; }
.m:active { transform: scale(0.95); }
.m .mi { width: 22px; height: 22px; flex: none; display: block; object-fit: contain; }
.m.on { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.m.off { opacity: 0.4; }

.pay { position: relative; display: block; width: 100%; height: 58px; margin-top: 16px; border-radius: 29px; font-family: var(--display); font-weight: 900; font-size: 17px;
  color: #17141f; background: #fff; transition: transform 0.2s var(--ease), opacity 0.2s ease; }
.pay:active { transform: scale(0.97); }
.pay:disabled { color: #8a82a0; background: #231d35; transform: none; cursor: default; }
.pay img.tgs { width: 19px; height: 19px; vertical-align: -3px; margin: 0 1px; }
.pay .spinner { display: none; }
.pay.busy .label { opacity: 0; }
.pay.busy .spinner { display: block; position: absolute; inset: 0; margin: auto; border-color: rgba(0, 0, 0, 0.12); border-top-color: #17141f; }

.spinner { display: none; }
.pay.busy .label { opacity: 0; }
.pay.busy .spinner { display: block; position: absolute; inset: 0; margin: auto; border-color: rgba(0, 0, 0, 0.12); border-top-color: #17151d; }

.spinner { display: none; }
.pay.busy .label { opacity: 0; }
.pay.busy .spinner { display: block; position: absolute; inset: 0; margin: auto; border-color: rgba(0, 0, 0, 0.15); border-top-color: #0b0b0f; }

.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.18);
  border-top-color: currentColor;
  animation: rot 0.8s linear infinite;
}

@keyframes rot { to { transform: rotate(360deg); } }

/* ───────── нижние листы ───────── */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(4, 3, 8, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.backdrop.show { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 21;
  max-width: 480px;
  max-height: calc(92vh - var(--safe-top));
  margin: 0 auto;
  overflow-y: auto;
  padding: 10px 16px calc(16px + var(--safe-bottom));
  border-radius: 28px 28px 0 0;
  background: var(--bg);
  border: 1px solid var(--well-line);
  border-bottom: 0;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.7);
  transform: translateY(105%);
  transition: transform 0.46s var(--ease), background 0.35s var(--ease);
  overscroll-behavior: contain;
  will-change: transform; /* окно — отдельным слоем на видеокарте: выезжает и уезжает плавно (24.10.2026) */
}

.sheet.show { transform: none; }
.grab { width: 38px; height: 4.5px; margin: 0 auto 14px; border-radius: 3px; background: var(--muted-2); opacity: 0.6; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 4px 14px; }
.sheet-head h2 { margin: 0; font-size: 19px; font-weight: 750; }

.timer {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  background: rgba(247, 185, 40, 0.1);
}

.timer.late { color: var(--red); background: rgba(255, 107, 122, 0.1); }

.big-amount {
  display: block;
  width: 100%;
  padding: 18px;
  border-radius: 24px;
  background: var(--well);
  text-align: center;
  transition: transform 0.2s var(--ease);
}

.big-amount:active { transform: scale(0.99); }
.big-amount .v { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.big-amount .s { margin-top: 3px; font-size: 13px; color: var(--muted); }

.rows { margin-top: 10px; border-radius: 24px; background: var(--well); overflow: hidden; }

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 10px 18px;
  text-align: left;
  border-bottom: 1px solid var(--well-line);
}

.row:last-child { border-bottom: 0; }
.row.copy:active { background: rgba(127, 127, 127, 0.08); }
.row .k { font-size: 12px; color: var(--muted); }
.row .v { font-size: 15.5px; font-weight: 650; word-break: break-all; }
.row .v.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.04em; }
.row .grow { flex: 1; min-width: 0; }
.row svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.row.code .v { color: var(--gold); }

.note { display: flex; gap: 10px; margin: 12px 6px 0; font-size: 13px; color: var(--muted); }
.note svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 1px; }
.note b { color: var(--text); font-weight: 650; }

.btn {
  position: relative;
  display: block;
  width: 100%;
  height: 56px;
  margin-top: 12px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 15.5px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.btn:active { transform: scale(0.985); }
.btn:disabled { opacity: 0.5; }
.btn.green { color: #06170f; background: linear-gradient(180deg, #5ef0b0, #2fcf8a); box-shadow: 0 10px 26px -12px rgba(61, 220, 151, 0.9); }
.btn.dark { color: var(--text); background: var(--well); }
.btn.teal { color: #fff; background: var(--teal); box-shadow: 0 10px 26px -12px rgba(20, 165, 150, 0.9); }
.btn.blue { color: #fff; background: var(--gram); box-shadow: 0 10px 26px -12px rgba(43, 157, 244, 0.9); }
.btn.ghost { height: 46px; margin-top: 4px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.btn .spinner { position: absolute; inset: 0; margin: auto; display: none; }
.btn.busy .lbl { opacity: 0; }
.btn.busy .spinner { display: block; }

.state { padding: 8px 0 2px; text-align: center; }
.state h3 { margin: 16px 0 6px; font-size: 21px; font-weight: 750; }
.state p { margin: 0 auto; max-width: 320px; font-size: 14px; color: var(--muted); }

.ring {
  width: 84px;
  height: 84px;
  margin: 6px auto 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.2), rgba(61, 220, 151, 0.04) 70%);
  border: 1.5px solid rgba(61, 220, 151, 0.45);
  animation: pop 0.6s var(--spring) both;
}

.ring.wait { background: radial-gradient(circle, rgba(247, 185, 40, 0.18), rgba(247, 185, 40, 0.03) 70%); border-color: rgba(247, 185, 40, 0.4); }
.ring.x { background: radial-gradient(circle, rgba(141, 137, 150, 0.18), transparent 70%); border-color: rgba(141, 137, 150, 0.4); }
.ring svg { width: 40px; height: 40px; color: var(--green); }
.ring.wait svg { color: var(--gold); }
.ring.x svg { color: var(--muted); }
.ring path.draw { stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw 0.55s 0.25s var(--ease) forwards; }

@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.waiting { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.waiting .spinner { width: 18px; height: 18px; border-width: 2px; color: var(--teal); }

.olist { display: flex; flex-direction: column; gap: 8px; }

.oitem {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 22px;
  background: var(--well);
  text-align: left;
}

.oitem .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--btn); }
.oitem .ic svg { width: 22px; height: 22px; }
.oitem .t1 { font-weight: 650; font-size: 14.5px; }
.oitem .t2 { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.oitem .grow { flex: 1; min-width: 0; }
.oitem .r { text-align: right; flex: none; }
.oitem .sum { font-weight: 650; font-size: 14px; font-variant-numeric: tabular-nums; }

.pill { display: inline-block; margin-top: 3px; padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 650; color: var(--muted); background: var(--btn); }
.pill.awaiting_payment, .pill.user_marked_paid { color: var(--gold); background: rgba(247, 185, 40, 0.1); }
.pill.paid { color: var(--violet); background: rgba(164, 107, 255, 0.12); }
.pill.completed { color: var(--green); background: rgba(61, 220, 151, 0.1); }

.empty { padding: 28px 0 12px; text-align: center; color: var(--muted); font-size: 14px; }

.toast {
  position: fixed;
  left: 50%;
  top: calc(14px + var(--safe-top));
  z-index: 40;
  max-width: min(92vw, 420px);
  padding: 11px 18px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  color: #f4f2f8;
  background: rgba(30, 27, 38, 0.97);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -220%);
  visibility: hidden;
  transition: transform 0.45s var(--spring);
  pointer-events: none;
}

.toast.show { transform: translate(-50%, 0); visibility: visible; }

.outside { padding: 30vh 24px 0; text-align: center; color: var(--muted); }
.outside b { display: block; margin-bottom: 8px; color: var(--text); font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 350px) {
  .tab { font-size: 13.5px; }
  .chip { min-width: 68px; padding: 0 11px; }
}


/* куда звёзды: на username или на мой игровой баланс — отдельная полоса во всю ширину, как вкладки */
.tp-dest { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 46px; margin-top: 12px; padding: 4px; border-radius: 23px;
  background: linear-gradient(180deg, #231d35, #171320); border: 1px solid rgba(164, 107, 255, 0.28); }
.tp-dest[hidden] { display: none; }
.tp-dest button { border-radius: 19px; font-weight: 800; font-size: 13.5px; color: #a49dba; transition: background 0.25s ease, color 0.25s ease; }
.tp-dest button.on { color: #17141f; background: #fff; }
.tp-balrow { padding: 8px 6px 8px 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: #d9d2ec; }
.tp-balrow[hidden], .tp-row[hidden] { display: none; }

/* 07.10.2026 — вариант B: пакеты звёзд крупными карточками 2×2 со звёздами веером (как игры), большой баннер убран —
   вместо него шапка .tp-head; «Кому» и способы оплаты — одна панель без подписи «Оплата» */
.tp-grid[data-k="stars"] .gcard { height: 124px; }
.tp-grid[data-k="stars"] .gcard .gt { font-size: 30px; }
/* баннер скрыт только у «Звёзд» и Gram; у Premium и «Подарков» — большой баннер, как раньше (владелец, 07.10.2026) */
body[data-tab="stars"] #scr-topup .tp-ban, body[data-tab="gram"] #scr-topup .tp-ban { display: none; }
.tp-head { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.tp-head .gh-ava { width: 46px; height: 46px; font-size: 18px; }
.tp-hmid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tp-htitle { font-family: var(--display); font-weight: 900; font-size: 20px; line-height: 1.1; color: #fff; text-transform: uppercase; letter-spacing: 0.01em; }
.tp-hsub { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-hsub:empty { display: none; }
#tpBal { cursor: pointer; }
.tp-me.dark { margin-left: 6px; color: #e6e0f5; background: rgba(10, 8, 16, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.tp-me.dark[hidden] { display: none; }
.tp-balrow { display: flex; align-items: center; gap: 8px; }
.tp-balrow span { flex: 1; min-width: 0; font-size: 13.5px; }
.tp-balrow { height: 42px; padding: 0 0 0 0; }
.tp-balt { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.tp-balt b { font-size: 17px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-balt small { font-size: 12.5px; font-weight: 700; color: #a49dba; }
.tp-balt small img.st-ic { width: 13px !important; height: 13px !important; }
.tp-pair { flex: none; display: flex; gap: 5px; }
.tp-pair .tp-me { margin-left: 0; height: 32px; padding: 0 11px; font-size: 12.5px; }
.tp-pair .tp-me.on { color: #17141f; background: #fff; box-shadow: none; }
.tp-balt b { font-size: 16px; }
.tp-balt b { font-size: 17px; }
/* Premium без прокрутки (владелец, 07.10.2026): баннер чуть ниже, звезда меньше */
body[data-tab="premium"] #scr-topup .tp-ban { height: 112px; padding-top: 18px; padding-bottom: 16px; }
body[data-tab="premium"] #scr-topup .tp-ban .gt { font-size: 34px; }
body[data-tab="premium"] #scr-topup .tp-ban svg.tp-art { width: 78px; height: 78px; margin-top: -39px; right: 26px; }

/* вкладки Звёзды/Gram/Подарки на экране Premium спрятаны (владелец, 20.10.2026: «уберём, напомнишь потом добавить»);
   экран открывается только с «Главной» и сразу на Premium (setTab). Вернуть — удалить это правило. */
#tabs { display: none; }

/* баннер Premium без светло-фиолетовой рамки .gbanner — тонкая светлая грань, как у карточек (21.10.2026, владелец: «норм обводки») */
#scr-topup .tp-ban { border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
