/* ───────────────────────────────────────────────────────────────────────────
   polish.css — визуальная система AvenShop (10.10.2026). Грузится ПОСЛЕ style2/ux
   и перебивает их. Правила по DESIGN.md «Визуальная система»:
   1) лестница поверхностей вместо одинаковых стеклянных карточек (surface-0..3),
   2) волосяные линии вместо толстых рамок и свечений,
   3) крупный плотный дисплейный шрифт, вторичный текст читаемый,
   4) атмосфера: статичный градиентный фон на всех страницах, без canvas,
   5) цвет несёт смысл: зелёный/янтарный/красный — статусы, фиолетовый — бренд.
   Референсы: Raycast (лестница поверхностей, hairline, шкала радиусов),
   Superhuman (плотный дисплей, одна кнопка на блок).
   ─────────────────────────────────────────────────────────────────────────── */

:root {
    --surface-0: #0a0015;
    --surface-1: #110424;
    --surface-2: #190a33;
    --surface-3: #221043;
    --hairline: rgba(192, 132, 252, .14);
    --hairline-strong: rgba(192, 132, 252, .32);
    --text-secondary: #d3c7ea;
    --text-muted: #a596c3;
    --r-card: 18px;
    --r-ctl: 12px;
    --fs-h1: clamp(2.1rem, 1.3rem + 2.3vw, 3.2rem);
    --fs-h2: clamp(1.75rem, 1.2rem + 1.7vw, 2.5rem);
    --shadow-float: 0 24px 60px -24px rgba(124, 58, 237, .45);
}
.light-theme {
    --surface-0: #f8f6ff;
    --surface-1: #ffffff;
    --surface-2: #f3eefc;
    --surface-3: #ebe3f9;
    --hairline: rgba(124, 58, 237, .16);
    --hairline-strong: rgba(124, 58, 237, .36);
    --text-secondary: #4a3860;
    --text-muted: #5d4d7a;
    --shadow-float: 0 24px 60px -28px rgba(124, 58, 237, .35);
}

/* ── Атмосфера: два мягких пятна бренда на всю страницу, статично ─────────── */
html { background: var(--bg-primary); }
body { background: transparent; }
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(1000px 640px at 8% -6%, rgba(124, 58, 237, .26), transparent 62%),
        radial-gradient(760px 520px at 104% 18%, rgba(192, 132, 252, .11), transparent 58%),
        radial-gradient(900px 520px at 50% 108%, rgba(124, 58, 237, .16), transparent 62%);
}
.light-theme body::before {
    background:
        radial-gradient(1000px 640px at 8% -6%, rgba(124, 58, 237, .12), transparent 62%),
        radial-gradient(760px 520px at 104% 18%, rgba(192, 132, 252, .10), transparent 58%);
}

/* ── Шапка: волосяная линия снизу ─────────────────────────────────────────── */
.navbar { box-shadow: inset 0 -1px 0 var(--hairline); }

/* ── Типографика ──────────────────────────────────────────────────────────── */
.section-title {
    font-size: var(--fs-h2);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.08;
}
.section-subtitle { font-size: 1.02rem; color: var(--text-secondary); max-width: 64ch; }
.section-header { margin-bottom: 2.4rem; }
.sec-kicker { font-size: .72rem; letter-spacing: .16em; }
.page-title {
    font-family: var(--font-display);
    font-size: var(--fs-h1);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.06;
    margin-bottom: .75rem;
}
.page-subtitle { font-size: 1.05rem; line-height: 1.6; max-width: 64ch; }
.breadcrumb { font-size: .8rem; letter-spacing: .02em; }
.price-main, .price-current, .bento-big, .product-reviews-avg-num, .sticky-buy-price, .tariff-price,
.cal-clock, .st-facts, .compare-price b { font-variant-numeric: tabular-nums; }

/* ── Лестница поверхностей: карточки и контейнеры ─────────────────────────── */
.glass-card, .product-card, .feature-card, .faq-item, .review-card, .blog-card, .f-section-card,
.f-side-card, .cal-card, .compare-wrap, .review-cta-card, .review-mybox, .review-form,
.stock-notify, .send-pc, .seo-details, .empty-state, .pc-card, .pc-card-h,
.related-products .product-card, .ws-panel, .hit-card {
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.product-card, .feature-card, .review-card, .glass-card, .f-section-card, .hit-card { border-radius: var(--r-card); }
.faq-item, .blog-card, .cal-card, .review-cta-card, .review-mybox { border-radius: 16px; }
.product-card:hover, .feature-card:hover, .blog-card:hover, .f-section-card:hover, .review-card:hover, .faq-item:hover {
    background: var(--surface-2);
    border-color: var(--hairline-strong);
    box-shadow: var(--shadow-float);
    transform: translateY(-3px);
}
.faq-item:hover { transform: none; }
.faq-item.active { background: var(--surface-2); border-color: var(--hairline-strong); }
.section-dark {
    background: var(--surface-1);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
.section-dark::before, .section-dark::after { display: none; }
.section-dark :is(.feature-card, .faq-item, .review-card) { background: var(--surface-2); }
.section-dark :is(.feature-card, .faq-item, .review-card):hover, .section-dark .faq-item.active { background: var(--surface-3); }
.section-dark + .section { border-top: 0; }
/* между соседними секциями — волосяная линия вместо пустоты */
.section + .section:not(.section-dark) { border-top: 1px solid var(--hairline); }
.section { padding: 4.75rem 0; }
@media (max-width: 768px) { .section { padding: 3rem 0; } }

/* ── Кнопки, поля, чипы ───────────────────────────────────────────────────── */
.btn { border-radius: var(--r-ctl); font-weight: 600; letter-spacing: .005em; }
.btn-primary {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 26px -10px rgba(124, 58, 237, .75);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 32px -10px rgba(124, 58, 237, .9); }
.btn-outline, .btn-secondary { border-color: var(--hairline-strong); background: var(--surface-1); }
.btn-outline:hover, .btn-secondary:hover { background: var(--surface-2); }
.form-control {
    background: var(--surface-1);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-ctl);
}
.gh-badge, .pf-chip, .hero-status-line {
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    font-size: .82rem;
    font-weight: 600;
}
.gh-badge.gh-status, .pf-chip.pf-status { background: var(--surface-2); }

/* ── Плавающие слои: на десктопе только Telegram, «Наверх» не нужен ───────── */
@media (min-width: 769px) { .to-top { display: none !important; } }

/* ── Форум: иконки разделов в бренде, цвет только по смыслу ───────────────── */
/* forum.css и calendar.css подключаются в extra_css ПОСЛЕ polish.css, а цвета разделов заданы inline (--c1/--c2):
   поэтому здесь выше специфичность и !important только на кастомных свойствах */
.f-sections .f-section-card, .f-sec-head { --c1: #a855f7 !important; --c2: #7c3aed !important; }
body .f-sec-icon, body .f-sec-icon-lg {
    background: var(--surface-3);
    color: var(--accent-light);
    border: 1px solid var(--hairline-strong);
    box-shadow: none;
}
body .f-section-card::before { opacity: .55; }
body .f-topic-row::before { background: var(--hairline-strong); }
body .f-section-card, body .f-side-card, body .glass-card.f-card-tight { background: var(--surface-1); border-color: var(--hairline); }

/* ── Блог: карточка статьи ────────────────────────────────────────────────── */
.blog-card-img { border-radius: 12px 12px 0 0; }
.blog-card .blog-card-body h3 { letter-spacing: -.01em; }

/* ── Категория: сетка под число товаров, без дыр ──────────────────────────── */
.products-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.products-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .products-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .products-grid.cols-2, .products-grid.cols-3 { grid-template-columns: 1fr; } }
.cat-products.section { padding-top: 2.75rem; }
.cat-seo.section { padding: 2.75rem 0; }
.compare-wrap { margin-top: 2.5rem; padding: 1.4rem 1.5rem; border-radius: var(--r-card); }
.game-hero .page-title { max-width: 18ch; }

/* ── Страница товара ──────────────────────────────────────────────────────── */
.product-layout { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 3rem; }
@media (max-width: 1024px) { .product-layout { gap: 2rem; } }
.product-image-main {
    border-radius: 22px;
    border: 1px solid var(--hairline-strong);
    background:
        radial-gradient(70% 60% at 30% 20%, rgba(168, 85, 247, .22), transparent 70%),
        var(--surface-1);
    box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.product-image-main::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03); }
.product-thumbs img, .product-thumbs .thumb {
    width: 92px; height: 58px;
    border-radius: 10px;
    border: 1px solid var(--hairline);
    opacity: .75;
    transition: opacity .2s ease, border-color .2s ease;
}
.product-thumbs img.active, .product-thumbs img:hover { opacity: 1; border-color: var(--accent-light); }
.product-category-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: none; border: 0; padding: 0;
    font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent-light);
}
.product-category-badge i { font-size: .8rem; }
.product-title {
    font-family: var(--font-display);
    font-size: clamp(1.95rem, 1.3rem + 1.7vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.06;
    margin: .5rem 0 .75rem;
}
.product-proof { font-size: .95rem; margin: -.2rem 0 1rem; }
.product-short-desc { font-size: 1.02rem; line-height: 1.6; color: var(--text-secondary); margin-bottom: 1.25rem; }
/* строка фактов: одна полоса с разделителями вместо россыпи пилюль */
.product-facts {
    gap: 0;
    border: 1px solid var(--hairline);
    border-radius: 14px;
    background: var(--surface-1);
    overflow: hidden;
    margin-bottom: 1.6rem;
}
.product-facts .pf-chip {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 46px;
    padding: .55rem 1rem;
    border: 0;
    border-right: 1px solid var(--hairline);
    border-radius: 0;
    background: transparent;
    font-size: .86rem;
}
.product-facts .pf-chip:last-child { border-right: 0; }
.product-facts .pf-chip.pf-status, .product-facts .pf-chip.pf-status.status-updating, .product-facts .pf-chip.pf-status.status-detected { border-right-color: var(--hairline); border-bottom-color: var(--hairline); }
.product-facts .pf-chip.pf-status, .product-facts .pf-chip.pf-status.status-updating, .product-facts .pf-chip.pf-status.status-detected { background: transparent; }
@media (max-width: 520px) {
    .product-facts { flex-direction: column; }
    .product-facts .pf-chip { border-right: 0; border-bottom: 1px solid var(--hairline); justify-content: flex-start; }
    .product-facts .pf-chip:last-child { border-bottom: 0; }
}

/* тарифы: шкала срока строками — срок, цена в день, цена; выбранная строка подсвечена */
.tariffs-legend { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .6rem; }
.tariffs-legend i { color: var(--accent-light); }
.tariffs-grid, .tariffs-grid.is-single { grid-template-columns: 1fr; gap: .5rem; padding-top: 0; }
.tariff-card, .tariffs-grid.is-single .tariff-card {
    min-height: 0;
    padding: .8rem 1.1rem .8rem 2.9rem;
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "name badge price" "term term price" "hint hint hint";
    column-gap: .75rem;
    row-gap: .1rem;
    align-items: center;
    border-radius: 14px;
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    box-shadow: none;
    transform: none;
    overflow: hidden;
}
.tariff-card::before { display: none; }
.tariff-card:hover { transform: none; border-color: var(--hairline-strong); background: var(--surface-2); box-shadow: none; }
.tariff-card.selected, .tariffs-grid.is-single .tariff-card.selected {
    transform: none;
    background: var(--surface-3);
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 14px 36px -18px rgba(168, 85, 247, .8);
}
.tariff-card.tariff-popular { background: var(--surface-1); border-color: var(--hairline); }
.tariff-card.tariff-popular::before { display: none; }
/* радио-кружок слева: у выбранной — галочка */
.tariff-card::after, .tariff-card.selected::after, .tariffs-grid.is-single .tariff-card.selected::after {
    content: '';
    display: flex;
    position: absolute;
    top: 50%; left: 14px;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    margin: 0;
    border-radius: 50%;
    border: 2px solid var(--hairline-strong);
    background: transparent;
    box-shadow: none;
    font-size: .62rem;
    align-items: center; justify-content: center;
}
.tariff-card.selected::after, .tariffs-grid.is-single .tariff-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #c084fc, #7c3aed);
}
.tariff-card .tariff-name, .tariffs-grid.is-single .tariff-name { grid-area: name; margin: 0; font-size: 1rem; font-weight: 700; }
.tariff-card .tariff-badge { grid-area: badge; position: static; justify-self: start; margin: 0; transform: none; font-size: .64rem; letter-spacing: .08em; padding: .18rem .5rem; }
.tariff-card .tariff-duration, .tariffs-grid.is-single .tariff-duration { grid-area: term; justify-self: start; margin: 0; font-size: .82rem; color: var(--text-muted); }
.tariff-card.selected .tariff-duration { color: var(--text-secondary); }
.tariff-card .tariff-price, .tariffs-grid.is-single .tariff-price { grid-area: price; margin: 0; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.tariff-card .tariff-price .price-main, .tariff-card.selected .tariff-price .price-main { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--text-primary); text-shadow: none; }
.tariff-card .tariff-price .price-old { font-size: .78rem; color: var(--text-muted); }
.tariff-card .tariff-notify-hint, .tariffs-grid.is-single .tariff-notify-hint { grid-area: hint; font-size: .8rem; }
.tariff-card.tariff-disabled, .tariff-card.tariff-disabled:hover { background: var(--surface-0); border-style: dashed; opacity: .75; transform: none; }
.tariff-card.tariff-disabled::before { display: none; }

.buy-section { margin-top: 1.1rem; }
.buy-section .btn-lg { min-height: 58px; font-size: 1.05rem; border-radius: 14px; }
.buy-summary { font-size: .95rem; color: var(--text-secondary); margin-top: .6rem; }
.buy-trust-badges { font-size: .8rem; color: var(--text-muted); gap: .4rem 1rem; margin-top: .7rem; }
.buy-trust-badges i { color: var(--accent-light); }

/* возможности: группы с чипами вместо списка-таблицы */
.product-features { margin-top: 2rem; }
.product-features h3, .product-sysreq h3 { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .7rem; }
.product-features h3 i, .product-sysreq h3 i { color: var(--accent-light); background: none; width: auto; height: auto; }
.product-features .feat-count { font-family: var(--font); font-size: .7rem; letter-spacing: 0; color: var(--accent-light); background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 999px; padding: .1rem .5rem; }
.feat-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.feat-group { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 14px; padding: .85rem .95rem; min-width: 0; }
.feat-group.is-wide { grid-column: 1 / -1; }
.feat-group h4 { display: flex; align-items: center; gap: .45rem; margin: 0 0 .55rem; font-size: .82rem; font-weight: 700; color: var(--text-primary); }
.feat-group h4 i { color: var(--accent-light); font-size: .8rem; }
.feat-chips { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.feat-chips li {
    font-size: .8rem; line-height: 1.2;
    padding: .3rem .55rem;
    border-radius: 8px;
    background: var(--surface-2);
    border: 1px solid var(--hairline);
    color: var(--text-secondary);
}
.light-theme .feat-chips li { color: var(--text-primary); }

/* системные требования: три плитки в ряд */
.product-sysreq { margin-top: 1.6rem; }
.sysreq-grid { display: flex; flex-direction: row; flex-wrap: wrap; gap: .5rem; background: none; border: 0; border-radius: 0; }
.sysreq-row, .sysreq-row:last-child { flex: 1 1 150px; display: flex; flex-direction: column; gap: .2rem; padding: .6rem .85rem; font-size: .88rem; background: var(--surface-1); border: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); border-radius: 12px; }
.sysreq-label { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.sysreq-value { font-weight: 600; font-size: .9rem; }

/* как получить: три шага */
.pd-steps-wrap { margin-top: 3rem; }
.pd-h2, .product-description h2, .product-faq h2, .product-reviews h2, .related-products h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    display: flex; align-items: center; gap: .6rem;
    margin-bottom: 1.1rem;
}
.pd-h2 i, .product-description h2 i, .product-faq h2 i, .product-reviews h2 i, .related-products h2 i { color: var(--accent-light); font-size: .9em; }
.pd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; counter-reset: step; }
.pd-step { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.15rem 1.2rem 1.2rem; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 16px; min-width: 0; }
.pd-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--accent-light); opacity: .9; }
.pd-step strong { font-size: 1rem; margin-top: .2rem; }
.pd-step span { font-size: .9rem; line-height: 1.55; color: var(--text-secondary); }
.pd-step a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) { .pd-steps { grid-template-columns: 1fr; } }

.product-description, .light-theme .product-description { margin-top: 2.5rem; background: none; border: 0; padding: 0; box-shadow: none; }
.product-description .description-content { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 1.4rem 1.6rem; }
.description-content h3 { font-size: 1.05rem; margin: 1.2rem 0 .5rem; }
.description-content p, .description-content li { color: var(--text-secondary); line-height: 1.65; }
.related-products { margin-top: 3rem; }

/* липкая панель покупки на телефоне */
.sticky-buy { background: var(--surface-1); border-top: 1px solid var(--hairline-strong); box-shadow: 0 -12px 40px rgba(0, 0, 0, .35); }

/* ── Вход / регистрация: карточка не теряется в пустоте ───────────────────── */

/* ── Поверхности браузера: выделение, каретка, фокус, скроллбар — в палитре ── */
::selection { background: rgba(168, 85, 247, .45); color: #fff; }
.light-theme ::selection { background: rgba(124, 58, 237, .25); color: inherit; }
input, textarea { caret-color: var(--accent-light); }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.btn:focus-visible, .form-control:focus-visible { outline-offset: 3px; }
@supports (scrollbar-color: red blue) {
    html { scrollbar-color: rgba(168, 85, 247, .45) transparent; scrollbar-width: thin; }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, .35); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(168, 85, 247, .6); background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
a { text-underline-offset: 3px; }

/* ── Вход / регистрация: карточка по центру экрана, заголовок крупнее ──────── */
.container:has(> .glass-card > .auth-title) { min-height: calc(100vh - 300px); display: flex; flex-direction: column; justify-content: center; }
.auth-title { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.02em; }

/* ── Иконки способов оплаты (15.10.2026) ─────────────────────────────────────
   Исключение из правила «иконка в --accent-light»: знак платёжки узнают по фирменным цветам
   (СБП, Telegram, Tether), поэтому он цветной, но всегда на нейтральной плитке --surface-3. */
.pay-ico { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto;
    width: 44px; height: 44px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--hairline);
    transition: border-color .2s, transform .2s; }
.pay-ico > svg { display: block; width: 26px; height: 26px; }
.pay-ico--sbp > svg, .pay-ico--sbpcrypto > svg:first-child { width: 23px; height: 28px; }
.pay-ico--cryptobot > svg:first-child { width: 28px; height: 28px; }
.pay-ico--star > svg, .pay-ico--card > svg, .pay-ico--wallet > svg, .pay-ico--lolz > svg { width: 30px; height: 30px; }
.pay-ico-badge { position: absolute; right: -5px; bottom: -5px; width: 18px !important; height: 18px !important;
    border-radius: 50%; box-shadow: 0 0 0 2.5px var(--surface-1); }
.pay-ico--sm { width: 32px; height: 32px; border-radius: 9px; }
.pay-ico--sm > svg { width: 19px; height: 19px; }
.pay-ico--sm.pay-ico--sbp > svg, .pay-ico--sm.pay-ico--sbpcrypto > svg:first-child { width: 15px; height: 19px; }
.pay-ico--sm.pay-ico--star > svg, .pay-ico--sm.pay-ico--card > svg, .pay-ico--sm.pay-ico--wallet > svg, .pay-ico--sm.pay-ico--lolz > svg { width: 22px; height: 22px; }
.pay-ico--sm .pay-ico-badge { width: 13px !important; height: 13px !important; right: -4px; bottom: -4px; }
.pay-ico--sm.pay-ico--cryptobot > svg:first-child { width: 21px; height: 21px; }
.pay-ico--xs { width: 24px; height: 24px; border-radius: 7px; vertical-align: middle; }
.pay-ico--xs > svg { width: 15px; height: 15px; }
.pay-ico--xs.pay-ico--sbp > svg, .pay-ico--xs.pay-ico--sbpcrypto > svg:first-child { width: 12px; height: 15px; }
.pay-ico--xs .pay-ico-badge { display: none; }
.pay-ico--xs.pay-ico--cryptobot > svg:first-child { width: 16px; height: 16px; }
.pay-ico-inline { display: inline-flex; align-items: center; gap: 8px; }
/* оформление заказа: плитка вместо цветного квадрата со шрифтовой иконкой */
.payment-option-icon.has-pay-ico { width: auto; height: auto; min-width: 0; background: none; border: 0; box-shadow: none !important; }
.payment-option:hover .pay-ico { border-color: var(--hairline-strong); }
.payment-option.selected .pay-ico { border-color: var(--hairline-strong); transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .payment-option.selected .pay-ico { transform: none; } }

/* 19.10.2026: свежие статьи в подвале (внутренние ссылки на новое) — переносятся, длинные обрезаются */
.footer-fresh{padding:.9rem 0 .2rem;border-top:1px solid var(--hairline);font-size:.85rem;color:var(--text-muted);line-height:1.8}
.footer-fresh span{margin-right:.5rem}
.footer-fresh a{display:inline-block;max-width:100%;margin-right:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;color:var(--text-secondary,#d3c7ea)}
.footer-fresh a:hover{color:var(--accent-light,#c084fc)}

/* 20.10.2026: телефоны. На ≤1024px .product-layout — flex-колонка (ux.css), а align-self:start из style2.css
   оставлял галерее ширину ленты миниатюр (92px × число картинок): галерея уходила за край экрана и обрезалась */
@media (max-width: 1024px) { .product-media { align-self: stretch; } }
/* одна колонка 1fr растягивалась по самому широкому содержимому: оформление на 320px, форум на всех телефонах */
.checkout-layout > *, .f-layout > * { min-width: 0; }
/* «Угадай персонажа»: 5 колонок не вмещали «Катализатор», «Мондштадт» — строки ответов вылезали за карточку.
   Селектор с .pz-grid, потому что tools.css подключается после polish.css */
@media (max-width: 460px) {
    .pz-grid .pz-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pz-grid .pz-cell { font-size: .76rem; padding: 8px 3px; overflow-wrap: anywhere; }
}
@media (max-width: 359px) {
    .pz-grid .pz-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pz-grid .pz-cell { font-size: .8rem; }
}

/* ══ Дизайн v3 (10.11.2026): баннер cookie, мелочи на телефоне; каталог игр с 11.11 в версии v4 (ниже) ══ */
/* Каталог игр, карточки v4 (11.11.2026). Правила каталога из v3 заменены этим блоком.
   Было: квадратная рамка срезала широкий арт по бокам (от логотипов оставалось "RAIL", "NLESS ZERO", "IWBREAK"),
   подпись лежала поверх персонажей. Стало: арт целиком в родной пропорции 3:2, подпись под артом, все карточки
   одинаковые; неполный последний ряд встаёт по центру, поэтому игр может быть любое число. На телефоне первая игра
   идёт на всю ширину. Цвета и радиус прежние (бренд, 18px), движение только transform. */
.categories-grid {
    --cat-cols: 4; --cat-gap: 1.25rem;
    display: flex; flex-wrap: wrap; justify-content: center; gap: var(--cat-gap);
}
.category-card {
    /* -.1px: запас на округление долей пикселя, иначе четвёртая карточка может уехать на новую строку */
    flex: 0 0 calc((100% - (var(--cat-cols) - 1) * var(--cat-gap)) / var(--cat-cols) - .1px);
    min-width: 0; min-height: 0;
    display: flex; flex-direction: column;
    --cat-bg: var(--surface-1);   /* фон карточки: в него же уходит низ арта; при наведении ступень выше, как у всех карточек сайта */
    background: var(--cat-bg); border-color: var(--hairline); box-shadow: none;
}
.category-card-bg { position: relative; inset: auto; flex: none; aspect-ratio: 3 / 2; background: var(--surface-2); }
.category-card-bg img { display: block; opacity: 1; object-position: center top; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.category-card-bg::after {   /* низ арта мягко уходит в подпись */
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; pointer-events: none;
    background: linear-gradient(to top, var(--cat-bg) 0, transparent 100%);
}
.category-card-content {
    position: static; z-index: auto; height: auto; flex: 1 1 auto;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title arrow" "count arrow";
    align-items: center; align-content: center; column-gap: .75rem; row-gap: .22rem;
    padding: .8rem 1rem .95rem 1.1rem;
    background: none;
}
.category-card-content h3 {
    grid-area: title; margin: 0; font-size: 1.06rem; font-weight: 700; line-height: 1.25; letter-spacing: -.005em;
    text-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.category-card:hover .category-card-content h3 { transform: none; }
.category-card-content p { display: none; }
.category-meta { display: contents; }   /* счётчик и стрелка встают в сетку подписи */
.category-meta > span:first-child {
    grid-area: count; justify-self: start; padding: 0; background: none; border: 0; border-radius: 0;
    font-size: .8rem; font-weight: 500; color: var(--text-muted); white-space: nowrap;
}
.category-arrow { grid-area: arrow; width: 34px; height: 34px; }
.category-card:hover { --cat-bg: var(--surface-2); transform: translateY(-5px); box-shadow: var(--shadow-float, 0 24px 48px rgba(0, 0, 0, .45)); border-color: var(--hairline-strong); }
.category-card:hover .category-card-bg img { opacity: 1; transform: scale(1.04); filter: none; }
/* светлая тема: подпись теперь на светлой карточке, а не поверх тёмного арта */
.light-theme .category-card-content, .light-theme .category-card-content h3 { color: var(--text-primary); }
.light-theme .category-card-content .category-meta, .light-theme .category-meta > span:first-child { color: var(--text-muted); }
.light-theme .category-card-content .category-arrow { background: rgba(124, 58, 237, .08); border-color: rgba(124, 58, 237, .3); color: #7c3aed; }
.light-theme .category-card:hover .category-arrow { color: #fff; }
@media (max-width: 1100px) {
    .categories-grid { --cat-cols: 3; }
}
@media (max-width: 768px) {
    .categories-grid { --cat-cols: 2; --cat-gap: .7rem; }
    .categories-grid > .category-card:first-child { flex-basis: 100%; }
    .categories-grid > .category-card:first-child .category-card-bg { aspect-ratio: 16 / 9; }
    .category-card-content { padding: .6rem .75rem .75rem; column-gap: .5rem; row-gap: .15rem; }
    .category-card-content h3 { font-size: .92rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .category-meta > span:first-child { font-size: .74rem; }
    .category-arrow { display: none; }   /* на узкой плитке стрелка отнимала место у названия; вся карточка и так ссылка */
    .categories-grid > .category-card:first-child .category-card-content { padding: .75rem .9rem .85rem 1rem; }
    .categories-grid > .category-card:first-child .category-card-content h3 { font-size: 1.08rem; }
    .categories-grid > .category-card:first-child .category-arrow { display: flex; width: 32px; height: 32px; }
}

/* Баннер cookie: кнопка отказа была тёмной на тёмном и почти не читалась; на телефоне баннер занимал пятую часть экрана */
.avs-cookie-banner .btn-secondary.avs-cookie-btn { background: var(--surface-3, #221043); border: 1px solid var(--hairline-strong); color: #e9defa; }
.avs-cookie-banner .btn-secondary.avs-cookie-btn:hover { background: #2c1657; color: #fff; }
/* светлая тема: фон кнопки отказа там светлый, и светлая надпись на нём не читалась (ошибка v3, исправлено 11.11) */
.light-theme .avs-cookie-banner .btn-secondary.avs-cookie-btn { background: #fff; color: #3b1d6e; }
.light-theme .avs-cookie-banner .btn-secondary.avs-cookie-btn:hover { background: #f3eefc; color: #2a1250; }
@media (max-width: 640px) {
    .avs-cookie-banner .avs-cookie-inner { position: relative; gap: 8px; }
    .avs-cookie-banner .avs-cookie-text p { -webkit-line-clamp: 1; }
    .avs-cookie-banner .avs-cookie-more { position: absolute; top: 2px; right: 0; max-width: 40%; font-size: .66rem; margin: 0; flex-basis: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .avs-cookie-banner .avs-cookie-text strong { padding-right: 42%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .avs-cookie-banner .avs-cookie-actions { flex-wrap: nowrap; }
    .avs-cookie-banner .avs-cookie-actions .avs-cookie-btn { flex: 1 1 0; padding: .45rem .5rem !important; }
}

/* ══ Дизайн v3: бесшовные переходы между секциями (10.11.2026) ═══════════════════════════════════════
   Раньше секции разделяла волосяная линия, а тёмные секции шли полосой с жёсткими краями: при прокрутке
   страница читалась как стопка блоков. Теперь линий нет: тёмная секция плавно проявляется и гаснет,
   а начало каждой секции отмечает мягкое свечение бренда. Только градиенты, без blur и анимаций. */
.section + .section:not(.section-dark), .section-dark + .section, .hero + .section { border-top: 0; }
.section { position: relative; }
.section-dark {
    border: 0;
    background: linear-gradient(180deg, transparent 0, var(--surface-1) 200px, var(--surface-1) calc(100% - 200px), transparent 100%);
}
.section + .section:not(.section-dark)::before, .hero + .section:not(.section-dark)::before {
    content: ''; display: block; position: absolute; left: 50%; top: -40px; z-index: 0;
    width: min(1100px, 92vw); height: 320px; transform: translateX(-50%); pointer-events: none;
    background: radial-gradient(closest-side, rgba(124, 58, 237, .17), rgba(124, 58, 237, .06) 55%, transparent 100%);
}
.section > .container { position: relative; z-index: 1; }
.light-theme .section + .section:not(.section-dark)::before, .light-theme .hero + .section:not(.section-dark)::before {
    background: radial-gradient(closest-side, rgba(124, 58, 237, .08), transparent 100%);
}
.footer { border-top: 0; background: linear-gradient(180deg, transparent 0, var(--surface-1) 180px); }
@media (max-width: 768px) {
    .section-dark { background: linear-gradient(180deg, transparent 0, var(--surface-1) 110px, var(--surface-1) calc(100% - 110px), transparent 100%); }
    .section + .section:not(.section-dark)::before, .hero + .section:not(.section-dark)::before { height: 220px; top: -30px; }
}

/* ══ Правки 12.11.2026 по итогам осмотра страниц ═══════════════════════════════════════════════
   1. Вопросы на странице товара: заголовок шёл на всю ширину блока, а список узкой колонкой по центру (сбой сетки).
      Теперь вопросы в двух независимых колонках на ширину блока (templates/product.html), на узком экране в одной.
   2. Сворачиваемый SEO-текст (главная под вопросами, страница игры): был рамкой в рамке (карточка и кнопка с обводкой),
      на главной шире колонки вопросов и с заголовком 23 px. Теперь одна карточка со строкой-заголовком.
   3. Планета: панель игры стояла по центру всей колонки (вместе со списком игр), и на экране 900 px кнопка
      "Открыть игру" оказывалась у самого края. Панель поднята на уровень планеты, блок подтянут к заголовку
      (верх холста пустой). planet.css грузится после этого файла, поэтому правила идут через #universe.
   4. Телефон: список игр у планеты занимал шесть строк, а сразу под ним шёл каталог с теми же играми.
      Список стал одной прокручиваемой строкой. */
.faq-cols .faq-col { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
@media (min-width: 900px) {
    .product-faq .faq-cols { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; align-items: start; }
}
details.seo-details { border-radius: 16px; overflow: hidden; }
details.seo-details > summary { display: flex; justify-content: space-between; width: 100%; border: 0; border-radius: 0; padding: 1.15rem 1.6rem; color: var(--text-secondary); }
details.seo-details > summary:hover { color: var(--text-primary); }
details.seo-details > summary h2 { font: inherit; color: inherit; margin: 0; letter-spacing: 0; line-height: 1.35; text-align: left; }
details.seo-details .seo-text { padding: 0 1.6rem 1.4rem; }
details.seo-details.home-seo { max-width: 820px; margin-top: .8rem; }
@media (max-width: 640px) {
    details.seo-details > summary { padding: 1rem 1.15rem; }
    details.seo-details .seo-text { padding: 0 1.15rem 1.15rem; }
}
@media (min-width: 961px) {
    #universe .planet-layout { margin-top: -44px; align-items: start; }
    #universe .planet-panel { margin-top: clamp(56px, 7.6vw, 105px); }
}
@media (max-width: 640px) {
    #universe .planet-legend { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-left: -1rem; margin-right: -1rem; padding: 2px 1rem; scroll-snap-type: x proximity; scroll-padding: 0 1rem; }
    #universe .planet-legend::-webkit-scrollbar { display: none; }
    #universe .planet-chip { flex: 0 0 auto; scroll-snap-align: start; }
}

/* ══ Правки 13.11.2026 по второму осмотру: телефон на пути к оплате, статья, меню ═══════════════════
   Подробности в deploy/tools/design2_20261113/patches.py. */
/* карточки товаров: значок статуса в правом углу, в левом он наезжал на плашку игры, нарисованную на картинке */
.product-card .product-status { left: auto; right: .85rem; }

/* товар на телефоне: галерея стоит ниже тарифов, поэтому у названия значок игры */
.pd-thumb { display: none; }
@media (max-width: 1024px) {
    .product-info { position: relative; }
    /* значок игры, тот же, что в меню каталога: на карточке товара нарисованы надписи, в квадрат 76 px они не кадрируются */
    .pd-thumb { display: block; position: absolute; top: 0; right: 0; width: 76px; height: 76px; border-radius: 16px;
        object-fit: cover; border: 1px solid var(--hairline); background: var(--surface-2); }
    .product-info > .product-category-badge, .product-info > .product-title, .product-info > .product-proof { margin-right: 88px; }
}

/* оформление заказа: галочка согласия (стандартная белая выбивалась из тёмной формы) */
.checkbox-label input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; flex: none; margin: 0; border-radius: 7px;
    border: 1.5px solid var(--hairline-strong); background: var(--surface-2); display: inline-grid; place-content: center; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease; }
.checkbox-label input[type="checkbox"]::after { content: ''; width: 11px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
    transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.checkbox-label input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.checkbox-label input[type="checkbox"]:checked::after { opacity: 1; }
.checkbox-label input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.light-theme .checkbox-label input[type="checkbox"] { background: #fff; border-color: rgba(124, 58, 237, .45); }
.light-theme .checkbox-label input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
/* оформление: полный подвал сайта был длиннее самой формы; ссылки на поддержку, проверку заказа и правила есть в форме */
body:has(.checkout-layout) .footer-grid, body:has(.checkout-layout) .footer-fresh { display: none; }
@media (max-width: 640px) {
    /* описание только у выбранного способа оплаты: кнопка оплаты была через два экрана */
    .payment-option:not(.selected) .payment-option-desc { display: none; }
}

/* статья */
.blog-toc-box a.active { color: var(--accent-light); font-weight: 600; }
.blog-toc-box li:has(> a.active)::marker { color: var(--accent-light); font-weight: 700; }
@media (max-width: 640px) {
    /* в крошках повторялся заголовок статьи: на первом экране он был трижды (крошки, обложка, заголовок) */
    .blog-article-page .breadcrumb > span:last-child, .blog-article-page .breadcrumb > i:nth-last-child(2) { display: none; }
    .blog-article-page { padding-top: 1.25rem; }
}

/* меню на телефоне: шапка здесь 60 px, а высота меню считалась от 70: внизу оставалась полоса со страницей */
@media (max-width: 480px) {
    .nav-links { max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); }
}

/* ══ Правки 18.11.2026 по дизайн-разбору Impeccable ═════════════════════════════════════════════════
   Подробности в deploy/tools/design3_20261118/patches.py. Только то, что DESIGN.md уже требует
   (цвет = смысл, одна тень у поднятой карточки, иконки на --surface-3, без радуги и полос), плюс контраст. */

/* кнопки и логотип без цветного свечения: глубина ступенью поверхности, не фиолетовым ореолом */
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 26px -16px rgba(0, 0, 0, .7); }
.logo i { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.logo:hover i { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.logo-accent { text-shadow: none; }

/* плитки "Почему мы": иконка на --surface-3 в --accent-light, как велит бриф; без пружины */
.feature-icon { background: var(--surface-3); color: var(--accent-light); border: 1px solid var(--hairline);
    box-shadow: none; transition: transform .3s ease, background-color .3s ease; }
.light-theme .feature-icon { background: var(--surface-3); color: #6d28d9; }
.feature-card .feature-icon { box-shadow: none; }   /* fx3d.css грузится позже и возвращал фиолетовую тень */
.faq-question i { transition: transform .3s ease; }
.ts-thumb { transition: left .3s ease, background .25s ease, box-shadow .25s ease; }

/* бейджи: сплошной фон бренда вместо светлого градиента (белый текст был 3,1-3,7 к 1), без свечения, не мельче 11,5 px */
.hit-badge { background: #6d28d9; box-shadow: none; }
.tariff-badge { background: #6d28d9; box-shadow: none; }
.tariff-card .tariff-badge { font-size: .72rem; }
.blog-hot { background: #6d28d9; box-shadow: none; font-size: .72rem; }
.sysreq-label { font-size: .72rem; }
.compare-prod small { font-size: .72rem; }
.bento-pill b { font-size: .72rem; }

/* статус на карточке товара: тёмная плашка вместо полупрозрачной зелёной поверх светлого арта */
.product-card .product-status { background: rgba(10, 0, 21, .86); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.product-card .product-status.status-undetected { border-color: rgba(16, 185, 129, .5); }
.product-card .product-status.status-updating { border-color: rgba(245, 158, 11, .5); }
.product-card .product-status.status-detected { border-color: rgba(239, 68, 68, .5); }
.light-theme .product-card .product-status { background: rgba(255, 255, 255, .94); }

/* фон карточки товара без диагональных полос (бриф: других фонов у контейнеров нет) */
.product-card-image { background: radial-gradient(120% 80% at 50% 0%, rgba(168, 85, 247, .16), transparent 70%), linear-gradient(160deg, #1a0733, #0f0320); }

/* отзывы: аватары без радуги, даты приглушённым цветом; зелёная только галочка проверенной покупки */
.review-avatar { background: var(--surface-3) !important; color: var(--accent-light); border: 1px solid var(--hairline); }
.review-meta { color: var(--text-muted); }
.review-meta i { color: var(--success); }

/* меню в шапке: непрозрачная поверхность, сквозь неё больше не просвечивает заголовок страницы */
.dropdown-menu { background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--hairline-strong);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .55); }
.light-theme .dropdown-menu { background: #fff; }

/* промокоды: "спешите" не янтарём (янтарный = "обновляется"); код копируется нажатием */
.promo-badge-temp { color: var(--text-secondary); background: var(--surface-3); border: 1px solid var(--hairline-strong); }
.blog-article-page code.promo-code { cursor: pointer; display: inline-flex; align-items: center; white-space: nowrap; }
code.promo-code .pc-copy { margin-left: .4rem; font-size: .85em; opacity: .65; }
code.promo-code.is-copied { border-color: var(--success); }
@media (max-width: 480px) {
    .promo-table--codes th:nth-child(3), .promo-table--codes td:nth-child(3) { display: none; }
}

/* товар: бесплатная версия AntiLose тихой строкой под кнопкой покупки, а не бирюзовым блоком над тарифами */
.al-free-note { margin: .9rem 0 0; padding: .6rem .85rem; border-radius: 12px; background: var(--surface-1); border: 1px solid var(--hairline);
    color: var(--text-secondary); font-size: .86rem; line-height: 1.5; }
.al-free-note i { color: var(--accent-light); margin-right: .3rem; }
.al-free-note a { font-weight: 600; }

/* длинные строки в описании товара и SEO-тексте (были до 139 знаков) */
.description-content p, .description-content li, .seo-text p { max-width: 72ch; }

/* висячие разделители на узком экране ("12 покупок за сутки •", "6 отзывов ·") */
@media (max-width: 480px) {
    .lf-sep, .product-proof .pp-sep { display: none; }
    .product-proof { column-gap: .9rem; }
}

/* планета: на сенсорном экране подсказка про нажатие, а не про наведение */
.planet-hint .ph-touch { display: none; }
@media (hover: none) {
    .planet-hint .ph-desk { display: none; }
    .planet-hint .ph-touch { display: inline; }
}

/* главная на телефоне: товары сразу после первого экрана, планета и каталог ниже (было 4,8 экрана до первого товара) */
@media (max-width: 768px) {
    .main-content:has(> #universe) { display: flex; flex-direction: column; }
    .main-content:has(> #universe) > section { order: 2; }
    .main-content:has(> #universe) > .hero { order: 0; }
    .main-content:has(> #universe) > #products { order: 1; }
}

/* оформление: два основных способа оплаты открыты, остальные под "Другие способы"; описания видны у всех */
.pm-more { grid-column: 1 / -1; }
.pay-ico--cardcrypto > svg:first-child { width: 30px; height: 30px; }
.pay-ico--sm.pay-ico--cardcrypto > svg:first-child { width: 22px; height: 22px; }
.pm-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border-radius: 12px;
    border: 1px dashed var(--hairline-strong); color: var(--text-secondary); font-size: .9rem; font-weight: 600; }
.pm-more > summary::-webkit-details-marker { display: none; }
.pm-more > summary i { color: var(--accent-light); transition: transform .2s ease; }
.pm-more[open] > summary i { transform: rotate(180deg); }
.pm-more-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .75rem; }
@media (max-width: 640px) {
    .pm-more-list { grid-template-columns: 1fr; }
    .payment-option:not(.selected) .payment-option-desc { display: block; }
}
/* товар на десктопе: строка тарифа в одну линию (срок, метки, цена), чтобы кнопка покупки была ближе к первому экрану */
@media (min-width: 1025px) {
    .tariff-card, .tariffs-grid.is-single .tariff-card { grid-template-columns: minmax(5.5rem, auto) auto 1fr auto; grid-template-areas: "name badge term price" "hint hint hint hint";
        padding-top: .6rem; padding-bottom: .6rem; }
}

/* ══ Без "вида ИИ" (30.11.2026) ═════════════════════════════════════════════════════════════════════
   Убраны приёмы, по которым сайт читался как собранный генератором: капсула-надзаголовок над каждой секцией,
   градиентное слово в каждом заголовке, иконки в цветных плитках, пульсирующие точки, огромные кавычки и
   цветные аватары в отзывах, "№1", капс-подписи. Градиент остаётся в H1 первого экрана и логотипе,
   анимации маскота, планеты и проявления по прокрутке остаются. Шаблоны: deploy/tools/design4_20261130/. */

/* надзаголовки над секциями главной убраны в шаблоне (index.html); на служебных страницах они несут данные (версия калькулятора) и остаются */

/* заголовки секций: сплошной цвет, крупнее и плотнее; градиентное слово только в H1 хиро и категории */
.section-title .gradient-text, .page-title .gradient-text {
    background: none; -webkit-background-clip: border-box; background-clip: border-box;
    -webkit-text-fill-color: currentColor; color: inherit; text-shadow: none;
}
.section-title { font-size: clamp(1.85rem, 1.15rem + 2.3vw, 2.85rem); letter-spacing: -.03em; line-height: 1.08; }
.section-subtitle { max-width: 46rem; margin-left: auto; margin-right: auto; }

/* статусные точки: точка остаётся (это настоящий статус), пульс и мигание убраны */
.status-dot, .status-dot-lg, .sb-dot, .pc-dot { animation: none !important; }
.btn-glow { animation: none; }

/* первый экран: строка статуса текстом со ссылкой, без капсулы */
.hero-status-line { padding: 0; border: 0; border-radius: 0; background: none; margin-top: 1.4rem; }
.hero-status-line:hover { transform: none; color: var(--text-primary); }
.hero-status-line .hsl-tail { text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; }
.light-theme .hero-status-line { background: none; }

/* лента покупок: подпись обычным текстом, карточка без цветного ореола и градиентной полосы */
.lf-badge { font-size: .86rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-secondary); }
.lf-card { box-shadow: none; }
.lf-card::before { display: none; }

/* хит недели: тёмная подпись на арте, как статус у карточек; игра обычным текстом */
.hit-badge { background: rgba(10, 0, 21, .86); border: 1px solid var(--hairline-strong); color: var(--text-primary); box-shadow: none;
    text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .8rem; }
.hit-game { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.light-theme .hit-badge { background: rgba(255, 255, 255, .94); color: #1a0530; }

/* карточка товара: игра строкой без капсулы, тень без фиолетового ореола, блик по арту при наведении */
.product-card-body .product-category-tag { background: none; border: 0; padding: 0; border-radius: 0; text-transform: none; letter-spacing: 0;
    font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.product-card:hover { box-shadow: var(--shadow-float); }
.product-card-image .pc-shine {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .16) 50%, transparent 62%);
    transform: translateX(-105%); transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.product-card:hover .pc-shine { transform: translateX(105%); }
.product-card .product-status { z-index: 2; }

/* "Как работает AvenShop": без иконок; календарь со списком патчей, симулятор с картами персонажей, поддержка с контактами */
.features-grid.bento .feature-card > h3:first-child { margin-top: 0; }
.bento-patches { margin-top: auto; padding-top: .9rem; display: grid; gap: .45rem; }
.bento-patch { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .55rem .8rem; border-radius: 12px;
    background: var(--surface-2); border: 1px solid var(--hairline); font-size: .86rem; color: var(--text-secondary); min-width: 0; }
.bento-patch .bp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bento-patch .bp-cd { color: var(--text-primary); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 900px) {
    .bento-patches { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
    .bento-patch { flex-direction: column; align-items: flex-start; gap: .2rem; }
}
.features-grid.bento .bento-wish { position: relative; }
.bento-fan { display: flex; margin: 0 0 1rem .9rem; pointer-events: none; }
.bento-fan img { width: 46px; height: 60px; object-fit: cover; object-position: center top; border-radius: 10px; margin-left: -15px;
    border: 1px solid var(--hairline-strong); background: linear-gradient(180deg, #3b1a78, #1d0b40); transition: transform .25s ease; }
.bento-fan img:nth-child(1) { transform: rotate(-9deg) translateY(4px); }
.bento-fan img:nth-child(2) { position: relative; z-index: 1; }
.bento-fan img:nth-child(3) { transform: rotate(9deg) translateY(4px); }
.bento-wish:hover .bento-fan img:nth-child(1) { transform: rotate(-15deg) translate(-5px, 4px); }
.bento-wish:hover .bento-fan img:nth-child(2) { transform: translateY(-4px); }
.bento-wish:hover .bento-fan img:nth-child(3) { transform: rotate(15deg) translate(5px, 4px); }
.bento-links { margin-top: auto; padding-top: .9rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.bento-links a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 12px; background: var(--surface-2);
    border: 1px solid var(--hairline); color: var(--text-primary); font-size: .86rem; font-weight: 600; text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease; }
.bento-links a:hover { background: var(--surface-3); border-color: var(--hairline-strong); }
.bento-links i { color: var(--accent-light); }
@media (max-width: 768px) { .bento-fan { justify-content: center; margin-left: 0; } .bento-fan img:first-child { margin-left: 0; } }

/* отзывы: без огромной кавычки, аватаров и капсулы товара; текст отзывов не менялся */
.review-card::before { content: none; }
.review-product { text-transform: none; letter-spacing: 0; font-size: .84rem; font-weight: 600; padding: 0; border: 0; border-radius: 0; background: none; }
.review-product:hover { text-decoration: underline; }

/* страница товара: подписи обычным регистром, а не капсом с разрядкой */
.product-category-badge, .tariffs-legend, .product-features h3, .product-sysreq h3, .sysreq-label, .tariff-badge { text-transform: none; letter-spacing: 0; }
.product-category-badge { font-size: .9rem; font-weight: 600; }
.tariffs-legend, .product-features h3, .product-sysreq h3 { font-size: .95rem; font-weight: 600; color: var(--text-secondary); }
.sysreq-label { font-size: .8rem; font-weight: 600; }
.tariff-card .tariff-badge { font-size: .74rem; }

/* цены сплошным цветом: градиентный текст в цене читался как декор */
.price-current, .price-main, .hit-price, .bento-big {
    background: none; -webkit-background-clip: border-box; background-clip: border-box;
    -webkit-text-fill-color: currentColor; color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
    .pc-shine, .bento-fan img { transition: none; }
    .pc-shine { display: none; }
}
/* без плитки с числом (на .xyz ключей пока меньше 100) ряд плиток не оставляет дыру */
@media (min-width: 1025px) { #features .features-grid.bento:not(:has(.bento-num)) .bento-cal { grid-column: span 3; } }
@media (max-width: 1024px) { #features .features-grid.bento:not(:has(.bento-num)) .bento-wish { grid-column: span 2; } }
/* главная: единственный отзыв стоит по центру ряда, а не у левого края (страницу товара не трогаем) */
@media (min-width: 1025px) { .reviews-grid:not(#productReviewsGrid) > .review-card:only-child { grid-column: 1 / -1; justify-self: center; width: min(100%, 400px); } }
/* страница товара: правило "один ряд отзывов" из ux.css прятало 4-й и следующие отзывы, и кнопка "Показать все" их не раскрывала */
@media (min-width: 1025px) {
    #productReviewsGrid .review-card:nth-child(n+4) { display: block; }
    #productReviewsGrid .review-card.review-card-hidden { display: none; }
}
/* статусы в плитке проверки: обычным регистром */
.bento-pill b { text-transform: none; letter-spacing: 0; font-size: .76rem; }
