/* ux.css — фаза А: мобильный хиро, табло статусов, карточка товара, компактные секции.
   Грузится после style2.css и переопределяет его точечно. Только transform/opacity в анимациях. */

/* (правило-резерв под иконки FA убрано: оно ломало центрирование иконок во flex-контейнерах, в т.ч. молнию логотипа) */

/* ── Доступность: видимый фокус с клавиатуры, ссылка «К содержанию», поля без автозума iOS ── */
:where(a, button, summary, input, select, textarea, [tabindex], [role="tab"]):focus-visible { outline: 2px solid #c084fc; outline-offset: 2px; }
.form-control:focus-visible { outline: 2px solid rgba(192, 132, 252, .8); outline-offset: 2px; }
.light-theme :focus-visible { outline-color: #7c3aed; }
.skip-link { position: fixed; left: 8px; top: -60px; z-index: 10060; padding: .6rem 1rem; border-radius: 10px; background: #7c3aed; color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; color: #fff; }
#main:focus { outline: none; }
@media (max-width: 768px) { .form-control, .blog-search input, .site-search-input, .qs-input { font-size: 16px; } }
/* цели для пальца не меньше 40px: крошки были 23px, btn-sm 31px, пилюли bento 31px */
@media (pointer: coarse) {
    .btn-sm { min-height: 40px; }
    .breadcrumb a { display: inline-block; padding: .55rem 0; }
    .bento-pill, .review-product, .blog-sort-btn { min-height: 40px; display: inline-flex; align-items: center; }
    .blog-toc a { display: block; padding: .45rem 0; }
}
/* ссылки внутри текста отличимы не только цветом (к окружающему тексту цвет даёт ~2:1) */
main p a:not(.btn), .seo-text li a:not(.btn), .description-content li a, .ref-ideas li a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

/* скрыть визуально, оставить скринридеру и клавиатуре (радиокнопки тарифов, подписи) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Хиро ─────────────────────────────────────────────── */
.hero-title { letter-spacing: -.01em; }
.hero-title .hero-h1-line { display: block; font-size: .62em; font-weight: 600; color: var(--text-secondary); margin-top: .35em; letter-spacing: 0; }

@media (max-width: 1024px) {
    /* контент первым, маскот после кнопок и меньше: первый экран = заголовок + действие */
    .hero { padding-top: 5.2rem; }
    .hero-layout .hero-mascot { order: 2; margin-top: .25rem; }
    .hero-mascot-img { max-width: 250px; }
    .hero-layout .hero-stats { display: none; } /* дублирует полосу доверия ниже */
    .hero-badge { margin-bottom: .8rem; }
    .hero-subtitle { max-width: 34rem; }
}
/* иконкам без фиксированного бокса резервируем ширину: при позднем шрифте FA ширина менялась с 0 до 1,25em (сдвиг вёрстки) */
.nav-account-btn > i, .hero-status-line i, .hero-buttons .btn > i { display: inline-block; width: 1.25em; text-align: center; }
.hero-status-line .hsl-tail { white-space: nowrap; color: var(--text-muted); }
@media (max-width: 480px) {
    .hero { padding-top: 4.2rem; padding-bottom: 1.5rem; }
    .hero-title { font-size: 2rem; line-height: 1.12; }
    .hero-subtitle { font-size: .95rem; margin-bottom: 1.2rem; }
    .hero-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
    .hero-buttons .btn-lg { padding: .8rem .5rem; font-size: .92rem; width: auto; }
    .hero-mascot-img { max-width: 200px; }
    .mascot-particles { display: none; }
    .hero-trust-chips { gap: .4rem; }
    .hero-trust-chips .htc { font-size: .72rem; padding: .35rem .6rem; }
}

/* ── Табло статусов софта ─────────────────────────────── */
.status-board-section { padding: 1.4rem 0 0; position: relative; z-index: 2; }
.sb-wrap {
    border: 1px solid rgba(168, 85, 247, .22); border-radius: 18px;
    background: linear-gradient(180deg, rgba(20, 5, 40, .78), rgba(14, 2, 30, .62));
    padding: 1.1rem 1.2rem 1rem;
}
.sb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.sb-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); font-weight: 600; }
.sb-title { margin: .25rem 0 0; font-size: 1.35rem; font-family: var(--font-display); }
.sb-countdown {
    display: flex; align-items: center; gap: .7rem; padding: .55rem .85rem; border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, .28); background: rgba(124, 58, 237, .12); min-width: 0;
}
.sb-countdown i { color: var(--accent-light); }
.sb-cd-text { font-size: .82rem; color: var(--text-secondary); line-height: 1.25; }
.sb-cd-text b { color: var(--text-primary); }
.sb-cd-digits { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: #fff; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-cd-digits small { font-size: .6em; font-weight: 600; color: var(--text-secondary); margin: 0 .35em 0 .08em; }
.sb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: .6rem; }
.sb-item {
    display: grid; grid-template-columns: 12px 1fr auto; grid-template-rows: auto auto; column-gap: .6rem; align-items: center;
    padding: .65rem .8rem; border-radius: 12px; text-decoration: none; color: inherit;
    border: 1px solid rgba(168, 85, 247, .16); background: rgba(255, 255, 255, .025);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.sb-item:hover { transform: translateY(-2px); border-color: rgba(168, 85, 247, .45); background: rgba(124, 58, 237, .12); }
.sb-dot { grid-row: 1 / span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.sb-item.status-updating .sb-dot, .status-updating > .sb-dot, .sb-dot.status-updating { background: var(--warning); box-shadow: 0 0 10px var(--warning); }
.sb-item.status-detected .sb-dot, .status-detected > .sb-dot, .sb-dot.status-detected { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.sb-name { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-label { grid-column: 3; grid-row: 1; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--success); white-space: nowrap; }
.sb-item.status-updating .sb-label { color: var(--warning); }
.sb-item.status-detected .sb-label { color: var(--danger); }
.sb-upd { grid-column: 2 / span 2; grid-row: 2; font-size: .72rem; color: var(--text-muted); }
@media (max-width: 768px) {
    .sb-wrap { padding: .9rem .85rem .8rem; border-radius: 14px; }
    .sb-title { font-size: 1.1rem; }
    .sb-countdown { width: 100%; }
    .sb-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
    .sb-item { padding: .55rem .6rem; grid-template-columns: 10px 1fr; }
    .sb-label { grid-column: 2; grid-row: 2; }
    .sb-upd { display: none; }
}
@media (max-width: 380px) { .sb-grid { grid-template-columns: 1fr; } }

/* ── Секции на телефоне: короче и без дублей ───────────── */
@media (max-width: 768px) {
    .section { padding: 2.4rem 0; }
    .section-header { margin-bottom: 1.4rem; }
    .section-title { font-size: 1.55rem; }
    /* популярные товары и отзывы — горизонтальная лента со снапом вместо 8 карточек в столбик */
    .products-grid, .reviews-grid {
        display: flex; overflow-x: auto; gap: .8rem; padding: .2rem .2rem .9rem;
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
    }
    .products-grid > .product-card, .reviews-grid > .review-card { flex: 0 0 76vw; max-width: 340px; scroll-snap-align: start; }
    /* категории — две колонки компактно */
    .categories-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .category-card-content h3 { font-size: .95rem; }
    .category-card-content p { display: none; }
    .category-meta { font-size: .72rem; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .feature-card { padding: 1rem .8rem; }
    .feature-card h3 { font-size: .95rem; }
    .feature-card p { font-size: .8rem; }
    .how-grid { gap: .8rem; }
}

/* ── Карточка товара ───────────────────────────────────── */
/* .main-content уже отступает на 70px под фиксированную шапку: второй отступ у .page-header был двойным */
.page-header-sm { padding: 1.6rem 0 1rem; }
.page-header { padding-top: 2.6rem; }
.info-card-hint { font-size: .68rem; color: var(--text-muted); margin-top: .25rem; line-height: 1.25; }
.info-card-value.status-updating { color: var(--warning); }
.info-card-value.status-detected { color: var(--danger); }
.info-card-value.status-undetected { color: var(--success); }
/* Исключение из ритма DESIGN.md (6rem): у страницы товара верхний отступ 2rem, чтобы цена и кнопка
   покупки попали в первый экран десктопа */
.product-detail.section { padding-top: 2rem; }
/* короткое описание — 3 строки на всех ширинах, полный текст ниже в «Описании» */
.product-short-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1.1rem; }
/* строка доказательств под названием: рейтинг и покупки за 30 дней */
.product-proof { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem; margin: -.35rem 0 .9rem; font-size: .9rem; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.product-proof .pp-rating { color: var(--text-primary); font-weight: 700; text-decoration: none; }
.product-proof .pp-rating i { color: #fbbf24; margin-right: .15rem; }
.product-proof .pp-rating:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-proof .pp-sep { color: var(--text-muted); }
/* строка фактов вместо трёх инфо-карточек: статус и выдача, по одному разу */
.product-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.pf-chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 36px; padding: .4rem .85rem; border-radius: 999px;
    font-size: .86rem; font-weight: 600; color: var(--text-primary); border: 1px solid rgba(168, 85, 247, .22); background: rgba(255, 255, 255, .03); }
.pf-chip i { color: var(--accent-light); }
.pf-chip small { font-size: .8rem; font-weight: 500; color: var(--text-muted); }
.pf-chip.pf-status { background: rgba(16, 185, 129, .08); border-color: rgba(16, 185, 129, .3); color: var(--success); }
.pf-chip.pf-status.status-updating { background: rgba(245, 158, 11, .08); border-color: rgba(245, 158, 11, .3); color: var(--warning); }
.pf-chip.pf-status.status-detected { background: rgba(239, 68, 68, .08); border-color: rgba(239, 68, 68, .3); color: var(--danger); }
.pf-chip.is-sold { color: #cbc3dc; border-color: rgba(203, 195, 220, .25); }
.light-theme .pf-chip { background: rgba(124, 58, 237, .05); }
.light-theme .pf-chip.is-sold { color: #5d4d7a; border-color: rgba(93, 77, 122, .3); }
.light-theme .pf-chip.is-sold i { color: #5d4d7a; }
.pf-chip.is-sold i { color: #9d93b3; }
/* функции: первые 10, остальное под «Показать все» */
.feat-count { margin-left: .2rem; font-size: .75rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.features-more { margin-top: .6rem; }
.features-more > summary { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; list-style: none; padding: .45rem .9rem; border-radius: 999px;
    font-size: .88rem; font-weight: 600; color: var(--accent-light); border: 1px solid rgba(168, 85, 247, .3); }
.features-more > summary::-webkit-details-marker { display: none; }
.features-more > summary:hover { border-color: var(--accent); }
.features-more .fm-close, .features-more[open] .fm-open { display: none; }
.features-more[open] .fm-close { display: inline; }
.features-more[open] > summary i { transform: rotate(180deg); }
.features-more > .features-list { margin-top: .8rem; }
@media (max-width: 1024px) {
    /* сначала название, статус и тарифы, потом галерея: покупатель чита смотрит на статус, не на скриншоты */
    .page-header-sm { padding: 1rem 0 .4rem; }
    .page-header { padding-top: 1.4rem; }
    .product-layout { display: flex; flex-direction: column; gap: 1.2rem; }
    .product-info { order: 1; }
    .product-media { order: 2; }
    .product-detail.section { padding-top: 1rem; }
}
@media (max-width: 480px) {
    .page-header-sm { padding: .6rem 0 .2rem; }
    .product-title { font-size: 1.6rem; }
    .product-short-desc { -webkit-line-clamp: 2; }
    .pf-chip { font-size: .8rem; padding: .35rem .7rem; }
}

/* ── Cookie-баннер: компактно, не перекрывает первый экран ── */
.avs-cookie-banner { max-width: 640px; padding: 10px 14px; }
.avs-cookie-text { font-size: .78rem; }
.avs-cookie-text p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) {
    .avs-cookie-banner { left: 6px; right: 6px; bottom: 6px; padding: 8px 10px; border-radius: 12px; }
    .avs-cookie-inner { gap: 8px; }
    .avs-cookie-text strong { font-size: .8rem; margin-bottom: 2px; }
    .avs-cookie-text p { font-size: .7rem; line-height: 1.3; -webkit-line-clamp: 2; }
    .avs-cookie-actions { width: 100%; gap: 6px; }
    .avs-cookie-actions .avs-cookie-btn { padding: .42rem .6rem !important; font-size: .74rem !important; }
}

/* ── Страница ошибки: планета как фирменный мотив ──────── */
.error-page { text-align: center; padding: 3rem 0 2rem; }
.err-planet { position: relative; width: 150px; height: 150px; margin: 0 auto 1.4rem; }
.err-planet-body {
    position: absolute; inset: 18px; border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #c084fc 0%, #7c3aed 35%, #3b1a7a 70%, #160833 100%);
    box-shadow: 0 0 40px rgba(168, 85, 247, .45), inset -18px -14px 30px rgba(0, 0, 0, .45);
}
.err-planet-ring {
    position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(192, 132, 252, .55);
    transform: rotateX(72deg); animation: errRing 14s linear infinite;
}
.err-planet-ring::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #c084fc; left: 50%; top: -6px; margin-left: -6px; }
@keyframes errRing { to { transform: rotateX(72deg) rotateZ(360deg); } }
.error-code { font-family: var(--font-display); font-size: 4rem; line-height: 1; margin: 0 0 .4rem; background: linear-gradient(135deg, #c084fc, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-text { color: var(--text-secondary); margin-bottom: 1.4rem; }
.err-links { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.err-search { display: flex; gap: .5rem; max-width: 560px; margin: 1.8rem auto 0; }
.err-search .form-control { flex: 1; min-width: 0; }
.err-hot { max-width: 560px; margin: 1.6rem auto 0; display: grid; gap: .45rem; text-align: left; }
.err-hot-title { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.err-hot-title i { color: var(--accent-light); margin-right: .3rem; }
.err-hot a { display: block; padding: .7rem .9rem; border-radius: 12px; border: 1px solid rgba(168, 85, 247, .18); background: rgba(20, 5, 40, .5); color: var(--text-primary); font-weight: 600; font-size: .92rem; }
.err-hot a:hover { border-color: var(--accent); }
.light-theme .err-hot a { background: #fff; color: #1a0530; border-color: rgba(124, 58, 237, .2); }
@media (max-width: 480px) { .err-search { flex-direction: column; } }

/* светлая тема */
.light-theme .sb-wrap { background: rgba(255, 255, 255, .8); border-color: rgba(124, 58, 237, .25); }
.light-theme .sb-item { background: rgba(124, 58, 237, .05); }
.light-theme .sb-cd-digits { color: #1a0530; }

/* ── Тематизация по игре: категория и товар получают палитру игры (--g1/--g2 из game_status.theme_for) ── */
.game-hero { position: relative; overflow: hidden; padding-bottom: 2rem; }
.game-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(900px 420px at 85% 15%, var(--g1a), transparent 70%),
        radial-gradient(600px 320px at 5% 100%, var(--g2a), transparent 70%);
}
.game-hero-art {
    position: absolute; right: -3%; top: -12%; width: 48%; max-width: 640px; aspect-ratio: 3 / 2;
    background: var(--gimg) center 25% / cover no-repeat; border-radius: 26px; opacity: .55;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 80%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 80%, transparent 100%);
    pointer-events: none;
}
.game-hero .container { position: relative; z-index: 1; }
/* палитра игры — только в названии игры (одно акцентное слово), остальной H1 обычный */
.game-hero .page-title .gh-accent {
    background: linear-gradient(120deg, var(--g1) 0%, var(--g2) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.game-hero .page-subtitle { max-width: 640px; }
.game-hero-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.1rem; }
/* чипы — в цветах бренда и смысла, не игры: у Marvel Rivals красный (= detected), у WuWa зелёный (= UNDETECTED) */
.gh-badge {
    display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .8rem; border-radius: 999px; white-space: nowrap;
    font-size: .8rem; font-weight: 600; color: var(--text-primary); text-decoration: none;
    border: 1px solid rgba(168, 85, 247, .25); background: rgba(20, 5, 40, .55);
}
.gh-badge i { color: var(--accent-light); }
.gh-badge .sb-dot { grid-row: auto; width: 8px; height: 8px; }
.gh-badge.gh-status { color: var(--success); border-color: rgba(16, 185, 129, .35); }
.gh-badge.status-updating { color: var(--warning); border-color: rgba(245, 158, 11, .35); } .gh-badge.status-detected { color: var(--danger); border-color: rgba(239, 68, 68, .35); }
.gh-badge-link:hover { border-color: var(--accent); }
@media (max-width: 768px) {
    .game-hero-art { width: 78%; right: -22%; top: 0; opacity: .3; }
    /* на телефоне арт лежит под текстом: затемняем зону заголовка, чтобы читалось */
    .game-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 0, 21, .72) 0%, rgba(10, 0, 21, .55) 55%, rgba(10, 0, 21, .15) 100%); }
    .game-hero .page-title { font-size: 1.9rem; }
}
.light-theme .game-hero-art { opacity: .45; }
/* светлая тема: на телефоне подложка под текстом хиро светлая (тёмная делала тёмный H1 нечитаемым) */
@media (max-width: 768px) {
    .light-theme .game-hero::after { background: linear-gradient(180deg, rgba(248, 246, 255, .88) 0%, rgba(248, 246, 255, .72) 55%, rgba(248, 246, 255, .2) 100%); }
}
.light-theme .game-hero .page-title .gh-accent { background: linear-gradient(120deg, var(--g1) 0%, var(--g2) 100%); -webkit-background-clip: text; background-clip: text; }
.light-theme .gh-badge { background: rgba(255, 255, 255, .8); }

/* товар: палитра игры только в фоновом свечении; бейдж категории и выбранный тариф — в цвете бренда */
.product-detail.game-tint { position: relative; }
.product-detail.game-tint::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 520px; pointer-events: none; z-index: 0;
    background: radial-gradient(700px 360px at 18% 0%, var(--g1b), transparent 70%);
}
.product-detail.game-tint .container { position: relative; z-index: 1; }


/* панель планеты: бейдж статуса по игре */
.planet-panel .planet-panel-badge.is-updating { color: var(--warning); border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .1); }
.planet-panel .planet-panel-badge.is-updating .status-dot { background: var(--warning); box-shadow: 0 0 8px var(--warning); }
.planet-panel .planet-panel-badge.is-detected { color: var(--danger); border-color: rgba(239, 68, 68, .45); background: rgba(239, 68, 68, .1); }
.planet-panel .planet-panel-badge.is-detected .status-dot { background: var(--danger); box-shadow: 0 0 8px var(--danger); }

/* полоса доверия: кликабельная плитка форума */
a.trust-stat { text-decoration: none; color: inherit; }
a.trust-stat:hover .trust-stat-value { color: var(--accent-light); }

/* ── Оформление заказа: H1, адрес «Ключ придёт на», промокод свёрнут, шаги после оплаты ── */
.checkout-title { margin: .4rem 0 0; font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -.01em; }
.checkout-section.section { padding-top: 1.2rem; }
.checkout-h { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .55rem; }
.checkout-h i { color: var(--accent-light); }
.form-label-like { display: flex; align-items: center; gap: .45rem; margin-bottom: .5rem; font-size: .9rem; font-weight: 600; color: var(--text-secondary); }
.form-label-like i { color: var(--accent-light); }
.email-echo { margin-top: .5rem; font-size: .9rem; color: var(--text-secondary); overflow-wrap: anywhere; }
.email-echo b { color: var(--text-primary); font-size: 1rem; }
.promo-details > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-size: .9rem; font-weight: 600; color: var(--accent-light); }
.promo-details > summary::-webkit-details-marker { display: none; }
.promo-details[open] > summary { margin-bottom: .4rem; }
.checkout-next { margin: 1.1rem 0 0; padding-left: 1.2rem; display: grid; gap: .45rem; font-size: .86rem; line-height: 1.5; color: var(--text-secondary); }
.checkout-next b { color: var(--text-primary); }
.product-status-sm { display: inline-flex; align-items: center; gap: .4rem; padding: .15rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; }
@media (max-width: 768px) {
    .checkout-section.section { padding-top: .6rem; }
    .checkout-product-image { width: 52px !important; height: 52px !important; }
}
/* вход, регистрация, «Проверить заказ»: заголовок H1 в прежнем виде */
.auth-title { text-align: center; margin: 0 0 8px; font-size: 1.5rem; }
.auth-title i { color: var(--accent, #a855f7); }
.auth-link { display: inline-block; padding: .5rem 0; }
.check-order-hint { text-align: center; color: var(--text-secondary); font-size: .88rem; margin: 0 0 1.3rem; }
.check-order-help { margin: 1.2rem 0 0; font-size: .85rem; color: var(--text-muted); text-align: center; line-height: 1.55; }

/* ── Подсказка об опечатке в домене почты (checkout) ── */
.email-typo-hint {
    display: flex; align-items: flex-start; gap: .5rem; margin-top: .5rem;
    padding: .55rem .7rem; border-radius: 10px; font-size: .82rem; line-height: 1.4;
    color: #fcd34d; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .35);
}
.email-typo-hint[hidden] { display: none !important; }
.email-typo-hint i { margin-top: .15rem; }
.email-typo-fix {
    background: none; border: none; padding: 0; cursor: pointer; font: inherit;
    color: #fff; font-weight: 700; text-decoration: underline;
}
.email-typo-fix:hover { color: var(--accent-light); }

/* ══════════════════════════════════════════════════════════════
   Дизайн-батч 21.09: View Transitions, scroll-driven анимации,
   bento-сетка преимуществ, настоящие отзывы, липкая покупка,
   сравнение товаров, быстрый поиск Ctrl+K
   ══════════════════════════════════════════════════════════════ */

/* ── View Transitions: плавный переход между страницами без JS (Chrome/Edge 126+, Safari 18.2+) ── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 160ms ease-out both vt-fade-out; }
::view-transition-new(root) { animation: 220ms ease-out both vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-fade-in { from { opacity: 0; transform: translateY(8px); } }
.navbar { view-transition-name: site-nav; } /* шапка не перерисовывается между страницами */
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ── Scroll-driven анимации: мягкое проявление заголовков секций (пятна хиро убраны) ── */
@supports (animation-timeline: scroll()) {
    /* ВАЖНО: .animate-slide-up держит opacity:0 в базовом правиле, поэтому у keyframes обязан быть явный `to`,
       иначе после анимации элемент остаётся невидимым (так пропали заголовки всех секций 21.09) */
    .section-header { animation: sec-reveal ease-out both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes sec-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
    /* нативный индикатор прокрутки: дешевле JS-обработчика скролла */
    .scroll-progress { transform-origin: left; animation: sp-grow linear both; animation-timeline: scroll(root); }
    @keyframes sp-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
/* reduced-motion: у .animate-* базовое opacity:0, поэтому, снимая анимацию, обязательно возвращать видимость
   (27.09 заголовки всех секций снова были невидимы из-за голого animation:none) */
@media (prefers-reduced-motion: reduce) {
    .animate-slide-up, .animate-fade-in, .animate-scale-in, .section-header { animation: none !important; opacity: 1 !important; transform: none !important; }
    .live-sales-track { animation: none !important; transform: none !important; }
    .status-dot, .live-pulse, .mascot-aura, .mascot-orb, .particle, .feature-icon, .feature-icon::before, .btn-glow { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ── Bento-сетка преимуществ ── */
.features-grid.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 1rem; }
.features-grid.bento .feature-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.bento-wide { grid-column: span 2; }
.bento-status { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; padding-top: 1rem; }
.bento-pill {
    display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .7rem; border-radius: 999px; text-decoration: none;
    font-size: .78rem; font-weight: 600; color: var(--text-primary); border: 1px solid rgba(168, 85, 247, .22); background: rgba(255, 255, 255, .04);
    transition: transform .2s ease, border-color .2s ease;
}
.bento-pill:hover { transform: translateY(-2px); border-color: rgba(168, 85, 247, .5); }
.bento-pill .sb-dot { grid-row: auto; width: 8px; height: 8px; }
.bento-pill b { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--success); font-weight: 700; }
.bento-pill.status-updating b { color: var(--warning); } .bento-pill.status-detected b { color: var(--danger); }
.bento-more { color: var(--accent-light); border-style: dashed; }
.bento-num { justify-content: center; align-items: flex-start; }
.bento-big { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 700; line-height: 1; letter-spacing: -.02em;
    background: linear-gradient(135deg, #fff 0%, var(--accent-light) 60%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento-big span { font-size: .55em; color: var(--accent-light); -webkit-text-fill-color: var(--accent-light); }
.bento-num p { margin: .5rem 0 0; color: var(--text-secondary); }
.bento-sub { margin-top: auto; padding-top: .9rem; font-size: .8rem; color: var(--text-muted); }
.bento-sub i { color: var(--accent-light); margin-right: .3rem; }
.bento-cal:hover .feature-icon { transform: rotate(-6deg) scale(1.05); }
.bento-cal .feature-icon { transition: transform .25s ease; }
@media (max-width: 1024px) { .features-grid.bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .features-grid.bento { grid-template-columns: 1fr 1fr; gap: .7rem; grid-auto-rows: auto; }
    .bento-wide { grid-column: span 2; }
    .bento-status { gap: .35rem; }
    .bento-pill { font-size: .72rem; padding: .32rem .55rem; }
    .bento-pill b { display: none; }
    .bento-big { font-size: 2rem; }
}
.light-theme .bento-pill { background: rgba(124, 58, 237, .06); }
.light-theme .bento-big { background: linear-gradient(135deg, #1a0530, #7c3aed); -webkit-background-clip: text; background-clip: text; }

/* ── Отзывы из БД: шапка карточки с товаром ── */
.review-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; flex-wrap: wrap; }
.review-head .review-stars { margin: 0; }
.review-stars .far { opacity: .35; }
.review-product { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-light); text-decoration: none;
    padding: .25rem .55rem; border-radius: 999px; border: 1px solid rgba(168, 85, 247, .3); background: rgba(124, 58, 237, .1); white-space: nowrap; }
.review-product:hover { border-color: var(--accent); }

/* ── Липкая панель покупки (телефон) ── */
.sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980;
    display: flex; align-items: center; justify-content: space-between; gap: .8rem;
    padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 2, 30, .97);
    border-top: 1px solid rgba(168, 85, 247, .3); box-shadow: 0 -10px 30px rgba(0, 0, 0, .45);
    animation: sticky-in .25s ease-out both;
}
.sticky-buy[hidden] { display: none !important; }
@keyframes sticky-in { from { transform: translateY(100%); } }
.sticky-buy-info { display: flex; flex-direction: column; min-width: 0; }
.sticky-buy-name { font-size: .78rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy-price { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.sticky-buy-btn { white-space: nowrap; padding: .7rem 1.1rem !important; flex: none; }
/* Нижние слои на телефоне: не больше одного плавающего элемента на экране.
   Липкая панель покупки вытесняет TG и «Наверх»; на товаре и оформлении они не нужны (поддержка есть ссылкой рядом
   с кнопкой покупки); в статье прячутся, пока читатель листает вниз (body.reading ставит blog.js) */
body.has-sticky-buy .tg-widget-btn, body.has-sticky-buy .to-top { display: none !important; }
@media (max-width: 768px) {
    body.page-buy .tg-widget-btn, body.page-buy .to-top { display: none !important; }
    body.reading .tg-widget-btn, body.reading .to-top { translate: 0 120px; opacity: 0; pointer-events: none; }
    body.has-sticky-buy .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 769px) { .sticky-buy { display: none !important; } }
.light-theme .sticky-buy { background: rgba(255, 255, 255, .94); }
.light-theme .sticky-buy-price { color: #1a0530; }

/* ── Сравнение товаров (категория) ── */
.cat-products .compare-wrap { margin: 2.6rem 0 0; }
.compare-wrap { margin-bottom: 2.2rem; border: 1px solid rgba(168, 85, 247, .22); border-radius: 18px; overflow: hidden;
    background: linear-gradient(180deg, rgba(20, 5, 40, .7), rgba(14, 2, 30, .55)); }
.compare-head { padding: 1.1rem 1.3rem .6rem; }
.compare-title { margin: 0; font-size: 1.3rem; font-family: var(--font-display); }
.compare-title i { color: var(--accent-light); margin-right: .4rem; }
.compare-sub { margin: .3rem 0 0; color: var(--text-muted); font-size: .85rem; }
.compare-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: .7rem .9rem; border-top: 1px solid rgba(168, 85, 247, .12); text-align: center; vertical-align: middle; }
.compare-table thead th { border-top: none; padding-top: .4rem; }
.compare-feat { text-align: left !important; font-size: .9rem; font-weight: 500; color: var(--text-secondary); position: sticky; left: 0; background: rgba(16, 3, 34, .96); min-width: 190px; }
.compare-fact td { font-size: .88rem; font-weight: 600; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.compare-price .price-sold { display: block; }
.compare-prod small.status-sold { color: #cbc3dc; }
.light-theme .compare-prod small.status-sold, .light-theme .price-sold { color: #5d4d7a; }
.compare-prod small.status-sold .status-dot { background: #9d93b3; }
.compare-swipe { display: none; color: var(--accent-light); white-space: nowrap; }
.compare-table thead .compare-feat { background: transparent; }
.compare-prod { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; color: var(--text-primary); font-weight: 700; font-size: .92rem; }
.compare-prod img { width: 64px; height: 40px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(168, 85, 247, .25); }
.compare-prod small { font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .3rem; color: var(--success); }
.compare-prod small.status-updating { color: var(--warning); } .compare-prod small.status-detected { color: var(--danger); }
.compare-prod small .status-dot { width: 6px; height: 6px; }
.compare-cell .fa-check { color: var(--success); font-size: 1rem; }
.compare-no { color: var(--text-muted); opacity: .55; }
.compare-table tbody tr:nth-child(odd) td { background: rgba(255, 255, 255, .015); }
.compare-table tbody tr:hover td { background: rgba(124, 58, 237, .08); }
.compare-price td { padding-top: 1rem; padding-bottom: 1rem; }
.compare-price b { display: block; font-family: var(--font-display); color: #fff; margin-bottom: .5rem; }
@media (max-width: 600px) {
    .compare-table { min-width: 0; }
    .compare-table th:not(.compare-feat) { min-width: 104px; }
    .compare-feat { min-width: 118px !important; font-size: .78rem !important; }
    .compare-prod img { display: none; }
    .compare-scroll { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
    .compare-swipe { display: inline; }
}
@media (max-width: 768px) {
    .compare-head { padding: .9rem .9rem .4rem; } .compare-title { font-size: 1.1rem; }
    .compare-table th, .compare-table td { padding: .55rem .6rem; font-size: .85rem; }
    .compare-feat { min-width: 150px; font-size: .8rem; }
    .compare-prod img { width: 52px; height: 34px; } .compare-prod span { font-size: .8rem; }
}
.light-theme .compare-wrap { background: rgba(255, 255, 255, .85); }
.light-theme .compare-feat { background: #f6f2ff; } .light-theme .compare-price b { color: #1a0530; }

/* ── Быстрый поиск Ctrl+K ── */
.nav-qs-btn { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; font: inherit; }
.nav-qs-btn kbd { font: 600 .62rem/1 var(--font); padding: .15rem .35rem; border-radius: 5px; border: 1px solid rgba(168, 85, 247, .35); color: var(--text-muted); background: rgba(124, 58, 237, .1); }
@media (max-width: 1150px) { .nav-qs-btn kbd { display: none; } }
.qs-overlay { position: fixed; inset: 0; z-index: 10050; background: rgba(6, 0, 16, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: flex-start; justify-content: center; padding: 10vh 1rem 2rem; }
.qs-overlay[hidden] { display: none !important; }
.qs-box { width: 100%; max-width: 640px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(168, 85, 247, .35);
    background: linear-gradient(180deg, #170a2e, #0f0424); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04) inset;
    animation: qs-in .18s ease-out both; }
@keyframes qs-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.qs-input-row { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-bottom: 1px solid rgba(168, 85, 247, .18); }
.qs-input-row > i { color: var(--accent-light); font-size: 1.05rem; }
.qs-input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font: 500 1.05rem/1.3 var(--font); min-width: 0; }
.qs-input::placeholder { color: var(--text-muted); }
.qs-esc { font: 600 .68rem/1 var(--font); padding: .25rem .45rem; border-radius: 6px; border: 1px solid rgba(168, 85, 247, .3); color: var(--text-muted); }
.qs-close { flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(168, 85, 247, .3); background: rgba(124, 58, 237, .1); color: var(--text-secondary); cursor: pointer; font-size: 1rem; }
.qs-close:hover { color: var(--text-primary); border-color: var(--accent); }
@media (hover: none) { .qs-esc { display: none; } }
@media (hover: hover) { .qs-close { display: none; } }
.qs-results { max-height: min(60vh, 520px); overflow-y: auto; padding: .5rem; }
.qs-hint { padding: .8rem .6rem .4rem; color: var(--text-muted); font-size: .85rem; }
.qs-quick { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.qs-chip { padding: .38rem .7rem; border-radius: 999px; border: 1px solid rgba(168, 85, 247, .28); background: rgba(124, 58, 237, .1); color: var(--text-primary); text-decoration: none; font-size: .8rem; font-weight: 600; }
.qs-chip:hover { border-color: var(--accent); }
.qs-chip i { color: var(--accent-light); margin-right: .3rem; }
.qs-group { padding: .7rem .6rem .3rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.qs-group i { margin-right: .35rem; color: var(--accent-light); }
.qs-item { display: flex; align-items: center; gap: .8rem; padding: .6rem .7rem; border-radius: 12px; text-decoration: none; color: var(--text-primary); }
.qs-item.is-active { background: rgba(124, 58, 237, .18); }
@media (hover: hover) { .qs-item:hover { background: rgba(124, 58, 237, .18); } }
.qs-item img, .qs-ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; border: 1px solid rgba(168, 85, 247, .22); }
.qs-ph { display: flex; align-items: center; justify-content: center; color: var(--accent-light); background: rgba(124, 58, 237, .12); }
.qs-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.qs-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-meta { font-size: .76rem; color: var(--text-muted); }
.qs-go { color: var(--text-muted); opacity: 0; transition: opacity .15s; }
.qs-item:hover .qs-go, .qs-item.is-active .qs-go { opacity: 1; }
.qs-empty { padding: 1.6rem; text-align: center; color: var(--text-muted); }
@media (max-width: 600px) { .qs-overlay { padding: 4vh .6rem 1rem; } .qs-results { max-height: 70vh; } }
.light-theme .qs-box { background: linear-gradient(180deg, #fff, #f6f2ff); }
.light-theme .qs-input { color: #1a0530; }

/* ── правки после скриншотов 21.09 ── */
/* bento: id-селектор, чтобы перебить любые правила .features-grid из style2 */
#features .features-grid.bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { #features .features-grid.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#features .bento-num { min-height: 0; }
#features .bento-num .bento-sub { margin-top: .9rem; }
/* шапка: кнопка поиска компактная, подсказка K только на широких экранах */
/* размеры кнопки поиска — в style2.css (секция шапки 30.09) */
.nav-qs-btn kbd { display: none; } /* кнопка поиска — квадратная иконка 38px; Ctrl+K подсказан в title */
/* кнопка поиска видна всегда (шапка разгружена 30.09: тема, язык и «Проверить заказ» ушли в меню «⋯») */
/* fx3d.css задаёт свои span'ы через nth-child (под старые 6 карточек) — в bento они не нужны, раскладку задают классы */
#features .features-grid.bento .feature-card { grid-column: auto; grid-row: auto; min-height: 0; justify-content: flex-start; }
#features .features-grid.bento .bento-wide { grid-column: span 2; }
#features .features-grid.bento .bento-cal { grid-column: span 2; }
#features .features-grid.bento .bento-num { justify-content: center; }
@media (max-width: 1024px) {
    #features .features-grid.bento .bento-wide, #features .features-grid.bento .bento-cal { grid-column: span 2; }
}

/* ══════════════════════════════════════════════════════════════
   КОМПОЗИЦИЯ 21.09 (см. DESIGN.md): 7 экранов, один язык карточек,
   единый ритм заголовков, планета как второй экран
   ══════════════════════════════════════════════════════════════ */

/* ритм секций */
@media (min-width: 1025px) { .section { padding: 6rem 0; } .section-header { margin-bottom: 3rem; } }
.section-dark { background: linear-gradient(180deg, rgba(8, 0, 20, .55), rgba(12, 2, 28, .35)); border-top: 1px solid rgba(168, 85, 247, .08); border-bottom: 1px solid rgba(168, 85, 247, .08); }
.sec-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); font-weight: 600; margin-bottom: .8rem; }
.sec-kicker i { font-size: .8rem; opacity: .9; }
.section-title { letter-spacing: -.01em; }

/* хиро: чище — одна строка статуса вместо чипов и трёх иконок */
.hero-stats, .hero-trust-chips { display: none !important; }
.hero { min-height: 0; padding-bottom: 3.5rem; }
.hero-status-line {
    display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.6rem; padding: .55rem .95rem .55rem .8rem; border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, .28); background: rgba(124, 58, 237, .1); color: var(--text-secondary); font-size: .86rem; font-weight: 500; text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}
.hero-status-line:hover { border-color: var(--accent); transform: translateY(-1px); color: var(--text-primary); }
.hero-status-line .sb-dot { grid-row: auto; width: 9px; height: 9px; }
.hero-status-line .hsl-sep { color: var(--text-muted); }
.hero-status-line [data-cd] { color: var(--text-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-status-line i { color: var(--accent-light); font-size: .75rem; margin-left: .2rem; }
@media (max-width: 768px) { .hero-status-line { font-size: .78rem; gap: .4rem; flex-wrap: wrap; justify-content: center; margin-top: 1.1rem; } }

/* планета — второй экран, сцена на всю ширину */
.planet-section {
    position: relative; padding-top: 4.5rem;
    background: radial-gradient(1100px 520px at 50% 0%, rgba(124, 58, 237, .16), transparent 70%), linear-gradient(180deg, rgba(6, 0, 16, .6), transparent 40%, rgba(6, 0, 16, .4));
    border-top: 1px solid rgba(168, 85, 247, .1);
}
.planet-section .section-header { position: relative; }
.planet-countdown { position: absolute; right: 0; top: .2rem; }
.planet-chip { position: relative; }
.pc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 6px var(--success); margin-left: .45rem; flex: none; }
.pc-dot.status-updating { background: var(--warning); box-shadow: 0 0 6px var(--warning); }
.pc-dot.status-detected { background: var(--danger); box-shadow: 0 0 6px var(--danger); }
@media (max-width: 1024px) { .planet-countdown { position: static; display: inline-flex; margin-top: 1rem; } }
@media (max-width: 768px) { .planet-section { padding-top: 2.6rem; } .planet-countdown { width: auto; max-width: 100%; } }

/* товары: живая строка вместо отдельной секции */
.live-line { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(168, 85, 247, .2); background: rgba(255, 255, 255, .03); font-size: .82rem; color: var(--text-secondary); }
.live-line b { color: var(--text-primary); transition: opacity .22s ease, transform .22s ease; }
.live-line-when { color: var(--text-muted); transition: opacity .22s ease; }
.live-line.is-swap b, .live-line.is-swap .live-line-when, .live-line.is-swap .live-line-who { opacity: 0; transform: translateY(-4px); }
.live-line-who { transition: opacity .22s ease; }
.live-line .live-pulse { flex: none; background: var(--accent-light); box-shadow: 0 0 8px rgba(192, 132, 252, .7); animation: none; }
.live-line .live-pulse::before, .live-line .live-pulse::after { display: none; }

/* bento: плитка симулятора вместо баннера */
.bento-wish .feature-icon { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.bento-wish:hover .feature-icon { transform: rotate(8deg) scale(1.06); }
#features .features-grid.bento .bento-wish { grid-column: span 1; }

/* отзывы: один ряд на десктопе, лента на телефоне */
@media (min-width: 1025px) { .reviews-grid .review-card:nth-child(n+4) { display: none; } }

/* каталог: поиск компактнее, чтобы не спорить с заголовком */
.site-search-wrap { margin-bottom: 2rem; }

.light-theme .section-dark { background: linear-gradient(180deg, rgba(124, 58, 237, .05), rgba(124, 58, 237, .02)); }
.light-theme .hero-status-line { color: #4c1d95; }
.light-theme .planet-section { background: radial-gradient(1100px 520px at 50% 0%, rgba(124, 58, 237, .1), transparent 70%); }
/* главная по DESIGN.md: лента игр, карточка бестселлера и карусель продаж убраны; «покупают сейчас» — карточка
   в заголовке блока товаров: последняя реальная покупка + счётчики по базе заказов. Движение только по событию смены */
.live-feed { display: flex; flex-direction: column; align-items: center; gap: .75rem; max-width: 580px; margin: 1.7rem auto 0; }
.lf-badge { display: inline-flex; align-items: center; gap: .55rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); }
.lf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 0 4px rgba(168, 85, 247, .2), 0 0 12px rgba(192, 132, 252, .8); }
.lf-card { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 1rem; width: 100%;
    padding: .75rem 1.2rem .75rem .75rem; border-radius: 18px; text-decoration: none; color: inherit; text-align: left;
    border: 1px solid rgba(168, 85, 247, .32); background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(20, 5, 40, .72) 60%);
    box-shadow: 0 18px 44px -20px rgba(124, 58, 237, .75), inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: opacity .26s ease, transform .26s ease; }
.lf-card::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #c084fc, #7c3aed); }
.lf-card:hover { transform: translateY(-2px); color: inherit; }
.lf-card.is-swap { opacity: 0; transform: translateY(-8px); }
.lf-img { width: 76px; height: 51px; border-radius: 11px; overflow: hidden; background: linear-gradient(160deg, #1a0733, #0f0320); border: 1px solid rgba(168, 85, 247, .25); }
.lf-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-text { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.lf-who { font-size: .82rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-what { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.2; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.lf-ok { color: var(--success); font-weight: 600; }
.lf-ok[hidden] { display: none; }
.lf-stats { display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap; font-size: .88rem; color: var(--text-secondary); }
.lf-stats b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; margin-right: .15rem; }
.lf-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(192, 132, 252, .6); }
@media (max-width: 480px) {
    .lf-card { grid-template-columns: 60px minmax(0, 1fr); gap: .75rem; padding: .7rem .9rem .7rem .7rem; }
    .lf-img { width: 60px; height: 40px; }
    .lf-meta { grid-column: 2; flex-direction: row; justify-content: flex-start; gap: .7rem; margin-top: -.2rem; }
    .lf-what { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .lf-card { transition: none; } }

/* «Хит недели/месяца» — первая карточка блока товаров. На десктопе сетка общая с карточками (display: contents),
   хит занимает две колонки; на телефоне стоит над горизонтальной лентой. Свечение статичное, движение только на hover */
@media (min-width: 769px) {
    .products-showcase.has-hit { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; }
    .products-showcase.has-hit > .products-grid { display: contents; }
    .hit-card { grid-column: span 2; }
}
.hit-card { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 22px; overflow: hidden;
    text-decoration: none; color: inherit; isolation: isolate;
    background: linear-gradient(135deg, rgba(124, 58, 237, .3), rgba(20, 5, 40, .88) 55%);
    border: 1px solid rgba(192, 132, 252, .45);
    box-shadow: 0 26px 60px -26px rgba(124, 58, 237, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
    transition: transform .3s ease; }
.hit-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 0 0 1px rgba(192, 132, 252, .7), 0 30px 80px -24px rgba(168, 85, 247, .75); opacity: 0; transition: opacity .3s ease; }
.hit-card:hover { transform: translateY(-4px); color: inherit; }
.hit-card:hover::after { opacity: 1; }
.hit-media { position: relative; display: flex; align-items: center; justify-content: center; padding: 1.3rem;
    background: radial-gradient(120% 90% at 30% 20%, rgba(168, 85, 247, .32), transparent 60%), linear-gradient(160deg, #1a0733, #0d0220); }
.hit-media img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); transition: transform .4s ease; }
.hit-card:hover .hit-media img { transform: scale(1.03); }
.hit-badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 999px;
    font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff;
    background: linear-gradient(135deg, #c084fc, #7c3aed 60%, #5b21b6); box-shadow: 0 8px 24px rgba(124, 58, 237, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.hit-body { position: relative; z-index: 0; display: flex; flex-direction: column; gap: .55rem; min-width: 0; padding: 1.6rem 1.6rem 1.4rem; }
.hit-rank { position: absolute; right: .9rem; top: .4rem; z-index: -1; font-family: var(--font-display); font-weight: 700; font-size: 5.5rem; line-height: 1;
    letter-spacing: -.04em; color: rgba(192, 132, 252, .07); pointer-events: none; }
.hit-game { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); }
.hit-title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); font-weight: 700; line-height: 1.1; color: #fff; }
.hit-proof { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; font-size: .85rem; }
.hit-rating { font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.hit-rating i { color: #fbbf24; } .hit-rating small { color: var(--text-muted); font-weight: 500; }
.hit-status { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .65rem; border-radius: 999px; font-weight: 600; }
.hit-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .55rem; margin-top: .35rem; font-size: .95rem; color: var(--text-secondary); }
.hit-stat b { font-family: var(--font-display); font-size: 2.7rem; line-height: 1; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #fff 0%, #e9d5ff 40%, #c084fc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hit-desc { font-size: .88rem; line-height: 1.55; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hit-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid rgba(168, 85, 247, .2); }
.hit-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #fff; white-space: nowrap; }
.hit-btn { white-space: nowrap; flex: 1 0 auto; justify-content: center; max-width: 100%; }
@media (max-width: 768px) {
    .hit-card { grid-template-columns: 1fr; margin-bottom: 1.1rem; border-radius: 20px; }
    .hit-media { padding: .9rem .9rem 0; }
    .hit-body { padding: 1.1rem 1.1rem 1.1rem; }
    .hit-rank { font-size: 5rem; }
    .hit-stat b { font-size: 2.3rem; }
    .hit-btn { padding: .65rem 1rem !important; }
}
@media (prefers-reduced-motion: reduce) { .hit-card, .hit-media img { transition: none; } .hit-card:hover, .hit-card:hover .hit-media img { transform: none; } }
.light-theme .hit-card { background: linear-gradient(135deg, rgba(124, 58, 237, .14), #fff 55%); border-color: rgba(124, 58, 237, .3); box-shadow: 0 24px 56px -28px rgba(124, 58, 237, .6); }
.light-theme .hit-title, .light-theme .hit-price { color: #1a0530; }
.light-theme .hit-stat b { background: linear-gradient(135deg, #4c1d95, #7c3aed); -webkit-background-clip: text; background-clip: text; }
.light-theme .hit-rank { color: rgba(124, 58, 237, .08); }
.light-theme .lf-card { background: linear-gradient(135deg, rgba(124, 58, 237, .1), #fff 60%); border-color: rgba(124, 58, 237, .25); box-shadow: 0 16px 40px -22px rgba(124, 58, 237, .5); }
.light-theme .lf-what, .light-theme .lf-stats b { color: #1a0530; }
.live-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.planet-section { border-top: none; }

/* 07.10: «Гайды и новости» на странице игры отделены от FAQ ниже — на телефоне последняя карточка почти касалась линии
   секции «Частые вопросы». Только нижний отступ этого блока, общий ритм секций (6rem / 2.4rem) не меняется. */
.section.cat-guides { padding-bottom: 4.2rem; }
@media (min-width: 1025px) { .section.cat-guides { padding-bottom: 8rem; } }
