/* ============ Topifai · Aurora ============ */
/* Официальная палитра Topifai */
:root {
  --c-bg: #0B0815;
  --c-purple: #241044;
  --c-primary: #922EFF;
  --c-accent: #D946EF;
  --c-stars: #FFAA19;
  --c-steam: #279FF0;
  --c-games: #B94CE8;
  --c-vouch: #10B981;

  --bg: var(--c-bg);
  --surface: rgba(255, 255, 255, .055);
  --surface-2: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .09);
  --text: #f5f1ff;
  --hint: #a29bbd;
  --violet: var(--c-primary);
  --pink: var(--c-accent);
  --cyan: var(--c-steam);
  --ok: #34d399;
  --warn: #f5a524;
  --bad: #fb7185;
  --grad: linear-gradient(135deg, #922EFF 0%, #B23CF7 50%, #D946EF 100%);
  --g-stars: linear-gradient(140deg, #FFC650 0%, #FFAA19 50%, #F07A0C 100%);
  --g-steam: linear-gradient(140deg, #4DB6FF 0%, #279FF0 50%, #1673C4 100%);
  --g-games: linear-gradient(140deg, #D07CFF 0%, #B94CE8 50%, #8B2DC4 100%);
  --g-vouch: linear-gradient(140deg, #3EDDA8 0%, #10B981 50%, #0A8A62 100%);
  --r: 22px;
  --font: "Manrope", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 var(--font);
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
body { min-height: 100vh; padding-bottom: calc(100px + var(--safe-b)); }
body.has-cta { padding-bottom: calc(170px + var(--safe-b)); }
main { position: relative; z-index: 1; padding: 14px 16px 0; max-width: 560px; margin: 0 auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--hint); font-size: 13px; }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(80px); opacity: .32;
  animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #5a1fb8; top: -35vmax; left: -25vmax; opacity: .38; }
.aurora i:nth-child(2) { background: #D946EF; top: -30vmax; right: -40vmax; opacity: .16; animation-duration: 28s; }
.aurora i:nth-child(3) { background: #241044; bottom: -45vmax; left: -10vmax; opacity: .5; animation-duration: 32s; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.1); } }

.demo { position: sticky; top: 0; z-index: 30; display: flex; justify-content: center; align-items: center; gap: 6px;
  height: 22px; font-size: 10.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: #ffd89a; background: linear-gradient(90deg, #5a3206, #7a4308, #5a3206); border-bottom: 1px solid #f5a52433; }
.demo::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #FFAA19; box-shadow: 0 0 8px #FFAA19; }

/* ---------- typography ---------- */
h1 { font: 700 26px/1.15 var(--display); letter-spacing: -.5px; margin: 6px 0 6px; }
h2 { font: 700 17px/1.2 var(--display); letter-spacing: -.2px; margin: 26px 0 12px; display: flex; align-items: center;
  justify-content: space-between; }
h2 a { font: 600 13px var(--font); color: var(--hint); }
h3 { font-size: 15px; font-weight: 700; margin: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; gap: 12px; margin: 2px 0 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 19px var(--display); letter-spacing: -.4px; }
.mark { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 8px 24px -6px #A63CF6aa, inset 0 1px 0 #ffffff55; }
.mark svg { width: 22px; height: 22px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px;
  background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { position: relative; border-radius: 28px; padding: 22px 20px 20px; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, #3a1673 0%, #241044 55%, #140a28 100%); border: 1px solid #ffffff14; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 75% at 100% 0%, #D946EF55, transparent 60%), radial-gradient(50% 70% at 0% 100%, #922EFF44, transparent 60%); }
.hero .kicker { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .6px;
  text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: #ffffff14; border: 1px solid #ffffff1c; }
.hero .kicker b { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 { font-size: 25px; margin: 14px 0 8px; max-width: 64%; }
.hero p { margin: 0; color: #d6cdf0; font-size: 13.5px; max-width: 60%; }
/* композиция цифровых товаров */
.hero .orbit { position: absolute; right: 8px; top: 16px; width: 132px; height: 132px; }
.hero .orbit::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed #ffffff26; animation: spin 26s linear infinite; }
.hero .orbit::after { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: radial-gradient(circle, #D946EF55, transparent 70%); }
.hero .gi { position: absolute; display: grid; place-items: center; border-radius: 14px; box-shadow: 0 10px 24px -8px #000a, inset 0 1px 0 #ffffff55;
  animation: float 5s ease-in-out infinite; }
.hero .gi svg { width: 58%; height: 58%; }
.hero .gi.s { width: 58px; height: 58px; left: 37px; top: 37px; background: var(--g-stars); border-radius: 18px; z-index: 2; box-shadow: 0 14px 34px -8px #FFAA19aa, inset 0 1px 0 #ffffff66; }
.hero .gi.p { width: 38px; height: 38px; left: 0; top: 14px; background: var(--g-steam); animation-delay: -1.2s; transform: rotate(-10deg); }
.hero .gi.g { width: 36px; height: 36px; right: 0; top: 4px; background: var(--g-games); animation-delay: -2.4s; }
.hero .gi.v { width: 40px; height: 40px; right: 6px; bottom: 2px; background: var(--g-vouch); animation-delay: -3.3s; }
.hero .spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; opacity: .8;
  animation: pulse 2.4s infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.trust { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 7px 10px;
  border-radius: 12px; background: #ffffff10; }

/* ---------- category cards ---------- */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.cat { position: relative; overflow: hidden; border-radius: var(--r); padding: 14px; min-height: 138px; display: flex;
  flex-direction: column; justify-content: space-between; isolation: isolate; transition: transform .15s; }
.cat:active { transform: scale(.97); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, #00000059); }
.cat.stars { background: var(--g-stars); } .cat.steam { background: var(--g-steam); }
.cat.games { background: var(--g-games); } .cat.vouch { background: var(--g-vouch); }
.cat .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: #ffffff2e;
  backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 #ffffff55; }
.cat .ic svg { width: 26px; height: 26px; }
.cat .big { position: absolute; right: -14px; bottom: -16px; width: 96px; height: 96px; opacity: .22; z-index: -1; transform: rotate(-12deg); }
.cat .t { font: 700 15px/1.2 var(--display); color: #fff; }
.cat .s { font-size: 12px; color: #ffffffd0; font-weight: 600; margin-top: 3px; }

/* ---------- glass list items ---------- */
.glass { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); }
.list { display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; background: var(--surface);
  border: 1px solid var(--line); transition: transform .12s, border-color .2s, background .2s; cursor: pointer; }
.item:active { transform: scale(.985); }
.item.sel { border-color: transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent; box-shadow: 0 10px 30px -12px #A63CF688; }
.item.off { opacity: .4; pointer-events: none; }
.thumb { width: 48px; height: 48px; border-radius: 15px; flex: none; display: grid; place-items: center; color: #fff;
  font: 800 16px var(--display); box-shadow: inset 0 1px 0 #ffffff40; }
.thumb svg { width: 24px; height: 24px; }
.price { font-weight: 800; white-space: nowrap; font-size: 15px; }
.price small { display: block; font-size: 11px; color: var(--hint); font-weight: 600; text-align: right; }
.chev { color: var(--hint); font-size: 20px; margin-left: -4px; }

.hscroll { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x mandatory;
  scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.gcard { flex: none; width: 128px; scroll-snap-align: start; border-radius: 20px; padding: 12px; background: var(--surface);
  border: 1px solid var(--line); }
.gcard .thumb { width: 100%; height: 76px; border-radius: 14px; font-size: 22px; margin-bottom: 10px; }
.gcard h3 { font-size: 13px; } .gcard .muted { font-size: 12px; }

/* ---------- pills / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 5px 10px;
  border-radius: 99px; background: var(--surface-2); color: var(--hint); white-space: nowrap; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: #34d39922; color: var(--ok); } .pill.warn { background: #fbbf2422; color: var(--warn); }
.pill.bad { background: #fb718522; color: var(--bad); } .pill.info { background: #922EFF2e; color: #D3A6FF; }
.pill.live i { animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- page header ---------- */
.ph { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.ph .back { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--surface);
  border: 1px solid var(--line); flex: none; font-size: 20px; }
.ph h1 { font-size: 21px; margin: 0; }
.banner-head { position: relative; border-radius: 26px; padding: 18px; overflow: hidden; isolation: isolate; color: #fff; margin-bottom: 14px; }
.banner-head .big { position: absolute; right: -20px; top: -20px; width: 150px; height: 150px; opacity: .25; z-index: -1; }
.banner-head h1 { font-size: 22px; margin: 0 0 4px; }
.banner-head p { margin: 0; font-size: 13px; opacity: .9; max-width: 80%; }

/* ---------- forms ---------- */
.card { padding: 16px; margin-top: 12px; }
.field { margin-top: 14px; } .field:first-child { margin-top: 0; }
.label { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--hint); margin-bottom: 7px;
  letter-spacing: .2px; }
.input { position: relative; }
.input input { width: 100%; padding: 15px 16px; border-radius: 16px; border: 1px solid var(--line); background: #0000004d;
  color: var(--text); font: 600 16px var(--font); outline: none; transition: border-color .2s, box-shadow .2s; }
.input input:focus { border-color: #A95CFF; box-shadow: 0 0 0 4px #922EFF26; }
.input input::placeholder { color: #6f6b88; font-weight: 500; }
.input .pre { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--hint); font-weight: 700; }
.input.with-pre input { padding-left: 34px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { padding: 9px 13px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); font-weight: 700;
  font-size: 13.5px; cursor: pointer; transition: .15s; }
.chip.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 18px -6px #A63CF6aa; }
.err { color: var(--bad); font-size: 13px; font-weight: 600; min-height: 0; margin-top: 8px; }
.err:empty { display: none; }
.hint-line { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--hint); margin-top: 12px; line-height: 1.4; }

/* stars counter */
.counter { text-align: center; padding: 8px 0 4px; }
.counter .num { font: 800 46px/1 var(--display); letter-spacing: -1.5px; display: inline-flex; align-items: center; gap: 8px; }
.counter .num svg { width: 36px; height: 36px; filter: drop-shadow(0 4px 14px #FFAA1988); }
.counter .sub { color: var(--hint); font-size: 13px; margin-top: 6px; font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; margin: 18px 0 4px;
  background: linear-gradient(90deg, #FFC650, #FFAA19 var(--p, 10%), #ffffff1a var(--p, 10%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 14px #FFAA1988, 0 0 0 5px #FFAA1933; }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; }

.qty { display: flex; align-items: center; gap: 4px; background: #0000004d; border: 1px solid var(--line); border-radius: 16px; padding: 4px; width: max-content; }
.qty button { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--surface-2); font-size: 20px; font-weight: 700; cursor: pointer; }
.qty b { min-width: 44px; text-align: center; font: 800 18px var(--display); }

/* ---------- sticky CTA ---------- */
.cta { position: fixed; z-index: 15; left: 0; right: 0; bottom: calc(82px + var(--safe-b)); padding: 0 16px; }
.cta-in { max-width: 528px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px;
  border-radius: 24px; background: rgba(23, 12, 46, .82); border: 1px solid #ffffff17; backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 40px -10px #000c; }
.cta .sum { flex: 1; min-width: 0; }
.cta .sum b { display: block; font: 800 21px/1.1 var(--display); letter-spacing: -.5px; }
.cta .sum span { font-size: 12px; color: var(--hint); font-weight: 600; }
.btn { border: 0; border-radius: 18px; padding: 15px 22px; font-weight: 800; font-size: 15.5px; color: #fff; background: var(--grad);
  cursor: pointer; box-shadow: 0 10px 26px -8px #A63CF6cc, inset 0 1px 0 #ffffff40; transition: transform .12s, opacity .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; box-shadow: none; }
.btn.block { width: 100%; margin-top: 16px; }
.btn.ghost { background: var(--surface-2); box-shadow: none; border: 1px solid var(--line); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #ffffff55; border-top-color: #fff; animation: spin .7s linear infinite; }

/* ---------- order ---------- */
.status-hero { text-align: center; padding: 24px 16px 20px; margin-top: 4px; }
.ring { position: relative; width: 96px; height: 96px; margin: 0 auto 14px; display: grid; place-items: center; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 3px; background: conic-gradient(var(--c1, #922EFF), var(--c2, #D946EF), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 1.4s linear infinite; }
.ring.done::before { animation: none; background: var(--c1); }
.ring .core { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 34px; }
.ring.done .core { background: radial-gradient(circle, #34d39933, transparent 70%); }
.ring.done.okk { --c1: var(--ok); } .ring.done.bad { --c1: var(--bad); }
.status-hero h1 { font-size: 21px; margin: 0 0 6px; }
.status-hero p { margin: 0; color: var(--hint); font-size: 14px; }
.timeline { padding: 6px 16px 14px; }
.tl { display: flex; gap: 14px; position: relative; padding: 10px 0; }
.tl::before { content: ""; position: absolute; left: 13px; top: 36px; bottom: -10px; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl .dot { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--hint); font-weight: 800; z-index: 1; }
.tl.on .dot { background: var(--grad); border-color: transparent; color: #fff; }
.tl.now .dot { box-shadow: 0 0 0 6px #922EFF2a; animation: glow 1.6s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 10px #922EFF12; } }
.tl.on::before { background: linear-gradient(#B94CE8, var(--line)); }
.tl b { display: block; font-size: 14.5px; } .tl span { font-size: 12.5px; color: var(--hint); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-child { border: 0; } .kv span { color: var(--hint); } .kv b { text-align: right; word-break: break-all; }
.code { display: flex; align-items: center; gap: 10px; padding: 14px; margin-top: 8px; border-radius: 16px; background: #0000004d;
  border: 1px dashed #ffffff2a; font: 700 15px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 1px; }
.code span { flex: 1; min-width: 0; user-select: all; white-space: nowrap; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; letter-spacing: .02em; scrollbar-width: none; }
.code button { border: 0; background: var(--surface-2); border-radius: 10px; padding: 7px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ---------- payment sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; background: #000a; backdrop-filter: blur(6px); display: flex; align-items: flex-end;
  animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet-in { width: 100%; height: 94vh; background: #fff; border-radius: 26px 26px 0 0; overflow: hidden; display: flex;
  flex-direction: column; animation: up .32s cubic-bezier(.2, .9, .3, 1); }
@keyframes up { from { transform: translateY(100%); } }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #140a28; color: #fff; }
.sheet-head .x { width: 36px; height: 36px; border-radius: 12px; border: 0; background: #ffffff17; font-size: 18px; cursor: pointer; }
.sheet-head b { font: 700 15px var(--display); }
.sheet-head .lock { font-size: 11.5px; color: #a5a1c2; font-weight: 600; }
.sheet iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.sheet-foot { padding: 10px 14px calc(10px + var(--safe-b)); background: #140a28; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px; color: #a5a1c2; }
.sheet-foot a { color: #D9B3FF; font-weight: 700; }
.sheet-loading { position: absolute; inset: 64px 0 50px; display: grid; place-items: center; color: #555; pointer-events: none; }

/* success overlay */
.success { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #3a1673ee, #0B0815f5);
  animation: fade .25s; text-align: center; padding: 24px; }
.success .check { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--grad);
  box-shadow: 0 20px 60px -10px #A63CF6cc; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.success .check svg { width: 54px; height: 54px; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .25s forwards; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h1 { font-size: 24px; margin: 0 0 8px; } .success p { color: #cfc9ee; margin: 0 0 22px; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 61; }
.confetti i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- empty / skeleton ---------- */
.empty { text-align: center; padding: 40px 16px; }
.empty .em { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 28px; display: grid; place-items: center; font-size: 38px;
  background: var(--surface); border: 1px solid var(--line); }
.empty h3 { font: 700 17px var(--display); margin-bottom: 6px; }
.skel { height: 72px; border-radius: 20px; background: linear-gradient(90deg, var(--surface), #ffffff12, var(--surface));
  background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.boot { min-height: 70vh; display: grid; place-items: center; }
.logo-anim { width: 56px; height: 56px; border-radius: 18px; background: var(--grad); animation: float 1.6s ease-in-out infinite;
  box-shadow: 0 14px 40px -8px #A63CF6cc; }

/* active order card on home */
.live { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 12px; border-radius: 20px; border: 1px solid transparent;
  background: linear-gradient(#170c2e, #170c2e) padding-box, var(--grad) border-box; }
.live .ring { width: 40px; height: 40px; margin: 0; } .live .ring .core { width: 30px; height: 30px; font-size: 14px; }

/* ---------- tab bar ---------- */
.tabbar { position: fixed; z-index: 20; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b)); width: calc(100% - 32px);
  max-width: 420px; display: flex; padding: 6px; border-radius: 26px; background: rgba(23, 12, 46, .78); border: 1px solid #ffffff14;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 18px 40px -12px #000; }
.tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 6px;
  border-radius: 20px; font-size: 10.5px; font-weight: 700; color: var(--hint); transition: .2s; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.on { color: #fff; background: linear-gradient(135deg, #922EFF40, #D946EF30); }
.tabbar a .dotc { position: absolute; top: 4px; right: calc(50% - 20px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 99px;
  background: var(--pink); color: #fff; font-size: 10px; display: grid; place-items: center; box-shadow: 0 0 0 2px #170c2e; }

/* ---------- in-app banner & toast ---------- */
.banner { position: fixed; z-index: 70; left: 12px; right: 12px; top: 10px; max-width: 520px; margin: 0 auto; display: flex; gap: 12px;
  align-items: center; padding: 12px 14px; border-radius: 20px; background: rgba(26, 14, 52, .92); border: 1px solid #ffffff1c;
  backdrop-filter: blur(18px); box-shadow: 0 16px 40px -10px #000; transform: translateY(-140%); transition: transform .35s cubic-bezier(.2, .9, .3, 1); }
.banner.show { transform: none; }
.banner .bi { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; background: var(--grad); flex: none; }
.banner b { display: block; font-size: 14px; } .banner span { font-size: 12.5px; color: var(--hint); }
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(100px + var(--safe-b)); transform: translateX(-50%) translateY(16px); opacity: 0;
  background: #fff; color: #111; padding: 10px 16px; border-radius: 14px; font-size: 14px; font-weight: 700; transition: .25s;
  pointer-events: none; max-width: 90%; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }

.fade-in { animation: fin .35s ease both; }
@keyframes fin { from { opacity: 0; transform: translateY(8px); } }

/* ============ v3: доработки ============ */
/* клавиатура: прячем меню, панель оплаты — над клавиатурой */
body.kb .tabbar { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(140%); }
.tabbar { transition: transform .25s, opacity .2s; }
.cta { transition: bottom .2s ease; }
body.kb .cta { bottom: calc(var(--kb, 0px) + 8px); }
body.kb.has-cta { padding-bottom: calc(110px + var(--kb, 0px)); }

/* stars */
.sel-tag { color: #FFC650; background: #FFAA1922; padding: 2px 8px; border-radius: 99px; font-size: 11px; }
.stars-pick { border-color: #FFAA1933; background: linear-gradient(180deg, #FFAA1912, rgba(255,255,255,.04)); }
.counter .num { color: #fff; transition: transform .2s; }
.counter .num.bump { animation: bump .25s ease; }
@keyframes bump { 50% { transform: scale(1.07); } }
.counter .num span { background: linear-gradient(180deg, #fff, #ffe3b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.range-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--hint); font-weight: 600; }
.stars-chips .chip.on { background: var(--g-stars); color: #2a1600; box-shadow: 0 6px 18px -6px #FFAA19aa; }
.breakdown .kv b { font-weight: 700; }
.kv.total { border-top: 1px dashed var(--line); border-bottom: 0; margin-top: 4px; padding-top: 14px; }
.kv.total span { color: var(--text); font-weight: 700; }
.kv.total b { font: 800 20px var(--display); letter-spacing: -.4px; }

/* сегменты фильтров */
.seg { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface);
  padding: 9px 14px; border-radius: 14px; font-weight: 700; font-size: 13.5px; color: var(--hint); cursor: pointer; transition: .15s; }
.seg button.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -8px #A63CF6cc; }
.seg em { font-style: normal; font-size: 11px; opacity: .8; }
.seg em:empty { display: none; }
.order-side { text-align: right; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }

/* страница заказа */
.cat-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.mini { border: 0; background: var(--surface-2); color: var(--text); border-radius: 8px; padding: 2px 7px; margin-left: 6px; cursor: pointer; font-size: 12px; }
.actions { display: flex; gap: 10px; margin-top: 14px; }
.actions .btn { flex: 1; }
.actions:empty { display: none; }

/* профиль */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.stats .card { margin: 0; } .stats b { display: block; font: 800 22px var(--display); margin-top: 2px; letter-spacing: -.4px; }
.btn.sm { padding: 10px 14px; font-size: 13.5px; border-radius: 14px; }
.email-card b { font-size: 15px; word-break: break-all; }
.doc h3 { font: 700 15px var(--display); margin: 18px 0 6px; } .doc h3:first-child { margin-top: 0; }
.doc p { color: #d7d0ec; font-size: 14px; line-height: 1.55; margin: 0 0 8px; }

/* ============ v4: единые формы ============ */
.steam-pick { border-color: #279FF033; background: linear-gradient(180deg, #279FF012, rgba(255,255,255,.04)); }
.sel-tag.steam { color: #7cc7ff; background: #279FF022; }
.counter .num .cur { font-style: normal; font-size: 30px; color: #7cc7ff; }
.steam-chips .chip.on { background: var(--g-steam); color: #fff; box-shadow: 0 6px 18px -6px #279FF0aa; }

/* ============ v5: нативная кнопка Telegram ============ */
/* на страницах покупки нижнее меню скрыто (есть «Назад»), оплата — кнопкой Telegram */
body.has-cta .tabbar { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(140%); }
body.mb.has-cta, body.mb.kb.has-cta { padding-bottom: calc(24px + var(--safe-b)); }
body.mb .cta { display: none !important; }
body:not(.mb).has-cta { padding-bottom: calc(110px + var(--safe-b)); }
body:not(.mb).has-cta .cta { bottom: calc(12px + var(--safe-b)); }

/* ============ v6: иконки, ваучеры, компактность ============ */
body { padding-bottom: calc(124px + var(--safe-b)); }
/* баннер ниже */
.hero { padding: 18px 18px 16px; border-radius: 26px; }
.hero h1 { font-size: 22px; margin: 10px 0 6px; }
.hero p { font-size: 13px; }
.hero .orbit { width: 112px; height: 112px; top: 12px; right: 6px; transform: scale(.88); transform-origin: top right; }
.trust { margin-top: 12px; } .trust span { padding: 6px 9px; font-size: 11.5px; }

/* картинки-иконки */
.thumb.img { background: #ffffff10; overflow: hidden; padding: 0; position: relative; }
.thumb.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.sm-badge i { position: absolute; right: -3px; bottom: -3px; width: 22px; height: 22px; border-radius: 8px; display: grid; place-items: center;
  background: var(--g-games); box-shadow: 0 0 0 2px var(--bg); }
.thumb.sm-badge i svg { width: 13px; height: 13px; }
.thumb.sm-badge { overflow: visible; } .thumb.sm-badge img { border-radius: 15px; }
.gcard { width: 118px; padding: 8px 8px 10px; }
.gcard .thumb.img { width: 100%; height: 102px; border-radius: 16px; margin-bottom: 8px; }
.rtag { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; padding: 2px 7px; margin-right: 6px; border-radius: 7px;
  background: #ffffff14; color: var(--text); vertical-align: 1px; }

/* баннер с картинкой (игра / сервис) */
.banner-head.with-img { display: flex; align-items: center; gap: 14px; background: #1a1030; border: 1px solid #ffffff14; }
.banner-head.with-img .bg { position: absolute; inset: -30px; z-index: -1; background-size: cover; background-position: center; filter: blur(28px) saturate(1.4);
  opacity: .55; transform: scale(1.2); }
.banner-head.with-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0B0815cc, #0B081566); }
.banner-head.with-img .logo { width: 68px; height: 68px; border-radius: 20px; flex: none; object-fit: cover; box-shadow: 0 10px 26px -8px #000c, 0 0 0 1px #ffffff22; }
.banner-head.with-img h1 { font-size: 19px; } .banner-head.with-img p { max-width: none; }
.banner-head.with-img.vouch { border-color: #10B98133; }
.region-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--hint); padding: 10px 12px; margin: -4px 0 4px;
  border-radius: 14px; background: #10B98112; border: 1px solid #10B98126; }
.region-note b { color: var(--text); }

/* подарочные карточки ваучеров */
.gifts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gift { position: relative; border-radius: 20px; padding: 12px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid var(--line); cursor: pointer; transition: transform .12s, box-shadow .2s; overflow: hidden; min-height: 124px;
  display: flex; flex-direction: column; justify-content: space-between; }
.gift::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--g-vouch); opacity: .9; }
.gift:active { transform: scale(.97); }
.gift.sel { border-color: transparent; background: linear-gradient(#150d29, #150d29) padding-box, var(--g-vouch) border-box; border: 1.5px solid transparent;
  box-shadow: 0 12px 30px -12px #10B981aa; }
.gift.off { opacity: .4; pointer-events: none; }
.gift-top { display: flex; justify-content: space-between; align-items: center; }
.gift-top img, .gift-top .gl { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; }
.gift-top .gl { display: grid; place-items: center; background: var(--g-vouch); } .gift-top .gl svg { width: 18px; height: 18px; }
.gift-top .rtag { margin: 0; }
.gift-nom { font: 800 21px/1.1 var(--display); letter-spacing: -.5px; margin: 12px 0 8px; word-break: break-word; }
.gift-bot { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.gift-bot b { font-size: 15px; } .gift-bot span { font-size: 11px; color: var(--hint); font-weight: 600; text-align: right; }

/* профиль компактнее */
.pcard { padding: 14px; }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pstats div { background: #0000003a; border-radius: 14px; padding: 9px 10px; }
.pstats b { display: block; font: 800 16px var(--display); letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pstats span { font-size: 11px; color: var(--hint); font-weight: 600; }
.email-card { padding: 12px 14px; margin-top: 10px; }
.list.compact { gap: 6px; }
.list.compact .item { padding: 9px 10px; border-radius: 16px; }
.list.compact .thumb { width: 38px; height: 38px; border-radius: 12px; font-size: 17px; }
.list.compact .thumb svg { width: 19px; height: 19px; }
.list.compact h3 { font-size: 14px; } .list.compact .muted { font-size: 12px; }

/* ============ v7: экраны по макету ============ */
.ic-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* шапка */
.hdr { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 14px; }
.brand2 { display: flex; align-items: center; gap: 8px; font: 800 26px var(--display); letter-spacing: -.6px; }
.tmark { width: 34px; height: 34px; display: inline-block; filter: drop-shadow(0 6px 14px #922EFF88); }
.tmark svg { width: 100%; height: 100%; }
.tmark.big { width: 52px; height: 52px; margin-right: 12px; }
.crown-av { width: 42px; height: 42px; border-radius: 50%; padding: 2px; background: linear-gradient(140deg, #FFD36B, #FFAA19, #B36B00);
  box-shadow: 0 0 18px #FFAA1955; }
.crown-av img, .crown-av span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  background: #241044; font-weight: 800; color: #FFD36B; border: 2px solid #0B0815; }

/* баннер */
.hero2 { position: relative; display: flex; align-items: center; min-height: 150px; padding: 4px 0 8px; }
.hero2 .ht { position: relative; z-index: 2; max-width: 58%; }
.hero2 h1 { font: 800 23px/1.18 var(--display); letter-spacing: -.6px; margin: 0 0 8px; }
.hero2 p { margin: 0; color: #cbbfe6; font-size: 13.5px; line-height: 1.4; }
.bagart { position: absolute; right: -6px; top: -4px; width: 168px; height: 160px; }
.bagart .bag { position: absolute; right: 22px; top: 0; width: 118px; height: 118px; filter: drop-shadow(0 16px 30px #922EFFaa); animation: float 5s ease-in-out infinite; }
.bagart .glow { position: absolute; right: 10px; top: 10px; width: 150px; height: 140px; border-radius: 50%; background: radial-gradient(circle, #922EFF66, transparent 65%); z-index: -1; }
.bagart .tile { position: absolute; display: grid; place-items: center; border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 22px -6px #000c, inset 0 1px 0 #ffffff55; animation: float 5s ease-in-out infinite; }
.bagart .tile svg { width: 58%; height: 58%; }
.bagart .t1 { width: 46px; height: 46px; left: 6px; top: 78px; background: linear-gradient(140deg, #5FC2FF, #279FF0 60%, #1673C4); transform: rotate(-12deg); animation-delay: -1s; }
.bagart .t2 { width: 46px; height: 46px; left: 58px; top: 104px; background: linear-gradient(140deg, #D07CFF, #B94CE8 55%, #7A22D0); transform: rotate(8deg); animation-delay: -2s; }
.bagart .t3 { width: 46px; height: 46px; right: 0; top: 92px; background: linear-gradient(140deg, #1d3b8a, #0f1d4a); transform: rotate(10deg); animation-delay: -3s; }

/* преимущества */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 4px; }
.feat { display: flex; align-items: center; gap: 7px; padding: 9px 9px; border-radius: 15px; font-size: 11.5px; font-weight: 700; line-height: 1.2;
  background: rgba(255,255,255,.05); border: 1px solid rgba(180,120,255,.18); }
.feat .fi { flex: none; width: 22px; height: 22px; } .feat .fi svg { width: 100%; height: 100%; }

h2.sec { font-size: 19px; margin: 20px 0 12px; }

/* категории 2×2 */
.cats2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat2 { position: relative; min-height: 118px; border-radius: 20px; padding: 14px; overflow: hidden; isolation: isolate; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #ffffff26; transition: transform .15s;
  box-shadow: 0 14px 30px -14px var(--sh, #000), inset 0 1px 0 #ffffff33; }
.cat2:active { transform: scale(.97); }
.cat2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, #ffffff30, transparent 55%), linear-gradient(180deg, transparent 40%, #00000040); }
.cat2.stars { background: linear-gradient(150deg, #FFB53D, #F08A12 50%, #C8551A); --sh: #FFAA19; }
.cat2.steam { background: linear-gradient(150deg, #3BA9F5, #1E7BD8 50%, #173E9A); --sh: #279FF0; }
.cat2.games { background: linear-gradient(150deg, #C266F5, #9B3BDA 50%, #5E1FA6); --sh: #B94CE8; }
.cat2.vouch { background: linear-gradient(150deg, #22C98E, #0E9E6E 50%, #0B6B55); --sh: #10B981; }
.cat2 .ic { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; } .cat2 .ic svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 6px #0005); }
.cat2 .t { font: 700 15px/1.2 var(--display); letter-spacing: -.2px; }
.cat2 .s { font-size: 11.5px; opacity: .88; font-weight: 600; margin-top: 3px; padding-right: 26px; }
.cat2 .go { position: absolute; right: 10px; bottom: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #ffffff33; }
.cat2 .go svg { width: 13px; height: 13px; }

/* заголовок страницы, поиск */
.ptitle { font: 800 30px var(--display) !important; letter-spacing: -.8px; margin: 6px 0 14px !important; }
.searchbar { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 16px; margin-bottom: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(180,120,255,.2); }
.searchbar svg { width: 19px; height: 19px; color: var(--hint); flex: none; }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 600 15px var(--font); }
.searchbar input::placeholder { color: #7d7598; }
.seg button.on { background: linear-gradient(135deg, #A447FF, #922EFF); }

/* баннеры каталога */
.cblist { display: flex; flex-direction: column; gap: 10px; }
.cb { position: relative; display: flex; align-items: center; gap: 14px; height: 80px; padding: 0 14px; border-radius: 20px; overflow: hidden;
  isolation: isolate; border: 1px solid var(--bd); background: var(--bgc); transition: transform .12s; }
.cb:active { transform: scale(.98); }
.cb.stars { --bd: #FFAA1955; --bgc: linear-gradient(90deg, #7a3d10 0%, #4a2230 55%, #2a1440 100%); }
.cb.steam { --bd: #279FF055; --bgc: linear-gradient(90deg, #0f3f86 0%, #13286a 55%, #1a1446 100%); }
.cb.games { --bd: #B94CE855; --bgc: linear-gradient(90deg, #5a1f8c 0%, #3a1666 55%, #24103e 100%); }
.cb.vouch { --bd: #10B98155; --bgc: linear-gradient(90deg, #0b5c48 0%, #10384a 55%, #181640 100%); }
.cb .ic { width: 52px; height: 52px; border-radius: 15px; flex: none; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 1px 0 #ffffff55, 0 8px 18px -6px #000a; }
.cb .ic svg { width: 28px; height: 28px; }
.cb.stars .ic { background: var(--g-stars); } .cb.steam .ic { background: var(--g-steam); }
.cb.games .ic { background: var(--g-games); } .cb.vouch .ic { background: var(--g-vouch); }
.cb .txt { position: relative; z-index: 2; flex: 1; min-width: 0; }
.cb .txt b { display: block; font: 700 16px/1.2 var(--display); letter-spacing: -.3px; }
.cb .txt span { font-size: 12.5px; color: #d6cdee; font-weight: 600; }
.cb .go { position: relative; z-index: 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #ffffff22; flex: none; }
.cb .go svg { width: 14px; height: 14px; }
.cb .art { position: absolute; right: 30px; top: 0; bottom: 0; width: 120px; z-index: 0; pointer-events: none; }
.cb .art .s1 { position: absolute; right: 18px; top: 6px; width: 58px; height: 58px; transform: rotate(14deg); filter: drop-shadow(0 6px 14px #FFAA1999); }
.cb .art .s2 { position: absolute; right: 70px; bottom: 6px; width: 30px; height: 30px; transform: rotate(-12deg); opacity: .9; }
.cb .art svg { width: 100%; height: 100%; }
.cb .art .big-img { position: absolute; right: 6px; top: 8px; width: 72px; height: 72px; border-radius: 18px; transform: rotate(-14deg); opacity: .92;
  box-shadow: 0 10px 24px -6px #000c; }
.cb .art .big-svg { position: absolute; right: 8px; top: 8px; width: 68px; height: 68px; opacity: .35; transform: rotate(-12deg); }
.cb .art .hero-img { position: absolute; right: 0; top: 0; height: 100%; width: 110px; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.cb .art .vc { position: absolute; width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 8px 18px -6px #000c; }
.cb .art .v0 { right: 46px; top: 22px; transform: rotate(-14deg); } .cb .art .v1 { right: 8px; top: 14px; transform: rotate(10deg); }

/* заказы */
.ktile.stars { background: var(--g-stars); } .ktile.steam { background: var(--g-steam); overflow: hidden; }
.ktile.games { background: var(--g-games); } .ktile.vouch { background: var(--g-vouch); }
.orow h3 { font-size: 14.5px; }
.pill.solid { padding: 4px 10px; font-size: 11.5px; }
.pill.solid.ok { background: #16a34a; color: #fff; } .pill.solid.ok i { background: #b7f7cf; }
.pill.solid.info { background: #7c3aed; color: #fff; } .pill.solid.warn { background: #b7791f; color: #fff; }
.pill.solid.bad { background: #be123c; color: #fff; }
.helpcard { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px; border-radius: 20px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(180,120,255,.2); }
.helpcard .hi { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(140deg, #C266F5, #922EFF); box-shadow: 0 8px 18px -6px #922EFFaa; }
.helpcard .hi svg { width: 22px; height: 22px; }
.helpcard b { display: block; font-size: 15px; } .helpcard span { font-size: 12.5px; color: var(--hint); }
.chev2 { width: 20px; height: 20px; color: var(--hint); flex: none; display: grid; place-items: center; } .chev2 svg { width: 100%; height: 100%; }

/* профиль */
.ucard { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(180,120,255,.2); }
.av-ring { width: 60px; height: 60px; border-radius: 50%; padding: 2.5px; flex: none; background: linear-gradient(140deg, #FFD36B, #FFAA19, #B36B00); box-shadow: 0 0 20px #FFAA1944; }
.av-ring img, .av-ring span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #241044;
  border: 2.5px solid #0B0815; font: 800 22px var(--display); color: #FFD36B; }
.ucard b { display: block; font: 700 17px var(--display); letter-spacing: -.3px; } .ucard span { font-size: 13px; color: var(--hint); }
.pen { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid var(--line); flex: none; }
.pen svg { width: 19px; height: 19px; }
.pst2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.sc { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(180,120,255,.18); }
.sc span { font-size: 12.5px; color: var(--hint); font-weight: 600; } .sc b { display: block; font: 800 20px var(--display); letter-spacing: -.5px; white-space: nowrap; }
.ti { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; }
.ti svg { width: 22px; height: 22px; }
.ti.p { background: linear-gradient(140deg, #A06BFF, #5B2BD0); } .ti.g { background: linear-gradient(140deg, #34D399, #0E8F64); }
.menu2 { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.mrow { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 20px; cursor: pointer; background: rgba(255,255,255,.05);
  border: 1px solid rgba(180,120,255,.16); transition: transform .12s; }
.mrow:active { transform: scale(.985); }
.mrow b { display: block; font-size: 15px; } .mrow span:not(.mt):not(.chev2) { font-size: 12.5px; color: var(--hint); }
.mt { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #fff; font-size: 19px; box-shadow: inset 0 1px 0 #ffffff44; }
.mt svg { width: 21px; height: 21px; }
.mt.o { background: linear-gradient(140deg, #FFC650, #F08A12); } .mt.v { background: linear-gradient(140deg, #A06BFF, #6A2BD9); }
.mt.b { background: linear-gradient(140deg, #4F7BFF, #2E4FD6); } .mt.v2 { background: linear-gradient(140deg, #9B5CFF, #6D28D9); }
.mt.a { background: var(--grad); }
.about p { color: #d7d0ec; font-size: 14px; line-height: 1.55; margin: 12px 0 0; }

/* нижнее меню: активная вкладка — заливка */
.tabbar { padding: 7px; border-radius: 28px; background: rgba(20, 11, 40, .86); border-color: rgba(180,120,255,.2); }
.tabbar a { padding: 9px 0 7px; border-radius: 21px; }
.tabbar a.on { color: #fff; background: linear-gradient(140deg, #A447FF, #7C22E8); box-shadow: 0 8px 20px -6px #922EFFcc, inset 0 1px 0 #ffffff40; }

/* ============ v8: подгонка под макет ============ */
.demo { display: none !important; }

/* размеры шрифтов как в макете */
.brand2 { font-size: 22px; gap: 7px; } .tmark { width: 28px; height: 28px; }
.crown-av { width: 38px; height: 38px; }
.hero2 { min-height: 132px; }
.hero2 .ht { max-width: 60%; }
.hero2 h1 { font-size: 19.5px; line-height: 1.22; letter-spacing: -.4px; }
.hero2 p { font-size: 12.5px; }
.bagart { width: 150px; height: 140px; right: -4px; top: 0; transform: scale(.92); transform-origin: top right; }
.bagart .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bagart .t3 { background: #1b2838; padding: 0; }

.feats { gap: 6px; }
.feat { gap: 5px; padding: 8px 7px; font-size: 10.5px; border-radius: 13px; min-width: 0; }
.feat .fi { width: 16px; height: 16px; }

h2.sec { font-size: 16.5px; margin: 18px 0 10px; }
.cat2 { min-height: 104px; padding: 12px; border-radius: 18px; }
.cat2 .ic { width: 30px; height: 30px; }
.cat2 .t { font-size: 13.5px; }
.cat2 .s { font-size: 11px; }

.ptitle { font-size: 25px !important; letter-spacing: -.6px; margin: 4px 0 12px !important; }
.searchbar { height: 44px; border-radius: 14px; }
.searchbar input { font-size: 14px; }
.seg { gap: 6px; margin-bottom: 12px; }
.seg button { padding: 7px 11px; font-size: 12px; border-radius: 12px; }

/* баннеры каталога: текст поверх картинки, картинка приглушена */
.cb { height: 74px; gap: 12px; padding: 0 12px; border-radius: 18px; }
.cb .ic { width: 46px; height: 46px; border-radius: 14px; }
.cb .ic svg { width: 24px; height: 24px; }
.cb .txt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 8px #0009; }
.cb .txt span { font-size: 11.5px; text-shadow: 0 2px 8px #0009; }
.cb .go { width: 26px; height: 26px; }
.cb .art { right: 40px; width: 100px; }
.cb .art .s1 { width: 46px; height: 46px; right: 10px; top: 8px; }
.cb .art .s2 { width: 24px; height: 24px; right: 56px; bottom: 8px; }
.cb .art .big-img { width: 54px; height: 54px; right: 4px; top: 10px; border-radius: 14px; opacity: .55; }
.cb .art .hero-img { width: 96px; opacity: .6; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cb .art .vc { width: 34px; height: 34px; border-radius: 10px; opacity: .6; }
.cb .art .v0 { right: 36px; top: 20px; } .cb .art .v1 { right: 4px; top: 14px; }

/* заказы и профиль */
.orow h3 { font-size: 13.5px; }
.ucard b { font: 800 16px var(--font); letter-spacing: -.2px; font-style: normal; }
.av-ring { width: 54px; height: 54px; }
.sc b { font-size: 18px; } .sc { padding: 12px; } .ti { width: 40px; height: 40px; border-radius: 13px; }
.mrow { padding: 11px 13px; } .mrow b { font-size: 14.5px; } .mt { width: 40px; height: 40px; }

/* ============ v9: мелкие правки ============ */
/* стрелка в карточке категории не налезает на текст */
.cat2 .t, .cat2 .s { padding-right: 30px; }
/* «Подарочные карты и ваучеры» целиком */
.cb.vouch .txt b { font-size: 12.5px; letter-spacing: -.4px; }
/* картинка игры — до правого края с плавным затуханием, стрелка поверх */
.cb.games .art { right: 0; width: 150px; }
.cb.games .art .hero-img { width: 150px; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); }
.cb .go { background: #ffffff2e; backdrop-filter: blur(6px); }

/* ============ v10: единый стиль внутренних страниц ============ */
/* шапка страницы */
.ph { gap: 10px; margin: 4px 0 12px; }
.ph h1 { font: 800 21px var(--display) !important; letter-spacing: -.5px; }
.ph .back { width: 38px; height: 38px; border-radius: 13px; background: rgba(255,255,255,.06); border-color: rgba(180,120,255,.2); }
.ph .back svg { width: 18px; height: 18px; }
html.in-tg .ph .back { display: none; }   /* в Telegram есть нативная кнопка «Назад» */

/* стеклянные карточки — как на главной */
.glass { background: rgba(255,255,255,.05); border: 1px solid rgba(180,120,255,.18); border-radius: 20px; }
.card { padding: 14px; margin-top: 10px; }
.item { background: rgba(255,255,255,.05); border-color: rgba(180,120,255,.16); border-radius: 18px; padding: 11px; }
.item h3 { font-size: 14px; } .item .muted { font-size: 12px; }
.thumb { width: 44px; height: 44px; border-radius: 14px; }
.price { font-size: 14px; }
h2 { font-size: 16px; margin: 20px 0 10px; }

/* баннер раздела (Stars / Steam) — как баннеры каталога, но без стрелки */
.pbanner { position: relative; display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 12px 14px; margin-bottom: 4px;
  border-radius: 20px; overflow: hidden; isolation: isolate; border: 1px solid var(--bd); background: var(--bgc); }
.pbanner.stars { --bd: #FFAA1955; --bgc: linear-gradient(90deg, #7a3d10 0%, #4a2230 55%, #2a1440 100%); }
.pbanner.steam { --bd: #279FF055; --bgc: linear-gradient(90deg, #0f3f86 0%, #13286a 55%, #1a1446 100%); }
.pbanner .ic { width: 50px; height: 50px; border-radius: 15px; flex: none; display: grid; place-items: center; overflow: hidden;
  box-shadow: inset 0 1px 0 #ffffff55, 0 8px 18px -6px #000a; }
.pbanner.stars .ic { background: var(--g-stars); } .pbanner.steam .ic { background: var(--g-steam); }
.pbanner .ic svg { width: 26px; height: 26px; }
.pbanner .txt { position: relative; z-index: 2; flex: 1; min-width: 0; padding-right: 60px; }
.pbanner .txt b { display: block; font: 700 15px/1.2 var(--display); letter-spacing: -.3px; text-shadow: 0 2px 8px #0009; }
.pbanner .txt span { font-size: 12px; color: #d6cdee; font-weight: 600; }
.pbanner .art { position: absolute; right: 8px; top: 0; bottom: 0; width: 90px; z-index: 0; pointer-events: none; }
.pbanner .art svg { width: 100%; height: 100%; }
.pbanner .art .s1 { position: absolute; right: 8px; top: 10px; width: 50px; height: 50px; transform: rotate(14deg); filter: drop-shadow(0 6px 14px #FFAA1999); }
.pbanner .art .s2 { position: absolute; right: 54px; bottom: 8px; width: 24px; height: 24px; transform: rotate(-12deg); }
.pbanner .art .big-img { position: absolute; right: 6px; top: 14px; width: 56px; height: 56px; border-radius: 15px; transform: rotate(-14deg); opacity: .6; }

/* баннер игры / сервиса с картинкой — те же размеры */
.banner-head.with-img { min-height: 84px; padding: 12px 14px; border-radius: 20px; gap: 12px; margin-bottom: 4px; border-color: rgba(180,120,255,.22); }
.banner-head.with-img .logo { width: 54px; height: 54px; border-radius: 16px; }
.banner-head.with-img h1 { font: 700 16px var(--display) !important; margin: 0 0 3px !important; letter-spacing: -.3px; }
.banner-head.with-img p { font-size: 12px; color: #d6cdee; }
.banner-head.with-img.vouch { border-color: #10B98144; }

/* выбор количества / суммы */
.stars-pick, .steam-pick { padding: 14px; }
.counter .num { font-size: 40px; }
.counter .num svg { width: 30px; height: 30px; }
.counter .num .cur { font-size: 26px; }
.chips { gap: 7px; }
.chip { padding: 8px 12px; font-size: 12.5px; border-radius: 12px; background: rgba(255,255,255,.05); border-color: rgba(180,120,255,.18); }
.label { font-size: 12px; }
.input input { padding: 13px 14px; border-radius: 14px; font-size: 15px; border-color: rgba(180,120,255,.2); background: rgba(0,0,0,.28); }
.input input:focus { border-color: #A95CFF; box-shadow: 0 0 0 4px #922EFF26; }
.hint-line { font-size: 12px; }
.breakdown .kv { font-size: 13.5px; padding: 10px 0; }
.kv.total b { font-size: 18px; }
.qty button { width: 38px; height: 38px; }

/* подарочные карточки — в общем стиле */
.gift { border-color: rgba(180,120,255,.16); min-height: 116px; border-radius: 18px; }
.gift-nom { font-size: 19px; }

/* страница заказа */
.status-hero { padding: 20px 14px 16px; }
.status-hero h1 { font: 800 19px var(--display) !important; }
.status-hero p { font-size: 13px; }
.ring { width: 84px; height: 84px; } .ring .core { width: 64px; height: 64px; font-size: 28px; }
.tl b { font-size: 14px; } .tl span { font-size: 12px; }
.kv { font-size: 13.5px; }
.code { font-size: 14px; padding: 12px; border-radius: 14px; }

/* пустые состояния */
.empty { padding: 34px 16px; }
.empty .em { width: 76px; height: 76px; border-radius: 24px; font-size: 34px; background: rgba(255,255,255,.05); border-color: rgba(180,120,255,.2); }
.empty h3 { font-size: 16px; }

/* оплата и успех */
.sheet-head b { font-size: 14px; }
.success h1 { font: 800 22px var(--display); }

/* ===== v11: регионы бренда ===== */
.regs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px 6px;padding:2px 16px 6px;scroll-snap-type:x proximity}
.regs::-webkit-scrollbar{display:none}
.reg{flex:none;scroll-snap-align:center;border:1px solid rgba(146,46,255,.28);background:rgba(36,16,68,.55);color:#e9e2ff;
  font:600 13px var(--font);padding:9px 13px;border-radius:12px;white-space:nowrap;cursor:pointer;transition:.15s}
.reg.on{background:linear-gradient(135deg,#922EFF,#D946EF);border-color:transparent;color:#fff;box-shadow:0 6px 18px -6px rgba(146,46,255,.7)}
.reg.off{opacity:.45}
.reg:active{transform:scale(.96)}

/* ===== v13: новые разделы, поиск на главной, избранное ===== */
:root {
  --g-subs: linear-gradient(140deg, #FF7AB6 0%, #EC4899 50%, #B0246E 100%);
  --g-soft: linear-gradient(140deg, #8B93FF 0%, #6366F1 50%, #3F3BC4 100%);
  --g-crypto: linear-gradient(140deg, #FFD95A 0%, #EAB308 50%, #A16207 100%);
}
.home-search { margin: 2px 0 12px; }
.home-search input::-webkit-search-cancel-button, .searchbar input::-webkit-search-cancel-button { filter: invert(.7); }
#homeRes { margin-bottom: 8px; }
.qs { color: #C9A2FF; font-weight: 700; cursor: pointer; }

.cats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.cat3 { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 11px 10px; border-radius: 16px; color: #fff; overflow: hidden; isolation: isolate; min-height: 74px; }
.cat3::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, #ffffff2e, transparent 55%), linear-gradient(180deg, transparent 40%, #00000040); }
.cat3 .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #ffffff2b; }
.cat3 .ic svg { width: 17px; height: 17px; }
.cat3 b { font: 700 12.5px/1.15 var(--display); letter-spacing: -.2px; }
.cat3.subs { background: linear-gradient(150deg, #F45BA4, #D0307F 50%, #8A1D5C); }
.cat3.soft { background: linear-gradient(150deg, #7C83FF, #5153E0 50%, #2E2B9C); }
.cat3.crypto { background: linear-gradient(150deg, #F5C430, #D69A0A 50%, #8A5A07); }

.cb.subs { --bd: #EC489955; --bgc: linear-gradient(90deg, #7a1d4f 0%, #4a1846 55%, #24103e 100%); }
.cb.soft { --bd: #6366F155; --bgc: linear-gradient(90deg, #2c2f8f 0%, #22206a 55%, #1a1446 100%); }
.cb.crypto { --bd: #EAB30855; --bgc: linear-gradient(90deg, #6b4a06 0%, #43301a 55%, #24133c 100%); }
.cb.subs .ic { background: var(--g-subs); } .cb.soft .ic { background: var(--g-soft); } .cb.crypto .ic { background: var(--g-crypto); }
.cb.subs .ic svg, .cb.soft .ic svg, .cb.crypto .ic svg { color: #fff; }

.pbanner.tg { --bd: #FFAA1955; --bgc: linear-gradient(90deg, #7a3d10 0%, #4a2230 55%, #2a1440 100%); }
.pbanner.tg .ic { background: var(--g-stars); } .pbanner.tg .ic svg { color: #fff; }

.ph .favbtn { margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(180,120,255,.2); color: #8f86ab; transition: transform .15s, color .15s; }
.ph .favbtn svg { width: 19px; height: 19px; }
.ph .favbtn.on { color: #FF4D8D; background: #FF4D8D1f; border-color: #FF4D8D55; }
.ph .favbtn:active { transform: scale(.9); }
.ph h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt.fav { background: linear-gradient(140deg, #FF7AB6, #E11D74); color: #fff; } .mt.fav svg { width: 20px; height: 20px; }

.gcard.again .thumb { display: grid; place-items: center; }
.gcard.again h3 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; height: 2.4em; }
#plat .seg { margin-top: -2px; }
.gift-nom { overflow-wrap: anywhere; }

/* v15: текст баннеров каталога не уходит под картинки */
.cb .txt { padding-right: 76px; }
.cb .txt span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb.stars .txt, .cb.games .txt { padding-right: 40px; }

/* ================= v20: единая страница товара, сетка каталога, витрина ================= */
:root { --c-stars: #FFAA19; --c-steam: #279FF0; --c-games: #B94CE8; --c-vouch: #10B981; --c-subs: #EC4899; --c-soft: #6366F1; --c-crypto: #EAB308; }
html.in-tg .ph.slim { display: none; }
.ph.slim { margin-bottom: 8px; }

/* ---------- шторка ---------- */
.usheet { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.usheet.open { pointer-events: auto; }
.us-back { position: absolute; inset: 0; background: #05030ccc; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.usheet.open .us-back { opacity: 1; }
.us-panel { position: absolute; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b, 0px)); max-height: 78vh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1d1236, #140c27); border: 1px solid rgba(180,120,255,.18); border-radius: 26px;
  box-shadow: 0 -20px 60px -10px #000c; transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.9,.25,1); }
.usheet.open .us-panel { transform: none; }
.us-grip { width: 38px; height: 4px; border-radius: 4px; background: #ffffff2e; margin: 8px auto 0; }
.us-head { display: flex; align-items: center; padding: 12px 18px 8px; }
.us-head b { flex: 1; font: 700 18px var(--display); letter-spacing: -.3px; }
.us-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #ffffff14; color: #fff; font-size: 14px; cursor: pointer; }
.us-body { overflow-y: auto; padding: 4px 14px 16px; -webkit-overflow-scrolling: touch; }
body.us-open { overflow: hidden; }
.ropts { display: flex; flex-direction: column; gap: 6px; }
.ropt { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; border: 1px solid transparent; background: #ffffff08;
  color: var(--text); font: 600 15px var(--font); text-align: left; cursor: pointer; }
.ropt em { font-style: normal; font-size: 13px; color: var(--hint); font-weight: 600; }
.ropt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #ffffff30; flex: none; position: relative; }
.ropt.on { background: rgba(146,46,255,.16); border-color: rgba(146,46,255,.6); }
.ropt.on .radio { border-color: #922EFF; background: #922EFF; box-shadow: inset 0 0 0 3px #1d1236; }
.ropt.off { opacity: .45; }
.rflag { font-size: 20px; line-height: 1; width: 26px; text-align: center; flex: none; }
.steps { margin: 4px 0 12px; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 2px 38px; font-size: 14.5px; line-height: 1.45; color: #e4dcf7; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(146,46,255,.22); color: #D9B3FF; font: 700 13px var(--display); }
.steps b { color: #fff; }
.note { font-size: 13px; color: var(--hint); margin: 4px 0 12px; line-height: 1.45; }
.btn.wide { width: 100%; }

/* ---------- баннер товара ---------- */
.pp { padding-bottom: 8px; }
.phero { --c: var(--c-games); position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; min-height: 148px; padding: 16px 16px 18px;
  display: flex; align-items: flex-end; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--c) 55%, transparent), transparent 60%), linear-gradient(160deg, #1c1233, #110a20); }
.phero.stars, .phero.tg { --c: var(--c-stars); } .phero.steam { --c: var(--c-steam); } .phero.vouch { --c: var(--c-vouch); }
.phero.subs { --c: var(--c-subs); } .phero.soft { --c: var(--c-soft); } .phero.crypto { --c: var(--c-crypto); }
.phero-bg { position: absolute; inset: -30%; z-index: -2; background-size: cover; background-position: center; filter: blur(38px) saturate(1.4); opacity: .45; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0d0719f0 0%, #0d0719b0 55%, transparent 100%); }
.phero-txt { position: relative; max-width: 62%; }
.phero .badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: #ffffff14; border: 1px solid #ffffff1f;
  font: 700 11.5px var(--font); color: #fff; margin-bottom: 10px; }
.phero h1 { font: 800 23px/1.12 var(--display); letter-spacing: -.6px; margin: 0; color: #fff; text-shadow: 0 2px 12px #0008; }
.phero p { margin: 4px 0 0; font-size: 13px; color: #cfc6e6; font-weight: 600; }
.phero-art { position: absolute; right: -6px; top: 50%; width: 118px; height: 118px; border-radius: 30px; object-fit: cover; transform: translateY(-50%) rotate(8deg);
  box-shadow: 0 20px 40px -12px #000d, 0 0 0 1px #ffffff1a; }
.phero-art.ph-ic { display: grid; place-items: center; background: color-mix(in srgb, var(--c) 70%, #000); color: #fff; }
.phero-art.ph-ic svg { width: 56px; height: 56px; }
.phero .favbtn { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: #0d0719a6; border: 1px solid #ffffff22; color: #ffffffb0; backdrop-filter: blur(8px); cursor: pointer; transition: transform .15s; }
.phero .favbtn svg { width: 18px; height: 18px; }
.phero .favbtn.on { color: #FF4D8D; border-color: #FF4D8D66; }
.phero .favbtn:active { transform: scale(.88); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 10px; background: #ffffff0d; border: 1px solid #ffffff14;
  font: 700 12px var(--font); color: #ece6fb; }
.tag.ok { color: #4ADE80; background: #22c55e14; border-color: #22c55e33; }
.tag.warn { color: #FACC15; background: #eab30814; border-color: #eab30833; }
.tag.bad { color: #FB7185; background: #f43f5e14; border-color: #f43f5e33; }
.help { margin: 2px 0 14px; font-size: 13px; color: var(--hint); line-height: 1.4; }
.help a, .lnk { color: #C9A2FF; font-weight: 700; cursor: pointer; }
.label .lnk { float: right; font-size: 12.5px; }

/* регион */
.rchips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px 2px; scrollbar-width: none; }
.rchips::-webkit-scrollbar { display: none; }
.rchip { flex: none; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(180,120,255,.2); background: #ffffff08; color: #e9e2ff;
  font: 700 13.5px var(--font); white-space: nowrap; cursor: pointer; }
.rchip.on { border-color: #922EFF; background: rgba(146,46,255,.18); color: #fff; box-shadow: 0 0 0 1px #922EFF inset; }
.rchip.off { opacity: .45; }
.rsel { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 14px; border-radius: 16px; cursor: pointer;
  background: #ffffff08; border: 1px solid rgba(180,120,255,.2); color: var(--text); text-align: left; }
.rsel .rflag { font-size: 24px; width: 30px; }
.rsel small { display: block; font-size: 11.5px; color: var(--hint); font-weight: 600; }
.rsel b { font: 700 15px var(--font); }
.rsel em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--hint); background: #ffffff10; padding: 3px 8px; border-radius: 8px; }
.rsel .chev { width: 18px; height: 18px; color: var(--hint); transform: rotate(90deg); }
.rsel .chev svg { width: 100%; height: 100%; }

/* номиналы */
.ngrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nc { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 112px; padding: 12px; border-radius: 18px; text-align: left; cursor: pointer;
  background: #ffffff08; border: 1.5px solid #ffffff12; color: var(--text); font-family: var(--font); transition: transform .12s, border-color .15s, background .15s; }
.nc:active { transform: scale(.97); }
.nc-top { display: flex; align-items: flex-start; gap: 9px; }
.nc-ic { width: 30px; height: 30px; border-radius: 9px; overflow: hidden; flex: none; display: grid; place-items: center; }
.nc-ic img, .nc-ic svg { width: 100%; height: 100%; object-fit: cover; }
.nc-name { flex: 1; min-width: 0; }
.nc-name b { display: block; font: 700 14.5px/1.2 var(--font); overflow-wrap: anywhere; }
.nc-name small { display: block; font-size: 11.5px; color: var(--hint); font-weight: 600; margin-top: 2px; }
.nc-check { position: absolute; top: 9px; right: 9px; width: 20px; height: 20px; border-radius: 50%; background: #922EFF; display: grid; place-items: center;
  opacity: 0; transform: scale(.5); transition: .18s; }
.nc-check svg { width: 12px; height: 12px; color: #fff; }
.nc-sub { font-size: 11.5px; font-weight: 700; color: var(--hint); min-height: 14px; }
.nc-sub.save { color: #4ADE80; }
.nc-sub.off { color: #8b84a3; }
.nc-bot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.nc-bot b { font: 800 16px var(--font); letter-spacing: -.2px; }
.nc-bot .few { font-style: normal; font-size: 11px; font-weight: 700; color: #FACC15; white-space: nowrap; }
.nc.sel { border-color: #922EFF; background: linear-gradient(160deg, rgba(146,46,255,.22), rgba(146,46,255,.06)); box-shadow: 0 10px 26px -14px #922EFF; }
.nc.sel .nc-check { opacity: 1; transform: none; }
.nc.sel .nc-name b { padding-right: 18px; }
.nc.off { opacity: .42; cursor: default; }
.qrow { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px 10px 16px; border-radius: 16px; background: #ffffff08; border: 1px solid #ffffff12;
  font-weight: 700; }
.qty.sm button { width: 36px; height: 36px; } .qty.sm b { min-width: 34px; font-size: 16px; }
h2.blk { font: 700 17px var(--display); margin: 22px 0 10px; letter-spacing: -.3px; }
.form .field { margin-bottom: 12px; }
.form { margin-top: 12px; }
.input.with-btn { display: flex; align-items: center; padding-right: 6px; }
.input.with-btn input { flex: 1; min-width: 0; }
.paste { flex: none; border: 0; border-radius: 10px; padding: 8px 11px; background: #ffffff14; color: #fff; font: 700 12.5px var(--font); cursor: pointer; }
.paste:active { transform: scale(.95); }
.mailrow { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #ffffff08; border: 1px solid #ffffff10; font-size: 13.5px; color: var(--hint); }
.mailrow b { color: var(--text); font-weight: 700; word-break: break-all; }
.mailrow a { color: #C9A2FF; font-weight: 700; cursor: pointer; }
#mailBox { margin-top: 8px; }
.trust { margin: 14px 2px 4px; font-size: 12px; line-height: 1.45; color: #8f88a8; text-align: center; }

/* ---------- каталог: заголовок раздела, фильтры, сетка ---------- */
.shead { --c: var(--c-games); display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
.shead.stars, .shead.tg { --c: var(--c-stars); } .shead.steam { --c: var(--c-steam); } .shead.vouch { --c: var(--c-vouch); }
.shead.subs { --c: var(--c-subs); } .shead.soft { --c: var(--c-soft); } .shead.crypto { --c: var(--c-crypto); }
.shead h1 { font: 800 26px/1.1 var(--display); letter-spacing: -.7px; margin: 0; }
.shead p { margin: 5px 0 0; font-size: 13px; color: var(--hint); font-weight: 600; }
.shead-ic { width: 58px; height: 58px; flex: none; border-radius: 18px; display: grid; place-items: center; color: #fff; transform: rotate(8deg);
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 100%, #fff 20%), color-mix(in srgb, var(--c) 70%, #000));
  box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--c) 80%, transparent), inset 0 1px 0 #ffffff55; }
.shead-ic svg { width: 30px; height: 30px; }
.shead-ic .ic-img { width: 100%; height: 100%; border-radius: 18px; }
.frow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.frow:empty { display: none; }
.fbtn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 12px; border: 1px solid #ffffff17; background: #ffffff0a;
  color: #e9e2ff; font: 700 13px var(--font); cursor: pointer; }
.fbtn span { font-size: 10px; opacity: .7; }
.fbtn.on { border-color: #922EFF; background: rgba(146,46,255,.18); color: #fff; }
.fbtn.reset { color: var(--hint); border-style: dashed; }
.srow { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 10px; }
.srow b { font: 700 14px var(--font); color: #ece6fb; }
.sortbtn { border: 1px solid #ffffff17; background: #ffffff0a; color: #e9e2ff; font: 700 12.5px var(--font); padding: 7px 11px; border-radius: 11px; cursor: pointer; }
.sortbtn span { opacity: .7; }
.abc { display: flex; gap: 4px; overflow-x: auto; margin: 0 -16px 12px; padding: 4px 16px; scrollbar-width: none; position: sticky; top: 0; z-index: 4;
  background: linear-gradient(180deg, var(--bg) 70%, transparent); }
.abc::-webkit-scrollbar { display: none; }
.abc:empty { display: none; }
.abc button { flex: none; min-width: 32px; height: 32px; border-radius: 10px; border: 0; background: #ffffff0a; color: #cfc6e6; font: 700 13px var(--font); cursor: pointer; }
.abc button.on { background: rgba(146,46,255,.25); color: #fff; box-shadow: 0 0 0 1px #922EFF inset; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.tile { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: var(--text); }
.tile-art { --h: 270; position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; isolation: isolate; display: grid; place-items: center; margin-bottom: 6px;
  background: linear-gradient(150deg, hsl(var(--h) 60% 34%), hsl(calc(var(--h) + 40) 55% 16%)); border: 1px solid #ffffff14;
  box-shadow: 0 10px 22px -14px #000; transition: transform .15s; }
.tile:active .tile-art { transform: scale(.96); }
.tile-art .bg { position: absolute; inset: -25%; z-index: -1; background-size: cover; background-position: center; filter: blur(16px) saturate(1.5); opacity: .7; }
.tile-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, #0008); }
.tile-art img { width: 54%; height: 54%; border-radius: 22%; object-fit: cover; box-shadow: 0 8px 18px -6px #000c, 0 0 0 1px #ffffff22; margin-top: -10%; }
.tile-art .letters { font: 800 22px var(--display); color: #fff; margin-top: -10%; }
.tile-tag { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 4px 6px; border-radius: 9px; text-align: center; font: 700 10.5px var(--font); color: #fff;
  background: #0006; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile b { font: 700 13px/1.2 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile span { font-size: 12px; color: var(--hint); font-weight: 600; }
.tile.off { opacity: .5; }

/* ---------- главная: промо-карусель и плитки с артом ---------- */
.promo-wrap { margin: 0 -16px 12px; }
.promo { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
.promo::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; padding: 0 16px; box-sizing: border-box; color: #fff; display: block; }
.slide > .st, .slide > .sart, .slide > .bagart { position: relative; }
.slide::before { content: ""; position: absolute; inset: 0 16px; border-radius: 24px; z-index: 0; border: 1px solid #ffffff14; }
.slide { min-height: 168px; }
.slide .st { z-index: 2; padding: 20px 18px; max-width: 60%; }
.slide .kick { display: inline-block; font: 700 11.5px var(--font); padding: 4px 9px; border-radius: 999px; background: #ffffff1c; margin-bottom: 10px; }
.slide h2 { font: 800 20px/1.15 var(--display); letter-spacing: -.5px; margin: 0; text-shadow: 0 2px 10px #0006; }
.slide p { font-size: 12.5px; color: #ffffffcc; margin: 6px 0 0; font-weight: 600; }
.s-brand::before { background: radial-gradient(110% 120% at 100% 0%, #922EFF66, transparent 60%), linear-gradient(160deg, #241044, #140b28); }
.s-stars::before { background: radial-gradient(110% 120% at 100% 0%, #FFAA1999, transparent 60%), linear-gradient(160deg, #4a2410, #1e0f22); }
.s-steam::before { background: radial-gradient(110% 120% at 100% 0%, #279FF099, transparent 60%), linear-gradient(160deg, #0f2f66, #10123a); }
.s-vouch::before { background: radial-gradient(110% 120% at 100% 0%, #10B98199, transparent 60%), linear-gradient(160deg, #0b4a3a, #10163a); }
.slide .bagart { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) scale(.82); transform-origin: right center; }
.slide .sart { position: absolute; right: 30px; top: 0; bottom: 0; width: 120px; z-index: 1; }
.sart .one { position: absolute; right: 0; top: 50%; width: 104px; height: 104px; border-radius: 26px; transform: translateY(-50%) rotate(10deg); box-shadow: 0 18px 36px -10px #000c; }
.sart > svg { position: absolute; right: 0; top: 50%; width: 96px; height: 96px; transform: translateY(-50%) rotate(10deg); }
.stars-art span { position: absolute; color: #FFC650; filter: drop-shadow(0 8px 18px #FFAA19aa); }
.stars-art span svg { width: 100%; height: 100%; }
.stars-art .s1 { width: 90px; height: 90px; right: 4px; top: 28px; transform: rotate(14deg); }
.stars-art .s2 { width: 40px; height: 40px; right: 92px; top: 20px; transform: rotate(-12deg); opacity: .85; }
.stars-art .s3 { width: 30px; height: 30px; right: 86px; bottom: 26px; opacity: .7; }
.fan img { position: absolute; width: 66px; height: 66px; border-radius: 18px; box-shadow: 0 14px 28px -8px #000c, 0 0 0 1px #ffffff22; }
.fan img:nth-child(1) { right: 54px; top: 22px; transform: rotate(-14deg); }
.fan img:nth-child(2) { right: 0; top: 30px; transform: rotate(10deg); z-index: 2; }
.fan img:nth-child(3) { right: 30px; bottom: 16px; transform: rotate(-2deg); z-index: 3; width: 56px; height: 56px; }
.pdots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.pdots i { width: 6px; height: 6px; border-radius: 6px; background: #ffffff30; transition: width .25s, background .25s; }
.pdots i.on { width: 18px; background: #C9A2FF; }
.feats.mini { gap: 6px; margin-bottom: 4px; }
.feats.mini .feat { padding: 8px 9px; font-size: 11px; gap: 6px; }
.feats.mini .fi { width: 16px; height: 16px; }
.cat2 .cart { position: absolute; right: 8px; top: 8px; width: 74px; height: 64px; pointer-events: none; z-index: 0; }
.cat2 .txt { position: relative; z-index: 1; }
.ca-i { position: absolute; width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 8px 16px -6px #000c, 0 0 0 1px #ffffff2a; }
.ca-i.i0 { right: 30px; top: 6px; transform: rotate(-12deg); }
.ca-i.i1 { right: 0; top: 2px; transform: rotate(10deg); z-index: 2; }
.ca-i.i2 { right: 14px; top: 28px; transform: rotate(-2deg); z-index: 3; width: 32px; height: 32px; }
.ca-one { position: absolute; right: 2px; top: 2px; width: 50px; height: 50px; border-radius: 14px; transform: rotate(10deg); box-shadow: 0 10px 20px -6px #000c; }
.ca-star { position: absolute; color: #FFE08A; filter: drop-shadow(0 6px 12px #0006); }
.ca-star svg { width: 100%; height: 100%; }
.ca-star.a { width: 30px; height: 30px; right: 4px; top: 4px; transform: rotate(14deg); }
.ca-star.b { width: 18px; height: 18px; right: 40px; top: 26px; opacity: .8; }
.ca-plane { position: absolute; right: 26px; top: 0; width: 26px; height: 26px; color: #fff; opacity: .9; }
.ca-plane svg { width: 100%; height: 100%; }
.cat2 .ic { position: relative; z-index: 1; }
.cat3 { position: relative; }
.c3art { position: absolute; right: 6px; top: 6px; width: 50px; height: 40px; }
.c3art .ca-i { width: 26px; height: 26px; border-radius: 8px; }
.c3art .ca-i.i0 { right: 18px; top: 4px; } .c3art .ca-i.i1 { right: 0; top: 0; }
/* запасной фон для старых WebView без color-mix() */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .phero { background: linear-gradient(160deg, #241044, #110a20); border-color: #ffffff1f; }
  .shead-ic { background: var(--grad); }
  .phero-art.ph-ic { background: var(--grad); }
}
/* v22: правки по скриншотам из браузера */
.cb .txt { padding-right: 58px; }
.cb .txt b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat2 .cart { width: 96px; height: 46px; }
.ca-i { width: 34px; height: 34px; }
.ca-i.i0 { right: 58px; top: 6px; } .ca-i.i1 { right: 30px; top: 2px; } .ca-i.i2 { right: 2px; top: 8px; width: 34px; height: 34px; }
.ca-i, .ca-i.i2 { width: 28px; height: 28px; border-radius: 9px; }
.ca-i.i0 { right: 52px; top: 4px; } .ca-i.i1 { right: 26px; top: 0; } .ca-i.i2 { right: 0; top: 6px; }
/* v24 */
.tile-art img { width: 50%; height: 50%; margin-top: -16%; }
.tile-art .letters { margin-top: -16%; }
.tile-tag { bottom: 7px; font-size: 10px; padding: 3px 6px; }
.gcard h3.ell { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; min-height: 2.4em; }
.phero-stars span { position: absolute; color: #FFC650; filter: drop-shadow(0 10px 22px #FFAA19aa); }
.phero-stars span svg { width: 100%; height: 100%; }
.phero-stars .s1 { width: 104px; height: 104px; right: 6px; top: 22px; transform: rotate(14deg); }
.phero-stars .s2 { width: 42px; height: 42px; right: 112px; top: 18px; transform: rotate(-12deg); opacity: .85; }
.phero-stars .s3 { width: 30px; height: 30px; right: 100px; bottom: 18px; opacity: .7; }
.phero + .glass, .phero + .card { margin-top: 14px; }

/* виджет WATA */
.sheet-in.dark { background: #0f0a1d; }
.wbox { position: relative; flex: 1; overflow-y: auto; padding: 12px 12px 4px; -webkit-overflow-scrolling: touch; }
.wbox .sheet-loading { position: absolute; inset: 0; display: grid; place-items: center; }
#wataWidget { min-height: 420px; }

/* объявление магазина */
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 12px; border-radius: 16px; font: 600 13.5px/1.4 var(--font);
  background: linear-gradient(135deg, #922EFF2e, #D946EF14); border: 1px solid #922EFF55; color: #efe6ff; }
.notice.warn { background: #FBBF2414; border-color: #FBBF2444; color: #fde68a; }

/* ================= поддержка: чат ================= */
.chatpage { padding-bottom: 8px; }
.sup-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; margin-bottom: 12px; }
.sup-head .hi { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: var(--grad); }
.sup-head .hi svg { width: 21px; height: 21px; }
.sup-head b { display: block; font-size: 15px; } .sup-head span { font-size: 12.5px; color: var(--hint); display: flex; align-items: center; gap: 6px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); display: inline-block; }
.chat { display: flex; flex-direction: column; gap: 6px; min-height: 40vh; }
.chat .skel { border-radius: 18px; }
.dsep { text-align: center; margin: 10px 0 4px; } .dsep span { font-size: 11.5px; font-weight: 700; color: var(--hint); background: #ffffff0d; padding: 4px 10px; border-radius: 99px; }
.msg { max-width: 82%; padding: 9px 12px 6px; border-radius: 18px; font-size: 14.5px; line-height: 1.42; word-wrap: break-word; overflow-wrap: anywhere; animation: msgIn .22s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.msg.me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 8px 20px -12px #A63CF6; }
.msg.them { align-self: flex-start; background: var(--surface-2, #ffffff10); border: 1px solid #ffffff12; border-bottom-left-radius: 6px; }
.msg.pending { opacity: .65; }
.msg .tx { white-space: pre-wrap; }
.msg .who { font-size: 11.5px; font-weight: 800; color: #C9A2FF; margin-bottom: 2px; }
.msg .tm { font-size: 10.5px; opacity: .7; text-align: right; margin-top: 2px; font-weight: 600; }
.msg .oref { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 9px; background: #00000030; color: inherit; margin-bottom: 4px; }
.chat-empty { text-align: center; padding: 26px 8px 10px; }
.chat-empty .em { font-size: 38px; } .chat-empty h3 { margin: 6px 0 4px; font: 800 18px var(--display); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.composer { position: fixed; z-index: 16; left: 0; right: 0; bottom: calc(82px + var(--safe-b)); padding: 0 12px; transition: bottom .2s ease; }
body.kb .composer { bottom: calc(var(--kb, 0px) + 8px); }
.composer .cbox, .composer .ctx { max-width: 540px; margin: 0 auto; }
.composer .cbox { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 24px; background: rgba(23,12,46,.9);
  border: 1px solid #ffffff1c; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 16px 36px -12px #000d; }
.composer textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: none; background: transparent; color: var(--text, #fff); font: 600 15px/1.4 var(--font);
  padding: 9px 0; max-height: 140px; }
.composer .send { width: 42px; height: 42px; border-radius: 50%; border: 0; flex: none; display: grid; place-items: center; color: #fff; background: var(--grad); cursor: pointer;
  box-shadow: 0 8px 18px -8px #A63CF6; transition: transform .12s, opacity .15s; }
.composer .send svg { width: 20px; height: 20px; } .composer .send:disabled { opacity: .4; box-shadow: none; } .composer .send:active { transform: scale(.92); }
.composer .ctx { display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 8px); font-size: 12.5px; font-weight: 700; padding: 6px 8px 6px 12px;
  border-radius: 14px 14px 14px 4px; background: rgba(23,12,46,.92); border: 1px solid #ffffff1c; margin-bottom: 6px; }
.composer .ctx button { border: 0; background: #ffffff14; color: inherit; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 11px; }
body.has-composer { padding-bottom: calc(160px + var(--safe-b)); }
body.has-composer.kb { padding-bottom: calc(90px + var(--kb, 0px)); }
body.has-composer.kb .tabbar { display: none; }
.mrow em.unr { font-style: normal; color: #fff; background: var(--bad, #FB7185); padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 800; }
a.btn.ghost { text-decoration: none; }

/* ================= витрина: свои баннеры, блок доверия ================= */
.s-games::before { background: radial-gradient(110% 120% at 100% 0%, #D946EF99, transparent 60%), linear-gradient(160deg, #3d1052, #160b2c); }
.s-pink::before { background: radial-gradient(110% 120% at 100% 0%, #FB718599, transparent 60%), linear-gradient(160deg, #4a1030, #1c0b26); }
.s-dark::before { background: radial-gradient(110% 120% at 100% 0%, #ffffff22, transparent 60%), linear-gradient(160deg, #1a1626, #0d0a16); }
.slide .sbg { position: absolute; inset: 0 16px; border-radius: 24px; background-size: cover; background-position: center; z-index: 0; }
.slide.has-img .sbg::after { content: ""; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(90deg, #0b0815e6 0%, #0b081599 55%, #0b081500 100%); }
.slide.has-img .st { max-width: 72%; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wy { padding: 13px; border-radius: 18px; background: var(--surface, #ffffff0a); border: 1px solid #ffffff10; min-width: 0; }
.wy .wi { font-size: 20px; display: block; margin-bottom: 6px; }
.wy b { display: block; font: 800 14px/1.2 var(--display); letter-spacing: -.2px; }
.wy small { display: block; color: var(--hint); font-size: 11.5px; font-weight: 600; margin-top: 3px; line-height: 1.35; }
.why-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.wcount { flex: 1; min-width: 150px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, #922EFF26, #D946EF14); border: 1px solid #922EFF44; }
.wcount b { font: 800 22px var(--display); display: block; } .wcount span { color: var(--hint); font-size: 12px; font-weight: 700; }
.wrev { flex: 1; min-width: 150px; }
.legal-note { text-align: center; color: var(--hint); font-size: 11.5px; font-weight: 600; margin: 12px 8px 0; }
.legal-note a { color: #C9A2FF; }
.doc ul { margin: 0 0 10px; padding-left: 18px; color: #d7d0ec; font-size: 14px; line-height: 1.55; }
.doc li { margin: 3px 0; }

/* ================= «Почему Topifai» v2 ================= */
.why2 { position: relative; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wf { position: relative; overflow: hidden; padding: 14px 14px 15px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); min-width: 0; isolation: isolate; }
.wf::before { content: ""; position: absolute; width: 120px; height: 120px; right: -46px; top: -46px; border-radius: 50%; z-index: -1;
  background: var(--wg); opacity: .22; filter: blur(22px); }
.wf .wic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 12px;
  background: var(--wg); box-shadow: 0 10px 22px -10px var(--wc), inset 0 1px 0 #ffffff55; }
.wf .wic svg { width: 22px; height: 22px; }
.wf b { display: block; font: 800 15.5px/1.15 var(--display); letter-spacing: -.3px; }
.wf small { display: block; color: var(--hint); font-size: 12px; font-weight: 600; margin-top: 4px; line-height: 1.35; }
.w-fast { --wg: linear-gradient(140deg, #FFC650, #F07A0C); --wc: #FFAA19; }
.w-safe { --wg: linear-gradient(140deg, #34D399, #059669); --wc: #10B981; }
.w-back { --wg: linear-gradient(140deg, #B07BFF, #7C3AED); --wc: #922EFF; }
.w-help { --wg: linear-gradient(140deg, #F472D0, #C026D3); --wc: #D946EF; }
.why2 .why-row { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.why2 .wcount { flex: 1; min-width: 140px; padding: 13px 15px; border-radius: 22px; background: linear-gradient(135deg, #922EFF2e, #D946EF14);
  border: 1px solid #A855F755; }
.why2 .wcount b { font: 800 24px/1.1 var(--display); display: block; background: linear-gradient(90deg, #fff, #E9D5FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why2 .wcount span { color: var(--hint); font-size: 12px; font-weight: 700; }
.why2 .wrev { flex: 1; min-width: 160px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: 22px; color: var(--text, #fff);
  background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: 14px; text-decoration: none; }
.why2 .wrev > span:first-child { font-size: 18px; } .why2 .wrev .chev2 { margin-left: auto; }

/* ================= отзывы ================= */
.rstars { display: inline-flex; gap: 2px; flex: none; } .rstars i { width: 14px; height: 14px; color: #ffffff26; display: block; }
.rstars i svg { width: 100%; height: 100%; display: block; } .rstars i.on { color: #FFB020; filter: drop-shadow(0 2px 6px #FFAA1966); }
.rstars.lg i { width: 18px; height: 18px; }
.rlist { display: flex; flex-direction: column; gap: 10px; }
.rcard { padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.rhead { display: flex; align-items: center; gap: 10px; }
.rav { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 15px var(--display); flex: none; }
.rhead b { display: block; font-size: 14px; } .rhead span:not(.rav):not(.rstars) { display: block; font-size: 11.5px; color: var(--hint); font-weight: 600; }
.rwhat { display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 700; color: #D8B4FE; background: #922EFF1f; border: 1px solid #922EFF33; padding: 3px 9px; border-radius: 99px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rtext { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #e9e3fb; white-space: pre-wrap; overflow-wrap: anywhere; }
.rreply { margin-top: 10px; padding: 9px 12px; border-radius: 14px; background: #922EFF14; border-left: 3px solid #A855F7; }
.rreply b { font-size: 12px; color: #D8B4FE; } .rreply p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: #d7d0ec; white-space: pre-wrap; }
.rv-h { display: flex; align-items: center; } .rv-h a, h2.sec a { margin-left: auto; font: 700 13px var(--font); color: #C9A2FF; }
.rsum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: linear-gradient(135deg, #FFAA1914, #922EFF14); border: 1px solid #FFB02033; margin-bottom: 10px; color: inherit; text-decoration: none; }
.rsum > b { font: 800 30px/1 var(--display); color: #FFC650; } .rsum span:not(.chev2) { display: block; font-size: 12px; color: var(--hint); font-weight: 700; margin-top: 3px; }
.rvscroll .rcard.mini { width: 250px; flex: none; scroll-snap-align: start; }
.rcard.mini .rtext { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rcard.mini .rreply { display: none; }
.rvhero { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 22px; margin-bottom: 10px; }
.rvbig { text-align: center; flex: none; } .rvbig b { display: block; font: 800 40px/1 var(--display); color: #FFC650; margin-bottom: 6px; }
.rvbig span { display: block; font-size: 12px; color: var(--hint); font-weight: 700; margin-top: 4px; }
.rvbars { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.rvb { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--hint); }
.rvb i { width: 11px; height: 11px; color: #FFB020; display: block; } .rvb i svg { width: 100%; height: 100%; display: block; }
.rvb .tr { flex: 1; height: 6px; border-radius: 6px; background: #ffffff12; overflow: hidden; } .rvb .tr div { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #FFC650, #F07A0C); }
.rvb em { font-style: normal; min-width: 22px; text-align: right; }
.rvf { margin-bottom: 10px; }
.rateme h3, .myrev h3 { font: 800 17px var(--display); margin: 0; }
.rpick { display: flex; gap: 8px; justify-content: center; }
.rpick button { width: 48px; height: 48px; border: 0; background: none; padding: 4px; cursor: pointer; color: #ffffff22; transition: color .15s, transform .15s; }
.rpick button svg { width: 100%; height: 100%; display: block; }
.rpick button.on { color: #FFB020; filter: drop-shadow(0 4px 12px #FFAA1988); }
.rpick button.pop { animation: rpop .3s ease; } @keyframes rpop { 50% { transform: scale(1.25); } }
.rword { text-align: center; font-weight: 800; color: #FFC650; margin-top: 6px; min-height: 20px; }
.rateme textarea { width: 100%; resize: vertical; border: 0; outline: none; background: transparent; color: inherit; font: 600 14.5px/1.45 var(--font); min-height: 70px; }
.pill.warn { color: #FBBF24; } .pill.ok { color: #34D399; } .pill.bad { color: #FB7185; }
.nudge { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 20px; margin: 4px 0 6px; border: 1px solid #FFB02040; background: linear-gradient(135deg, #FFAA1912, #922EFF12); }
.nudge a { color: inherit; text-decoration: none; min-width: 0; } .nudge b { display: block; font-size: 14.5px; } .nudge .ell { display: block; font-size: 12px; color: var(--hint); font-weight: 600; }
.nudge .nst { display: flex; gap: 3px; margin-top: 6px; } .nudge .nst i { width: 20px; height: 20px; color: #FFB020; opacity: .9; } .nudge .nst svg { width: 100%; height: 100%; display: block; }
.nudge .nx { border: 0; background: #ffffff10; color: var(--hint); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; flex: none; }
.why2 .wrate { text-decoration: none; color: inherit; border-color: #FFB02055; background: linear-gradient(135deg, #FFAA1922, #922EFF14); }
.why2 .wrate b { background: none; -webkit-background-clip: initial; background-clip: initial; color: #FFC650; display: flex; align-items: center; gap: 6px; }
.why2 .wrate b i { width: 20px; height: 20px; display: block; } .why2 .wrate b i svg { width: 100%; height: 100%; display: block; }
.rstars, .rsum .rstars, .rvbig .rstars { display: inline-flex !important; }
.rvbig .rstars { justify-content: center; }

/* ---- «Почему Topifai» v3: компактные живые карточки ---- */
.why3 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wf3 { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 11px 10px 11px 11px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: transform .18s cubic-bezier(.3,.7,.4,1.4), border-color .2s; animation: wIn .5s both; -webkit-tap-highlight-color: transparent; }
.wf3:nth-child(2) { animation-delay: .06s; } .wf3:nth-child(3) { animation-delay: .12s; } .wf3:nth-child(4) { animation-delay: .18s; }
.wf3::before { content: ""; position: absolute; inset: auto -30px -40px auto; width: 96px; height: 96px; border-radius: 50%; z-index: -1;
  background: var(--wc); opacity: .2; filter: blur(22px); transition: opacity .25s; }
.wf3::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, #ffffff14 50%, transparent 65%);
  transform: translateX(-120%); animation: wShine 6s ease-in-out infinite; }
.wf3:nth-child(2)::after { animation-delay: 1.5s; } .wf3:nth-child(3)::after { animation-delay: 3s; } .wf3:nth-child(4)::after { animation-delay: 4.5s; }
.wf3:active { transform: scale(.96); border-color: color-mix(in srgb, var(--wc) 55%, transparent); }
.wf3:active::before { opacity: .38; }
.wf3 .wic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--wg);
  box-shadow: 0 6px 16px -6px var(--wc), inset 0 1px 0 #ffffff40; }
.wf3 .wic svg { width: 21px; height: 21px; }
.wf3 .wtx { min-width: 0; flex: 1; }
.wf3 b { display: block; font: 800 14.5px/1.15 var(--display); letter-spacing: -.3px; white-space: nowrap; }
.wf3 small { display: block; color: var(--hint); font-size: 11.5px; font-weight: 600; margin-top: 3px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf3 .wgo { flex: none; width: 14px; opacity: .45; display: grid; place-items: center; transition: transform .2s, opacity .2s; }
.wf3 .wgo svg { width: 14px; height: 14px; }
.wf3:active .wgo { transform: translateX(2px); opacity: .9; }
.w-fast .wic svg { animation: wBolt 2.6s ease-in-out infinite; }
.w-safe .wic { animation: wGlow 3s ease-in-out infinite; }
.w-back .wic svg { animation: wSpin 5s cubic-bezier(.6,0,.3,1) infinite; }
.w-help .wic svg circle { animation: wDot 1.4s ease-in-out infinite; }
.w-help .wic svg circle:nth-of-type(2) { animation-delay: .18s; } .w-help .wic svg circle:nth-of-type(3) { animation-delay: .36s; }
@keyframes wIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes wShine { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes wBolt { 0%, 80%, 100% { transform: none; filter: none; } 85% { transform: scale(1.18) rotate(-6deg); filter: drop-shadow(0 0 4px #fff); } 90% { transform: scale(.95); } }
@keyframes wGlow { 0%, 100% { box-shadow: 0 6px 16px -6px var(--wc), inset 0 1px 0 #ffffff40; } 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--wc) 22%, transparent), 0 6px 18px -4px var(--wc), inset 0 1px 0 #ffffff40; } }
@keyframes wSpin { 0%, 70% { transform: none; } 90%, 100% { transform: rotate(-360deg); } }
@keyframes wDot { 0%, 60%, 100% { transform: none; opacity: 1; } 30% { transform: translateY(-1.6px); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .wf3, .wf3::after, .wf3 .wic, .wf3 .wic svg, .wf3 .wic svg circle { animation: none !important; } }
@media (max-width: 350px) { .wf3 .wgo { display: none; } .wf3 { padding-right: 8px; } }
.whysh .steps { margin-top: 0; }
.whynote { display: flex; align-items: center; gap: 10px; margin: 14px 0; padding: 12px 14px; border-radius: 16px; background: #FFAA191a; border: 1px solid #FFAA1940; font-size: 13.5px; font-weight: 600; }
.whynote svg { flex: none; width: 20px; height: 20px; color: #FFAA19; }
.whysh .btn.wide { display: flex; justify-content: center; width: 100%; text-decoration: none; }
.paym { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.paym span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 22px; }
.paym b { font-size: 13px; font-weight: 700; }
.whyl { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; line-height: 1.4; }
.whyl a { color: #C084FC; font-weight: 700; }
/* v3.1: иконка + стрелка сверху, текст снизу — без обрезки на узких экранах */
.wf3 { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding: 12px 12px 13px; }
.wf3 .wic { width: 36px; height: 36px; border-radius: 12px; margin-bottom: 9px; }
.wf3 .wic svg { width: 19px; height: 19px; }
.wf3 .wgo { position: absolute; top: 12px; right: 11px; width: 24px; height: 24px; border-radius: 50%; background: #ffffff0f; opacity: .7; }
.wf3 .wgo svg { width: 12px; height: 12px; }
.wf3 b { white-space: normal; font-size: 15px; }
.wf3 small { white-space: normal; overflow: visible; }
@media (max-width: 350px) { .wf3 .wgo { display: grid; } }

/* ---- партнёрская программа ---- */
.mt.pt { background: linear-gradient(140deg, #34D399, #059669); color: #fff; } .mt.pt svg { width: 21px; height: 21px; }
.phero { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 20px 18px 22px; margin-top: 4px;
  background: linear-gradient(135deg, #7C2BFF 0%, #B23BEF 55%, #E15BD9 100%); box-shadow: 0 18px 40px -18px #922EFF; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 100% 0%, #ffffff33, transparent 55%); }
.phx { position: relative; z-index: 1; max-width: 72%; }
.pkick { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #ffffff26; font-size: 12.5px; font-weight: 800; }
.pkick svg { width: 15px; height: 15px; }
.pbig { font: 800 64px/1 var(--display); letter-spacing: -2px; margin: 12px 0 6px; text-shadow: 0 6px 24px #0003; }
.phero p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; opacity: .95; }
.porb span { position: absolute; border-radius: 50%; background: #ffffff1f; }
.porb span:nth-child(1) { width: 150px; height: 150px; right: -36px; bottom: -40px; animation: pFloat 6s ease-in-out infinite; }
.porb span:nth-child(2) { width: 70px; height: 70px; right: 70px; top: 18px; background: #ffffff2a; animation: pFloat 5s ease-in-out infinite reverse; }
.porb span:nth-child(3) { width: 26px; height: 26px; right: 30px; top: 60px; background: #FFC650; box-shadow: 0 0 18px #FFC650; animation: pFloat 4s ease-in-out infinite; }
@keyframes pFloat { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .porb span { animation: none; } }
.pbal .pic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #FFC650; background: #FFAA191f; flex: none; }
.pbal .pic svg { width: 26px; height: 26px; } .pbal .row { gap: 12px; align-items: center; }
.pbal .muted { font-size: 12.5px; font-weight: 700; } .pbsum { display: block; font: 800 30px/1.1 var(--display); letter-spacing: -.8px; }
.pmini { display: flex; gap: 8px; margin: 12px 0; } .pmini div { flex: 1; padding: 9px 10px; border-radius: 14px; background: #ffffff0a; }
.pmini span { display: block; color: var(--hint); font-size: 11.5px; font-weight: 700; } .pmini b { font-size: 14.5px; }
.pnote { display: block; padding: 12px; border-radius: 14px; background: #FFAA191a; border: 1px solid #FFAA1940; color: inherit; text-decoration: none; font-size: 13.5px; font-weight: 600; text-align: center; }
.plink .pl { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; border-radius: 14px; background: #0000002e; border: 1px dashed #B478FF55; margin-top: 6px; }
.plink .pl span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 14px; color: #E9D5FF; }
.plink .mini svg { width: 16px; height: 16px; }
.pacts { display: flex; gap: 8px; margin-top: 12px; } .pacts .btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 10px; font-size: 14.5px; }
.pacts .btn svg { width: 18px; height: 18px; } .pacts .btn:first-child { flex: 1.4; }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.pstats > div { padding: 12px 10px; text-align: center; border-radius: 18px; }
.pstats b { display: block; font: 800 24px/1.1 var(--display); } .pstats span { color: var(--hint); font-size: 11.5px; font-weight: 700; }
.psteps { display: grid; gap: 14px; } .psteps > div { display: flex; gap: 12px; align-items: flex-start; }
.psteps i { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 800 14px var(--display); font-style: normal; background: var(--grad); }
.psteps b { display: block; font-size: 14.5px; } .psteps span { display: block; color: var(--hint); font-size: 12.5px; margin-top: 2px; line-height: 1.35; }
.plist { padding: 6px 14px; } .pi { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pi:last-child { border-bottom: 0; } .pi.off { opacity: .5; }
.pav { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(140deg, #A06BFF, #6A2BD9); flex: none; }
.pi .grow { min-width: 0; } .pi b { display: block; font-size: 14px; } .pi .grow span { display: block; color: var(--hint); font-size: 12px; }
.pi em { font-style: normal; font-weight: 800; color: #34D399; font-size: 14px; white-space: nowrap; } .pi em.z { color: var(--hint); font-weight: 600; font-size: 12px; }
.pempty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 16px; }
.pempty svg { width: 34px; height: 34px; color: #C084FC; margin-bottom: 4px; } .pempty span { color: var(--hint); font-size: 13px; }
.pfaq summary { cursor: pointer; font-weight: 800; font-size: 14.5px; list-style: none; } .pfaq summary::after { content: " ›"; color: var(--hint); }
.pfaq p { color: var(--hint); font-size: 13.5px; line-height: 1.45; margin: 10px 0 0; } .pfaq p b { color: var(--text, #fff); }

/* аудит: переносы и читаемость */
.nc-name b { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.nc-bot b { white-space: nowrap; }
.btn:disabled { color: #ffffffb3; }
body.has-composer #tabbar { display: none; }
body.has-composer .composer { bottom: calc(10px + env(safe-area-inset-bottom)); }
body.has-composer.kb .composer { bottom: calc(var(--kb, 0px) + 8px); }

/* ---- вкладки номиналов ---- */
.ntabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 10px; padding: 0 16px; scroll-padding-inline: 16px; }
.ntabs::-webkit-scrollbar { display: none; }
.ntabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--hint);
  border-radius: 14px; padding: 9px 13px; font: 700 13.5px var(--font); }
.ntabs button em { font-style: normal; font-size: 11.5px; opacity: .7; }
.ntabs button.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px #922EFF; }
.ngrid .nc.hidden { display: none; }
/* ---- «Зачислим на» ---- */
.dest { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px; border-radius: 16px; background: #34D39914; border: 1px solid #34D39940; }
.dest .dic { width: 26px; height: 26px; border-radius: 50%; background: #10B981; display: grid; place-items: center; flex: none; }
.dest .dic svg { width: 14px; height: 14px; color: #fff; }
.dest span { display: block; font-size: 12px; color: var(--hint); font-weight: 700; } .dest b { display: block; font-size: 14.5px; word-break: break-word; }
.dest small { display: block; color: var(--hint); font-size: 11.5px; margin-top: 3px; }
/* ---- фото в чате ---- */
.cbox .attach { flex: none; width: 40px; height: 40px; display: grid; place-items: center; color: var(--hint); cursor: pointer; border-radius: 12px; }
.cbox .attach svg { width: 22px; height: 22px; } .cbox .attach:active { background: #ffffff10; }
.msg .cimg { display: block; max-width: 220px; max-height: 260px; border-radius: 12px; margin: 2px 0 4px; object-fit: cover; cursor: zoom-in; }
.cimg-full { display: block; width: 100%; border-radius: 14px; }

.nc-sub.x2{color:#ffc857;font-weight:600}
.mail-one{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}

/* фирменные эмодзи */
.emo { width: 1.3em; height: 1.3em; object-fit: contain; display: inline-block; vertical-align: -.3em; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.em-t { background: radial-gradient(circle at 50% 40%, #ffffff14, #ffffff06 70%) !important; box-shadow: inset 0 0 0 1px #ffffff14 !important; }
.em-t .emo { width: 78%; height: 78%; vertical-align: 0; }
.mt.em-t .emo, .ti.em-t .emo, .wf3 .wic.em-t .emo { width: 34px; height: 34px; }
.empty .em .emo { width: 64px; height: 64px; }
.ring .core .emo { width: 54px; height: 54px; vertical-align: 0; }
.live .ring .core .emo { width: 24px; height: 24px; }
.feat .fi .emo { width: 100%; height: 100%; vertical-align: 0; transform: scale(1.35); }
.wf3 .wic.em-t .emo, .w-fast .wic .emo { animation: none; }
.pkick .emo { width: 18px; height: 18px; }
.pempty .emo.big { width: 52px; height: 52px; margin-bottom: 4px; }
.paym { display: inline-flex; gap: 2px; margin-right: 6px; vertical-align: -.35em; } .paym .emo { width: 22px; height: 22px; }
.wrev .emo { width: 22px; height: 22px; }
h3 .emo { width: 24px; height: 24px; }

.btn .emo { width: 20px; height: 20px; margin-right: 2px; vertical-align: -4px; }
.chat-empty .em .emo { width: 56px; height: 56px; }
.code span::-webkit-scrollbar { display: none; }

/* шторка регионов: поиск, группы, пометки */
.rsearch { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; } .rsearch svg { width: 18px; height: 18px; opacity: .6; flex: none; }
.rsearch input { flex: 1; min-width: 0; }
.rgrp { font: 700 12px var(--font, inherit); letter-spacing: .04em; text-transform: uppercase; color: var(--hint); margin: 12px 4px 6px; }
.rtag { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 600; background: #ffffff14; color: var(--hint); vertical-align: 1px; }
.rtag.ok { background: #34d39922; color: #34d399; }
.rnote { font-size: 12.5px; color: var(--hint); margin: 0 4px 8px; line-height: 1.4; }
.rnone { text-align: center; padding: 18px 0; }
.ropt.hidden, .rgrp.hidden { display: none !important; }
/* поле «Сервер» — выбор из списка */
.input.srv { cursor: pointer; position: relative; } .input.srv input { cursor: pointer; pointer-events: none; width: 100%; padding-right: 44px; }
.input.srv .chev { position: absolute; right: 16px; top: 50%; translate: 0 -50%; display: grid; place-items: center; opacity: .6; transform: rotate(90deg); pointer-events: none; } .input.srv .chev svg { width: 16px; height: 16px; }
.srv-hint { margin-top: 6px; }

.emw { display: inline; }

/* аудит 2: заголовки страниц — в две строки вместо «…» */
.ph h1 { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.15; overflow-wrap: anywhere; }
/* партнёрка: кнопки не вылезают за карточку на 360 */
.pacts .btn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#pCopy { min-width: 40px; min-height: 40px; }
/* сервер HoYo: в поле — русское название */
.input.srv .srv-val { color: transparent; caret-color: transparent; }
.input.srv .srv-val:not(.has)::placeholder { color: var(--hint); }
.input.srv .srv-ru { position: absolute; left: 0; top: 50%; translate: 0 -50%; padding-left: 16px; pointer-events: none; font-size: 16px; }
/* «Купить снова»: заголовок с эмодзи не обрезается посередине строки */
.gcard h3 .emo { width: 1.05em; height: 1.05em; vertical-align: -.15em; }
.gcard.again .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 370px) {
  .trust span { font-size: 11px; padding: 6px 8px; }
  .nc-name b { hyphens: manual; }
}

/* аудит 2: зоны нажатия не меньше 40 px */
.chip { min-height: 40px; display: inline-flex; align-items: center; }
.paste { min-height: 40px; }
.input.with-btn .paste { align-self: stretch; min-height: 0; }
.az a, .az button, .letters-bar a, .abc a, .abc button { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; }
.lnk, .help a, .legal a, a.more-lnk { padding: 10px 0; margin: -10px 0; display: inline-block; }
.nx, .us-x, .x { min-width: 40px; min-height: 40px; }
.qty button { min-width: 40px; min-height: 40px; }
.who { margin: 2px 0 10px; }
.qtot { margin-top: 14px; padding-top: 12px; border-top: 1px solid #ffffff14; }
.fbtn, .sortbtn { min-height: 40px; }

/* шторка «Безопасная оплата»: три одинаковые плитки с фирменными эмодзи */
.paysh { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 16px; }
.paysh div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 18px;
  background: radial-gradient(circle at 50% 35%, #ffffff12, #ffffff05 70%); border: 1px solid #ffffff14; }
.paysh .emo { width: 64px; height: 64px; vertical-align: 0; }
.paysh b { font-size: 14px; }

/* карточка Telegram: фирменная иллюстрация — справа, над стрелкой, целиком внутри карточки (мягкая тёплая тень вместо чёрной) */
.cat2 .cart .ca-tg { position: absolute; right: -4px; top: 6px; width: 66px; height: auto; z-index: 1;
  filter: drop-shadow(0 3px 4px rgba(120, 45, 0, .35)) saturate(1.08); }
/* в каталоге — приглушённо, как картинки остальных разделов */
.cb .art .tg-art { position: absolute; right: 2px; top: 50%; translate: 0 -50%; width: 76px; height: auto; opacity: .65; filter: brightness(.85) saturate(.95); }
@media (max-width: 370px) { .cat2 .cart .ca-tg { width: 54px; top: 0; right: -3px; } .cb .art .tg-art { width: 70px; } }
/* иконка раздела Telegram — плитка целиком со своей рамкой и свечением: без фона и обрезки контейнера */
.ic-img.tg-ic { object-fit: contain; border-radius: 0; transform: scale(1.12); }
.ic:has(> .tg-ic) { background: none !important; box-shadow: none !important; overflow: visible !important; }

/* ===== аудит 3 ===== */
/* строки каталога: текст не уходит под картинку, длинные названия — в 2 строки, все заголовки одного размера */
.cb .txt { padding-right: 64px; }
.cb .txt b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.15; }
.cb.vouch .txt b { font-size: 14px; letter-spacing: -.3px; }
.cb .txt span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb .go { background: #0006; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* горизонтальные ленты на главной — первая карточка с тем же отступом 16 px, что и всё остальное */
.hscroll { scroll-padding-inline: 16px; }
/* поле + «Вставить»: два аккуратных блока с зазором, одинаковые скругления, правый край — по остальным полям */
.input.with-btn { gap: 8px; padding-right: 0; align-items: stretch; }
.input.with-btn .paste { align-self: stretch; border-radius: 14px; border: 1px solid rgba(180,120,255,.2); padding: 0 14px; min-height: 46px; }
/* одна линия перед «Итого», а не две */
.kv:has(+ .kv.total) { border-bottom: 0; }
/* «Себе»: свой username только для чтения */
.field.me-mode input { color: var(--hint); }
@media (max-width: 370px) {
  .feats.mini .feat { font-size: 10.5px; padding: 8px 6px; gap: 5px; }
  .cat3 b { font-size: 11.5px; overflow-wrap: anywhere; hyphens: auto; }
  .cat2 .s { padding-right: 40px; }
  .cb .txt { padding-right: 48px; }
}

/* аудит 3: полировка */
.trust { text-align: left; margin: 14px 0 4px; }
.phero p { color: #ffffffd9; text-shadow: 0 1px 6px #0006; }
.phero .favbtn { width: 40px; height: 40px; }
.seg button { min-height: 40px; }
.chip { min-width: 44px; justify-content: center; }
.us-back { inset: -20px; }
.empty p svg { width: 15px; height: 15px; vertical-align: -2px; color: #f472b6; }
.input.srv .srv-ru { font-size: 15px; }
.helpcard .hi.em-t .emo { width: 30px; height: 30px; }
.gcard.again .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== подарок другу ===== */
.giftcta { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 14px; border-radius: 20px; text-align: left; cursor: pointer;
  border: 1px solid #f0abfc55; color: var(--text); background: linear-gradient(120deg, #922EFF40, #D946EF33 60%, #ffcf3f22); font: inherit; }
.giftcta b { display: block; font-size: 15px; } .giftcta small { display: block; color: var(--hint); font-size: 12.5px; margin-top: 2px; }
.gb-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #ffffff14; }
.gb-ic .emo { width: 32px; height: 32px; vertical-align: 0; }
.giftbox .row { display: flex; align-items: center; gap: 12px; } .giftbox b { display: block; } .giftbox .muted { font-size: 12.5px; }
.giftbox .acts2 { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; } .giftbox .acts2 .btn { flex: 1; min-width: 140px; }
.gx { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 18px 18px 16px; color: #fff; min-height: 230px;
  box-shadow: 0 24px 50px -20px #000c, inset 0 1px 0 #ffffff44; animation: gxin .5s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes gxin { from { transform: translateY(14px) scale(.96); opacity: 0; } }
.gx.d-topifai { background: linear-gradient(150deg, #7c3aed, #a21caf 55%, #3b0764); }
.gx.d-birthday { background: linear-gradient(150deg, #f472b6, #fb7185 45%, #f59e0b); }
.gx.d-holiday { background: linear-gradient(150deg, #2563eb, #0891b2 55%, #1e1b4b); }
.gx.d-gold { background: linear-gradient(150deg, #fbbf24, #d97706 50%, #78350f); }
.gx-glow { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, #ffffff55, transparent); z-index: -1; }
.gx-dots { position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(#fff 1.2px, transparent 1.6px), radial-gradient(#fff 1px, transparent 1.4px); background-size: 38px 38px, 23px 23px; background-position: 0 0, 11px 17px;
  -webkit-mask-image: linear-gradient(160deg, #000, transparent 70%); mask-image: linear-gradient(160deg, #000, transparent 70%); }
.gx-top { display: flex; align-items: center; justify-content: space-between; }
.gx-emo .emo { width: 64px; height: 64px; vertical-align: 0; filter: drop-shadow(0 8px 16px #0006); animation: gxbob 3s ease-in-out infinite; }
@keyframes gxbob { 50% { transform: translateY(-4px) rotate(-4deg); } }
.gx-tag { font: 700 12px var(--font); letter-spacing: .4px; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: #0003; border: 1px solid #ffffff33; }
.gx-item { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px; border-radius: 18px; background: #00000033; border: 1px solid #ffffff26; }
.gx-th { width: 52px; height: 52px; flex: none; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #ffffff1f; }
.gx-th img { width: 100%; height: 100%; object-fit: cover; } .gx-th .emo { width: 36px; height: 36px; vertical-align: 0; }
.gx-item b { display: block; font: 800 16px/1.2 var(--display); } .gx-item small { display: block; opacity: .85; font-size: 12.5px; margin-top: 2px; }
.gx-msg { margin: 14px 2px 0; font: 600 16px/1.4 var(--font); white-space: pre-wrap; overflow-wrap: anywhere; }
.gx-msg::before { content: "«"; } .gx-msg::after { content: "»"; }
.gx-from { margin-top: 10px; text-align: right; font: 700 13px var(--font); opacity: .9; }
.gsheet textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(180,120,255,.2); background: rgba(0,0,0,.28); color: var(--text); font: 500 15px var(--font); resize: none; outline: none; }
.gsheet textarea:focus { border-color: #A95CFF; }
.gdes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.gsw { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 11.5px var(--font); cursor: pointer; }
.gsw i { width: 34px; height: 34px; border-radius: 10px; } .gsw.on { border-color: #A95CFF; box-shadow: 0 0 0 3px #922EFF33; }
.gsw.d-topifai i { background: linear-gradient(150deg, #7c3aed, #a21caf); } .gsw.d-birthday i { background: linear-gradient(150deg, #f472b6, #f59e0b); }
.gsw.d-holiday i { background: linear-gradient(150deg, #2563eb, #0891b2); } .gsw.d-gold i { background: linear-gradient(150deg, #fbbf24, #d97706); }
.gph { margin-top: 8px; flex-wrap: wrap; } .gph .chip { min-height: 34px; }
.gnote { font-size: 12.5px; margin: 10px 2px 0; line-height: 1.4; } .gnote.center { text-align: center; margin: 14px 4px; }
.gpage { margin-top: 4px; } .gopen { margin-top: 16px; font-size: 16px; padding: 16px; }
.gcodes { margin-top: 14px; }

/* ===== страница товара: сердечко в шапке, картинка целиком внутри баннера ===== */
.ph.slim .favbtn { margin-left: auto; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: #ffffff10; border: 1px solid var(--line); color: #ffffffb0; cursor: pointer; }
.ph.slim .favbtn svg { width: 19px; height: 19px; } .ph.slim .favbtn.on { color: #f472b6; border-color: #f472b655; background: #f472b61a; }
.phero-art { right: 14px; transform: translateY(-50%) rotate(6deg); width: 104px; height: 104px; border-radius: 26px; }
.phero-txt { max-width: calc(100% - 128px); }
@media (max-width: 370px) { .phero-art { width: 88px; height: 88px; right: 12px; } .phero-txt { max-width: calc(100% - 108px); } }

/* ===== переходы между экранами и заглушки ===== */
#view.routing > :first-child:not(.pskel) { opacity: .55; transition: opacity .12s; }
.pskel { animation: fin .2s ease both; }
.pskel .sk-row { display: flex; gap: 8px; margin-top: 12px; }
.pskel .sk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }

/* сердечко «В избранное» — в строке плашек под баннером, справа */
.tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tags .favbtn { margin-left: auto; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; cursor: pointer;
  background: #ffffff10; border: 1px solid var(--line); color: #ffffffb0; transition: transform .15s; }
.tags .favbtn:active { transform: scale(.9); } .tags .favbtn svg { width: 19px; height: 19px; }
.tags .favbtn.on { color: #f472b6; border-color: #f472b655; background: #f472b61a; }

.gdone { display: flex; align-items: center; gap: 12px; margin-top: 14px; } .gdone .emo { width: 40px; height: 40px; vertical-align: 0; flex: none; }
.gdone b { display: block; font-size: 15px; } .gdone span { color: var(--hint); font-size: 13px; }

/* аудит 6 */
.giftbox .acts2 .btn { white-space: normal; line-height: 1.2; padding-left: 10px; padding-right: 10px; }
.mini, .code button { min-height: 40px; min-width: 40px; }

/* мелочи */
.rflag svg { width: 22px; height: 22px; opacity: .8; }
.rhint { margin-top: 6px; }
.input input.bad { border-color: #f87171; box-shadow: 0 0 0 3px #f8717126; }
.tags.help-row { flex-wrap: nowrap; align-items: center; gap: 10px; } .tags.help-row .help { margin: 0; flex: 1; min-width: 0; }
.mini svg { width: 15px; height: 15px; vertical-align: -2px; }

.sec a, .rv-h a { display: inline-block; padding: 10px 0 10px 12px; margin: -10px 0; }
#mailEdit { display: inline-block; padding: 10px 0 10px 10px; margin: -10px 0; }
.nw { white-space: nowrap; }

.notifyme { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 14px; border-radius: 18px; text-align: left; cursor: pointer;
  border: 1px dashed #ffffff2a; background: #ffffff08; color: var(--text); font: inherit; }
.notifyme > .emo { width: 30px; height: 30px; vertical-align: 0; flex: none; }
.notifyme b { display: block; font-size: 14px; } .notifyme small { display: block; color: var(--hint); font-size: 12.5px; margin-top: 2px; }

/* переключатель языка */
.hdr-r { display: flex; align-items: center; gap: 10px; }
.langsw { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px 0 10px; border-radius: 18px; border: 1px solid #ffffff1f;
  background: #ffffff0d; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.langsw svg { width: 17px; height: 17px; opacity: .8; } .langsw b { font-weight: 800; letter-spacing: .3px; }
.lang-seg { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: #ffffff0a; margin-top: 8px; }
.lang-seg button { flex: 1; min-height: 42px; border: 0; border-radius: 11px; background: transparent; color: var(--hint); font: inherit; font-weight: 700; cursor: pointer; }
.lang-seg button.on { background: #ffffff18; color: var(--text); }
/* английские подписи длиннее русских */
html[lang=en] .cat3 b { font-size: 11px; letter-spacing: -.3px; overflow-wrap: anywhere; hyphens: auto; }

/* аудит 8 */
.ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ngrid > * { min-width: 0; }
.lang-seg { margin: 8px 0 0 !important; }
html[lang=en] .cat3 b { overflow-wrap: normal; word-break: normal; hyphens: auto; }
@media (max-width: 380px) { html[lang=en] .cat3 b { font-size: 10px; letter-spacing: -.35px; } }
.legal-note a { display: inline-block; padding: 8px 2px; margin: -8px 0; }
.nc-name { min-width: 0; } .nc-name b { word-break: normal; overflow-wrap: break-word; hyphens: auto; }

/* уровни покупателя */
.tier-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 12px; font-size: 13px;
  background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .25); color: var(--text, #fff); }
.tier-note span:not(.ti-ic) { flex: 1; min-width: 0; } .tier-note b { color: #34d399; white-space: nowrap; }
.tiercard { display: block; width: 100%; text-align: left; margin: 12px 0 0; padding: 14px 16px; border-radius: 18px; border: 1px solid #ffffff1a;
  color: #fff; font: inherit; cursor: pointer; background: linear-gradient(135deg, #3b2a1f, #7a4b2a); position: relative; overflow: hidden; }
.tiercard.t-silver { background: linear-gradient(135deg, #2d3240, #6b7690); }
.tiercard.t-gold { background: linear-gradient(135deg, #4a3510, #b8860b); }
.tiercard::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 160px; height: 160px; border-radius: 50%; background: #ffffff12; pointer-events: none; }
.tc-top { display: flex; align-items: center; gap: 12px; } .tc-ic { font-size: 30px; line-height: 1; }
.tc-top .grow { min-width: 0; } .tc-k { display: block; font-size: 11.5px; opacity: .75; text-transform: uppercase; letter-spacing: .4px; }
.tc-top b { display: block; font: 800 19px var(--display, inherit); } .tc-s { display: block; font-size: 13px; opacity: .9; }
.tc-more { font-size: 12.5px; opacity: .85; white-space: nowrap; align-self: flex-start; }
.tc-bar { height: 6px; border-radius: 6px; background: #00000040; margin-top: 12px; overflow: hidden; }
.tc-bar i { display: block; height: 100%; border-radius: 6px; background: #ffffffd9; }
.tc-foot { font-size: 12.5px; opacity: .9; margin-top: 8px; }
.tl-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid #ffffff14; margin-bottom: 8px; }
.tl-row.on { border-color: #922EFF; background: #922eff1f; } .tl-row .grow { min-width: 0; }
.tl-row b { display: block; } .tl-row span:not(.tc-ic) { display: block; font-size: 12.5px; color: var(--hint); }
.tl-row em { font-style: normal; font-weight: 700; white-space: nowrap; color: #34d399; }
#favSeg { margin-top: 12px !important; }

/* английская версия: реальная сумма в рублях */
.rubline b { color: var(--text, #fff); white-space: nowrap; }
.usd-eq { margin-top: 2px; font-size: 14px; color: var(--hint, #a29bbd); text-align: center; }

/* промокоды */
.promo-slot:empty { display: none; }
.promo-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 12px; border-radius: 999px; border: 1px dashed #ffffff40;
  background: transparent; color: var(--muted, #b9b3d1); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.promo-btn:active { transform: scale(.97); }
.promo-on { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 14px; font-size: 13px;
  background: rgba(146, 46, 255, .12); border: 1px solid rgba(146, 46, 255, .3); }
.promo-on b { letter-spacing: .04em; }
.pr-ic { font-size: 15px; }
.ppromo .pp-sub { margin: 4px 0 10px; font-size: 13px; line-height: 1.45; color: var(--muted, #b9b3d1); }
.pp-row { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid #ffffff12; }
.pp-row .grow { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-row span { font-size: 12px; color: var(--muted, #b9b3d1); }
.pp-code { font-family: Unbounded, sans-serif; font-size: 15px; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; }
.pp-del { color: #ff8a8a; }
.ppromo #pNew { margin-top: 8px; }
.lbl-s { display: block; font-size: 13px; font-weight: 700; margin: 0 2px 6px; }
.pn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-chips .chip { padding: 8px 12px; border-radius: 999px; border: 1px solid #ffffff26; background: #ffffff0d; color: inherit; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pn-chips .chip.on { background: #922EFF; border-color: #922EFF; color: #fff; }

/* лента «недавно купили» и счётчик на товаре */
.buzz { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 9px 14px; border-radius: 14px; font-size: 13px; color: inherit; text-decoration: none;
  background: rgba(255, 255, 255, .05); border: 1px solid #ffffff14; transition: opacity .25s, transform .25s; }
.buzz.out { opacity: 0; transform: translateY(-4px); } .buzz.in { animation: bzIn .3s ease; }
@keyframes bzIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.bz-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex: none; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: bzPulse 2s infinite; }
@keyframes bzPulse { 70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.bz-k { color: var(--muted, #b9b3d1); flex: none; }
.bz-t { flex: 1; min-width: 0; font-weight: 700; }
.bz-a { color: var(--muted, #b9b3d1); flex: none; font-size: 12px; }
.sold-day { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(255, 140, 50, .12); border: 1px solid rgba(255, 140, 50, .3); color: #ffb37a; }

/* ---------- закреплённая шапка (главная, каталог, заказы) ---------- */
.stick { position: sticky; top: 0; z-index: 20; margin: 0 -16px; padding: 0 16px; isolation: isolate; }
/* стекло с мягким краем вместо полосы */
.stick::before { content: ""; position: absolute; inset: 0 0 -22px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(24, 12, 46), rgba(24, 12, 46, .97));
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent);
  opacity: 0; transition: opacity .25s ease; }
.stick.stuck::before { opacity: 1; }
.stick > :last-child { margin-bottom: 10px; }

/* каталог и заказы: большой заголовок уезжает, сверху остаётся компактный */
.stick-t { margin-top: -42px; }
.stick-t .stt { height: 42px; display: flex; align-items: center; justify-content: center; cursor: pointer;
  font: 700 16px var(--display); letter-spacing: -.2px; opacity: 0; transform: translateY(8px) scale(.96);
  transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.stick-t.stuck .stt { opacity: 1; transform: none; pointer-events: auto; }
.stick-t .seg { margin-bottom: 8px; }

/* главная: поиск остаётся, по бокам выезжают логотип и аватар */
.stick-home { padding-top: 8px; margin-top: -8px; }
.stick-home .srow { display: flex; align-items: center; margin-bottom: 12px; }
.stick-home .searchbar { flex: 1; margin: 0; transition: box-shadow .25s; }
.stick-home .mini-l, .stick-home .mini-r { flex: none; width: 0; opacity: 0; overflow: hidden; transform: scale(.6);
  transition: width .25s ease, margin .25s ease, opacity .2s ease, transform .25s ease; pointer-events: none; }
.stick-home .mini-l { height: 30px; display: grid; place-items: center; filter: drop-shadow(0 4px 10px #922EFF88); }
.stick-home .mini-l svg { width: 28px; height: 28px; }
.stick-home .mini-r { height: 36px; padding: 2px; }
.stick-home.stuck .mini-l { width: 30px; margin-right: 10px; opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.stick-home.stuck .mini-r { width: 36px; margin-left: 10px; opacity: 1; transform: none; pointer-events: auto; }
.stick-home.stuck .searchbar { box-shadow: 0 8px 24px -12px #000a; }
@media (prefers-reduced-motion: reduce) { .stick *, .stick::before { transition: none !important; } }

/* ---------- профиль: экономия ---------- */
#savedBox { display: grid; } .sc-btn { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.sc-btn > div { min-width: 0; } .sc-btn span:not(.ti) { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc.won b { color: #4ade80; text-shadow: 0 0 18px rgba(74, 222, 128, .35); }
.sc.soon b { color: #e9e2ff; }
.sv-big { font: 800 34px var(--display); letter-spacing: -.8px; color: #4ade80; margin: -2px 0 12px; }

/* ---------- «живой» блок уровня ---------- */
.tc-bar i { width: var(--w, 100%); position: relative; overflow: hidden; animation: tcfill 1.2s cubic-bezier(.2, .8, .2, 1) .15s both; }
@keyframes tcfill { from { width: 0; } }
.tc-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: translateX(-100%); animation: tcshine 3.2s ease-in-out 1.4s infinite; }
@keyframes tcshine { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
.tiercard .tc-ic { display: inline-block; animation: medal 4s ease-in-out infinite; transform-origin: 50% 20%; filter: drop-shadow(0 4px 10px rgba(255, 190, 120, .45)); }
.tiercard.t-silver .tc-ic { filter: drop-shadow(0 4px 10px rgba(220, 230, 255, .5)); }
.tiercard.t-gold .tc-ic { filter: drop-shadow(0 4px 12px rgba(255, 210, 90, .65)); }
@keyframes medal { 0%, 100% { transform: rotate(0) translateY(0); } 25% { transform: rotate(-7deg) translateY(-1px); } 50% { transform: rotate(0) translateY(-3px); } 75% { transform: rotate(6deg) translateY(-1px); } }
.tiercard::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .13), transparent); transform: skewX(-18deg); animation: tcsheen 6s ease-in-out 2s infinite; }
@keyframes tcsheen { 0% { left: -60%; } 30%, 100% { left: 130%; } }

/* ---------- салют нового уровня ---------- */
.lvlup { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 38%, #3a1673f0, #0B0815f7); animation: fade .25s; }
.lvlup.out { opacity: 0; transition: opacity .25s; }
.lv-card { width: 100%; max-width: 340px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.lv-medal { position: relative; width: 150px; height: 150px; margin: 0 auto 10px; display: grid; place-items: center; }
.lv-rays { position: absolute; inset: -20px; border-radius: 50%; animation: spin 9s linear infinite;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .16) 0 10deg, transparent 10deg 30deg);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%); mask-image: radial-gradient(circle, #000 25%, transparent 70%); }
.lvlup.t-gold .lv-rays { background: repeating-conic-gradient(from 0deg, rgba(255, 205, 90, .28) 0 10deg, transparent 10deg 30deg); }
.lv-ic { position: relative; font-size: 92px; line-height: 1; animation: lvpop .9s cubic-bezier(.2, 1.6, .4, 1) .1s both, medal 4s ease-in-out 1s infinite; }
.lv-ic .emo { width: 96px; height: 96px; }
@keyframes lvpop { from { transform: scale(.2) rotate(-40deg); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.lv-k { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #cfc9ee; }
.lvlup h2 { display: block; font: 800 34px var(--display); letter-spacing: -.8px; margin: 4px 0 10px; }
.lvlup.t-silver h2 { background: linear-gradient(180deg, #ffffff, #aab4c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lvlup.t-gold h2 { background: linear-gradient(180deg, #fff3c4, #FFAA19); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lvlup p { color: #e4def7; margin: 0 0 14px; line-height: 1.45; } .lvlup p b { color: #4ade80; }
.lv-next { display: inline-block; font-size: 12.5px; color: #cfc9ee; padding: 6px 12px; border-radius: 999px; background: #ffffff10; margin-bottom: 20px; }
@media (prefers-reduced-motion: reduce) { .tiercard::before, .tc-bar i::after, .tiercard .tc-ic, .lv-rays, .lv-ic { animation: none !important; } .tc-bar i { animation: none; } }

/* ---------- компактные плитки номиналов ---------- */
.nc { min-height: 0; gap: 4px; padding: 11px 12px 12px; }
.nc-sub:empty { display: none; }
.nc-bot { padding-top: 6px; }
.nc-ic .gem { width: 100%; height: 100%; }

/* ---------- кнопки сумм: ровная сетка вместо рядов 4 + 2 ---------- */
.stars-chips, .steam-chips { display: grid; gap: 7px; }
.stars-chips { grid-template-columns: repeat(4, 1fr); }
.stars-chips .chip:last-child { grid-column: span 2; }
.steam-chips { grid-template-columns: repeat(3, 1fr); }
.stars-chips .chip, .steam-chips .chip { justify-content: center; padding-left: 6px; padding-right: 6px; white-space: nowrap; min-width: 0; }
.nc-ic:has(img.cur) { border-radius: 0; overflow: visible; width: 38px; height: 38px; margin: -4px 0 -4px -3px; }
.nc-ic img.cur { object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }

/* ---------- метки «Хит» и акция ---------- */
.nc-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.nc-tags em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .2px; padding: 2px 7px; border-radius: 999px; line-height: 1.35; }
.tg-sale { background: linear-gradient(135deg, #ff4d6d, #ff7a3d); color: #fff; box-shadow: 0 4px 12px -4px #ff4d6daa; }
.tg-hit { background: rgba(255, 140, 50, .16); color: #ffb37a; border: 1px solid rgba(255, 140, 50, .35); }
.nc-pr { display: flex; align-items: baseline; gap: 6px; min-width: 0; flex-wrap: wrap; }
.nc-pr s { font-size: 12px; color: var(--hint); font-weight: 600; text-decoration-thickness: 1.5px; white-space: nowrap; }
.tile-sale { position: absolute; top: 6px; right: 6px; font-size: 10.5px; font-weight: 800; color: #fff; padding: 2px 6px; border-radius: 8px;
  background: linear-gradient(135deg, #ff4d6d, #ff7a3d); box-shadow: 0 4px 10px -3px #ff4d6daa; z-index: 2; }
.row-sale { display: inline-block; font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; padding: 1px 6px; border-radius: 7px; margin-right: 6px;
  background: linear-gradient(135deg, #ff4d6d, #ff7a3d); vertical-align: 1px; }

/* ---------- скидка за подписку ---------- */
.sub-btn { margin-top: 8px; }
.sub-hero { font-size: 44px; text-align: center; margin: 2px 0 8px; }
.btn.ghost { background: rgba(255, 255, 255, .06); border: 1px solid rgba(180, 120, 255, .25); color: var(--text); box-shadow: none; }

/* ---------- бесплатные коды ---------- */
.codes-card { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 13px 14px; border-radius: 18px; color: var(--text); text-decoration: none;
  background: linear-gradient(135deg, rgba(52, 211, 153, .16), rgba(146, 46, 255, .12)); border: 1px solid rgba(52, 211, 153, .3); }
.codes-card .cc-ic { font-size: 26px; line-height: 1; }
.codes-card b { display: block; font-size: 14.5px; } .codes-card small { display: block; color: var(--hint); font-size: 12px; margin-top: 2px; }
.cc-new { font-style: normal; font-size: 11px; font-weight: 800; color: #052e1c; background: #4ade80; padding: 2px 8px; border-radius: 999px; }
.codes-link { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border-radius: 14px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 13.5px;
  background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .28); }
.codes-link b { color: #4ade80; }
.codes-intro { margin: 0 0 12px; font-size: 13.5px; line-height: 1.45; }
.codes-game { margin-bottom: 12px; }
.cg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cg-head .thumb { width: 36px; height: 36px; border-radius: 11px; flex: none; }
.cg-head b { font-size: 15.5px; } .cg-buy { font-size: 13px; font-weight: 700; color: #C9A2FF; text-decoration: none; white-space: nowrap; }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.code-chip { justify-self: start; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 11px; border-radius: 11px; cursor: pointer;
  font: 700 14px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .5px; color: #fff; background: rgba(255, 255, 255, .07); border: 1px dashed rgba(201, 162, 255, .45);
  overflow-wrap: anywhere; text-align: left; }
.code-chip em { font: 800 10px var(--font); font-style: normal; color: #052e1c; background: #4ade80; padding: 1px 6px; border-radius: 999px; letter-spacing: 0; }
.code-chip:active { transform: scale(.97); }
.code-rw { grid-column: 1 / -1; font-size: 12.5px; color: var(--hint); line-height: 1.4; }
.cg-how { margin: 8px 0 0; font-size: 12.5px; }
.code-chip.big { display: flex; justify-content: center; width: 100%; font-size: 19px; padding: 12px; letter-spacing: 1px; }
.how-steps { margin: 12px 0 0; padding-left: 22px; font-size: 14.5px; line-height: 1.5; }
.how-steps li { margin: 0 0 8px; padding-left: 4px; }
.how-steps li::marker { color: #C9A2FF; font-weight: 800; }

/* подарок в шапке — вход в «Бесплатные коды» */
.hdr-gift { position: relative; width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: transform .15s; }
.hdr-gift:active { transform: scale(.92); }
.hdr-gift .emo { width: 23px; height: 23px; animation: giftwig 4s ease-in-out 1.5s infinite; }
@keyframes giftwig { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-12deg) scale(1.08); } 92% { transform: rotate(10deg) scale(1.08); } 95% { transform: rotate(-6deg); } }
.hdr-gift .gdot { position: absolute; top: 5px; right: 5px; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 2px #1a0d33, 0 0 8px #4ade80; }
@media (max-width: 370px) { .hdr-r { gap: 7px; } }
@media (prefers-reduced-motion: reduce) { .hdr-gift .emo { animation: none; } }
/* свои медали уровней */
svg.medal { display: block; width: 1.15em; height: 1.15em; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.tc-ic svg.medal { width: 34px; height: 34px; }
.tl-row .tc-ic svg.medal { width: 30px; height: 30px; }
.ti-ic svg.medal { width: 20px; height: 20px; }
.lv-ic svg.medal { width: 104px; height: 104px; margin: 0 auto; }
.sub-hero .emo { width: 56px; height: 56px; }

/* ---------- правки по аудиту дизайна ---------- */
.pst2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pst2 > *, #savedBox { min-width: 0; }
.sc > div { min-width: 0; } .sc span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-pr s { color: #b9b0d6; opacity: .85; }
.tile-sale { left: 6px; right: auto; top: 6px; color: #fff !important; font-weight: 800; text-shadow: 0 1px 2px #0005; }
.cat2 .s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat2 .t { hyphens: manual; -webkit-hyphens: manual; }
.searchbar input { text-overflow: ellipsis; }
/* коды: строка — кнопка копирования, код не ломается посреди слова */
.cg-how-btn { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 6px; padding: 9px 12px; border-radius: 12px; cursor: pointer;
  background: rgba(146, 46, 255, .12); border: 1px solid rgba(180, 120, 255, .28); color: var(--text); font: 700 13.5px var(--font); text-align: left; }
.cg-how-btn .emo { width: 18px; height: 18px; } .cg-how-btn span:nth-child(2) { flex: 1; }
.code-row { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 8px; width: 100%; padding: 10px 2px; border: 0; border-top: 1px solid rgba(255, 255, 255, .06);
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.code-row:active { background: rgba(255, 255, 255, .04); }
.code-row .code-chip { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.code-row .code-chip.long { font-size: 12.5px; letter-spacing: .2px; }
.code-new { font: 800 10px var(--font); font-style: normal; color: #052e1c; background: #4ade80; padding: 1px 6px; border-radius: 999px; }
.code-cp { justify-self: end; grid-column: 3; color: #C9A2FF; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .06); }
.code-cp svg { width: 15px; height: 15px; }
.code-row .code-rw { grid-column: 1 / -1; }
.cg-buy { padding: 6px 2px; }
#savedBox { display: grid; grid-template-columns: minmax(0, 1fr); }
.sc-btn { min-width: 0; overflow: hidden; }
.sc-btn > div { overflow: hidden; }

/* быстрые ссылки на главной: кликабельные плашки (иконка над подписью — влезает на любом экране) */
.feats.qk { margin: 10px 0 2px; gap: 8px; background: none; border: 0; padding: 0; box-shadow: none; }
.feats.qk .feat { position: relative; color: var(--text, #fff); text-decoration: none; flex-direction: column; justify-content: center; gap: 5px;
  padding: 10px 6px 9px; font-size: 12px; text-align: center; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.feats.qk .fi { width: 26px; height: 26px; }
.feats.qk .ft { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feats.qk .feat:active { transform: scale(.95); background: rgba(146,46,255,.16); border-color: rgba(180,120,255,.4); }
.feats.qk .qdot { position: absolute; top: 7px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #FF4D6D; box-shadow: 0 0 0 2px var(--bg, #0d0816); }
#buzzBox + #liveBox:not(:empty) { margin-top: 10px; }
@media (max-width: 370px) { .feats.qk .feat { font-size: 11.5px; } .feats.qk .fi { width: 24px; height: 24px; } }

/* ===== партнёрка: вкладки, график, инструменты блогеров, рейтинг ===== */
.ptabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; margin: 2px 0 14px; border-radius: 16px;
  background: #ffffff0c; border: 1px solid #ffffff14; }
.ptabs a { position: relative; z-index: 1; text-align: center; padding: 10px 4px; border-radius: 12px; color: var(--hint); text-decoration: none;
  font: 800 13.5px var(--font); transition: color .2s; -webkit-tap-highlight-color: transparent; }
.ptabs a.on { color: #fff; }
.ptabs-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 12px;
  background: var(--grad); box-shadow: 0 8px 20px -10px #922EFF; transform: translateX(calc(var(--i) * 100%)); transition: transform .3s cubic-bezier(.3,.7,.2,1); }
.ptab-body { animation: ptIn .28s ease both; }
@keyframes ptIn { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .ptab-body { animation: none; } .ptabs-ind { transition: none; } }
.pvip { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 10px; border-radius: 999px; background: #00000033; font-size: 12px; font-weight: 800; }
.pvip img, .pvip svg { width: 16px; height: 16px; }

.pcta { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-top: 12px; border-color: #FF4D8D44 !important;
  background: linear-gradient(120deg, #FF4D8D1f, #922EFF1a) !important; }
.pcta-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(140deg, #FF4D8D, #922EFF); }
.pcta b { display: block; font-size: 14.5px; } .pcta span { display: block; color: var(--hint); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.pcta .chev2 { color: var(--hint); } .pcta .chev2 svg { width: 18px; height: 18px; }
.pcta:active { transform: scale(.98); }

.pchart { margin-top: 12px; }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-head b { font-size: 14.5px; }
.pc-seg { display: flex; gap: 2px; padding: 3px; border-radius: 11px; background: #0000002e; }
.pc-seg button { border: 0; background: none; color: var(--hint); font: 700 12px var(--font); padding: 6px 9px; border-radius: 8px; cursor: pointer; }
.pc-seg button.on { background: #ffffff1a; color: #fff; }
.pc-total { font: 800 26px/1.1 var(--display); letter-spacing: -.6px; margin: 10px 0 12px; }
.pc-bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; height: 92px; align-items: end; }
.pc-b { height: 100%; display: flex; align-items: flex-end; }
.pc-b i { display: block; width: 100%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #C084FC, #7C2BFF); transition: height .4s cubic-bezier(.3,.7,.2,1); }
.pc-b.z i { background: #ffffff14; }
.pc-b.today i { background: linear-gradient(180deg, #FFD36E, #F59E0B); box-shadow: 0 0 14px #F59E0B66; }
.pc-axis { display: flex; justify-content: space-between; color: var(--hint); font-size: 11px; font-weight: 700; margin-top: 6px; }
.pc-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.pc-mini div { padding: 8px 10px; border-radius: 12px; background: #ffffff0a; min-width: 0; }
.pc-mini span { display: block; color: var(--hint); font-size: 11px; font-weight: 700; }
.pc-mini b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* «Блогерам» */
.pt-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 18px 18px 20px; min-height: 150px;
  background: radial-gradient(120% 120% at 100% 0%, #FF4D8D 0%, #B23BEF 45%, #3B1C8C 100%); box-shadow: 0 18px 40px -18px #FF4D8D; }
.pt-hx { position: relative; z-index: 1; max-width: 68%; }
.pt-hero h2 { font: 800 22px/1.15 var(--display); letter-spacing: -.5px; margin: 12px 0 6px; }
.pt-hero p { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; opacity: .95; }
.pt-phone { position: absolute; right: 18px; top: 50%; width: 76px; height: 136px; border-radius: 20px; transform: translateY(-50%) rotate(9deg);
  background: linear-gradient(160deg, #1a0f33, #0b0716); border: 3px solid #ffffffcc; box-shadow: 0 16px 30px -10px #000a; animation: pFloat 5s ease-in-out infinite; }
.pt-phone i { position: absolute; top: 6px; left: 50%; width: 22px; height: 5px; margin-left: -11px; border-radius: 4px; background: #ffffff55; }
.pt-phone b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: #fff; text-shadow: 0 0 18px #FF4D8D; }
@media (prefers-reduced-motion: reduce) { .pt-phone { animation: none; } }
.pt-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pt-sum > div { padding: 12px 10px; text-align: center; border-radius: 18px; background: var(--surface, #ffffff0d); border: 1px solid #ffffff12; min-width: 0; }
.pt-sum b { display: block; font: 800 20px/1.1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-sum span { color: var(--hint); font-size: 11.5px; font-weight: 700; }
.pt-sum .g b, .pln-stats .g b { color: #34D399; }
.ptl { margin-top: 12px; }
.ptl-h { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ptl-ic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; background: #ffffff10; border: 1px solid #ffffff14; }
.ptl-h b { display: block; font-size: 15px; } .ptl-h span { display: block; color: var(--hint); font-size: 12.5px; line-height: 1.4; margin-top: 3px; }
.pt-empty { padding: 14px; border-radius: 14px; border: 1px dashed #ffffff26; color: var(--hint); font-size: 13px; text-align: center; margin-bottom: 10px; }
.pt-note { font-size: 12px; margin-top: 8px; line-height: 1.4; }

.pln { padding: 12px; border-radius: 18px; background: #0000002b; border: 1px solid #ffffff12; margin-bottom: 10px; }
.pln-top { display: flex; align-items: flex-start; gap: 8px; }
.pln-top .grow { min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pln-top b { font-size: 14.5px; max-width: 100%; }
.pln-tag { padding: 3px 8px; border-radius: 8px; background: #922EFF2e; color: #D8B4FE; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.pln-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; }
.pln-stats div { text-align: center; padding: 8px 4px; border-radius: 12px; background: #ffffff0a; min-width: 0; }
.pln-stats b { display: block; font: 800 15px/1.15 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pln-stats span { font-size: 10.5px; color: var(--hint); font-weight: 700; }
.pln-conv { position: relative; margin-top: 8px; height: 22px; border-radius: 8px; background: #ffffff0a; overflow: hidden; }
.pln-conv i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #34D39955, #34D39922); }
.pln-conv span { position: relative; display: block; padding: 3px 8px; font-size: 11.5px; font-weight: 700; color: #A7F3D0; }
.pln-url { margin-top: 8px; padding: 8px 10px; border-radius: 10px; border: 1px dashed #B478FF44; font-size: 12.5px; font-weight: 700; color: #E9D5FF;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pln-acts { display: flex; gap: 6px; margin-top: 8px; }
.pln-acts .btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 8px; font-size: 13px; }
.pln-acts .btn:last-child { flex: none; width: 44px; padding: 9px 0; }
.pln-acts .btn svg { width: 16px; height: 16px; }

.pp-row.dead { opacity: .55; }
.pp-lim { display: flex !important; align-items: center; gap: 6px; color: #FCD34D !important; font-weight: 700; }
.pp-lim.bad { color: #FCA5A5 !important; }
.pp-bar { position: relative; display: inline-block; width: 44px; height: 6px; border-radius: 4px; background: #ffffff1a; overflow: hidden; flex: none; }
.pp-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: #FCD34D; }
.pp-earn { font-style: normal; color: #34D399; font-weight: 800; }
.pn-hint { margin-top: 12px; font-size: 12.5px; line-height: 1.4; color: #FCD34D; font-weight: 700; }
.pn-hint:empty { display: none; }

.pt-crprev { display: flex; gap: 14px; align-items: center; }
.pt-mock { position: relative; flex: none; width: 62px; height: 110px; border-radius: 14px; background: linear-gradient(170deg, #4A1D96, #120926); border: 2px solid #ffffff33; overflow: hidden; }
.pt-mock i { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 6px; }
.pt-mock .m1 { top: 10px; width: 26px; height: 26px; background: linear-gradient(140deg, #922EFF, #D946EF); border-radius: 8px; }
.pt-mock .m2 { top: 42px; width: 40px; height: 5px; background: #fff; }
.pt-mock .m3 { top: 54px; width: 44px; height: 14px; border: 1.5px solid #FFC650; }
.pt-mock .m4 { bottom: 10px; width: 26px; height: 26px; background: repeating-conic-gradient(#fff 0 25%, #1a0f33 0 50%) 0 0 / 6px 6px; border-radius: 4px; }
.pt-crprev .grow { min-width: 0; }

.pt-cinfo { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.pt-cinfo:empty { display: none; }
.pt-cg { padding: 6px 10px; border-radius: 10px; background: #34D3991a; border: 1px solid #34D39933; font-size: 12.5px; font-weight: 700; }
.pt-cg b { color: #34D399; }
.pt-steps { display: grid; gap: 8px; margin-bottom: 12px; }
.pt-steps > div { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.pt-steps i { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font: 800 12px var(--display); font-style: normal; background: #ffffff14; }
.pt-gl { display: grid; gap: 6px; margin-bottom: 10px; }
.pt-g { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: #ffffff0a; }
.pt-gi { font-size: 20px; flex: none; } .pt-g .grow { min-width: 0; }
.pt-g b { display: block; font-size: 13.5px; } .pt-g span { display: block; font-size: 12px; color: var(--hint); }
.pt-tips p { font-size: 13px; }

/* выбор товара для ссылки */
.pls-q { display: flex; align-items: center; gap: 8px; } .pls-q svg { width: 18px; height: 18px; color: var(--hint); flex: none; }
.pls-q input { flex: 1; min-width: 0; }
.pls-pre { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pls-pre .chip { padding: 8px 11px; border-radius: 12px; border: 1px solid #ffffff1f; background: #ffffff0b; color: inherit; font: 700 12.5px var(--font); cursor: pointer; }
.pls-res { display: grid; gap: 4px; margin-top: 6px; max-height: 260px; overflow-y: auto; }
.pls-row { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 12px; background: #ffffff08; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pls-row .thumb { width: 36px; height: 36px; border-radius: 10px; flex: none; font-size: 12px; }
.pls-row b { flex: 1; min-width: 0; font-size: 14px; } .pls-row span { color: var(--hint); font-size: 12px; white-space: nowrap; }
.pls-row:active { background: #922EFF33; }
.pls-sel { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #34D39914; border: 1px solid #34D39944; }
.pls-sel img, .pls-ic { width: 38px; height: 38px; border-radius: 11px; flex: none; object-fit: cover; }
.pls-ic { display: grid; place-items: center; background: #10B981; font-weight: 800; }
.pls-sel .grow { min-width: 0; } .pls-sel span { display: block; font-size: 11.5px; color: var(--hint); font-weight: 700; } .pls-sel b { display: block; font-size: 14.5px; }
.pls .hidden, .pls-sel.hidden { display: none; }

.pcr-prev { margin: 14px auto 10px; width: 170px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #ffffff0a; border: 1px solid #ffffff1a; display: grid; place-items: center; }
.pcr-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcr-ph { padding: 14px; text-align: center; color: var(--hint); font-size: 12px; line-height: 1.4; }

/* «Рейтинг» */
.tp-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 18px 18px 20px; background: radial-gradient(120% 120% at 100% 0%, #FFC650 0%, #F59E0B 30%, #7C2BFF 100%);
  box-shadow: 0 18px 40px -18px #F59E0B; }
.tp-hero h2 { font: 800 30px/1.1 var(--display); letter-spacing: -.8px; margin: 12px 0 4px; }
.tp-hero p { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; opacity: .95; }
.tp-prize { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; border-color: #FFC65055 !important; background: linear-gradient(120deg, #FFC6501a, #ffffff05) !important; }
.tp-prize > span { font-size: 26px; } .tp-prize b { font-size: 14.5px; } .tp-prize p { margin: 4px 0 0; font-size: 13px; color: var(--hint); line-height: 1.45; white-space: pre-line; }
.tp-me { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.tp-mp { flex: none; width: 48px; height: 48px; display: grid; place-items: center; font-size: 26px; }
.tp-me .grow { min-width: 0; } .tp-me b { display: block; font-size: 15px; } .tp-me span { display: block; font-size: 12.5px; color: var(--hint); }
.tp-me .tp-gap { color: #FCD34D; font-weight: 700; margin-top: 2px; }
.tp-list { margin-top: 12px; padding: 6px 14px; }
.tp-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tp-row:last-child { border-bottom: 0; }
.tp-row.me { margin: 0 -8px; padding: 10px 8px; border-radius: 12px; background: #922EFF26; border-bottom-color: transparent; }
.tp-row .grow { min-width: 0; } .tp-row b { display: block; font-size: 14px; } .tp-row span { display: block; font-size: 12px; color: var(--hint); }
.tp-row em { font-style: normal; font-weight: 800; color: #34D399; white-space: nowrap; }
.tp-med { flex: none; width: 34px; height: 34px; display: grid; place-items: center; } .tp-med .medal { width: 34px; height: 34px; }
.tp-mp .tp-med, .tp-mp .tp-med .medal { width: 46px; height: 46px; }
.tp-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #ffffff10; font: 800 13px var(--display); }
@media (max-width: 370px) { .pt-hx { max-width: 72%; } .pt-phone { width: 62px; height: 112px; right: 12px; } .pln-stats b { font-size: 13.5px; } .ptabs a { font-size: 12.5px; } }
.ptl-ic .emo { width: 26px; height: 26px; vertical-align: 0; }
.pp-row { flex-wrap: wrap; }
.pp-limw { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 2px; }
.pp-limw .pp-lim { font-size: 12px; }
.ptl .pacts .btn svg, .ppromo .mini svg { width: 18px; height: 18px; flex: none; }
.pcta-ic .emo { width: 28px; height: 28px; vertical-align: 0; }

/* дизайн-ревью: промокоды моноширинным, анимация телефона, контраст, касания, плотность */
.pp-code { font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; font-variant-numeric: slashed-zero; letter-spacing: .06em; font-weight: 800; }
.nw { white-space: nowrap; }
@keyframes ptFloat { 0%, 100% { transform: translateY(-50%) rotate(9deg); } 50% { transform: translateY(calc(-50% - 8px)) rotate(9deg); } }
.pt-phone { animation-name: ptFloat; }
.pt-phone b svg { width: 26px; height: 26px; }
.pln-conv { height: auto; min-height: 22px; }
.pln-conv span { white-space: normal; line-height: 1.3; padding: 4px 8px; }
.pill.solid.warn { background: #8a5a12; } .pill.solid.ok { background: #15803d; }
.cat2 b, .cat2 .s, .cat3 b { text-shadow: 0 1px 3px #0007; }
.cat3 b { hyphens: manual; -webkit-hyphens: manual; }
.ptabs a { padding: 13px 4px; }
.pc-seg button { min-height: 36px; padding: 8px 10px; }
.cg-buy { min-height: 40px; padding: 8px 2px; }
.mrow .grow span, .helpcard span { display: block; line-height: 1.35; margin-top: 2px; }
.ptl .pacts .btn { white-space: normal; line-height: 1.15; }
.ptl .pacts .btn svg, .pln-acts .btn svg, .pcr .pacts .btn svg { width: 17px; height: 17px; flex: none; }
.ppromo .mini svg, .pln .mini svg { width: 17px; height: 17px; }
.ptl-ic svg { width: 22px; height: 22px; color: #D8B4FE; }
.pln { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 0 12px; margin: 0; }
.pp-del { color: var(--hint) !important; background: transparent !important; }
.pc-empty { display: flex; gap: 12px; align-items: center; }
.pc-eic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #922EFF2e; color: #D8B4FE; }
.pc-eic svg { width: 20px; height: 20px; }
.pc-empty b { display: block; font-size: 14.5px; } .pc-empty span { display: block; color: var(--hint); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.us-head { position: relative; z-index: 1; box-shadow: 0 8px 12px -10px #000a; }
.ngrid .nc.off { order: 1; }
@media (max-width: 370px) { .ppage .ph h1 { font-size: 24px; } }
.pln-tag.pr { background: #FFC6502a; color: #FCD34D; }

/* розыгрыши */
.gwcard { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 20px; text-decoration: none; color: inherit;
  background: linear-gradient(120deg, #FFC65026, #922EFF1f); border: 1px solid #FFC65055; }
.gw-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #FFC65022; }
.gw-ic .emo { width: 30px; height: 30px; vertical-align: 0; }
.gwcard .grow { min-width: 0; } .gwcard b { display: block; font-size: 14.5px; }
.gw-k { display: block; font-size: 11.5px; font-weight: 800; color: #FCD34D; text-transform: uppercase; letter-spacing: .03em; }
.gw-s { display: block; font-size: 12px; color: var(--hint); margin-top: 1px; }
.gwcard .chev2 svg { width: 18px; height: 18px; color: var(--hint); }
.gwcard:active { transform: scale(.98); }
.gw-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 18px 18px 22px; min-height: 150px;
  background: radial-gradient(120% 120% at 100% 0%, #FFC650 0%, #F59E0B 28%, #922EFF 100%); box-shadow: 0 18px 40px -18px #F59E0B; }
.gw-hero h2 { position: relative; z-index: 1; font: 800 24px/1.15 var(--display); letter-spacing: -.5px; margin: 12px 0 6px; max-width: 78%; overflow-wrap: anywhere; }
.gw-hero p { position: relative; z-index: 1; margin: 0; font-size: 13.5px; font-weight: 700; opacity: .95; }
.gw-stars span { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 16px #fff; animation: pFloat 4s ease-in-out infinite; }
.gw-stars span:nth-child(1) { width: 10px; height: 10px; right: 28px; top: 26px; }
.gw-stars span:nth-child(2) { width: 6px; height: 6px; right: 64px; top: 60px; animation-delay: -1.5s; }
.gw-stars span:nth-child(3) { width: 14px; height: 14px; right: 40px; bottom: 26px; background: #FFE29A; animation-delay: -3s; }
.gw-steps, .gw-in, .gw-res { margin-top: 12px; }
.gw-steps .btn { display: flex; align-items: center; justify-content: center; gap: 6px; }
.gw-in { display: flex; gap: 12px; align-items: center; border-color: #34D39955 !important; background: linear-gradient(120deg, #34D3991f, #ffffff05) !important; }
.gw-ok { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #10B981; font-weight: 900; font-size: 18px; }
.gw-in b { display: block; font-size: 15px; } .gw-in span { display: block; font-size: 12.5px; color: var(--hint); margin-top: 2px; line-height: 1.35; }
.gw-won { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: #FFC65022; margin-bottom: 10px; }
.gw-won span { font-size: 12.5px; color: var(--hint); }
.gw-w { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.gw-note { font-size: 12px; text-align: center; margin: 12px 8px 0; line-height: 1.4; }
.oid-full { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; letter-spacing: .02em; }
.kv { align-items: center; }
.flg { width: 1.25em; height: 1.25em; vertical-align: -.22em; display: inline-block; border-radius: 2px; }
.gwpage .pt-sum b { font-size: 17px; }
.ptl-h .ptl-ic, .pcta .pcta-ic, .pc-empty .pc-eic { display: grid; place-items: center; margin: 0; color: #D8B4FE; line-height: 0; }
.ptl-h .ptl-ic .emo, .pcta .pcta-ic .emo { margin: 0; }

/* баннер партнёрки на главной */
.s-earn::before { background: radial-gradient(110% 120% at 100% 0%, #FF4D8D99, transparent 60%), linear-gradient(160deg, #3B1C8C, #160a2e); }
.earn-art .ea-phone { position: absolute; right: 14px; top: 50%; width: 64px; height: 112px; border-radius: 18px; transform: translateY(-50%) rotate(9deg);
  background: linear-gradient(160deg, #1a0f33, #0b0716); border: 3px solid #ffffffcc; box-shadow: 0 16px 30px -10px #000c; display: grid; place-items: center; color: #fff; }
.earn-art .ea-phone i { position: absolute; top: 5px; left: 50%; width: 18px; height: 4px; margin-left: -9px; border-radius: 3px; background: #ffffff55; }
.earn-art .ea-phone svg { width: 24px; height: 24px; filter: drop-shadow(0 0 10px #FF4D8D); }
.earn-art .ea-coin { position: absolute; display: grid; place-items: center; }
.earn-art .ea-coin .emo { width: 100%; height: 100%; vertical-align: 0; }
.earn-art .c1 { width: 42px; height: 42px; right: -4px; top: 10px; transform: rotate(-12deg); z-index: 2; }
.earn-art .c2 { width: 36px; height: 36px; right: 58px; bottom: 14px; z-index: 2; }
.s-earn .st { max-width: 62%; }

/* первый баннер: фирменные эмодзи */
.emart { width: 160px; height: 150px; }
.emart .eb { position: absolute; right: 26px; top: 6px; width: 104px; height: 104px; filter: drop-shadow(0 16px 26px #922EFFaa); animation: float 5s ease-in-out infinite; }
.emart .et { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #ffffff14; border: 1px solid #ffffff22;
  backdrop-filter: blur(6px); box-shadow: 0 10px 20px -8px #000a; animation: float 5s ease-in-out infinite; }
.emart .eb .emo, .emart .et .emo { width: 100%; height: 100%; vertical-align: 0; }
.emart .et .emo { width: 74%; height: 74%; }
.emart .t1 { left: 4px; top: 74px; transform: rotate(-12deg); animation-delay: -1s; }
.emart .t2 { left: 56px; top: 100px; transform: rotate(8deg); animation-delay: -2s; }
.emart .t3 { right: 2px; top: 92px; transform: rotate(10deg); animation-delay: -3s; }
/* ситуативные баннеры */
.s-gw::before { background: radial-gradient(110% 120% at 100% 0%, #FFC650aa, transparent 60%), linear-gradient(160deg, #5a2a0c, #1e0f22); }
.s-codes::before { background: radial-gradient(110% 120% at 100% 0%, #34D39988, transparent 60%), linear-gradient(160deg, #0d3b34, #0f1424); }
.s-sale::before { background: radial-gradient(110% 120% at 100% 0%, #FF4D6Daa, transparent 60%), linear-gradient(160deg, #4a0f22, #1e0f22); }
.s-gift::before { background: radial-gradient(110% 120% at 100% 0%, #F472B699, transparent 60%), linear-gradient(160deg, #3d1052, #160a2e); }
.s-sub::before { background: radial-gradient(110% 120% at 100% 0%, #38BDF899, transparent 60%), linear-gradient(160deg, #0f2f66, #10132a); }
.slide .kick .emo { width: 16px; height: 16px; vertical-align: -.25em; }
.big-em { display: grid; place-items: center; }
.big-em .emo { width: 108px; height: 108px; vertical-align: 0; filter: drop-shadow(0 16px 26px #000a); animation: float 5s ease-in-out infinite; }
.trio .tr { position: absolute; width: 62px; height: 62px; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 26px -10px #000c; border: 2px solid #ffffff33; }
.trio .tr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trio .t1 { right: 56px; top: 16px; transform: rotate(-10deg); } .trio .t2 { right: 0; top: 40px; transform: rotate(8deg); } .trio .t3 { right: 44px; bottom: 14px; transform: rotate(4deg); }
.sale-one img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.sale-badge { position: absolute; right: -6px; top: 18px; z-index: 2; padding: 6px 10px; border-radius: 12px; background: #FF4D6D; color: #fff; font: 800 16px var(--display); transform: rotate(10deg); box-shadow: 0 8px 18px -6px #FF4D6D; }
@media (prefers-reduced-motion: reduce) { .emart .eb, .emart .et, .big-em .emo { animation: none; } }

/* анимированные флаги языка (набор @Topifai) */
.langsw .lsf { width: 20px; height: 20px; display: inline-grid; place-items: center; flex: none; }
.langsw .lsf .emo, .lang-seg .lsf .emo, .lflag .emo { width: 100%; height: 100%; vertical-align: 0; }
.lang-seg .lsf { width: 20px; height: 20px; display: inline-grid; place-items: center; margin-right: 6px; vertical-align: -5px; }
.lflag { width: 30px; height: 30px; display: grid; place-items: center; }

/* ============ Баланс ============ */
.balcard { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; padding: 12px 14px; border-radius: 20px; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, rgba(146,46,255,.22), rgba(217,70,239,.12)); border: 1px solid rgba(178,60,247,.35); }
.balcard:active { transform: scale(.985); }
.balcard .bc-ic, .pm-ic, .btx-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.08); }
.balcard .bc-ic img, .pm-ic img, .btx-ic img { width: 26px; height: 26px; display: block; }
.balcard small { display: block; font-size: 12px; color: var(--hint); }
.balcard b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.2px; }
.balcard .bc-add { flex: none; font-size: 13px; font-weight: 800; padding: 8px 12px; border-radius: 99px; background: var(--grad); color: #fff; }
.balhero { position: relative; overflow: hidden; text-align: center; padding: 22px 16px 18px; border-radius: 24px; margin-top: 6px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(146,46,255,.42), rgba(36,16,68,.55) 60%, rgba(255,255,255,.04)); border: 1px solid rgba(178,60,247,.3); }
.balhero .bh-em { display: block; width: 68px; height: 68px; margin: 0 auto 4px; animation: balFloat 3.4s ease-in-out infinite; }
@keyframes balFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .balhero .bh-em { animation: none; } }
.balhero .bh-em img { width: 100%; height: 100%; display: block; }
.balhero small { display: block; font-size: 13px; color: var(--hint); }
.balhero b { display: block; font-size: 36px; font-weight: 900; letter-spacing: -.5px; margin: 2px 0 6px; }
.balhero p { margin: 0 auto; max-width: 290px; font-size: 13px; line-height: 1.4; color: #d8d0ee; }
.bchips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bchips button { padding: 12px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; }
.bchips button small { display: block; font-size: 11.5px; font-weight: 600; color: var(--hint); margin-top: 2px; }
.bchips button.on { border-color: var(--violet); background: rgba(146,46,255,.2); box-shadow: 0 0 0 3px rgba(146,46,255,.15); }
.bamt { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0 14px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); }
.bamt:focus-within { border-color: var(--violet); }
.bamt input { flex: 1; min-width: 0; padding: 13px 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.bamt span { color: var(--hint); font-weight: 700; }
.bnote { font-size: 12.5px; margin: 8px 2px 0; }
.bdemo { margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; color: #ffd98a; background: rgba(245,165,36,.1); border: 1px solid rgba(245,165,36,.25); }
.btxs { display: flex; flex-direction: column; gap: 6px; }
.btx { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--surface); color: var(--text); text-decoration: none; }
.btx b { display: block; font-size: 14px; } .btx small { display: block; font-size: 12px; color: var(--hint); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btx .grow { min-width: 0; }
.btx em { flex: none; font-style: normal; font-weight: 800; font-size: 14.5px; }
.btx em.pl { color: var(--ok); }
.pm { display: flex; flex-direction: column; gap: 8px; }
.pm-o { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 18px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--text); font: inherit; }
.pm-o:first-child { border-color: rgba(146,46,255,.55); background: rgba(146,46,255,.14); }
.pm-o.off { border-color: var(--line); background: var(--surface); }
.pm-o:active { transform: scale(.985); }
.pm-o .grow { min-width: 0; } .pm-o b { display: block; font-size: 15px; } .pm-o small { display: block; font-size: 12.5px; color: var(--hint); margin-top: 2px; }
.pm-o em { flex: none; font-style: normal; font-weight: 800; font-size: 14px; }
.pm-o.off em { color: var(--violet); }
.pm-o .spin { width: 18px; height: 18px; }
.pm-note { margin: 6px 2px 0; font-size: 12px; color: var(--hint); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* баланс в шапке главной — компактная плашка */
.hdr-bal { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 4px 0 6px; border-radius: 16px; text-decoration: none; color: var(--text);
  border: 1px solid #ffd36b38; background: #ffd36b14; flex: none; transition: transform .15s; }
.hdr-bal:active { transform: scale(.94); }
.hdr-bal .hb-ic { width: 20px; height: 20px; display: grid; place-items: center; flex: none; }
.hdr-bal .hb-ic .emo { width: 100%; height: 100%; }
.hdr-bal b { font-weight: 800; font-size: 13.5px; letter-spacing: -.2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdr-bal .hb-plus { width: 22px; height: 22px; margin-left: 1px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 700 15px/1 system-ui, sans-serif; font-style: normal; color: #fff; background: linear-gradient(135deg, #8b5cf6, #c35cf0); }
.hdr-bal.ld b { opacity: .5; }
.hdr .crown-av { flex: none; }
.hdr .brand2 { min-width: 0; }
/* шапка профиля: заголовок + подарок и язык справа */
.phead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.phead .ptitle { margin-right: auto !important; }
.phead .hdr-r { flex: none; margin: 6px 0 14px; }
@media (max-width: 400px) { .phead .hdr-r { margin: 4px 0 12px; } }
/* отмена заказа */
.ocancel { display: block; width: 100%; margin-top: 10px; min-height: 44px; border: 0; border-radius: 14px; background: transparent; color: var(--hint);
  font: 600 15px inherit; font-family: inherit; cursor: pointer; }
.ocancel:active { background: #ffffff0d; }
.ocancel:disabled { opacity: .5; }
/* бонус за пополнение */
.bbonus { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 10px; border-radius: 16px;
  background: linear-gradient(120deg, #ffd36b1f, #ff8ad81a 60%, #922eff1f); border: 1px solid #ffd36b40; }
.bbonus .bb-ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
.bbonus .bb-ic .emo { width: 100%; height: 100%; }
.bbonus b { display: block; font-size: 14.5px; }
.bbonus span { font-size: 13px; color: var(--hint); font-weight: 600; }
.bbonus i { font-style: normal; color: #ffd36b; font-weight: 800; }
.bchips button { position: relative; }
.bchips .bbt { position: absolute; top: -8px; right: -4px; padding: 2px 6px; border-radius: 8px; font: 800 10.5px/1.3 inherit; font-family: inherit; font-style: normal;
  color: #2a1450; background: linear-gradient(135deg, #ffe08a, #ffb84d); box-shadow: 0 2px 8px #ffb84d55; white-space: nowrap; }
.bchips { padding-top: 6px; }
/* партнёрка: перевод на баланс */
.pmini { flex-wrap: wrap; } .pmini div { min-width: calc(33.33% - 6px); }
.ptb { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 10px; padding: 12px 14px; border-radius: 16px; border: 0; cursor: pointer; text-align: left;
  color: #fff; font: inherit; background: linear-gradient(135deg, #8b5cf6, #c35cf0); box-shadow: 0 8px 24px #a855f74d; transition: transform .15s, opacity .2s; }
.ptb:active { transform: scale(.98); }
.ptb.ld { opacity: .6; pointer-events: none; }
.ptb .ptb-ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #ffffff26; }
.ptb .ptb-ic .emo { width: 24px; height: 24px; }
.ptb b { display: block; font-size: 15px; } .ptb small { display: block; font-size: 12px; opacity: .85; font-weight: 600; }
.ptb em { font-style: normal; font-weight: 800; font-size: 16px; white-space: nowrap; }
.bhint { display: flex; align-items: center; gap: 8px; min-height: 0; margin: 8px 2px 0; font-size: 13.5px; font-weight: 700; color: var(--hint); }
.bhint:empty { display: none; }
.bhint .emo { width: 20px; height: 20px; flex: none; }
.bhint.on { color: #ffd36b; } .bhint.near { color: #d8b4fe; }

/* проверка ID игрока */
.nick { display: flex; gap: 8px; align-items: center; margin-top: 8px; padding: 10px 12px; border-radius: 14px; font-size: 14px; background: var(--card, #ffffff0d); border: 1px solid #ffffff1a; color: var(--muted, #b9b3d1); }
.nick.ok { background: #34D39914; border-color: #34D39940; color: inherit; }
.nick.bad { background: #F8717114; border-color: #F8717150; color: #fca5a5; }
.nick .nk-ic { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center; flex: none; font-weight: 800; font-size: 13px; }
.nick.ok .nk-ic { background: #34D399; color: #062b1e; }
.nick.ok .nk-ic svg { width: 13px; height: 13px; }
.nick.bad .nk-ic { background: #F87171; color: #2b0606; }
.nick .nk-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #ffffff33; border-top-color: #a78bfa; animation: nkspin .8s linear infinite; flex: none; }
@keyframes nkspin { to { transform: rotate(360deg); } }

.payleft { margin: 0 0 8px; text-align: center; font-size: 13px; color: var(--muted, #b9b3d1); }
.payleft.bad { color: #fca5a5; }

/* Steam: игры в подарок */
.sg-entry { display: flex; gap: 12px; align-items: center; margin-top: 12px; text-decoration: none; color: inherit; }
.sg-entry .sg-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--g-steam); flex: none; }
.sg-entry .sg-ic img { width: 26px; height: 26px; }
.sg-entry b { display: block; } .sg-entry span { font-size: 13px; color: var(--muted, #b9b3d1); }
.sg-search { margin-bottom: 10px; }
.sg-pop { margin-bottom: 12px; }
.sg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-card { display: block; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; padding: 0; }
.sg-card.off { opacity: .55; }
.sg-img { aspect-ratio: 460 / 215; background: #ffffff0d; }
.sg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-t { padding: 8px 10px 10px; } .sg-t b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.25; }
.sg-t span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted, #b9b3d1); }
.sg-more { margin-top: 12px; }
.sg-hero { padding: 0; overflow: hidden; border-radius: 20px; }
.sg-hero img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; display: block; }
.sg-hero-t { padding: 12px 14px 14px; } .sg-hero-t h1 { margin: 8px 0 4px; font-size: 24px; } .sg-hero-t p { margin: 0; color: var(--muted, #b9b3d1); font-size: 14px; }
.sg-note { margin: 6px 2px 0; font-size: 13px; }
.sg-how { margin-top: 14px; } .sg-how ol { margin: 8px 0 0; padding-left: 18px; color: var(--muted, #b9b3d1); font-size: 14px; } .sg-how li { margin: 4px 0; }
.sg-st { margin-top: 12px; } .sg-st p { margin: 6px 0 10px; color: var(--muted, #b9b3d1); }
.sg-st.ok { display: flex; gap: 12px; align-items: center; } .sg-st.ok span { display: block; font-size: 13px; color: var(--muted, #b9b3d1); }

.sg-price { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; } .sg-price span { color: var(--muted, #b9b3d1); } .sg-price b { font-size: 22px; }
.sg-hero-t .badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: #ffffff14; border: 1px solid #ffffff1f; font-size: 12.5px; font-weight: 600; }

/* шапка главной: кошелёк, подарок, язык, аватар — на узких экранах компактнее */
.hdr .hdr-r { gap: 8px; } .hdr .langsw { height: 34px; padding: 0 10px 0 8px; }
@media (max-width: 380px) { .hdr .hdr-r { gap: 6px; } .hdr .langsw b { display: none; } .hdr .langsw { padding: 0 8px; } .hdr .hdr-gift { width: 32px; height: 32px; } }

/* переносы: латинские названия номиналов не рвём посреди слова; узкие экраны */
.nc-name b { overflow-wrap: normal; word-break: normal; hyphens: manual; -webkit-hyphens: manual; }
.cat3 b { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 380px) { .cat3 b { font-size: 11px; } .cat2 .s { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: clip; } }
.sg-grid .empty { grid-column: 1 / -1; }

/* длинные латинские слова (Companionship) на узких экранах — переносим, а не вылезаем за карточку */
.nc-name { min-width: 0; }
.nc-name b { overflow-wrap: break-word; }

.nc-pr .nc-fee{font-size:11px;font-weight:600;opacity:.65;margin-left:4px}

/* вход на сайт через бота */
.linkbtn { background: none; border: 0; padding: 6px 0; color: var(--accent, #a77bff); font: inherit; font-weight: 700; cursor: pointer; }
#wlogout { display: block; margin: 4px auto 10px; color: var(--muted, #999); font-weight: 600; font-size: 13.5px; }
.wl { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 4px 0 10px; }
.wl p { margin: 0; line-height: 1.45; }
.wl-qr { width: 220px; height: 220px; border-radius: 16px; background: #fff; padding: 6px; }
.wl-go { width: 100%; text-align: center; text-decoration: none; display: block; }
.empty .wlogin { margin-top: 14px; }
.gnote { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2, rgba(255,255,255,.06)); border: 1px solid var(--line, rgba(255,255,255,.1)); font-size: 13.5px; line-height: 1.45; }
.gnote .linkbtn { padding: 0; display: inline; }

/* уведомления: колокольчик и плашка сверху */
.hdr-bell { cursor: pointer; padding: 0; }
.hdr-bell .emo { animation: none; }
.hdr-bell .bdot { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ff4d6d; color: #fff;
  font: 800 10.5px/17px inherit; font-style: normal; text-align: center; box-shadow: 0 0 0 2px #1a0d33; }
.hdr-bell .bdot.hidden { display: none; }
#topnote { position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 9999; max-width: 520px; margin: 0 auto;
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; border-radius: 18px; cursor: pointer;
  background: rgba(30, 16, 60, .96); border: 1px solid rgba(180, 120, 255, .35); box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  transform: translateY(-140%); opacity: 0; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), opacity .25s; backdrop-filter: blur(12px); }
#topnote.show { transform: none; opacity: 1; }
#topnote .tn-in { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.4; }
#topnote .tn-in b { font-size: 14.5px; }
#topnote .tn-in span { color: var(--muted, #b9b0d6); }
#topnote .tn-x { background: none; border: 0; color: var(--muted, #b9b0d6); font-size: 15px; cursor: pointer; padding: 2px; }
.ntl { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }
.ntl .nt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; line-height: 1.4; }
.ntl .nt.new { border-color: rgba(180, 120, 255, .45); background: rgba(146, 46, 255, .10); }
.ntl .nt span { color: var(--muted, #b9b0d6); }
.ntl .nt small { color: var(--muted, #8f86ad); font-size: 11.5px; margin-top: 2px; }

/* подвал сайта (только в браузере) */
#sitefoot { position: relative; z-index: 1; max-width: 560px; margin: 36px auto 0; padding: 0 16px; }
html:not(.site) #sitefoot { display: none; }
.sf-in { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 2px 8px; display: flex; flex-direction: column; gap: 18px; }
.sf-logo { font-size: 20px; }
.sf-about { margin: 0; color: var(--muted, #b9b0d6); font-size: 13.5px; line-height: 1.5; }
.sf-nav, .sf-docs { display: flex; flex-direction: column; }
.sf-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--text, #ece7f7); text-decoration: none; font-weight: 700; font-size: 15.5px; }
.sf-docs a { padding: 7px 4px; color: var(--muted, #9d93bd); text-decoration: none; font-weight: 600; font-size: 14px; }
.sf-nav a:hover, .sf-docs a:hover { color: #c9a2ff; }
.sf-soc { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-soc a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 14px; text-decoration: none; color: var(--text, #ece7f7);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; font-weight: 700; }
.sf-soc svg { color: #2aabee; }
.sf-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-pay .pb { padding: 7px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); color: var(--muted, #b9b0d6); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.sf-copy { margin: 0; color: var(--muted, #8f86ad); font-size: 12px; line-height: 1.55; }
@media (min-width: 700px) { .sf-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; } }

/* ================= САЙТ (обычный браузер). Mini App эти правила не затрагивают ================= */
#sitehead { display: none; }
html.site #sitehead { display: block; position: sticky; top: 0; z-index: 40; background: rgba(14, 7, 30, .82); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sh-in { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 20px; display: flex; align-items: center; gap: 22px; }
.sh-logo { font-size: 22px; text-decoration: none; color: var(--text); flex: none; }
.sh-logo .tmark { width: 28px; height: 28px; }
.sh-nav { display: flex; gap: 4px; flex: none; }
.sh-nav a { padding: 8px 12px; border-radius: 12px; color: #c9c1e3; text-decoration: none; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: background .15s, color .15s; }
.sh-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.sh-nav a.on { color: #fff; background: rgba(146, 46, 255, .22); }
.sh-search { flex: 1; min-width: 160px; max-width: 360px; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border-radius: 13px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); cursor: text; }
.sh-search:focus-within { border-color: rgba(180, 120, 255, .55); background: rgba(255, 255, 255, .09); }
.sh-search svg { width: 17px; height: 17px; color: var(--hint); flex: none; }
.sh-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 600 14px var(--font); }
.sh-r { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.sh-ic { width: 38px; height: 38px; display: none; place-items: center; border-radius: 50%; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.sh-ic svg { width: 18px; height: 18px; }
.sh-orders { padding: 8px 12px; border-radius: 12px; color: #c9c1e3; text-decoration: none; font-weight: 700; font-size: 14.5px; }
.sh-orders:hover, .sh-orders.on { color: #fff; background: rgba(255, 255, 255, .06); }
.sh-av { width: 38px; height: 38px; border-radius: 50%; padding: 2px; background: linear-gradient(140deg, #b06bff, #922eff); flex: none; text-decoration: none; }
.sh-av img, .sh-av span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #24133f; color: #fff; font-weight: 800; }
.sh-login { padding: 9px 18px; }
/* на сайте шапка своя — мини-шапка главной не нужна */
html.site .hdr { display: none; }
html.site .stick-home .mini-l, html.site .stick-home .mini-r { display: none; }
html.site main { padding-top: 18px; }

/* планшет и телефон: разделы и поле поиска прячем, остаются иконки */
@media (max-width: 1099px) { .sh-nav { display: none; } }
@media (max-width: 759px) {
  .sh-in { height: 56px; gap: 10px; padding: 0 14px; }
  .sh-search, .sh-orders { display: none; }
  .sh-ic { display: grid; }
  .sh-logo { font-size: 20px; }
  .sh-r { gap: 8px; }
  .sh-r .langsw { padding: 0 8px; }
  .sh-login { padding: 8px 14px; }
}

/* компьютер: широкая раскладка, нижнего меню нет */
@media (min-width: 760px) {
  html.site .tabbar { display: none; }
  html.site body { padding-bottom: 40px; }
  html.site body.has-cta { padding-bottom: 120px; }
  html.site main { max-width: 820px; padding: 28px 24px 0; }
  html.site body[data-wide] main { max-width: 1200px; }
  html.site .cta { bottom: 22px; max-width: 820px; margin: 0 auto; }
  html.site body.has-cta .cta { left: 0; right: 0; }
  html.site .hscroll, html.site .promo-wrap { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  html.site .stick-home { display: none; }
  html.site #sitefoot { max-width: 1200px; padding: 0 24px; margin-top: 56px; }
  html.site .sf-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; column-gap: 40px; row-gap: 14px; padding-top: 36px; }
  html.site .sf-logo, html.site .sf-about { grid-column: 1; }
  html.site .sf-nav { grid-column: 2; grid-row: 1 / span 4; display: flex; }
  html.site .sf-nav a { padding: 7px 2px; border: 0; font-size: 14.5px; }
  html.site .sf-docs { grid-column: 3; grid-row: 1 / span 2; }
  html.site .sf-soc { grid-column: 1; }
  html.site .sf-pay { grid-column: 3; }
  html.site .sf-copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 16px; margin-top: 10px; }
}
@media (min-width: 1100px) {
  html.site body[data-wide] .cats2 { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  html.site body[data-wide] .cats3 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  html.site body[data-wide] .promo-wrap { max-width: 1200px; }
  html.site .sec { font-size: 24px; margin-top: 30px; }
}
html.site .sf-pay { align-self: start; align-items: flex-start; }
@media (min-width: 760px) {
  html.site .ngrid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  html.site body[data-wide] .why3 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 760px) { html.site body[data-wide] .tgrid { grid-template-columns: repeat(4, 1fr); gap: 18px 14px; } }
@media (min-width: 1000px) { html.site body[data-wide] .tgrid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 760px) { html.site .cta-in { max-width: 772px; margin: 0 auto; } }
