﻿:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --sunk: #0f0f11;
  --panel: #111113;
  --text-2: #d4d4d8;
  --card: #151517;
  --card-2: #1b1b1e;
  --card-3: #242428;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.11);
  --text: #f4f4f5;
  --muted: #8b8b92;
  --accent: #f26a0c;
  --accent-2: #ff8a2a;
  --accent-3: #ffb35c;
  --ok: #3fdc6a;
  --bad: #ff6b6f;
  --gold: #ffc23d;
  --head: Unbounded, "Segoe UI", system-ui, sans-serif;
  --body: Manrope, "Segoe UI", system-ui, sans-serif;
  --top: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 14px/1.55 var(--body); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
  background-image: radial-gradient(900px 500px at 50% -260px, rgba(242,106,12,.16), transparent 70%); background-repeat: no-repeat; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:disabled { opacity: .5; cursor: not-allowed; }
input, textarea { font: inherit; color: var(--text); }
code { background: var(--card-3); padding: 2px 7px; border-radius: 6px; font-size: .92em; color: var(--accent-3); }
[hidden] { display: none !important; }
.wrap { width: min(1360px, 100% - 32px); margin-inline: auto; }
main.wrap { flex: none; padding-bottom: 40px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.link { color: var(--accent-3); font-weight: 700; }
.link:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 8px; }
/* очень широкий экран или масштаб браузера ~25–50%: весь сайт (кроме фонового снега) увеличивается, --fit задаёт app.js */
.fit-wide body > :not(canvas) { zoom: var(--fit, 1); }
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
svg { stroke-linecap: round; stroke-linejoin: round; }

/* ═════ типографика ═════ */
h1, h2, h3, h4, .logo, .nav a, .online-pill, .btn, .buy-btn, .cat, .side-cap, .store-head h2, .card h3, .from, .hit, .tk-pill, .sale-pill,
.co-next, .co-total b, .co-kick, .co-steps, .co-field > label, .per, .tk-btn, .tk-title, .tk-quick button, .tk-box input, .sub-btn, .sub h3, .sub-price b,
.chips button, .ban-hd, .bt, .ptitle, .more-title, .soc-btn, .foot-cols b, .tabbar a, .tabbar .tab-cart, .ord-badge, .stage b, .subs-title, .rule summary, .step h3, .cmp th, .help-line a {
  font-family: var(--head); }
h1, h2, h3, .ptitle, .more-title, .store-head h2, .subs-title { letter-spacing: -.02em; }
.ptitle, .more-title, .store-head h2 { font-weight: 900; }
.logo { font-weight: 900; letter-spacing: -.01em; }
.nav a, .cat, .side-cap, .btn, .buy-btn, .co-next, .sub-btn, .soc-btn { font-weight: 800; letter-spacing: .01em; }
.card h3 { font-weight: 800; letter-spacing: -.01em; }
.from b, .from { font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tk-box input, .co-total b, .sub-price b { font-weight: 900; letter-spacing: -.02em; }
p, li, .muted, .lead { text-wrap: pretty; }

/* защита арта: без панели «сохранить/найти» браузера, перетаскивания и выделения.
   pointer-events: none — наведение и клики уходят родительской ссылке, а встроенная панель картинки (Яндекс, Edge) не появляется */
.slide img, .side-banner img, .card-img img, .co-icon img, .sub-img img, .tk-art img, .cmp th img, .more-card img, .mode img {
  pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* скелетон картинок */
.sk { position: relative; overflow: hidden; }
/* блик скелетона двигается transform'ом (композитор), а не background-position (перерисовка каждый кадр) */
.sk::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 200%; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.06) 50%, transparent 80%); animation: shimmer 1.2s infinite linear; pointer-events: none; }
.sk > img { opacity: 0; }
img { transition: opacity .3s; }
@keyframes shimmer { from { transform: translateX(-75%); } to { transform: translateX(25%); } }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 800; font-size: 14px; transition: .15s; white-space: nowrap; }
.btn-main { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(242,106,12,.9); }
.btn-main:hover { background: var(--accent-2); }
.btn-ghost { background: var(--card-2); border: 1px solid var(--line-2); color: #d9d9de; }
.btn-ghost:hover { background: var(--card-3); color: #fff; }
.btn-soft { background: rgba(242,106,12,.14); color: var(--accent-2); padding: 0 18px; border-radius: 12px; font-weight: 800; }
.btn-soft:hover { background: rgba(242,106,12,.24); }
.btn-ip { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; background: rgba(0,0,0,.22); }
.copied .btn-ip { background: var(--ok); color: #08140c; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line-2); color: #cfcfd4; transition: .15s; }
.icon-btn:hover { color: #fff; background: var(--card-3); }
.icon-btn svg, .online-pill svg, .nav svg, .help svg, .tabbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }

/* прокручивающиеся цифры */
.rolling { display: inline-flex; overflow: hidden; height: 1.3em; line-height: 1.3em; vertical-align: bottom; }
.rd { display: inline-block; height: 1.3em; overflow: hidden; }
.rd > span { display: block; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.rs { display: inline-block; white-space: pre; }

/* ═════ шапка ═════ */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { height: var(--top); display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: center; font: 800 19px/1 var(--head); letter-spacing: .01em; flex-shrink: 0; }
.logo b { background: var(--accent); color: #fff; padding: 6px 8px 5px; border-radius: 8px; margin-right: 6px; font-weight: 800; }
.logo span { color: #fff; }
.online-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 11px; background: var(--card-2); border: 1px solid var(--line); font-size: 12px; font-weight: 800; text-transform: uppercase; color: #bdbdc3; letter-spacing: .03em; }
.online-pill { flex-shrink: 0; }
.online-pill b { color: #fff; display: inline-flex; justify-content: flex-start; min-width: 4.2ch; font-variant-numeric: tabular-nums; }
.online-pill.off b { color: var(--bad); }
.on-dot { display: none; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); flex-shrink: 0; }
.online-pill.off .on-dot { background: var(--bad); box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.nav a { display: flex; align-items: center; gap: 7px; white-space: nowrap; padding: 10px 13px; border-radius: 11px; font-weight: 800; font-size: 13px; text-transform: uppercase; color: #a9a9b0; transition: .15s; letter-spacing: .02em; border: 1px solid transparent; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; background: var(--card-2); border-color: var(--line); }
.nav a svg { width: 15px; height: 15px; }
.top-r { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.play-btn { padding: 11px 14px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--card-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }

/* гирлянда */
.garland { display: none; }
[data-season="winter"] .top { padding-bottom: 16px; }
[data-season="winter"] .nav { top: calc(var(--top) + 16px); }
[data-season="winter"] .garland { display: block; position: absolute; left: 0; right: 0; bottom: -6px; height: 24px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='24'%3E%3Cpath d='M0 3 Q36 13 72 3 Q108 13 144 3' stroke='%23686868' stroke-width='1.6' fill='none'/%3E%3Crect x='15' y='6' width='6' height='4' rx='1' fill='%23303030'/%3E%3Crect x='14' y='9' width='8' height='12' rx='3.5' fill='%23ff3b3b'/%3E%3Crect x='51' y='6' width='6' height='4' rx='1' fill='%23303030'/%3E%3Crect x='50' y='9' width='8' height='12' rx='3.5' fill='%23ffc23d'/%3E%3Crect x='87' y='6' width='6' height='4' rx='1' fill='%23303030'/%3E%3Crect x='86' y='9' width='8' height='12' rx='3.5' fill='%233fd06a'/%3E%3Crect x='123' y='6' width='6' height='4' rx='1' fill='%23303030'/%3E%3Crect x='122' y='9' width='8' height='12' rx='3.5' fill='%233fb7ff'/%3E%3C/svg%3E") 0 0 / 144px 24px repeat-x; filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
[data-season="winter"] .garland::before, [data-season="winter"] .garland::after { content: ""; position: absolute; inset: 0; animation: blink 1.8s ease-in-out infinite; filter: blur(.4px) drop-shadow(0 0 4px #fff) drop-shadow(0 0 7px #ffb0a0);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='24'%3E%3Crect x='14' y='9' width='8' height='12' rx='3.5' fill='%23ff6b6b'/%3E%3Crect x='86' y='9' width='8' height='12' rx='3.5' fill='%2366ff99'/%3E%3C/svg%3E") 0 0 / 144px 24px repeat-x; }
[data-season="winter"] .garland::after { animation-delay: -.9s; filter: blur(.4px) drop-shadow(0 0 4px #fff) drop-shadow(0 0 7px #a8e2ff);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='24'%3E%3Crect x='50' y='9' width='8' height='12' rx='3.5' fill='%23ffe066'/%3E%3Crect x='122' y='9' width='8' height='12' rx='3.5' fill='%2366ccff'/%3E%3C/svg%3E") 0 0 / 144px 24px repeat-x; }
@keyframes blink { 50% { opacity: .1; } }

/* ═════ баннеры ═════ */
.banners { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; padding-top: 30px; }
/* неровная «волнистая» форма плашек */
.wave { -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M2.6 14 Q2.8 7 8 6.6 L36 7.4 Q50 8 61 4 Q70 1 80 1 L95 1.2 Q99.3 1.4 99.2 7 L98.8 50 Q98.6 70 99.2 88 Q99.4 98.4 94 98.6 L60 98.2 Q40 99.4 6 99 Q1 98.8 1.2 92 L1.6 52 Q1.8 30 2.6 14 Z'/%3E%3C/svg%3E"); }
.side-banner.wave { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M3 16 Q3.5 8 11 7.6 L40 8.4 Q58 9 72 4 Q82 1 90 1.4 Q98.4 2 98.6 9 L98.4 55 Q98.2 75 99 90 Q99 98.6 91 98.6 L50 98 Q30 99.2 9 99 Q1.6 98.8 1.6 91 L2 50 Q2.2 30 3 16 Z'/%3E%3C/svg%3E"); }
.slider-wrap { --glow: 255,150,60; min-width: 0; transition: box-shadow .5s; }
.side-wrap { --glow: 170,120,255; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.side-wrap:hover { transform: translateY(-3px); }
.slider { position: relative; overflow: hidden; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; }
.slides::-webkit-scrollbar { display: none; }
.slide, .side-banner { position: relative; display: flex; overflow: hidden; isolation: isolate; }
.slide { flex: 0 0 100%; scroll-snap-align: start; height: 330px; padding: 36px 40px 32px; }
.side-banner { height: 330px; padding: 36px 28px 32px; }
.slide::before, .side-banner::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.sl-winter { --btc: #d9560a; --hl: #ffe45c; --sh: #8a3200; --glow: 255,150,60; }
.sl-winter::before { background: url(img/bg_orange.webp) center / cover, #f07a10; }
.sl-subs { --btc: #b3121e; --hl: #ffd23f; --sh: #4a0008; --glow: 255,50,60; }
.sl-subs::before { background: url(img/bg_red.webp) center / cover, #8a0a12; }
.side-banner { --btc: #6a2bd9; --hl: #ffe1ff; --sh: #2a0a6a; }
.side-banner::before { background: url(img/bg_purple.webp) 70% center / cover, #5a12b8; }
.sl-text { --bf: var(--head); position: relative; z-index: 2; max-width: 400px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; height: 100%; }
.side-banner .sl-hint { display: none; }
.side-banner .sl-text { max-width: 100%; }
/* заголовок: Rubik, «наклейка» с тёмной обводкой и объёмной тенью */
.sl-title { font: 900 clamp(26px, 2.5vw, 34px)/1.02 var(--bf); letter-spacing: -.01em; color: #fff;
  text-shadow: 2px 0 var(--sh), -2px 0 var(--sh), 0 2px var(--sh), 0 -2px var(--sh), 1.5px 1.5px var(--sh), -1.5px 1.5px var(--sh), 1.5px -1.5px var(--sh), -1.5px -1.5px var(--sh),
    0 5px 0 var(--sh), 0 12px 24px rgba(0,0,0,.35); }
.sl-title mark { color: var(--hl); background: none; }
.sl-sub { color: #fff; font: 600 15px/1.38 var(--body); max-width: 320px; text-shadow: 0 1px 2px rgba(0,0,0,.4), 0 2px 10px rgba(0,0,0,.25); }
.sl-sub mark { background: none; color: var(--hl); font-weight: 800; }
/* теги-преимущества */
.sl-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 6px; }
.sl-tags li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 4px 11px 4px 4px; border-radius: 99px; font: 700 12px/1 var(--bf); color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.sl-tags i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; background: rgba(0,0,0,.22); }
/* кнопка + цена рядом */
.sl-cta { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.sl-hint { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 6px; line-height: 1.1; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.sl-hint:empty { display: none; }
.sl-hint small { grid-column: 1 / -1; font: 700 11px/1.2 var(--bf); text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.sl-hint small + b + small { grid-column: auto; text-transform: none; letter-spacing: 0; }
.sl-hint b { font: 900 24px/1 var(--bf); color: #fff; text-shadow: 0 2px 0 var(--sh), 0 6px 16px rgba(0,0,0,.3); }
.sl-hint s { font: 700 13px var(--bf); opacity: .75; }.sl-pic { position: absolute; right: 2%; bottom: 0; height: 100%; max-width: 62%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 18px 26px rgba(0,0,0,.35)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.slide:hover .sl-pic { transform: scale(1.03) translateY(-3px); }
.sb-art { position: absolute; right: -5%; bottom: -3%; width: 94%; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(40,10,120,.5)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.side-banner:hover .sb-art { transform: scale(1.03) translateY(-3px); }
.side-banner .sl-go { position: relative; z-index: 3; }
/* кнопка */
.sl-go { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 14px; background: #fff; color: var(--btc);
  font: 800 13px/1 var(--head); text-transform: uppercase; letter-spacing: .06em;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--sh) 70%, transparent), 0 12px 24px -8px rgba(0,0,0,.45), inset 0 -2px 0 rgba(0,0,0,.08); transition: transform .18s, box-shadow .18s; }
.sl-go i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--btc); color: #fff; transition: transform .2s; }
.sl-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.slide:hover .sl-go, .side-banner:hover .sl-go { transform: translateY(-2px); box-shadow: 0 6px 0 color-mix(in srgb, var(--sh) 70%, transparent), 0 16px 28px -8px rgba(0,0,0,.5), inset 0 -2px 0 rgba(0,0,0,.08); }
.slide:hover .sl-go i, .side-banner:hover .sl-go i { transform: translateX(3px); }
.slide:active .sl-go, .side-banner:active .sl-go { transform: translateY(2px); box-shadow: 0 2px 0 color-mix(in srgb, var(--sh) 70%, transparent); }
/* точки-прогресс: активная заполняется за время показа слайда */
.dots { position: absolute; right: 26px; bottom: 20px; display: flex; gap: 6px; z-index: 3; padding: 6px 8px; border-radius: 99px; background: rgba(0,0,0,.18); backdrop-filter: blur(4px); }
.dots button { position: relative; width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.45); transition: width .3s; overflow: hidden; }
.dots button.on { width: 34px; background: rgba(255,255,255,.35); }
.dots button.on::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; border-radius: inherit; animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { width: 100%; } }
.slider:hover .dots button.on::after { animation-play-state: paused; }

/* ярлык над заголовком */
.sl-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; font: 800 11px/1 var(--head); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: #fff;
  background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }

/* эффекты: затемнение под текстом, искры, пробегающий блик */
.sl-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sl-fx::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.2), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.12), transparent 30%); }
/* сдвиг 170% ширины плашки = 654% собственной ширины (26%) — тот же путь, что left: -40% → 130%, но без перерисовки */
.sl-fx i { position: absolute; width: 4px; height: 4px; background: #fff; box-shadow: 4px 0 #fff, -4px 0 #fff, 0 4px #fff, 0 -4px #fff; opacity: .8; animation: twinkle 2.8s ease-in-out infinite; }
.sl-fx i:nth-child(1) { left: 46%; top: 16%; }
.sl-fx i:nth-child(2) { left: 58%; top: 70%; animation-delay: -.7s; transform: scale(.7); }
.sl-fx i:nth-child(3) { left: 90%; top: 18%; animation-delay: -1.4s; }
.sl-fx i:nth-child(4) { left: 36%; top: 82%; animation-delay: -2s; transform: scale(.6); }
.sl-fx i:nth-child(5) { left: 74%; top: 10%; animation-delay: -1s; transform: scale(.8); }
@keyframes twinkle { 50% { opacity: .15; scale: .5; } }
.side-banner .sl-fx i:nth-child(1) { left: 70%; top: 12%; } .side-banner .sl-fx i:nth-child(3) { left: 88%; top: 30%; }

/* лёгкое «парение» арта */
.sl-pic, .sb-art { animation: floaty 5.5s ease-in-out infinite; }
.side-banner .sb-art { animation-delay: -2s; }
@keyframes floaty { 50% { translate: 0 -6px; } }

/* ═════ магазин ═════ */
.store { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.side-cap { margin: 6px 0 4px; font: 800 12px/1.2 var(--head); text-transform: uppercase; letter-spacing: .06em; color: #c4c4ca; }
.modes { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mode { position: relative; display: flex; align-items: center; gap: 14px; height: 74px; padding: 0 16px 0 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; overflow: hidden; transition: .15s; }
.mode img { height: 66px; width: 80px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.mode b { flex: 1; text-align: center; font-size: 13px; }
.mode .ext { font-style: normal; color: var(--muted); }
.mode:hover { border-color: rgba(242,106,12,.5); }
.mode.on { background: linear-gradient(100deg, var(--accent), #ff7d1f); border-color: transparent; box-shadow: 0 10px 26px -12px rgba(242,106,12,.9); }
[data-season="winter"] .mode.on::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 9px; background: radial-gradient(circle at 8px 0, #fff 6px, transparent 6.5px) 0 0 / 22px 9px repeat-x; opacity: .95; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
/* категории — цветные плашки с иконкой справа */
.cat { --c: #ff7a1a; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 60px; padding: 0 8px 0 18px; border-radius: 16px; isolation: isolate; text-align: left; color: #fff;
  font: 800 14px/1 var(--head); text-transform: uppercase; letter-spacing: .05em;
  background: linear-gradient(100deg, color-mix(in srgb, var(--c) 24%, var(--sunk)), color-mix(in srgb, var(--c) 9%, var(--sunk)) 58%, color-mix(in srgb, var(--c) 30%, var(--sunk)));
  border: 1.5px solid color-mix(in srgb, var(--c) 42%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  transition: border-color .2s, box-shadow .2s, transform .15s, background .2s; }
.cat::before { content: ""; position: absolute; left: 9px; top: 9px; width: 6px; height: 6px; border-radius: 1px; z-index: -1; background: color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 9px -3px 0 -1px color-mix(in srgb, var(--c) 45%, transparent), 3px 30px 0 -1px color-mix(in srgb, var(--c) 35%, transparent); opacity: .6; }
.cat span { text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.cat img { height: 52px; width: auto; max-width: 64px; object-fit: contain; margin: -8px -2px -8px 0; flex-shrink: 0; filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); transition: transform .25s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.cat:hover { border-color: color-mix(in srgb, var(--c) 85%, transparent); box-shadow: 0 0 22px -6px var(--c), inset 0 1px 0 rgba(255,255,255,.08); }
.cat:hover img { transform: scale(1.08) rotate(-5deg); }
.cat:active { transform: scale(.98); }
.cat.on { border-color: color-mix(in srgb, var(--c) 60%, #fff);
  background: linear-gradient(100deg, color-mix(in srgb, var(--c) 70%, #000), var(--c) 65%, color-mix(in srgb, var(--c) 82%, #fff));
  box-shadow: 0 12px 28px -12px var(--c), 0 0 24px -8px var(--c), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.18); }
.cat.on::before { background: rgba(255,255,255,.4); box-shadow: 9px -3px 0 -1px rgba(255,255,255,.25), 3px 30px 0 -1px rgba(255,255,255,.2); }
.cat.on img { transform: scale(1.1); }
.store-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.store-head h2 { margin: 0; font: 800 24px/1.2 var(--head); }
.sale-line { margin: 2px 0 0; font-size: 13px; color: #cfcfd4; }
.sale-line b { color: var(--accent-3); font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; animation: cardin .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); transform-origin: 50% 100%; }
@keyframes cardin { from { transform: perspective(700px) translateY(22px) rotateX(-22deg) scale(.94); } 60% { transform: perspective(700px) translateY(-3px) rotateX(2deg) scale(1.01); } }
.tk:not([hidden]), .subs-wrap:not([hidden]) { animation: cardin .5s cubic-bezier(.2,.8,.2,1) both; }
.card:hover { border-color: color-mix(in srgb, var(--tone) 45%, transparent); transform: translateY(-3px); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--tone) 80%, transparent); }
.card { container-type: inline-size; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 24px; }
.card-top > * { white-space: nowrap; }
@container (max-width: 250px) { .hit { font-size: 0; padding: 4px 6px; } .hit::first-letter { font-size: 12px; } }
.hit { font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 7px; background: var(--card-3); color: #d4d4d8; }
.tk-pill { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 7px; color: #5cff8a; background: rgba(63,220,106,.1); border: 1px solid rgba(63,220,106,.35); }
.sale-pill { font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 7px; background: #e5484d; }
.card-img { position: relative; height: 150px; display: flex; align-items: center; justify-content: center; margin: 4px 0 10px; border-radius: 12px; isolation: isolate; }
.card-img::before { content: ""; position: absolute; inset: 10% 14%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 38%, transparent), transparent 70%); filter: blur(6px); opacity: .8; transition: opacity .3s; }
.card:hover .card-img::before { opacity: 1; }
.card-img img { max-height: 140px; max-width: 86%; object-fit: contain; transition: transform .3s; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.card:hover .card-img img { transform: scale(1.07); }
.lvl { height: 7px; width: 54%; margin: 0 auto 14px; background: var(--card-3); border-radius: 1px; overflow: hidden; box-shadow: 0 0 0 2px #000; }
.lvl i { display: block; height: 100%; background: linear-gradient(180deg, #5cff8a, #19c94a); }
.lvl.r i { background: var(--rc); opacity: .85; }
.card h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.card-bot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.from { font-size: 18px; font-weight: 800; white-space: nowrap; }
.from small { font-size: 11px; color: var(--muted); font-weight: 700; }
.from s { font-size: 12px; color: #66666c; font-weight: 600; }
.buy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; transition: .15s; }
.buy-btn span { opacity: .8; }
.buy-btn:hover { background: var(--accent-2); }
.buy-btn.sm { padding: 7px 12px; font-size: 12px; }

/* токены */
.tk { --g: #1fe06a; --g2: #0fb24f; position: relative; display: grid; grid-template-columns: .8fr 1.2fr; border-radius: 22px; background: var(--sunk); border: 1px solid var(--line); overflow: hidden; }
.tk-art { position: relative; overflow: hidden; min-height: 300px; background: radial-gradient(70% 60% at 45% 55%, rgba(31,224,106,.38), rgba(31,224,106,.08) 55%, transparent 80%), linear-gradient(160deg, #07190e, #0a0d0b 70%); }
.tk-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, var(--sunk)); }
.tk-img { position: absolute; left: 50%; top: 50%; width: min(88%, 380px); translate: -50% -50%; filter: drop-shadow(0 0 30px rgba(31,224,106,.45)); animation: bobc 6s ease-in-out infinite; }
@keyframes bobc { 50% { translate: -50% calc(-50% - 12px); } }
.spark { position: absolute; width: 6px; height: 6px; background: #b9ffcf; box-shadow: 0 0 10px #1fe06a; animation: tw 2.4s ease-in-out infinite; }
.s1 { left: 40%; top: 12%; } .s2 { left: 84%; top: 44%; animation-delay: -.8s; } .s3 { left: 12%; top: 50%; animation-delay: -1.6s; } .s4 { left: 54%; top: 88%; animation-delay: -1.2s; }
@keyframes tw { 50% { opacity: .15; transform: scale(.5); } }
.tk-main { padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tk-title { display: flex; align-items: center; gap: 12px; margin: 0; font: 800 clamp(22px, 2.4vw, 30px)/1 var(--head); text-transform: uppercase; }
.tk-title svg { color: #8d8d93; }
.tk-box { display: grid; grid-template-columns: 1fr auto; border-radius: 18px; background: var(--sunk); border: 1px solid var(--line); }
.tk-box label { padding: 16px 20px; cursor: text; min-width: 0; }
.tk-get { container-type: inline-size; }
.tk-pay { border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.tk-lbl { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); font-weight: 700; }
.pen { font-style: normal; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--card-3); font-size: 11px; color: #ccc; }
.tk-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; min-width: 0; }
.tk-get .tk-row { flex-wrap: wrap; row-gap: 0; }
.tk-row img { width: 40px; height: 40px; image-rendering: pixelated; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(31,224,106,.5)); }
.tk-box input { font: 800 48px/1.05 var(--head); background: none; border: 0; outline: none; padding: 0; min-width: 0; font-variant-numeric: tabular-nums; }
.tk-get input { font-size: min(48px, 11cqi); max-width: 100%; }
.tk-bonus { align-self: flex-end; margin-bottom: 7px; color: var(--gold); font-weight: 800; font-size: 14px; white-space: nowrap; }
.tk-pay input { font-size: clamp(20px, 2.2vw, 26px); text-align: right; width: 4.6ch; max-width: 9ch; box-sizing: content-box; }
.tk-pay em { font: 800 clamp(20px, 2.2vw, 26px) var(--head); font-style: normal; color: #6a6a70; }
.tk-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.tk-quick button { flex: 1; min-width: 64px; white-space: nowrap; padding: 9px 6px; border-radius: 10px; background: var(--sunk); border: 1px solid var(--line); font-weight: 800; font-size: 12px; color: #c9c9ce; transition: .15s; }
.tk-quick button:hover { border-color: rgba(31,224,106,.5); color: #fff; }
.tk-quick button.on { background: rgba(31,224,106,.14); border-color: var(--g); color: #d6ffe4; }
.tk-slider { position: relative; padding: 2px 0 24px; }
#tkRange { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 40px; margin: 0; border-radius: 99px; cursor: pointer; padding: 0 6px; border: 1.5px solid rgba(31,224,106,.35); background: var(--sunk); }
#tkRange::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--g2), var(--g) var(--p), var(--card-3) var(--p)); }
#tkRange::-moz-range-track { height: 10px; border-radius: 99px; background: var(--card-3); }
#tkRange::-moz-range-progress { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--g2), var(--g)); }
#tkRange::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border: 0; background: url(img/token.webp) center/contain no-repeat; filter: drop-shadow(0 0 8px rgba(31,224,106,.9)); }
#tkRange::-moz-range-thumb { width: 30px; height: 30px; border: 0; background: url(img/token.webp) center/contain no-repeat; }
.tk-ticks { position: absolute; left: 22px; right: 22px; bottom: 0; height: 22px; }
.tk-ticks button { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; color: #5d5d63; padding: 0 4px; }
.tk-ticks button i { width: 1px; height: 6px; background: currentColor; }
.tk-ticks button.on { color: var(--gold); }
.tk-ticks button.next { color: #d6ffe4; animation: nextp 1.3s ease-in-out infinite; }
@keyframes nextp { 50% { transform: translateX(-50%) translateY(-2px); text-shadow: 0 0 12px var(--g); } }
.tk-hint { align-self: center; font-size: 13px; color: #bdbdc2; padding: 4px 10px; border-radius: 9px; }
.tk-hint b { color: var(--gold); }
.tk-btn { padding: 17px; border-radius: 14px; background: var(--g); color: #06140b; font-weight: 800; font-size: 16px; box-shadow: 0 12px 34px -12px rgba(31,224,106,.8); transition: .15s; }
.tk-btn span { margin-left: 6px; }
.tk-btn:hover { filter: brightness(1.08); }

/* подписки */
.subs-sec { padding-top: 40px; }
.subs-title { text-align: center; font: 800 clamp(26px, 3.6vw, 40px)/1.1 var(--head); text-transform: uppercase; margin: 0 0 10px; }
.subs-title em { font-style: normal; color: #ff4a3d; }
.subs-lead { text-align: center; margin: 0 auto 36px; max-width: 520px; }
.subs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; align-items: start; }
.subs-wrap .subs { max-width: none; padding-top: 24px; }
.sub { position: relative; display: flex; flex-direction: column; margin-top: 52px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, box-shadow .25s; }
.sub:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--c) 80%, transparent); }
.sub.featured { margin-top: 0; border-color: color-mix(in srgb, var(--c) 40%, transparent); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.sub-tag { position: absolute; top: -20px; left: 50%; translate: -50% 0; z-index: 3; min-width: 92px; padding: 7px 14px 13px; text-align: center; color: var(--tt); background: var(--c); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); border-radius: 6px 6px 0 0; line-height: 1; }
.sub-tag b { display: block; font: 800 13px/1.1 var(--head); text-transform: uppercase; }
.sub-tag small { display: block; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .85; margin-top: 2px; }
.sub-img { height: 180px; border-radius: 19px 19px 0 0; overflow: hidden; position: relative; }
.featured .sub-img { height: 200px; }
.sub-img img { width: 100%; height: 100%; object-fit: cover; }
.sub-img::after { content: ""; position: absolute; inset: auto 0 0; height: 60%; background: linear-gradient(transparent, var(--card)); pointer-events: none; }
.sub-head { position: relative; z-index: 2; margin-top: -26px; padding: 0 20px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.crowns { display: flex; gap: 4px; margin-bottom: 6px; }
.crowns i svg { display: block; fill: #3a3a40; }
.crowns i.on svg { fill: var(--c); }
.sub h3 { margin: 0; font: 800 26px/1.15 var(--head); text-transform: uppercase; }
.sub-price { margin: 2px 0 14px; color: var(--muted); font-size: 13px; font-weight: 700; }
.sub-price b { font: 800 21px var(--head); color: #fff; }
.sub-btn { width: 100%; padding: 13px 12px; border-radius: 12px; background: var(--bt); color: var(--btt); font-weight: 800; font-size: 13px; text-transform: uppercase; transition: filter .15s; }
.sub-btn:hover { filter: brightness(1.08); }
.sub-body { border-top: 1px solid var(--line); padding: 16px 20px 20px; }
.sub-cap { display: block; text-align: center; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.sub-inc { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 13px; }
.sub-inc i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #08140c; font-style: normal; font-size: 11px; font-weight: 900; }
.sub-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: #d4d4d8; }
.sub-list li { display: flex; gap: 9px; }
.sub-list li::before { content: "✓"; color: var(--ok); font-weight: 900; font-size: 12px; }
.sub-list.off { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: #6e6e75; }
.sub-list.off li::before { content: "–"; color: #55555c; }

/* ═════ корзина ═════ */
.cart-btn { position: relative; }
.cart-n { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font: 800 11px/19px var(--ui, inherit); font-style: normal; text-align: center; box-shadow: 0 0 0 3px var(--bg); }
.cart-n.pop { animation: cartpop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes cartpop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
.card-acts { display: inline-flex; gap: 6px; }
.cart-add { width: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--card-3); border: 1px solid var(--line-2); color: #d9d9de; transition: .15s; }
.cart-add:hover { color: #fff; border-color: color-mix(in srgb, var(--tone, var(--accent)) 60%, transparent); }
.cart-add.ok { animation: cartpop .35s cubic-bezier(.3,1.6,.5,1); color: #fff; background: color-mix(in srgb, var(--tone, var(--accent)) 35%, var(--card-3)); }
.cart-add svg, .tk-cart svg, .co-cart svg, .cart-empty svg, .co-icon-cart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.tk-acts { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.tk-cart { width: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--sunk); border: 1px solid rgba(31,224,106,.35); color: var(--g); transition: .15s; }
.tk-cart:hover { background: rgba(31,224,106,.1); }
.tk-cart svg { width: 22px; height: 22px; }
.co-cart { width: 56px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--sunk); border: 1px solid var(--line-2); color: #d9d9de; transition: .15s; }
.co-cart:hover { color: #fff; border-color: var(--accent); }
.co-cart svg { width: 21px; height: 21px; }
.co-icon-cart { color: var(--accent-2); }
.co-icon-cart svg { width: 32px; height: 32px; }
ul.co-items { margin: 0; padding: 0; display: flex; flex-direction: column; }
ul.co-items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
ul.co-items em { margin-left: auto; font-style: normal; font-weight: 800; white-space: nowrap; }
.cc-t { display: flex; flex-direction: column; min-width: 0; }
.cc-t b { font-size: 13px; }
.cc-t small { color: var(--muted); font-size: 11px; }

.cart { position: fixed; inset: 0; z-index: 75; }
.cart-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%); display: flex; flex-direction: column; background: var(--panel); border-left: 1px solid var(--line-2); box-shadow: -30px 0 80px rgba(0,0,0,.6); transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
body.cart-open { overflow: hidden; }
body.cart-open .cart-scrim { opacity: 1; }
body.cart-open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; font-size: 20px; }
.cart-head small { color: var(--muted); font-size: 13px; font-weight: 700; }
.cart-head .co-x { position: static; }
.cart-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cl { position: relative; display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 38px 12px 12px; border-radius: 16px; background: radial-gradient(80% 140% at 0% 50%, color-mix(in srgb, var(--tone) 12%, transparent), transparent 70%), var(--card); border: 1px solid var(--line); }
.cl-img { width: 58px; height: 58px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; }
.cl-img img { width: 82%; height: 82%; object-fit: contain; pointer-events: none; }
.cl-img.sm { width: 42px; height: 42px; border-radius: 10px; }
.cl-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cl-txt b { font: 800 14px var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-txt small { color: var(--muted); font-size: 12px; }
.cl-per { margin-top: 4px; max-width: 100%; padding: 5px 8px; border-radius: 8px; background: var(--sunk); border: 1px solid var(--line-2); color: #ddd; font: 700 12px var(--body); }
.cl-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cl-price { font: 800 15px var(--head); white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border-radius: 9px; background: var(--sunk); border: 1px solid var(--line-2); }
.qty button { width: 26px; height: 26px; color: #ddd; font-weight: 800; }
.qty button:hover { color: #fff; }
.qty span { min-width: 20px; text-align: center; font-weight: 800; font-size: 13px; }
.cl-x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 7px; color: var(--muted); font-size: 11px; display: grid; place-items: center; }
.cl-x:hover { color: #fff; background: var(--card-3); }
.cart-empty { margin: auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 30px 20px; color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; stroke-width: 1.5; color: #3a3a40; margin-bottom: 6px; }
.cart-empty b { color: #fff; font: 800 18px var(--head); }
.cart-empty span { max-width: 260px; font-size: 13px; }
.cart-empty .btn { margin-top: 10px; }
.cart-foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-foot:empty { display: none; }
.cart-sum { display: flex; align-items: baseline; justify-content: space-between; }
.cart-sum span { color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.cart-sum b { font: 900 26px var(--head); letter-spacing: -.02em; }
.cart-foot .co-next { flex: none; }
.cart-clear { align-self: center; color: var(--muted); font-size: 12px; font-weight: 700; padding: 4px 8px; }
.cart-clear:hover { color: #fff; }

/* ═════ модалки ═════ */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
body.modal-open, body.cmp-open { overflow: hidden; }
body.modal-open #modal, body.cmp-open #compare { opacity: 1; }
.co { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(880px, 100%); height: min(600px, calc(100vh - 40px)); padding: 10px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0,0,0,.7); transform: translateY(14px) scale(.98); transition: transform .22s cubic-bezier(.2,.8,.2,1); }
body.modal-open .co { transform: none; }
.co-left { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.co-card { border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.co-head { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; overflow: hidden; background: radial-gradient(60% 120% at 0% 50%, color-mix(in srgb, var(--tone) 18%, transparent), transparent 70%), var(--card); flex-shrink: 0; }
.co-icon { width: 66px; height: 66px; flex-shrink: 0; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; }
.co-icon img { width: 54px; height: 54px; object-fit: contain; }
.co-kick { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2); }
.co-head h2 { margin: 2px 0; font: 800 22px/1.15 var(--head); position: relative; z-index: 1; }
.co-tk { font-size: 13px; font-weight: 800; color: #5cff8a; }
.co-ghost { position: absolute; right: 12px; top: 50%; translate: 0 -50%; max-width: 55%; overflow: hidden; font: 900 54px/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px rgba(242,106,12,.22); pointer-events: none; white-space: nowrap; text-align: right;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.co-body { flex: 1; min-height: 0; overflow: auto; padding: 18px 20px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.co-h { margin: 0 0 10px; font-size: 14px; font-weight: 800; }
.co-h.ico { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.co-h.ico:first-child { margin-top: 0; }
.co-h.ico i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal; background: rgba(242,106,12,.14); color: var(--accent-2); font-size: 14px; }
.co-bonus { list-style: none; margin: 0; padding: 0 0 0 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #9d9da4; }
.co-bonus li.on { color: #fff; }
.co-bonus b { color: #5cff8a; }
.co-inh { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.co-inh b { color: #fff; }
.co-perks { list-style: none; counter-reset: p; margin: 0; padding: 0; }
.co-perks li { counter-increment: p; display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.co-perks li::before { content: counter(p, decimal-leading-zero); font-size: 10px; color: var(--accent); font-weight: 800; width: 18px; flex-shrink: 0; }
.co-perks span { font-weight: 800; }
.co-perks em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; text-align: right; }
.co-kv { list-style: none; margin: 0; padding: 0; }
.co-kv li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.co-kv li.tot { border: 0; font-size: 15px; }
.co-kv .g { color: #5cff8a; }
.co-desc, .co-note { margin: 0; color: #cfcfd4; font-size: 13px; }
.co-note { margin-top: 12px; color: var(--muted); }
.co-right { position: relative; display: flex; flex-direction: column; min-height: 0; border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 20px; }
.co-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; background: var(--card-3); border: 1px solid var(--line-2); display: grid; place-items: center; z-index: 2; }
.co-x:hover { background: #2e2e33; }
.co-steps small { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2); }
.co-steps b { font-size: 16px; }
.co-prog { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 12px 0 14px; padding-right: 44px; }
.co-prog i { height: 3px; border-radius: 2px; background: var(--card-3); transition: .3s; }
.co-prog i.on { background: var(--accent); }
.co-form { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 14px; padding-right: 6px; margin-right: -6px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.co-field { display: flex; flex-direction: column; gap: 7px; }
.co-field > label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.inp { width: 100%; font-weight: 700; background: var(--sunk); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; outline: none; transition: .15s; resize: vertical; text-align: center; }
textarea.inp { text-align: left; }
.inp:focus { border-color: var(--accent); }
.err { border-color: #e5484d !important; animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.promo { display: flex; gap: 8px; }
.promo .inp { flex: 1; }
.promo-ok { margin: 0; color: var(--ok); font-weight: 800; font-size: 12px; }
.periods { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 8px; }
.per { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line-2); transition: .15s; }
.per b { font-size: 12px; }
.per span { font-size: 13px; font-weight: 800; color: #bdbdc3; }
.per s { font-size: 11px; color: #5f5f66; }
.per:hover { border-color: rgba(242,106,12,.5); }
.per.on { border-color: var(--accent); background: rgba(242,106,12,.08); }
.per.on span { color: var(--accent-2); }
.per-tag { position: absolute; top: -9px; font-style: normal; font-size: 9px; font-weight: 800; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; background: #1fe06a; color: #06140b; }
.co-info { font-size: 12px; font-weight: 700; padding: 10px 12px; border-radius: 12px; background: rgba(255,194,61,.07); border: 1px solid rgba(255,194,61,.25); color: #e8e1cc; }
.co-info b { color: var(--gold); }
.nick-st { font-size: 12px; font-weight: 700; text-align: center; }
.nick-st:empty { display: none; }
.nick-st.ok { color: var(--ok); } .nick-st.bad { color: var(--bad); } .nick-st.warn { color: var(--gold); } .nick-st.load { color: var(--muted); }
.upg { font-size: 12px; font-weight: 700; padding: 10px 12px; border-radius: 12px; background: rgba(63,183,255,.1); border: 1px solid rgba(63,183,255,.3); color: #cfeaff; }
.upg.warn { background: rgba(255,194,61,.08); border-color: rgba(255,194,61,.35); color: #ffe6a8; }
#coUpg:empty { display: none; }
.pay { display: flex; flex-direction: column; gap: 6px; }
.pm { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line-2); cursor: pointer; transition: .15s; }
.pm input { position: absolute; opacity: 0; }
.pm.on { border-color: var(--accent); background: rgba(242,106,12,.07); }
.pm:has(input:focus-visible) { outline: 2px solid var(--accent-2); }
.pm-i { width: 32px; height: 32px; border-radius: 9px; background: var(--card-3); display: grid; place-items: center; font-size: 16px; }
.pm b { display: block; font-size: 13px; }
.pm small { color: var(--muted); font-size: 11px; }
.switch { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 40px; height: 22px; border-radius: 11px; background: var(--card-3); position: relative; transition: .2s; flex-shrink: 0; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { left: 21px; }
.switch input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.gift { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(242,106,12,.06); border: 1px dashed rgba(242,106,12,.35); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #c9c9ce; cursor: pointer; }
.agree input { accent-color: var(--accent); width: 16px; height: 16px; margin: 1px 0 0; flex-shrink: 0; }
.co-foot { display: flex; gap: 10px; margin-top: 14px; }
.co-back { width: 54px; border-radius: 14px; background: var(--sunk); border: 1px solid var(--line-2); font-size: 18px; flex-shrink: 0; }
.co-total { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; border-radius: 14px; background: var(--sunk); border: 1px solid var(--line); text-align: center; }
.co-total small { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
.co-total b { font: 800 22px var(--head); }
.co-total span { font-size: 10px; color: var(--muted); }
.co-next { flex: 1.2; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 12px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; transition: .15s; box-shadow: 0 12px 30px -14px rgba(242,106,12,.9); }
.co-next:hover:not(:disabled) { background: var(--accent-2); }

/* сравнение */
.cmp { width: min(1100px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; border-radius: 22px; background: var(--panel); border: 1px solid var(--line-2); overflow: hidden; transform: translateY(14px); transition: transform .22s; }
body.cmp-open .cmp { transform: none; }
.cmp-head { position: relative; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cmp-head h2 { margin: 0; font-size: 20px; }
.cmp-scroll { overflow: auto; scrollbar-width: thin; }
.cmp table { border-collapse: collapse; width: 100%; font-size: 13px; }
.cmp th, .cmp td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th { position: sticky; top: 0; background: var(--panel); z-index: 1; }
.cmp th img { display: block; width: 50px; height: 50px; margin: 0 auto 4px; object-fit: contain; }
.cmp th b { color: var(--tone); }
.cmp td.cmp-l { text-align: left; min-width: 220px; position: sticky; left: 0; background: var(--panel); }
.cmp td.cmp-l small { display: block; color: var(--muted); font-size: 11px; }
.cmp td.g { color: #5cff8a; font-weight: 800; }
.yes { font-style: normal; color: var(--ok); font-weight: 900; }
.no { font-style: normal; color: #44444a; }

/* ═════ бан-лист ═════ */
.ptitle { font: 800 clamp(24px, 3vw, 34px)/1.15 var(--head); margin: 40px 0 8px; }
.lead { max-width: 640px; margin: 0 0 22px; }
.bans-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); color: var(--muted); }
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; min-width: 0; padding: 12px 0; background: none; border: 0; outline: none; font-weight: 700; }
.chips { display: flex; gap: 6px; }
.chips button { padding: 10px 14px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); font-weight: 800; font-size: 12px; color: var(--muted); }
.chips button.on { color: #fff; background: var(--accent); border-color: transparent; }
.bans { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ban-row { display: grid; grid-template-columns: 1.3fr 1.6fr .8fr 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ban-row:last-child { border: 0; }
.ban-hd { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--panel); }
.bn { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bn img { width: 28px; height: 28px; border-radius: 6px; image-rendering: pixelated; background: var(--card-3); }
.bn b { overflow: hidden; text-overflow: ellipsis; }
.bt { font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 7px; }
.bt.ban { background: rgba(255,107,111,.14); color: #ff8c8f; }
.bt.mute { background: rgba(255,194,61,.12); color: var(--gold); }
.perm { color: #ff8c8f; font-weight: 800; }
.empty-l { padding: 30px; text-align: center; }

/* ═════ прочие страницы ═════ */
.rules { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.rule { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.rule summary { list-style: none; cursor: pointer; padding: 15px 18px; display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 15px; }
.rule summary::-webkit-details-marker { display: none; }
.rule summary .n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(242,106,12,.14); color: var(--accent-2); font-weight: 800; flex-shrink: 0; }
.rule summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--muted); transition: .2s; }
.rule[open] summary::after { transform: rotate(45deg); }
.rule ol { margin: 0; padding: 0 18px 16px 60px; display: flex; flex-direction: column; gap: 8px; color: #d4d4d8; }
.faq-a { margin: 0; padding: 0 18px 18px 60px; color: #d4d4d8; }
.rule .pun { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 7px; background: rgba(229,72,77,.14); color: #ff7a7e; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; margin-top: 22px; }
.step { padding: 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.step > b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 800 17px var(--head); background: var(--accent); margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: #c9c9ce; }
.ip-sm { margin-top: 12px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line-2); font-weight: 800; }
.ip-sm em { font-style: normal; font-size: 12px; padding: 7px 11px; border-radius: 9px; background: var(--accent); }
.ip-sm.copied em { background: var(--ok); color: #08140c; }
.socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.soc { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: .15s; }
.soc:hover { border-color: var(--tone); }
.soc img { width: 48px; height: 48px; }
.soc b { display: block; font-size: 16px; }
.soc span { font-size: 12px; color: var(--muted); }
.doc { max-width: 820px; }
.doc h3 { font-size: 16px; margin: 24px 0 8px; }
.doc p { color: #d0d0d5; margin: 0 0 8px; }
.req { margin-top: 28px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.order { max-width: 680px; margin: 40px auto 0; }
.card.ord { display: flex; flex-direction: column; gap: 18px; padding: 24px; cursor: default; animation: none; }
.card.ord:hover { transform: none; box-shadow: none; border-color: var(--line); }
.ord-head { display: flex; justify-content: space-between; align-items: flex-start; }
.ord-head small { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.ord-head h2 { margin: 2px 0 0; font: 800 24px var(--head); }
.ord-badge { font-weight: 800; font-size: 12px; padding: 6px 12px; border-radius: 10px; background: var(--card-3); }
.ord-badge.s-delivered { background: rgba(63,220,106,.14); color: var(--ok); }
.ord-badge.s-paid { background: rgba(63,183,255,.14); color: #7fd0ff; }
.ord-badge.s-created { background: rgba(255,194,61,.12); color: var(--gold); }
.ord-badge.s-failed { background: rgba(255,107,111,.14); color: var(--bad); }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stage { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; position: relative; }
.stage:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: calc(50% + 24px); right: calc(-50% + 24px); height: 3px; border-radius: 2px; background: var(--card-3); }
.stage.done:not(:last-child)::after { background: var(--ok); }
.stage i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--card-3); color: var(--muted); }
.stage.done i { background: var(--ok); color: #08140c; }
.stage.active i { background: var(--accent); color: #fff; }
.stage small { font-size: 11px; color: var(--muted); }
.done-msg { padding: 14px; border-radius: 12px; background: rgba(63,220,106,.1); border: 1px solid rgba(63,220,106,.3); font-weight: 700; }
.ord-items { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: var(--sunk); }
.ord-items > div { display: flex; justify-content: space-between; font-size: 13px; color: #c9c9ce; }
.sum-total { padding-top: 8px; border-top: 1px solid var(--line); color: #fff !important; }
.ord p { margin: 0; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═════ больше о проекте ═════ */
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 80px; }
.more-title { margin: 0 0 4px; font: 800 26px/1.2 var(--head); text-transform: uppercase; }
.more > div > .muted { margin: 0 0 18px; font-size: 13px; }
.more-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.more-card { position: relative; height: 150px; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 4px; transition: .2s; isolation: isolate; }
.more-card b { font-size: 18px; }
.more-card span { font-size: 12px; color: var(--muted); max-width: 60%; }
.more-card img { position: absolute; right: -10px; bottom: -10px; height: 110%; z-index: -1; opacity: .9; transition: transform .3s; }
.more-card:hover { border-color: rgba(242,106,12,.4); }
.more-card:hover img { transform: scale(1.06); }
.mc-faq { background: radial-gradient(80% 100% at 100% 100%, rgba(139,92,246,.25), transparent 70%), var(--card); }
.mc-bonus { background: radial-gradient(80% 100% at 100% 100%, rgba(31,224,106,.22), transparent 70%), var(--card); }
.soc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.soc-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 69px; border-radius: 14px; font-size: 17px; font-weight: 800; background: color-mix(in srgb, var(--c) 9%, var(--card)); border: 1px solid color-mix(in srgb, var(--c) 20%, transparent); transition: .15s; }
.soc-btn img { width: 26px; height: 26px; }
.soc-btn:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, var(--card)); }
.help-line { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.help-line a { color: #fff; font-weight: 800; border-bottom: 2px solid var(--accent); margin-left: 6px; }

/* ═════ подвал ═════ */
.foot { padding: 40px 0 30px; }
.foot-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 32px 34px 0; border-radius: 22px; background: radial-gradient(60% 80% at 40% 100%, rgba(242,106,12,.12), transparent 70%), var(--sunk); border: 1px solid var(--line); overflow: hidden; }
.foot-card::before { content: "MixAnarchy"; position: absolute; left: 36%; top: 20px; font: 800 90px/1 var(--head); color: rgba(255,255,255,.025); pointer-events: none; white-space: nowrap; }
.foot-brand p { max-width: 340px; margin: 14px 0 10px; color: #d4d4d8; font-size: 13px; }
.foot-brand small { color: var(--muted); font-size: 11px; }
.foot-cols { display: flex; gap: 50px; }
.foot-cols div { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.foot-cols b { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.foot-cols a { color: #d4d4d8; }
.foot-cols a:hover, .foot-cols a.accent { color: var(--accent-2); }
.foot-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom a:hover { color: #fff; }

.help { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 12px 30px -8px rgba(242,106,12,.8); transition: transform .2s; }
.help svg { width: 24px; height: 24px; }
.help:hover { transform: scale(1.07); }
[data-season="winter"] .help::before { content: ""; position: absolute; top: -12px; right: -4px; width: 30px; height: 22px; background: linear-gradient(#e8343a, #c4262b); clip-path: polygon(0 100%, 30% 10%, 100% 30%, 100% 100%); border-radius: 4px; }
[data-season="winter"] .help::after { content: ""; position: absolute; top: -16px; right: 18px; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.demo-flag { position: fixed; left: 16px; bottom: 16px; z-index: 55; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--gold); background: rgba(20,16,6,.92); border: 1px dashed rgba(255,194,61,.5); padding: 6px 10px; border-radius: 9px; cursor: help; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 100; padding: 12px 18px; border-radius: 12px; background: #f4f4f5; color: #0b0b0c; font-weight: 800; font-size: 13px; transition: .25s; box-shadow: 0 12px 40px rgba(0,0,0,.5); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: #ffdede; color: #4a0b0d; }
.tabbar { display: none; }
.page { animation: fade .25s ease; }
@keyframes fade { from { transform: translateY(6px); } }

/* ═════ мои покупки ═════ */
.nav .nav-menu-only { display: none; }
.my-form { display: flex; gap: 10px; max-width: 520px; margin-bottom: 18px; }
.my-form .inp { flex: 1; text-align: left; font-size: 15px; }
.my-rank { margin-bottom: 22px; }
.my-card { --tone: var(--accent); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 20px;
  background: radial-gradient(70% 140% at 0% 50%, color-mix(in srgb, var(--tone) 18%, transparent), transparent 70%), var(--card); border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent); }
.my-card.warn { display: block; border-color: rgba(255,194,61,.35); color: #ffe6a8; }
.my-card.soon { border-color: rgba(255,194,61,.55); box-shadow: 0 0 0 1px rgba(255,194,61,.15), 0 14px 34px -18px rgba(255,194,61,.6); }
.my-ico { width: 86px; height: 86px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; }
.my-ico img { width: 72px; height: 72px; object-fit: contain; }
.my-info small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.my-info > b { display: block; font: 900 28px/1.15 var(--head); color: var(--tone); margin: 2px 0 6px; }
.my-left { font-size: 13px; color: #d4d4d8; }
.my-left b { color: #fff; font-family: var(--head); }
.my-left.forever { color: #5cff8a; font-weight: 800; }
.my-card.soon .my-left { color: var(--gold); }
.my-bar { height: 8px; border-radius: 4px; background: var(--card-3); margin-top: 10px; max-width: 360px; overflow: hidden; }
.my-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tone), color-mix(in srgb, var(--tone) 60%, #fff)); }
.my-card.soon .my-bar i { background: linear-gradient(90deg, #ff8a2a, var(--gold)); }
.my-act { display: flex; flex-direction: column; gap: 8px; }
.my-none { display: flex; flex-direction: column; }
.my-none b { font: 900 22px var(--head); } .my-none span { color: var(--muted); font-size: 13px; }
.my-card:has(.my-none) { grid-template-columns: 1fr auto; }
.my-h { display: flex; align-items: center; gap: 10px; font: 900 20px var(--head); margin: 0 0 12px; }
.my-h span { font-size: 12px; padding: 3px 9px; border-radius: 99px; background: var(--card-3); color: var(--muted); }
.my-orders { display: flex; flex-direction: column; gap: 8px; }
.my-order { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .15s; }
.my-order:hover { border-color: rgba(242,106,12,.45); transform: translateX(3px); }
.mo-ico { width: 48px; height: 48px; border-radius: 11px; background: var(--bg); display: grid; place-items: center; }
.mo-ico img { width: 38px; height: 38px; object-fit: contain; pointer-events: none; }
.mo-main { display: flex; flex-direction: column; min-width: 0; }
.mo-main b { font-family: var(--head); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-main small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-price { font: 900 16px var(--head); white-space: nowrap; }
.my-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border-radius: 16px; background: var(--card); border: 1px dashed var(--line-2); }
.my-empty b { font: 900 17px var(--head); } .my-empty span { color: var(--muted); font-size: 13px; margin-bottom: 6px; }

/* ═════ переключатель режима ═════ */
.mode-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 2px 0 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); font: 800 12px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.mode-switch > * { padding: 9px 14px; border-radius: 9px; color: var(--muted); transition: .15s; }
.mode-switch .on { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(242,106,12,.9); }
.mode-switch a:hover { color: #fff; background: var(--card-3); }

/* ═════ экран «Оплачено!» ═════ */
.paid-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 20px 22px; border-radius: 18px;
  background: radial-gradient(60% 90% at 50% 0%, rgba(63,220,106,.22), transparent 70%), var(--sunk); border: 1px solid rgba(63,220,106,.3); }
.paid-hero h3 { margin: 6px 0 0; font: 900 30px var(--head); color: #fff; }
.paid-hero p { margin: 0 0 8px; color: #cfcfd4; max-width: 380px; }
.paid-check { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(63,220,106,.14); box-shadow: 0 0 0 10px rgba(63,220,106,.06); animation: pop .6s cubic-bezier(.2,1.6,.4,1) both; }
.paid-check svg { width: 60px; height: 60px; fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.paid-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s .15s ease-out forwards; }
.paid-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .7s ease-out forwards; }
@keyframes pop { from { transform: scale(.3); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 120; }

/* ═════ плавные переходы между страницами ═════ */
.top { view-transition-name: header; }
.tabbar { view-transition-name: tabbar; }
::view-transition-old(root) { animation: vt-out .18s ease-in both; }
::view-transition-new(root) { animation: vt-in .32s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px) scale(.995); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
/* ═════ зимняя тема ═════ */

body.no-snow .fx { opacity: 0; }

/* снежные шапки с сосульками */
[data-season="winter"] :is(.card, .cat, .sub, .soc-btn, .step, .tk, .more-card, .co-head, .my-card) { position: relative; }
[data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card)::after,
[data-season="winter"] .cat::after, [data-season="winter"] .foot-card::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: -7px; height: 18px; z-index: 4; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='18'%3E%3Cpath d='M0 7 Q6 1 14 5 Q22 0 31 5 Q40 1 50 4 Q60 0 70 5 Q80 1 90 4 Q101 0 110 5 Q116 2 120 7 L120 10 Q117 10 116 14 Q114 18 112 12 Q104 10 96 11 Q90 10 89 15 Q87 18 85 12 Q72 10 60 11 Q48 10 41 12 Q39 17 37 12 Q24 10 12 11 Q6 10 0 11 Z' fill='%23f4f8ff'/%3E%3Cpath d='M0 9 Q30 7 60 9 Q90 7 120 9 L120 11 Q90 9 60 11 Q30 9 0 11 Z' fill='%23cfe0f5'/%3E%3C/svg%3E") 0 0 / 120px 18px repeat-x; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
[data-season="winter"] .cat::after { left: 10px; right: 10px; top: -6px; height: 14px; background-size: 92px 14px; }
[data-season="winter"] .card:nth-child(3n+2)::after { background-position: -40px 0; }
[data-season="winter"] .card:nth-child(3n)::after { background-position: -80px 0; }
[data-season="winter"] .foot-card::after { top: -8px; }
[data-season="winter"] .tk { overflow: visible; }
[data-season="winter"] .tk > .tk-art { border-radius: 22px 0 0 22px; }
[data-season="winter"] .sub-tag { z-index: 5; }
@media (max-width: 980px) { [data-season="winter"] .cats { padding-top: 8px; } }

/* колпак на логотипе */
.logo b { position: relative; }
[data-season="winter"] .logo b::before { content: ""; position: absolute; left: -11px; top: -19px; width: 38px; height: 29px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath d='M6 22 C7 11 15 3 25 3 C32 3 36 9 35 16 C33 12 30 10 27 11 C22 13 20 17 20 22 Z' fill='%23d92530'/%3E%3Cpath d='M9 20 C11 12 17 6 24 6 C20 8 16 13 14 20 Z' fill='%23ff4d55' opacity='.7'/%3E%3Crect x='2' y='18.5' width='23' height='8.5' rx='4.25' fill='%23f4f6fb'/%3E%3Crect x='2' y='23' width='23' height='4' rx='2' fill='%23d5dbe6'/%3E%3Ccircle cx='35' cy='18' r='4.6' fill='%23f4f6fb'/%3E%3Ccircle cx='34' cy='17' r='2' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-16deg); transform-origin: 30% 90%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); pointer-events: none; z-index: 1; animation: hat 4s ease-in-out infinite; }
@keyframes hat { 50% { transform: rotate(-10deg); } }

/* кнопка снега в подвале */
.snow-toggle { display: inline-flex; margin: 0 8px 12px 0; padding: 9px 14px; border-radius: 12px; font: 800 12px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; color: #cfe6ff; background: #0e141c; border: 1px solid rgba(150,200,255,.25); transition: .15s; }
.snow-toggle:hover { border-color: rgba(150,200,255,.6); color: #fff; }
.snow-toggle[aria-pressed="false"] { color: var(--muted); border-color: var(--line-2); background: var(--bg); }
/* ═════ адаптив ═════ */
@media (max-width: 1360px) { .play-btn .btn-ip { display: none; } .nav a { padding: 10px 10px; } }
@media (max-width: 1180px) {
  .nav { position: fixed; top: var(--top); left: 0; right: 0; flex-direction: column; margin: 0; padding: 10px 16px 16px; background: color-mix(in srgb, var(--bg) 97%, transparent); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s; }
  .nav a { padding: 14px; font-size: 14px; }
  body.menu .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav .nav-menu-only { display: flex; }
  .burger { display: flex; }
  body.menu .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.menu .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* планшет */
@media (max-width: 980px) {
  .banners { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .side-banner { height: 180px; padding: 26px 26px 22px; }
  .side-banner .sl-text { max-width: 58%; }
  .side-banner .sl-hint { display: none; }
  .sb-art { width: auto; height: 112%; max-width: 60%; right: 0; bottom: -6%; }
  .store { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 22px; }
  .side { position: sticky; top: var(--top); z-index: 20; min-width: 0; margin: 0 -16px; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .side-cap { display: none; }
  [data-season="winter"] .side { top: calc(var(--top) + 16px); }
  .store { gap: 14px; }
  .cats { display: flex; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 8px; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex-shrink: 0; height: 50px; padding: 0 6px 0 14px; border-radius: 14px; font-size: 12px; }
  .cat img { height: 38px; max-width: 46px; margin: 0; }
  .cats { padding-block: 2px; }
  .store-head { margin-top: 16px; }
  .tk { grid-template-columns: 1fr; }
  .tk-art { min-height: 210px; }
  .tk-art::after { background: linear-gradient(180deg, transparent 60%, var(--sunk)); }
  .tk-img { width: min(62%, 300px); }
  /* оформление заказа: сначала форма, детали товара — ниже */
  .co { display: flex; flex-direction: column; position: relative; height: auto; max-height: calc(100vh - 40px); overflow: auto; overscroll-behavior: contain; }
  .co-left { display: contents; }
  .co-head { order: 1; flex-shrink: 0; }
  .co-right { order: 2; position: static; flex-shrink: 0; min-height: auto; }
  .co-body { order: 3; flex: none; overflow: visible; min-height: auto; }
  .co-left, .co-right, .co-form { min-height: auto; }
  .co-form { overflow: visible; margin-right: 0; padding-right: 0; }
  .co-foot { position: sticky; bottom: -10px; margin: 14px -20px -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--card) 22%); z-index: 3; }
  .co-x { top: 20px; right: 20px; }
  .co-prog { padding-right: 0; }
  .more { grid-template-columns: 1fr; gap: 36px; margin-top: 56px; }
  .foot-card { grid-template-columns: 1fr; }
  .foot-card::before { font-size: 60px; left: 20px; top: auto; bottom: 70px; }
  .ban-hd { display: none !important; }
  .ban-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nick type" "reason until"; gap: 4px 12px; padding: 12px 14px; }
  .ban-row > :nth-child(1) { grid-area: nick; }
  .ban-row > :nth-child(2) { grid-area: reason; color: #c9c9ce; font-size: 12px; }
  .ban-row > :nth-child(3) { grid-area: type; justify-self: end; }
  .ban-row > :nth-child(4), .ban-row > :nth-child(5) { display: none; }
  .ban-row > :nth-child(6) { grid-area: until; justify-self: end; font-size: 12px; }
  .ban-row > :nth-child(6)::before { content: "до "; color: var(--muted); font-weight: 600; }

  .subs { grid-template-columns: 1fr; max-width: 440px; gap: 34px; }
  .sub { margin-top: 0; }
  .sub.featured { order: -1; }
}

/* телефон */
@media (max-width: 640px) {
  :root { --top: 60px; }
  body { font-size: 15px; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 24px); }
  .top-in { gap: 8px; }
  .logo { font-size: 16px; }
  .logo b { padding: 5px 6px 4px; margin-right: 4px; }
  .online-pill { padding: 7px 10px; font-size: 11px; gap: 6px; }
  .online-pill .on-lbl { display: none; }
  .on-dot { display: block; }
  .online-pill b { min-width: 3.6ch; }
  .top-r { gap: 6px; }
  .online-pill svg, .top-r .icon-btn:not(.cart-btn), .burger, .help { display: none; }
  .cart-btn { width: 40px; height: 40px; }
  .cart-panel { top: auto; left: 0; width: 100%; max-height: 86vh; border-radius: 22px 22px 0 0; border-left: 0; border-top: 1px solid var(--line-2); transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom); }
  .cl { grid-template-columns: 48px minmax(0,1fr) auto; padding: 10px 34px 10px 10px; }
  .cl-img { width: 48px; height: 48px; }
  .card-acts .cart-add { width: 36px; }
  .play-btn { padding: 10px 12px; }
  .play-btn .btn-ip { display: none; }
  @media (max-width: 360px) { .logo span { display: none; } }
  [data-season="winter"] .garland { transform: scale(.8); transform-origin: top center; }
  /* баннеры */
  .banners { padding-top: 26px; gap: 10px; }
  .slide { height: 250px; padding: 24px 20px 20px; }
  .sl-text { max-width: 100%; gap: 8px; }
  .sl-title { font-size: 24px; }
  .sl-tags { display: none; }
  .sl-cta { gap: 12px; }
  .sl-hint { display: none; }
  .sl-hint b { font-size: 19px; }
  .sl-hint small { font-size: 9px; }
  .sl-hint s { font-size: 11px; }
  .sl-sub { font-size: 13px; max-width: 64%; }
  .sl-pic { height: 64%; max-width: 70%; right: -2%; }
  .sl-go { padding: 5px 5px 5px 14px; font-size: 12px; border-radius: 12px; }
  .sl-go i { width: 30px; height: 30px; border-radius: 9px; }
  .dots { right: 16px; bottom: 14px; }
  .side-banner { height: 150px; padding: 20px; }
  .side-banner .sl-title { font-size: 22px; }
  .side-banner .sl-sub, .side-banner .sl-hint { display: none; }
  .sb-art { height: 96%; max-width: 58%; right: 0; bottom: -6%; }
  .sl-chip { font-size: 10px; padding: 5px 9px; }
  .sl-sub { max-width: 58%; }
  /* категории и товары */
  .side { margin: 0 -12px; padding: 8px 12px; }
  .cat { height: 46px; padding: 0 5px 0 12px; font-size: 11px; gap: 6px; }
  .cat img { height: 36px; max-width: 42px; }
  .store-head { margin: 14px 0 12px; gap: 10px; }
  .store-head h2 { font-size: 22px; }
  .store-head .btn { padding: 10px 14px; font-size: 12px; }
  .sale-line { font-size: 12px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card { padding: 10px; border-radius: 14px; }
  .card:hover { transform: none; }
  .card-top { min-height: 20px; }
  .hit { font-size: 0; padding: 3px 5px; }
  .hit::first-letter { font-size: 11px; }
  .tk-pill, .sale-pill { font-size: 10px; padding: 3px 6px; }
  .card-img { height: 112px; margin: 2px 0 8px; }
  .card-img img { max-height: 104px; }
  .card h3 { font-size: 15px; margin-bottom: 6px; }
  .card-bot { flex-direction: column; align-items: stretch; gap: 8px; }
  .from { font-size: 17px; }
  .buy-btn { justify-content: center; min-height: 40px; font-size: 13px; }
  /* токены */
  .tk-main { padding: 20px 16px; gap: 12px; }
  .tk-title { font-size: 22px; }
  .tk-box { grid-template-columns: 1fr; }
  .tk-pay { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 18px !important; }
  .tk-pay .tk-row { margin: 0; }
  .tk-quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .tk-quick button { min-width: 0; font-size: 11px; min-height: 40px; padding: 0 2px; letter-spacing: -.02em; }
  .tk-btn { min-height: 54px; }
  /* оформление — шторка снизу */
  .modal { padding: 0; place-items: end stretch; }
  .co, .cmp { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 18px 10px 10px; }
  .co::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(255,255,255,.2); }
  .co-x { top: 26px; right: 18px; }
  .co-head { padding: 14px; gap: 12px; }
  .co-icon { width: 54px; height: 54px; }
  .co-icon img { width: 42px; height: 42px; }
  .co-head h2 { font-size: 20px; }
  .co-ghost { font-size: 40px; opacity: .6; }
  .co-right { padding: 16px; }
  .inp { font-size: 16px; padding: 13px 12px; }   /* 16px — iOS не зумит поле */
  .per { padding: 11px 4px; }
  .co-total b { font-size: 19px; }
  .co-next { padding: 16px 10px; font-size: 14px; }
  .co-foot { margin: 14px -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .co-body { padding: 16px; }
  .co-perks em { font-size: 11px; }
  /* прочее */
  .ptitle { font-size: 26px; margin-top: 28px; }
  .bans-tools { flex-direction: column; }
  .my-form { flex-direction: column; }
  .my-card { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px; }
  .my-ico { width: 64px; height: 64px; } .my-ico img { width: 52px; height: 52px; }
  .my-info > b { font-size: 22px; }
  .my-act { grid-column: 1 / -1; flex-direction: row; } .my-act .btn { flex: 1; padding: 12px 10px; font-size: 13px; }
  .my-order { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }
  .my-order .ord-badge { grid-column: 2 / -1; justify-self: start; font-size: 11px; padding: 4px 9px; }
  .mo-ico { width: 42px; height: 42px; grid-row: span 2; }
  .bans-tools .search { flex: none; }
  .search input { font-size: 16px; }
  .more { margin-top: 44px; gap: 30px; }
  .more-title { font-size: 21px; }
  .soc-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .co-ghost { display: none; }
  .more-cards { grid-template-columns: 1fr; gap: 8px; }
  .more-card { height: 104px; padding: 16px; justify-content: center; }
  .more-card span { max-width: 58%; font-size: 13px; }
  .more-card img { height: 130%; bottom: -18%; }
  .more-card b { font-size: 16px; }
  .soc-btn { height: 56px; font-size: 14px; }
  .foot { padding: 28px 0 20px; }
  .foot-card { padding: 22px 18px 0; gap: 22px; }
  .foot-cols { gap: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .subs-title { font-size: 26px; }
  .demo-flag { bottom: calc(78px + env(safe-area-inset-bottom)); left: 10px; font-size: 9px; padding: 4px 8px; opacity: .85; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  /* нижняя панель */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar .tab-cart { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 0 5px; font-size: 10px; font-weight: 700; color: var(--muted); min-height: 50px; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .on { color: #fff; }
  .tabbar .on svg { color: var(--accent-2); }
  .tabbar .on::before { content: ""; position: absolute; top: -6px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ═════ иконки ═════ */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.16em; flex-shrink: 0; display: inline-block; }
.hit { display: inline-flex; align-items: center; gap: 4px; }
.hit .ic { color: #ff7a1a; }
.sl-chip .ic { width: 13px; height: 13px; }
.sl-tags i .ic { width: 12px; height: 12px; }
.pm-i .ic { width: 18px; height: 18px; color: var(--accent-2); }
.co-h.ico i .ic { width: 14px; height: 14px; }
.mode-switch > * { display: inline-flex; align-items: center; gap: 6px; }
.mode-switch .ic { width: 14px; height: 14px; }
.snow-toggle { align-items: center; gap: 7px; }
.snow-toggle .ic { width: 14px; height: 14px; }
.foot-toggles { display: flex; flex-wrap: wrap; }
.help-line a .ic { margin-right: 4px; }
.upg .ic, .nick-st .ic, .my-card .ic { width: 14px; height: 14px; }
.more-title .ic { width: .85em; height: .85em; margin-right: 8px; color: var(--accent-2); vertical-align: -.08em; }

/* голова скина игрока */
.mc-head { width: 22px; height: 22px; border-radius: 5px; image-rendering: pixelated; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line-2); }
.nick-st.ok { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: left; }

/* поделиться */
.co-share { position: relative; z-index: 2; margin-left: auto; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--card-3); border: 1px solid var(--line-2); color: var(--text-2); transition: .15s; }
.co-share:hover { color: var(--text); border-color: var(--accent); }
.co-share .ic { width: 16px; height: 16px; }

/* значки доверия */
.trust { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.trust li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 11px; background: var(--sunk); border: 1px solid var(--line); }
.trust .ic { width: 18px; height: 18px; color: var(--ok); }
.trust span { display: flex; flex-direction: column; font-size: 10px; line-height: 1.25; color: var(--muted); }
.trust b { font-size: 11px; color: var(--text); }

/* бонус за сумму корзины */
.cb { padding: 12px; border-radius: 14px; background: radial-gradient(90% 140% at 0% 0%, rgba(31,224,106,.1), transparent 70%), var(--sunk); border: 1px solid rgba(31,224,106,.22); display: flex; flex-direction: column; gap: 10px; }
.cb-txt { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 700; }
.cb-txt .ic { color: var(--ok); }
.cb-txt b { color: var(--ok); }
.cb-txt small { color: var(--muted); font-weight: 600; font-size: 12px; }
.cb-txt small b { color: var(--text); }
.cb-bar { position: relative; height: 6px; margin: 4px 0 12px; border-radius: 6px; background: var(--card-3); }
.cb-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, #0fb24f, #1fe06a); transition: width .4s; }
.cb-bar em { position: absolute; top: 10px; transform: translateX(-100%); font: 800 10px/1 var(--head); font-style: normal; color: var(--muted); }
.cb-bar em.on { color: var(--ok); }
.cb-ups { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cb-ups button { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 10px; background: var(--card); border: 1px solid var(--line-2); text-align: left; font-size: 11px; font-weight: 700; min-width: 0; transition: .15s; }
.cb-ups button:hover { border-color: color-mix(in srgb, var(--tone) 60%, transparent); }
.cb-ups img { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.cb-ups span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-ups b { color: var(--ok); white-space: nowrap; }
.cart-promo { display: flex; gap: 6px; align-items: center; }
.cart-promo .inp { flex: 1; padding: 10px 12px; text-align: left; }
.cart-promo .btn { padding: 10px 14px; }
.cart-promo .promo-ok { flex: 1; margin: 0; display: flex; align-items: center; gap: 6px; }
.cart-sum s { margin-right: 8px; font-size: 15px; color: var(--muted); font-weight: 700; }
.cart-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.cart-meta .mc-head { width: 16px; height: 16px; border-radius: 3px; }
.cart-meta b { color: var(--text-2); }
.cart-meta .cart-clear { margin-left: auto; }
.cart-foot { gap: 10px; max-height: 62vh; overflow-y: auto; }

/* «купить ещё раз» */
.mo-w { display: flex; gap: 8px; align-items: stretch; }
.mo-w .my-order { flex: 1; min-width: 0; }
.mo-again { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 72px; flex-shrink: 0; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 10px; font-weight: 800; color: var(--text-2); transition: .15s; }
.mo-again .ic { width: 18px; height: 18px; color: var(--accent-2); }
.mo-again:hover { border-color: var(--accent); color: var(--text); }
.row-btns .btn .ic { margin-right: 6px; }

/* напоминание о продлении */
.remind { display: flex; align-items: center; gap: 14px; margin: 18px 0 -4px; padding: 12px 14px; border-radius: 16px; background: radial-gradient(70% 140% at 0% 50%, color-mix(in srgb, var(--tone, var(--accent)) 20%, transparent), transparent 70%), var(--card); border: 1px solid color-mix(in srgb, var(--tone, var(--accent)) 45%, transparent); animation: cardin .5s both; }
.remind .mc-head { width: 34px; height: 34px; border-radius: 7px; }
.rm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rm-t b { font: 800 14px var(--head); }
.rm-t b .ic { color: var(--gold); }
.rm-t span { font-size: 12px; color: var(--muted); }
.rm-a { display: flex; gap: 6px; }
.rm-a .btn { padding: 10px 14px; font-size: 12px; }
.rm-x { width: 28px; height: 28px; border-radius: 8px; color: var(--muted); flex-shrink: 0; }
.rm-x:hover { background: var(--card-3); color: var(--text); }

/* новости */

/* лента последних покупок */
.feed { position: fixed; left: 20px; bottom: 20px; z-index: 44; display: flex; align-items: center; gap: 10px; max-width: 330px; padding: 8px 34px 8px 8px; border-radius: 14px; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .35s cubic-bezier(.2,.8,.2,1); }
.feed.show { transform: none; opacity: 1; pointer-events: auto; }
.fd-img { width: 40px; height: 40px; border-radius: 10px; background: var(--sunk); display: grid; place-items: center; flex-shrink: 0; }
.fd-img img { width: 32px; height: 32px; object-fit: contain; }
.fd-t { font-size: 12px; line-height: 1.35; color: var(--text-2); }
.fd-t b { color: var(--text); }
.fd-t small { display: block; color: var(--muted); font-size: 11px; }
.fd-x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 6px; font-size: 10px; color: var(--muted); }
.fd-x:hover { background: var(--card-3); color: var(--text); }

/* липкая кнопка покупки (телефон) */
.sticky-buy { position: fixed; left: 10px; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 44; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 16px; background: color-mix(in srgb, var(--card) 95%, transparent); backdrop-filter: blur(12px); border: 1px solid rgba(31,224,106,.35); box-shadow: 0 16px 40px -10px rgba(0,0,0,.6); animation: cardin .35s both; }
.sticky-buy span { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.sticky-buy b { font: 900 17px var(--head); color: var(--ok); }
.sticky-buy small { color: var(--muted); font-size: 12px; font-weight: 700; }
.sticky-buy .btn { background: #1fe06a; color: #06140b; padding: 12px 22px; }

/* корзина в нижнем меню, полёт товара */
.tabbar .tab-cart { color: var(--muted); font: inherit; font-size: 10px; font-weight: 700; }
.tabbar .tab-cart .cart-n { top: 0; right: calc(50% - 22px); box-shadow: 0 0 0 2px var(--bg); }
.fly { position: fixed; z-index: 200; object-fit: contain; pointer-events: none; border-radius: 12px; will-change: transform; }
.bump { animation: cartpop .4s cubic-bezier(.3,1.6,.5,1); }

@media (max-width: 640px) {
  .feed { left: 10px; right: 10px; max-width: none; bottom: calc(72px + env(safe-area-inset-bottom)); }
  .trust { grid-template-columns: 1fr; }
  .trust li { padding: 7px 10px; }
  .trust span { flex-direction: row; gap: 6px; align-items: baseline; }
  .remind { flex-wrap: wrap; margin-top: 12px; }
  .rm-a { width: 100%; }
  .rm-a .btn { flex: 1; }
  .rm-x { position: absolute; }
  .remind { position: relative; padding-right: 40px; }
  .rm-x { top: 8px; right: 8px; }
  .mo-again { width: 56px; }
  .mo-again span { display: none; }
  .cart-foot { max-height: none; }
  .cb-ups { grid-template-columns: 1fr; }
  /* полоска-«ручка» для свайпа */
  .cart-head { position: relative; }
  .cart-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-2); }
}

/* ═════ светлая тема ═════ */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f2f5;
  --sunk: #f6f6f8;
  --panel: #fbfbfc;
  --card: #ffffff;
  --card-2: #f0f0f3;
  --card-3: #e5e5ea;
  --line: rgba(10,10,20,.08);
  --line-2: rgba(10,10,20,.14);
  --text: #15151a;
  --text-2: #3a3a42;
  --muted: #6c6c76;
  --accent-3: #c25400;
  --ok: #0e9e43;
  --bad: #d8323a;
  --gold: #b07800;
}
[data-theme="light"] body { background-image: radial-gradient(900px 500px at 50% -260px, rgba(242,106,12,.12), transparent 70%); }
[data-theme="light"] :is(.btn-ghost, .btn-ghost:hover, .icon-btn, .icon-btn:hover, .logo span, .online-pill, .online-pill b, .nav a:hover, .nav a.on, .side-cap, .hit, .pen,
  .tk-quick button, .tk-quick button:hover, .tk-hint, .sub-price b, .sub-list, .cart-add, .cart-add:hover, .co-cart, .co-cart:hover, .cl-per, .qty button, .qty button:hover,
  .cl-x:hover, .cart-empty b, .cart-clear:hover, .co-bonus li.on, .co-inh b, .co-desc, .co-note, .per span, .agree, .rule ol, .faq-a, .step p, .doc p, .ord-items > div,
  .sum-total, .help-line a, .foot-brand p, .foot-cols a, .foot-bottom a:hover, .my-left, .my-left b, .mode-switch a:hover, .paid-hero h3, .paid-hero p,
  .ban-row > :nth-child(2), .tabbar .on) { color: var(--text); }
[data-theme="light"] .nav a { color: #55555e; }
[data-theme="light"] .cart-add.ok { color: #fff; }
[data-theme="light"] :is(.tk-quick button.on, .tk-ticks button.next) { color: #0a6b2e; }
[data-theme="light"] .co-info { color: #6b5410; background: rgba(255,194,61,.16); }
[data-theme="light"] .upg { color: #0b5b8f; }
[data-theme="light"] .snow-toggle { color: #24506f; background: #e8f2fb; border-color: rgba(60,130,200,.3); }
[data-theme="light"] .snow-toggle[aria-pressed="false"] { color: var(--muted); background: var(--card); border-color: var(--line-2); }
[data-theme="light"] .co-x:hover { background: #d8d8de; }
[data-theme="light"] .toast { background: #15151a; color: #fff; }
[data-theme="light"] :is(.card, .sub, .co, .cart-panel, .cmp, .my-order, .foot-card, .cat) { box-shadow: 0 10px 30px -18px rgba(20,20,40,.25); }
[data-theme="light"] .modal, [data-theme="light"] .cart-scrim { background: rgba(20,20,30,.45); }
[data-theme="light"] .co-ghost { opacity: .35; }
.co-total em { font-style: normal; color: var(--ok); font-weight: 800; }
[data-theme="light"] .cat:not(.on) { color: color-mix(in srgb, var(--c) 65%, #000); background: linear-gradient(100deg, color-mix(in srgb, var(--c) 22%, #fff), color-mix(in srgb, var(--c) 8%, #fff) 58%, color-mix(in srgb, var(--c) 26%, #fff)); }
[data-theme="light"] .cat:not(.on) span { text-shadow: none; }
[data-theme="light"] :is(.co-tk, .co-bonus b, .co-kv .g, .cmp .g, .cb-ups b) { color: var(--ok); }
@media (max-width: 640px) {
  .cart-panel { overflow-y: auto; overscroll-behavior: contain; }
  .cart-list { flex: none; overflow: visible; }
  .cart-foot { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .cb-ups button:nth-child(2) { display: none; }
}
@media (max-width: 640px) { .co-share { margin-right: 40px; width: 34px; height: 34px; } }
@media (max-width: 640px) {
  .trust { grid-template-columns: repeat(3, 1fr); }
  .trust li { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; }
  .trust span { font-size: 0; }
  .trust span b { font-size: 10px; line-height: 1.2; }
}
.tk-measure { position: absolute; left: -9999px; top: 0; visibility: hidden; white-space: pre; pointer-events: none; }

/* ═════ магазин как витрина: список слева, товар справа ═════ */
.shopx { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
.pick { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.pick-head { position: relative; display: flex; align-items: center; height: 62px; padding: 0 20px; margin-bottom: 14px; border-radius: 16px; color: #fff; font: 800 16px/1 var(--head);
  background: radial-gradient(120% 140% at 100% 0, rgba(255,255,255,.28), transparent 50%), linear-gradient(100deg, var(--accent), #ff8a2a); box-shadow: 0 14px 30px -16px rgba(242,106,12,.9); }
.pick-head i { position: absolute; left: 50%; bottom: -16px; translate: -50% 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: 0 0 0 5px var(--panel); }
.pick-head svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pick-list { display: flex; flex-direction: column; gap: 8px; max-height: 548px; overflow-y: auto; padding: 4px 4px 4px 0; scrollbar-width: thin; scrollbar-color: var(--card-3) transparent; }
.pk { --tone: #ff7a1a; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 66px; padding: 8px 14px 8px 8px; border-radius: 16px; text-align: left; color: var(--text);
  background: var(--card); border: 1.5px solid var(--line); transition: border-color .2s, background .2s, transform .15s; animation: pkin .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes pkin { from { opacity: 0; transform: translateX(-10px); } }
.pk:hover { border-color: color-mix(in srgb, var(--tone) 45%, transparent); }
.pk:active { transform: scale(.985); }
.pk.on { border-color: color-mix(in srgb, var(--tone) 75%, #fff); background: linear-gradient(100deg, color-mix(in srgb, var(--tone) 20%, var(--card)), var(--card) 70%); box-shadow: 0 10px 26px -16px var(--tone); }
.pk-ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 16%, var(--sunk)); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); }
.pk-ic img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4)); }
.pk b { font: 800 15px/1.2 var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.pk b em { display: inline-grid; color: #ff8a2a; font-style: normal; }
.pk b em .ic { width: 14px; height: 14px; }
.pk-pr { font: 800 14px/1 var(--head); white-space: nowrap; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.pk-pr i { font-style: normal; color: var(--muted); font-size: 18px; line-height: 0; transition: transform .2s; }
.pk.on .pk-pr { color: var(--text); }
.pk.on .pk-pr i { color: var(--tone); transform: translateX(2px); }
.pick-cmp { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; background: var(--card); border: 1px dashed var(--line-2); color: var(--text-2); font-weight: 800; font-size: 13px; transition: .2s; }
.pick-cmp:hover { color: var(--text); border-color: var(--accent); }

.pv { --tone: #ff7a1a; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.pv-top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; min-height: 118px; padding: 22px 26px; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 160% at 50% 120%, color-mix(in srgb, var(--tone) 30%, transparent), transparent 70%), linear-gradient(180deg, var(--card-2, var(--card)), var(--card)); border: 1px solid color-mix(in srgb, var(--tone) 25%, var(--line)); }
.pv-t small, .pv-bonus small, .pv-cost small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.pv-t h3 { margin: 0; font: 800 28px/1.1 var(--head); overflow-wrap: anywhere; }
.pv-flow { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.pv-flow i { font-style: normal; font-size: 20px; }
.pv-ic, .pv-to { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 18%, var(--sunk)); border: 1px solid color-mix(in srgb, var(--tone) 40%, transparent); }
.pv-ic img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
.pv-to { background: var(--sunk); border-color: var(--line-2); color: var(--text); }
.pv-to .ic { width: 22px; height: 22px; }
.pv-bonus { text-align: right; }
.pv-bonus b { font: 800 26px/1.1 var(--head); color: #5cff8a; white-space: nowrap; }
.pv-bonus b.pv-rar { color: color-mix(in srgb, var(--tone) 75%, #fff); font-size: 20px; }
.pv-per { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.pv-per button { flex: 1; height: 46px; border-radius: 11px; font-weight: 800; font-size: 14px; color: var(--text-2); transition: background .2s, color .2s; }
.pv-per button:hover { color: var(--text); background: var(--card-2, var(--card-3)); }
.pv-per button.on { color: var(--text); background: var(--card-3); box-shadow: inset 0 -2px 0 var(--tone); }
.pv-feat { padding: 18px 20px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.pv-feat h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 800 15px/1.2 var(--head); }
.pv-feat h4 .ic { color: var(--tone); }
.pv-scroll { max-height: 262px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--card-3) transparent; }
.pv-inh { margin: 4px 0 6px; font-size: 13px; color: var(--text-2); }
.pv-inh b { color: var(--text); }
.pv-list { list-style: none; margin: 0; padding: 0; }
.pv-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pv-list li:last-child { border-bottom: 0; }
.pv-list span { font-weight: 800; color: var(--text); display: flex; align-items: baseline; gap: 10px; }
.pv-list span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex-shrink: 0; translate: 0 -2px; }
.pv-list em { font-style: normal; color: var(--muted); text-align: right; }
.pv-desc { margin: 4px 0 10px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.pv-buy { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.pv-cost-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--sunk); color: var(--text-2); flex-shrink: 0; }
.pv-cost { margin-right: auto; min-width: 0; }
.pv-cost small { margin-bottom: 3px; }
.pv-cost b { font: 800 24px/1 var(--head); white-space: nowrap; }
.pv-add, .pv-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; font-weight: 800; font-size: 14px; white-space: nowrap; transition: transform .15s, filter .2s, border-color .2s; }
.pv-add { padding: 0 18px; background: var(--sunk); border: 1px solid var(--line-2); color: var(--text); }
.pv-add:hover { border-color: var(--accent); }
.pv-go { padding: 0 30px; color: #fff; background: linear-gradient(100deg, var(--accent), #ff8a2a); box-shadow: 0 12px 26px -12px rgba(242,106,12,.9); }
.pv-go i { font-style: normal; font-size: 18px; line-height: 0; }
.pv-go:hover { filter: brightness(1.08); }
.pv-add:active, .pv-go:active { transform: scale(.97); }

/* ═════ LIVE: бегущая строка покупок ═════ */
.live { display: flex; align-items: center; height: 54px; margin-top: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.live-tag { flex-shrink: 0; align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 0 18px; color: #fff; font: 800 13px/1 var(--head); letter-spacing: .1em; background: linear-gradient(100deg, #e5383b, #ff5a3c); }
.live-tag i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: lvdot 1.4s ease-in-out infinite; }
@keyframes lvdot { 50% { opacity: .25; transform: scale(.7); } }
.live-vp { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.live-track { display: flex; width: max-content; animation: lvmove var(--dur, 60s) linear infinite; }
.live:hover .live-track, .live:focus-within .live-track { animation-play-state: paused; }
@keyframes lvmove { to { transform: translateX(-50%); } }
.lv-set { display: flex; gap: 8px; padding: 0 8px 0 0; }
.lv { --tone: #ff7a1a; display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px 0 4px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); white-space: nowrap; font-size: 13px; color: var(--text-2); transition: border-color .2s; }
a.lv:hover { border-color: color-mix(in srgb, var(--tone) 55%, transparent); }
.lv-img { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 18%, var(--sunk)); }
.lv-img img { width: 24px; height: 24px; object-fit: contain; }
.lv-n { font-weight: 800; color: var(--text); }
.lv-blur { font-style: normal; filter: blur(3.5px); opacity: .85; user-select: none; }
.lv-w b { color: color-mix(in srgb, var(--tone) 70%, #fff); }
.lv small { color: var(--muted); font-size: 11px; }
[data-theme="light"] .lv-w b { color: color-mix(in srgb, var(--tone) 75%, #000); }
@media (prefers-reduced-motion: reduce) { .live-vp { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } }

/* плавающая корзина (на месте кнопки поддержки) */
.fab-cart .cart-n { top: -2px; right: -2px; }

@media (max-width: 980px) {
  .shopx { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pick { padding: 0; background: none; border: 0; gap: 8px; }
  .pick-head { display: none; }
  .pick-list { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 2px 0 6px; scrollbar-width: none; }
  .pick-list::-webkit-scrollbar { display: none; }
  .pk { flex-shrink: 0; width: 116px; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 0; padding: 10px 6px; text-align: center; animation: none; }
  .pk b { font-size: 13px; max-width: 100%; justify-content: center; }
  .pk-pr { font-size: 12px; }
  .pk-pr i { display: none; }
  .pick-cmp { height: 42px; }
}
@media (max-width: 640px) {
  .live { height: 46px; margin-top: 14px; border-radius: 14px; }
  .live-tag { padding: 0 11px; font-size: 11px; gap: 6px; }
  .lv { height: 34px; font-size: 12px; }
  .lv-img { width: 26px; height: 26px; }
  .lv-img img { width: 20px; height: 20px; }
  .pv { padding: 8px; border-radius: 18px; gap: 8px; }
  .pv-top { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding: 16px; gap: 12px; }
  .pv-flow { display: none; }
  .pv-t h3 { font-size: 22px; }
  .pv-bonus b { font-size: 19px; }
  .pv-per button { height: 42px; font-size: 13px; }
  .pv-feat { padding: 14px 14px 6px; }
  .pv-scroll { max-height: none; overflow: visible; padding-right: 0; }
  .pv-list li { font-size: 13px; padding: 10px 0; gap: 10px; }
  .pv-buy { padding: 10px; gap: 8px; }
  .pv-cost-ic { display: none; }
  .pv-cost b { font-size: 20px; }
  .pv-add { width: 50px; padding: 0; }
  .pv-add span { display: none; }
  .pv-go { padding: 0 18px; }
}
[data-theme="light"] .pv-bonus b:not(.pv-rar) { color: #16a34a; }

/* ═════ шрифты Unbounded + Manrope: Unbounded шире — подгоняем плотные места ═════ */
.nav a { font-size: 12px; letter-spacing: 0; }
.logo { font-size: 18px; }
.btn, .buy-btn, .cat, .sl-chip, .hit, .tk-pill, .tabbar a, .tabbar .tab-cart, .online-pill { letter-spacing: .01em; }
@media (max-width: 640px) {
  .logo { font-size: 15px; }
  .online-pill { font-size: 11px; padding-inline: 8px; }
  .play-btn { padding-inline: 12px; font-size: 12px; }
}
@media (max-width: 380px) { .logo { font-size: 14px; } }
.co-total b, .cart-sum b, .from b, .sub-price b { white-space: nowrap; }
@media (max-width: 640px) { .co-total b { font-size: 18px; } }

/* ═════ светлая тема v2: мягкая серая палитра без «голого» белого ═════ */
[data-theme="light"] {
  --bg: #e3e4ea;
  --sunk: #d9dbe2;
  --panel: #eaebf0;
  --card: #f3f4f7;
  --card-2: #ebecf1;
  --card-3: #dcdee5;
  --line: rgba(24,26,48,.09);
  --line-2: rgba(24,26,48,.16);
  --text: #1c1d26;
  --text-2: #3d3f4b;
  --muted: #6b6d7a;
}
[data-theme="light"] body { background-image: radial-gradient(1100px 520px at 50% -280px, rgba(242,106,12,.08), transparent 70%), linear-gradient(180deg, #e8e9ee, #e1e2e8 60%); background-attachment: fixed; }
/* свечения вокруг баннеров и карточек на светлом фоне режут глаз — заменяем мягкой тенью */
[data-theme="light"] .slider-wrap { filter: none; box-shadow: 0 16px 26px rgba(30,30,60,.16); }
[data-theme="light"] .side-wrap:hover { filter: none; box-shadow: 0 20px 30px rgba(30,30,60,.2); }
[data-theme="light"] :is(.card, .sub, .co, .cart-panel, .cmp, .my-order, .foot-card, .cat, .pick, .pv, .live, .tk) { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 24px -16px rgba(24,26,48,.28); }
[data-theme="light"] .cat:hover { box-shadow: 0 10px 22px -14px var(--c); }
[data-theme="light"] .cat.on { box-shadow: 0 10px 22px -14px var(--c), inset 0 1px 0 rgba(255,255,255,.35); }
[data-theme="light"] .cat:not(.on) { color: color-mix(in srgb, var(--c) 60%, #111); border-color: color-mix(in srgb, var(--c) 28%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--c) 13%, var(--card)), var(--card) 60%, color-mix(in srgb, var(--c) 16%, var(--card))); }
[data-theme="light"] .cat img { filter: drop-shadow(0 4px 5px rgba(0,0,0,.2)); }
[data-theme="light"] .garland::before, [data-theme="light"] .garland::after { filter: saturate(.8) brightness(.95); }
/* шапка и нижняя панель */
[data-theme="light"] .top, [data-theme="light"] .tabbar { background: color-mix(in srgb, var(--bg) 88%, transparent); }
/* витрина */
[data-theme="light"] .pick-head { box-shadow: 0 10px 20px -14px rgba(242,106,12,.8); }
[data-theme="light"] .pick-head i { box-shadow: 0 0 0 5px var(--panel); }
[data-theme="light"] .pk.on { background: linear-gradient(100deg, color-mix(in srgb, var(--tone) 12%, var(--card)), var(--card) 70%); box-shadow: 0 8px 18px -14px var(--tone); }
[data-theme="light"] .pk-ic, [data-theme="light"] .pv-ic, [data-theme="light"] .lv-img { background: color-mix(in srgb, var(--tone) 14%, #2a2c38); border-color: transparent; }
[data-theme="light"] .pv-top { background: radial-gradient(70% 160% at 50% 130%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 70%), var(--card); }
[data-theme="light"] .pv-to { background: var(--card-3); }
[data-theme="light"] .pv-per button.on { background: var(--card); box-shadow: inset 0 -2px 0 var(--tone), 0 2px 6px -3px rgba(24,26,48,.25); }
[data-theme="light"] :is(.pv-add, .pv-cost-ic) { background: var(--card-2); }
[data-theme="light"] .pv-go, [data-theme="light"] .btn-main { box-shadow: 0 8px 18px -12px rgba(242,106,12,.9); }
[data-theme="light"] .lv-blur { opacity: .7; }
/* токены: неоновое свечение на светлом слишком кислотное */
[data-theme="light"] .tk-img { filter: drop-shadow(0 12px 18px rgba(10,90,40,.25)); }
[data-theme="light"] .tk-row img, [data-theme="light"] #tkRange::-webkit-slider-thumb { filter: drop-shadow(0 2px 3px rgba(10,90,40,.35)); }
[data-theme="light"] .spark { box-shadow: none; background: #4fd27e; }
/* новости */
[data-theme="light"] .tk { --g: #1bb457; }
[data-theme="light"] .tk-art { background: radial-gradient(70% 60% at 45% 55%, rgba(31,200,100,.26), rgba(31,200,100,.06) 55%, transparent 80%), linear-gradient(160deg, #d8ebdf, #e2e8e4 70%); }
[data-theme="light"] .tk-btn { color: #fff; box-shadow: 0 10px 22px -14px rgba(20,140,70,.9); }
[data-theme="light"] .tk-quick button.on { background: rgba(27,180,87,.12); }
[data-theme="light"] .foot-card::before { color: rgba(24,26,48,.035); }
/* телефон: длинные названия в ленте товаров — в две строки, а не обрезка с обеих сторон */
@media (max-width: 980px) {
  .pk { width: 124px; }
  .pk b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; white-space: normal; overflow: hidden; text-align: center; font-size: 12px; line-height: 1.25; min-height: 2.5em; overflow-wrap: anywhere; hyphens: auto; }
  .pk b em { display: inline; vertical-align: -2px; margin-left: 2px; }
}
.pv-t h3 { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 640px) {
  .pv-top { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pv-bonus { text-align: left; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  .pv-bonus small { margin: 0; }
  .pv-bonus b.pv-rar { font-size: 17px; }
}
/* категории — только текст, без картинок */
.cat { justify-content: center; text-align: center; padding: 0 14px; }
@media (max-width: 980px) { .cat { padding: 0 18px; } }

/* ═════ логотип: объёмная «наклейка» MIX + плотный ANARCHY ═════ */
.logo { gap: 2px; font-size: 19px; letter-spacing: 0; }
.logo b { margin-right: 8px; padding: 6px 9px 5px; border-radius: 10px; font-weight: 900; letter-spacing: .02em; transform: rotate(-4deg);
  background: linear-gradient(180deg, #ff9a3c, #f26a0c 55%, #e25400); text-shadow: 0 1.5px 0 rgba(120,40,0,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.12), 0 3px 0 #a83f00, 0 8px 16px -6px rgba(242,106,12,.75);
  transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.logo:hover b { transform: rotate(0deg) translateY(-1px); }
.logo span { font-weight: 900; letter-spacing: .03em; background: linear-gradient(180deg, #fff 30%, #b9bac4); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="light"] .logo span { background-image: linear-gradient(180deg, #1c1d26 30%, #565867); color: transparent; }
@media (max-width: 640px) { .logo { font-size: 15px; } .logo b { padding: 5px 7px 4px; margin-right: 6px; border-radius: 8px; } }
@media (max-width: 380px) { .logo { font-size: 14px; } }

/* ═════ баннеры v2: ровная форма, чище текст, цена в стеклянной плашке ═════ */
.wave { -webkit-mask: none; mask: none; }
.slider, .side-banner { border-radius: 24px; }
/* тень плашки — box-shadow той же формы (скруглённый прямоугольник) вместо filter: drop-shadow: фильтр на обёртке
   пересчитывался каждый кадр из-за анимаций внутри баннера (блик, искры, «парение» арта) */
.slider-wrap, .side-wrap { border-radius: 24px; filter: none; box-shadow: 0 18px 32px rgba(var(--glow), .2); }
.side-wrap:hover { box-shadow: 0 22px 36px rgba(var(--glow), .3); }
.slider::after, .side-banner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.28); }
/* затемнение слева — текст читается на любом арте */
.sl-fx::before { background: linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.14) 42%, transparent 62%), linear-gradient(0deg, rgba(0,0,0,.22), transparent 40%); }
.side-banner .sl-fx::before { background: linear-gradient(180deg, rgba(0,0,0,.28), transparent 45%), linear-gradient(0deg, rgba(0,0,0,.25), transparent 35%); }
.sl-text { max-width: 50%; gap: 12px; }
.side-banner .sl-text { max-width: 100%; }
.sl-title { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.04; letter-spacing: -.02em; text-shadow: 0 3px 0 var(--sh), 0 10px 28px rgba(0,0,0,.35); }
.side-banner .sl-title { font-size: clamp(26px, 2.3vw, 32px); }
.sl-sub { font-size: 15px; opacity: .95; max-width: 340px; }
.sl-tags { display: none; }
.sl-cta { gap: 12px; }
.sl-go { padding: 7px 7px 7px 20px; border-radius: 15px; }
.sl-hint { padding: 9px 14px 8px; border-radius: 14px; background: rgba(0,0,0,.26); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); text-shadow: none; }
.sl-hint small { opacity: .8; }
.sl-hint b { font-size: 21px; text-shadow: none; }
/* точки — вверху справа, не перекрывают арт */
.dots { top: 22px; right: 22px; bottom: auto; background: rgba(0,0,0,.24); }
@media (max-width: 980px) { .sl-text { max-width: 58%; } }
@media (max-width: 640px) {
  .slider, .side-banner, .slider-wrap, .side-wrap { border-radius: 20px; }
  .sl-text { max-width: 62%; gap: 9px; }
  .sl-title { font-size: 23px; }
  .side-banner .sl-title { font-size: 22px; }
  .sl-hint { display: none; }
  .dots { top: 14px; right: 14px; }
}
[data-theme="light"] .slider::after, [data-theme="light"] .side-banner::after { box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.3); }
.sl-text { max-width: 58%; }
.side-banner .sl-text { max-width: 100%; }
.sl-hint b, .sl-hint small + b + small { white-space: nowrap; }
@media (max-width: 1180px) { .slide .sl-text { max-width: 64%; } }
@media (max-width: 640px) { .slide .sl-text { max-width: 62%; } }
@media (max-width: 980px) { .side-banner .sl-text { max-width: 60%; } }
@media (max-width: 640px) { .slide .sl-sub { font-size: 13px; } }

/* ═════ снежные шапки v2: цельный сугроб с объёмом и сосульками ═════ */
[data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card)::after,
[data-season="winter"] .cat::after, [data-season="winter"] .foot-card::after {
  left: -3px; right: -3px; top: -10px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 28' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.55' stop-color='%23f1f6fd'/%3E%3Cstop offset='1' stop-color='%23cfdff2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 16 C0 9 6 6 13 7 C19 2 33 1 41 6 C49 2 60 3 66 7 C76 1 94 1 103 6 C111 3 121 4 126 8 C136 2 152 1 161 6 C170 2 182 3 188 7 C197 2 213 2 221 6 C229 3 240 3 246 7 C255 2 272 2 281 6 C290 5 300 9 300 16 L300 18 C294 19 289 18 284 18 C276 18 274 18 272 19 C271 26 266 27 265 20 C263 18 250 18 236 18 C220 18 208 18 196 19 C195 23 191 24 190 19 C178 18 160 18 146 18 C130 18 118 18 104 19 C103 27 97 27 96 20 C90 18 76 18 62 18 C48 18 40 18 34 19 C33 22 30 23 29 19 C22 18 12 18 6 18 C3 18 0 18 0 18 Z'/%3E%3Cpath fill='%23ffffff' opacity='.9' d='M16 9 C24 6 34 6 40 9 C32 8 24 8 16 10 Z M128 10 C138 6 150 6 158 9 C148 8 138 9 128 11 Z M224 9 C232 6 242 6 248 9 C240 8 232 8 224 10 Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 2px rgba(10,20,40,.28)) drop-shadow(0 0 6px rgba(200,225,255,.18)); }
[data-season="winter"] .cat::after { left: -2px; right: -2px; top: -9px; height: 18px; }
[data-season="winter"] :is(.card:nth-child(3n+2), .card:nth-child(3n))::after { background-position: center top; }
[data-season="winter"] .cat:nth-child(2n)::after, [data-season="winter"] .soc-btn:nth-child(2n)::after { transform: scaleX(-1); }
[data-season="winter"] .foot-card::after { top: -11px; height: 24px; }
[data-theme="light"][data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card, .cat, .foot-card)::after { filter: drop-shadow(0 2px 2px rgba(10,20,40,.18)); }

/* ═════ снежные шапки v3: пушистые комки — круглые на любой ширине ═════ */
[data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card)::after,
[data-season="winter"] .cat::after, [data-season="winter"] .foot-card::after {
  --s: #fbfdff; --sh: #d3e2f4;
  left: 6px; right: 6px; top: -15px; height: 22px; transform: none;
  background:
    linear-gradient(90deg, transparent 2%, var(--sh) 2% 98%, transparent 98%) center bottom / 100% 2px no-repeat,
    radial-gradient(circle at 3% 100%, var(--s) 6px, transparent 6.6px),
    radial-gradient(circle at 12% 100%, var(--s) 10px, transparent 10.6px),
    radial-gradient(circle at 24% 100%, var(--s) 8px, transparent 8.6px),
    radial-gradient(circle at 35% 100%, var(--s) 12px, transparent 12.6px),
    radial-gradient(circle at 48% 100%, var(--s) 9px, transparent 9.6px),
    radial-gradient(circle at 60% 100%, var(--s) 11px, transparent 11.6px),
    radial-gradient(circle at 72% 100%, var(--s) 8px, transparent 8.6px),
    radial-gradient(circle at 84% 100%, var(--s) 11px, transparent 11.6px),
    radial-gradient(circle at 97% 100%, var(--s) 7px, transparent 7.6px),
    linear-gradient(90deg, transparent 1.5%, var(--s) 1.5% 98.5%, transparent 98.5%) center bottom / 100% 7px no-repeat;
  filter: drop-shadow(0 2px 1.5px rgba(10,20,45,.3)); }
/* у узких кнопок категорий — мельче и через одну зеркально, чтобы не было одинаковых */
[data-season="winter"] .cat::after { left: 5px; right: 5px; top: -12px; height: 17px; }
[data-season="winter"] .cat:nth-child(2n)::after, [data-season="winter"] .soc-btn:nth-child(2n)::after, [data-season="winter"] .card:nth-child(2n)::after { transform: scaleX(-1); }
[data-season="winter"] .foot-card::after { top: -16px; }
[data-theme="light"][data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card, .cat, .foot-card)::after { filter: drop-shadow(0 2px 1.5px rgba(10,20,45,.2)); }

/* ═════ снег v4: лежит на верхнем крае, огибает углы, свисает каплями ═════ */
[data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card)::after,
[data-season="winter"] .cat::after, [data-season="winter"] .foot-card::after {
  --s: #f7fbff; --r: 16px;
  left: 0; right: 0; top: -9px; height: 20px; border-radius: var(--r) var(--r) 0 0; transform: none;
  background:
    radial-gradient(circle at 7% 9px, var(--s) 6px, transparent 6.5px),
    radial-gradient(circle at 16% 8px, var(--s) 8px, transparent 8.5px),
    radial-gradient(circle at 29% 10px, var(--s) 6px, transparent 6.5px),
    radial-gradient(circle at 41% 8px, var(--s) 9px, transparent 9.5px),
    radial-gradient(circle at 55% 10px, var(--s) 6.5px, transparent 7px),
    radial-gradient(circle at 67% 8px, var(--s) 8.5px, transparent 9px),
    radial-gradient(circle at 80% 10px, var(--s) 6px, transparent 6.5px),
    radial-gradient(circle at 91% 9px, var(--s) 7.5px, transparent 8px),
    radial-gradient(4px 6px at 23% 14px, var(--s) 95%, transparent 100%),
    radial-gradient(3px 5px at 49% 14px, var(--s) 95%, transparent 100%),
    radial-gradient(4px 7px at 74% 14px, var(--s) 95%, transparent 100%),
    linear-gradient(var(--s), var(--s)) 0 9px / 100% 6px no-repeat;
  filter: drop-shadow(0 2px 1.5px rgba(10,20,45,.28)); }
[data-season="winter"] .cat::after { --r: 16px; top: -8px; height: 18px; }
[data-season="winter"] .soc-btn::after { --r: 14px; }
[data-season="winter"] :is(.card, .sub, .tk, .foot-card)::after { --r: 20px; }
[data-season="winter"] .cat:nth-child(2n)::after, [data-season="winter"] .soc-btn:nth-child(2n)::after, [data-season="winter"] .card:nth-child(2n)::after { transform: scaleX(-1); }
@media (max-width: 980px) { [data-season="winter"] .cat::after { --r: 14px; } }
[data-theme="light"][data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card, .cat, .foot-card)::after { --s: #ffffff; filter: drop-shadow(0 2px 2px rgba(10,20,45,.22)); }

/* ═════ снег v5: сплошной неровный сугроб из трёх слоёв комков ═════ */
[data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card)::after,
[data-season="winter"] .cat::after, [data-season="winter"] .foot-card::after {
  --s: #f6faff; --s2: #dde9f7;
  left: 3px; right: 3px; top: -13px; height: 24px; border-radius: 12px 12px 0 0; transform: none;
  background:
    radial-gradient(circle at 50% 12px, var(--s) 10px, transparent 10.5px) 0 0 / 57px 24px repeat-x,
    radial-gradient(circle at 50% 14px, var(--s) 8px, transparent 8.5px) 13px 0 / 34px 24px repeat-x,
    radial-gradient(circle at 50% 15px, var(--s) 7px, transparent 7.5px) 5px 0 / 22px 24px repeat-x,
    radial-gradient(3px 5px at 50% 0, var(--s) 95%, transparent 100%) 20px 19px / 71px 6px repeat-x,
    linear-gradient(var(--s) 70%, var(--s2)) 0 14px / 100% 6px no-repeat;
  filter: drop-shadow(0 2px 1.5px rgba(10,20,45,.3)); }
[data-season="winter"] .cat::after { top: -12px; height: 23px; }
[data-season="winter"] .cat:nth-child(2n)::after, [data-season="winter"] .soc-btn:nth-child(2n)::after, [data-season="winter"] .card:nth-child(2n)::after { transform: scaleX(-1); }
[data-season="winter"] .cat:nth-child(3n)::after { background-position: 30px 0, 2px 0, 14px 0, 44px 19px, 0 14px; }
[data-theme="light"][data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card, .cat, .foot-card)::after { --s: #ffffff; --s2: #e4edf8; filter: drop-shadow(0 2px 2px rgba(10,20,45,.2)); }
[data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card, .cat, .foot-card)::after { left: 6px; right: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }

/* ═════ LIVE-ярлык v2: «радар»-точка, скошенный край, подпись ═════ */
.live-tag { position: relative; gap: 10px; padding: 0 26px 0 16px; margin-right: -6px; z-index: 1; overflow: hidden; letter-spacing: 0;
  background: radial-gradient(120% 140% at 0 0, rgba(255,255,255,.22), transparent 55%), linear-gradient(135deg, #ff5a4a, #e5283f 60%, #c4122e);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -2px 0 rgba(0,0,0,.15); }
.live-tag > i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.25); animation: none; flex-shrink: 0; }
.live-tag > i::before, .live-tag > i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ltping 1.8s cubic-bezier(.2,.6,.4,1) infinite; }
.live-tag > i::after { animation-delay: .9s; }
@keyframes ltping { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }
.lt-t { display: flex; flex-direction: column; line-height: 1; }
.lt-t b { font: 900 14px/1 var(--head); letter-spacing: .12em; text-shadow: 0 1px 0 rgba(120,0,20,.45); }
.lt-t small { margin-top: 3px; font: 700 9px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
@media (max-width: 640px) {
  .live-tag { padding: 0 20px 0 12px; gap: 8px; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
  .lt-t b { font-size: 12px; }
  .lt-t small { font-size: 8px; }
  .live-tag > i { width: 7px; height: 7px; }
}

/* ═════ плавающая корзина v2 ═════ */
[data-season="winter"] .fab-cart::before, [data-season="winter"] .fab-cart::after { content: none; display: none; }
.fab-cart { right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 18px; color: #fff;
  background: radial-gradient(120% 120% at 30% 0, rgba(255,255,255,.3), transparent 50%), linear-gradient(160deg, #ff8a2a, #f26a0c 55%, #d85300);
  box-shadow: 0 0 0 4px var(--bg), 0 14px 30px -10px rgba(242,106,12,.75), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.15);
  transition: transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .2s; }
.fab-cart:hover { transform: translateY(-3px) scale(1.04); }
.fab-cart:active { transform: scale(.95); }
.fab-cart svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.fab-cart .cart-n { top: -7px; right: -7px; min-width: 22px; height: 22px; line-height: 22px; border-radius: 11px; font-size: 11px; background: #fff; color: #e25400; box-shadow: 0 0 0 3px var(--bg), 0 4px 10px -2px rgba(0,0,0,.4); }

/* снежные шапки убраны */
[data-season="winter"] :is(.card, .sub, .soc-btn, .step, .tk, .my-card, .cat, .foot-card)::after { content: none !important; display: none !important; }
@media (max-width: 980px) { [data-season="winter"] .cats { padding-top: 2px; } }

/* ═════ значок «Хит продаж» ═════ */
.pk b em.pk-hit { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; padding: 3px 7px 3px 4px; border-radius: 8px; font: 800 9px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: #ffb35c;
  background: linear-gradient(100deg, rgba(255,106,26,.22), rgba(255,106,26,.08)); border: 1px solid rgba(255,138,42,.4); box-shadow: 0 0 12px -4px rgba(255,106,26,.6); }
.pk b em.pk-hit .ic { width: 13px; height: 13px; animation: flick 2.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flick { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.08, .95) rotate(-3deg); } 60% { transform: scale(.96, 1.06) rotate(2deg); } }
[data-theme="light"] .pk b em.pk-hit { color: #c24a00; background: rgba(255,106,26,.12); box-shadow: none; }
.pk.on b em.pk-hit { border-color: rgba(255,160,70,.65); }
@media (max-width: 980px) { .pk b em.pk-hit { padding: 2px; border-radius: 6px; } .pk b em.pk-hit span { display: none; } }
.hit .ic { width: 13px; height: 13px; }
/* «Хит» — огонёк на углу иконки товара */
.pk-ic { position: relative; }
.pk-hit { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: radial-gradient(circle at 50% 30%, #3a1a0c, #1a0d08); border: 1.5px solid #ff8a2a; box-shadow: 0 0 0 2px var(--card), 0 0 10px -1px rgba(255,106,26,.8); }
.pk-hit .ic { width: 13px; height: 13px; animation: flick 2.2s ease-in-out infinite; transform-origin: 50% 90%; }
.pk.on .pk-hit { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tone) 20%, var(--card)), 0 0 10px -1px rgba(255,106,26,.8); }
[data-theme="light"] .pk-hit { background: #fff4ea; box-shadow: 0 0 0 2px var(--card); }
@media (max-width: 980px) { .pk-hit { top: -5px; right: -5px; } }

/* ═════ гирлянда v2: провисающий провод, стеклянные лампочки с ореолом, мигают волной ═════ */
[data-season="winter"] .garland { bottom: -10px; height: 30px; filter: drop-shadow(0 2px 1.5px rgba(0,0,0,.45));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='30'%3E%3Cdefs%3E%3Cfilter id='b' x='-1' y='-1' width='3' height='3'%3E%3CfeGaussianBlur stdDeviation='2.6'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0 4 Q50 17 100 4 Q150 17 200 4' stroke='%23525258' stroke-width='1.7' fill='none'/%3E%3Cpath d='M0 5 Q50 15.5 100 5 Q150 15.5 200 5' stroke='%237a7a82' stroke-width='.7' fill='none' opacity='.7'/%3E%3Cg transform='rotate(-14 22 8.46)'%3E%3Crect x='19.8' y='8.46' width='4.4' height='3.8' rx='1' fill='%23232327'/%3E%3Cellipse cx='22' cy='17.46' rx='3.7' ry='5.8' fill='%23ff4646' opacity='.55'/%3E%3Cellipse cx='20.8' cy='15.66' rx='1' ry='1.9' fill='white' opacity='.35'/%3E%3C/g%3E%3Cg transform='rotate(0 50 10.5)'%3E%3Crect x='47.8' y='10.5' width='4.4' height='3.8' rx='1' fill='%23232327'/%3E%3Cellipse cx='50' cy='19.5' rx='3.7' ry='5.8' fill='%23ffc93d' opacity='.55'/%3E%3Cellipse cx='48.8' cy='17.7' rx='1' ry='1.9' fill='white' opacity='.35'/%3E%3C/g%3E%3Cg transform='rotate(14 78 8.46)'%3E%3Crect x='75.8' y='8.46' width='4.4' height='3.8' rx='1' fill='%23232327'/%3E%3Cellipse cx='78' cy='17.46' rx='3.7' ry='5.8' fill='%233fd06a' opacity='.55'/%3E%3Cellipse cx='76.8' cy='15.66' rx='1' ry='1.9' fill='white' opacity='.35'/%3E%3C/g%3E%3Cg transform='rotate(-14 122 8.46)'%3E%3Crect x='119.8' y='8.46' width='4.4' height='3.8' rx='1' fill='%23232327'/%3E%3Cellipse cx='122' cy='17.46' rx='3.7' ry='5.8' fill='%233fb7ff' opacity='.55'/%3E%3Cellipse cx='120.8' cy='15.66' rx='1' ry='1.9' fill='white' opacity='.35'/%3E%3C/g%3E%3Cg transform='rotate(0 150 10.5)'%3E%3Crect x='147.8' y='10.5' width='4.4' height='3.8' rx='1' fill='%23232327'/%3E%3Cellipse cx='150' cy='19.5' rx='3.7' ry='5.8' fill='%23ff5fcf' opacity='.55'/%3E%3Cellipse cx='148.8' cy='17.7' rx='1' ry='1.9' fill='white' opacity='.35'/%3E%3C/g%3E%3Cg transform='rotate(14 178 8.46)'%3E%3Crect x='175.8' y='8.46' width='4.4' height='3.8' rx='1' fill='%23232327'/%3E%3Cellipse cx='178' cy='17.46' rx='3.7' ry='5.8' fill='%23ff8a2a' opacity='.55'/%3E%3Cellipse cx='176.8' cy='15.66' rx='1' ry='1.9' fill='white' opacity='.35'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 200px 30px repeat-x; }
[data-season="winter"] .garland::before, [data-season="winter"] .garland::after { filter: none; animation: glint 2.4s ease-in-out infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='30'%3E%3Cdefs%3E%3Cfilter id='b' x='-1' y='-1' width='3' height='3'%3E%3CfeGaussianBlur stdDeviation='2.6'/%3E%3C/filter%3E%3C/defs%3E%3Cg transform='rotate(-14 22 8.46)'%3E%3Cellipse cx='22' cy='17.46' rx='7' ry='8.5' fill='%23ff7a7a' opacity='.55' filter='url(%23b)'/%3E%3Cellipse cx='22' cy='17.46' rx='3.7' ry='5.8' fill='%23ff4646'/%3E%3Cellipse cx='22' cy='17.96' rx='2' ry='3.4' fill='%23ff7a7a'/%3E%3Cellipse cx='20.8' cy='15.66' rx='1' ry='1.9' fill='white' opacity='.8'/%3E%3C/g%3E%3Cg transform='rotate(14 78 8.46)'%3E%3Cellipse cx='78' cy='17.46' rx='7' ry='8.5' fill='%237dffa6' opacity='.55' filter='url(%23b)'/%3E%3Cellipse cx='78' cy='17.46' rx='3.7' ry='5.8' fill='%233fd06a'/%3E%3Cellipse cx='78' cy='17.96' rx='2' ry='3.4' fill='%237dffa6'/%3E%3Cellipse cx='76.8' cy='15.66' rx='1' ry='1.9' fill='white' opacity='.8'/%3E%3C/g%3E%3Cg transform='rotate(0 150 10.5)'%3E%3Cellipse cx='150' cy='19.5' rx='7' ry='8.5' fill='%23ff9be3' opacity='.55' filter='url(%23b)'/%3E%3Cellipse cx='150' cy='19.5' rx='3.7' ry='5.8' fill='%23ff5fcf'/%3E%3Cellipse cx='150' cy='20' rx='2' ry='3.4' fill='%23ff9be3'/%3E%3Cellipse cx='148.8' cy='17.7' rx='1' ry='1.9' fill='white' opacity='.8'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 200px 30px repeat-x; }
[data-season="winter"] .garland::after { animation-delay: -1.2s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='30'%3E%3Cdefs%3E%3Cfilter id='b' x='-1' y='-1' width='3' height='3'%3E%3CfeGaussianBlur stdDeviation='2.6'/%3E%3C/filter%3E%3C/defs%3E%3Cg transform='rotate(0 50 10.5)'%3E%3Cellipse cx='50' cy='19.5' rx='7' ry='8.5' fill='%23ffe27a' opacity='.55' filter='url(%23b)'/%3E%3Cellipse cx='50' cy='19.5' rx='3.7' ry='5.8' fill='%23ffc93d'/%3E%3Cellipse cx='50' cy='20' rx='2' ry='3.4' fill='%23ffe27a'/%3E%3Cellipse cx='48.8' cy='17.7' rx='1' ry='1.9' fill='white' opacity='.8'/%3E%3C/g%3E%3Cg transform='rotate(-14 122 8.46)'%3E%3Cellipse cx='122' cy='17.46' rx='7' ry='8.5' fill='%238fd8ff' opacity='.55' filter='url(%23b)'/%3E%3Cellipse cx='122' cy='17.46' rx='3.7' ry='5.8' fill='%233fb7ff'/%3E%3Cellipse cx='122' cy='17.96' rx='2' ry='3.4' fill='%238fd8ff'/%3E%3Cellipse cx='120.8' cy='15.66' rx='1' ry='1.9' fill='white' opacity='.8'/%3E%3C/g%3E%3Cg transform='rotate(14 178 8.46)'%3E%3Cellipse cx='178' cy='17.46' rx='7' ry='8.5' fill='%23ffb36b' opacity='.55' filter='url(%23b)'/%3E%3Cellipse cx='178' cy='17.46' rx='3.7' ry='5.8' fill='%23ff8a2a'/%3E%3Cellipse cx='178' cy='17.96' rx='2' ry='3.4' fill='%23ffb36b'/%3E%3Cellipse cx='176.8' cy='15.66' rx='1' ry='1.9' fill='white' opacity='.8'/%3E%3C/g%3E%3C/svg%3E"); }
@keyframes glint { 0%, 100% { opacity: 1; } 45%, 55% { opacity: .12; } }
[data-theme="light"][data-season="winter"] .garland { filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
[data-theme="light"][data-season="winter"] .garland::before, [data-theme="light"][data-season="winter"] .garland::after { filter: saturate(1.1) brightness(.95); }
@media (max-width: 640px) { [data-season="winter"] .garland { transform: none; background-size: 160px 24px; height: 24px; bottom: -8px; }
  [data-season="winter"] .garland::before, [data-season="winter"] .garland::after { background-size: 160px 24px; } }

/* баннер наборов: текст не заезжает на сундук ни на какой ширине */
.side-banner .sl-title { max-width: 9.5em; }
@media (max-width: 980px) { .side-banner .sl-text { max-width: 52%; } .side-banner .sl-title { max-width: 8em; } }
@media (max-width: 640px) { .side-banner .sl-text { max-width: 58%; } }

/* баннер наборов: высота по содержимому — кнопка «Смотреть» всегда видна */
@media (max-width: 980px) { .side-banner { height: auto; min-height: 200px; } .side-banner .sl-cta { margin-top: 14px; } }
@media (max-width: 640px) { .side-banner { min-height: 170px; } }

/* «Хит» — чистая иконка пламени без подложки */
.pk-hit, [data-theme="light"] .pk-hit, .pk.on .pk-hit { top: -8px; right: -7px; width: 18px; height: 20px; border: 0; border-radius: 0; background: none;
  box-shadow: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.55)) drop-shadow(0 0 4px rgba(255,110,30,.55)); }
.pk-hit .ic { width: 18px; height: 18px; }
[data-theme="light"] .pk-hit { filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }

/* ═════ «Больше о MixAnarchy» v2 ═════ */
.more-card { --mc: 139,92,246; height: 188px; padding: 20px; gap: 6px; border-radius: 20px; justify-content: flex-start;
  background: radial-gradient(90% 120% at 100% 100%, rgba(var(--mc),.32), transparent 65%), linear-gradient(160deg, color-mix(in srgb, rgb(var(--mc)) 8%, var(--card)), var(--card));
  border: 1px solid color-mix(in srgb, rgb(var(--mc)) 22%, var(--line)); transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .25s; }
.mc-bonus { --mc: 31,200,100; }
.more-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--card) 92%, transparent) 30%, color-mix(in srgb, var(--card) 40%, transparent) 58%, transparent 80%); }
.more-card img { z-index: -2; right: -14px; bottom: -14px; height: 118%; opacity: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.mc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px; color: #fff;
  background: linear-gradient(150deg, rgba(var(--mc),1), color-mix(in srgb, rgb(var(--mc)) 70%, #000)); box-shadow: 0 8px 18px -8px rgba(var(--mc),.9), inset 0 1px 0 rgba(255,255,255,.3); }
.mc-ic .ic { width: 18px; height: 18px; }
.more-card b { font: 800 19px/1.15 var(--head); }
.more-card span { max-width: 52%; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.mc-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-weight: 800; font-size: 13px; color: color-mix(in srgb, rgb(var(--mc)) 70%, #fff); }
.mc-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.more-card:hover { transform: translateY(-3px); border-color: rgba(var(--mc),.55); box-shadow: 0 18px 36px -20px rgba(var(--mc),.8); }
.more-card:hover .mc-go svg { transform: translateX(4px); }
.more-card:hover img { transform: scale(1.05) rotate(-1deg); }
[data-theme="light"] .mc-go { color: color-mix(in srgb, rgb(var(--mc)) 75%, #000); }
@media (max-width: 640px) {
  .more-card { height: auto; min-height: 150px; padding: 16px; }
  .more-card span { max-width: 58%; font-size: 12px; }
  .more-card b { font-size: 17px; }
  .mc-ic { width: 34px; height: 34px; margin-bottom: 4px; }
  .more-card img { height: 125%; bottom: -16%; }
}

/* ═════ шапка списка «Выбери товар» v2 ═════ */
.pick-head { height: 72px; gap: 12px; padding: 0 18px 0 14px; overflow: visible; isolation: isolate; border-radius: 18px;
  background: radial-gradient(120% 160% at 100% 0, rgba(255,255,255,.3), transparent 45%), linear-gradient(110deg, #e85a00, #f26a0c 40%, #ff9a3c);
  box-shadow: 0 14px 28px -18px rgba(242,106,12,.95), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12); }
.pick-head::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: .16;
  background: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 12px); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.ph-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.ph-ic .ic { width: 20px; height: 20px; }
.ph-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ph-t b { font: 800 17px/1 var(--head); text-shadow: 0 1px 0 rgba(120,40,0,.4); }
.ph-t small { font: 700 12px/1 var(--body); opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-head i { bottom: -17px; width: 34px; height: 34px; background: #fff; color: var(--accent); box-shadow: 0 0 0 5px var(--panel), 0 6px 14px -4px rgba(242,106,12,.7); animation: phbob 2s ease-in-out infinite; }
.pick-head i svg { width: 16px; height: 16px; }
@keyframes phbob { 50% { transform: translateY(3px); } }
[data-theme="light"] .pick-head i { box-shadow: 0 0 0 5px var(--panel), 0 6px 12px -4px rgba(242,106,12,.5); }

/* ═════ подписки v2 ═════ */
.subs { align-items: stretch; gap: 18px; padding-top: 26px; }
.sub, .sub.featured { margin-top: 0; border-radius: 22px; overflow: visible;
  background: radial-gradient(120% 60% at 50% 0, color-mix(in srgb, var(--c) 14%, transparent), transparent 60%), var(--card);
  border: 1px solid color-mix(in srgb, var(--c) 22%, var(--line)); transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .25s; }
.sub:hover { transform: translateY(-4px); }
.sub.featured { border: 1.5px solid color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 12%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--c) 80%, transparent); }
.sub-tag { top: -18px; }
.sub-img { height: 150px; border-radius: 21px 21px 0 0; }
.featured .sub-img { height: 150px; }
.sub-img img { object-fit: cover; }
.sub-head { margin-top: -20px; padding: 0 22px 20px; }
.crowns { margin-bottom: 8px; padding: 5px 10px; border-radius: 99px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.crowns i svg { width: 15px; height: 12px; }
.sub h3 { font-size: 28px; }
.sub-price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 0; }
.sub-price b { font: 900 34px/1 var(--head); color: var(--text); letter-spacing: -.02em; }
.sub-price span { color: var(--muted); font-size: 13px; font-weight: 700; }
.sub-day { margin: 6px 0 16px; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; color: color-mix(in srgb, var(--c) 75%, #fff); background: color-mix(in srgb, var(--c) 12%, transparent); }
.sub-btn { padding: 15px 12px; border-radius: 14px; box-shadow: 0 12px 24px -14px var(--c), inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(0,0,0,.12); transition: filter .15s, transform .15s; }
.sub-btn:active { transform: scale(.98); }
.sub-body { flex: 1; padding: 18px 22px 22px; }
.sub-inc i { background: var(--c); color: var(--tt); }
.sub-list { gap: 10px; color: var(--text-2); }
.sub-list li { align-items: flex-start; line-height: 1.35; }
.sub-list li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: -1px; border-radius: 6px;
  background: color-mix(in srgb, var(--c) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc7a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sub-list.off { color: var(--muted); }
.sub-list.off li { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.18); }
.sub-list.off li::before { background: rgba(255,255,255,.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e78' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }
[data-theme="light"] .sub-day { color: color-mix(in srgb, var(--c) 70%, #000); }
[data-theme="light"] .crowns { background: rgba(0,0,0,.06); }
[data-theme="light"] .sub-list.off li { text-decoration-color: rgba(0,0,0,.2); }
@media (max-width: 980px) { .subs { padding-top: 22px; gap: 34px; } }

/* ═════ плашка «Онлайн» v2: живая точка, зелёный оттенок, крупное число ═════ */
.online-pill { gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 12px; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 700; color: var(--muted);
  background: linear-gradient(180deg, rgba(34,197,94,.1), rgba(34,197,94,.04)); border: 1px solid rgba(34,197,94,.25); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.online-pill > svg { display: none; }
.on-dot { display: block; position: relative; width: 8px; height: 8px; background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.8); }
.on-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22c55e; animation: ltping 1.8s cubic-bezier(.2,.6,.4,1) infinite; }
.online-pill .on-lbl { order: 0; }
.online-pill .on-dot { order: -1; }
.online-pill b { font: 800 14px/1 var(--head); color: var(--text); min-width: 4.4ch; }
.online-pill.off { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.3); }
.online-pill.off .on-dot::after { border-color: var(--bad); }
[data-theme="light"] .online-pill { color: #3d6b4c; background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.35); }
@media (max-width: 640px) { .online-pill { height: 32px; padding: 0 10px; gap: 7px; } .online-pill b { font-size: 12px; min-width: 3.8ch; } .on-dot { width: 7px; height: 7px; } }
@media (max-width: 1360px) { .online-pill .on-lbl { display: none; } .online-pill { padding: 0 12px 0 11px; } }
@media (max-width: 1360px) { .top-in { gap: 10px; } .nav { gap: 2px; } .nav a { padding: 9px 9px; } }
@media (max-width: 640px) { .top-in { gap: 6px; } .online-pill { padding: 0 8px; gap: 6px; } .online-pill b { font-size: 11px; min-width: 0; } .logo b { margin-right: 4px; } .play-btn { padding-inline: 11px; } }

/* онлайн: прокрутка цифр — своя высота строки, цифры не обрезаются */
.online-pill b.rolling, .online-pill .rolling { line-height: 1.3em; height: 1.3em; align-items: flex-start; }
.online-pill .rolling > span { line-height: 1.3em; }

/* ═════ LIVE-строка v3: лента с разделителями ═════ */
.live { height: 58px; background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 100%, transparent), var(--sunk)); }
.lv-set { gap: 0; padding: 0; }
.lv { height: 58px; gap: 10px; padding: 0 22px 0 18px; border: 0; border-radius: 0; background: none; position: relative; }
.lv::after { content: ""; position: absolute; right: 0; top: 16px; bottom: 16px; width: 1px; background: var(--line-2); }
a.lv:hover { background: color-mix(in srgb, var(--tone) 8%, transparent); }
.lv-img { width: 34px; height: 34px; border-radius: 10px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tone) 35%, transparent), color-mix(in srgb, var(--tone) 10%, var(--sunk)) 70%); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); }
.lv-img img { width: 26px; height: 26px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.lv-n { font-size: 13px; }
.lv-w { color: var(--muted); font-size: 13px; }
.lv-w b { font-weight: 800; }
.lv-w i { font-style: normal; margin-left: 6px; padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--text-2); background: var(--card-3); }
.lv-p { font-style: normal; font: 800 12px/1 var(--head); color: #5cff8a; padding: 5px 8px; border-radius: 8px; background: rgba(61,220,122,.1); border: 1px solid rgba(61,220,122,.25); }
.lv small { font-size: 11px; color: var(--muted); }
[data-theme="light"] .lv-p { color: #0f8a43; }
@media (max-width: 640px) { .live, .lv { height: 50px; } .lv { padding: 0 16px 0 12px; gap: 8px; } .lv-img { width: 30px; height: 30px; } .lv-img img { width: 22px; height: 22px; } .lv-w i { display: none; } }
.rd, .rd > span, .rs { line-height: 1.3em; }
.rd { vertical-align: top; }
.online-pill b { display: inline-flex; align-items: center; height: 1.3em; line-height: 1.3em; overflow: hidden; }

/* ═════ страница «Подписка»: главное, сравнение, вопросы, призыв ═════ */
.sx { max-width: 1100px; margin: 0 auto; }
.sx-more { display: flex; align-items: center; gap: 6px; margin: 26px auto 0; padding: 10px 16px; border-radius: 12px; color: var(--text-2); font-weight: 700; font-size: 13px; background: var(--card); border: 1px solid var(--line); transition: .2s; }
.sx-more:hover { color: var(--text); border-color: var(--line-2); }
.sx-more svg, .sx-sup svg, .sx-cta-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sx-title { margin: 80px 0 28px; text-align: center; font: 900 clamp(26px, 3.4vw, 40px)/1.1 var(--head); text-transform: uppercase; letter-spacing: -.02em; }
.sx-title em, .sx-cta h2 em { font-style: normal; color: #ff4a3d; }
.sx-title.sx-left { text-align: left; margin: 0 0 12px; }
.sx-cr { display: inline-flex; gap: 2px; vertical-align: middle; }
.sx-cr i svg { display: block; width: 11px; height: 9px; fill: #3a3a42; }
.sx-cr i.on svg { fill: var(--c); }
[data-theme="light"] .sx-cr i svg { fill: #c9cad3; } [data-theme="light"] .sx-cr i.on svg { fill: var(--c); }

/* главное в подписке */
.sx-hls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sx-hl { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid color-mix(in srgb, var(--t) 20%, var(--line)); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.sx-hl:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px var(--t); }
.sx-hl-art { position: relative; height: 128px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 80% at 50% 60%, color-mix(in srgb, var(--t) 45%, transparent), transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--t) 16%, var(--sunk)), var(--sunk));
  background-image: radial-gradient(60% 80% at 50% 60%, color-mix(in srgb, var(--t) 45%, transparent), transparent 70%), linear-gradient(color-mix(in srgb, var(--t) 10%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--t) 10%, transparent) 1px, transparent 1px), linear-gradient(160deg, color-mix(in srgb, var(--t) 16%, var(--sunk)), var(--sunk));
  background-size: auto, 22px 22px, 22px 22px, auto; }
.sx-hl-art span { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; color: #fff; transform: rotate(-6deg); transition: transform .3s cubic-bezier(.3,1.6,.5,1);
  background: linear-gradient(150deg, color-mix(in srgb, var(--t) 85%, #fff), var(--t) 50%, color-mix(in srgb, var(--t) 60%, #000)); box-shadow: 0 16px 30px -10px var(--t), inset 0 2px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(0,0,0,.2); }
.sx-hl:hover .sx-hl-art span { transform: rotate(0) scale(1.06); }
.sx-hl-art .ic { width: 32px; height: 32px; stroke-width: 2.2; }
.sx-px { position: absolute; width: 8px; height: 8px; background: var(--t); opacity: .55; box-shadow: 0 0 10px var(--t); animation: twinkle 3s ease-in-out infinite; }
.sx-px:nth-child(1) { left: 18%; top: 24%; } .sx-px:nth-child(2) { right: 20%; top: 18%; width: 6px; height: 6px; animation-delay: -1s; } .sx-px:nth-child(3) { right: 28%; bottom: 18%; width: 5px; height: 5px; animation-delay: -2s; }
.sx-hl-b { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.sx-hl-b small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sx-hl-b h3 { margin: 6px 0 14px; font: 900 24px/1.1 var(--head); text-transform: uppercase; }
.sx-hl-b p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.sx-hl-v { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.sx-hl-v > div { display: flex; flex-direction: column; gap: 6px; padding-left: 10px; border-left: 1px solid var(--line-2); }
.sx-hl-v > div:first-child { padding-left: 0; border-left: 0; }
.sx-hl-v b { font: 800 14px/1 var(--head); white-space: nowrap; }

/* таблица сравнения */
.sx-tw { border-radius: 22px; border: 1px solid var(--line); background: var(--card); overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--card-3) transparent; }
.sx-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 13px; }
.sx-table th, .sx-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.sx-th th { padding-top: 18px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); vertical-align: bottom; }
.sx-th th:first-child { width: 22%; } .sx-th th:nth-child(2) { width: 20%; }
.sx-tier { border-top: 3px solid var(--c); background: color-mix(in srgb, var(--c) 7%, transparent); }
.sx-tier div { display: flex; align-items: center; gap: 10px; }
.sx-tier img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.sx-tier span { display: flex; flex-direction: column; gap: 4px; }
.sx-tier b { font: 900 15px/1 var(--head); color: var(--text); text-transform: uppercase; letter-spacing: 0; display: flex; align-items: center; gap: 6px; }
.sx-tier small { text-transform: none; letter-spacing: 0; font-weight: 700; }
.sx-table tbody th { font-weight: 700; color: var(--text); }
.sx-table td b { display: block; font-weight: 800; color: var(--text); }
.sx-table td small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.sx-base b { font-weight: 600 !important; color: var(--text-2) !important; }
.sx-t { background: color-mix(in srgb, var(--c) 6%, transparent); }
.sx-no { color: var(--muted); opacity: .6; }
.sx-table code, .sx-bill code { font: 700 11px/1 ui-monospace, Consolas, monospace; padding: 3px 6px; border-radius: 6px; background: var(--card-3); color: var(--text); white-space: nowrap; }
.sx-grp td { padding: 26px 16px 12px; font: 900 14px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; border-bottom: 1px solid var(--line); }
.sx-grp span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 9px; vertical-align: middle; color: var(--accent-2); background: rgba(242,106,12,.14); }
.sx-grp .ic { width: 16px; height: 16px; }
.sx-table tbody tr:not(.sx-grp):hover > * { background-color: color-mix(in srgb, var(--text) 3%, transparent); }
.sx-hint { display: none; text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.sx-bill { display: flex; align-items: flex-start; gap: 10px; max-width: 720px; margin: 18px auto 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.sx-bill .ic { color: var(--accent-2); margin-top: 2px; }

/* вопросы */
.sx-faq { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; margin-top: 90px; align-items: start; }
.sx-faq-l .muted { margin: 0 0 16px; font-size: 14px; }
.sx-sup { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.sx-sup:hover svg { transform: translateX(3px); }
.sx-sup svg { transition: transform .2s; }
.sx-q { border-bottom: 1px solid var(--line-2); }
.sx-q:first-child { border-top: 1px solid var(--line-2); }
.sx-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-weight: 800; font-size: 15px; }
.sx-q summary::-webkit-details-marker { display: none; }
.sx-q summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 20px; font-weight: 500; color: var(--muted); background: var(--card); transition: transform .25s, color .2s, background .2s; }
.sx-q[open] summary::after { transform: rotate(45deg); color: #fff; background: var(--accent); }
.sx-q summary:hover::after { color: var(--text); }
.sx-q p { margin: 0 0 20px; padding: 0 50px 0 4px; font-size: 14px; line-height: 1.6; color: var(--text-2); animation: sxq .3s ease both; }
@keyframes sxq { from { opacity: 0; transform: translateY(-4px); } }

/* финальный призыв */
.sx-cta { position: relative; display: flex; align-items: center; min-height: 260px; margin: 90px 0 20px; padding: 40px 44px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 120% at 85% 50%, rgba(229,56,59,.35), transparent 65%), linear-gradient(120deg, var(--card), color-mix(in srgb, #e5383b 12%, var(--card))); border: 1px solid rgba(229,56,59,.25); }
.sx-cta-t { position: relative; z-index: 2; max-width: 56%; }
.sx-cta h2 { margin: 0 0 12px; font: 900 clamp(24px, 2.8vw, 34px)/1.1 var(--head); text-transform: uppercase; letter-spacing: -.02em; }
.sx-cta p { margin: 0 0 22px; color: var(--text-2); font-size: 14px; }
.sx-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 14px;
  background: linear-gradient(160deg, #ff5a4a, #e5283f); box-shadow: 0 12px 26px -12px rgba(229,40,63,.9), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .15s, filter .2s; }
.sx-cta-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.sx-cta img { position: absolute; right: 2%; bottom: 0; height: 112%; max-width: 48%; object-fit: contain; object-position: right bottom; z-index: 1; filter: drop-shadow(0 16px 26px rgba(0,0,0,.4)); }

@media (max-width: 980px) {
  .sx-hls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-faq { grid-template-columns: 1fr; gap: 20px; margin-top: 64px; }
  .sx-hint { display: block; }
  .sx-table th:first-child, .sx-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--card); }
  .sx-grp td { position: sticky; left: 0; }
}
@media (max-width: 640px) {
  .sx-title { margin: 56px 0 18px; }
  .sx-hls { grid-template-columns: 1fr; gap: 10px; }
  .sx-hl-art { height: 104px; }
  .sx-hl-b h3 { font-size: 21px; }
  .sx-table { min-width: 760px; font-size: 12px; }
  .sx-table th, .sx-table td { padding: 12px; }
  .sx-tier img { width: 30px; height: 30px; }
  .sx-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px 0; min-height: 0; }
  .sx-cta-t { max-width: 100%; }
  .sx-cta img { position: relative; right: auto; height: 190px; max-width: 100%; align-self: center; margin-top: 18px; }
  .sx-q summary { font-size: 14px; padding: 16px 2px; }
  .sx-q p { padding-right: 10px; }
}
.sx-tier span.sx-cr { flex-direction: row; gap: 2px; }
/* онлайн: плашка точно по ширине числа, без пустоты справа */
.online-pill b, .online-pill b.rolling { min-width: 0 !important; }
.online-pill { padding-right: 13px; }

/* «Выбери товар»: маленький шеврон-капля вместо крупной стрелки */
.pick-head i { bottom: -11px; width: 30px; height: 20px; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #ff8a2a, #f26a0c); color: #fff;
  box-shadow: 0 6px 12px -6px rgba(242,106,12,.9); animation: phbob 2.2s ease-in-out infinite; }
.pick-head i::before { content: ""; position: absolute; top: -1px; left: -6px; right: -6px; height: 6px; background: inherit; border-radius: 0; z-index: -1; }
.pick-head i svg { width: 14px; height: 14px; stroke-width: 3; margin-top: -2px; }
@keyframes phbob { 50% { transform: translateY(2px); } }
[data-theme="light"] .pick-head i { box-shadow: 0 6px 10px -6px rgba(242,106,12,.7); }
.pick-head { margin-bottom: 18px; }

/* «Выбери товар» v3: стрелка внутри плашки справа, в стеклянной плитке */
.pick-head { margin-bottom: 10px; }
.pick-head i { position: static; translate: none; margin-left: auto; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; overflow: hidden;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); animation: none; }
.pick-head i::before { content: none; }
.pick-head i svg { width: 16px; height: 16px; stroke-width: 2.8; margin: 0; animation: phdrop 1.8s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes phdrop { 0%, 100% { transform: translateY(-2px); opacity: 1; } 50% { transform: translateY(3px); opacity: .75; } }
[data-theme="light"] .pick-head i { box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
@media (prefers-reduced-motion: reduce) { .pick-head i svg { animation: none; } }

/* ═════ подписки v3: «Элит» по центру, ключевые цифры, чистые списки ═════ */
.subs { align-items: center; }
.sub { align-self: stretch; }
.sub.featured { position: relative; z-index: 2; transform: scale(1.04); align-self: stretch;
  background: radial-gradient(120% 55% at 50% 0, color-mix(in srgb, var(--c) 26%, transparent), transparent 62%), linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, var(--card)), var(--card));
  border: 1.5px solid color-mix(in srgb, var(--c) 75%, transparent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 10%, transparent), 0 34px 70px -28px color-mix(in srgb, var(--c) 85%, transparent); }
.sub.featured:hover { transform: scale(1.04) translateY(-4px); }
.sub-pop { position: absolute; top: -14px; right: 16px; z-index: 4; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 99px;
  font: 800 10px/1 var(--head); text-transform: uppercase; letter-spacing: .05em; color: #fff;
  background: linear-gradient(120deg, #ff7a1a, #ff3d5a); box-shadow: 0 8px 18px -8px rgba(255,80,40,.9); }
.sub-pop .ic { width: 13px; height: 13px; }
/* три главные цифры тарифа */
.sub-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 2px 0 16px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: color-mix(in srgb, var(--c) 5%, var(--sunk)); }
.sub-stats div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; }
.sub-stats div + div { border-left: 1px solid var(--line); }
.sub-stats b { font: 900 16px/1 var(--head); color: color-mix(in srgb, var(--c) 70%, #fff); white-space: nowrap; }
.sub-stats small { font-size: 10.5px; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.2; }
[data-theme="light"] .sub-stats b { color: color-mix(in srgb, var(--c) 75%, #000); }
.sub-day { margin-bottom: 14px; }
/* недоступные пункты: только крестик, без лишнего тире */
.sub-list.off li::before { content: "" !important; }
.sub-list.off li { text-decoration: none; opacity: .75; }
.sub-cap { margin-bottom: 14px; }
@media (max-width: 980px) {
  .sub.featured, .sub.featured:hover { transform: none; }
  .sub.featured { order: -1; }
  .sub-pop { right: auto; left: 16px; }
}
.sub-pop { position: static; margin: 0 0 8px; } @media (max-width: 980px) { .sub-pop { left: auto; } }

/* новые арты подписок */
.sub-img, .featured .sub-img { height: 178px; }
.sub-img img { object-fit: cover; object-position: 50% 42%; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sub:hover .sub-img img { transform: scale(1.05); }
.sub-img::after { height: 45%; }
.sx-tier img { object-position: 50% 40%; transform: scale(1.35); }
.sx-tier div > img { overflow: hidden; }
@media (max-width: 640px) { .sub-img, .featured .sub-img { height: 190px; } }
.sx-tier img { transform: none; object-position: 50% 45%; }

/* «Выбор игроков» v2: тёмная премиум-плашка с золотой обводкой и своим значком */
.sub-pop { position: relative; overflow: hidden; gap: 7px; padding: 6px 13px 6px 9px; border-radius: 10px; letter-spacing: .07em; font-size: 10px;
  color: #ffe08a; text-shadow: 0 1px 0 rgba(0,0,0,.4);
  background: linear-gradient(#1b1226, #120c1b) padding-box, linear-gradient(110deg, #ffe7a0, #e0a020 40%, #b06bff 75%, #ffe7a0) border-box;
  border: 1.5px solid transparent; box-shadow: 0 8px 20px -10px rgba(255,190,60,.7), 0 0 18px -8px rgba(176,107,255,.8); }
.sub-pop span { background: linear-gradient(180deg, #fff6d0, #ffc83d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub-pop .ic { width: 16px; height: 16px; stroke: none; filter: drop-shadow(0 1px 2px rgba(255,170,0,.6)); image-rendering: pixelated; }
[data-theme="light"] .sub-pop { background: linear-gradient(#2a1c3a, #1b1226) padding-box, linear-gradient(110deg, #ffe7a0, #e0a020 40%, #b06bff 75%, #ffe7a0) border-box; }

/* картинка тарифа растворяется сама — без шва на любом фоне карточки */
.sub-img { background: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%); mask-image: linear-gradient(180deg, #000 55%, transparent 98%); }
.sub-img::after { content: none; }
/* «Выбор игроков» — поверх картинки, по центру; содержимое карточек на одной линии */
.sub.featured .sub-pop { position: absolute; top: 134px; left: 50%; translate: -50% 0; margin: 0; z-index: 4; white-space: nowrap; }
@media (max-width: 640px) { .sub.featured .sub-pop { top: 146px; } }
.sub.featured .sub-pop { top: -46px; } @media (max-width: 640px) { .sub.featured .sub-pop { top: -46px; } }
.sub.featured .sub-pop { width: max-content; max-width: none; }

/* ═════ токены v2 ═════ */
.tk-title { flex-wrap: wrap; row-gap: 8px; }
.tk-rate { margin-left: 4px; padding: 6px 10px; border-radius: 9px; font: 800 12px/1 var(--head); text-transform: none; letter-spacing: 0; color: #5cff8a; background: rgba(31,224,106,.1); border: 1px solid rgba(31,224,106,.3); }
[data-theme="light"] .tk-rate { color: #0f8a43; }
.tk-bonus { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.tk-bonus small { font: 700 10px/1 var(--body); color: var(--muted); }
/* пакеты */
.tk-quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.tk-quick button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; height: auto; padding: 14px 6px 12px; border-radius: 14px;
  background: var(--card); border: 1.5px solid var(--line-2); transition: border-color .2s, transform .15s, background .2s; }
.tk-quick button:hover { border-color: rgba(31,224,106,.45); transform: translateY(-2px); }
.tk-quick button.on { background: linear-gradient(180deg, rgba(31,224,106,.16), rgba(31,224,106,.04)); border-color: var(--g); box-shadow: 0 10px 22px -14px rgba(31,224,106,.9); }
.tk-quick button b { font: 900 16px/1 var(--head); color: var(--text); }
.tk-quick button small { font-size: 12px; font-weight: 700; color: var(--muted); }
.tk-quick button i { font-style: normal; font: 800 11px/1 var(--head); color: #5cff8a; padding: 3px 7px; border-radius: 6px; background: rgba(31,224,106,.12); }
.tk-quick button i.z { color: var(--muted); background: var(--card-3); font-weight: 700; font-family: var(--body); }
.tk-quick button em { position: absolute; top: -9px; left: 50%; translate: -50% 0; white-space: nowrap; font-style: normal; font: 800 9px/1 var(--head); text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 7px; border-radius: 6px; color: #06140b; background: linear-gradient(120deg, #7dffa6, #1fe06a); box-shadow: 0 4px 10px -4px rgba(31,224,106,.8); }
.tk-quick button:last-child em { color: #1a1200; background: linear-gradient(120deg, #ffe27a, #ffb020); box-shadow: 0 4px 10px -4px rgba(255,176,32,.8); }
[data-theme="light"] .tk-quick button i { color: #0f8a43; }
/* доверие и на что тратить */
.tk-trust { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.tk-trust li { display: inline-flex; align-items: center; gap: 6px; }
.tk-trust .ic { width: 15px; height: 15px; color: #5cff8a; }
.tk-trust b { color: #5cff8a; }
[data-theme="light"] .tk-trust .ic, [data-theme="light"] .tk-trust b { color: #0f8a43; }
.tk-use { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.tk-use b { color: var(--text-2); font-weight: 700; }
@media (max-width: 640px) {
  .tk-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .tk-quick button b { font-size: 14px; }
  .tk-trust { gap: 6px 12px; font-size: 11px; }
}
.tk-quick button { padding: 14px 4px 12px; } .tk-quick button b { font-size: 15px; letter-spacing: -.02em; white-space: nowrap; } .tk-quick button small { font-size: 11px; white-space: nowrap; }
@media (max-width: 640px) { .tk-quick button:last-child { grid-column: span 2; } }

/* блоки подписки во вкладке на главной */
.sx-home { max-width: none; }
.sx-home .sx-title:first-of-type { margin-top: 56px; }
.sx-home .sx-cta { margin-bottom: 0; }

/* ═════ телефон: нижнее меню с центральной кнопкой «Магазин» ═════ */
@media (max-width: 640px) {
  .tabbar { overflow: visible; }
  .tabbar .tab-main { color: var(--text); }
  .tabbar .tab-main::before { display: none; }
  .tm-btn { width: 54px; height: 54px; margin: -26px 0 2px; border-radius: 18px; display: grid; place-items: center; color: #fff;
    background: radial-gradient(120% 120% at 30% 0, rgba(255,255,255,.3), transparent 50%), linear-gradient(160deg, #ff8a2a, #f26a0c 55%, #d85300);
    box-shadow: 0 0 0 5px var(--bg), 0 12px 24px -8px rgba(242,106,12,.85), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.15);
    transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
  .tabbar .tab-main svg { width: 24px; height: 24px; color: #fff !important; stroke-width: 2.2; }
  .tabbar .tab-main:active .tm-btn { transform: scale(.92); }
  .tabbar .tab-main.on .tm-btn { transform: translateY(-2px); box-shadow: 0 0 0 5px var(--bg), 0 14px 28px -8px rgba(242,106,12,1), inset 0 1px 0 rgba(255,255,255,.35); }
  .tabbar .tab-main.on { color: var(--accent-2); }
}

/* ═════ телефон: шапка прячется при прокрутке вниз ═════ */
@media (max-width: 980px) {
  .top { transition: transform .28s cubic-bezier(.2,.8,.2,1); }
  body.hdr-hide .top { transform: translateY(calc(-100% - 2px)); }
  .side { transition: top .28s cubic-bezier(.2,.8,.2,1); }
  body.hdr-hide .side, body.hdr-hide[data-season="winter"] .side, [data-season="winter"] body.hdr-hide .side { top: 0; }
}

/* ═════ телефон: липкая кнопка покупки товара ═════ */
.sticky-buy[data-mode="item"] { border-color: color-mix(in srgb, var(--tone, #ff7a1a) 45%, transparent); padding: 8px 8px 8px 8px; gap: 10px; }
.sticky-buy[data-mode="item"] #stickyTxt { flex-direction: row; align-items: center; gap: 10px; min-width: 0; }
.sb-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone, #ff7a1a) 18%, var(--sunk)); }
.sb-ic img { width: 32px; height: 32px; object-fit: contain; }
.sb-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.sticky-buy .sb-t b { color: var(--text); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy[data-mode="item"] .btn { background: linear-gradient(100deg, var(--accent), #ff8a2a); color: #fff; padding: 14px 20px; font-size: 14px; white-space: nowrap; }
@media (max-width: 640px) { .sticky-buy { bottom: calc(96px + env(safe-area-inset-bottom)); } }
.sticky-buy .sb-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ═════ кнопка входа / кабинета в шапке ═════ */
.acc-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 12px; font-weight: 800; font-size: 13px; color: var(--text);
  background: var(--card-2); border: 1px solid var(--line-2); transition: border-color .2s, background .2s; white-space: nowrap; }
.acc-btn:hover { border-color: #2aabee; }
.acc-btn > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.acc-btn:not(.in) { color: #fff; background: linear-gradient(160deg, #37b5f0, #1e8fd0); border-color: transparent; box-shadow: 0 8px 18px -10px rgba(42,171,238,.9); }
.acc-btn.in { padding: 0 12px 0 6px; }
.acc-btn .mc-head, .acc-btn img { width: 28px; height: 28px; border-radius: 8px; image-rendering: pixelated; }
.ab-ph { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--card-3); }
.ab-ph svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.ab-t { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1360px) { .acc-btn .ab-t { display: none; } .acc-btn, .acc-btn.in { padding: 0; width: 40px; justify-content: center; } }
@media (max-width: 640px) { .acc-btn { display: none; } }

/* ═════ окно входа ═════ */
.lgm { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.lgm.show { opacity: 1; }
.lgm-scrim { position: absolute; inset: 0; background: rgba(5,5,10,.7); backdrop-filter: blur(6px); }
.lg { position: relative; width: min(420px, 100%); padding: 30px 26px 24px; border-radius: 24px; text-align: center; background: var(--panel); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); transform: translateY(12px) scale(.98); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.lgm.show .lg { transform: none; }
.lg .co-x { position: absolute; top: 14px; right: 14px; }
.lg-art { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, #37b5f0, #1e8fd0); box-shadow: 0 16px 30px -12px rgba(42,171,238,.9), inset 0 1px 0 rgba(255,255,255,.35); }
.lg-art .tg-ic { width: 38px; height: 38px; }
.lg-art.nick { background: var(--card-3); color: var(--muted); box-shadow: none; }
.lg-art.nick svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; }
.lg-art img { width: 100%; height: 100%; object-fit: cover; }
.lg h3 { margin: 0 0 8px; font: 900 22px/1.2 var(--head); }
.lg p { margin: 0 auto 16px; max-width: 330px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.lg-perks { list-style: none; margin: 0 0 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; text-align: left; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.lg-perks li { display: flex; align-items: center; gap: 10px; }
.lg-perks .ic { color: #2aabee; width: 16px; height: 16px; }
.lg-tg { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 15px;
  background: linear-gradient(160deg, #37b5f0, #1e8fd0); box-shadow: 0 12px 26px -12px rgba(42,171,238,.95), inset 0 1px 0 rgba(255,255,255,.3); transition: filter .2s, transform .15s; }
.lg-tg:hover { filter: brightness(1.08); } .lg-tg:active { transform: scale(.98); } .lg-tg:disabled { opacity: .7; }
.lg-tg .tg-ic { width: 20px; height: 20px; }
.lg-tg.go { background: linear-gradient(100deg, var(--accent), #ff8a2a); box-shadow: 0 12px 26px -12px rgba(242,106,12,.9); margin-top: 12px; }
.lg-demo { display: block; margin-top: 12px; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.lg-widget:empty { display: none; }
.lg-widget { display: flex; justify-content: center; min-height: 46px; }
.lg-nick { text-align: left; }
.lg-nick .inp { width: 100%; text-align: center; font-weight: 800; }

/* ═════ личный кабинет ═════ */
.acc { max-width: 980px; margin: 30px auto 0; }
.acc-gate { max-width: 460px; margin: 40px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.acc-gate .ptitle { margin: 0; }
.acc-gate .lg-tg { max-width: 320px; }
.ac-head { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 22px; background: radial-gradient(90% 140% at 0 0, rgba(42,171,238,.14), transparent 60%), var(--card); border: 1px solid var(--line); }
.ac-ava .mc-head, .ac-ava img { width: 72px; height: 72px; border-radius: 18px; image-rendering: pixelated; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.ac-who { flex: 1; min-width: 0; }
.ac-who small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ac-who h2 { margin: 4px 0 6px; font: 900 28px/1.1 var(--head); overflow-wrap: anywhere; }
.ac-tg { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #4fb4ff; }
.ac-tg .tg-ic { width: 15px; height: 15px; }
.ac-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.ac-stats > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.ac-stats small, .ac-card > small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ac-stats b { font: 900 24px/1 var(--head); }
.ac-stats em { font-style: normal; font-size: 14px; color: var(--muted); }
.ac-stats a { font-size: 12px; font-weight: 800; color: var(--accent-2); }
.ac-stats span { font-size: 12px; color: var(--muted); }
.ac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ac-card { --tone: var(--accent); display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 18px; background: radial-gradient(90% 120% at 100% 0, color-mix(in srgb, var(--tone) 12%, transparent), transparent 60%), var(--card); border: 1px solid var(--line); }
.ac-card .btn { align-self: flex-start; }
.ac-card p { margin: 0; font-size: 13px; }
.ac-big { font: 900 24px/1.1 var(--head); }
.ac-rk { display: flex; align-items: center; gap: 12px; }
.ac-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--tone) 18%, var(--sunk)); border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent); }
.ac-ico img { width: 38px; height: 38px; object-fit: contain; }
.ac-ico img[src*="sub_"] { width: 100%; height: 100%; object-fit: cover; }
.ac-left { font-size: 13px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ac-left.forever { color: var(--gold); font-weight: 800; }
.ac-rank.soon { border-color: rgba(255,194,61,.45); }
.ac-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ac-notify { margin-top: 12px; gap: 4px; }
.ac-nh { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.ac-nh b { display: block; font-size: 15px; } .ac-nh small { font-size: 12px; color: var(--muted); }
.ac-tgb { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #37b5f0, #1e8fd0); }
.ac-tgb .tg-ic { width: 20px; height: 20px; }
.ac-sw { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.ac-sw b { display: block; font-size: 14px; } .ac-sw small { font-size: 12px; color: var(--muted); }
.ac-sw input { position: absolute; opacity: 0; pointer-events: none; }
.ac-sw i { position: relative; flex-shrink: 0; width: 46px; height: 26px; border-radius: 99px; background: var(--card-3); transition: background .2s; }
.ac-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.ac-sw input:checked + i { background: #2aabee; }
.ac-sw input:checked + i::after { transform: translateX(20px); }
.ac-sw input:focus-visible + i { outline: 2px solid #2aabee; outline-offset: 2px; }
.ac-next { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0 !important; padding: 12px 14px; border-radius: 12px; font-size: 13px; color: var(--text-2); background: rgba(42,171,238,.08); border: 1px solid rgba(42,171,238,.22); }
.ac-next .ic { color: #4fb4ff; margin-top: 2px; }
.acc .my-h { margin-top: 26px; }
.ac-orders { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) {
  .ac-grid { grid-template-columns: 1fr; }
  .ac-stats { grid-template-columns: 1fr 1fr; } .ac-stats > div:last-child { grid-column: span 2; }
  .ac-head { flex-wrap: wrap; padding: 18px; gap: 14px; } .ac-out { width: 100%; }
  .ac-ava .mc-head, .ac-ava img { width: 60px; height: 60px; }
  .ac-who h2 { font-size: 22px; }
}

/* ═════ заказ: путь посылки «Оплата → Сервер → Игрок» ═════ */
.dlv { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 6px; padding: 18px 14px; border-radius: 16px; background: var(--sunk); border: 1px solid var(--line); }
.dlv-n { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 74px; text-align: center; }
.dlv-n > span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: var(--card-3); color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.dlv-n > span .ic { width: 22px; height: 22px; }
.dlv-n.plr > span { background: var(--card-3); }
.dlv-n .mc-head, .dlv-n.plr img { width: 100%; height: 100%; image-rendering: pixelated; }
.dlv-n b { font-size: 12.5px; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dlv-n small { font-size: 11px; color: var(--muted); }
.dlv-n.wait > span { background: rgba(242,106,12,.16); color: var(--accent-2); box-shadow: 0 0 0 0 rgba(242,106,12,.5); animation: dlvpulse 1.4s ease-out infinite; }
.dlv-n.ok > span { background: rgba(63,220,106,.16); color: var(--ok); }
.dlv-n.ok small { color: var(--ok); }
@keyframes dlvpulse { to { box-shadow: 0 0 0 12px rgba(242,106,12,0); } }
.dlv-t { position: relative; height: 8px; margin-bottom: 30px; background: repeating-linear-gradient(90deg, var(--card-3) 0 8px, transparent 8px 12px); }
.dlv-t::before { content: ""; position: absolute; inset: 0; width: 0; background: repeating-linear-gradient(90deg, var(--ok) 0 8px, transparent 8px 12px); transition: width .6s; }
.dlv-t.full::before { width: 100%; }
.dlv-pkt { position: absolute; top: 50%; left: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 9px; display: none; place-items: center;
  background: color-mix(in srgb, var(--tone) 25%, var(--card)); border: 1px solid color-mix(in srgb, var(--tone) 50%, transparent); box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--tone) 70%, transparent); }
.dlv-pkt img { width: 22px; height: 22px; object-fit: contain; }
.dlv-t.run .dlv-pkt { display: grid; animation: dlvmove 1.6s cubic-bezier(.45,0,.55,1) infinite; }
.dlv-t.run2 .dlv-pkt { display: grid; animation: dlvonce .9s cubic-bezier(.45,0,.55,1) forwards; }
@keyframes dlvmove { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes dlvonce { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.dlv.s-failed .dlv-n:first-child > span { background: rgba(255,107,111,.16); color: var(--bad); }
@media (max-width: 640px) { .dlv { padding: 14px 8px; gap: 2px; } .dlv-n { min-width: 58px; } .dlv-n > span { width: 40px; height: 40px; } .dlv-n b { font-size: 11px; max-width: 70px; } }

/* экран «Выдано!» */
.ph-art { position: relative; width: 120px; height: 120px; display: grid; place-items: center; margin-bottom: 4px; }
.ph-rays { position: absolute; inset: -18px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--tone) 35%, transparent) 0 10deg, transparent 10deg 30deg);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); animation: phspin 12s linear infinite; }
@keyframes phspin { to { transform: rotate(360deg); } }
.ph-item { position: relative; width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone) 22%, var(--card)); border: 1.5px solid color-mix(in srgb, var(--tone) 55%, transparent);
  box-shadow: 0 18px 36px -12px color-mix(in srgb, var(--tone) 80%, transparent); animation: pop .6s cubic-bezier(.2,1.6,.4,1) both; }
.ph-item img { width: 70px; height: 70px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
.ph-art .paid-check { position: absolute; right: -4px; bottom: -4px; width: 44px; height: 44px; background: var(--ok); box-shadow: 0 0 0 5px var(--card); animation-delay: .35s; }
.ph-art .paid-check svg { width: 30px; height: 30px; stroke: #08140c; }

/* ═════ оформление: пиксельные шаги ═════ */
.co-prog.px { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 14px; }
.cp-seg { display: flex; flex-direction: column; gap: 6px; }
.cp-seg > i { position: relative; height: 8px; background: repeating-linear-gradient(90deg, var(--card-3) 0 8px, transparent 8px 11px); }
.cp-seg > i::after { content: ""; position: absolute; inset: 0; width: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 11px); }
.cp-seg.on > i::after { animation: cpfill .5s steps(8, end) forwards; }
@keyframes cpfill { to { width: 100%; } }
.cp-seg span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; color: var(--muted); }
.cp-seg span .ic { width: 13px; height: 13px; }
.cp-seg.on span { color: var(--text); }
.cp-seg.on span .ic { color: var(--accent-2); }

/* ═════ логотипы платёжных систем ═════ */
.pm { gap: 12px; }
.pm-t { flex: 1; min-width: 0; }
.pm-logos { display: flex; gap: 4px; flex-shrink: 0; }
.pl { display: block; width: 38px; height: 24px; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.pl svg { display: block; width: 100%; height: 100%; }
@media (max-width: 380px) { .pl { width: 32px; height: 21px; } }

/* вход через бота: ожидание подтверждения */
.lg-art.wait { position: relative; overflow: visible; }
.lg-spin { position: absolute; inset: -7px; border-radius: 26px; border: 3px solid transparent; border-top-color: #37b5f0; border-right-color: #37b5f0; animation: lgspin 1s linear infinite; }
@keyframes lgspin { to { transform: rotate(360deg); } }
.lg-back { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lg-back:hover { color: var(--text); }
.lg p code, .ac-steps code { font: 700 12px/1 ui-monospace, Consolas, monospace; padding: 3px 6px; border-radius: 6px; background: var(--card-3); color: var(--text); }
a.lg-tg { text-decoration: none; }
.ab-ph.big { width: 72px; height: 72px; border-radius: 18px; } .ab-ph.big svg { width: 34px; height: 34px; }
.ac-link { margin-top: 12px; }
.ac-steps { margin: 4px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ac-steps li::marker { color: var(--accent-2); font-weight: 900; }

/* ═════ пакеты токенов ═════ */
.tk-quick.packs { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
.tk-quick.packs button { gap: 6px; padding: 14px 6px 12px; }
.tk-quick.packs button b { font-size: 15px; }
.tk-quick.packs button b span { font-size: 11px; color: var(--muted); font-weight: 800; }
.tk-quick.packs button small { color: #5cff8a; font-weight: 800; font-size: 11px; }
.tk-quick.packs button i, .tk-quick.packs button i.z { font: 800 12px/1 var(--head); color: var(--text); background: var(--card-3); padding: 6px 10px; border-radius: 8px; }
.tk-quick.packs button.on i { color: #06140b; background: var(--g); }
.tk-quick button:last-child em { color: #06140b; background: linear-gradient(120deg, #7dffa6, #1fe06a); box-shadow: 0 4px 10px -4px rgba(31,224,106,.8); }
.tk-quick button.best em { color: #1a1200; background: linear-gradient(120deg, #ffe27a, #ffb020); box-shadow: 0 4px 10px -4px rgba(255,176,32,.8); }
[data-theme="light"] .tk-quick.packs button small { color: #0f8a43; }
@media (max-width: 640px) { .tk-quick.packs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tk-quick.packs button:last-child { grid-column: auto; } .tk-quick.packs button b { font-size: 13px; } }

/* вкладка «Токены»: ползунок с 3 популярными пакетами сверху, остальные пакеты — списком товаров ниже */
.store-main { display: flex; flex-direction: column; gap: 18px; }
.store-main > #tokens { order: -1; }
.tk-quick.packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tk-quick.packs button small { white-space: nowrap; }
@media (max-width: 640px) { .tk-quick.packs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .tk-quick.packs button small { font-size: 10px; } }
@media (max-width: 640px) { .tk-quick.packs button small { white-space: normal; text-align: center; line-height: 1.25; } .tk-quick.packs button { padding: 14px 4px 10px; min-width: 0; } .tk-quick.packs button b { font-size: 12.5px; white-space: nowrap; } .tk-quick.packs button b span { display: none; } }

/* ═════ логотип v3: знак «Ⓐ» + словесный знак ═════ */
.logo { gap: 0; font-size: 19px; letter-spacing: 0; line-height: 1; }
.lg-mark { position: relative; display: grid; place-items: center; width: 36px; height: 36px; margin-right: 10px; border-radius: 11px; flex-shrink: 0; color: #fff;
  background: radial-gradient(120% 90% at 30% 10%, #ffb257 0%, #f7801f 45%, #e05300 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 0 rgba(120,35,0,.35), 0 3px 0 #9c3a00, 0 10px 18px -8px rgba(242,106,12,.85);
  transform: rotate(-6deg); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.lg-mark::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.28), transparent 45%); pointer-events: none; }
.lg-mark svg { width: 24px; height: 24px; filter: drop-shadow(0 1.5px 0 rgba(110,35,0,.55)); }
.logo:hover .lg-mark { transform: rotate(0deg) translateY(-1px) scale(1.04); }
.logo b { position: relative; margin: 0; padding: 0; border-radius: 0; transform: none; box-shadow: none; text-shadow: none; font-weight: 900; letter-spacing: .02em;
  background: linear-gradient(180deg, #ffc06a 10%, #ff8a1f 55%, #f26a0c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo:hover b { transform: none; }
.logo span { margin-left: 1px; font-weight: 900; letter-spacing: .02em; }
[data-theme="light"] .logo b { background-image: linear-gradient(180deg, #ff8a1f 10%, #e25a00); }
/* колпак теперь на знаке */
[data-season="winter"] .logo b::before { content: none; }
[data-season="winter"] .lg-mark::before { content: ""; position: absolute; left: -12px; top: -17px; width: 36px; height: 27px; z-index: 2; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath d='M6 22 C7 11 15 3 25 3 C32 3 36 9 35 16 C33 12 30 10 27 11 C22 13 20 17 20 22 Z' fill='%23d92530'/%3E%3Cpath d='M9 20 C11 12 17 6 24 6 C20 8 16 13 14 20 Z' fill='%23ff4d55' opacity='.7'/%3E%3Crect x='2' y='18.5' width='23' height='8.5' rx='4.25' fill='%23f4f6fb'/%3E%3Crect x='2' y='23' width='23' height='4' rx='2' fill='%23d5dbe6'/%3E%3Ccircle cx='35' cy='18' r='4.6' fill='%23f4f6fb'/%3E%3Ccircle cx='34' cy='17' r='2' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-14deg); transform-origin: 30% 90%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); animation: hat 4s ease-in-out infinite; }
@media (max-width: 640px) {
  .logo { font-size: 15px; }
  .lg-mark { width: 30px; height: 30px; margin-right: 7px; border-radius: 9px; }
  .lg-mark svg { width: 20px; height: 20px; }
  .logo b { margin: 0; padding: 0; }
  [data-season="winter"] .lg-mark::before { left: -10px; top: -14px; width: 30px; height: 23px; }
}
@media (max-width: 380px) { .logo { font-size: 13.5px; } }
/* кнопка «Личный кабинет» (без входа через Telegram) */
.acc-btn, .acc-btn:not(.in) { color: #fff; background: linear-gradient(160deg, #ff9a3c, #f26a0c 60%, #e25400); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px -10px rgba(242,106,12,.9); }
.acc-btn:hover { border-color: transparent; filter: brightness(1.07); }
.ab-t { max-width: none; }
@media (max-width: 1360px) { .acc-btn .ab-t { display: inline; } .acc-btn, .acc-btn.in { width: auto; padding: 0 14px 0 11px; } }
@media (max-width: 1100px) { .acc-btn .ab-t { display: none; } .acc-btn, .acc-btn.in { padding: 0; width: 40px; } }
/* ═════ «Валюта»: выбор валюты + панель с ползунком ═════ */
.cur { --tone: #1fe06a; display: flex; flex-direction: column; gap: 12px; }
.cur-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cur-tab { --tone: #1fe06a; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 16px; text-align: left; color: var(--text);
  background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background .2s, transform .15s; }
.cur-tab:hover { border-color: color-mix(in srgb, var(--tone) 45%, var(--line)); }
.cur-tab:active { transform: scale(.985); }
.cur-tab.on { border-color: color-mix(in srgb, var(--tone) 70%, transparent); background: linear-gradient(100deg, color-mix(in srgb, var(--tone) 14%, var(--card)), var(--card) 70%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 14%, transparent); }
.ct-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--sunk); border: 1px solid var(--line); }
.ct-ico img { width: 34px; height: 34px; image-rendering: pixelated; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--tone) 60%, transparent)); }
.ct-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.ct-t b { font: 800 15px/1.1 var(--head); }
.ct-t small { font-size: 12px; font-weight: 700; color: var(--muted); }
.cur-tab.on .ct-t small { color: var(--tone); }
.ct-check { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; border: 2px solid var(--line-2, #3a3a42); position: relative; transition: .2s; }
.cur-tab.on .ct-check { border-color: var(--tone); background: var(--tone); }
.cur-tab.on .ct-check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #0b0b0f; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.cur-panel { padding: 18px 22px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.cur-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cur-crumb { font-size: 13px; font-weight: 600; color: var(--muted); }
.cur-crumb i { font-style: normal; margin: 0 6px; opacity: .6; }
.cur-rate { padding: 6px 10px; border-radius: 9px; font-size: 12px; font-weight: 800; background: var(--sunk); border: 1px solid var(--line); }
.cur-body { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.cur-art { position: relative; min-height: 370px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line);
  background: radial-gradient(55% 50% at 50% 48%, color-mix(in srgb, var(--tone) 32%, transparent), transparent 75%), var(--sunk); }
.cur-art img { width: 72%; max-width: 300px; aspect-ratio: 1; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 26px color-mix(in srgb, var(--tone) 55%, transparent)); animation: curfloat 4s ease-in-out infinite; }
@keyframes curfloat { 50% { transform: translateY(-8px); } }
.cur-art .spark { background: var(--tone); }
.cur-bonus { position: absolute; left: 12px; right: 12px; bottom: 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cur-bonus b { font: 900 clamp(20px, 2.4vw, 28px)/1.1 var(--head); color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.cur-bonus small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cur-bonus span { margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.cur-main { display: flex; flex-direction: column; min-width: 0; }
.cur-name { margin: 4px 0 8px; font: 900 clamp(26px, 3vw, 38px)/1.05 var(--head); }
.cur-desc { margin: 0 0 18px; max-width: 460px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.cur-box { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px; border-radius: 16px; background: var(--sunk); border: 1px solid var(--line); }
.cur-get, .cur-pay { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; min-width: 0; cursor: text; }
.cur-pay { min-width: 160px; background: var(--card); border: 1px solid var(--line); }
.cur-lbl { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cur-pct { position: absolute; right: 10px; top: 10px; padding: 3px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 900; color: #08140c; background: var(--tone); }
.cur-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.cur-row input { min-width: 0; max-width: 100%; padding: 0; border: 0; outline: 0; background: none; font: 900 clamp(26px, 3.6vw, 44px)/1.1 var(--head); color: var(--text); font-variant-numeric: tabular-nums; }
.cur-get input { color: var(--tone); }
.cur-pay input { font-size: clamp(22px, 2.4vw, 28px); }
.cur-row em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--muted); }
.cur-pay em { color: var(--tone); font-size: 18px; }

.cur .tk-slider { --p: 50%; position: relative; margin: 44px 4px 0; padding: 0 0 30px; }
.cur #tkRange { height: 22px; padding: 0; border: 0; background: none; border-radius: 0; }
.cur #tkRange::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--tone) var(--p), var(--card-3) var(--p)); }
.cur #tkRange::-moz-range-track { height: 5px; background: var(--card-3); }
.cur #tkRange::-moz-range-progress { height: 5px; background: var(--tone); }
.cur #tkRange::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8.5px; border-radius: 50%; background: #fff; border: 4px solid color-mix(in srgb, var(--tone) 55%, #10141a);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 22%, transparent); filter: none; }
.cur #tkRange::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid color-mix(in srgb, var(--tone) 55%, #10141a); }
.tk-bub { position: absolute; bottom: calc(100% - 4px); left: calc(11px + (100% - 22px) * var(--p) / 100%); transform: translateX(-50%); padding: 5px 9px; border-radius: 9px; white-space: nowrap;
  font-size: 12.5px; font-weight: 900; color: #0b0b0f; background: #fff; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); pointer-events: none; }
.tk-bub::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #fff; }
.cur .tk-ticks { left: 11px; right: 11px; bottom: 0; height: 28px; }
.cur .tk-ticks button { font-size: 12px; color: var(--muted); gap: 5px; }
.cur .tk-ticks button i { height: 7px; }
.cur .tk-ticks button.on { color: var(--tone); }
.cur-cart { margin-top: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; border-radius: 14px; font: 800 16px/1 var(--head); color: #fff;
  background: linear-gradient(100deg, var(--accent), #ff8a2a); box-shadow: 0 14px 28px -14px rgba(242,106,12,.9); transition: filter .2s, transform .15s; }
.cur-cart .ic { width: 18px; height: 18px; }
.cur-cart:hover { filter: brightness(1.07); } .cur-cart:active { transform: scale(.985); }
.cur-buy { margin-top: 10px; align-self: center; font-size: 13px; font-weight: 800; color: var(--muted); padding: 6px 10px; }
.cur-buy:hover { color: var(--text); }
.cur-buy span { color: var(--accent); }
[data-theme="light"] .tk-bub { background: #1c1d26; color: #fff; } [data-theme="light"] .tk-bub::after { border-top-color: #1c1d26; }
[data-theme="light"] .cur-bonus b { color: #1c1d26; text-shadow: none; }
@media (max-width: 980px) {
  .cur-body { grid-template-columns: 1fr; gap: 16px; }
  .cur-art { min-height: 0; aspect-ratio: 16 / 10; }
  .cur-art img { width: auto; height: 74%; }
}
@media (max-width: 640px) {
  .cur-tabs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cur-tab { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; position: relative; }
  .ct-ico { width: 40px; height: 40px; } .ct-ico img { width: 28px; height: 28px; }
  .ct-check { position: absolute; right: 10px; top: 10px; width: 20px; height: 20px; }
  .cur-tab.on .ct-check::after { left: 5.5px; top: 2px; width: 5px; height: 9px; }
  .ct-t b { font-size: 13.5px; }
  .cur-panel { padding: 14px; }
  .cur-crumb { font-size: 12px; }
  .cur-box { grid-template-columns: 1fr; }
  .cur-pay { min-width: 0; flex-direction: row; align-items: center; justify-content: space-between; }
  .cur .tk-ticks button { font-size: 10.5px; }
  .cur-cart { height: 52px; font-size: 15px; }
}@media (max-width: 980px) {
  .cur-art { aspect-ratio: 4 / 3; align-content: start; padding-top: 6%; }
  .cur-art img { height: 62%; }
  .cur-art:has(.cur-bonus:not([hidden])) img { height: 56%; }
  .cur-bonus { bottom: 10px; }
  .cur-bonus span { display: none; }
}@media (max-width: 980px) {
  .cur-art img, .cur-art:has(.cur-bonus:not([hidden])) img { height: auto; width: min(44%, 220px); }
}
/* ═════ список товаров: строки как на новом сайте ═════ */
.pk, .pk.on { border: 1px solid rgb(255 255 255 / .06); border-radius: 22px; background: rgb(255 255 255 / .08); box-shadow: none; transition: background .2s, border-color .2s, transform .15s; }
.pk:hover { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .06); }
.pk.on { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .7); }
.pk-ic { width: 56px; height: 56px; border-radius: 13px; border: 0; background: linear-gradient(195deg, rgb(255 255 255 / .12), rgb(255 255 255 / .04)); }
.pk-ic img { width: 40px; height: 40px; }
.pk b { font: 600 18px/1.15 var(--body); color: #fff; }
.pk-pr { font: 600 18px/1 var(--body); color: #fff; gap: 4px; }
.pk-pr i { color: #fff; font-size: 24px; font-weight: 400; }
.pk.on .pk-pr i { color: #fff; }
@media (min-width: 981px) {
  .pk, .pk.on { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; min-height: 66px; padding: 8px 12px 8px 8px; border-radius: 18px; }
  .pk-ic { width: 48px; height: 48px; border-radius: 12px; }
  .pk-ic img { width: 34px; height: 34px; }
  .pk b, .pk-pr { font-size: 16px; }
  .pk-pr i { font-size: 20px; }
  /* длинные названия («Восстановление прав», «Супер-кейс с донатом») переносятся на 2 строки вместо многоточия */
  .pk b { display: block; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.2; }
}
@media (max-width: 980px) {
  .pk-ic { width: 52px; height: 52px; }
  .pk b, .pk-pr { font-size: 14px; }
}
[data-theme="light"] .pk, [data-theme="light"] .pk.on { background: rgb(20 20 40 / .05); border-color: rgb(20 20 40 / .06); box-shadow: none; }
[data-theme="light"] .pk:hover { background: rgb(20 20 40 / .08); }
[data-theme="light"] .pk.on { background: rgb(20 20 40 / .1); border-color: rgb(20 20 40 / .55); }
[data-theme="light"] .pk-ic { background: linear-gradient(195deg, rgb(20 20 40 / .1), rgb(20 20 40 / .03)); }
[data-theme="light"] .pk b, [data-theme="light"] .pk-pr, [data-theme="light"] .pk-pr i { color: var(--text); }

/* ═════ шапка товара как на новом сайте: фон «Искры», сроки с ценами, Montserrat ═════ */
.pk b, .pk-pr, .pv-head { font-family: Montserrat, var(--body); }
.pv-head { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 28px; border: 1px solid #393939; background: #141415; color: #fff; }
.pv-head > :not(.sparks) { position: relative; z-index: 2; }
.pv-head .sparks { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit;
  background: radial-gradient(90% 140% at 75% 100%, rgb(var(--ca) / .65), rgb(var(--cb) / .25) 45%, transparent 75%); animation: sparks-glow 6s ease-in-out infinite; }
.pv-head .sparks::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(14 14 15 / .55), rgb(14 14 15 / .1) 60%, rgb(14 14 15 / .25)); }
.pv-head .sparks i { position: absolute; bottom: -10px; width: 6px; height: 6px; background: rgb(var(--ca)); box-shadow: 0 0 8px rgb(var(--ca)); animation: sparks-rise linear infinite; }
/* пульс свечения — только opacity (раньше filter: hue-rotate/brightness перерисовывал всю шапку каждый кадр) */
@keyframes sparks-glow { 0%, 100% { opacity: .88; } 50% { opacity: 1; } }
@keyframes sparks-rise { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(-240px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pv-head .sparks, .pv-head .sparks i { animation: none; } .pv-head .sparks i { display: none; } }
.pv-head .pv-top, [data-theme="light"] .pv-head .pv-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 0; padding: 14px 16px; border: 0; border-radius: 0; background: none; overflow: visible; }
.pv-name { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pv-head .pv-ic, [data-theme="light"] .pv-head .pv-ic { flex: none; width: 58px; height: 58px; border-radius: 18px; border: 1px solid #323232; background: #252525; }
.pv-head .pv-ic img { width: 36px; height: 36px; filter: none; }
.pv-head .pv-t small, .pv-head .pv-bonus small { margin: 0; font-size: 14px; font-weight: 500; color: #a6a6a6; }
.pv-head .pv-t h3 { margin-top: 4px; font: 600 21px/1.15 Montserrat, var(--body); color: #fff; }
.pv-head .pv-bonus b, [data-theme="light"] .pv-head .pv-bonus b:not(.pv-rar) { display: block; margin-top: 4px; font: 600 21px/1.15 Montserrat, var(--body); color: #44f440; font-variant-numeric: tabular-nums; }
.pv-head .pv-bonus b.pv-rar { color: color-mix(in srgb, var(--tone) 75%, #fff); }
.pv-head .pv-per, [data-theme="light"] .pv-head .pv-per { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; padding: 0; border-radius: 18px; border: 1px solid rgb(255 255 255 / .06); background: rgb(255 255 255 / .07); overflow: hidden; }
.pv-head .pv-per button, [data-theme="light"] .pv-head .pv-per button { display: flex; flex-direction: column; align-items: center; gap: 2px; height: auto; padding: 8px; border-radius: 0; font: 500 12px/1.2 Montserrat, var(--body); color: #a6a6a6; background: none; box-shadow: none; transition: background .2s, color .2s; }
.pv-head .pv-per button b { font-size: 14px; font-weight: 700; color: #fff; }
.pv-head .pv-per button + button { border-left: 1px solid rgb(255 255 255 / .06); }
.pv-head .pv-per button:hover { color: #fff; background: rgb(255 255 255 / .06); }
.pv-head .pv-per button.on, [data-theme="light"] .pv-head .pv-per button.on { color: #fff; background: rgb(255 255 255 / .15); box-shadow: none; }
.pv-cost b { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .pv-head .pv-top, [data-theme="light"] .pv-head .pv-top { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 14px; }
  .pv-head .pv-bonus { display: block; text-align: left; padding: 0; border: 0; }
}

/* ═════ производительность ═════ */
/* блоки ниже первого экрана не рендерятся, пока до них не доскроллили (auto запоминает реальную высоту).
   Поля + отрицательные отступы оставляют место для тени/подъёма карточек при наведении — content-visibility обрезает отрисовку по краю блока */
.more { content-visibility: auto; contain-intrinsic-size: auto 520px; padding: 0 24px 40px; margin-inline: -24px; margin-bottom: -40px; }
.foot { content-visibility: auto; contain-intrinsic-size: auto 380px; }
.bans .ban-row:not(.ban-hd) { content-visibility: auto; contain-intrinsic-size: auto 46px; }
@media (max-width: 980px) { .bans .ban-row:not(.ban-hd) { contain-intrinsic-size: auto 64px; } }
/* app.js (IntersectionObserver) ставит .offscreen на баннеры, гирлянду, #grid, #tokens, #subsInline, #subsList, когда они >100px за экраном —
   бесконечные анимации внутри (и в их ::before/::after) стоят на паузе */
.offscreen, .offscreen *, .offscreen::before, .offscreen::after, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx { display: none; }
}

/* ═════ html.lite — слабое устройство / экономия трафика / reduced motion (класс ставит скрипт в <head>) ═════ */
/* снег на canvas не показываем (JS может вообще не запускать цикл отрисовки) */
html.lite .fx { display: none; }
html.lite { scroll-behavior: auto; }
/* декоративные бесконечные анимации: гирлянда, блики, искры, «парение», пульсы, скелетон */
html.lite :is(.sl-fx i, .sl-pic, .sb-art, .tk-img, .spark, .tk-ticks button.next, .live-tag i, .pk-hit .ic, .pk b em.pk-hit .ic, .pick-head i, .pick-head i svg,
  .sx-px, .ph-rays, .cur-art img, .pv-head .sparks, .card, .pk, .page, .tk:not([hidden]), .subs-wrap:not([hidden]), .sticky-buy) { animation: none !important; }
html.lite .garland::before, html.lite .garland::after, html.lite .sk::after, html.lite .sl-fx::after, html.lite .live-tag::after, html.lite .live-tag > i::before,
html.lite .live-tag > i::after, html.lite .on-dot::after, html.lite .pick-head::after, html.lite .sub-pop::after, html.lite .lg-mark::before { animation: none !important; }
html.lite .garland::before, html.lite .garland::after { opacity: 1; }
html.lite .sl-fx::after, html.lite .live-tag::after, html.lite .sub-pop::after, html.lite .pick-head::after, html.lite .sk::after,
html.lite .live-tag > i::before, html.lite .live-tag > i::after, html.lite .on-dot::after { display: none; }
/* искры в шапке товара прячем, статичный градиент фона остаётся */
html.lite .pv-head .sparks i { display: none; }
/* backdrop-filter → обычный полупрозрачный фон */
html.lite *, html.lite *::before, html.lite *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lite .top { background: color-mix(in srgb, var(--bg) 97%, transparent); }
html.lite .tabbar { background: color-mix(in srgb, var(--bg) 99%, transparent); }
@media (max-width: 980px) { html.lite .side { background: color-mix(in srgb, var(--bg) 98%, transparent); } }
html.lite .feed, html.lite .sticky-buy { background: var(--card); }
html.lite .modal { background: rgba(0,0,0,.82); }
html.lite .cart-scrim { background: rgba(0,0,0,.78); }
html.lite .lgm-scrim { background: rgba(5,5,10,.85); }
html[data-theme="light"].lite .modal, html[data-theme="light"].lite .cart-scrim { background: rgba(20,20,30,.6); }
html.lite .sl-hint { background: rgba(0,0,0,.42); }
html.lite .dots { background: rgba(0,0,0,.34); }
html.lite .sl-chip, html.lite .sl-tags li { background: rgba(0,0,0,.32); }
/* крупные размытия и тени-фильтры */
html.lite :is(.garland, .sl-pic, .sb-art, .tk-img, .cur-art img, .card-img img, .mode img, .cat img, .ph-item img, .pk-hit, .sub-pop .ic) { filter: none !important; }
html.lite .card-img::before, html.lite .lg-mark::before { filter: none !important; }
html.lite .card-img::before { opacity: .55; }
html.lite :is(.card:hover, .more-card:hover, .cat:hover, .cat.on, .pick-head, .sub-pop, .tk-btn, .btn-main, .feed, .sticky-buy, .ph-item, .dlv-pkt, .spark, .pv-head .sparks i) { box-shadow: none !important; }
html.lite .sl-title { text-shadow: 0 3px 0 var(--sh); }

/* ═════ ПК: правая панель товара по высоте ровно как левый список ═════ */
@media (min-width: 981px) {
  .shopx { align-items: stretch; }
  .pv-feat { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .pv-feat .pv-scroll { flex: 1 1 0; min-height: 0; max-height: none; }
}

/* ═════ приятный скролл: тонкий тёмный ползунок, без рывка страницы при открытии окон, внутренние списки не утягивают страницу ═════ */
html { scrollbar-gutter: stable; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 10px; background: rgb(255 255 255 / .16) padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgb(255 255 255 / .3); }
::-webkit-scrollbar-thumb:active { background-color: var(--accent); }
::-webkit-scrollbar-corner { background: transparent; }
.pick-list::-webkit-scrollbar, .pv-scroll::-webkit-scrollbar, .co-body::-webkit-scrollbar, .co-form::-webkit-scrollbar, .cart-list::-webkit-scrollbar, .sx-tw::-webkit-scrollbar { width: 8px; height: 8px; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background-color: rgb(20 20 40 / .2); }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background-color: rgb(20 20 40 / .35); }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .22) transparent; }
  [data-theme="light"] { scrollbar-color: rgb(20 20 40 / .25) transparent; }
}
.pick-list, .pv-scroll, .co-body, .co-form, .cart-list { overscroll-behavior: contain; }
.sx-tw, .cmp-scroll { overscroll-behavior: auto; overscroll-behavior-x: contain; }   /* таблицы листаются только вбок — вертикальная прокрутка страницы над ними не блокируется */
@supports selector(::-webkit-scrollbar) {   /* Chrome игнорирует ::-webkit-scrollbar там, где задан scrollbar-color — сбрасываем, чтобы ползунки везде были одинаковые */
  .pick-list, .pv-scroll, .co-body, .co-form, .sx-tw { scrollbar-width: auto; scrollbar-color: auto; }
}

/* ═════ пока открыты корзина, оформление или сравнение — страница под ними не прокручивается ═════
   (overflow: hidden на body не срабатывал: у html задан overflow-x: clip, и запрет не доходил до окна) */
html:has(> body.cart-open), html:has(> body.modal-open), html:has(> body.cmp-open),
html:has(#cart:not([hidden])), html:has(#modal:not([hidden])), html:has(#compare:not([hidden])) { overflow: hidden; }

/* ═════ кнопка корзины как на новом сайте: стеклянный квадрат, оранжевая иконка, счётчик-градиент ═════ */
.fab-cart { right: 24px; bottom: 24px; width: 64px; height: 64px; border-radius: 20px; color: #ffb06b;
  background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgb(0 0 0 / .5); transition: transform .2s, background .2s; }
.fab-cart:hover { background: rgb(255 255 255 / .12); transform: none; }
.fab-cart:active { transform: scale(.95); }
.fab-cart svg { width: 26px; height: 26px; stroke-width: 2; }
.fab-cart .cart-n { top: -8px; right: -8px; min-width: 22px; height: 22px; line-height: 22px; padding: 0 6px; border-radius: 11px; font: 700 12px/22px Montserrat, var(--body);
  background: linear-gradient(308deg, #ea7000 3%, #cf2500); color: #fff; box-shadow: 0 0 0 3px #0b0b0c; }
html.lite .fab-cart { -webkit-backdrop-filter: none; backdrop-filter: none; background: #1c1c1e; }
[data-theme="light"] .fab-cart { background: rgb(255 255 255 / .85); border-color: rgb(20 20 40 / .12); color: #e25400; box-shadow: 0 14px 30px -12px rgb(20 20 40 / .35); }
[data-theme="light"] .fab-cart .cart-n { box-shadow: 0 0 0 3px #fff; }
@media (max-width: 640px) { .fab-cart { right: 16px; bottom: 16px; width: 58px; height: 58px; } }

/* ═════ корзина: вместо выбора срока — сколько токенов даст привилегия ═════ */
.cl-bonus { display: inline-flex; align-self: flex-start; align-items: center; margin-top: 8px; padding: 5px 10px; border-radius: 9px; font: 600 13px/1.1 Montserrat, var(--body); color: #44f440; background: rgb(68 244 64 / .1); border: 1px solid rgb(68 244 64 / .22); font-variant-numeric: tabular-nums; white-space: nowrap; }
[data-theme="light"] .cl-bonus { color: #15803d; background: rgb(21 128 61 / .08); border-color: rgb(21 128 61 / .25); }

/* ═════ блок «Больше о MixAnarchy» убран — соцсети на всю ширину ═════ */
.more { grid-template-columns: minmax(0, 1fr); }

/* ═════ «Будь в курсе»: соцсети карточками, как на новом сайте ═════ */
.soc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.sc { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 20px; border-radius: 24px; color: #fff;
  border: 1px solid rgb(255 255 255 / .07); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, transparent), color-mix(in srgb, var(--c) 8%, transparent)); transition: transform .2s, border-color .2s; }
.sc:hover { transform: translateY(-2px); border-color: rgb(255 255 255 / .16); }
.sc > * { position: relative; z-index: 1; }
.sc::before { content: ""; position: absolute; inset: -40%; z-index: 0; pointer-events: none; background: radial-gradient(40% 50% at 20% 50%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%); animation: sc-breath 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes sc-breath { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.sc-ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .06); }
.sc-ic img { width: 26px; height: 26px; }
.sc-t { min-width: 0; font-family: Montserrat, var(--body); }
.sc-t b { display: block; font-size: 17px; font-weight: 700; }
.sc-t small { display: block; margin-top: 3px; font-size: 13px; color: rgb(255 255 255 / .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-go { flex: none; margin-left: auto; width: 18px; height: 18px; fill: none; stroke: rgb(255 255 255 / .6); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s, transform .2s; }
.sc:hover .sc-go { stroke: #fff; transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .sc::before { animation: none; opacity: .6; } }
html.lite .sc::before { animation: none; opacity: .6; }
[data-theme="light"] .sc { color: var(--text); border-color: rgb(20 20 40 / .08); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 16%, #fff), color-mix(in srgb, var(--c) 4%, #fff)); }
[data-theme="light"] .sc-ic { background: #fff; border-color: rgb(20 20 40 / .08); }
[data-theme="light"] .sc-t small { color: var(--muted); }
[data-theme="light"] .sc-go { stroke: var(--muted); }
@media (max-width: 1100px) { .soc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .soc-grid { gap: 10px; } .sc { padding: 14px; gap: 12px; border-radius: 20px; } .sc-ic { width: 44px; height: 44px; border-radius: 14px; } .sc-t b { font-size: 15px; } .sc-t small { font-size: 12px; } .sc-go { display: none; } }
@media (max-width: 420px) { .soc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ═════ подвал: фоновая надпись — в пустом месте справа от переключателя «Анархия / Гриф», ничего не перекрывает ═════ */
@media (min-width: 981px) {
  .foot-card::before { content: none; }
  .foot-brand { position: relative; container-type: inline-size; }
  .foot-brand > * { position: relative; z-index: 1; }
  .foot-brand::before { content: "MixAnarchy"; position: absolute; right: 0; bottom: 4px; z-index: 0; pointer-events: none; white-space: nowrap;
    font: 800 clamp(32px, calc((100cqw - 500px) / 7.8), 64px)/1 var(--head); color: rgba(255,255,255,.035); }
  [data-theme="light"] .foot-brand::before { color: rgba(24,26,48,.045); }
}

/* ═════ оформление заказа: шапка с анимированным фоном «Искры», как у карточки товара ═════ */
.co-head { isolation: isolate; background: #141415; }
.co-head > :not(.sparks) { z-index: 1; }
.co-head .sparks { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit;
  background: radial-gradient(90% 140% at 75% 100%, rgb(var(--ca) / .65), rgb(var(--cb) / .25) 45%, transparent 75%); animation: sparks-glow 6s ease-in-out infinite; }
.co-head .sparks::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(14 14 15 / .55), rgb(14 14 15 / .1) 60%, rgb(14 14 15 / .25)); }
.co-head .sparks i { position: absolute; bottom: -10px; width: 6px; height: 6px; background: rgb(var(--ca)); box-shadow: 0 0 8px rgb(var(--ca)); animation: sparks-rise linear infinite; }
@media (prefers-reduced-motion: reduce) { .co-head .sparks, .co-head .sparks i { animation: none; } .co-head .sparks i { display: none; } }
html.lite .co-head .sparks { animation: none; } html.lite .co-head .sparks i { display: none; }
[data-theme="light"] .co-head { background: #141415; color: #fff; }

/* ═════ «Подписка»: карточки преимуществ — вёрстка как на funtime.su/subscription (картинка сверху, Russo One, короны по уровням) ═════ */
.sx-hls { gap: 16px; }
.sx-hl, [data-theme="light"] .sx-hl { border-radius: 16px; border: 1px solid rgb(255 255 255 / .08); background: #100e15; color: rgb(255 255 255 / .93); font-family: Manrope, var(--body); box-shadow: none; }
.sx-hl:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px var(--t); }
.sx-hl-art { position: relative; flex-shrink: 0; height: 172px; }
.sx-hl-pic { display: block; padding: 0; background: #100e15; }
.sx-hl-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-hl-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgb(16 14 21 / .04) 0%, rgb(16 14 21 / .08) 56%, rgb(16 14 21 / .5) 82%, #100e15 100%); }
.sx-hl-b { padding: 4px 20px 20px; }
.sx-hl-b small { font-size: 12px; font-weight: 600; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.sx-hl-b h3 { margin: 6px 0 0; font: 400 28px/1.04 "Russo One", var(--head); letter-spacing: -.02em; text-transform: uppercase; color: #fff; }
.sx-hl-b p { margin: 0; padding-top: 16px; margin-top: auto; font-size: 14px; line-height: 1.5; color: rgb(255 255 255 / .6); }
.sx-hl-v { margin-top: auto; padding-top: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sx-hl-v > div { min-width: 0; gap: 8px; padding-left: 10px; border-left: 1px solid rgb(255 255 255 / .07); }
.sx-hl-v > div:first-child { padding-left: 0; border-left: 0; }
.sx-hl-v .sx-cr { display: inline-flex; gap: 1px; height: 12px; }
.sx-hl-v .sx-cr i:not(.on) { display: none; }
.sx-hl-v .sx-cr svg { width: 12px; height: 12px; }
.sx-hl-v b { font: 400 18px/1.05 "Russo One", var(--head); letter-spacing: -.01em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; color: #fff; }
@media (max-width: 640px) { .sx-hl-art { height: auto; aspect-ratio: 2 / 1; } .sx-hl-b h3 { font-size: 24px; } }
.sx-hl { container-type: inline-size; }
.sx-hl-v b { font-size: clamp(13px, 6cqw, 18px); white-space: normal; overflow-wrap: anywhere; }
.sx-hl-b h3 { font-size: clamp(22px, 9.5cqw, 28px); }

/* ═════ «Вопросы о подписке»: стрелка вниз/вверх вместо плюса ═════ */
.sx-q summary::after { content: ""; font-size: 0; background: var(--card);
  -webkit-mask: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), color .2s, background .2s; }
.sx-q summary::before { content: none; }
.sx-q summary { position: relative; }
.sx-q summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6a6a6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 16px; }
.sx-q summary:hover::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.sx-q[open] summary::after, .sx-q.sx-anim.is-open summary::after { transform: rotate(180deg); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.sx-q.sx-anim:not(.is-open) summary::after { transform: none; background-color: var(--card); }
.sx-q p { animation: none; }
.sx-q.is-open p { animation: sxq-in .32s ease both; }
@keyframes sxq-in { from { opacity: 0; transform: translateY(-4px); } }
.sx-q.sx-anim:not(.is-open) p { opacity: 0; transition: opacity .18s; }

/* ═════ онлайн в шапке: спокойная плашка в стиле остальных кнопок шапки — без свечения и пульса, ровный разделитель тысяч ═════ */
.online-pill, .online-pill.off, [data-theme="light"] .online-pill { background: var(--card-2); border: 1px solid var(--line); box-shadow: none; color: var(--muted);
  font-family: Montserrat, var(--body); font-size: 13px; font-weight: 600; gap: 8px; }
.on-dot { width: 7px; height: 7px; background: #22c55e; box-shadow: none; }
.on-dot::after { content: none; display: none; }
.online-pill.off .on-dot { background: var(--bad); box-shadow: none; }
.online-pill b { font: 700 14px/1 Montserrat, var(--body); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.online-pill .rs { display: inline-block; width: .28em; }
.online-pill .on-lbl { color: var(--muted); }
.sx-q[open] summary::after, .sx-q.sx-anim.is-open summary::after { background-color: rgb(255 255 255 / .12); }   /* открытый вопрос — без оранжевого, просто светлее */
[data-theme="light"] .sx-q[open] summary::after, [data-theme="light"] .sx-q.sx-anim.is-open summary::after { background-color: rgb(20 20 40 / .12); }

/* ═════ вопросы: плашка неподвижна, поворачивается только стрелка (раньше крутилась вся плашка — казалось, что она раздувается) ═════ */
.sx-q summary::after, .sx-q[open] summary::after, .sx-q.sx-anim.is-open summary::after, .sx-q.sx-anim:not(.is-open) summary::after { transform: none; background-image: none; transition: background-color .2s; }
.sx-q summary::before { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6a6a6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.sx-q summary:hover::before, .sx-q[open] summary::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.sx-q[open] summary::before, .sx-q.sx-anim.is-open summary::before { transform: rotate(180deg); }
.sx-q.sx-anim:not(.is-open) summary::before { transform: none; }
[data-theme="light"] .sx-q summary:hover::before, [data-theme="light"] .sx-q[open] summary::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181a30' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
@media (max-width: 640px) { .sx-q summary::before { right: 2px; } }

/* ═════ «Выбрать подписку»: плоская кнопка без свечения и градиентного блика, шрифт Montserrat ═════ */
.sx-cta-btn { gap: 10px; height: 48px; padding: 0 22px; border-radius: 14px; border: 0; background: #e5383b; box-shadow: none; filter: none;
  font: 700 15px/1 Montserrat, var(--body); letter-spacing: 0; text-transform: none; color: #fff; transition: background .2s, transform .15s; }
.sx-cta-btn::before, .sx-cta-btn::after { content: none; }
.sx-cta-btn:hover { background: #f04447; filter: none; transform: none; }
.sx-cta-btn:active { transform: scale(.98); }
.sx-cta-btn svg { width: 16px; height: 16px; }

/* ═════ FAQ: тот же спокойный стиль, что у «Вопросов о подписке» — Montserrat, нейтральные плашки, стрелка вместо плюса, плавное раскрытие (app.js) ═════ */
#faqList .rule { border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
#faqList .rule summary { position: relative; padding: 16px 18px; gap: 14px; font: 600 15px/1.35 Montserrat, var(--body); letter-spacing: 0; text-transform: none; color: var(--text); }
#faqList .rule summary .n { background: rgb(255 255 255 / .06); color: var(--muted); font: 700 14px/1 Montserrat, var(--body); }
#faqList .rule summary::after { content: ""; margin-left: auto; flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; font-size: 0; background: rgb(255 255 255 / .05); transform: none; transition: background-color .2s; }
#faqList .rule summary::before { content: ""; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6a6a6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s cubic-bezier(.2,.8,.2,1); }
#faqList .rule summary:hover::before, #faqList .rule[open] summary::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
#faqList .rule[open] summary::before, #faqList .rule.sx-anim.is-open summary::before { transform: rotate(180deg); }
#faqList .rule.sx-anim:not(.is-open) summary::before { transform: none; }
#faqList .rule[open] summary::after, #faqList .rule.sx-anim.is-open summary::after { background-color: rgb(255 255 255 / .12); }
#faqList .rule.sx-anim:not(.is-open) summary::after { background-color: rgb(255 255 255 / .05); }
#faqList .rule:hover { border-color: rgb(255 255 255 / .12); }
#faqList .faq-a { padding: 0 18px 18px 62px; font: 400 14px/1.6 Montserrat, var(--body); color: var(--text-2); }
#faqList .rule.is-open .faq-a { animation: sxq-in .32s ease both; }
#faqList .rule.sx-anim:not(.is-open) .faq-a { opacity: 0; transition: opacity .18s; }
[data-theme="light"] #faqList .rule summary .n, [data-theme="light"] #faqList .rule summary::after { background-color: rgb(20 20 40 / .06); }
[data-theme="light"] #faqList .rule[open] summary::after { background-color: rgb(20 20 40 / .12); }
[data-theme="light"] #faqList .rule summary:hover::before, [data-theme="light"] #faqList .rule[open] summary::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181a30' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
@media (max-width: 640px) { #faqList .rule summary { padding: 14px; font-size: 14px; } #faqList .rule summary::before { right: 14px; } #faqList .faq-a { padding: 0 14px 16px 58px; } }

/* ═════ лента LIVE-покупок: спокойный стиль сайта — плоская плашка, без глянца, пульса и свечения, Montserrat ═════ */
.live { height: 56px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: none; }
.live-tag { gap: 10px; margin-right: 0; padding: 0 18px 0 16px; clip-path: none; background: none; box-shadow: none; border-right: 1px solid var(--line); color: var(--text); }
.live-tag::before, .live-tag::after { content: none; }
.live-tag > i { width: 8px; height: 8px; background: #ef4444; box-shadow: none; animation: none; }
.live-tag > i::before, .live-tag > i::after { content: none; display: none; }
.live-tag .lt-t b { font: 700 13px/1.1 Montserrat, var(--body); letter-spacing: .04em; color: var(--text); }
.live-tag .lt-t small { font: 500 11px/1.2 Montserrat, var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.lv { height: 56px; font-family: Montserrat, var(--body); }
.lv-img, [data-theme="light"] .lv-img { width: 32px; height: 32px; border-radius: 9px; border: 0; background: rgb(255 255 255 / .06); }
.lv-img img { width: 24px; height: 24px; filter: none; }
.lv-n { font-weight: 600; font-size: 13px; }
.lv-w { font-size: 13px; color: var(--muted); }
.lv-w b { font-weight: 600; }
.lv-w i { font-weight: 600; background: rgb(255 255 255 / .06); color: var(--muted); }
.lv-p { font: 700 13px/1 Montserrat, var(--body); color: #44f440; padding: 0; border: 0; background: none; font-variant-numeric: tabular-nums; }
.lv small { font-size: 12px; color: var(--muted); }
a.lv:hover { background: rgb(255 255 255 / .03); }
[data-theme="light"] .lv-img { background: rgb(20 20 40 / .06); }
[data-theme="light"] .lv-p { color: #15803d; }
@media (max-width: 640px) { .live, .lv { height: 48px; } .live-tag { padding: 0 12px; gap: 8px; } }

/* ник в ленте: скрытая часть — звёздочки вместо размытия */
.lv-mask { font-style: normal; margin-left: 1px; color: var(--muted); letter-spacing: .08em; font-weight: 600; }

/* «Выбери товар» — в стиле шапки товара: тёмная карточка с искрами, без полос, бликов и прыгающей стрелки */
.pick-head { height: 72px; gap: 12px; padding: 0 16px 0 14px; margin-bottom: 0; overflow: hidden; isolation: isolate; border-radius: 18px;
  background: #141415; border: 1px solid #393939; box-shadow: none; color: #fff; font-family: Montserrat, var(--body); }
.pick-head::before { content: none; }
.pick-head > :not(.sparks) { position: relative; z-index: 2; }
.pick-head .sparks { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit;
  background: radial-gradient(80% 160% at 85% 100%, rgb(var(--ca) / .5), rgb(var(--cb) / .18) 45%, transparent 75%); animation: sparks-glow 6s ease-in-out infinite; }
.pick-head .sparks::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(14 14 15 / .7), rgb(14 14 15 / .15) 65%, rgb(14 14 15 / .3)); }
.pick-head .sparks i { position: absolute; bottom: -10px; width: 5px; height: 5px; background: rgb(var(--ca)); box-shadow: 0 0 6px rgb(var(--ca)); animation: sparks-rise linear infinite; }
.ph-ic { width: 42px; height: 42px; border-radius: 12px; background: rgb(242 106 12 / .14); border: 1px solid rgb(242 106 12 / .35); box-shadow: none; color: #ff8a2a; }
.ph-t b { font: 700 16px/1.1 Montserrat, var(--body); text-shadow: none; letter-spacing: 0; }
.ph-t small { font: 500 12px/1.2 Montserrat, var(--body); color: rgb(255 255 255 / .55); opacity: 1; }
.pick-head i { width: 32px; height: 32px; border-radius: 10px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); color: rgb(255 255 255 / .7); box-shadow: none; }
.pick-head i svg { animation: none; stroke-width: 2.4; }
[data-theme="light"] .pick-head, [data-theme="light"] .pick-head i { box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .pick-head .sparks, .pick-head .sparks i { animation: none; } .pick-head .sparks i { display: none; } }
html.lite .pick-head .sparks { animation: none; } html.lite .pick-head .sparks i { display: none; }

/* «Личный кабинет» — плоская кнопка как остальные на сайте: без градиента, блика и свечения, Montserrat */
.acc-btn, .acc-btn:not(.in) { height: 40px; gap: 8px; padding: 0 16px 0 12px; border-radius: 12px; background: #f26a0c; border: 0; box-shadow: none; filter: none; color: #fff;
  font: 700 13px/1 Montserrat, var(--body); letter-spacing: 0; transition: background-color .2s, transform .2s; }
.acc-btn:hover { background: #ff7a1f; filter: none; }
.acc-btn:active { transform: translateY(1px); }
.acc-btn > svg { width: 17px; height: 17px; stroke-width: 2.2; }
[data-theme="light"] .acc-btn { box-shadow: none; }
@media (max-width: 1100px) { .acc-btn, .acc-btn.in { padding: 0; width: 40px; } }

/* плавающая корзина видна только когда в ней есть товары */
.fab-cart { transition: transform .25s, background .2s, opacity .25s, visibility 0s; }
.fab-cart.is-empty { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px) scale(.9); transition: transform .25s, opacity .25s, visibility 0s .25s; }

/* баннеры: премиальная типографика — Dela Gothic One в заголовках, кнопках и ценах, Montserrat в мелком тексте; без обводки и «ступенек» */
.sl-text { --bf: Montserrat, var(--body); --df: "Dela Gothic One", Montserrat, var(--body); }
.sl-title { font-family: var(--df); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.01em; text-shadow: 0 2px 18px rgb(0 0 0 / .28); }
.side-banner .sl-title { font-size: clamp(26px, 2.2vw, 31px); }
.slide .sl-title { max-width: 13em; text-wrap: balance; } .sl-subs .sl-title { max-width: 9em; } /* заголовок переносится и не заезжает на картинку */
.sl-title mark { font-weight: 400; }
.sl-sub { font: 500 15px/1.45 Montserrat, var(--body); text-shadow: 0 1px 10px rgb(0 0 0 / .3); }
.sl-sub mark { font-weight: 700; }
.sl-chip { font: 600 11px/1 Montserrat, var(--body); letter-spacing: .12em; box-shadow: none; }
.sl-go { font: 400 13px/1 var(--df); letter-spacing: .04em; box-shadow: 0 10px 24px -10px rgb(0 0 0 / .45); }
.slide:hover .sl-go, .side-banner:hover .sl-go { box-shadow: 0 14px 28px -10px rgb(0 0 0 / .5); }
.sl-hint { text-shadow: none; }
.sl-hint small { font: 600 10px/1.2 Montserrat, var(--body); letter-spacing: .12em; opacity: .8; }
.sl-hint b { font: 400 21px/1 var(--df); letter-spacing: 0; text-shadow: none; }
.sl-hint s { font: 500 12px Montserrat, var(--body); }
.sl-hint small + b + small { font: 500 12px/1 Montserrat, var(--body); letter-spacing: 0; opacity: .75; }

/* огонёк «Хит продаж»: детальная иконка, мягкое покачивание пламени вместо дёрганья, лёгкая тень для отделения от картинки */
.pk-hit .ic, .pk b em.pk-hit .ic { animation: flame-sway 2.8s ease-in-out infinite; transform-origin: 50% 92%; filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / .55)); }
.pk-hit .ic { width: 19px; height: 19px; }
@keyframes flame-sway { 0%, 100% { transform: scale(1, 1) skewX(0); } 25% { transform: scale(.98, 1.04) skewX(-2.5deg); } 50% { transform: scale(1.02, .98) skewX(0); } 75% { transform: scale(.99, 1.05) skewX(2deg); } }
@media (prefers-reduced-motion: reduce) { .pk-hit .ic, .pk b em.pk-hit .ic { animation: none; } }

/* «Контакты» — плитки как на новом сайте (5190): поддержка во всю высоту, соцсети справа, хромированные 3D-фигуры */
.ct { display: grid; grid-template-columns: 1fr 1fr 1.65fr; grid-template-rows: 260px 260px; gap: 12px; margin-top: 18px; padding: 12px; border-radius: 30px; background: #151515; border: 1px solid rgb(255 255 255 / .05); }
.ct-tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 28px 26px; border-radius: 24px; border: 1px solid rgb(255 255 255 / .08); color: #fff;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s; }
.ct-tile:hover { transform: translateY(-3px); border-color: rgb(255 255 255 / .18); }
.ct-tile h3 { position: relative; z-index: 1; max-width: 14ch; margin: 0; font: 700 22px/1.12 Montserrat, var(--body); letter-spacing: -.01em; }
.ct-tile p { position: relative; z-index: 1; max-width: 24ch; margin: 8px 0 0; font: 500 13px/1.4 Montserrat, var(--body); color: rgb(255 255 255 / .75); }
.ct-go { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin-top: auto; border-radius: 12px; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .2); transition: background .2s; }
.ct-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ct-tile:hover .ct-go { background: rgb(255 255 255 / .28); }
.ct-tile img { position: absolute; z-index: 0; pointer-events: none; opacity: .95; height: auto; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ct-tile:hover img { transform: translateY(-4px) rotate(-3deg); }
.ct-support { grid-row: 1 / 3; background: radial-gradient(120% 60% at 50% 100%, #2c2c2c, #1c1c1c); }
.ct-support img { left: -10%; bottom: -6%; width: 120%; }
.ct-discord { background: linear-gradient(160deg, #8b5cff, #5a3ef0); }
.ct-discord img { right: -12%; bottom: -16%; width: 70%; }
.ct-telegram { background: linear-gradient(160deg, #2a2a2e, #1b1b1f); }
.ct-telegram img { right: -4%; bottom: -14%; width: 52%; }
.ct-max { grid-column: 2; grid-row: 2; background: linear-gradient(150deg, #3d7bff, #8a3dff); }
.ct-max img { right: -14%; bottom: -18%; width: 72%; }
.ct-vk { grid-column: 3; grid-row: 2; background: linear-gradient(110deg, #0a59e6, #2f8dff); }
.ct-vk:only-child, .ct:not(:has(.ct-max)) .ct-vk { grid-column: 2 / 4; }
.ct-vk img { right: 4%; bottom: -30%; width: 44%; }
[data-theme="light"] .ct { background: #e9eaef; border-color: rgb(20 20 40 / .06); }
@media (max-width: 980px) { .ct { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .ct > * { min-height: 220px; grid-row: auto !important; grid-column: auto !important; } .ct-support { grid-column: 1 / -1 !important; } .ct-support img { left: auto; right: -8%; bottom: -30%; width: 55%; } }
@media (max-width: 560px) { .ct { grid-template-columns: 1fr; padding: 8px; border-radius: 22px; } .ct-tile { padding: 22px 20px; } .ct-tile h3 { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .ct-tile, .ct-tile img { transition: none; } }
@media (max-width: 560px) { .ct > * { min-height: 200px; } .ct-tile img, .ct-support img { left: auto; right: -8%; bottom: -18%; width: 46%; } .ct-tile h3, .ct-tile p { max-width: 62%; } }
.ct-telegram { background: linear-gradient(160deg, #35b8f2, #1b8ad6 60%, #1472c4); } /* фирменный голубой Telegram — светлее и бирюзовее синего ВК под ним */
.ct-telegram p { color: rgb(255 255 255 / .85); }
/* новые фигуры из набора YIUAI: лавовая сфера (поддержка), сине-белая сфера (Telegram), сине-фиолетовая волна (MAX) */
.ct-support img { left: auto; right: -18%; bottom: -8%; width: 105%; }
.ct-telegram img { right: -6%; bottom: -24%; width: 50%; }
.ct-max img { right: -18%; bottom: -16%; width: 92%; }
.ct-max img { right: -20%; bottom: -30%; width: 88%; }
.ct-support { background: linear-gradient(160deg, #ff8a2a, #f26a0c 50%, #b83f00); } /* оранжевый под лавовую сферу */
.ct-support p { color: rgb(255 255 255 / .85); }

/* ── кабинет: вход кодом в игре (/mxlink) ── */
.acc-gate .lg-msg { margin: 0 0 14px; color: #ffb36b; font-weight: 700; }
.lg-cmd { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 6px 0 14px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px dashed rgba(242,106,12,.55); color: var(--text); cursor: pointer; transition: border-color .2s, background .2s; }
.lg-cmd:hover { background: rgba(242,106,12,.08); border-color: #f26a0c; }
.lg-cmd code { font: 800 20px/1.2 "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: .04em; color: #fff; }
.lg-cmd span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #f26a0c; white-space: nowrap; }
.lg-cmd span svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.lg-wait { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.lg-dot { width: 9px; height: 9px; border-radius: 50%; background: #f26a0c; box-shadow: 0 0 0 0 rgba(242,106,12,.6); animation: lgPulse 1.4s infinite; }
@keyframes lgPulse { 70% { box-shadow: 0 0 0 10px rgba(242,106,12,0); } 100% { box-shadow: 0 0 0 0 rgba(242,106,12,0); } }
@media (prefers-reduced-motion: reduce) { .lg-dot { animation: none; } }
@media (max-width: 480px) { .lg-cmd { flex-direction: column; align-items: flex-start; } .lg-cmd code { font-size: 17px; } }
