/* Nova Store — по макету Claude Design «Telegram Store v2»: монохром, стекло, крупные цифры. */
:root, :root[data-theme="dark"] {
  --page: #000; --bg: #000; --card: #111112; --chip: rgba(255,255,255,.08); --chip2: rgba(255,255,255,.14);
  --fg: #fff; --fg2: rgba(255,255,255,.56); --fg3: rgba(255,255,255,.28); --sep: rgba(255,255,255,.09); --line: rgba(255,255,255,.07);
  --inv: #000; --seg: rgba(255,255,255,.08); --thumb: rgba(255,255,255,.2);
  --gborder: rgba(255,255,255,.1); --ghi: rgba(255,255,255,.16); --gsheen: rgba(255,255,255,.06);
  --pill: rgba(255,255,255,.12); --pillhi: rgba(255,255,255,.14); --pillrim: rgba(255,255,255,.05);
  --gshadow: 0 10px 30px rgba(0,0,0,.4); --glass: rgba(28,28,30,.72); --sheet: rgba(24,24,26,.86);
  --dim: rgba(0,0,0,.5); --edge: rgba(0,0,0,.92); --edge0: rgba(0,0,0,0); --gift1: #2e2e31; --gift2: #0b0b0c;
  --ok: #34c759; --bad: #ff453a; --warn: #ffb340;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --page: #fff; --bg: #fff; --card: #f4f4f5; --chip: rgba(0,0,0,.05); --chip2: rgba(0,0,0,.08);
  --fg: #000; --fg2: rgba(0,0,0,.6); --fg3: rgba(0,0,0,.24); --sep: rgba(0,0,0,.08); --line: rgba(0,0,0,.05);
  --inv: #fff; --seg: rgba(0,0,0,.05); --thumb: #fff;
  --gborder: rgba(0,0,0,.06); --ghi: rgba(255,255,255,.95); --gsheen: rgba(255,255,255,.5);
  --pill: rgba(0,0,0,.06); --pillhi: rgba(255,255,255,.9); --pillrim: rgba(0,0,0,.03);
  --gshadow: 0 10px 30px rgba(0,0,0,.1); --glass: rgba(250,250,252,.72); --sheet: rgba(252,252,253,.9);
  --dim: rgba(0,0,0,.18); --edge: rgba(255,255,255,.92); --edge0: rgba(255,255,255,0); --gift1: #fafafa; --gift2: #dedee2;
  --ok: #1fa84a; --bad: #e5352b; --warn: #c77800;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --page: #fff; --bg: #fff; --card: #f4f4f5; --chip: rgba(0,0,0,.05); --chip2: rgba(0,0,0,.08);
    --fg: #000; --fg2: rgba(0,0,0,.6); --fg3: rgba(0,0,0,.24); --sep: rgba(0,0,0,.08); --line: rgba(0,0,0,.05);
    --inv: #fff; --seg: rgba(0,0,0,.05); --thumb: #fff; --gborder: rgba(0,0,0,.06); --ghi: rgba(255,255,255,.95);
    --gsheen: rgba(255,255,255,.5); --pill: rgba(0,0,0,.06); --pillhi: rgba(255,255,255,.9); --pillrim: rgba(0,0,0,.03);
    --gshadow: 0 10px 30px rgba(0,0,0,.1); --glass: rgba(250,250,252,.72); --sheet: rgba(252,252,253,.9);
    --dim: rgba(0,0,0,.18); --edge: rgba(255,255,255,.92); --edge0: rgba(255,255,255,0); --gift1: #fafafa; --gift2: #dedee2;
    color-scheme: light;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); overscroll-behavior: none; }
body {
  font: 15px/1.35 'Onest', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
  --sab: max(env(safe-area-inset-bottom), var(--tg-sab, 0px));
}
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
input { border: 0; outline: none; background: transparent; min-width: 0; }
input::placeholder { color: var(--fg3); }
a { color: inherit; }
[hidden] { display: none !important; }
svg { display: block; }
.ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@keyframes nvFade { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }
@keyframes nvToast { from { opacity: 0; transform: translateY(-8px) scale(.96); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes nvMenu { from { opacity: 0; transform: scale(.9); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes nvSpin { to { transform: rotate(360deg); } }
@keyframes nvPulse { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.glass {
  background: linear-gradient(180deg, var(--gsheen), rgba(255,255,255,0) 60%), var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(190%); backdrop-filter: blur(18px) saturate(190%);
  box-shadow: inset 0 1px 0 var(--ghi), inset 0 0 0 .5px var(--gborder), var(--gshadow);
}
.press { transition: transform .3s cubic-bezier(.3,1.3,.5,1), opacity .2s; }
.press:active { transform: scale(.95); }

/* ---------- каркас ---------- */
.app { position: fixed; inset: 0; max-width: 520px; margin: 0 auto; overflow: hidden; background: var(--bg); }
.scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain;
  padding: var(--top, 16px) 0 calc(var(--sab) + 190px); }
.scroll::-webkit-scrollbar { display: none; }
.edge-top { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--top, 16px) + 6px); z-index: 8; pointer-events: none;
  background: linear-gradient(180deg, var(--edge) 35%, var(--edge0)); }
.edge-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--sab) + 150px); z-index: 8; pointer-events: none;
  background: linear-gradient(0deg, var(--edge) 10%, var(--edge0)); }
.compact { position: absolute; z-index: 9; left: 90px; right: 90px; top: var(--ctop, -100px); text-align: center;
  font-size: 15px; font-weight: 600; opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact.on { opacity: 1; }
.screen { display: none; flex-direction: column; animation: nvFade .32s ease backwards; }
.screen.on { display: flex; }

.head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 20px; }
.title { font-size: 34px; line-height: 41px; font-weight: 650; letter-spacing: -1.2px; margin: 0; }
.sub { padding: 2px 20px 0; font-size: 15px; line-height: 20px; color: var(--fg2); }
.round { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--chip); display: flex; align-items: center; justify-content: center; }
.round .ic { width: 20px; height: 20px; }
.label { margin: 30px 20px 10px; font-size: 13px; color: var(--fg2); }
.h2 { margin: 30px 20px 12px; display: flex; align-items: baseline; justify-content: space-between; font-size: 20px; font-weight: 650; letter-spacing: -.5px; }
.h2 small { font-size: 13px; font-weight: 400; color: var(--fg2); letter-spacing: 0; }
.note { margin: 16px 24px 0; font-size: 13px; line-height: 18px; color: var(--fg2); text-wrap: pretty; }
.muted { color: var(--fg2); }

.chip { height: 36px; padding: 0 15px; border-radius: 999px; background: var(--chip); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip .muted { font-weight: 600; }
.chips { margin: 14px 0 0; padding: 0 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips .chip { height: 34px; padding: 0 14px; flex-shrink: 0; }
.chip.on { background: var(--fg); color: var(--inv); }
.chip.on .muted { color: inherit; opacity: .55; }

.seg { position: relative; margin: 0 16px; height: 40px; border-radius: 999px; background: var(--seg); padding: 3px; display: flex; }
.seg__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 999px; background: var(--thumb); box-shadow: 0 2px 6px rgba(0,0,0,.12);
  transition: transform .35s cubic-bezier(.22,1,.36,1); }
.seg button { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; }
.seg button .muted { opacity: .9; }

.field { margin: 10px 16px 0; min-height: 52px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line);
  display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.field__at { font-size: 17px; color: var(--fg2); }
.field input { flex: 1; font-size: 17px; height: 52px; }
.field .ic { width: 20px; height: 20px; flex-shrink: 0; }
.rcp { display: flex; align-items: center; gap: 10px; margin: 8px 18px 0; font-size: 13px; color: var(--fg2); min-height: 28px; }
.rcp img, .rcp .ava { width: 28px; height: 28px; border-radius: 999px; object-fit: cover; background: var(--chip2); flex-shrink: 0; }
.rcp b { color: var(--fg); font-weight: 600; }
.rcp.bad { color: var(--bad); }
.spin { width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--fg3); border-top-color: var(--fg); animation: nvSpin .8s linear infinite; flex-shrink: 0; }

/* ---------- звёзды ---------- */
.balance { margin: 30px 20px 0; }
.balance__row { margin-top: 2px; display: flex; align-items: center; gap: 10px; }
.balance__num { font-size: 64px; line-height: 70px; font-weight: 600; letter-spacing: -3.2px; }
.balance__row .balance__star { width: 30px; height: 30px; }
.balance__btns { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.packs { margin: 0 16px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.pack { position: relative; text-align: left; border-radius: 22px; padding: 16px 16px 15px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line);
  transition: background .2s, color .2s, transform .3s cubic-bezier(.3,1.3,.5,1); }
.pack.on { background: var(--fg); color: var(--inv); }
.pack__n { font-size: 26px; line-height: 30px; font-weight: 600; letter-spacing: -1px; }
.pack__u { font-size: 13px; opacity: .55; }
.pack__p { margin-top: 14px; font-size: 15px; font-weight: 600; }
.pack__b { position: absolute; right: 14px; top: 16px; height: 20px; padding: 0 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor;
  font-size: 11px; font-weight: 600; display: flex; align-items: center; opacity: .75; }
.custom { margin: 8px 16px 0; border-radius: 22px; padding: 14px 16px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line);
  display: flex; align-items: center; gap: 12px; transition: box-shadow .2s; }
.custom.on { box-shadow: inset 0 0 0 1.5px var(--fg); }
.custom__t { font-size: 15px; font-weight: 600; }
.custom__h { margin-top: 2px; font-size: 13px; color: var(--fg2); }
.custom input { width: 130px; text-align: right; font-size: 24px; font-weight: 600; letter-spacing: -.8px; }

/* ---------- premium ---------- */
.hero { margin: 30px 20px 0; display: flex; align-items: center; gap: 16px; }
.hero svg { width: 52px; height: 52px; flex-shrink: 0; overflow: visible; }
.hero__t { font-size: 24px; line-height: 28px; font-weight: 650; letter-spacing: -.6px; }
.hero__s { margin-top: 3px; font-size: 14px; line-height: 19px; color: var(--fg2); }
.plans { margin: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.plan { text-align: left; border-radius: 22px; padding: 16px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line);
  display: flex; align-items: center; gap: 14px; transition: box-shadow .2s; }
.plan.on { box-shadow: inset 0 0 0 1.5px var(--fg); }
.radio { width: 24px; height: 24px; flex-shrink: 0; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--fg3); display: flex; align-items: center; justify-content: center; }
.on > .radio, .radio.on { background: var(--fg); box-shadow: none; }
.radio svg { width: 13px; height: 13px; opacity: 0; fill: none; stroke: var(--inv); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.on > .radio svg, .radio.on svg { opacity: 1; }
.plan__body { flex: 1; min-width: 0; }
.plan__t { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.tag { height: 20px; padding: 0 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--fg3); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.plan__s { margin-top: 3px; font-size: 13px; color: var(--fg2); }
.plan__p { font-size: 17px; font-weight: 650; letter-spacing: -.3px; white-space: nowrap; text-align: right; }
.plan__p small { display: block; font-size: 12px; font-weight: 500; color: var(--fg2); letter-spacing: 0; }
.feats { margin: 0 20px; }
.feat { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-top: .5px solid var(--sep); }
.feat:first-child { border-top: 0; }
.feat .ic { width: 22px; height: 22px; flex-shrink: 0; }
.feat b { display: block; font-size: 15px; font-weight: 600; }
.feat span { display: block; margin-top: 1px; font-size: 13px; color: var(--fg2); }

/* ---------- юзернеймы ---------- */
.searchbar { margin: 22px 16px 0; height: 50px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line);
  display: flex; align-items: center; gap: 8px; padding: 0 18px; }
.searchbar span { font-size: 18px; font-weight: 600; color: var(--fg2); }
.searchbar input { flex: 1; font-size: 17px; height: 48px; }
.card { margin: 8px 16px 0; border-radius: 22px; padding: 16px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); }
.result { display: flex; align-items: center; gap: 12px; }
.result__t { font-size: 20px; font-weight: 650; letter-spacing: -.5px; overflow: hidden; text-overflow: ellipsis; }
.result__s { margin-top: 4px; font-size: 13px; line-height: 17px; color: var(--fg2); text-wrap: pretty; }
.btn-sm { height: 36px; padding: 0 16px; flex-shrink: 0; border-radius: 999px; background: var(--fg); color: var(--inv); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; }
.btn-sm.ghost { background: var(--chip); color: var(--fg); }
.rows { margin: 10px 20px 0; }
.row { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: .5px solid var(--sep); }
.row:first-child { border-top: 0; }
.row__main { flex: 1; min-width: 0; }
.row__t { font-size: 18px; font-weight: 600; letter-spacing: -.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__s { margin-top: 3px; font-size: 13px; color: var(--fg2); }
.row__r { text-align: right; }
.row__p { font-size: 16px; font-weight: 650; white-space: nowrap; }
.row__p small, .cur { font-size: 12px; font-weight: 600; color: var(--fg2); }
.row__c { margin-top: 3px; font-size: 12px; color: var(--fg2); white-space: nowrap; }
.chev { width: 8px; height: 14px; flex-shrink: 0; fill: none; stroke: var(--fg3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.empty { padding: 36px 24px; text-align: center; font-size: 14px; line-height: 19px; color: var(--fg2); }
.empty b { display: block; font-size: 17px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.skel { border-radius: 14px; background: var(--chip); animation: nvPulse 1.4s ease infinite; }

/* ---------- подарки ---------- */
.gbar { margin: 16px 20px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gbar__s { font-size: 13px; color: var(--fg2); }
.sortbtn { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--chip); display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.sortbtn .ic { width: 14px; height: 14px; }
.grid { margin: 0 16px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.gcard { text-align: left; border-radius: 24px; padding: 6px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); }
.gart { position: relative; aspect-ratio: 1 / 1; border-radius: 19px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 42%, var(--c1, var(--gift1)), var(--c2, var(--gift2)) 92%); }
.gart img { width: 100%; height: 100%; object-fit: cover; }
.gart tgs-sticker { display: block; }
.gart__num { position: absolute; left: 10px; top: 9px; font-size: 11px; font-weight: 600; color: var(--tc, var(--fg2)); opacity: .8; }
.gart__badge { position: absolute; right: 8px; top: 7px; height: 20px; padding: 0 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor;
  font-size: 11px; font-weight: 600; display: flex; align-items: center; color: var(--tc, var(--fg)); opacity: .8; }
.gart__src { position: absolute; left: 8px; bottom: 8px; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(0,0,0,.45);
  color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gart__glyph { font-size: 66px; line-height: 1; }
.ginfo { padding: 10px 8px 6px; }
.ginfo__n { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ginfo__r { margin-top: 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.ginfo__p { font-size: 15px; font-weight: 650; white-space: nowrap; }
.ginfo__m { font-size: 12px; color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- профиль ---------- */
.me { margin: 18px 20px 0; display: flex; align-items: center; gap: 14px; }
.ava { width: 64px; height: 64px; border-radius: 999px; background: var(--chip2); display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 650; flex-shrink: 0; object-fit: cover; overflow: hidden; }
.me__n { font-size: 20px; line-height: 24px; font-weight: 650; letter-spacing: -.4px; display: flex; align-items: center; gap: 6px; }
.me__n svg { width: 18px; height: 18px; fill: var(--fg); }
.me__u { margin-top: 2px; font-size: 14px; color: var(--fg2); }
.stats { margin: 18px 16px 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.stat { border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); padding: 13px 14px; }
.stat b { display: block; font-size: 20px; font-weight: 650; letter-spacing: -.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat span { font-size: 12px; color: var(--fg2); }
.group { margin: 0 16px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); overflow: hidden; }
.item { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-top: .5px solid var(--sep); min-height: 56px; }
.item:first-child { border-top: 0; }
.item__main { flex: 1; min-width: 0; }
.item__t { font-size: 15px; font-weight: 600; }
.item__s { margin-top: 2px; font-size: 13px; color: var(--fg2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item__v { font-size: 14px; font-weight: 600; color: var(--fg2); white-space: nowrap; }
.item tgs-sticker { flex-shrink: 0; }
.switch { position: relative; width: 51px; height: 31px; border-radius: 999px; background: var(--chip2); flex-shrink: 0; transition: background .25s; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 999px; background: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.15); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.switch.on { background: var(--fg); }
.switch.on::after { transform: translateX(20px); background: var(--inv); }
.seg--in { margin: 0; flex: 0 0 208px; height: 34px; }
.seg--in button { font-size: 13px; }
.status { height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 650; display: inline-flex; align-items: center; white-space: nowrap; background: var(--chip); color: var(--fg2); }
.status.ok { color: var(--ok); } .status.bad { color: var(--bad); } .status.wait { color: var(--warn); }
.foot { margin: 22px 20px 0; text-align: center; font-size: 12px; color: var(--fg3); }

/* ---------- плавающие элементы ---------- */
.acc { position: absolute; z-index: 11; left: 16px; right: 16px; bottom: calc(var(--sab) + 92px); height: 56px; border-radius: 999px;
  display: flex; align-items: center; gap: 12px; padding: 0 6px 0 18px; opacity: 0; transform: translateY(10px) scale(.97); pointer-events: none;
  transition: opacity .3s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.acc.on { opacity: 1; transform: none; pointer-events: auto; }
.acc .ic { width: 22px; height: 22px; flex-shrink: 0; }
.acc__main { flex: 1; min-width: 0; }
.acc__t { font-size: 15px; line-height: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc__s { font-size: 12px; line-height: 15px; color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc__b { height: 44px; padding: 0 20px; flex-shrink: 0; border-radius: 999px; background: var(--fg); color: var(--inv); font-size: 15px; font-weight: 600; }
.tabbar { position: absolute; z-index: 12; left: 16px; bottom: calc(var(--sab) + 20px); width: 298px; height: 60px; border-radius: 999px; padding: 4px; display: flex; }
.tabbar__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 58px; border-radius: 999px; background: var(--pill);
  box-shadow: inset 0 1px 0 var(--pillhi), inset 0 0 0 .5px var(--pillrim); transition: transform .5s cubic-bezier(.3,1.25,.4,1), opacity .25s; }
.tab { position: relative; width: 58px; height: 52px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--fg2); transition: color .25s ease, transform .3s cubic-bezier(.3,1.3,.5,1); }
.tab:active { transform: scale(.9); }
.tab.on { color: var(--fg); }
.tab svg { width: 24px; height: 24px; overflow: visible; fill: currentColor; fill-opacity: 0; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab.on svg.solid { fill-opacity: 1; }
.tab span { font-size: 10px; line-height: 12px; font-weight: 500; letter-spacing: -.1px; white-space: nowrap; }
.tab.on span { font-weight: 650; }
.searchbtn { position: absolute; z-index: 12; right: 16px; bottom: calc(var(--sab) + 20px); width: 60px; height: 60px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; }
.searchbtn::before { content: ''; position: absolute; inset: 4px; border-radius: 999px; background: var(--pill); box-shadow: inset 0 1px 0 var(--pillhi), inset 0 0 0 .5px var(--pillrim);
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .4s cubic-bezier(.3,1.3,.5,1); }
.searchbtn.on::before { opacity: 1; transform: none; }
.searchbtn .ic { position: relative; width: 22px; height: 22px; }
@media (max-width: 370px) { .tabbar { left: 8px; width: 298px; transform: scale(.94); transform-origin: left bottom; } .searchbtn { right: 8px; } }

/* ---------- шторки ---------- */
.dim { position: absolute; inset: 0; z-index: 30; background: var(--dim); opacity: 0; transition: opacity .4s ease; }
.dim.on { opacity: 1; }
.sheet { position: absolute; z-index: 31; left: 8px; right: 8px; bottom: calc(var(--sab) + 8px); max-height: calc(100% - var(--top, 16px) - var(--sab) - 16px);
  border-radius: 40px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--gsheen), rgba(255,255,255,0) 30%), var(--sheet);
  -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  box-shadow: inset 0 1px 0 var(--ghi), inset 0 0 0 .5px var(--gborder), 0 -4px 30px rgba(0,0,0,.25);
  transform: translateY(110%); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.sheet.on { transform: translateY(var(--dy, 0px)); }
.sheet.drag { transition: none; }
.sheet__top { position: relative; flex-shrink: 0; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 0; touch-action: none; }
.sheet__grab { position: absolute; top: 7px; left: 50%; margin-left: -18px; width: 36px; height: 5px; border-radius: 999px; background: var(--fg3); }
.sheet__title { font-size: 17px; font-weight: 600; }
.sheet__top .round .ic { width: 16px; height: 16px; }
.sheet__body { position: relative; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 4px 16px calc(24px + var(--sab)); }
.sheet__body::-webkit-scrollbar { display: none; }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.big { margin-top: 6px; font-size: 24px; font-weight: 650; letter-spacing: -.6px; }
.big2 { margin-top: 14px; font-size: 32px; line-height: 38px; font-weight: 650; letter-spacing: -1.2px; word-break: break-all; }
.lead { margin-top: 4px; font-size: 15px; line-height: 20px; color: var(--fg2); max-width: 300px; text-wrap: pretty; }
.btn { width: 100%; height: 54px; border-radius: 999px; background: var(--fg); color: var(--inv); display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 17px; font-weight: 600; transition: transform .25s cubic-bezier(.3,1.3,.5,1), opacity .2s; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn.ghost { background: var(--chip); color: var(--fg); }
.btns { margin-top: 14px; display: flex; gap: 8px; }
.btns .btn { height: 48px; font-size: 15px; }
.co-head { display: flex; align-items: center; gap: 14px; padding: 6px 4px 20px; }
.co-art { width: 60px; height: 60px; flex-shrink: 0; border-radius: 18px; background: var(--chip); display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 650; overflow: hidden; }
.co-art svg { width: 30px; height: 30px; fill: var(--fg); stroke: var(--fg); stroke-width: 1.4; stroke-linejoin: round; overflow: visible; }
.co-art .gart { width: 100%; border-radius: 0; }
.co-title { font-size: 20px; line-height: 24px; font-weight: 650; letter-spacing: -.5px; }
.co-sub { margin-top: 3px; font-size: 14px; color: var(--fg2); }
.box { border-radius: 22px; background: var(--chip); overflow: hidden; }
.pm { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: .5px solid var(--sep); }
.pm:first-child { border-top: 0; }
.pm__i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 999px; background: var(--chip2); display: flex; align-items: center; justify-content: center; }
.pm__i svg { width: 20px; height: 20px; fill: none; stroke: var(--fg); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.pm__i svg.fill { fill: var(--fg); stroke-width: 1.2; }
.pm__m { flex: 1; min-width: 0; }
.pm__n { font-size: 16px; font-weight: 600; }
.pm__b { margin-top: 2px; font-size: 13px; color: var(--fg2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm__a { font-size: 15px; font-weight: 600; white-space: nowrap; }
.pm .radio { width: 22px; height: 22px; }
.sum { margin-top: 16px; padding: 0 4px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum div span:first-child { color: var(--fg2); }
.sum .total { padding-top: 8px; border-top: .5px solid var(--sep); font-size: 17px; font-weight: 650; }
.sum .total span:first-child { color: var(--fg); }
.fine { margin: 12px 8px 0; font-size: 12px; line-height: 17px; text-align: center; color: var(--fg2); text-wrap: pretty; }
.fine a { color: var(--fg); }
.kv { margin-top: 18px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; width: 100%; }
.kv div { border-radius: 20px; background: var(--chip); padding: 13px 14px; text-align: left; }
.kv span { display: block; font-size: 12px; color: var(--fg2); }
.kv b { display: block; margin-top: 3px; font-size: 17px; font-weight: 650; letter-spacing: -.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--fg2); }
.gift-hero { width: 100%; border-radius: 30px; overflow: hidden; }
.gift-hero .gart { border-radius: 30px; }
.steps { margin-top: 22px; width: 100%; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.step { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg3); }
.step.on { color: var(--fg); }
.step.done { color: var(--fg2); }
.step__dot { width: 22px; height: 22px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.step.done .step__dot { background: var(--fg2); box-shadow: none; }
.step.done .step__dot svg { width: 12px; height: 12px; fill: none; stroke: var(--inv); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.step.on .step__dot { box-shadow: none; }
.copy { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: .5px solid var(--sep); text-align: left; width: 100%; }
.copy:first-child { border-top: 0; }
.copy span { flex: 1; min-width: 0; }
.copy small { display: block; font-size: 12px; color: var(--fg2); }
.copy code { display: block; margin-top: 2px; font: 600 14px/1.3 ui-monospace, 'SF Mono', Menlo, monospace; word-break: break-all; }
.copy .ic { width: 18px; height: 18px; color: var(--fg2); flex-shrink: 0; }
.menu { position: absolute; z-index: 35; width: 210px; padding: 6px; border-radius: 24px; display: flex; flex-direction: column; gap: 2px; transform-origin: top right;
  animation: nvMenu .24s cubic-bezier(.22,1,.36,1) backwards;
  background: linear-gradient(180deg, var(--gsheen), rgba(255,255,255,0) 30%), var(--sheet);
  -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  box-shadow: inset 0 1px 0 var(--ghi), inset 0 0 0 .5px var(--gborder), var(--gshadow); }
.menu button { height: 44px; padding: 0 14px; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 500; text-align: left; }
.menu button:active { background: var(--chip); }
.menu svg { width: 16px; height: 16px; fill: none; stroke: var(--fg); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.toast { position: absolute; z-index: 50; left: 0; right: 0; top: calc(var(--top, 16px) + 6px); display: flex; justify-content: center; pointer-events: none; }
.toast div { max-width: calc(100% - 40px); min-height: 40px; padding: 10px 18px; border-radius: 22px; font-size: 14px; font-weight: 600; text-align: center;
  animation: nvToast .4s cubic-bezier(.22,1,.36,1) backwards; }
.admin-gift { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: .5px solid var(--sep); }
.admin-gift:first-child { border-top: 0; }
.admin-gift .gart { width: 52px; flex-shrink: 0; border-radius: 14px; }
.admin-gift input { width: 76px; height: 36px; border-radius: 12px; background: var(--chip2); padding: 0 10px; text-align: right; font-weight: 600; }
.tiny { font-size: 12px; color: var(--fg2); }
.done-mark { width: 96px; height: 96px; border-radius: 999px; background: var(--fg); display: flex; align-items: center; justify-content: center;
  animation: nvMenu .45s cubic-bezier(.3,1.4,.5,1) backwards; }
.done-mark svg { width: 46px; height: 46px; fill: none; stroke: var(--inv); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- звёзды: золото как в Telegram Stars ---------- */
.star-ic { width: 1em; height: 1em; flex-shrink: 0; overflow: visible; }
.star-ic path { fill: url(#nvGold); stroke: url(#nvGold); stroke-width: 1.2; stroke-linejoin: round; }
.xtr { display: inline-flex; align-items: center; gap: 4px; }
.xtr .star-ic { width: .95em; height: .95em; }
.balance__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.balance__row .balance__star { width: 30px; height: 30px; }
.acc .ic .star-ic { width: 22px; height: 22px; }
.co-art--gold .star-ic { width: 32px; height: 32px; }
.gstar { --s: 116px; position: relative; width: var(--s); height: var(--s); flex-shrink: 0; margin-right: -6px; cursor: pointer;
  animation: gFloat 5s ease-in-out infinite; }
.gstar__glow { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(255,190,40,.42), rgba(255,170,20,.12) 45%, transparent 68%);
  filter: blur(6px); animation: gGlow 3.2s ease-in-out infinite; }
.gstar__svg { position: absolute; inset: 8%; width: 84%; height: 84%; filter: drop-shadow(0 6px 18px rgba(240,140,10,.35)); }
.gstar__shine { position: absolute; inset: 8%; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2l2.62 5.31 5.86.85-4.24 4.13 1 5.84L12 16.58l-5.24 2.75 1-5.84-4.24-4.13 5.86-.85z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2l2.62 5.31 5.86.85-4.24 4.13 1 5.84L12 16.58l-5.24 2.75 1-5.84-4.24-4.13 5.86-.85z'/%3E%3C/svg%3E") center / contain no-repeat;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.85) 50%, transparent 62%) 0 0 / 260% 100% no-repeat;
  animation: gShine 3.6s cubic-bezier(.4,0,.2,1) infinite; }
.gstar__spark { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; transform: scale(calc(var(--k) * 1)); opacity: 0;
  background: radial-gradient(circle, #fff 0 18%, rgba(255,214,90,.9) 30%, transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) center / 22% 100% no-repeat, linear-gradient(#000 0 0) center / 100% 22% no-repeat;
  mask: linear-gradient(#000 0 0) center / 22% 100% no-repeat, linear-gradient(#000 0 0) center / 100% 22% no-repeat;
  animation: gSpark 2.6s ease-in-out infinite; }
.gstar.pop { animation: gPop .6s cubic-bezier(.3,1.6,.5,1), gFloat 5s ease-in-out .6s infinite; }
@keyframes gFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(3deg); } }
@keyframes gGlow { 0%, 100% { opacity: .75; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes gShine { 0%, 35% { background-position: 130% 0; } 75%, 100% { background-position: -30% 0; } }
@keyframes gSpark { 0%, 100% { opacity: 0; transform: scale(calc(var(--k) * .3)) rotate(0); } 45% { opacity: 1; transform: scale(calc(var(--k) * 1.25)) rotate(45deg); } }
@keyframes gPop { 0% { transform: scale(1); } 35% { transform: scale(.82) rotate(-8deg); } 100% { transform: scale(1) rotate(0); } }
.stack { display: flex; height: 22px; margin-bottom: 10px; }
.stack .star-ic { width: 22px; height: 22px; margin-right: -9px; filter: drop-shadow(0 0 0 var(--card)) drop-shadow(1px 0 0 var(--card)); }
.pack.on .stack .star-ic { filter: drop-shadow(1px 0 0 var(--fg)); }
.pack.pop { animation: pPop .45s cubic-bezier(.3,1.6,.5,1); }
.pack.pop .stack .star-ic { animation: sJump .5s cubic-bezier(.3,1.6,.5,1) backwards; }
.pack.pop .stack .star-ic:nth-child(2) { animation-delay: .04s; } .pack.pop .stack .star-ic:nth-child(3) { animation-delay: .08s; }
.pack.pop .stack .star-ic:nth-child(4) { animation-delay: .12s; } .pack.pop .stack .star-ic:nth-child(5) { animation-delay: .16s; }
.pack.pop .stack .star-ic:nth-child(6) { animation-delay: .2s; }
@keyframes pPop { 0% { transform: scale(1); } 40% { transform: scale(.95); } 100% { transform: scale(1); } }
@keyframes sJump { 0% { transform: translateY(0) scale(1); } 45% { transform: translateY(-6px) scale(1.18) rotate(-10deg); } 100% { transform: none; } }
.done-star { position: relative; }
.done-star .gstar { margin: 0; }
.done-mark { position: relative; }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.burst__p { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; opacity: 0; animation: bFly 1.1s cubic-bezier(.15,.7,.3,1) forwards; }
.burst__p .star-ic { width: 100%; height: 100%; }
@keyframes bFly { 0% { opacity: 1; transform: translate(0, 0) scale(.2) rotate(0); }
  70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(var(--z)) rotate(var(--r)); } }

/* ---------- NFT как в Telegram ---------- */
.nft { position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 1 / 1; background: var(--nft-edge, var(--gift2)); }
.nft--hero { aspect-ratio: 3 / 2; }
.nft__stage { position: absolute; top: 0; left: -25%; width: 150%; height: 100%; }
.nft--hero .nft__stage { left: 0; width: 100%; }
.nft__sym { position: absolute; display: block; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center; }
.nft__model { position: absolute; }
.nft__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nft[data-loading] .nft__stage { animation: nvPulse 1.4s ease infinite; }
.gart > .nft { position: absolute; inset: 0; height: 100%; }
.gart--regular { background: radial-gradient(circle at 50% 45%, var(--c1, var(--chip2)), var(--c2, var(--card)) 95%); }
.gart__sticker { position: absolute; left: 14%; top: 12%; width: 72%; height: 72%; }
.gart__badge--ltd { left: auto; right: 6px; top: 6px; height: 18px; padding: 0 6px; font-size: 10px; white-space: nowrap; background: rgba(0,0,0,.42);
  color: #fff; box-shadow: none; opacity: 1; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gart__nft { position: absolute; left: 6px; bottom: 6px; height: 18px; padding: 0 6px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .3px;
  display: flex; align-items: center; color: #fff; background: linear-gradient(135deg, #7b5cff, #3fa9ff); }
.gcard--tg { padding: 5px 5px 9px; text-align: center; }
.gprice { margin: 9px auto 0; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--chip2); display: inline-flex; align-items: center; }
.gprice .ginfo__p { font-size: 14px; }
.gprice__s { margin-top: 4px; font-size: 11px; color: var(--fg2); white-space: nowrap; }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--3 .ginfo { padding: 8px 6px 4px; }
.grid--3 .ginfo__n { font-size: 12px; color: var(--fg2); font-weight: 500; }
.grid--3 .ginfo__r { flex-direction: column; align-items: flex-start; gap: 1px; }
.grid--3 .ginfo__p { font-size: 15px; }
.grid--3 .gart { border-radius: 18px; }
.gift-hero { position: relative; width: 100%; border-radius: 30px; overflow: hidden; }
.gift-hero .nft { border-radius: 30px; }
.gift-hero__cap { position: absolute; left: 0; right: 0; bottom: 7.5%; text-align: center; color: #fff; pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.gift-hero__t { font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.gift-hero__t span { opacity: .6; font-weight: 600; }
.gift-hero__s { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 600; opacity: .92; }
.gift-hero__r { height: 19px; padding: 0 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); font-size: 11.5px; display: inline-flex; align-items: center; }
.gift-hero--regular .gart { aspect-ratio: 3 / 2; border-radius: 30px; }
.gift-hero--regular .gart__sticker { left: 30%; top: 6%; width: 40%; height: 88%; }
.co-art--nft { padding: 0; }
.co-art--nft .gart, .co-art--nft .nft { width: 60px; height: 60px; border-radius: 18px; aspect-ratio: auto; }

/* ---------- маркет подарков в стиле Portals ---------- */
.gtop { margin: 14px 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gtop__chip { height: 40px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; background: var(--card);
  box-shadow: inset 0 0 0 .5px var(--line); }
.gtop__chip .star-ic { width: 18px; height: 18px; }
.gtop__chip--star { background: linear-gradient(135deg, rgba(255,194,51,.18), rgba(242,138,14,.08)), var(--card); box-shadow: inset 0 0 0 1px rgba(255,194,51,.35); }
.gtop__chip--ton { background: linear-gradient(135deg, rgba(47,140,245,.2), rgba(47,140,245,.06)), var(--card); box-shadow: inset 0 0 0 1px rgba(47,140,245,.4); font-size: 14px; }
.gtop__chip--ton svg { width: 18px; height: 18px; fill: none; stroke: #4aa3ff; stroke-width: 1.8; stroke-linejoin: round; }
.gcats { margin: 14px 16px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gcat { height: 72px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; color: var(--fg2); font-size: 12px; font-weight: 600; transition: background .2s, color .2s, transform .3s cubic-bezier(.3,1.3,.5,1); }
.gcat .ic { width: 24px; height: 24px; }
.gcat.on { background: var(--chip2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg3); }
.gsearch { margin: 12px 16px 0; display: flex; align-items: center; gap: 8px; }
.gsearch__f { flex: 1; min-width: 0; height: 44px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.gsearch__f .ic { width: 18px; height: 18px; color: var(--fg2); flex-shrink: 0; }
.gsearch__f input { flex: 1; height: 42px; font-size: 15px; }
.gsearch .sortbtn { height: 44px; padding: 0 14px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); }
.fpills { margin: 10px 0 0; padding: 0 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.fpills::-webkit-scrollbar { display: none; }
.fpill { height: 38px; padding: 0 14px; flex-shrink: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 650; white-space: nowrap; }
.fpill.on { background: var(--fg); color: var(--inv); box-shadow: none; }
.fpill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fpill__x { display: inline-flex; width: 20px; height: 20px; margin: 0 -4px 0 0; border-radius: 999px; align-items: center; justify-content: center; background: rgba(128,128,128,.28); }
.fpill__x svg { width: 11px; height: 11px; }
.grid--market { margin-top: 14px; }
.pcard { border-radius: 22px; padding: 5px 5px 7px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); cursor: pointer; min-width: 0; }
.pcard .gart { border-radius: 17px; }
.pcard__n { margin: 8px 6px 7px; font-size: 13px; line-height: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__n b { font-weight: 650; }
.pcard__n span { color: var(--fg2); }
.buy { width: 100%; height: 38px; border-radius: 14px; background: linear-gradient(180deg, #3d9bff, #1f7fe8); color: #fff; font-size: 14.5px; font-weight: 650;
  display: flex; align-items: center; justify-content: center; gap: 5px; box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }
.buy .cur { color: rgba(255,255,255,.8); }
.buy:active { filter: brightness(.92); }
.feed-end { min-height: 56px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--fg2); }
.grid--cols { margin-top: 14px; }
.ccard { text-align: center; padding: 8px 6px 10px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); min-width: 0; }
.ccard__i { aspect-ratio: 1; border-radius: 16px; background: var(--chip); overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--fg2); }
.ccard__i img { width: 100%; height: 100%; object-fit: cover; }
.ccard__n { margin-top: 8px; font-size: 12.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard__c { margin-top: 1px; font-size: 11px; color: var(--fg2); min-height: 14px; }
.fthumb { border-radius: 12px; overflow: hidden; }
.fthumb img { width: 100%; height: 100%; object-fit: cover; }
.radio.check { border-radius: 8px; }
/* карточка подарка: таблица как в самом Telegram */
.tg-table { margin-top: 14px; border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line); }
.tg-table__r { display: flex; border-top: .5px solid var(--sep); }
.tg-table__r:first-child { border-top: 0; }
.tg-table__k { flex: 0 0 38%; padding: 13px 14px; font-size: 14px; font-weight: 650; border-right: .5px solid var(--sep); }
.tg-table__v { flex: 1; min-width: 0; padding: 13px 14px; font-size: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tg-table__rar { height: 20px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; color: #4aa3ff; background: rgba(47,140,245,.16); }
