/* =====================================================================
   YourCheats — шаблон yc-next v2: игровая витрина.
   Подключается после style.css. Крючки старых скриптов (popup, spollers,
   tabs, swiper, окно оплаты, #search-input) сохранены — меняется только вид.
   ===================================================================== */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ycn-bg: #07080c;
    --ycn-bg-2: #0b0d13;
    --ycn-surface: #10131b;
    --ycn-surface-2: #161a24;
    --ycn-surface-3: #1e2330;
    --ycn-line: rgba(255, 255, 255, 0.06);
    --ycn-line-2: rgba(255, 255, 255, 0.11);
    --ycn-accent: #e83058;
    --ycn-accent-2: #ff4d73;
    --ycn-accent-3: #a34056;
    --ycn-accent-soft: rgba(232, 48, 88, 0.12);
    --ycn-glow: 0 0 0 1px rgba(232, 48, 88, 0.55), 0 12px 40px rgba(232, 48, 88, 0.28);
    --ycn-grad: linear-gradient(135deg, #ff5a7e 0%, #e83058 45%, #b5163c 100%);
    --ycn-text: #f3f6fb;
    --ycn-text-2: #c3c9d8;
    --ycn-muted: #8b93a7;
    --ycn-ok: #4ade9a;
    --ycn-warn: #facc15;
    --ycn-risk: #f87171;
    --ycn-radius: 18px;
    --ycn-radius-sm: 12px;
    --ycn-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --ycn-shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.3);
    --ycn-container: 1440px;
    --ycn-gutter: 16px;
    --ycn-ctl: 44px;
    --ycn-header-h: 64px;
}

@media (min-width: 768px) {
    :root { --ycn-gutter: 24px; --ycn-header-h: 72px; }
}

@media (min-width: 1280px) {
    :root { --ycn-gutter: 32px; }
}

/* ---------- База ---------- */

html { scroll-padding-top: 140px; }

body.ycn {
    margin: 0;
    background:
        radial-gradient(1100px 600px at 85% -10%, rgba(232, 48, 88, 0.16), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, rgba(181, 22, 60, 0.12), transparent 60%),
        var(--ycn-bg);
    color: var(--ycn-text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    min-width: 320px;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

.ycn *, .ycn *::before, .ycn *::after { box-sizing: border-box; }
.ycn img, .ycn video, .ycn iframe { max-width: 100%; }
.ycn img { height: auto; }
.ycn a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.ycn :focus-visible { outline: 2px solid var(--ycn-accent-2); outline-offset: 2px; }
.ycn .highlight-red { color: var(--ycn-accent-2); }
.ycn .highlight-orange { color: #fbbf24; }
.ycn-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ycn .wrapper.ycn-shell { display: block; min-height: 100vh; padding: 0; gap: 0; }

.ycn-container,
.ycn [class*=__container] {
    box-sizing: border-box;
    width: 100%;
    max-width: calc(var(--ycn-container) + 2 * var(--ycn-gutter));
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ycn-gutter);
    padding-right: var(--ycn-gutter);
}

.ycn main.page { display: block; padding-bottom: 64px; }
.ycn main.page > * + * { margin-top: 56px; }
.ycn .section { margin-bottom: 0; }

@media (max-width: 767.98px) {
    .ycn main.page > * + * { margin-top: 36px; }
}

/* ---------- Кнопки ---------- */

.ycn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--ycn-ctl);
    padding: 0 18px;
    border: 1px solid var(--ycn-line-2);
    border-radius: 12px;
    background: var(--ycn-surface-2);
    color: var(--ycn-text);
    font: 600 14px/1 "Inter", system-ui, sans-serif;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.ycn-btn:hover { border-color: rgba(232, 48, 88, .6); color: #fff; }
.ycn-btn svg { flex: none; }
.ycn-btn--primary { border-color: transparent; background: var(--ycn-grad); color: #fff; box-shadow: 0 8px 26px rgba(232, 48, 88, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ycn-btn--primary:hover { box-shadow: 0 10px 34px rgba(232, 48, 88, .55), inset 0 1px 0 rgba(255, 255, 255, .25); transform: translateY(-1px); }
.ycn-btn--ghost { background: transparent; }
.ycn-btn--lg { height: 54px; padding: 0 26px; border-radius: 14px; font-size: 16px; }

.ycn .btn-primary { border: 0; border-radius: 14px; background: var(--ycn-grad); color: #fff; font-weight: 700; box-shadow: 0 8px 26px rgba(232, 48, 88, .35); }
.ycn .btn-primary:hover { box-shadow: 0 10px 34px rgba(232, 48, 88, .55); }
.ycn .btn-grey { border: 1px solid var(--ycn-line-2); border-radius: 12px; background: var(--ycn-surface-2); color: var(--ycn-text); box-shadow: none; }
.ycn .btn-grey:hover { border-color: rgba(232, 48, 88, .6); }

/* ---------- Шапка ---------- */

.ycn-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 8, 12, .86);
    border-bottom: 1px solid var(--ycn-line);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
}

.ycn-header__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    min-height: var(--ycn-header-h);
    padding-top: 10px;
    padding-bottom: 10px;
}

.ycn-brand { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--ycn-text); text-decoration: none; }
.ycn-brand img { display: block; width: 40px; height: 40px; border-radius: 10px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(232, 48, 88, .35)); }
.ycn-brand__name { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }

.ycn-header__actions { display: flex; flex: none; align-items: center; gap: 10px; margin-left: auto; }
.ycn-header__auth { display: none; align-items: center; gap: 10px; }

@media (min-width: 1024px) {
    .ycn-header__auth { display: flex; }
}

/* Поиск: один элемент управления высотой с кнопки */
.ycn-search { position: relative; flex: 1 1 360px; max-width: 600px; margin: 0; }
.ycn-search__field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: var(--ycn-ctl);
    padding: 0 8px 0 14px;
    border: 1px solid var(--ycn-line-2);
    border-radius: 12px;
    background: var(--ycn-surface);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ycn-search__field:hover { border-color: rgba(255, 255, 255, .2); }
.ycn-search__field:focus-within { border-color: rgba(232, 48, 88, .85); background: var(--ycn-surface-2); box-shadow: 0 0 0 4px rgba(232, 48, 88, .18); }
.ycn-search__icon { flex: none; width: 18px; height: 18px; color: var(--ycn-muted); }
.ycn-search__field:focus-within .ycn-search__icon { color: var(--ycn-accent-2); }
.ycn .ycn-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ycn-text);
    font: 500 14px/1 "Inter", system-ui, sans-serif;
}
.ycn .ycn-search__input::placeholder { color: var(--ycn-muted); opacity: 1; }
.ycn .ycn-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ycn-search__kbd { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border: 1px solid var(--ycn-line-2); border-radius: 6px; color: var(--ycn-muted); font: 600 12px/1 "Inter", sans-serif; }
.ycn-search__field:focus-within .ycn-search__kbd { display: none; }

.ycn-search__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--ycn-line-2);
    border-radius: 14px;
    background: var(--ycn-surface);
    box-shadow: var(--ycn-shadow), 0 0 0 1px rgba(232, 48, 88, .12);
}
.ycn-search__panel[hidden] { display: none; }
.ycn-search__group { padding: 8px 10px 4px; color: var(--ycn-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ycn-search__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--ycn-text); text-decoration: none; }
.ycn-search__item img { flex: none; width: 52px; height: 32px; border-radius: 6px; object-fit: cover; background: var(--ycn-surface-3); }
.ycn-search__item span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ycn-search__item b { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ycn-search__item b mark { background: none; color: var(--ycn-accent-2); }
.ycn-search__item small { color: var(--ycn-muted); font-size: 12px; }
.ycn-search__item:hover, .ycn-search__item.is-active { background: var(--ycn-accent-soft); }
.ycn-search__empty { padding: 14px 10px; color: var(--ycn-muted); }

/* Выбор языка (крючки #language-selector/#options/.option и #lang-select/#lang-options/.lang-item) */
.ycn-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: var(--ycn-ctl);
    padding: 0 12px;
    border: 1px solid var(--ycn-line-2);
    border-radius: 12px;
    background: var(--ycn-surface-2);
    color: var(--ycn-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}
.ycn-lang > svg { flex: none; width: 22px; height: 16px; border-radius: 3px; }
.ycn-lang .options, .ycn-lang .lang-options { top: calc(100% + 8px); right: 0; left: auto; width: auto; min-width: 190px; padding: 6px; border: 1px solid var(--ycn-line-2); border-radius: 12px; background: var(--ycn-surface); box-shadow: var(--ycn-shadow); }
.ycn-lang .options a, .ycn-lang .lang-options a { display: block; text-decoration: none; }
.ycn-lang .option, .ycn-lang .lang-item { gap: 10px; border-radius: 8px; color: var(--ycn-text); font-size: 14px; font-weight: 500; }
.ycn-lang .option svg, .ycn-lang .lang-item svg { width: 22px; height: 16px; margin: 0; border-radius: 3px; }

/* Бургер (app.min.js: .icon-menu → html.menu-open) */
.ycn .ycn-burger.icon-menu { position: relative; display: inline-flex; flex: none; width: var(--ycn-ctl); height: var(--ycn-ctl); padding: 0; border: 1px solid var(--ycn-line-2); border-radius: 12px; background: var(--ycn-surface-2); cursor: pointer; }
.ycn .ycn-burger.icon-menu span, .ycn .ycn-burger.icon-menu::before, .ycn .ycn-burger.icon-menu::after { content: ""; position: absolute; left: 12px; right: 12px; top: auto; bottom: auto; width: auto; height: 2px; border-radius: 2px; background: var(--ycn-text); transition: transform .25s ease, opacity .25s ease; }
.ycn .ycn-burger.icon-menu::before { top: 14px; }
.ycn .ycn-burger.icon-menu span { top: 20px; }
.ycn .ycn-burger.icon-menu::after { top: 26px; }
.menu-open .ycn .ycn-burger.icon-menu::before { transform: translateY(6px) rotate(45deg); }
.menu-open .ycn .ycn-burger.icon-menu span { opacity: 0; }
.menu-open .ycn .ycn-burger.icon-menu::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) {
    .ycn .ycn-burger.icon-menu { display: none; }
}

/* Телефон: поиск — отдельная строка на всю ширину */
@media (max-width: 767.98px) {
    .ycn-search { order: 3; flex: 1 1 100%; max-width: none; }
    .ycn-brand__name { font-size: 17px; }
    .ycn-lang span { display: none; }
}

/* Вторая строка: разделы */
.ycn-subnav { display: none; border-top: 1px solid var(--ycn-line); }

@media (min-width: 1024px) {
    .ycn-subnav { display: block; }
}

.ycn-subnav__row { display: flex; align-items: center; gap: 4px; height: 48px; }
.ycn-subnav__link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; color: var(--ycn-text-2); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ycn-subnav__link svg { width: 20px; height: 20px; }
.ycn-subnav__link:hover { color: #fff; }
.ycn-subnav__link.is-active { color: #fff; }
.ycn-subnav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ycn-grad); box-shadow: 0 0 12px rgba(232, 48, 88, .8); }
.ycn-subnav__aside { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ycn-subnav__support { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--ycn-line-2); border-radius: 999px; color: var(--ycn-text-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.ycn-subnav__support:hover { border-color: rgba(232, 48, 88, .6); color: #fff; }
.ycn-subnav__support img { width: 18px; height: 18px; }

/* Выдвижное меню (класс .menu__body нужен скрипту) */
.ycn .ycn-drawer.menu__body { top: 0; right: -110%; z-index: 70; gap: 22px; width: min(400px, 100%); height: 100dvh; padding: 18px var(--ycn-gutter) 32px; border-left: 1px solid var(--ycn-line); background: var(--ycn-bg-2); box-shadow: var(--ycn-shadow); }
.menu-open .ycn .ycn-drawer.menu__body { right: 0; }
.ycn-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ycn-drawer__nav { display: flex; flex-direction: column; gap: 2px; }
.ycn-drawer__nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--ycn-text); font-size: 15px; font-weight: 600; text-decoration: none; }
.ycn-drawer__nav a:hover, .ycn-drawer__nav a.is-active { background: var(--ycn-accent-soft); }
.ycn-drawer__nav svg { width: 26px; height: 26px; flex: none; }
.ycn-drawer__group { display: flex; flex-wrap: wrap; gap: 10px; }
.ycn-drawer__group .ycn-btn { flex: 1 1 150px; }
.ycn-drawer__title { margin: 0 0 8px; color: var(--ycn-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ycn-drawer__close { width: var(--ycn-ctl); height: var(--ycn-ctl); border: 1px solid var(--ycn-line-2); border-radius: 12px; background: var(--ycn-surface-2); color: var(--ycn-text); font-size: 22px; line-height: 1; cursor: pointer; }

/* Сообщества («Нам доверяют») */
.ycn-community { border-bottom: 1px solid var(--ycn-line); background: rgba(16, 19, 27, .55); }
.ycn-community__row { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.ycn-community__label { display: inline-flex; flex: none; align-items: center; gap: 8px; margin: 0; color: var(--ycn-text); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ycn-community__label img { width: 18px; height: 18px; }
.ycn-community__list { display: flex; flex: 1 1 auto; gap: 8px; min-width: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.ycn-community__list::-webkit-scrollbar { display: none; }
.ycn-chip { display: inline-flex; flex: none; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border: 1px solid var(--ycn-line); border-radius: 999px; background: var(--ycn-surface); color: var(--ycn-text); text-decoration: none; }
.ycn-chip:hover { border-color: rgba(232, 48, 88, .5); }
.ycn-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ycn-chip__text { display: flex; flex-direction: column; line-height: 1.2; }
.ycn-chip__title { font-size: 13px; font-weight: 600; white-space: nowrap; }
.ycn-chip__sub { color: var(--ycn-accent-2); font-size: 11px; }

@media (max-width: 639.98px) {
    .ycn-community__label span { display: none; }
}

/* Плашка набора ютуберов */
.ycn .yc-promo { max-width: calc(var(--ycn-container) + 2 * var(--ycn-gutter)); margin: 20px auto 0; padding: 0 var(--ycn-gutter); }
.ycn .yc-promo__card { border-radius: var(--ycn-radius); }

/* ---------- Заголовки, крошки ---------- */

.ycn .breadcrumbs { margin: 24px 0 12px; }
.ycn .breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.ycn .breadcrumbs__item { display: inline-flex; align-items: center; gap: 6px; color: var(--ycn-muted); }
.ycn .breadcrumbs__item:not(:last-child)::after { content: none; }
.ycn .breadcrumbs__item + .breadcrumbs__item::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid rgba(255, 255, 255, .3); border-right: 1.5px solid rgba(255, 255, 255, .3); transform: rotate(45deg); margin-right: 4px; }
.ycn .breadcrumbs__link { color: var(--ycn-text-2); text-decoration: none; }
.ycn .breadcrumbs__link:hover { color: #fff; }
.ycn .breadcrumbs__current { color: var(--ycn-muted); }

.ycn .page-title { margin: 0 0 24px; }
.ycn .page-title h1, .ycn .ycn-h1 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.ycn .page-subtitle { margin: 10px 0 0; color: var(--ycn-text-2); }

.ycn-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.ycn-section-head h2, .ycn .title-section h2 { position: relative; margin: 0; padding-left: 16px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.ycn-section-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--ycn-grad); box-shadow: 0 0 14px rgba(232, 48, 88, .7); }
.ycn-section-head p { margin: 6px 0 0; color: var(--ycn-muted); }
.ycn-link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--ycn-text-2); font-weight: 600; text-decoration: none; }
.ycn-link-more:hover { color: #fff; }

.ycn-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px; border: 1px solid rgba(232, 48, 88, .35); border-radius: 999px; background: rgba(232, 48, 88, .1); color: #ffd3dd; font-size: 13px; font-weight: 600; }
.ycn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ycn-ok); box-shadow: 0 0 0 4px rgba(74, 222, 154, .18), 0 0 12px rgba(74, 222, 154, .8); }

/* ---------- Главная: первый экран ---------- */

.ycn-hero { position: relative; overflow: hidden; padding: 36px 0 8px; isolation: isolate; }
.ycn-hero__glow { position: absolute; inset: -10% -5% auto auto; z-index: -1; width: min(1100px, 90%); height: 120%; background: radial-gradient(closest-side at 62% 42%, rgba(232, 48, 88, .55), rgba(232, 48, 88, .12) 55%, transparent 100%); opacity: .5; pointer-events: none; }
.ycn-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }

@media (max-width: 767.98px) {
    .ycn-hero__glow { display: none; }
}

@media (min-width: 1024px) {
    .ycn-hero { padding-top: 48px; }
    .ycn-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; }
}

.ycn-hero__title { margin: 18px 0 18px; font-size: clamp(34px, 4.1vw, 60px); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; }
.ycn-hero__title span { display: block; background: var(--ycn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 6px 30px rgba(232, 48, 88, .35)); }
.ycn-hero__lead { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--ycn-text-2); font-size: 16px; }
.ycn-hero__lead li { position: relative; padding-left: 28px; }
.ycn-hero__lead li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 6px; background: var(--ycn-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23ff4d73' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ycn-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ycn-hero__stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; }
.ycn-hero__stats div { display: flex; align-items: baseline; gap: 8px; }
.ycn-hero__stats dt { order: 2; color: var(--ycn-muted); font-size: 14px; }
.ycn-hero__stats dd { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.ycn-hero__stats a { color: inherit; text-decoration: none; }

.ycn-hero__visual { position: relative; min-width: 0; }
.ycn-hero__art { position: relative; display: block; overflow: hidden; border-radius: 24px; aspect-ratio: 635 / 465; background: var(--ycn-surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(232, 48, 88, .35), 0 0 60px rgba(232, 48, 88, .22); }
.ycn-hero__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ycn-hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 8, 12, .85) 100%); }

/* Топ недели: слайдер (классы hero__* — крючки Swiper в app.min.js) */
.ycn-hero__featured { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; }
.ycn-hero__featured-label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(7, 8, 12, .7); color: #ffd3dd; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ycn .hero__slider-block { position: relative; width: auto; max-width: none; min-width: 0; margin: 0; padding: 0; }
.ycn .hero__slider { overflow: hidden; border-radius: 16px; }
/* До запуска Swiper карточки стояли столбиком (блок 393px), потом схлопывались — сдвиг макета 0.10 на ПК.
   Та же раскладка, что даёт Swiper: лента в строку, видна первая карточка. */
.ycn .hero__swiper { display: flex; }
.ycn .hero__slide { flex-shrink: 0; width: 100%; }
.ycn .hero__card { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--ycn-line-2); border-radius: 16px; background: rgba(12, 14, 20, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ycn .hero__card-img { flex: none; width: 96px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; }
.ycn .hero__card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ycn .hero__card-cont { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.ycn .hero__card-name { min-width: 0; }
.ycn .hero__card-name a { display: block; overflow: hidden; color: var(--ycn-text); font-size: 16px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.ycn .hero__card-link { flex: none; height: 38px; padding: 0 14px; font-size: 13px; }
.ycn .hero__slider-btn, .ycn .hero__pagging { display: none; }

/* Доверие */
.ycn-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ycn-trust li { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--ycn-line); border-radius: var(--ycn-radius); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent), var(--ycn-surface); }
.ycn-trust__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ycn-accent-soft); color: var(--ycn-accent-2); box-shadow: inset 0 0 0 1px rgba(232, 48, 88, .3); }
.ycn-trust__icon svg { width: 22px; height: 22px; }
.ycn-trust b { display: block; margin-bottom: 2px; font-size: 15px; }
.ycn-trust span { color: var(--ycn-muted); font-size: 14px; }
.ycn-trust a { color: inherit; text-decoration: none; }

/* О сервисе и шаги */
.ycn-about { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--ycn-line); border-radius: 24px; background: radial-gradient(700px 260px at 0% 0%, rgba(232, 48, 88, .14), transparent 70%), var(--ycn-surface); }

@media (min-width: 1024px) {
    .ycn-about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 48px; }
}

.ycn-about h2 { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; }
.ycn-about p { margin: 0; color: var(--ycn-text-2); font-size: 16px; line-height: 1.7; }
.ycn-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ycn-step { position: relative; overflow: hidden; padding: 22px; border: 1px solid var(--ycn-line); border-radius: var(--ycn-radius); background: var(--ycn-surface); }
.ycn-step__num { display: block; margin-bottom: 12px; background: var(--ycn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-size: 40px; font-weight: 900; line-height: 1; }
.ycn-step p { margin: 0; color: var(--ycn-text-2); }

/* ---------- Вопросы (spollers) ---------- */

.ycn .spollers { display: grid; gap: 10px; }
.ycn .spollers__item { margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--ycn-line); border-radius: 16px; background: var(--ycn-surface); }
.ycn .spollers__title { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 20px; border: 0; background: transparent; color: var(--ycn-text); font: 600 16px/1.4 "Inter", sans-serif; text-align: left; cursor: pointer; }
.ycn .spollers__title svg { flex: none; color: var(--ycn-muted); transition: transform .25s ease; }
.ycn .spollers__title._spoller-active svg { transform: rotate(180deg); color: var(--ycn-accent-2); }
.ycn .spollers__body { padding: 0 20px 18px; color: var(--ycn-text-2); line-height: 1.7; }

@media (min-width: 900px) {
    .ycn .ycn-faq .spollers, .ycn #categories-faq .spollers { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

/* ---------- Каталог: панель, вкладки ---------- */

.ycn .catalog__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ycn .catalog__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ycn .catalog__sort { display: flex; align-items: center; gap: 10px; }
.ycn .catalog__name { display: inline-flex; align-items: center; gap: 8px; color: var(--ycn-muted); font-size: 14px; white-space: nowrap; }
.ycn .catalog__value .select__title, .ycn .catalog__value select { min-height: var(--ycn-ctl); border-radius: 12px; }
.ycn .catalog__btn { display: inline-flex; align-items: center; gap: 10px; width: auto; height: var(--ycn-ctl); padding: 0 18px; }
.ycn .catalog__count { color: var(--ycn-muted); font-size: 14px; }

.ycn .catalog__top .dma-tabs { flex: 1 1 auto; min-width: 0; }
.ycn .dma-tabs { display: flex; gap: 8px; margin: 0; padding: 2px 0 4px; overflow-x: auto; scrollbar-width: none; }
.ycn .dma-tabs::-webkit-scrollbar { display: none; }
.ycn .dma-tabs__item { display: inline-flex; flex: none; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--ycn-line-2); border-radius: 999px; background: var(--ycn-surface); color: var(--ycn-text-2); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ycn .dma-tabs__item:hover { color: #fff; border-color: rgba(255, 255, 255, .22); }
.ycn .dma-tabs__item--active { border-color: transparent; background: var(--ycn-grad); color: #fff; box-shadow: 0 6px 20px rgba(232, 48, 88, .35); }

/* ---------- Сетки ---------- */

.ycn .catalog__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }

@media (min-width: 640px) { .ycn .catalog__body { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .ycn .catalog__body { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .ycn .catalog__body { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1440px) { .ycn .catalog__body--games { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* Статьи на телефоне — одна колонка: длинные заголовки не рвутся посреди слова */
@media (max-width: 559px) { .ycn .articles .catalog__body { grid-template-columns: 1fr; } .ycn .articles .catalog__body .product-card .category-name { font-size: 17px; } }

/* Карточка игры: обложка во всю карточку, текст поверх */
.ycn .product-card { position: relative; display: flex; flex-direction: column; width: auto; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid var(--ycn-line); border-radius: var(--ycn-radius); background: var(--ycn-surface); box-shadow: var(--ycn-shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ycn .product-card:hover { transform: translateY(-4px); border-color: rgba(232, 48, 88, .55); box-shadow: var(--ycn-glow); }
.ycn .ycn-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ycn-surface-3); }
.ycn .product-card .product-card__bg { position: static; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform .45s ease; }
.ycn .product-card > img.product-card__bg { aspect-ratio: 16 / 10; height: auto; }
.ycn .product-card:hover .product-card__bg { transform: scale(1.06); }

/* Высота плитки = 16:11 по распорке ::before, но не меньше текста (длинные названия на телефоне не обрезаются) */
.ycn .ycn-game { display: grid; aspect-ratio: auto; }
.ycn .ycn-game::before { content: ""; grid-area: 1 / 1; padding-top: 68.75%; }
.ycn .ycn-game .product-card__body { grid-area: 1 / 1; align-self: end; }
.ycn .ycn-game .ycn-card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.ycn .ycn-game .ycn-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 12, 0) 30%, rgba(7, 8, 12, .55) 62%, rgba(7, 8, 12, .95) 100%); }
.ycn .ycn-game .product-card__body { position: relative; z-index: 1; flex: 0 0 auto; gap: 6px; padding: 12px 14px 14px; pointer-events: none; }
.ycn .ycn-game .product-card__body a { pointer-events: auto; }
.ycn .ycn-game .category-name { font-size: 16px; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.ycn .ycn-game .product-card__bottom { margin: 0; padding: 0; border: 0; }
.ycn .ycn-game .product-card__price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 6px; color: var(--ycn-text-2); font-size: 12px; white-space: nowrap; }
.ycn .ycn-game .product-card__price span { font-size: 15px; }
.ycn .ycn-game .product-card__link { width: 34px; height: 34px; padding: 0; justify-content: center; border-color: rgba(255, 255, 255, .18); background: rgba(7, 8, 12, .55); }
.ycn .ycn-game .product-card__link span { display: none; }
.ycn .ycn-game:hover .product-card__link { border-color: transparent; background: var(--ycn-grad); }
.ycn .ycn-game .product-card__info-line { font-size: 12px; color: var(--ycn-text-2); }

/* Тело карточки (читы, DMA, статьи) */
.ycn .product-card__body { position: relative; display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; padding: 14px 16px 16px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; filter: none; }
.ycn .product-card__name a { color: var(--ycn-text); text-decoration: none; }
.ycn .product-card__name h2, .ycn .product-card__name h3, .ycn .product-card .category-name { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; overflow-wrap: break-word; }
.ycn .product-card__info-line { display: flex; align-items: center; gap: 8px; min-height: 0; color: var(--ycn-muted); font-size: 13px; }
.ycn .product-card__info-line:empty { display: none; }
.ycn .product-card__info-line img { width: 22px !important; height: 22px !important; border-radius: 6px; object-fit: cover; }
.ycn .product-card__info-line p { margin: 0; }
.ycn .product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ycn-line); }
.ycn .product-card__price { display: flex; flex-direction: column; gap: 2px; color: var(--ycn-muted); font-size: 12px; }
.ycn .product-card__price span { color: var(--ycn-text); font-size: 18px; font-weight: 800; white-space: nowrap; -webkit-text-fill-color: currentColor; background: none; }
.ycn .product-card__link { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--ycn-line-2); border-radius: 10px; background: var(--ycn-surface-2); color: var(--ycn-text); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ycn .product-card:hover .product-card__link { border-color: transparent; background: var(--ycn-grad); color: #fff; }
.ycn .product-card:hover .product-card__link path { fill: #fff; }

/* Карточки DMA-комплектующих и прошивок: пустой разделитель из разметки дублирует линию над ценой */
.ycn .product-card__info-line__empty { display: none; }
/* Цена и кнопка не помещаются в узкую карточку — кнопка уходит на свою строку, а не за край */
.ycn .product-card:not(.ycn-game) .product-card__bottom { flex-wrap: wrap; }
.ycn .product-card:not(.ycn-game) .product-card__link { margin-left: auto; }

@media (max-width: 559.98px) {
    .ycn .product-card:not(.ycn-game) .product-card__bottom { flex-direction: column; align-items: stretch; }
    .ycn .product-card:not(.ycn-game) .product-card__link { width: 100%; margin-left: 0; }
    .ycn .product-card:not(.ycn-game) .product-card__body { padding: 12px; }
    .ycn .product-card:not(.ycn-game) .category-name { font-size: 15px; }
    .ycn .ycn-cheat .product-card__info-line p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Статус и метки поверх обложки */
.ycn .product-card > .product-card__tag { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 4px 10px 4px 6px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(7, 8, 12, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; }
.ycn .product-card > .product-card__tag svg { width: 16px; height: 16px; }
.ycn .product-card > .product-card__tags { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; }
.ycn .product-card__tags span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ycn-grad); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 16px rgba(232, 48, 88, .45); }

/* Ссылки на другие игры / похожие */
.ycn-rail { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ycn-rail a { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 6px; border: 1px solid var(--ycn-line-2); border-radius: 12px; background: var(--ycn-surface); color: var(--ycn-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.ycn-rail a:hover { border-color: rgba(232, 48, 88, .6); box-shadow: 0 6px 20px rgba(232, 48, 88, .18); }
.ycn-rail img { width: 52px; height: 32px; border-radius: 8px; object-fit: cover; }

/* SEO-текст и FAQ категорий */
.ycn .page__garants-item { border: 1px solid var(--ycn-line); border-radius: var(--ycn-radius); background: var(--ycn-surface); }
.ycn .page__g-item-text { color: var(--ycn-text-2); line-height: 1.7; }
.ycn #infoblock .page__garants-item { padding: clamp(18px, 3vw, 34px); }
.ycn #categories-faq .product-page__guide { padding: 0; border: 0; background: none; }
.ycn #categories-faq .spollers { display: grid; }
.ycn #categories-faq .spollers .spollers__item { flex-basis: auto; background: var(--ycn-surface); }
.ycn #categories-faq .spollers .spollers__item .spollers__title { margin: 0; padding: 18px 20px; }
.ycn #categories-faq .spollers .spollers__item .spollers__body { margin: 0; padding: 0 20px 18px; }
/* FAQ мобильного раздела и DMA-комплектующих/прошивок: та же раскладка, что у FAQ категорий
   (без двойных рамок, одна колонка на телефоне) */
.ycn :is(#categories-faq, #mobile-faq, #hardware-faq, #firmware-faq) :is(.product-page__guide, .product-page__guide-block) { padding: 0; border: 0; background: none; box-shadow: none; }
.ycn :is(#categories-faq, #mobile-faq, #hardware-faq, #firmware-faq) .spollers { display: grid; gap: 10px; }
.ycn :is(#categories-faq, #mobile-faq, #hardware-faq, #firmware-faq) .spollers .spollers__item { flex-basis: auto; background: var(--ycn-surface); }
.ycn :is(#categories-faq, #mobile-faq, #hardware-faq, #firmware-faq) .spollers .spollers__item .spollers__title { margin: 0; padding: 18px 20px; }
.ycn :is(#categories-faq, #mobile-faq, #hardware-faq, #firmware-faq) .spollers .spollers__item .spollers__body { margin: 0; padding: 0 20px 18px; }
@media (min-width: 900px) { .ycn :is(#categories-faq, #mobile-faq, #hardware-faq, #firmware-faq) .spollers { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.ycn .product-page__guide-top { padding: 0; }
.ycn .product-page__guide-left-ttl { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; }

/* ---------- Страница товара ---------- */

.ycn .product-page__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }

@media (min-width: 1100px) {
    .ycn .product-page__body { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; }
    .ycn .product-page__pay { position: sticky; top: 140px; }
}

@media (max-width: 1099.98px) {
    .ycn .product-page__body { display: flex; flex-direction: column; align-items: stretch; }
    .ycn .product-page__content { display: contents; }
    .ycn .product-page__info { order: 1; }
    .ycn .product-page__pay { order: 2; }
    .ycn .product-page__slider-box { order: 3; }
    .ycn .product-page__info, .ycn .product-page__pay, .ycn .product-page__slider-box { width: 100%; min-width: 0; max-width: 100%; }
}

.ycn .product-page__content { max-width: none; min-width: 0; }
.ycn .product-page__content > * + * { margin-top: 24px; }

.ycn .product-page__info { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--ycn-line); border-radius: 24px; background: var(--ycn-surface); }
.ycn .product-page__info > .bg { display: none; }
.ycn .product-page__info-top { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: clamp(18px, 2.6vw, 28px); background: radial-gradient(600px 260px at 100% 0%, rgba(232, 48, 88, .2), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); border-bottom: 1px solid var(--ycn-line); }
.ycn .product-page__info-prevew { display: flex; flex: 1 1 340px; align-items: center; gap: 20px; min-width: 0; }
.ycn .product-page__image { flex: none; width: 168px; height: auto; aspect-ratio: 16 / 10; border-radius: 16px; object-fit: cover; box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(232, 48, 88, .35); }
.ycn .product-page__info-box { min-width: 0; }
.ycn .product-page__title h1 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; letter-spacing: -.025em; line-height: 1.1; overflow-wrap: anywhere; }
.ycn .product-page__info-cat-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--ycn-line-2); border-radius: 999px; background: var(--ycn-surface-2); }
.ycn .product-page__info-cat-tag img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ycn .product-page__info-cat-tag p { margin: 0; font-size: 13px; font-weight: 600; }
.ycn .product-page__info-tag .product-card__tag { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--ycn-line-2); border-radius: 12px; background: rgba(7, 8, 12, .6); font-weight: 700; }
.ycn .product-page__info-descr { margin: 0; padding: clamp(18px, 2.6vw, 28px); border: 0; }
.ycn .product-page__info-nnn { margin-bottom: 12px; color: var(--ycn-muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ycn .product-page__descr { color: var(--ycn-text-2); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }

@media (max-width: 559.98px) {
    .ycn .product-page__info-prevew { flex-direction: column; align-items: flex-start; }
    .ycn .product-page__image { width: 100%; }
}

.ycn .product-page__slider-box { min-width: 0; margin-top: 0; padding-left: 0; }
.ycn .product-page__slider { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; border-radius: var(--ycn-radius); }
.ycn .product-page__slide img, .ycn .product-page__slide video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--ycn-radius); background: var(--ycn-surface-2); }

/* Блок покупки */
.ycn .product-page__pay { flex: none; max-width: none; padding: 22px; border: 1px solid rgba(232, 48, 88, .35); border-radius: 24px; background: linear-gradient(180deg, rgba(232, 48, 88, .12), transparent 180px), var(--ycn-bg-2); box-shadow: var(--ycn-shadow), 0 0 50px rgba(232, 48, 88, .12); }
.ycn .product-page__pay-title { margin: 0 0 4px; color: var(--ycn-text); font-size: 20px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.ycn .product-page__pay-title span { color: inherit; }
.ycn .product-page__pay-subtitle { margin: 0 0 16px; color: var(--ycn-muted); }
.ycn .product-page__pay-form { display: grid; gap: 10px; margin-bottom: 16px; }
.ycn .product-page__pay-option { position: relative; margin: 0; }
.ycn .product-page__pay-form .product-page__pay-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.ycn .product-page__pay-form .product-page__pay-option label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 16px 12px 48px; border: 1px solid var(--ycn-line-2); border-radius: 14px; background: var(--ycn-surface); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.ycn .product-page__pay-form .product-page__pay-option label:hover { border-color: rgba(255, 255, 255, .24); }
.ycn .product-page__pay-form .product-page__pay-option label::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; border: 2px solid var(--ycn-muted); border-radius: 50%; transform: translateY(-50%); }
.ycn .product-page__pay-form .product-page__pay-option label::after { display: none; }
.ycn .product-page__pay-form .product-page__pay-option input:checked + label { border-color: var(--ycn-accent); background: linear-gradient(90deg, rgba(232, 48, 88, .16), rgba(232, 48, 88, .04)); box-shadow: 0 0 0 1px var(--ycn-accent), 0 8px 26px rgba(232, 48, 88, .2); }
.ycn .product-page__pay-form .product-page__pay-option input:checked + label::before { border-color: var(--ycn-accent-2); background: radial-gradient(circle, var(--ycn-accent-2) 0 5px, transparent 6px); }
.ycn .product-page__pay-form .product-page__pay-option input:focus-visible + label { outline: 2px solid var(--ycn-accent-2); outline-offset: 2px; }
.ycn .product-page__pay-form .product-page__pay-option-title { color: var(--ycn-text); font-size: 15px; font-weight: 600; }
.ycn .product-page__pay-form .product-page__pay-option-price { color: var(--ycn-text); font-size: 19px; font-weight: 900; letter-spacing: -.01em; white-space: nowrap; }
.ycn .product-page__pay-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; border: 0; border-radius: 14px; background: var(--ycn-grad); color: #fff; font: 800 16px/1 "Inter", sans-serif; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 34px rgba(232, 48, 88, .45), inset 0 1px 0 rgba(255, 255, 255, .25); transition: box-shadow .2s ease, transform .2s ease; }
.ycn .product-page__pay-button:hover { box-shadow: 0 14px 44px rgba(232, 48, 88, .65), inset 0 1px 0 rgba(255, 255, 255, .25); transform: translateY(-1px); }
.ycn .product-page__pay-button-text { color: #fff; }
.ycn .product-page__pay-note { margin-top: 14px; color: var(--ycn-muted); font-size: 13px; }
.ycn .product-page__pay-note a { color: var(--ycn-accent-2); }
.ycn .scroll-to-guide { width: 100%; min-height: var(--ycn-ctl); margin-top: 12px; border: 1px solid var(--ycn-line-2); border-radius: 12px; background: var(--ycn-surface); color: var(--ycn-text); font-weight: 700; cursor: pointer; }
.ycn .scroll-to-guide:hover { border-color: rgba(232, 48, 88, .6); }
.ycn .contact-block { margin-top: 14px; border-radius: 16px; }

/* Вкладки функций, отзывы, инструкция */
.ycn .product-page__tabs, .ycn .product-page__reviews, .ycn .product-page__guide { margin-top: 32px; }
.ycn .tabs__navigation { display: flex; gap: 8px; padding: 6px; overflow-x: auto; border: 1px solid var(--ycn-line); border-radius: 16px; background: var(--ycn-surface); scrollbar-width: thin; }
.ycn .tabs__title { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; color: var(--ycn-text-2); font: 700 14px/1 "Inter", sans-serif; white-space: nowrap; cursor: pointer; }
.ycn .tabs__title:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.ycn .tabs__title._tab-active { background: var(--ycn-grad); color: #fff; box-shadow: 0 6px 20px rgba(232, 48, 88, .35); }
.ycn .tabs__content { margin-top: 14px; }
.ycn .product-page__taggs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.ycn .product-page__tagg { position: relative; padding: 10px 12px 10px 34px; border: 1px solid var(--ycn-line); border-radius: 12px; background: var(--ycn-surface); color: var(--ycn-text-2); font-size: 14px; text-align: left; overflow-wrap: anywhere; }
.ycn .product-page__tagg::before { content: ""; position: absolute; left: 12px; top: 14px; width: 12px; height: 12px; border-radius: 4px; background: var(--ycn-accent-soft); box-shadow: inset 0 0 0 2px var(--ycn-accent-2); }
.ycn .product-page__reviews-block, .ycn .product-page__guide-block { padding: clamp(18px, 2.6vw, 28px); border: 1px solid var(--ycn-line); border-radius: 24px; background: var(--ycn-surface); }
.ycn .product-page__reviews-ttl { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; }
.ycn .product-page__reviews-line { padding: 14px 0; border-bottom: 1px solid var(--ycn-line); }
.ycn .product-page__reviews-line-txt { color: var(--ycn-text-2); overflow-wrap: anywhere; }

/* Похожие читы */
.ycn-related .catalog__body { margin-top: 0; }

/* ---------- Отзывы ---------- */

.ycn-reviews__tabs { margin-bottom: 20px; }
.ycn-reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }

@media (min-width: 768px) { .ycn-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .ycn-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ycn-review { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--ycn-line); border-radius: var(--ycn-radius); background: var(--ycn-surface); }
.ycn-review__head { display: flex; align-items: center; gap: 12px; }
.ycn-review__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ycn-accent-soft); object-fit: cover; }
.ycn-review__who { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; line-height: 1.3; }
.ycn-review__who b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ycn-review__who time { color: var(--ycn-muted); font-size: 12px; }
.ycn-review__stars { display: inline-flex; flex: none; gap: 2px; }
.ycn-review__stars svg { width: 15px; height: 15px; }
.ycn-review__text { margin: 0; color: var(--ycn-text-2); line-height: 1.6; overflow-wrap: anywhere; }
.ycn-review__product { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 10px; border: 1px solid var(--ycn-line); border-radius: 12px; background: var(--ycn-bg-2); color: var(--ycn-text); text-decoration: none; }
.ycn-review__product:hover { border-color: rgba(232, 48, 88, .5); }
.ycn-review__product img { flex: none; width: 64px; height: 40px; border-radius: 8px; object-fit: cover; }
.ycn-review__product span { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; line-height: 1.3; }
.ycn-review__product b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ycn-review__product small { color: var(--ycn-muted); font-size: 12px; }
.ycn-review__price { flex: none; font-weight: 800; white-space: nowrap; }

/* Пагинация (Bootstrap) */
.ycn .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; padding: 0; list-style: none; }
.ycn .pagination .page-item .page-link, .ycn .pagination .page-item > span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--ycn-line-2); border-radius: 12px; background: var(--ycn-surface); color: var(--ycn-text-2); font-weight: 700; text-decoration: none; }
.ycn .pagination .page-item .page-link:hover { border-color: rgba(232, 48, 88, .6); color: #fff; }
.ycn .pagination .page-item.active .page-link, .ycn .pagination .page-item.active > span { border-color: transparent; background: var(--ycn-grad); color: #fff; }
.ycn .pagination .page-item.disabled .page-link, .ycn .pagination .page-item.disabled > span { opacity: .45; }
.ycn nav[role="navigation"] > div:first-child:not(:only-child) { display: none; }
.ycn nav[role="navigation"] p.small { margin: 10px 0 0; color: var(--ycn-muted); text-align: center; }

/* ---------- Текстовые страницы (сотрудничество, соглашение, статьи) ---------- */

.ycn main.page > section.page { padding: 0; }
.ycn .page__block { box-sizing: border-box; width: 100%; max-width: calc(980px + 2 * var(--ycn-gutter)); margin: 0 auto; padding: 0 var(--ycn-gutter); }
.ycn .page__title { margin: 32px 0 24px; }
.ycn .page__title h1 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; letter-spacing: -.025em; line-height: 1.1; }
.ycn .page__title h6 { margin: 12px 0 0; color: var(--ycn-text-2); font-size: 16px; font-weight: 500; line-height: 1.6; }
.ycn .page__title br { display: none; }
.ycn .page__box-garants { display: flex; flex-direction: column; gap: 14px; }
.ycn .page__box-garants .page__garants-item { padding: clamp(18px, 2.6vw, 28px); border-radius: var(--ycn-radius); box-shadow: none; color: var(--ycn-text); }
.ycn .page__g-item-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 18px; }
.ycn .page__g-item-text { padding-left: 0; }
.ycn .page__g-item-text ul, .ycn .page__g-item-text ol { padding-left: 20px; }
.ycn .page__g-item-text li { list-style: disc; margin: 6px 0; }
.ycn .page__g-item-text a { color: var(--ycn-accent-2); }

.ycn .ycn-article { box-sizing: border-box; width: 100%; max-width: calc(860px + 2 * var(--ycn-gutter)); margin: 0 auto; padding: 0 var(--ycn-gutter); }
.ycn .ycn-article img { border-radius: var(--ycn-radius); }

/* ---------- Окно оплаты и формы входа (разметка и скрипты прежние) ---------- */

.ycn .popup { background: rgba(3, 4, 7, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ycn .popup__body { width: calc(100% - 2 * var(--ycn-gutter)); max-width: 560px; max-height: calc(100dvh - 24px); padding: clamp(20px, 4vw, 32px); border: 1px solid var(--ycn-line-2); border-radius: 24px; background: var(--ycn-bg-2); box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(232, 48, 88, .15); }
.ycn .form-modal h6 { margin: 0 0 16px; font-size: 24px; font-weight: 900; }
.ycn .form-modal label { display: block; margin: 12px 0 6px; color: var(--ycn-text-2); font-size: 13px; font-weight: 700; }
.ycn .popup .input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--ycn-line-2); border-radius: 12px; background: var(--ycn-surface); color: var(--ycn-text); font-size: 15px; }
.ycn .popup .input:focus { border-color: rgba(232, 48, 88, .8); outline: none; box-shadow: 0 0 0 4px rgba(232, 48, 88, .18); }
.ycn .form-modal .button { width: 100%; min-height: 52px; margin-top: 18px; }
.ycn #modal-pay .product-page__pay-option label { border-radius: 12px; }
.ycn #modal-pay .product-page__pay-option input:checked + label { border-color: var(--ycn-accent); }
.ycn #modal-pay .modal-pay__pay-sbtn { min-height: 52px; }

@media (max-width: 479.98px) {
    .ycn .popup__body { width: calc(100% - 16px); padding: 18px 14px; }
}

/* ---------- Подвал ---------- */

.ycn-footer { position: relative; margin-top: 24px; border-top: 1px solid var(--ycn-line); background: linear-gradient(180deg, rgba(232, 48, 88, .05), transparent 220px), var(--ycn-bg-2); }
.ycn-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 44px; padding-bottom: 28px; }

@media (min-width: 768px) { .ycn-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ycn-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; } }

.ycn-footer__brand p { max-width: 380px; margin: 14px 0 0; color: var(--ycn-text-2); line-height: 1.6; }
.ycn-footer__title { margin: 0 0 12px; color: var(--ycn-muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ycn-footer__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ycn-footer__list a { color: var(--ycn-text-2); text-decoration: none; }
.ycn-footer__list a:hover { color: #fff; }
.ycn-footer__list a span { display: inline; }
.ycn-footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.ycn-footer__logos a { display: inline-flex; align-items: center; border-radius: 10px; }
.ycn-footer__logos .ycn-footer__logo--light { padding: 6px 10px; background: #eef1f6; }
.ycn-footer__logos img { display: block; width: auto; height: 36px; max-width: 140px; object-fit: contain; }
.ycn-footer__social { display: flex; gap: 10px; }
.ycn-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: var(--ycn-ctl); height: var(--ycn-ctl); border: 1px solid var(--ycn-line-2); border-radius: 12px; background: var(--ycn-surface); }
.ycn-footer__social a:hover { border-color: rgba(232, 48, 88, .6); box-shadow: 0 6px 20px rgba(232, 48, 88, .2); }
.ycn-footer__social img { width: 22px; height: 22px; }
.ycn-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--ycn-line); color: var(--ycn-muted); font-size: 13px; }
.ycn-footer__bottom p { margin: 0; }
.ycn-footer__bottom a { color: var(--ycn-accent-2); text-decoration: none; }

/* ---------- Прочее ---------- */

.ycn table { max-width: 100%; }
.ycn pre, .ycn code { white-space: pre-wrap; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
    .ycn *, .ycn *::before, .ycn *::after { transition: none !important; animation-duration: .01ms !important; }
}

/* Старые градиентные подписи и рамки карточек из style.css — убраны */
.ycn .product-card__name, .ycn .product-card__name *,
.ycn .product-card__info-line, .ycn .product-card__info-line *,
.ycn .product-card__link span, .ycn .product-card__price span,
.ycn .page-link > span {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}
.ycn .product-card__name a { color: var(--ycn-text); }
.ycn .product-card__info-line { margin: 0; padding: 0; border: 0; color: var(--ycn-muted); }
.ycn .product-card__info-line p, .ycn .product-card__info-line span, .ycn .product-card__info-line a { color: var(--ycn-text-2); }
.ycn .product-card__link span { color: inherit; }

/* Топ недели на телефоне — под картинкой, в одну строку */
.ycn .hero__card { flex-direction: row; }
.ycn .hero__card-cont { flex-direction: row; flex-wrap: nowrap; }

@media (max-width: 767.98px) {
    .ycn-hero__featured { position: static; margin-top: 12px; }
    .ycn .hero__card-img { width: 84px; }
    .ycn .hero__card-name a { font-size: 15px; }
}

/* Статья: одна колонка */
.ycn .ycn-article-page .product-page__body { display: block; max-width: 920px; }
.ycn .ycn-article-page .product-page__content { display: block; }
.ycn .ycn-article-page .article-image img { display: block; width: 100%; height: auto; border-radius: 0; }
.ycn .ycn-article-page .product-page__descr { padding: clamp(18px, 2.6vw, 32px); }
.ycn .ycn-article-page .product-page__descr img { border-radius: 12px; }
.ycn .ycn-article-page .product-page__info-box > div:last-child { color: var(--ycn-muted); font-size: 14px; }
/* Старый style.css ставит шапку столбиком: основа 340px превращалась в высоту и давала пустой блок */
.ycn .ycn-article-page .product-page__info-prevew { flex: 1 1 auto; }
@media (max-width: 767.98px) { .ycn .product-page__info-prevew { flex-basis: auto; } }

/* Сортировка (select из app.min.js): не шире строки; до 900px — отдельной строкой под вкладками */
.ycn .catalog__actions { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.ycn .catalog__sort { min-width: 0; max-width: 100%; }
.ycn .catalog__value, .ycn .catalog__value .select, .ycn .catalog__value .select__body { min-width: 0; max-width: 100%; }
.ycn .catalog__value .select__title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* style.css даёт .catalog__value/.select/.select__title width:100% — рядом с подписью это вылезало за правый край на 100+ px */
.ycn .catalog__value { width: auto; flex: 0 1 auto; }
.ycn .catalog__value .select, .ycn .catalog__value .select__title { width: auto; }
.ycn .catalog__value .select__options { left: auto; right: 0; width: max-content; min-width: 100%; max-width: calc(100vw - 32px); }
.ycn .catalog__value .select__option { white-space: nowrap; }

@media (max-width: 899.98px) {
    .ycn .catalog__top .dma-tabs { flex-basis: 100%; }
    .ycn .catalog__actions { width: 100%; margin-left: 0; }
    .ycn .catalog__sort { width: 100%; }
    .ycn .catalog__value { flex: 1 1 auto; }
}

/* Вкладки — всегда в строку с прокруткой (старый style.css ставил их столбиком) */
.ycn .dma-tabs { flex-direction: row; flex-wrap: nowrap; align-items: center; }
.ycn .dma-tabs__item { width: auto; min-width: 0; max-width: none; margin: 0; }

/* ================= v3 ================= */

/* Карточка игры: обложка чистая, название и «Цена от» — в полосе под ней, кнопка в той же полосе.
   Название до двух строк, строка цены у всех карточек ряда на одной высоте. */
.ycn .ycn-game { display: flex; flex-direction: column; aspect-ratio: auto; }
.ycn .ycn-game::before { content: none; }
.ycn .ycn-game .ycn-card__media { position: relative; inset: auto; flex: none; aspect-ratio: 16 / 9; }
.ycn .ycn-game .ycn-card__media::after { content: none; }
.ycn .ycn-game .product-card__body { display: flex; flex: 1 1 auto; flex-direction: column; align-self: stretch; gap: 4px; padding: 10px 12px 12px; border-top: 1px solid var(--ycn-line); background: var(--ycn-surface); pointer-events: auto; }
.ycn .ycn-game .category-name { display: -webkit-box; overflow: hidden; font-size: 15px; line-height: 1.3; text-shadow: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: break-word; }
.ycn .ycn-game .product-card__info-line { color: var(--ycn-muted); font-size: 12px; }
.ycn .ycn-game .product-card__bottom { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; border: 0; }
.ycn .ycn-game .product-card__price { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 0; min-width: 0; color: var(--ycn-muted); font-size: 11px; line-height: 1.3; white-space: nowrap; }
.ycn .ycn-game .product-card__price span { color: var(--ycn-text); font-size: 15px; }
.ycn .ycn-game .product-card__link { flex: none; border-color: var(--ycn-line-2); background: var(--ycn-surface-2); }

/* Товар: системные требования и подсказка — два отдельных плотных блока */
.ycn .ycn-sysreq { margin: 20px 0 0; padding: 16px 20px; border: 1px solid var(--ycn-line); border-radius: var(--ycn-radius); background: var(--ycn-surface); }
.ycn .ycn-sysreq__title { margin: 0 0 8px; color: var(--ycn-accent-2); font-size: 16px; font-weight: 800; }
.ycn .ycn-sysreq__body { display: grid; gap: 4px; color: var(--ycn-text-2); font-size: 14px; line-height: 1.55; }
.ycn .ycn-sysreq__body p { margin: 0; }
.ycn .ycn-sysreq__body strong { color: var(--ycn-text); }
.ycn .ycn-notice.info-notification { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 0; margin: 12px 0 0; padding: 14px 18px; border: 1px solid rgba(245, 165, 36, .28); border-radius: var(--ycn-radius); background: rgba(245, 165, 36, .06); }
.ycn .ycn-notice .info-notification-icon { flex: none; width: 28px; height: 28px; margin: 0; }
.ycn .ycn-notice .info-notification-icon img { display: block; width: 28px; height: 28px; }
.ycn .ycn-notice .page__g-item-text { margin: 0; color: var(--ycn-text-2); font-size: 14px; line-height: 1.5; }

/* Товар: галерея — слайды на всю ширину колонки (style.css страницы жёстко ставил 250×250) */
.ycn .product-page__slide .slider-image, .ycn .product-page__slide .slider-video { width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.ycn .product-page__slide picture { display: block; }

/* Товар: отзывы карточками */
.ycn section.product-page__reviews { margin: 32px 0 0; }
.ycn .product-page__reviews .ycn-section-head { margin-bottom: 14px; }
.ycn .product-page__reviews-ttl { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 800; }
.ycn .ycn-count { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: rgba(232, 48, 88, .16); color: var(--ycn-accent-2); font-size: 13px; font-weight: 800; }
.ycn .product-page__reviews .product-page__reviews-bottom { margin-top: 16px; }

/* Товар: инструкция — компактная карточка-ссылка */
.ycn .product-page__guide[hidden], .ycn .scroll-to-guide[hidden] { display: none !important; }
.ycn .ycn-guide { margin: 24px 0 0; padding: 0; border: 0; background: none; box-shadow: none; }
.ycn .ycn-guide .product-page__guide-block { padding: 0; overflow: hidden; }
.ycn .ycn-guide .product-page__guide-top { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 14px; margin: 0; padding: 14px 18px; cursor: pointer; }
.ycn .ycn-guide .product-page__guide-top:focus-visible { outline: 2px solid var(--ycn-accent-2); outline-offset: -2px; border-radius: 24px; }
.ycn .ycn-guide__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(232, 48, 88, .12); color: var(--ycn-accent-2); box-shadow: inset 0 0 0 1px rgba(232, 48, 88, .3); }
.ycn .ycn-guide__icon svg { width: 22px; height: 22px; }
.ycn .ycn-guide__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.ycn .ycn-guide__text b { color: var(--ycn-text); font-size: 17px; }
.ycn .ycn-guide__text small { overflow: hidden; color: var(--ycn-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ycn .ycn-guide__action { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--ycn-line-2); border-radius: 10px; color: var(--ycn-text); font-size: 13px; font-weight: 700; transition: background .2s ease, border-color .2s ease; }
.ycn .ycn-guide__action svg { width: 16px; height: 16px; transition: transform .2s ease; }
.ycn .ycn-guide .product-page__guide-top:hover .ycn-guide__action { border-color: transparent; background: var(--ycn-grad); color: #fff; }
.ycn .ycn-guide .product-page__guide-top[aria-expanded="true"] .ycn-guide__action svg { transform: rotate(180deg); }
.ycn .ycn-guide .product-page__guide-wrap { padding: 0 18px 18px; }

/* Главная: «о нас» — две колонки, справа пункты */
.ycn-about { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: clamp(18px, 2.6vw, 32px); }
.ycn-about__copy { display: grid; gap: 10px; }
.ycn-about h2 { font-size: clamp(20px, 2.2vw, 28px); }
.ycn-about p { font-size: 15px; }
.ycn-about__points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ycn-about__points li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--ycn-line); border-radius: 14px; background: rgba(7, 8, 12, .35); }
.ycn-about__points b { display: block; color: var(--ycn-text); font-size: 15px; }
.ycn-about__points span { color: var(--ycn-text-2); font-size: 13px; }
.ycn-about__icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(232, 48, 88, .12); color: var(--ycn-accent-2); }
.ycn-about__icon svg { width: 20px; height: 20px; }
@media (min-width: 900px) {
    .ycn-about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
}

/* Главная: шаги — компактный горизонтальный степпер, на телефоне столбиком */
.ycn-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--ycn-line); border-radius: 20px; background: var(--ycn-surface); }
.ycn-step { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px; overflow: visible; border: 0; border-radius: 14px; background: none; }
.ycn-step__icon { position: relative; display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(232, 48, 88, .12); color: var(--ycn-accent-2); box-shadow: inset 0 0 0 1px rgba(232, 48, 88, .35); }
.ycn-step__icon svg { width: 22px; height: 22px; }
.ycn-step__icon .ycn-step__num { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; margin: 0; padding: 0 5px; border-radius: 999px; background: var(--ycn-grad); -webkit-background-clip: border-box; background-clip: border-box; color: #fff; -webkit-text-fill-color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.ycn-step__text { display: grid; gap: 2px; min-width: 0; }
.ycn-step__text b { color: var(--ycn-text); font-size: 16px; }
.ycn-step__text span { color: var(--ycn-text-2); font-size: 13.5px; line-height: 1.4; }
.ycn-step + .ycn-step::before { content: ""; position: absolute; top: -8px; left: 35px; width: 2px; height: 16px; border-radius: 2px; background: rgba(232, 48, 88, .4); }
@media (min-width: 900px) {
    .ycn-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px; }
    .ycn-step { padding: 14px 18px; }
    .ycn-step + .ycn-step::before { top: 50%; left: -8px; width: 16px; height: 2px; transform: translateY(-50%); }
}

/* Cookie-баннер: компактная карточка внизу справа (на телефоне — полоса во всю ширину),
   под меню не заходит; пока он виден, у страницы есть отступ снизу (yc-next.js). */
body #cookie-consent { left: auto; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 14px; width: min(440px, calc(100vw - 32px)); max-width: none; padding: 12px 12px 12px 16px; transform: none; border: 1px solid var(--ycn-line-2); border-radius: 16px; background: rgba(16, 19, 27, .97); color: var(--ycn-text-2); font: 500 13px/1.45 "Inter", system-ui, sans-serif; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
body #cookie-consent .ycn-cookie__text { flex: 1 1 auto; min-width: 0; }
body #cookie-consent a { margin-left: 0; color: var(--ycn-accent-2); }
body #cookie-consent button { flex: none; height: 36px; padding: 0 16px; border-radius: 10px; background: var(--ycn-grad); color: #fff; font: 700 13px/1 "Inter", system-ui, sans-serif; }
body #cookie-consent button:hover { filter: brightness(1.08); }
html.menu-open body #cookie-consent { opacity: 0; pointer-events: none; }
html.ycn-cookie-on body { padding-bottom: calc(var(--ycn-cookie-h, 0px) + 24px); }
@media (max-width: 767.98px) {
    body #cookie-consent { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 10px 10px 10px 14px; font-size: 12px; }
    /* На телефоне баннер появляется после первой прокрутки: на первом экране внизу стоят кнопки героя. */
    html:not(.ycn-scrolled) body #cookie-consent { opacity: 0; pointer-events: none; }
}

/* FAQ категорий, мобильных и DMA: пункт на всю ширину своей колонки.
   Старый style.css задаёт .page__garants-item ширину calc(33.33% - 20px), а этот класс
   стоит и у пунктов вопрос-ответ: в двухколоночной сетке они сжимались до трети колонки. */
.ycn :is(#categories-faq, #mobile-faq, #hardware-faq, #firmware-faq) .spollers .spollers__item.page__garants-item { width: auto !important; max-width: none; min-width: 0; }

/* Список читов игры: сортировка в одной строке с заголовком, без отдельного ряда.
   Только там, где в шапке нет вкладок (на странице «Категории» вкладки и сортировка остаются рядом под заголовком). */
@media (min-width: 901px) {
  .ycn .catalog__container:has(> .page-title + .catalog__top):not(:has(.dma-tabs)) { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; }
  .ycn .catalog__container:has(> .page-title + .catalog__top):not(:has(.dma-tabs)) > * { flex: 0 0 100%; min-width: 0; }
  .ycn .catalog__container:has(> .page-title + .catalog__top):not(:has(.dma-tabs)) > .page-title { flex: 1 1 auto; margin-bottom: 20px; }
  .ycn .catalog__container:has(> .page-title + .catalog__top):not(:has(.dma-tabs)) > .catalog__top { flex: 0 0 auto; width: auto; margin: 0 0 20px auto; }
  .ycn .catalog__container:has(> .page-title + .catalog__top):not(:has(.dma-tabs)) > .catalog__top .catalog__actions, .ycn .catalog__container:has(> .page-title + .catalog__top):not(:has(.dma-tabs)) > .catalog__top .catalog__sort { width: auto; margin-left: 0; }
}

/* Текстовый блок сразу после вопросов-ответов (мобильные читы, DMA): у .section обнулён нижний отступ,
   и две секции в одной обёртке слипались. */
.ycn :is(#categories-faq, #mobile-faq, #hardware-faq, #firmware-faq) + #infoblock { margin-top: clamp(24px, 3vw, 40px); }

/* Отступ под вкладками отзывов: правило .ycn .dma-tabs { margin: 0 } сильнее, чем .ycn-reviews__tabs. */
.ycn .ycn-reviews__tabs { margin-bottom: 20px; }

/* Полоса вкладок разделов: подложку из dma-modal.css убираем — у каждой вкладки своя «таблетка»,
   а контейнер растянут до сортировки, и подложка тянулась вправо через всю строку. */
.ycn .dma-tabs { background: none; border-radius: 0; box-shadow: none; }
