/*
Theme Name: NeuroAI FY
Template: hello-elementor
Theme URI: https://neuroaify.com
Author: NeuroAI FY
Description: Premium editorial AI directory / magazine — Dark theme.
Version: 4.0.0
License: GPLv2 or later
Text Domain: neuroaify
*/

/* ═══════════════════════════════════════════════════════════════
   § 1. ROOT VARIABLES
   ═══════════════════════════════════════════════════════════════ */
:root {
    --orange: #ff4d00;
    --orange-dark: #e84300;
    --orange-soft: rgba(255, 77, 0, 0.12);

    --paper: #0b0b0b;
    --white: #161616;
    --gray:  #101010;
    --surface-2: #1c1c1c;

    --ink: #f2efe9;
    --muted: #8f8b84;
    --muted-2: #6b6862;

    --line: #2a2927;
    --line-dark: #3a3835;

    --ease: cubic-bezier(.22,.61,.36,1);
    --max: 1380px;
    --container-padding: 52px;

    /* Footer V2 palette */
    --na-orange:    #f34808;
    --na-dark:      #080a0d;
    --na-dark-2:    #0d1014;
    --na-dark-line: rgba(255,255,255,.105);
    --na-lime:      #c5f13f;
}

/* ═══════════════════════════════════════════════════════════════
   § 2. BASE / RESET
   ═══════════════════════════════════════════════════════════════ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
[hidden] { display: none !important; }

body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
body, button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input { border-radius: 0; }
input, textarea, select { color: var(--ink); }

.container {
    width: min(100% - var(--container-padding), var(--max));
    margin-left: auto;
    margin-right: auto;
}

.hero-title, .section-head-row h2, .manifesto-grid h2, .about-intro h2, .cta h2 {
    letter-spacing: -.055em;
    line-height: .94;
    font-weight: 750;
}
em { color: var(--orange); font-style: normal; }

.section-kicker, .eyebrow, .hero-topline, .cta-kicker {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.section-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 42px; }
.section-kicker span { color: var(--orange); }

/* ═══════════════════════════════════════════════════════════════
   § 3. BUTTONS / LINKS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid var(--ink);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn span { font-size: 18px; line-height: 1; }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { transform: translateY(-3px); background: var(--orange-dark); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { transform: translateY(-3px); background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink); }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 750; }
.text-link span { color: var(--orange); transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

/* ═══════════════════════════════════════════════════════════════
   § 4. HERO (orbit — for inner pages / single)
   ═══════════════════════════════════════════════════════════════ */
.hero { padding: 30px 0 0 !important; margin: 0 !important; overflow: hidden; }
.hero-topline { display: flex; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.hero-topline span:last-child { color: var(--muted); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; border-bottom: 1px solid var(--line); }
.hero-content { padding: 80px 0 90px; max-width: 780px; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: var(--muted); margin-bottom: 28px; }
.eyebrow span { color: var(--orange); }
.hero-title { margin: 0; font-size: clamp(58px, 7vw, 108px); max-width: 900px; }
.hero-subtitle { max-width: 580px; margin: 34px 0 35px; color: #a8a49d; font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-visual {
    --hero-mx: 0px; --hero-my: 0px;
    min-height: 540px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    position: relative;
    transform: translate3d(var(--hero-mx), var(--hero-my), 0);
    transition: transform .8s var(--ease);
}
.hero-orbit {
    --orbit-tilt-x: 0deg; --orbit-tilt-y: 0deg;
    --orbit-glow-x: 50%; --orbit-glow-y: 42%;
    width: min(480px, 100%);
    aspect-ratio: 1;
    position: relative;
    display: grid; place-items: center;
    transform: perspective(800px) rotateX(var(--orbit-tilt-x)) rotateY(var(--orbit-tilt-y));
    opacity: 0; scale: .88; filter: blur(1px);
    transition: transform .85s var(--ease), opacity .9s ease, scale 1.15s var(--ease), filter 1.15s ease;
}
.hero-orbit.orbit-ready { opacity: 1; scale: 1; filter: none; }
.orbit-glow {
    position: absolute; inset: 8%; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle at var(--orbit-glow-x) var(--orbit-glow-y), rgba(255,77,0,.28), transparent 38%, transparent 62%);
    mix-blend-mode: screen; filter: blur(14px); opacity: .9;
    transition: background .7s var(--ease);
}
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); pointer-events: none; transform-origin: center; }
.orbit-ring-1 { inset: 10%; animation: orbitRingPrimary 18s linear infinite; }
.orbit-ring-2 { inset: 25%; border-color: rgba(255,77,0,.36); animation: orbitRingSecondary 12s linear infinite; }
.orbit-ring-1::before, .orbit-ring-1::after,
.orbit-ring-2::before, .orbit-ring-2::after {
    content: ""; position: absolute;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--orange); box-shadow: 0 0 0 5px var(--orange-soft);
}
.orbit-ring-1::before { top: -3px; left: 29%; }
.orbit-ring-1::after { right: 15%; bottom: 17%; width: 4px; height: 4px; background: var(--ink); box-shadow: none; }
.orbit-ring-2::before { right: -3px; top: 18%; width: 5px; height: 5px; }
.orbit-ring-2::after { left: -3px; bottom: 13%; width: 4px; height: 4px; }
.orbit-line { position: absolute; width: 72%; height: 1px; background: var(--line); transform-origin: center; }
.orbit-line-1 { transform: rotate(-32deg); animation: orbitLineFloat1 7s ease-in-out infinite; }
.orbit-line-2 { transform: rotate(62deg); background: rgba(255,77,0,.3); animation: orbitLineFloat2 9s ease-in-out infinite; }
.orbit-dot {
    width: 10px; height: 10px; position: absolute;
    border-radius: 50%; background: var(--orange);
    box-shadow: 0 0 0 7px var(--orange-soft);
    animation: orbitDotFloat 4.2s ease-in-out infinite;
}
.orbit-dot-1 { top: 15%; right: 23%; animation-delay: .1s; }
.orbit-dot-2 { bottom: 21%; left: 16%; animation-delay: .7s; }
.orbit-dot-3 { top: 46%; right: 7%; width: 6px; height: 6px; animation-delay: 1.15s; }
.orbit-ping {
    position: absolute; width: 7px; height: 7px; border-radius: 50%;
    background: var(--orange); box-shadow: 0 0 0 0 rgba(255,77,0,.25); opacity: 0;
}
.orbit-ping-1 { top: 21%; left: 22%; animation: orbitPing 4.8s ease-out 1.4s infinite; }
.orbit-ping-2 { right: 21%; bottom: 23%; animation: orbitPing 5.6s ease-out 2.2s infinite; }
.hero-core {
    width: 190px; height: 190px; border-radius: 50%;
    background: var(--ink); color: var(--paper);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; position: relative; z-index: 2;
    box-shadow: 0 0 0 16px var(--paper), 0 0 0 17px var(--line), 0 24px 70px rgba(0,0,0,.6);
    animation: heroCoreFloat 6s ease-in-out infinite;
}
.hero-core::before { content: ""; position: absolute; inset: 1px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); pointer-events: none; }
.hero-core span { color: var(--orange); font-size: 14px; letter-spacing: .18em; font-weight: 800; }
.hero-core strong { font-size: 46px; line-height: 1; letter-spacing: -.06em; margin: 7px 0; }
.hero-core small { font-size: 8px; letter-spacing: .16em; color: #666; }
.hero-core-scan {
    position: absolute; left: 14%; right: 14%; top: -15%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,77,0,.9), transparent);
    box-shadow: 0 0 12px rgba(255,77,0,.65);
    animation: heroCoreScan 3.1s ease-in-out 1.25s infinite;
}
.hero-note { margin-top: -35px; align-self: flex-end; color: var(--muted); font-size: 9px; letter-spacing: .16em; transform: rotate(-90deg) translateX(35px); transform-origin: right center; }
.hero-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.metric { padding: 25px 25px 30px 0; border-right: 1px solid var(--line); }
.metric + .metric { padding-left: 25px; }
.metric-last { border-right: 0; }
.metric strong { display: block; font-size: 30px; letter-spacing: -.05em; }
.metric span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

@keyframes orbitRingPrimary { to { transform: rotate(360deg); } }
@keyframes orbitRingSecondary { to { transform: rotate(-360deg); } }
@keyframes orbitLineFloat1 { 0%,100%{transform:rotate(-32deg) scaleX(.94)} 50%{transform:rotate(-26deg) scaleX(1.04)} }
@keyframes orbitLineFloat2 { 0%,100%{transform:rotate(62deg) scaleX(1)} 50%{transform:rotate(68deg) scaleX(.9)} }
@keyframes orbitDotFloat { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(0,-8px,0) scale(1.05)} }
@keyframes orbitPing { 0%{opacity:0;transform:scale(.2);box-shadow:0 0 0 0 rgba(255,77,0,.28)} 12%{opacity:1} 70%{opacity:0;transform:scale(4);box-shadow:0 0 0 12px rgba(255,77,0,0)} 100%{opacity:0} }
@keyframes heroCoreFloat { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(0,-7px,0)} }
@keyframes heroCoreScan { 0%,100%{top:-15%;opacity:0} 12%{opacity:1} 54%{top:115%;opacity:.95} 70%{opacity:0} }

/* ═══════════════════════════════════════════════════════════════
   § 5. EDITORIAL BLOCKS (manifesto, index, categories, about)
   ═══════════════════════════════════════════════════════════════ */
.manifesto { padding: 130px 0; background: #060606; color: var(--ink); }
.manifesto .section-kicker { color: #aaa; }
.manifesto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.manifesto-grid h2 { margin: 0; font-size: clamp(48px, 6vw, 92px); max-width: 820px; }
.manifesto-copy { max-width: 500px; color: #a9a6a0; font-size: 15px; }
.manifesto-lead { color: var(--ink); font-size: 25px; line-height: 1.25; margin: 0 0 28px; }
.manifesto-lead strong { color: var(--orange); font-weight: 700; }

.editorial-section, .features { padding: 120px 0; }

.index-list { border-top: 1px solid var(--line); }
.index-row { min-height: 150px; display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), background .35s var(--ease); }
.index-row:hover { padding: 0 25px; background: var(--white); }
.index-number { align-self: start; padding-top: 28px; color: var(--orange); font-size: 11px; font-weight: 750; }
.index-row h3 { margin: 0 0 5px; font-size: clamp(30px, 3vw, 48px); letter-spacing: -.045em; }
.index-row p { margin: 0; color: var(--muted); font-size: 14px; }
.index-meta { color: var(--muted); font-size: 10px; letter-spacing: .14em; }
.index-meta b { color: var(--orange); font-size: 17px; margin-left: 14px; }

.categories { background: var(--gray); }
.section-head-row { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; margin-bottom: 55px; }
.section-head-row h2 { margin: 0; font-size: clamp(54px, 6vw, 90px); }
.section-head-row > p { max-width: 420px; color: var(--muted); font-size: 15px; margin: 0 0 8px auto; }

.category-list { border-top: 1px solid var(--ink); }
.category-row {
    min-height: 112px;
    display: grid;
    grid-template-columns: 65px 45px 1fr auto 40px;
    align-items: center; gap: 22px;
    border-bottom: 1px solid var(--line);
    transition: background .3s var(--ease), padding .3s var(--ease);
}
.category-row:hover { background: var(--orange); color: #fff; padding: 0 22px; }
.category-index { font-size: 11px; color: var(--muted); }
.category-row:hover .category-index,
.category-row:hover .category-count { color: rgba(255,255,255,.7); }
.category-icon { font-size: 16px; color: var(--orange); }
.category-row:hover .category-icon { color: #fff; }
.category-main { padding-left: 12px; min-width: 0; word-break: break-word; }
.category-main strong { display: block; font-size: 20px; letter-spacing: -.03em; }
.category-main small { color: var(--muted); font-size: 11px; }
.category-row:hover .category-main small { color: rgba(255,255,255,.75); }
.category-count { color: var(--muted); font-size: 11px; }
.category-arrow { font-size: 22px; text-align: right; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-intro h2 { margin: 0; font-size: clamp(55px, 6vw, 88px); }
.about-intro p { max-width: 470px; margin-top: 35px; color: var(--muted); font-size: 17px; }
.about-principles { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 60px 1fr; gap: 25px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.principle > span { color: var(--orange); font-size: 11px; font-weight: 750; }
.principle h3 { margin: 0 0 7px; font-size: 17px; letter-spacing: .05em; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; max-width: 430px; }
.about-stats { margin-top: 85px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.about-stats > div { padding: 28px 25px 30px 0; border-right: 1px solid var(--line); }
.about-stats > div + div { padding-left: 25px; }
.about-stats > div:last-child { border-right: 0; }
.about-stats strong { display: block; font-size: 46px; line-height: 1; letter-spacing: -.06em; }
.about-stats span { display: block; color: var(--muted); font-size: 11px; margin-top: 9px; }

/* ═══════════════════════════════════════════════════════════════
   § 6. CATALOG (grid + filters + pagination)
   ═══════════════════════════════════════════════════════════════ */
.catalog-heading { margin-bottom: 45px; }
.catalog-toolbar { display: flex; gap: 25px; align-items: center; margin-bottom: 35px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.search-box { flex: 1; position: relative; }
.search-box i { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 13px; }
#neural-search, #home-neural-search {
    width: 100%;
    padding: 13px 0 13px 28px;
    border: 0; border-bottom: 1px solid var(--ink);
    background: transparent; outline: none;
    color: var(--ink); font-size: 14px;
}
#neural-search::placeholder, #home-neural-search::placeholder { color: var(--muted-2); }
#neural-search:focus, #home-neural-search:focus { border-bottom-color: var(--orange); }

.sort-options { display: flex; }
.sort-btn { border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--muted); padding: 12px 16px; cursor: pointer; font-size: 11px; font-weight: 700; }
.sort-btn span { color: var(--orange); margin-right: 8px; }
.sort-btn.active { color: var(--ink); }
.sort-btn:hover { color: var(--orange); }

.neural-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.neural-card {
    display: flex; flex-direction: column;
    min-height: 440px;
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .45s var(--ease), border-color .3s var(--ease);
}
.neural-card:hover { transform: translateY(-7px); border-color: var(--ink); }

/* ---------- IMAGE + TEXT OVERLAY ---------- */
.neural-image {
    height: 245px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
}
.neural-image-top, .neural-image-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.neural-number {
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .85;
    text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.neural-category {
    background: var(--orange);
    color: #fff;
    padding: 5px 8px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.neural-image-bottom { align-items: flex-end; }
.neural-image-bottom h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.04em;
    line-height: 1.05;
    flex: 1;
    color: #fff;
    text-shadow:
        0 1px 3px rgba(0,0,0,.75),
        0 2px 14px rgba(0,0,0,.6);
}
.neural-icon {
    width: 38px; height: 38px;
    background: #fff;
    display: grid; place-items: center;
    flex: 0 0 38px;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.neural-icon img { width: 28px; height: 28px; object-fit: cover; }
.neural-rating {
    font-size: 11px;
    white-space: nowrap;
    color: #fff;
    text-shadow:
        0 1px 3px rgba(0,0,0,.75),
        0 2px 10px rgba(0,0,0,.55);
}

.neural-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.neural-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.neural-tags span { padding: 4px 7px; background: var(--orange-soft); color: var(--orange); font-size: 9px; }
.neural-content p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; flex: 1; }
.card-read { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.card-read b { color: var(--orange); float: right; font-size: 17px; }
.loading, .error, .no-results { grid-column: 1/-1; padding: 50px 0; color: var(--muted); text-align: center; }
#neural-pagination { text-align: center; padding-top: 50px; }
.load-more-btn { border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 14px 24px; cursor: pointer; font-size: 12px; font-weight: 750; transition: .3s var(--ease); }
.load-more-btn:hover { background: var(--ink); color: var(--paper); }
.load-more-btn span { color: var(--orange); margin-left: 15px; }
.infinite-scroll-loading { display: none; justify-content: center; margin-top: 20px; }
.infinite-scroll-end { color: var(--muted); font-size: 11px; }

.spinner {
    width: 26px; height: 26px;
    border: 2px solid var(--line);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════
   § 7. CTA / REVEAL / SKIP-LINK
   ═══════════════════════════════════════════════════════════════ */
.cta { background: var(--orange); color: #fff; text-align: center; padding: 145px 0; }
.cta-kicker { margin-bottom: 30px; opacity: .75; }
.cta h2 { margin: 0; font-size: clamp(58px, 8vw, 115px); }
.cta h2 em { color: #111; }
.cta p { margin: 30px auto 35px; color: rgba(255,255,255,.78); font-size: 16px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .2s; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.skip-link {
    position: absolute !important;
    top: -9999px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 8px 16px !important;
    background: var(--orange) !important;
    color: #fff !important;
    font-size: 14px !important;
    z-index: 9999 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
}
.skip-link:focus { top: 12px !important; }

/* ═══════════════════════════════════════════════════════════════
   § 8. GRID OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.grid-overlay {
    position: fixed;
    top: 80px; left: 50%;
    transform: translateX(-50%);
    width: min(100% - var(--container-padding, 52px), var(--max, 1380px));
    height: 55vh;
    pointer-events: none;
    z-index: 0 !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: -10px -10px;
    opacity: 0.9;
}
.grid-fade {
    position: fixed;
    top: 80px; left: 50%;
    transform: translateX(-50%);
    width: min(100% - var(--container-padding, 52px), var(--max, 1380px));
    height: 55vh;
    pointer-events: none;
    z-index: 0 !important;
    background:
        linear-gradient(to right, var(--paper) 0%, transparent 12%, transparent 88%, var(--paper) 100%),
        linear-gradient(to bottom, transparent 0%, transparent 35%, var(--paper) 100%);
    background-blend-mode: normal;
    opacity: 0.95;
}
@media (max-width: 700px) {
    .grid-overlay, .grid-fade { top: 70px; height: 45vh; background-size: 30px 30px; }
    .grid-fade {
        background:
            linear-gradient(to right, var(--paper) 0%, transparent 10%, transparent 90%, var(--paper) 100%),
            linear-gradient(to bottom, transparent 0%, transparent 25%, var(--paper) 100%);
    }
}
@media (max-width: 480px) { .grid-overlay, .grid-fade { display: none; } }

.hero, .categories, .manifesto, .about-site, .all-neural,
.cta, .features, .editorial-index, .editorial-section,
.neuro-about, .neuro-terms, .neuro-privacy, .page-hero,
.mission-block, .principles-block, .stats-block, .team-block,
.cta-block, .legal-content { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
    .hero-visual, .hero-orbit, .hero-core { transform: none !important; }
    .orbit-ring-1, .orbit-ring-2, .orbit-line-1, .orbit-line-2,
    .orbit-dot, .orbit-ping, .hero-core, .hero-core-scan { animation: none !important; }
    .hero-orbit { opacity: 1 !important; scale: 1 !important; filter: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   § 9. INNER PAGES (About, Terms, Privacy, Mission, Team, Legal)
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
    padding: 60px 0 40px;
    background: linear-gradient(120deg, #0e0e0e 0%, #161616 100%);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.page-hero--compact { padding: 40px 0 30px; }
.page-hero-content { max-width: 100% !important; margin: 0 auto; }
.page-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.1;
    margin: 20px 0 16px;
    max-width: 100% !important;
}
.page-hero-title em { color: var(--orange); font-style: normal; }
.page-hero-subtitle {
    font-size: 1.1rem; color: var(--muted);
    margin: 0 auto 30px;
    line-height: 1.6;
    max-width: 100% !important;
}
.page-hero-actions { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }

.mission-block { padding: 80px 0; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.mission-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.045em; line-height: 1.1; margin: 20px 0 25px; }
.mission-text p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.mission-visual {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: var(--white); color: var(--ink);
    border-radius: 20px; padding: 50px 30px;
    min-height: 300px; text-align: center;
    position: relative;
    border: 1px solid var(--line);
}
.mission-number-big { font-size: 4.5rem; font-weight: 800; letter-spacing: -.06em; color: var(--orange); line-height: 1; }
.mission-number-label { font-size: 0.9rem; opacity: 0.7; margin-top: 8px; }
.mission-tagline { margin-top: 25px; font-size: 0.75rem; letter-spacing: .16em; opacity: 0.5; font-family: ui-monospace, monospace; }

.principles-block { padding: 80px 0; background: var(--gray); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; width: 100%; }
.principle-card {
    background: var(--white);
    padding: 30px 25px; border-radius: 16px;
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.principle-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
.principle-number { font-size: 0.8rem; font-weight: 700; letter-spacing: .12em; color: var(--orange); display: block; margin-bottom: 12px; }
.principle-card h3 { font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 10px; }
.principle-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.stats-block { padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; width: 100%; }
.stat-item { padding: 20px; }
.stat-value { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1.2; }
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

.team-block { padding: 80px 0; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; width: 100%; }
.team-item { padding: 25px 20px; border-radius: 16px; border: 1px solid var(--line); text-align: center; }
.team-emoji { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.team-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.team-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.cta-block { padding: 80px 0; background: #060606; color: var(--ink); text-align: center; }
.cta-block-content { max-width: 700px; margin: 0 auto; }
.cta-block h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.045em; line-height: 1.1; margin: 20px 0 16px; }
.cta-block h2 em { color: var(--orange); font-style: normal; }
.cta-block p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 30px; line-height: 1.6; }

.legal-content { padding: 60px 0 80px; width: 100%; }
.legal-section { margin-bottom: 50px; }
.legal-section h2 {
    font-size: 1.8rem; font-weight: 700;
    letter-spacing: -.035em; margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 2px solid var(--line);
    position: relative;
}
.legal-section h2::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: var(--orange); }
.legal-section h3 { font-size: 1.3rem; font-weight: 600; margin: 25px 0 15px; }
.legal-section p { color: var(--ink); font-size: 1rem; line-height: 1.8; margin-bottom: 15px; }
.legal-section ul { margin: 20px 0 25px; padding-left: 0; list-style: none; }
.legal-section li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 0.98rem; line-height: 1.6; color: var(--ink); }
.legal-section li::before { content: '•'; color: var(--orange); font-size: 1.5rem; position: absolute; left: 0; top: -4px; }
.legal-highlight { background: var(--orange-soft); border-left: 4px solid var(--orange); padding: 16px 20px; border-radius: 8px; margin: 25px 0; }
.legal-highlight p { margin: 0; font-size: 0.98rem; }
.legal-contact { background: var(--orange-soft); border-radius: 16px; padding: 25px 30px; margin-top: 30px; }
.legal-contact h3 { margin-top: 0; }
.legal-contact a { color: var(--orange); text-decoration: underline; }
.legal-contact a:hover { color: var(--orange-dark); }

@media (max-width: 1024px) {
    .mission-grid { grid-template-columns: 1fr; gap: 40px; }
    .mission-visual { min-height: 200px; padding: 30px; }
    .principles-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { padding: 40px 0 30px; }
    .page-hero-title { font-size: 1.8rem; }
    .mission-number-big { font-size: 3rem; }
    .principles-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .team-grid { grid-template-columns: 1fr; }
    .cta-block { padding: 60px 0; }
    .legal-section h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .page-hero-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════════
   § 10. ALL CATEGORIES PAGE (минималистичный дизайн)
   ═══════════════════════════════════════════════════════════════ */

/* ---------- HERO ---------- */
.nfy-cats-hero {
    position: relative;
    padding: 70px 0 0;
    overflow: hidden;
}
.nfy-cats-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
}
.nfy-cats-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--paper) 0%, transparent 8%, transparent 92%, var(--paper) 100%);
}
.nfy-cats-hero .container { position: relative; z-index: 1; }

.nfy-cats-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: end;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.nfy-cats-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 22px;
}
.nfy-cats-hero-kicker span { color: var(--orange); }

.nfy-cats-hero-title {
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    font-weight: 750;
    letter-spacing: -.055em;
    line-height: 1;
    margin: 0 0 20px;
    color: var(--ink);
}
.nfy-cats-hero-title em { color: var(--orange); font-style: normal; }

.nfy-cats-hero-sub {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

/* Три метрики */
.nfy-cats-hero-aside {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.nfy-cats-hero-metrics {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.nfy-cats-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 80px;
}
.nfy-cats-metric b {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
    color: var(--ink);
}
.nfy-cats-metric span {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}
.nfy-cats-metric-sep {
    width: 1px;
    height: 38px;
    background: var(--line);
    flex: 0 0 1px;
}

/* Быстрые ссылки */
.nfy-cats-hero-foot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid var(--line);
}
.nfy-cats-hero-link {
    display: grid;
    grid-template-columns: 32px 1fr 20px;
    grid-template-areas:
        "icon label arrow"
        "icon value arrow";
    align-items: center;
    column-gap: 14px;
    padding: 22px 26px;
    border-right: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: background .3s var(--ease), color .3s var(--ease);
    position: relative;
    background: var(--paper);
}
.nfy-cats-hero-link:last-child { border-right: 0; }
.nfy-cats-hero-link:hover { background: rgba(255,77,0,.04); }
.nfy-cats-hero-link > i:first-child {
    grid-area: icon;
    font-size: 16px;
    color: var(--orange);
    opacity: .85;
    transition: opacity .3s ease;
}
.nfy-cats-hero-link:hover > i:first-child { opacity: 1; }
.nfy-cats-hero-link-label {
    grid-area: label;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
    transition: color .3s ease;
}
.nfy-cats-hero-link-value {
    grid-area: value;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink);
}
.nfy-cats-hero-link-arrow {
    grid-area: arrow;
    font-size: 12px;
    color: var(--muted);
    transition: transform .3s var(--ease), color .3s var(--ease);
}
.nfy-cats-hero-link:hover .nfy-cats-hero-link-arrow {
    transform: translateX(4px);
    color: var(--orange);
}

/* ---------- SECTIONS ---------- */
.nfy-cats-section { padding: 60px 0; }
.nfy-cats-section--alt { background: var(--gray); }
.nfy-cats-head { margin-bottom: 30px !important; }
.nfy-cats-head h2 { font-size: clamp(28px, 3vw, 42px) !important; }
.nfy-cats-head > p { font-size: 14px; }

/* ---------- АККОРДЕОН ---------- */
.nfy-acc { border-top: 1px solid var(--line); }
.nfy-acc-item {
    border-bottom: 1px solid var(--line);
    transition: background .3s var(--ease);
}
.nfy-acc-item.is-open { background: rgba(255,77,0,.025); }
.nfy-acc-head {
    display: grid;
    grid-template-columns: 44px 1fr auto 28px;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 22px 8px;
    background: transparent;
    border: 0;
    color: var(--ink);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease;
}
.nfy-acc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--orange);
    display: grid;
    place-items: center;
    font-size: 15px;
    flex: 0 0 40px;
    transition: all .25s var(--ease);
}
.nfy-acc-head:hover .nfy-acc-icon {
    border-color: var(--orange);
}
.nfy-acc-item.is-open .nfy-acc-icon {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.nfy-acc-name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.025em;
    transition: color .2s ease;
}
.nfy-acc-head:hover .nfy-acc-name,
.nfy-acc-item.is-open .nfy-acc-name { color: var(--orange); }
.nfy-acc-count {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    color: var(--muted);
    padding: 4px 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 20px;
}
.nfy-acc-chev {
    font-size: 11px;
    color: var(--muted);
    transition: transform .3s var(--ease), color .2s ease;
}
.nfy-acc-item.is-open .nfy-acc-chev {
    transform: rotate(180deg);
    color: var(--orange);
}
.nfy-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s var(--ease);
}
.nfy-acc-item.is-open .nfy-acc-body { max-height: 1600px; }
.nfy-acc-body > .nfy-chips,
.nfy-acc-body > .nfy-acc-empty { padding: 4px 8px 24px 70px; }
.nfy-acc-empty {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

/* ---------- ЧИПЫ ---------- */
.nfy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nfy-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: 12.5px;
    text-decoration: none;
    transition: all .2s var(--ease);
}
.nfy-chip b {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    padding: 1px 6px;
    background: rgba(255,255,255,.04);
    border-radius: 4px;
    transition: all .2s ease;
}
.nfy-chip:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.nfy-chip:hover b {
    background: rgba(255,255,255,.15);
    color: #fff;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
    .nfy-cats-hero { padding: 50px 0 0; }
    .nfy-cats-hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }
    .nfy-cats-hero-aside { justify-content: flex-start; }
    .nfy-cats-metric { align-items: flex-start; }
    .nfy-cats-hero-foot { grid-template-columns: 1fr; }
    .nfy-cats-hero-link {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 18px 12px;
    }
    .nfy-cats-hero-link:last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
    .nfy-cats-section { padding: 40px 0; }
    .nfy-cats-hero-title { font-size: 2rem; }
    .nfy-cats-hero::before { background-size: 90px 100%; }
    .nfy-acc-head {
        grid-template-columns: 36px 1fr auto 24px;
        gap: 12px;
        padding: 16px 4px;
    }
    .nfy-acc-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 13px; }
    .nfy-acc-name { font-size: 15px; }
    .nfy-acc-body > .nfy-chips,
    .nfy-acc-body > .nfy-acc-empty { padding: 4px 4px 20px 52px; }
}
@media (max-width: 480px) {
    .nfy-acc-head {
        grid-template-columns: 34px 1fr 24px;
        gap: 10px;
    }
    .nfy-acc-count { display: none; }
    .nfy-acc-body > .nfy-chips,
    .nfy-acc-body > .nfy-acc-empty { padding: 4px 4px 18px 4px; }
    .nfy-chip { font-size: 12px; padding: 7px 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   § 11. SINGLE POST (single.php)
   ═══════════════════════════════════════════════════════════════ */
.neuro-single { position: relative; }

/* ---------- HERO ---------- */
.single-hero {
    position: relative;
    padding: 12px 0 0;
    color: #fff;
    border-bottom: 1px solid var(--line);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    isolation: isolate;
}

/* Blurred backdrop from cover image */
.single-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.28) saturate(0.65);
    transform: scale(1.15);
}

/* Hairline pattern + vignette */
.single-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
        radial-gradient(ellipse 120% 90% at 50% 50%, transparent 25%, rgba(0,0,0,.6) 100%);
    background-size: 130px 100%, 100% 100%;
}

.single-hero .container { position: relative; z-index: 1; }

.single-hero-grid {
    min-height: 400px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 16px 0 24px;
}

.single-hero-main { min-width: 0; }

/* Breadcrumbs */
.single-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}
.single-breadcrumbs a {
    color: rgba(255,255,255,.65);
    transition: color .2s ease;
}
.single-breadcrumbs a:hover { color: var(--orange); }
.single-breadcrumbs .divider { color: rgba(255,255,255,.25); }
.single-breadcrumbs .current {
    color: #fff;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* ---------- ГОЛОСОВАНИЕ В HERO ---------- */
.single-hero-vote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    min-height: 54px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.3);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: -.005em;
    border-radius: 0;
    cursor: default;
    transition: all .3s var(--ease);
}
.single-hero-vote i {
    color: var(--orange);
    font-size: 14px;
    transition: color .25s var(--ease);
}
.single-hero-vote b {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255,255,255,.55);
    margin-left: 2px;
    letter-spacing: -.02em;
    transition: color .25s var(--ease);
}
.single-hero-vote.is-action {
    cursor: pointer;
}
.single-hero-vote.is-action:hover {
    background: rgba(255,77,0,.15);
    border-color: var(--orange);
}
.single-hero-vote.is-action:hover b { color: var(--orange); }
.single-hero-vote.is-voted {
    border-color: rgba(76,175,80,.5);
    background: rgba(76,175,80,.1);
    color: #4caf50;
}
.single-hero-vote.is-voted i { color: #4caf50; }
.single-hero-vote.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}
/* ---------- VOTE-КНОПКА В POST-ACTIONS ---------- */
.action-btn.vote-btn {
    /* базовое поведение как у .action-btn, переопределяем состояние */
}
.action-btn.vote-btn.is-voted {
    background: rgba(76,175,80,.12);
    border-color: rgba(76,175,80,.4);
    color: #4caf50;
}
.action-btn.vote-btn.is-voted i { color: #4caf50; }
.action-btn.vote-btn.is-voted .rated-count { color: rgba(76,175,80,.7); }
.action-btn.vote-btn.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}
/* Kicker */
.single-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 16px;
}
.single-hero-kicker span { color: var(--orange); }

/* Icon + title */
.single-hero-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}
.single-hero-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.single-hero-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
}
.single-hero-title {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.05;
    margin: 0;
    color: #fff;
}
.single-hero-title em {
    color: var(--orange);
    font-style: normal;
}

/* Meta */
.single-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 13px;
    color: rgba(255,255,255,.68);
    margin-bottom: 26px;
}
.single-hero-meta i {
    margin-right: 6px;
    color: var(--orange);
    font-size: 12px;
}
.single-hero-meta a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: color .2s ease, border-color .2s ease;
}
.single-hero-meta a:hover {
    color: var(--orange);
    border-bottom-color: rgba(255,77,0,.4);
}
.single-hero-rating {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    background: rgba(255,77,0,.15);
    border: 1px solid rgba(255,77,0,.3);
    border-radius: 20px;
    color: #fff;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: .02em;
}
.single-hero-rating i { color: var(--orange); margin: 0; }

/* Actions */
.single-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.single-hero-url {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

/* ---------- BROWSER WINDOW ---------- */
.single-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.browser-window {
    width: 100%;
    max-width: 620px;
    border-radius: 14px;
    background: #1e1e1e;
    overflow: hidden;
}
.browser-header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 14px;
    min-height: 34px;
    background: #2c2c2c;
    border-bottom: 1px solid #3a3a3a;
}
.window-controls {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}
.window-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 0, 0, 0.5);
    cursor: default;
    user-select: none;
}
.window-btn.close { background: #ff5f57; }
.window-btn.close::before { content: '×'; color: #4c0000; }
.window-btn.minimize { background: #ffbd2e; }
.window-btn.minimize::before { content: '─'; color: #7a5a00; }
.window-btn.maximize { background: #28c840; }
.window-btn.maximize::before { content: '□'; color: #004d00; font-size: 7px; }

.browser-url {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    max-width: 70%;
}
.url-text {
    background: #3a3a3a;
    color: #aaa;
    font-size: 10px;
    font-family: ui-monospace, monospace;
    padding: 2px 14px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 20px;
    vertical-align: middle;
}
.browser-body {
    background: #1e1e1e;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.browser-body img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---------- ANCHOR MENU ---------- */
.anchor-menu-wrapper {
    position: sticky;
    top: 78px;
    z-index: 20;
    background: rgba(11, 11, 11, 0.88);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--line);
}
.anchor-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 0;
}
.anchor-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.anchor-link i {
    font-size: 12px;
    color: var(--orange);
    opacity: .7;
    transition: opacity .25s ease;
}
.anchor-link:hover,
.anchor-link.active {
    background: var(--orange);
    color: #fff;
}
.anchor-link:hover i,
.anchor-link.active i { color: #fff; opacity: 1; }

/* ---------- CONTENT ---------- */
.single-content-section {
    padding: 60px 0 40px;
    background: var(--paper);
}
.single-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}
.single-main-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--line);
}
.single-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink);
}
.single-content-body h2,
.single-content-body h3,
.single-content-body h4 {
    margin: 1.8em 0 0.8em;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ink);
}
.single-content-body h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--orange-soft);
    padding-bottom: 10px;
}
.single-content-body h3 { font-size: 1.6rem; }
.single-content-body h4 { font-size: 1.3rem; }
.single-content-body p {
    margin-bottom: 1.5em;
    color: #b8b4ad;
}
.single-content-body ul,
.single-content-body ol {
    margin: 1.2em 0;
    padding-left: 1.8em;
}
.single-content-body li { margin-bottom: 0.6em; color: #b8b4ad; }

/* Явные цвета для инлайн-элементов */
.single-content-body strong,
.single-content-body b {
    color: var(--ink);
    font-weight: 700;
}
.single-content-body em,
.single-content-body i {
    color: var(--ink);
}
.single-content-body code {
    background: var(--orange-soft);
    color: var(--orange);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.single-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5em 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.single-content-body blockquote {
    border-left: 4px solid var(--orange);
    padding: 1em 1.8em;
    margin: 1.5em 0;
    background: var(--orange-soft);
    font-style: italic;
    border-radius: 0 12px 12px 0;
    color: var(--ink);
}
.single-content-body blockquote p { color: var(--ink); }
.single-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.single-content-body table th {
    background: var(--orange-soft);
    padding: 10px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--ink);
}
.single-content-body table td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--line);
    color: #b8b4ad;
}
.single-content-body table tr:nth-child(even) { background: #1a1a1a; }
.single-content-body pre {
    background: #1e1e1e;
    color: #f0f0f0;
    padding: 1.5em;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.9rem;
}
.single-content-body a {
    color: var(--orange);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,77,0,0.35);
    transition: border-color .2s ease;
}
.single-content-body a:hover { border-bottom-color: var(--orange); }
/* Жёсткий сброс инлайн-цветов в контенте */
.single-content-body [style*="color"] {
    color: inherit !important;
}
.single-content-body strong,
.single-content-body strong *,
.single-content-body b,
.single-content-body b * {
    color: var(--ink) !important;
    font-weight: 700;
}

/* ---------- SIDEBAR ---------- */
.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 26px 22px;
    border: 1px solid var(--line);
}
.sidebar-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    letter-spacing: -.02em;
}
.sidebar-card h3 i {
    color: var(--orange);
    font-size: 16px;
}
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-item { margin-bottom: 18px; }
.sidebar-item:last-child { margin-bottom: 0; }
.sidebar-link {
    display: flex;
    align-items: stretch;
    gap: 14px;
    text-decoration: none;
    color: var(--ink);
    transition: color .2s ease;
}
.sidebar-link:hover { color: var(--orange); }
.sidebar-image {
    width: 120px;
    flex: 0 0 120px;
    height: 78px;
    min-height: 78px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--line);
}
.sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 78px;
    min-width: 0;
}
.sidebar-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-excerpt {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.2em;
}
.sidebar-meta {
    font-size: 10.5px;
    color: var(--muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sidebar-meta i { font-size: 10px; color: var(--orange); opacity: .7; }

/* ---------- POST ACTIONS ---------- */
.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.action-buttons-left {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.action-buttons-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.share-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    margin-right: 4px;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    transition: all .25s ease;
    text-decoration: none;
    font-size: 13px;
}
.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.share-facebook:hover  { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-x-twitter:hover { background: #000;    color: #fff; border-color: #000; }
.share-telegram:hover  { background: #0088cc; color: #fff; border-color: #0088cc; }
.share-vk:hover        { background: #4a76a8; color: #fff; border-color: #4a76a8; }

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 40px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    font-family: inherit;
}
.action-btn:hover {
    background: var(--orange-soft);
    border-color: var(--orange);
}
.action-btn i { color: var(--orange); transition: color .2s ease; }
.action-btn.liked,
.action-btn.bookmarked {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}
.action-btn.liked i,
.action-btn.bookmarked i { color: #fff; }
.action-btn .checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all .3s ease;
}
.action-btn.animate .action-text,
.action-btn.animate i:not(.checkmark) {
    opacity: 0;
    transform: translateY(8px);
}
.action-btn.animate .checkmark {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.rated-count {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    margin-left: 4px;
}
.action-btn.liked .rated-count,
.action-btn.bookmarked .rated-count { color: rgba(255,255,255,0.7); }

/* ---------- RECOMMENDED ---------- */
.recommended-section {
    padding: 70px 0 90px;
    background: var(--paper);
    border-top: 1px solid var(--line);
}
.nfy-single-head { margin-bottom: 36px !important; }
.nfy-single-head h2 {
    font-size: clamp(28px, 3vw, 42px) !important;
}
.recommended-grid { margin-top: 0; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1100px) {
    .single-hero-grid { gap: 40px; min-height: auto; }
}
@media (max-width: 1024px) {
    .single-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 24px 0;
    }
    .single-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .single-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .browser-window { max-width: 100%; max-height: 420px; }
    .browser-body img { max-height: 360px; object-fit: contain; }
    .single-hero::after { background-size: 90px 100%, 100% 100%; }
}
@media (max-width: 768px) {
    .single-hero { padding: 12px 0 0; }
    .single-hero::before { filter: blur(28px) brightness(0.25) saturate(0.6); }
    .single-hero-grid { padding: 16px 0; }
    .single-hero-head { flex-wrap: wrap; gap: 14px; }
    .single-hero-icon {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        padding: 8px;
    }
    .single-hero-title { font-size: 1.75rem; }
    .single-hero-meta { font-size: 12px; gap: 10px 16px; }
    .single-main-content { padding: 22px; }
    .single-sidebar { grid-template-columns: 1fr; gap: 20px; }
    .post-actions { flex-direction: column; align-items: stretch; gap: 16px; }
    .action-buttons-left { justify-content: space-between; }
    .action-buttons-right { justify-content: center; }
    .anchor-menu-wrapper { top: 60px; }
    .browser-window { border-radius: 12px; max-height: 320px; }
    .browser-body img { max-height: 260px; }
    .browser-header { padding: 4px 10px; min-height: 28px; }
    .window-btn { width: 10px; height: 10px; font-size: 7px; }
    .url-text { font-size: 9px; padding: 1px 8px; }
}
@media (max-width: 480px) {
    .single-hero-title { font-size: 1.5rem; }
    .single-main-content { padding: 18px; }
    .action-btn { padding: 8px 14px; font-size: 12px; }
    .share-button { width: 32px; height: 32px; font-size: 12px; }
    .browser-window { border-radius: 10px; max-height: 240px; }
    .browser-body img { max-height: 200px; }
    .sidebar-image { width: 100px; flex: 0 0 100px; height: 70px; min-height: 70px; }
    .sidebar-item-title { font-size: 13px; }
    .sidebar-excerpt { font-size: 12px; -webkit-line-clamp: 2; max-height: 3.6em; }
    .sidebar-content { min-height: 70px; }
}
/* Форсированно убираем hover-анимацию */
.browser-window,
.browser-window:hover {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}
/* ---------- EMBEDDED FAQ ACCORDION (auto-generated by script) ---------- */
/* Обнуляем ВСЕ фоны и рамки, потом красим сами */
.single-content-body .neuro-acc,
.single-content-body .neuro-acc * {
    background-color: transparent !important;
    background-image: none !important;
}

.single-content-body .neuro-acc {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 1.8em 0 !important;
    background: var(--surface-2) !important;
    background-color: var(--surface-2) !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Восстанавливаем фон-подсветку при открытии */
.single-content-body .neuro-acc .acc-item {
    background: transparent !important;
    border-bottom: 1px solid var(--line) !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: background .3s var(--ease);
}
.single-content-body .neuro-acc .acc-item:last-child {
    border-bottom: 0 !important;
}
.single-content-body .neuro-acc .acc-item:has(.acc-toggle:checked) {
    background: rgba(255,77,0,.025) !important;
}

/* Скрытые радио */
.single-content-body .neuro-acc .acc-sentinel,
.single-content-body .neuro-acc .acc-toggle {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
}

/* Шапка вопроса (label) */
.single-content-body .neuro-acc .acc-header {
    display: grid !important;
    grid-template-columns: 32px 1fr !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 20px 22px !important;
    margin: 0 !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: color .2s ease;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Иконка-шеврон */
.single-content-body .neuro-acc .acc-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid var(--line) !important;
    flex: 0 0 32px !important;
    transition: all .3s var(--ease);
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.single-content-body .neuro-acc .acc-icon svg {
    width: 16px !important;
    height: 16px !important;
    transition: transform .3s var(--ease);
    display: block;
}
.single-content-body .neuro-acc .acc-icon svg path {
    stroke: var(--muted) !important;
    transition: stroke .3s var(--ease);
}

/* Текст вопроса */
.single-content-body .neuro-acc .acc-title {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: -.015em !important;
    color: var(--ink) !important;
    transition: color .2s ease;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hover */
.single-content-body .neuro-acc .acc-header:hover .acc-title {
    color: var(--orange) !important;
}
.single-content-body .neuro-acc .acc-header:hover .acc-icon {
    border-color: var(--orange) !important;
}
.single-content-body .neuro-acc .acc-header:hover .acc-icon svg path {
    stroke: var(--orange) !important;
}

/* Открытое состояние */
.single-content-body .neuro-acc .acc-toggle:checked + .acc-header .acc-title {
    color: var(--orange) !important;
}
.single-content-body .neuro-acc .acc-toggle:checked + .acc-header .acc-icon {
    background: var(--orange) !important;
    background-color: var(--orange) !important;
    border-color: var(--orange) !important;
    transform: rotate(180deg);
}
.single-content-body .neuro-acc .acc-toggle:checked + .acc-header .acc-icon svg path {
    stroke: #fff !important;
}

/* Контент (ответ) */
.single-content-body .neuro-acc .acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.single-content-body .neuro-acc .acc-toggle:checked ~ .acc-content {
    max-height: 900px;
}

.single-content-body .neuro-acc .acc-inner {
    padding: 0 22px 22px 70px !important;
    color: #b8b4ad !important;
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
}
.single-content-body .neuro-acc .acc-inner p {
    margin: 0 0 12px !important;
    color: inherit !important;
}
.single-content-body .neuro-acc .acc-inner p:last-child { margin-bottom: 0 !important; }
.single-content-body .neuro-acc .acc-inner a {
    color: var(--orange) !important;
    border-bottom: 1px dashed rgba(255,77,0,.35) !important;
}
.single-content-body .neuro-acc .acc-inner strong,
.single-content-body .neuro-acc .acc-inner b {
    color: var(--ink) !important;
}

/* Адаптив */
@media (max-width: 768px) {
    .single-content-body .neuro-acc .acc-header {
        grid-template-columns: 28px 1fr !important;
        gap: 12px !important;
        padding: 16px 18px !important;
    }
    .single-content-body .neuro-acc .acc-icon {
        width: 28px !important;
        height: 28px !important;
        flex-basis: 28px !important;
    }
    .single-content-body .neuro-acc .acc-icon svg {
        width: 14px !important;
        height: 14px !important;
    }
    .single-content-body .neuro-acc .acc-title { font-size: 14.5px !important; }
    .single-content-body .neuro-acc .acc-inner {
        padding: 0 18px 18px 58px !important;
        font-size: 14px !important;
    }
}
@media (max-width: 480px) {
    .single-content-body .neuro-acc .acc-inner {
        padding: 0 16px 16px 16px !important;
    }
}

/* ---------- ARTICLE CONTENT: HEADINGS + LISTS (auto-generated by script) ---------- */

.single-content-body .neuro-heading {
    font-weight: 700 !important;
    font-size: 1.4em !important;
    line-height: 1.3 !important;
    letter-spacing: -.02em !important;
    margin: 1.8em 0 0.8em 0 !important;
    color: var(--ink) !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
.single-content-body .neuro-heading:first-child {
    margin-top: 0 !important;
}

.single-content-body .neuro-subheading {
    font-weight: 700 !important;
    font-size: 1.15em !important;
    line-height: 1.3 !important;
    letter-spacing: -.015em !important;
    margin: 1.6em 0 0.7em 0 !important;
    color: var(--ink) !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.single-content-body .neuro-list {
    list-style: none !important;
    padding: 0 0 0 26px !important;
    margin: 1em 0 1.2em 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.single-content-body .neuro-list li {
    position: relative !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    line-height: 1.65 !important;
    color: #b8b4ad !important;
    background: transparent !important;
    border: 0 !important;
}
.single-content-body .neuro-list li:last-child {
    margin-bottom: 0 !important;
}
.single-content-body .neuro-list li::before {
    content: "" !important;
    position: absolute !important;
    left: -22px !important;
    top: 0.55em !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: var(--orange) !important;
}
.single-content-body .neuro-list li strong {
    color: var(--ink) !important;
    font-weight: 600 !important;
}

.single-content-body .neuro-list-ordered {
    list-style: none !important;
    counter-reset: neuro-counter !important;
    padding: 0 0 0 30px !important;
    margin: 1em 0 1.2em 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.single-content-body .neuro-list-ordered li {
    position: relative !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    line-height: 1.65 !important;
    color: #b8b4ad !important;
    counter-increment: neuro-counter !important;
    background: transparent !important;
    border: 0 !important;
}
.single-content-body .neuro-list-ordered li:last-child {
    margin-bottom: 0 !important;
}
.single-content-body .neuro-list-ordered li::before {
    content: counter(neuro-counter) "." !important;
    position: absolute !important;
    left: -26px !important;
    top: 0 !important;
    font-weight: 700 !important;
    color: var(--orange) !important;
    font-size: 1em !important;
}
.single-content-body .neuro-list-ordered li strong {
    color: var(--ink) !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .single-content-body .neuro-heading { font-size: 1.25em !important; }
    .single-content-body .neuro-subheading { font-size: 1.05em !important; }
    .single-content-body .neuro-list { padding-left: 22px !important; }
    .single-content-body .neuro-list li::before { left: -18px !important; }
    .single-content-body .neuro-list-ordered { padding-left: 26px !important; }
    .single-content-body .neuro-list-ordered li::before { left: -22px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   § 12. FORM CONTROLS (select, checkbox)
   ═══════════════════════════════════════════════════════════════ */
.custom-select {
    appearance: none; -webkit-appearance: none;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238f8b84' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    background-size: 12px 8px;
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink);
    width: 100%; cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-select:hover, .custom-select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,77,0,0.15); outline: none; }
.custom-select option { background: var(--white); color: var(--ink); }

/* --- Stylish checkbox chips --- */
.custom-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 44px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
    transition: all .25s var(--ease);
}
.custom-checkbox:hover {
    border-color: var(--line-dark);
    color: var(--ink);
    transform: translateY(-1px);
}
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0;
}
.custom-checkbox::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: var(--surface-2);
    border: 1px solid var(--line-dark);
    transition: all .25s var(--ease);
}
.custom-checkbox::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 50%;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -65%) rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform .25s var(--ease);
    pointer-events: none;
}
.custom-checkbox:has(input:checked) {
    background: var(--orange-soft);
    border-color: var(--orange);
    color: var(--ink);
    box-shadow: 0 6px 22px rgba(255,77,0,0.16);
}
.custom-checkbox:has(input:checked)::before {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 0 12px rgba(255,77,0,0.45);
}
.custom-checkbox:has(input:checked)::after {
    transform: translate(-50%, -65%) rotate(45deg) scale(1);
}
.custom-checkbox input[type="checkbox"]:focus-visible + * { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════════
   § 13. HOME — HERO BANNER + METRIC PILLS
   ═══════════════════════════════════════════════════════════════ */
.neuro-home { position: relative; }
.neuro-home .section-kicker,
.neuro-home .section-kicker span { color: var(--muted) !important; }

/* ---------- HERO — горизонтальный баннер в стиле референса ---------- */
.hero-banner {
    position: relative;
    margin: 20px 40px 0;
    min-height: 240px;
    padding: 30px 40px;
    background: #0e0f12;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    isolation: isolate;
}

/* Тёмные абстрактные блики по углам (как на референсе) */
.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 240px 340px at 0% 25%, rgba(48,50,56,.95), transparent 65%),
        radial-gradient(ellipse 200px 300px at 0% 85%, rgba(38,40,45,.85), transparent 65%),
        radial-gradient(ellipse 240px 340px at 100% 20%, rgba(48,50,56,.95), transparent 65%),
        radial-gradient(ellipse 200px 300px at 100% 80%, rgba(38,40,45,.85), transparent 65%);
    filter: blur(26px);
    pointer-events: none;
}

/* Мягкое затемнение по краям + очень лёгкая центральная подсветка */
.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 90% 120% at 50% 50%, rgba(255,77,0,.035), transparent 55%),
        radial-gradient(ellipse 70% 110% at 50% 50%, transparent 35%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
}

/* ---------- Плёнки иконок слева и справа ---------- */
.banner-strip {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.banner-strip--left  { justify-content: flex-start; }
.banner-strip--right { justify-content: flex-end; }

.banner-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    display: grid;
    place-items: center;
    transform: translateY(var(--jitter, 0)) rotate(var(--rot, 0deg));
    box-shadow:
        0 10px 24px rgba(0,0,0,.55),
        0 0 0 1px rgba(255,255,255,.05) inset;
    transition: transform .35s var(--ease);
}
.banner-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
}
.banner-icon:hover {
    transform: translateY(var(--jitter, 0)) rotate(var(--rot, 0deg)) scale(1.06);
}

/* ---------- Центральный контент ---------- */
.banner-center {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 560px;
    padding: 0 10px;
}
.banner-kicker {
    display: inline-block;
    font-size: 10px; font-weight: 800;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 14px;
}
.banner-title {
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.02;
    margin: 0 0 22px;
    color: var(--ink);
}
.banner-title em {
    color: var(--orange);
    font-style: normal;
}
.banner-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Metric pills (для совместимости) ---------- */
.metric-pills {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    margin: 26px 40px 0;
}
.pill-informer {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 12px 9px 16px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px; color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .04em; text-transform: uppercase;
    white-space: nowrap;
}
.pill-informer i { color: var(--muted); font-size: 12px; }
.pill-informer b {
    background: var(--orange); color: #fff;
    padding: 2px 10px; border-radius: 5px;
    font-size: 11px; font-weight: 800;
    letter-spacing: 0;
    margin-left: 2px;
}
.pill-link {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 12px 9px 16px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px; color: var(--ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .04em; text-transform: uppercase;
    transition: all .25s var(--ease);
}
.pill-link:hover { border-color: var(--line-dark); background: #222; }
.pill-link b {
    background: var(--orange); color: #fff;
    padding: 2px 10px; border-radius: 5px;
    font-size: 11px; font-weight: 800; letter-spacing: 0;
}
.pill-link i { color: var(--muted); font-size: 11px; }

/* ---------- Адаптив hero ---------- */
@media (max-width: 1180px) {
    .banner-icon { width: 56px; height: 56px; flex-basis: 56px; padding: 8px; }
    .banner-strip { gap: 10px; }
}
@media (max-width: 1024px) {
    .hero-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 24px;
        min-height: auto;
    }
    .banner-strip--left,
    .banner-strip--right { justify-content: center; flex-wrap: wrap; }
    .banner-strip--left  { order: 2; margin-top: 26px; }
    .banner-strip--right { order: 3; margin-top: 14px; }
    .banner-center { order: 1; max-width: 100%; }
    .banner-icon { transform: rotate(var(--rot, 0deg)); }
}
@media (max-width: 640px) {
    .hero-banner { margin: 14px 16px 0; padding: 30px 18px; border-radius: 18px; }
    .banner-icon { width: 46px; height: 46px; flex-basis: 46px; padding: 7px; border-radius: 10px; }
    .banner-strip { gap: 8px; }
    .banner-title { font-size: 24px; }
}
@media (max-width: 420px) {
    .banner-strip--left .banner-icon:nth-child(n+4),
    .banner-strip--right .banner-icon:nth-child(n+4) { display: none; }
}




/* ═══════════════════════════════════════════════════════════════
   § 14. HOME — CAROUSEL SECTIONS (TOP-15 / EDITOR'S PICKS / EXPLORE AI)
   ═══════════════════════════════════════════════════════════════ */
.carousel-section { padding: 70px 40px 0; }
.carousel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.carousel-head--split { align-items: flex-start; }
.carousel-head--split .section-lead {
    max-width: 480px;
    margin: 6px 0 0 auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    text-align: left;
}
.carousel-head .section-kicker { margin-bottom: 16px; }
.carousel-head h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -.05em;
    line-height: 1;
    font-weight: 750;
    color: var(--ink);
}
.carousel-head h2 em { color: var(--ink); font-style: normal; }

.section-sub {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .06em;
}

.carousel-controls { display: flex; gap: 8px; }
.carousel-arrow {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--muted);
    cursor: pointer;
    display: grid; place-items: center;
    font-size: 12px;
    transition: all .25s var(--ease);
}
.carousel-arrow:hover { background: #222; border-color: var(--line-dark); color: var(--ink); }

.carousel { position: relative; }
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 16px;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent 0, #000 2%, #000 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2%, #000 98%, transparent 100%);
}
.carousel-track::-webkit-scrollbar { display: none; }

/* ---------- TOP-15: story-style карточки ---------- */
.top-card {
    display: flex; flex-direction: column;
    align-items: center; gap: 12px;
    text-decoration: none; color: var(--ink);
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 112px;
    text-align: center;
}

.top-cover {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    isolation: isolate;
    transition: transform .35s var(--ease);
}

/* Обводка (ring) — по умолчанию чисто белая */
.top-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #ffffff;
    z-index: 0;
}

/* Первые 3 — оранжевый градиент + лёгкое вращение + мягкое свечение */
.top-card:nth-child(-n+3) .top-cover::before {
    background: conic-gradient(from 0deg,
        #ff4d00 0%,
        #ff8c42 25%,
        #ffb27a 50%,
        #ff8c42 75%,
        #ff4d00 100%);
    animation: topRingSpin 8s linear infinite;
    filter: drop-shadow(0 2px 7px rgba(255,77,0,.28));
}

@keyframes topRingSpin {
    to { transform: rotate(360deg); }
}

/* Тонкий "спейсер" — задаёт толщину обводки = 2px */
.top-cover::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--paper);
    z-index: 1;
}

.top-cover-inner {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #ffffff;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 10px;
    z-index: 2;
}
.top-cover-inner img {
    max-width: 100%;
    max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
}
.top-cover-inner b {
    color: var(--orange);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
}

.top-card:hover .top-cover { transform: scale(1.05); }

.top-rank {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    border: 2px solid var(--paper);
    font-size: 9px;
    font-weight: 800;
    font-family: ui-monospace, monospace;
    display: grid;
    place-items: center;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(255,77,0,.28);
}
.top-name {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color .25s var(--ease);
}
.top-card:hover .top-name { color: var(--orange); }

/* --- EDITOR'S PICKS --- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 1300px) { .featured-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .featured-grid { grid-template-columns: 1fr; } }

.featured-card {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: 16px;
    padding: 26px 18px 20px;
    background: linear-gradient(180deg, #161616 0%, #101010 100%);
    border: 1px solid var(--line);
    border-radius: 0;
    text-decoration: none;
    color: var(--ink);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.featured-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 16px 32px rgba(0,0,0,.5);
}
.featured-card::before { border-radius: 0 !important; }
.fc-logo {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #ffffff;
    padding: 14px;
    display: grid; place-items: center;
    overflow: hidden;
    transition: transform .35s var(--ease);
}
.featured-card:hover .fc-logo { transform: scale(1.04); }
.fc-logo img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain; display: block;
}
.fc-logo b { color: var(--orange); font-size: 26px; font-weight: 800; }

.fc-title {
    font-size: 14px; font-weight: 700;
    line-height: 1.3; letter-spacing: -.02em;
    margin: 0; color: var(--ink);
    min-height: 38px;
}
.fc-meta {
    display: flex; align-items: center; justify-content: center;
    gap: 12px;
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .04em;
    color: var(--muted);
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid var(--line);
    width: 100%;
}
.fc-meta .fc-cat { text-transform: uppercase; color: var(--muted); }
.fc-meta .fc-rating { color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.fc-meta .fc-rating i { color: var(--muted); font-size: 10px; }

/* --- EXPLORE AI --- */
.circle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .circle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .circle-grid { grid-template-columns: 1fr; } }

.circle-card {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: 14px;
    padding: 32px 22px 24px;
    background: linear-gradient(180deg, #161616 0%, #101010 100%);
    border: 1px solid var(--line);
    border-radius: 0;
    text-decoration: none;
    color: var(--ink);
    transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.circle-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.14); }
.circle-cover {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--line);
    display: grid; place-items: center;
    font-size: 28px; color: var(--orange);
    transition: border-color .35s var(--ease);
}
.circle-card:hover .circle-cover { border-color: rgba(255,255,255,.18); }
.circle-name { font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.circle-desc { font-size: 12px; color: var(--muted); line-height: 1.55; max-width: 90%; }
.circle-count {
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--muted);
    background: var(--paper);
    padding: 4px 14px;
    border-radius: 6px;
    border: 1px solid var(--line);
    margin-top: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .banner-center { max-width: 440px; }
}
@media (max-width: 1024px) {
    .banner-scatter { display: none; }
}
@media (max-width: 900px) {
    .hero-banner {
        margin: 14px 16px 0 !important;
        min-height: 420px !important;
        padding: 30px 16px !important;
    }
    .banner-title { font-size: 22px; }
    .carousel-section { padding: 50px 20px 0 !important; }
    .carousel-head--split .section-lead { margin: 0; max-width: 100%; }
    .neuro-home .all-neural { padding: 50px 20px 30px !important; }
    .neuro-home .cta { margin: 50px 16px 24px !important; padding: 70px 20px !important; }
    .top-card { width: 100px; }
    .top-cover { width: 80px; height: 80px; }
    .top-cover-inner { padding: 8px; }
    .top-cover-inner b { font-size: 24px; }
    .top-rank { width: 20px; height: 20px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .top-card:nth-child(-n+3) .top-cover::before { animation: none !important; }
    .featured-card:hover,
    .featured-card:hover .fc-logo,
    .top-card:hover .top-cover,
    .circle-card:hover { transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   § 15. HOME — CATALOG
   ═══════════════════════════════════════════════════════════════ */
.neuro-home .all-neural { padding: 70px 40px 40px !important; }
.neuro-home .section-head-row { margin-bottom: 26px !important; }
.neuro-home .section-head-row h2 { font-size: clamp(30px, 3.5vw, 46px) !important; color: var(--ink) !important; }
.neuro-home .section-head-row h2 em { color: var(--ink) !important; font-style: normal !important; }

.catalog-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid var(--line) !important;
}
.catalog-toolbar .search-box { flex: 1; min-width: 240px; display: flex; gap: 12px; align-items: center; position: relative; }
.catalog-toolbar .search-box > i {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    color: var(--orange); font-size: 14px; pointer-events: none;
}
.catalog-toolbar #home-neural-search {
    flex: 1;
    padding: 12px 12px 12px 28px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    background: transparent !important;
    color: var(--ink) !important;
    font-size: 14px !important;
    outline: none;
    transition: border-color .25s ease;
}
.catalog-toolbar #home-neural-search::placeholder { color: var(--muted-2) !important; }
.catalog-toolbar #home-neural-search:focus { border-bottom-color: var(--orange) !important; }

.sort-options {
    display: flex !important;
    gap: 4px;
    background: var(--surface-2) !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    padding: 4px;
}
.sort-btn {
    border: 0 !important;
    background: transparent !important;
    color: var(--muted) !important;
    padding: 8px 18px !important;
    cursor: pointer;
    font-size: 12px !important;
    font-weight: 700;
    border-radius: 6px !important;
    transition: all .25s ease;
    font-family: inherit;
}
.sort-btn:hover { color: var(--ink) !important; }
.sort-btn.active { background: var(--orange) !important; color: #fff !important; }

/* ---------- Обновлённый блок фильтров ---------- */
.catalog-filters {
    display: flex !important;
    flex-wrap: wrap;
    gap: 26px;
    align-items: flex-end;
    margin-bottom: 30px !important;
    padding: 22px 26px 24px !important;
    background: linear-gradient(180deg, #151515 0%, #0f0f0f 100%) !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    position: relative;
    overflow: hidden;
}
.catalog-filters::before {
    content: ""; position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--orange), transparent 80%);
    border-radius: 3px 0 0 3px;
    opacity: .8;
}
.filter-group { display: flex; flex-direction: column; gap: 12px; min-width: 180px; }
.filter-group--checks { flex: 1; min-width: 0; }
.filter-label {
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.filter-checks { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.neuro-home .neural-card {
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--white) 100%) !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
}
.neuro-home .neural-card:hover {
    border-color: var(--orange) !important;
    box-shadow: 0 20px 45px rgba(255,77,0,.12) !important;
}
.neuro-home .neural-card .neural-content p { color: #b8b4ad !important; }
.neuro-home .neural-card .card-read { color: var(--ink) !important; border-top: 1px solid var(--line) !important; }

.catalog-pagination { text-align: center; padding-top: 46px !important; }
.btn-load-more { min-height: 52px !important; padding: 0 34px !important; font-size: 14px !important; }
.catalog-spinner { display: none; margin-top: 22px; text-align: center; }
.catalog-end {
    display: none; margin-top: 22px;
    color: var(--muted); font-size: 12px;
    letter-spacing: .12em; text-transform: uppercase;
    font-family: ui-monospace, monospace;
}
#home-neural-results .loading,
#home-neural-results .no-results,
#home-neural-results .error {
    grid-column: 1 / -1;
    padding: 50px 0;
    text-align: center;
    color: var(--muted);
    font-size: 13px; letter-spacing: .08em;
    text-transform: uppercase;
}
#home-neural-results .error { color: #ff6b6b; }

.neuro-home .cta { margin: 70px 40px 40px !important; border-radius: 24px; }

@media (max-width: 900px) {
    .hero-banner { grid-template-columns: 1fr !important; margin: 14px 16px 0 !important; padding: 18px 16px !important; }
    .metric-pills { margin: 22px 16px 0; }
    .pill-informer { font-size: 11px; padding: 7px 10px 7px 14px; }
    .carousel-section { padding: 50px 20px 0 !important; }
    .carousel-head--split .section-lead { margin: 0; max-width: 100%; }
    .neuro-home .all-neural { padding: 50px 20px 30px !important; }
    .neuro-home .cta { margin: 50px 16px 24px !important; padding: 70px 20px !important; }
    .catalog-filters { padding: 18px !important; gap: 18px; }
    .filter-group { min-width: 100%; }
    .filter-checks { gap: 8px; }
    .custom-checkbox { font-size: 12px; padding: 9px 14px 9px 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .featured-card:hover,
    .featured-card:hover .fc-logo,
    .top-card:hover .top-cover,
    .circle-card:hover { transform: none !important; }
}
/* ═══════════════════════════════════════════════════════════════
   § 16. HOME — TRUST BAR / BACK TO TOP / SKELETON LOADERS
   ═══════════════════════════════════════════════════════════════ */

/* ---------- TRUST BAR ---------- */
.trust-bar {
    margin: 18px 40px 0;
    padding: 0;
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.trust-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}
.trust-item b {
    color: var(--ink);
    font-weight: 800;
    font-family: Inter, ui-sans-serif, sans-serif;
    font-size: 14px;
    letter-spacing: -.02em;
}
.trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-dark);
    flex: 0 0 4px;
}
@media (max-width: 640px) {
    .trust-bar { margin: 14px 16px 0; }
    .trust-bar-inner { padding: 12px 12px; gap: 12px; font-size: 10px; letter-spacing: .1em; }
    .trust-item b { font-size: 13px; }
    .trust-dot { display: none; }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    border: 1px solid var(--orange);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 14px;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(.9);
    transition:
        opacity .3s var(--ease),
        transform .35s var(--ease),
        background .25s ease,
        box-shadow .25s ease;
    box-shadow: 0 10px 24px rgba(255,77,0,.28);
}
.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.back-to-top:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    box-shadow: 0 14px 32px rgba(255,77,0,.42);
    transform: translateY(-3px) scale(1.03);
}
.back-to-top:active { transform: translateY(0) scale(.97); }

@media (max-width: 600px) {
    .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; font-size: 13px; }
}

/* ---------- SKELETON LOADERS ---------- */
.skeleton-card {
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--white) 100%) !important;
    border: 1px solid var(--line) !important;
    pointer-events: none;
    min-height: 440px;
    display: flex;
    flex-direction: column;
}
.skeleton-image {
    height: 245px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}
.skeleton-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.skeleton-line {
    height: 12px;
    background: #1a1a1a;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.skeleton-line:first-child { height: 9px; }
.skeleton-line:last-child {
    margin-top: auto;
    height: 10px;
}
.skeleton-shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,.045) 45%,
        rgba(255,255,255,.07) 50%,
        rgba(255,255,255,.045) 55%,
        transparent 100%
    );
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    will-change: transform;
}
@keyframes skeletonShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
    .skeleton-shimmer::after { animation: none; opacity: 0; }
}
/* ---------- Плавная загрузка изображений в карточках ---------- */
.neural-image {
    position: relative;
    background-color: #151515;
    overflow: hidden;
}

/* Слой с самим изображением — плавно проявляется */
.neural-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--neural-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .55s var(--ease);
    pointer-events: none;
}
.neural-image.is-loaded::before { opacity: 1; }

/* Слой-shimmer — поверх, плавно исчезает */
.neural-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        100deg,
        #151515 20%,
        #1f1f1f 50%,
        #151515 80%
    );
    background-size: 200% 100%;
    animation: neuralCardShimmer 1.4s ease-in-out infinite;
    opacity: 1;
    transition: opacity .45s ease;
    pointer-events: none;
}
.neural-image.is-loaded::after { opacity: 0; }

/* Контент карточки — над обоими слоями */
.neural-image > * {
    position: relative;
    z-index: 2;
}

@keyframes neuralCardShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .neural-image::after { animation: none; }
}


/* ═══════════════════════════════════════════════════════════════
   ▸ ▸ ▸   HEADER                                              ◂ ◂ ◂
   ═══════════════════════════════════════════════════════════════ */
.site-header--dark {
    position: sticky !important;
    top: 0;
    z-index: 100;
    width: 100% !important;
    max-width: 100% !important;         /* перебивает max-width темы (1140px) */
    min-width: 0 !important;
    padding: 10px 0;
    margin: 0 !important;
    background: rgba(11, 11, 11, 0.88);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
    transition: background .3s ease, border-color .3s ease;
}
.site-header--dark.is-scrolled {
    background: rgba(6, 6, 6, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.09);
}

.site-header--dark .header-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 42px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    min-height: 56px !important;
    box-sizing: border-box;
}

/* ---------- Brand ---------- */
.site-header--dark .site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 0 0 auto;
    margin: 0;
}
.site-header--dark .site-brand-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
    filter: none;
    transition: transform .35s var(--ease);
}
.site-header--dark .site-brand:hover .site-brand-logo {
    transform: rotate(-3deg) scale(1.05);
}
.site-header--dark .site-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.site-header--dark .site-brand-copy strong {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--ink);
}
.site-header--dark .site-brand-copy small {
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8.5px;
    letter-spacing: .2em;
    color: var(--muted);
}

/* ---------- Search trigger ---------- */
.header-search-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 300px;
    flex: 0 0 300px;
    height: 38px;
    padding: 0 14px;
    background: #131313;
    border: 1px solid #232220;
    border-radius: 10px;
    color: #6b6862;
    font-size: 13px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    margin: 0;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.header-search-trigger:hover {
    border-color: #3a3835;
    background: #161616;
    color: var(--ink);
}
.header-search-trigger i {
    color: #6b6862;
    font-size: 12px;
    flex: 0 0 auto;
}
.header-search-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Actions ---------- */
.site-header--dark .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    flex: 0 0 auto !important;
}
.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    font-family: inherit;
}
.header-btn i { font-size: 12px; }
.header-btn--outline { background: transparent; border: 1px solid #2a2927; color: var(--ink); }
.header-btn--outline i { color: var(--muted); }
.header-btn--outline:hover { border-color: #45423e; background: #161616; }
.header-btn--outline:hover i { color: var(--ink); }
.header-btn--dark { background: #1c1c1c; border: 1px solid #262523; color: var(--ink); }
.header-btn--dark:hover { background: #262626; border-color: #35332f; }
.header-btn--light { background: #f2efe9; border: 1px solid #f2efe9; color: #0b0b0b; }
.header-btn--light:hover { background: #ffffff; border-color: #ffffff; transform: translateY(-1px); }

/* ---------- Burger ---------- */
.site-header--dark .menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    border: 1px solid #2a2927;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
}
.site-header--dark .menu-toggle span {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    transition: top .25s ease, transform .25s ease;
}
.site-header--dark .menu-toggle span:first-child { top: 15px; }
.site-header--dark .menu-toggle span:last-child  { top: 21px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .site-header--dark .header-inner { padding: 0 28px !important; }
    .header-search-trigger { width: 240px; flex-basis: 240px; }
}
@media (max-width: 1100px) {
    .header-search-trigger { width: 200px; flex-basis: 200px; }
}
@media (max-width: 980px) {
    .header-btn--outline span { display: none; }
}
@media (max-width: 850px) {
    .site-header--dark .header-inner { padding: 0 16px !important; gap: 12px !important; }
    .header-search-trigger {
        width: auto; flex: 1 1 auto; min-width: 0; padding: 0 12px;
    }
    .header-search-trigger span { display: none; }
    .site-header--dark .header-actions .header-btn { display: none; }
    .site-header--dark .menu-toggle { display: block; }
    .site-header--dark .site-brand-copy small { display: none; }
    .site-header--dark .site-brand-copy strong { font-size: 15px; }
    .site-header--dark .site-brand-logo { height: 34px; width: 34px; }
}

/* ═══════════════════════════════════════════════════════════════
   ▸ ▸ ▸   SEARCH MODAL                                        ◂ ◂ ◂
   ═══════════════════════════════════════════════════════════════ */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
}
.search-modal.is-open { opacity: 1; pointer-events: auto; }
.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.search-modal-panel {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    background: #141414;
    border: 1px solid #2a2927;
    border-radius: 16px;
    overflow: hidden;
    transform: translateY(12px) scale(.98);
    opacity: 0;
    transition: transform .3s var(--ease), opacity .25s ease;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75);
}
.search-modal.is-open .search-modal-panel { transform: translateY(0) scale(1); opacity: 1; }

.search-modal-form {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid #2a2927;
    background: #171717;
    flex: 0 0 auto;
}
.search-modal-form > i { color: #6b6862; font-size: 16px; flex: 0 0 auto; }
#search-modal-input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    font-family: inherit;
    padding: 6px 0;
    min-width: 0;
}
#search-modal-input::placeholder { color: #6b6862; }
.search-modal-esc {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .08em;
    color: #6b6862;
    background: #0b0b0b;
    border: 1px solid #2a2927;
    border-radius: 5px;
    padding: 4px 9px;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}
.search-modal-esc:hover { color: var(--ink); border-color: var(--muted); }

.search-modal-body {
    flex: 1;
    overflow-y: auto;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.search-state { display: none; width: 100%; }
.search-modal-body[data-state="empty"]   .search-state--empty   { display: flex; }
.search-modal-body[data-state="loading"] .search-state--loading { display: flex; }
.search-modal-body[data-state="results"] .search-state--results { display: block; }
.search-modal-body[data-state="none"]    .search-state--none    { display: flex; }

.search-state--empty,
.search-state--loading,
.search-state--none {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #6b6862;
    text-align: center;
    padding: 40px 0;
}
.search-state--empty i,
.search-state--none i { font-size: 40px; color: #2e2c29; }
.search-state--empty p,
.search-state--none p { margin: 0; font-size: 14px; letter-spacing: .02em; color: var(--muted); }

.search-state--results { padding: 6px; }
.smi {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
    transition: background .18s ease;
}
.smi:hover { background: #1a1a1a; }
.smi-logo {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #ffffff;
    display: grid; place-items: center;
    overflow: hidden;
    flex: 0 0 44px;
    padding: 7px;
}
.smi-logo img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
}
.smi-logo b { color: var(--orange); font-size: 18px; font-weight: 800; }
.smi-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.smi-title {
    font-size: 15px; font-weight: 600;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.smi:hover .smi-title { color: var(--orange); }
.smi-cat {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6b6862;
}
.smi-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    color: var(--ink);
    background: #1a1a1a;
    border: 1px solid #2a2927;
    padding: 4px 9px;
    border-radius: 6px;
    flex: 0 0 auto;
}
.smi-rating i { font-size: 9px; color: var(--orange); }

.search-modal-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-top: 1px solid #232220;
    font-size: 12px;
    font-family: ui-monospace, monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    background: #171717;
    transition: color .2s ease, background .2s ease;
    flex: 0 0 auto;
}
.search-modal-all:hover { color: var(--ink); background: #1d1d1d; }
.search-modal-all i { font-size: 10px; }

body.search-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════
   §LANGUAGE SWITCHER (шапка + мобильное меню)
   ═══════════════════════════════════════════════════════════════ */

/* ---------- Desktop: кнопка + дропдаун ---------- */
.header-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.header-lang-btn {
    padding: 0 12px;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
}
.header-lang-btn i:first-child {
    font-size: 12px;
    color: var(--muted);
    transition: color .2s ease;
}
.header-lang-btn:hover i:first-child { color: var(--ink); }

.header-lang-current {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--ink);
}

.header-lang-chev {
    font-size: 8px;
    color: var(--muted);
    transition: transform .25s var(--ease), color .2s ease;
}
.header-lang.is-open .header-lang-chev {
    transform: rotate(180deg);
    color: var(--ink);
}

/* Дропдаун */
.header-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 6px;
    background: #141414;
    border: 1px solid #2a2927;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0,0,0,.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s var(--ease);
    z-index: 20;
}
.header-lang.is-open .header-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-lang-item {
    display: grid;
    grid-template-columns: 36px 1fr 16px;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink);
    transition: background .18s ease, color .18s ease;
}
.header-lang-item:hover { background: #1c1c1c; }
.header-lang-item.is-active { background: rgba(255,77,0,.08); }

.header-lang-short {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
    text-align: left;
}
.header-lang-item:hover .header-lang-short,
.header-lang-item.is-active .header-lang-short { color: var(--orange); }

.header-lang-native {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink);
}

.header-lang-check {
    font-size: 10px;
    color: var(--orange);
    text-align: right;
}

/* Скрываем часть кнопки на узких экранах, чтобы не ломать шапку */
@media (max-width: 980px) {
    .header-lang-btn { padding: 0 10px; }
    .header-lang-current { display: none; }
}
@media (max-width: 850px) {
    .header-lang { display: none; }
}

/* ---------- Mobile: блок языков в меню ---------- */
.mobile-nav-langs {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #2a2927;
}
.mobile-nav-langs-label {
    display: block;
    margin-bottom: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}
.mobile-nav-langs-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mobile-nav-lang {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid #1a1917;
    transition: color .2s ease, padding .2s ease, background .2s ease;
}
.mobile-nav-lang:last-child { border-bottom: 0; }
.mobile-nav-lang:hover,
.mobile-nav-lang.is-active {
    color: var(--orange);
    padding-left: 14px;
    background: rgba(255,77,0,.05);
}

.mobile-nav-lang-short {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
}
.mobile-nav-lang:hover .mobile-nav-lang-short,
.mobile-nav-lang.is-active .mobile-nav-lang-short { color: var(--orange); }

.mobile-nav-lang-native {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
}
/* ═══════════════════════════════════════════════════════════════
   ▸ ▸ ▸   MOBILE MENU                                        ◂ ◂ ◂
   ═══════════════════════════════════════════════════════════════ */
.mobile-navigation {
    position: fixed;
    inset: 0;
    z-index: 998;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.mobile-navigation.is-open { opacity: 1; pointer-events: auto; }
.mobile-navigation::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.mobile-navigation-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    background: #0b0b0b;
    border-left: 1px solid #2a2927;
    padding: 24px 22px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
}
.mobile-navigation.is-open .mobile-navigation-inner { transform: translateX(0); }
.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
    border-bottom: 1px solid #2a2927;
    margin-bottom: 22px;
    font-family: ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--muted);
}
.mobile-nav-close {
    background: transparent;
    border: 1px solid #2a2927;
    color: var(--ink);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.mobile-nav-close:hover { border-color: var(--muted); background: #161616; }
.mobile-navigation nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-navigation nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid #1a1917;
    transition: color .2s ease, padding .2s ease;
}
.mobile-navigation nav a small {
    font-family: ui-monospace, monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: .1em;
}
.mobile-navigation nav a span {
    margin-left: auto;
    color: var(--muted);
}
.mobile-navigation nav a:hover { color: var(--orange); padding-left: 14px; }
body.mobile-menu-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════
   ▸ ▸ ▸   FOOTER (V3)                                        ◂ ◂ ◂
   ═══════════════════════════════════════════════════════════════ */
.site-footer--dark {
    position: relative;
    overflow: hidden;
    background: #060606;
    color: #e5e6e3;
    padding: 0 0 28px;
    border-top: 1px solid rgba(255,255,255,.08);
    isolation: isolate;
}

/* Hairline-разлиновка — как в hero других страниц */
.site-footer--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%);
}
/* Fade разлиновки по краям */
.site-footer--dark::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, #060606 0%, transparent 6%, transparent 94%, #060606 100%);
}

.site-footer--dark .footer-inner {
    position: relative;
    z-index: 1;
    width: min(100% - 52px, 1420px);
    margin: 0 auto;
}

/* ---- Top strip ---- */
.site-footer--dark .footer-top {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #6a7078;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.footer-signal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.signal-dot {
    width: 6px;
    height: 6px;
    display: inline-block;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #c5f13f;
    box-shadow: 0 0 10px rgba(197,241,63,.4);
}
.footer-code { color: #5a626b; }

/* ---- Main ---- */
.site-footer--dark .footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
    gap: 80px;
    padding: 60px 0 65px;
    align-items: start;
}
.footer-intro { max-width: 380px; }

.site-footer--dark .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #e5e6e3;
    text-decoration: none;
    margin-bottom: 22px;
}
.footer-brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    transition: transform .35s var(--ease);
}
.site-footer--dark .footer-brand:hover .footer-brand-logo {
    transform: rotate(-3deg) scale(1.05);
}
.site-footer--dark .footer-brand > span:last-child {
    display: flex;
    flex-direction: column;
}
.site-footer--dark .footer-brand strong {
    font-size: 16px;
    letter-spacing: -.025em;
    font-weight: 800;
}
.site-footer--dark .footer-brand small {
    margin-top: 5px;
    color: #6a7078;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 7.5px;
    letter-spacing: .2em;
}
.footer-intro p {
    margin: 0 0 24px;
    color: #8f959c;
    font-size: 13px;
    line-height: 1.75;
}

/* Email-chip */
.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    color: #b5b8b6;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    text-decoration: none;
    transition: all .25s var(--ease);
}
.footer-email i {
    color: var(--na-orange);
    font-size: 12px;
    transition: transform .25s var(--ease);
}
.footer-email:hover {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.14);
    color: #fff;
}
.footer-email:hover i { transform: scale(1.1); }

/* ---- Link columns ---- */
.site-footer--dark .footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.footer-link-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.site-footer--dark .footer-label {
    margin-bottom: 8px;
    color: #4d555d;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.footer-link-group a {
    color: #b5b8b6;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition: color .25s ease, transform .25s ease;
}
.footer-link-group a:hover {
    color: var(--na-orange);
    transform: translateX(2px);
}

/* ---- Wordmark ---- */
.site-footer--dark .footer-wordmark {
    position: relative;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 6px 0 0;
    overflow: hidden;
}
.site-footer--dark .footer-wordmark > span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.06);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(100px, 14vw, 220px);
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: .72;
    white-space: nowrap;
    transform: translateX(-.025em);
    transition: -webkit-text-stroke-color .45s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}
.footer-wordmark-dot {
    color: transparent;
    -webkit-text-stroke: 1px var(--na-orange);
}
.site-footer--dark .footer-wordmark:hover > span {
    -webkit-text-stroke-color: rgba(255,255,255,.12);
    transform: translateX(.005em);
}

/* ---- Bottom ---- */
.site-footer--dark .footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-top: 30px;
}
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #5a626b;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #6a7078;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .12em;
}

/* ---- Footer responsive ---- */
@media (max-width: 1080px) {
    .site-footer--dark .footer-links {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 38px;
    }
}
@media (max-width: 950px) {
    .site-footer--dark .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 50px 0 55px;
    }
    .footer-intro { max-width: 100%; }
}
@media (max-width: 600px) {
    .site-footer--dark .footer-inner { width: min(100% - 34px, 1420px); }
    .site-footer--dark .footer-top { min-height: 56px; }
    .footer-code { display: none; }
    .site-footer--dark .footer-main { padding: 40px 0 45px; }
    .site-footer--dark .footer-links {
        grid-template-columns: 1fr 1fr;
        row-gap: 34px;
    }
    .site-footer--dark .footer-wordmark > span {
        font-size: 20vw;
        line-height: .8;
    }
    .site-footer--dark .footer-bottom {
        flex-direction: column;
        gap: 22px;
    }
}


/* ═══════════════════════════════════════════════════════════════
   ▸ ▸ ▸   SIDE RAIL (desktop)                                ◂ ◂ ◂
   ═══════════════════════════════════════════════════════════════ */
:root {
    --rail-tight:    48px;
    --rail-expanded: 196px;
    --rail-icon:     22px;
    --rail-icon-left: 13px;
    --rail-label-left: 40px;
}

body.has-rail {
    padding-left: var(--rail-tight) !important;
    transition: padding-left .25s var(--ease);
}

body.has-rail .grid-overlay,
body.has-rail .grid-fade {
    left: calc(50% + (var(--rail-tight) / 2));
}

/* ---- Рельс ---- */
.side-rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-tight);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 10px 0 10px;
    background: #080808;
    border-right: 1px solid var(--line);
    overflow: hidden;
    transition: width .28s var(--ease), box-shadow .28s var(--ease);
}
.side-rail:hover {
    width: var(--rail-expanded);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.55);
}
.side-rail::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent,
        rgba(255,77,0,.16) 30%,
        rgba(255,77,0,.16) 70%,
        transparent);
    opacity: .55;
    pointer-events: none;
    transition: opacity .28s ease;
}
.side-rail:hover::after { opacity: 1; }

.side-rail-scroll {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    padding: 0;
}
.side-rail-scroll::-webkit-scrollbar { display: none; }

.side-rail-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 100%;
}

.side-rail-divider {
    display: block;
    width: 22px;
    height: 1px;
    margin: 6px 0 6px var(--rail-icon-left);
    background: var(--line);
    opacity: .5;
    transition: width .28s var(--ease);
}
.side-rail:hover .side-rail-divider {
    width: calc(var(--rail-expanded) - var(--rail-icon-left) * 2);
}

/* ---- Ссылка ---- */
.side-rail-link,
.side-rail-avatar {
    position: relative;
    display: block;
    height: 34px;
    margin: 0;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
    border-radius: 0;
}
.side-rail-link:hover,
.side-rail-avatar:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.side-rail-link.is-active,
.side-rail-avatar.is-active {
    color: #ffffff;
    background: rgba(255, 77, 0, 0.14);
}
.side-rail-link.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    border-radius: 0 3px 3px 0;
    background: var(--orange);
    box-shadow: 0 0 12px rgba(255,77,0,.55);
}
.side-rail-link--muted { color: rgba(255,255,255,.55); }
.side-rail-link--muted:hover { color: #ffffff; }

.sr-icon {
    position: absolute;
    left: var(--rail-icon-left);
    top: 50%;
    transform: translateY(-50%);
    width: var(--rail-icon);
    height: var(--rail-icon);
    display: grid;
    place-items: center;
    font-size: 15px;
    line-height: 1;
    color: inherit;
    border-radius: 50%;
    overflow: hidden;
    transition: color .2s ease;
}
.sr-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-label {
    position: absolute;
    left: var(--rail-label-left);
    right: 12px;
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: inherit;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity .2s ease, transform .26s var(--ease);
}
.side-rail:hover .sr-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.side-rail-avatar .sr-icon {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}
.side-rail-avatar:hover .sr-icon {
    border-color: var(--orange);
}

.side-rail-bottom {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-top: 8px;
    margin-top: auto;
    width: 100%;
    position: relative;
}
.side-rail-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--rail-icon-left);
    width: 22px;
    height: 1px;
    background: var(--line);
    opacity: .5;
    transition: width .28s var(--ease);
}
.side-rail:hover .side-rail-bottom::before {
    width: calc(var(--rail-expanded) - var(--rail-icon-left) * 2);
}

body.no-rail { padding-left: 0 !important; }
body.no-rail .side-rail { display: none !important; }

@media (max-width: 1024px) {
    body.has-rail { padding-left: 0 !important; }
    .side-rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .side-rail,
    .sr-label,
    .side-rail-divider,
    .side-rail-bottom::before,
    body.has-rail { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   ▸ ▸ ▸   MOBILE RAIL (выезжающая панель)                    ◂ ◂ ◂
   ═══════════════════════════════════════════════════════════════ */
.mobile-rail {
    position: fixed;
    inset: 0;
    z-index: 998;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.mobile-rail.is-open { opacity: 1; pointer-events: auto; }

/* Backdrop */
.mobile-rail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Панель */
.mobile-rail-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(420px, 92vw);
    display: flex;
    flex-direction: column;
    background: #080808;
    border-right: 1px solid #232220;
    transform: translateX(-100%);
    transition: transform .38s var(--ease);
    overflow: hidden;
    touch-action: pan-y;
}
.mobile-rail.is-open .mobile-rail-panel { transform: translateX(0); }

/* Шапка панели */
.mobile-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid #232220;
    flex: 0 0 auto;
}
.mobile-rail-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    min-width: 0;
}
.mobile-rail-brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 36px;
}
.mobile-rail-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: 0;
}
.mobile-rail-brand-copy strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
}
.mobile-rail-brand-copy small {
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8px;
    letter-spacing: .18em;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-rail-close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #2a2927;
    border-radius: 10px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
    display: grid;
    place-items: center;
}
.mobile-rail-close:hover {
    background: #161616;
    border-color: var(--muted);
    color: var(--orange);
}

/* Скролл-область */
.mobile-rail-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 20px 22px 32px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mobile-rail-scroll::-webkit-scrollbar { display: none; }

/* Сетка 2 колонки */
.mobile-rail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

/* Плитка */
.mobile-rail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
    transition: background .18s ease, color .18s ease;
    min-height: 52px;
    min-width: 0;
}
.mobile-rail-item:hover,
.mobile-rail-item:active {
    background: rgba(255,255,255,.04);
}
.mobile-rail-item:hover .mobile-rail-icon,
.mobile-rail-item:active .mobile-rail-icon {
    background: var(--orange-soft);
    color: var(--orange);
}

.mobile-rail-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #141414;
    border: 1px solid #232220;
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 13px;
    overflow: hidden;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.mobile-rail-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.mobile-rail-label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.2;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.mobile-rail-item--muted .mobile-rail-label { color: var(--muted); }

/* Разделитель */
.mobile-rail-divider {
    display: block;
    height: 1px;
    margin: 18px 4px;
    background: #232220;
}

/* Языки */
.mobile-rail-langs { padding: 0 4px; }
.mobile-rail-langs-label {
    display: block;
    margin-bottom: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}
.mobile-rail-langs-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mobile-rail-lang {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
    transition: background .18s ease, color .18s ease;
}
.mobile-rail-lang:hover,
.mobile-rail-lang.is-active {
    background: rgba(255,77,0,.06);
    color: var(--orange);
}
.mobile-rail-lang-short {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
}
.mobile-rail-lang.is-active .mobile-rail-lang-short,
.mobile-rail-lang:hover .mobile-rail-lang-short { color: var(--orange); }
.mobile-rail-lang-native {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
}

body.mobile-rail-open { overflow: hidden; }

/* На десктопе мобильная панель не нужна */
@media (min-width: 1025px) {
    .mobile-rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-rail,
    .mobile-rail-panel { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   ▸ ▸ ▸   PJAX PROGRESS                                       ◂ ◂ ◂
   ═══════════════════════════════════════════════════════════════ */
html.neuro-loading::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    z-index: 99999;
    animation: neuroProgress .9s ease-in-out infinite;
    pointer-events: none;
}
@keyframes neuroProgress {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Плавное проявление нового контента */
#neuro-content {
    animation: neuroFade .25s ease;
}
html.neuro-loading #neuro-content {
    opacity: .55;
    transition: opacity .2s ease;
}
@keyframes neuroFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    #neuro-content,
    html.neuro-loading::after { animation: none !important; }
}


/* ═══════════════════════════════════════════════════════════════
   § 17. FAQ PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ---------- HERO ---------- */
.faq-hero {
    padding: 70px 0 30px;
    text-align: center;
}
.faq-kicker {
    justify-content: center;
    color: var(--muted);
    margin-bottom: 20px;
}
.faq-kicker span { color: var(--orange); }
.faq-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 750;
    letter-spacing: -.055em;
    line-height: 1.05;
    margin: 0 0 16px;
    color: var(--ink);
}
.faq-title em { color: var(--orange); font-style: normal; }
.faq-subtitle {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ---------- BODY ---------- */
.faq-body {
    padding: 20px 0 80px;
}

/* ---------- TABS ---------- */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-bottom: 36px;
}
.faq-tab {
    padding: 8px 14px;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: pointer;
    border-radius: 8px;
    transition: color .2s ease, background .2s ease;
}
.faq-tab:hover { color: var(--ink); }
.faq-tab.is-active {
    color: var(--orange);
    background: var(--orange-soft);
}

/* ---------- LIST ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 22px 4px;
    background: transparent;
    border: 0;
    text-align: left;
    color: var(--ink);
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1.4;
    cursor: pointer;
    transition: color .2s ease;
}
.faq-question:hover { color: var(--orange); }

.faq-chevron {
    flex: 0 0 auto;
    font-size: 11px;
    color: var(--muted);
    transition: transform .3s var(--ease), color .2s ease;
}
.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
    color: var(--orange);
}

/* ---------- ANSWER ---------- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}
.faq-item.is-open .faq-answer { max-height: 900px; }

.faq-answer-inner {
    padding: 0 40px 24px 4px;
    color: #b8b4ad;
    font-size: 14px;
    line-height: 1.75;
}
.faq-answer-inner p { margin: 0 0 12px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}
.faq-answer-inner ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}
.faq-answer-inner ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
}
.faq-answer-inner b {
    color: var(--ink);
    font-weight: 700;
}
.faq-answer-inner a {
    color: var(--orange);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,77,0,.35);
    transition: border-color .2s ease;
}
.faq-answer-inner a:hover { border-bottom-color: var(--orange); }

/* ---------- BOTTOM CTA ---------- */
.faq-bottom {
    padding: 60px 0 80px;
    text-align: center;
    border-top: 1px solid var(--line);
}
.faq-bottom h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--ink);
}
.faq-bottom p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 26px;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 700px) {
    .faq-hero { padding: 50px 0 20px; }
    .faq-title { font-size: 1.8rem; }
    .faq-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-bottom: 26px;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .faq-tabs::-webkit-scrollbar { display: none; }
    .faq-tab {
        padding: 7px 12px;
        font-size: 12.5px;
        white-space: nowrap;
    }
    .faq-question {
        padding: 18px 4px;
        font-size: 14.5px;
        gap: 14px;
    }
    .faq-answer-inner {
        padding: 0 24px 20px 4px;
        font-size: 13.5px;
    }
    .faq-bottom { padding: 40px 0 60px; }
}

/* ═══════════════════════════════════════════════════════════════
   § 18. CATEGORY PAGE
   ═══════════════════════════════════════════════════════════════ */
.neuro-category { position: relative; }

/* ---------- HERO ---------- */
.category-hero {
    position: relative;
    padding: 50px 0 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    overflow: hidden;
    isolation: isolate;
}
.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
}
.category-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--paper) 0%, transparent 8%, transparent 92%, var(--paper) 100%);
}
.category-hero .container { position: relative; z-index: 1; }

.category-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 42px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.category-breadcrumbs a { color: var(--muted); transition: color .2s ease; }
.category-breadcrumbs a:hover { color: var(--orange); }
.category-breadcrumbs .divider { color: var(--line-dark); }
.category-breadcrumbs .current { color: var(--ink); }

.category-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: end;
    padding-bottom: 46px;
}
.category-hero-main { min-width: 0; }
.category-hero .section-kicker { margin-bottom: 20px; color: var(--muted); }
.category-hero .section-kicker span { color: var(--orange); }

.category-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.02;
    margin: 0 0 20px;
    color: var(--ink);
}
.category-hero-desc {
    max-width: 640px;
    color: #a8a49d;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.category-hero-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    flex: 0 0 auto;
}
.category-hero-stat { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.category-stat-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(3rem, 5.5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.08em;
    line-height: 1;
    color: var(--ink);
}
.category-stat-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
}

.category-icon-stack {
    display: flex;
    align-items: center;
    padding: 4px 6px;
}
.category-icon-stack-item {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    padding: 7px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    margin-left: -10px;
    transform: rotate(var(--rot, 0deg));
    box-shadow: 0 4px 12px rgba(0,0,0,.5), 0 0 0 2px var(--paper);
    transition: transform .3s var(--ease);
}
.category-icon-stack-item:first-child { margin-left: 0; }
.category-icon-stack-item:hover {
    transform: rotate(var(--rot, 0deg)) translateY(-3px);
    z-index: 10;
}
.category-icon-stack-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
}

.category-subs {
    padding-top: 32px;
    padding-bottom: 38px;
    border-top: 1px solid var(--line);
}
.category-subs-label {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}
.category-subs-list { display: flex; flex-wrap: wrap; gap: 8px; }
.category-sub-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 40px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: all .25s var(--ease);
}
.category-sub-chip:hover {
    background: var(--orange-soft);
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-1px);
}
.category-sub-chip b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    background: var(--surface-2);
    border-radius: 20px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0;
    transition: all .25s ease;
}
.category-sub-chip:hover b { background: var(--orange); color: #fff; }

/* ---------- BODY ---------- */
.category-body { padding: 46px 0 80px; }
.category-results-head { display: flex; justify-content: flex-start; margin-bottom: 24px; }

/* ---------- ФИКС ПОИСКА (стиль из § 15) ---------- */
.neuro-category .catalog-toolbar #category-neural-search {
    flex: 1;
    padding: 12px 12px 12px 28px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    background: transparent !important;
    color: var(--ink) !important;
    font-size: 14px !important;
    font-family: inherit;
    outline: none;
    transition: border-color .25s ease;
}
.neuro-category .catalog-toolbar #category-neural-search::placeholder { color: var(--muted-2) !important; }
.neuro-category .catalog-toolbar #category-neural-search:focus { border-bottom-color: var(--orange) !important; }

/* ---------- EMPTY STATE ---------- */
.catalog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.012);
}
.catalog-empty[hidden] { display: none; }
.catalog-empty > i {
    font-size: 32px;
    color: var(--muted-2);
    margin-bottom: 18px;
}
.catalog-empty h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ink);
}
.catalog-empty p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    max-width: 340px;
}
.catalog-empty .btn { min-height: 44px; padding: 0 20px; font-size: 13px; }

/* ---------- SCROLL TRIGGER ---------- */
.category-scroll-trigger { height: 1px; margin-top: 40px; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
    .category-hero { padding: 34px 0 0; }
    .category-breadcrumbs { margin-bottom: 30px; }
    .category-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: flex-start;
        padding-bottom: 34px;
    }
    .category-hero-side { align-items: flex-start; }
    .category-hero-stat { align-items: flex-start; }
    .category-icon-stack { padding-left: 0; }
    .category-subs { padding-top: 26px; padding-bottom: 30px; }
    .category-body { padding: 34px 0 60px; }
    .category-hero::before { background-size: 90px 100%; }
}
@media (max-width: 500px) {
    .category-hero-title { font-size: 1.85rem; }
    .category-stat-value { font-size: 2.6rem; }
    .category-breadcrumbs { font-size: 10px; gap: 8px; margin-bottom: 22px; }
    .category-sub-chip { font-size: 12px; padding: 8px 12px 8px 14px; }
    .category-sub-chip b { min-width: 20px; height: 18px; font-size: 9px; }
    .category-icon-stack-item { width: 34px; height: 34px; flex-basis: 34px; padding: 6px; margin-left: -9px; }
    .catalog-empty { padding: 60px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   § 19. ABOUT PAGE
   ═══════════════════════════════════════════════════════════════ */
.nfy-about { position: relative; }

/* ---------- HERO ---------- */
.nfy-about-hero {
    position: relative;
    padding: 70px 0 60px;
    overflow: hidden;
    isolation: isolate;
}
.nfy-about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
}
.nfy-about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--paper) 0%, transparent 8%, transparent 92%, var(--paper) 100%);
}
.nfy-about-hero .container { position: relative; z-index: 1; }

.nfy-about-kicker {
    color: var(--muted);
    margin-bottom: 24px;
}
.nfy-about-kicker span { color: var(--orange); }

.nfy-about-title {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.02;
    margin: 0 0 24px;
    color: var(--ink);
    max-width: 900px;
}
.nfy-about-title em { color: var(--orange); font-style: normal; }

.nfy-about-subtitle {
    max-width: 660px;
    margin: 0 0 34px;
    color: #a8a49d;
    font-size: 16px;
    line-height: 1.7;
}

.nfy-about-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- MISSION ---------- */
.nfy-about-mission {
    padding: 80px 0;
    border-top: 1px solid var(--line);
}
.nfy-about-mission-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 70px;
    align-items: center;
}
.nfy-about-mission-text h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 750;
    letter-spacing: -.05em;
    line-height: 1.1;
    margin: 18px 0 24px;
    color: var(--ink);
}
.nfy-about-mission-text h2 em { color: var(--orange); font-style: normal; }
.nfy-about-mission-text p {
    color: #a8a49d;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 16px;
}
.nfy-about-mission-text p:last-child { margin-bottom: 0; }

.nfy-about-mission-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(180deg, #141414 0%, #0e0e0e 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.nfy-about-mission-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,77,0,.6), transparent);
}
.nfy-about-mission-stat b {
    display: block;
    font-size: clamp(3.4rem, 6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 16px;
}
.nfy-about-mission-stat span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}
.nfy-about-mission-stat i {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-style: normal;
    font-size: 9.5px;
    letter-spacing: .18em;
    color: var(--muted-2);
    text-transform: uppercase;
}

/* ---------- PRINCIPLES ---------- */
.nfy-about-principles {
    padding: 80px 0;
    background: var(--gray);
}
.nfy-about-head { margin-bottom: 40px !important; }
.nfy-about-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
    letter-spacing: -.05em !important;
}

.nfy-about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.nfy-about-principle {
    padding: 32px 28px 30px;
    background: linear-gradient(180deg, #161616 0%, #101010 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.nfy-about-principle:hover {
    border-color: rgba(255,77,0,.35);
    transform: translateY(-3px);
}
.nfy-about-principle-num {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--orange);
    margin-bottom: 20px;
}
.nfy-about-principle h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ink);
}
.nfy-about-principle p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ---------- STATS ---------- */
.nfy-about-stats {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.nfy-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.nfy-about-stat {
    padding: 20px 26px;
    border-right: 1px solid var(--line);
}
.nfy-about-stat:last-child { border-right: 0; }
.nfy-about-stat:first-child { padding-left: 0; }
.nfy-about-stat b {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 8px;
}
.nfy-about-stat span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

/* ---------- TEAM ---------- */
.nfy-about-team {
    padding: 80px 0;
}
.nfy-about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.nfy-about-team-card {
    padding: 30px 26px 28px;
    background: linear-gradient(180deg, #141414 0%, #0e0e0e 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: border-color .3s var(--ease);
}
.nfy-about-team-card:hover { border-color: rgba(255,255,255,.14); }
.nfy-about-team-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--orange-soft);
    font-size: 22px;
    margin-bottom: 22px;
}
.nfy-about-team-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--ink);
}
.nfy-about-team-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

/* ---------- CTA ---------- */
.nfy-about-cta {
    padding: 90px 0;
    text-align: center;
    background: #060606;
    border-top: 1px solid var(--line);
}
.nfy-about-cta-kicker {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}
.nfy-about-cta h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 750;
    letter-spacing: -.05em;
    line-height: 1.1;
    margin: 0 0 16px;
    color: var(--ink);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.nfy-about-cta h2 em { color: var(--orange); font-style: normal; }
.nfy-about-cta p {
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 30px;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1024px) {
    .nfy-about-mission-grid { grid-template-columns: 1fr; gap: 40px; }
    .nfy-about-mission-stat { padding: 40px 24px; }
}
@media (max-width: 900px) {
    .nfy-about-hero { padding: 50px 0 40px; }
    .nfy-about-hero::before { background-size: 90px 100%; }
    .nfy-about-mission,
    .nfy-about-principles,
    .nfy-about-team { padding: 60px 0; }
    .nfy-about-principles-grid { grid-template-columns: 1fr; }
    .nfy-about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
    }
    .nfy-about-stat {
        padding: 10px 20px;
    }
    .nfy-about-stat:nth-child(2n) { border-right: 0; }
    .nfy-about-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
    .nfy-about-stat:nth-child(n+3) { padding-top: 24px; }
    .nfy-about-stat:nth-child(3) { padding-left: 0; }
    .nfy-about-team-grid { grid-template-columns: 1fr; }
    .nfy-about-cta { padding: 70px 0; }
}
@media (max-width: 600px) {
    .nfy-about-title { font-size: 2rem; }
    .nfy-about-stats-grid { grid-template-columns: 1fr; gap: 0; }
    .nfy-about-stat {
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .nfy-about-stat:last-child { border-bottom: 0; }
    .nfy-about-stat:nth-child(-n+2) { padding-bottom: 20px; }
    .nfy-about-stat:nth-child(n+3) { padding-top: 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   § 20. LEGAL PAGES (Privacy, Terms)
   ═══════════════════════════════════════════════════════════════ */
.nfy-legal { position: relative; }

/* ---------- HERO ---------- */
.nfy-legal-hero {
    position: relative;
    padding: 70px 0 50px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    isolation: isolate;
}
.nfy-legal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
}
.nfy-legal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--paper) 0%, transparent 8%, transparent 92%, var(--paper) 100%);
}
.nfy-legal-hero .container { position: relative; z-index: 1; }

.nfy-legal-kicker {
    color: var(--muted);
    margin-bottom: 22px;
}
.nfy-legal-kicker span { color: var(--orange); }

.nfy-legal-title {
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.05;
    margin: 0 0 18px;
    color: var(--ink);
    max-width: 820px;
}
.nfy-legal-title em { color: var(--orange); font-style: normal; }

.nfy-legal-subtitle {
    max-width: 620px;
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.nfy-legal-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.nfy-legal-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-dark);
}

/* ---------- BODY ---------- */
.nfy-legal-body {
    padding: 60px 0 100px;
}

.nfy-legal-section {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 30px;
    padding: 46px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 90px;
}
.nfy-legal-section:last-child { border-bottom: 0; }

.nfy-legal-num {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--orange);
    padding-top: 8px;
    opacity: .85;
}

.nfy-legal-content h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
    margin: 0 0 20px;
    color: var(--ink);
}
.nfy-legal-content h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 26px 0 12px;
    color: var(--ink);
}
.nfy-legal-content p {
    margin: 0 0 14px;
    color: #b8b4ad;
    font-size: 14.5px;
    line-height: 1.75;
}
.nfy-legal-content p:last-child { margin-bottom: 0; }
.nfy-legal-content > ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}
.nfy-legal-content > ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: #b8b4ad;
    font-size: 14.5px;
    line-height: 1.7;
}
.nfy-legal-content > ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
}
.nfy-legal-content b,
.nfy-legal-content strong {
    color: var(--ink);
    font-weight: 700;
}

/* Highlight */
.nfy-legal-highlight {
    margin: 20px 0;
    padding: 16px 20px;
    background: var(--orange-soft);
    border-left: 3px solid var(--orange);
    border-radius: 0 10px 10px 0;
}
.nfy-legal-highlight p {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
}

/* Contact */
.nfy-legal-contact {
    margin-top: 18px;
    padding: 26px 24px;
    background: linear-gradient(180deg, #141414 0%, #0e0e0e 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.nfy-legal-contact > p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.nfy-legal-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nfy-legal-contact-list li {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: baseline;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.nfy-legal-contact-list li:first-child { border-top: 0; padding-top: 0; }
.nfy-legal-contact-list li > span {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.nfy-legal-contact-list li > a {
    color: var(--orange);
    text-decoration: none;
    font-size: 14.5px;
    border-bottom: 1px dashed rgba(255,77,0,.35);
    transition: border-color .2s ease;
    justify-self: start;
}
.nfy-legal-contact-list li > a:hover {
    border-bottom-color: var(--orange);
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
    .nfy-legal-hero { padding: 50px 0 40px; }
    .nfy-legal-hero::before { background-size: 90px 100%; }
    .nfy-legal-body { padding: 40px 0 70px; }
    .nfy-legal-section {
        grid-template-columns: 40px 1fr;
        gap: 20px;
        padding: 34px 0;
    }
    .nfy-legal-content h2 { margin-bottom: 16px; }
    .nfy-legal-contact-list li {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
@media (max-width: 500px) {
    .nfy-legal-title { font-size: 1.85rem; }
    .nfy-legal-subtitle { font-size: 14px; }
    .nfy-legal-section {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 28px 0;
    }
    .nfy-legal-num { padding-top: 0; margin-bottom: 4px; }
    .nfy-legal-content p,
    .nfy-legal-content > ul li { font-size: 14px; }
    .nfy-legal-contact { padding: 20px 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   § 21. 404 PAGE
   ═══════════════════════════════════════════════════════════════ */
.nfy-404 { position: relative; }

/* ---------- HERO ---------- */
.nfy-404-hero {
    position: relative;
    padding: 80px 0 70px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.nfy-404-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
}
.nfy-404-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--paper) 0%, transparent 8%, transparent 92%, var(--paper) 100%);
}
.nfy-404-hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nfy-404-kicker {
    justify-content: center;
    color: var(--muted);
    margin-bottom: 40px;
}
.nfy-404-kicker span { color: var(--orange); }

.nfy-404-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(6rem, 17vw, 14rem);
    font-weight: 800;
    letter-spacing: -.08em;
    line-height: .85;
    color: var(--ink);
    margin: 0 0 30px;
    user-select: none;
}
.nfy-404-code span { color: var(--orange); }

.nfy-404-title {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 750;
    letter-spacing: -.055em;
    line-height: 1.1;
    margin: 0 0 18px;
    color: var(--ink);
}
.nfy-404-title em { color: var(--orange); font-style: normal; }

.nfy-404-subtitle {
    max-width: 540px;
    margin: 0 auto 32px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}
.nfy-404-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- TOP RATED: 5 мини-карточек ---------- */
.nfy-404-top {
    padding: 60px 0 70px;
    border-top: 1px solid var(--line);
}
.nfy-404-head { margin-bottom: 36px !important; }
.nfy-404-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    letter-spacing: -.05em !important;
}

.nfy-404-top-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    align-items: start;
}

/* Карточка — вытянутая по вертикали */
.nfy-404-top-grid .neural-card {
    min-height: 0;
    height: 100%;
}

/* Картинка — 200px вместо 245px, но пропорция 4:5 */
.nfy-404-top-grid .neural-image {
    height: 200px;
    padding: 12px;
}
.nfy-404-top-grid .neural-number { font-size: 7.5px; }
.nfy-404-top-grid .neural-category {
    padding: 3px 6px;
    font-size: 7.5px;
    letter-spacing: .06em;
}
.nfy-404-top-grid .neural-image-bottom h3 {
    font-size: 16px;
    letter-spacing: -.03em;
    line-height: 1.05;
}
.nfy-404-top-grid .neural-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}
.nfy-404-top-grid .neural-icon img {
    width: 22px;
    height: 22px;
}
.nfy-404-top-grid .neural-rating { font-size: 9px; }

/* Контент: отступы и шрифты меньше */
.nfy-404-top-grid .neural-content {
    padding: 14px 14px 14px;
}
.nfy-404-top-grid .neural-tags {
    gap: 4px;
    margin-bottom: 10px;
}
.nfy-404-top-grid .neural-tags span {
    padding: 2px 6px;
    font-size: 8px;
}
.nfy-404-top-grid .neural-content p {
    font-size: 11.5px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nfy-404-top-grid .card-read {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 8.5px;
    letter-spacing: .08em;
}
.nfy-404-top-grid .card-read b { font-size: 13px; }

/* Мягче hover — карточка не так сильно прыгает */
.nfy-404-top-grid .neural-card:hover {
    transform: translateY(-4px);
}

/* Ссылка внизу */
.nfy-404-top-more {
    margin-top: 34px;
    display: flex;
    justify-content: center;
}

/* ---------- FOOT NOTE ---------- */
.nfy-404-foot {
    padding: 0 0 80px;
}
.nfy-404-foot p {
    margin: 0;
    text-align: center;
    color: var(--muted-2);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.nfy-404-foot a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,.2);
    transition: color .2s ease, border-color .2s ease;
}
.nfy-404-foot a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1100px) {
    .nfy-404-top-grid { grid-template-columns: repeat(4, 1fr); }
    .nfy-404-top-grid > *:nth-child(n+5) { display: none; }
}
@media (max-width: 900px) {
    .nfy-404-hero { padding: 60px 0 50px; }
    .nfy-404-hero::before { background-size: 90px 100%; }
    .nfy-404-kicker { margin-bottom: 30px; }
    .nfy-404-code { margin-bottom: 24px; }
    .nfy-404-top { padding: 50px 0 60px; }
    .nfy-404-top-grid { grid-template-columns: repeat(3, 1fr); }
    .nfy-404-top-grid > *:nth-child(n+4) { display: none; }
}
@media (max-width: 600px) {
    .nfy-404-hero { padding: 50px 0 40px; }
    .nfy-404-code { font-size: 5.5rem; letter-spacing: -.06em; }
    .nfy-404-actions .btn { width: 100%; }
    .nfy-404-top-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nfy-404-top-grid > *:nth-child(n+3) { display: none; }
    .nfy-404-top-grid .neural-image { height: 110px; padding: 8px; }
    .nfy-404-top-grid .neural-image-bottom h3 { font-size: 12px; }
    .nfy-404-top-grid .neural-content { padding: 10px; }
    .nfy-404-top-grid .neural-content p { font-size: 10.5px; -webkit-line-clamp: 2; }
}
/* ═══════════════════════════════════════════════════════════════
   § 22. CONTACTS PAGE
   ═══════════════════════════════════════════════════════════════ */
.nfy-contacts { position: relative; }

/* ---------- HERO ---------- */
.nfy-contacts-hero {
    position: relative;
    padding: 70px 0 50px;
    overflow: hidden;
    isolation: isolate;
}
.nfy-contacts-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
}
.nfy-contacts-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--paper) 0%, transparent 8%, transparent 92%, var(--paper) 100%);
}
.nfy-contacts-hero .container { position: relative; z-index: 1; }

.nfy-contacts-kicker {
    color: var(--muted);
    margin-bottom: 22px;
}
.nfy-contacts-kicker span { color: var(--orange); }

.nfy-contacts-title {
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.05;
    margin: 0 0 20px;
    color: var(--ink);
    max-width: 820px;
}
.nfy-contacts-title em { color: var(--orange); font-style: normal; }

.nfy-contacts-subtitle {
    max-width: 620px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.nfy-contacts-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.nfy-contacts-meta i {
    color: var(--orange);
    font-size: 11px;
    margin-right: 6px;
}
.nfy-contacts-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-dark);
}

/* ---------- CHANNELS ---------- */
.nfy-contacts-channels {
    padding: 60px 0 70px;
    border-top: 1px solid var(--line);
}
.nfy-contacts-head { margin-bottom: 36px !important; }
.nfy-contacts-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    letter-spacing: -.05em !important;
}

.nfy-contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 1000px) { .nfy-contacts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .nfy-contacts-grid { grid-template-columns: 1fr; } }

.nfy-contact-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px 24px;
    background: linear-gradient(180deg, #141414 0%, #0e0e0e 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--ink);
    text-decoration: none;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.nfy-contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,77,0,.35);
    box-shadow: 0 16px 32px rgba(0,0,0,.4);
}
.nfy-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--orange-soft);
    color: var(--orange);
    display: grid;
    place-items: center;
    font-size: 18px;
    transition: background .25s ease, color .25s ease;
}
.nfy-contact-card:hover .nfy-contact-icon {
    background: var(--orange);
    color: #fff;
}
.nfy-contact-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.nfy-contact-desc {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}
.nfy-contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--orange);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-top: 4px;
}
.nfy-contact-mail i {
    font-size: 10px;
    transition: transform .3s var(--ease);
}
.nfy-contact-card:hover .nfy-contact-mail i { transform: translateX(4px); }

/* ---------- RULES ---------- */
.nfy-contacts-rules {
    padding: 70px 0 80px;
    background: var(--gray);
    border-top: 1px solid var(--line);
}
.nfy-contacts-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: start;
}
.nfy-contacts-rules-copy h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 750;
    letter-spacing: -.05em;
    line-height: 1.1;
    margin: 18px 0 20px;
    color: var(--ink);
}
.nfy-contacts-rules-copy h2 em { color: var(--orange); font-style: normal; }
.nfy-contacts-rules-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 440px;
}

.nfy-contacts-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.nfy-contacts-rules-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.nfy-contacts-rules-list li:first-child { padding-top: 0; }
.nfy-contacts-rules-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.nfy-rule-num {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--orange);
    padding-top: 2px;
}
.nfy-contacts-rules-list li > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.nfy-contacts-rules-list b {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}
.nfy-contacts-rules-list li > div > span {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* ---------- FOOT NOTE ---------- */
.nfy-contacts-foot {
    padding: 0 0 80px;
}
.nfy-contacts-foot p {
    margin: 0;
    text-align: center;
    color: var(--muted-2);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
    .nfy-contacts-hero { padding: 50px 0 40px; }
    .nfy-contacts-hero::before { background-size: 90px 100%; }
    .nfy-contacts-channels { padding: 50px 0 60px; }
    .nfy-contacts-rules { padding: 50px 0 60px; }
    .nfy-contacts-rules-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .nfy-contacts-rules-list li { padding: 18px 0; }
    .nfy-rule-num { padding-top: 0; }
}
@media (max-width: 600px) {
    .nfy-contacts-hero { padding: 40px 0 30px; }
    .nfy-contacts-title { font-size: 1.9rem; }
    .nfy-contacts-meta { font-size: 10px; gap: 10px; }
    .nfy-contacts-meta-sep { display: none; }
    .nfy-contacts-meta > span { display: block; width: 100%; }
    .nfy-contact-card { padding: 24px 20px 20px; }
    .nfy-contact-title { font-size: 17px; }
    .nfy-contacts-rules-list li { grid-template-columns: 34px 1fr; gap: 14px; }
    .nfy-contacts-rules-list b { font-size: 14px; }
    .nfy-contacts-rules-list li > div > span { font-size: 13px; }
}
/* ═══════════════════════════════════════════════════════════════
   § 23. AUTH PAGES (Login / Register / Profile / Favorites)
   ═══════════════════════════════════════════════════════════════ */
.auth-page { position: relative; }

/* ---------- Общий сплит ---------- */
.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 78px);
    background: var(--paper);
}

/* ---------- ЛЕВАЯ ЧАСТЬ — ФОРМА ---------- */
.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}
.auth-form-side::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 100%);
}

.auth-form-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

.auth-title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.05;
    color: var(--ink);
}
.auth-subtitle {
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 380px;
}

/* ---------- Поля ---------- */
.auth-form { display: flex; flex-direction: column; gap: 18px; }

.auth-field { display: flex; flex-direction: column; gap: 8px; }
.auth-field label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.auth-field .req { color: var(--orange); margin-left: 2px; }
.auth-field input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    background: #f2efe9;
    border: 1px solid #f2efe9;
    border-radius: 10px;
    color: #0b0b0b;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.auth-field input::placeholder { color: #7a756e; }
.auth-field input:hover { border-color: #d8d4cc; }
.auth-field input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,77,0,.18);
}
.auth-field input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #f2efe9 inset;
    -webkit-text-fill-color: #0b0b0b;
}

/* ---------- Чекбокс ---------- */
.auth-checkbox {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 6px;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.auth-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0; height: 0;
}
.auth-checkbox-box {
    width: 20px; height: 20px;
    border-radius: 6px;
    background: var(--surface-2);
    border: 1px solid var(--line-dark);
    position: relative;
    transition: all .2s var(--ease);
    margin-top: 1px;
}
.auth-checkbox-box::after {
    content: "";
    position: absolute;
    left: 6px; top: 2px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform .2s var(--ease);
}
.auth-checkbox input:checked + .auth-checkbox-box {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 0 12px rgba(255,77,0,.35);
}
.auth-checkbox input:checked + .auth-checkbox-box::after {
    transform: rotate(45deg) scale(1);
}
.auth-checkbox input:focus-visible + .auth-checkbox-box {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}
.auth-checkbox-text {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--muted);
}
.auth-checkbox-text a {
    color: var(--ink);
    border-bottom: 1px dashed rgba(255,255,255,.25);
    transition: color .2s ease, border-color .2s ease;
}
.auth-checkbox-text a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* ---------- Сообщения ---------- */
.auth-msg {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid transparent;
}
.auth-msg--error {
    background: rgba(255, 77, 0, .08);
    border-color: rgba(255, 77, 0, .35);
    color: #ffb39a;
}
.auth-msg--success {
    background: rgba(197, 241, 63, .08);
    border-color: rgba(197, 241, 63, .35);
    color: #d8f877;
}
.auth-state[hidden] { display: none; }

.auth-loader-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    color: var(--muted);
    font-size: 13px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .08em;
}

/* ---------- Кнопки ---------- */
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: -.01em;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, color .2s ease;
}
.auth-btn:disabled { opacity: .7; cursor: not-allowed; }
.auth-btn--primary {
    background: #f2efe9;
    color: #0b0b0b;
    border-color: #f2efe9;
}
.auth-btn--primary:hover:not(:disabled) {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-1px);
}
.auth-btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-dark);
}
.auth-btn--ghost:hover {
    background: rgba(255,255,255,.03);
    border-color: var(--muted);
}
.auth-btn--ghost b { color: var(--orange); margin-left: 4px; }

.auth-btn-loader { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Разделитель ---------- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted-2);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin: 6px 0;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* ---------- ПРАВАЯ ЧАСТЬ — ВИДЕО ---------- */
.auth-visual-side {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #060606;
}

/* --- Видео как фон --- */
.auth-visual-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

/* --- Размытие по краям --- */
.auth-visual-blur {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(0);
    background:
        /* верхний и нижний край — размытие + затемнение */
        linear-gradient(to bottom,
            rgba(6,6,6,.6) 0%,
            rgba(6,6,6,.15) 12%,
            transparent 22%,
            transparent 78%,
            rgba(6,6,6,.15) 88%,
            rgba(6,6,6,.7) 100%),
        /* левый и правый край — мягкое растворение */
        linear-gradient(to right,
            rgba(6,6,6,.55) 0%,
            transparent 14%,
            transparent 86%,
            rgba(6,6,6,.55) 100%);
}

/* --- Виньетка (усиленная) --- */
.auth-visual-side::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(to top,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.42) 18%,
            rgba(0,0,0,.12) 38%,
            transparent 55%),
        linear-gradient(to bottom,
            rgba(0,0,0,.68) 0%,
            rgba(0,0,0,.25) 14%,
            transparent 30%),
        radial-gradient(ellipse 105% 95% at 50% 48%,
            transparent 32%,
            rgba(0,0,0,.35) 72%,
            rgba(0,0,0,.6) 100%);
}

/* --- Красивая граница между формой и видео --- */
.auth-visual-side::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    z-index: 5;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(255,255,255,.06) 12%,
        rgba(255,77,0,.35) 35%,
        rgba(255,77,0,.45) 50%,
        rgba(255,77,0,.35) 65%,
        rgba(255,255,255,.06) 88%,
        transparent 100%);
    box-shadow: 0 0 24px rgba(255,77,0,.18);
    pointer-events: none;
}

/* --- Контент поверх видео --- */
.auth-visual-inner {
    position: relative;
    z-index: 4;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 48px 48px;
}

/* --- Бренд как в шапке --- */
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    text-decoration: none;
    color: #fff;
}
.auth-brand-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,.7));
}
.auth-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.auth-brand-copy strong {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--ink);
    text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.auth-brand-copy small {
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8.5px;
    letter-spacing: .2em;
    color: rgba(255,255,255,.6);
    text-shadow: 0 2px 10px rgba(0,0,0,.7);
}

/* --- Подпись снизу --- */
.auth-visual-foot p {
    margin: 0;
    max-width: 440px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: -.005em;
    text-shadow: 0 1px 14px rgba(0,0,0,.85);
}

/* ============================================================
   МОБИЛКА — видео скрываем, остаётся форма во всю ширину
   ============================================================ */
@media (max-width: 900px) {
    .auth-split {
        grid-template-columns: 1fr !important;
        min-height: auto;
    }
    .auth-visual-side { display: none !important; }
    .auth-form-side {
        padding: 40px 20px 60px;
        min-height: calc(100vh - 78px);
    }
}
/* Ссылка «Забыли пароль?» внутри label */
.auth-field label .auth-forgot {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 1px dashed rgba(255,255,255,.2);
    transition: color .2s ease, border-color .2s ease;
}
.auth-field label .auth-forgot:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}


/* ═══════════════════════════════════════════════════════════════
   § 24. PROFILE PAGE
   ═══════════════════════════════════════════════════════════════ */
.profile-page { position: relative; }

/* ---------- HERO / ШАПКА ---------- */
.profile-hero {
    position: relative;
    padding: 60px 0 50px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    isolation: isolate;
}
.profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
}
.profile-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--paper) 0%, transparent 8%, transparent 92%, var(--paper) 100%);
}
.profile-hero .container { position: relative; z-index: 1; }

.profile-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

/* ---------- Идентификация ---------- */
.profile-id {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}
.profile-avatar {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.profile-avatar-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.profile-id-copy { min-width: 0; }

.profile-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}
.profile-kicker span { color: var(--orange); }

.profile-name {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.05;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-meta {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .02em;
}
.profile-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-dark);
}

/* ---------- Счётчики ---------- */
.profile-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
}
.profile-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding: 0 28px;
    border-right: 1px solid var(--line);
    min-width: 100px;
}
.profile-stat:last-child { border-right: 0; padding-right: 0; }
.profile-stat:first-child { padding-left: 0; }
.profile-stat b {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
    color: var(--ink);
}
.profile-stat span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- TABS ---------- */
.profile-body { padding: 40px 0 80px; }

.profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 34px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--muted);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: all .25s var(--ease);
}
.profile-tab i { font-size: 12px; opacity: .8; }
.profile-tab:hover {
    color: var(--ink);
    background: rgba(255,255,255,.03);
}
.profile-tab.is-active {
    color: var(--ink);
    background: var(--surface-2);
    border-color: var(--line);
}
.profile-tab.is-active i { color: var(--orange); opacity: 1; }
.profile-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    background: rgba(255,255,255,.05);
    border-radius: 20px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 800;
    color: var(--muted);
    transition: all .25s ease;
}
.profile-tab.is-active .profile-tab-count {
    background: var(--orange);
    color: #fff;
}

/* ---------- Панели ---------- */
.profile-panel { display: none; }
.profile-panel.is-active { display: block; animation: profileFade .3s ease; }
@keyframes profileFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
/* ---------- TAB: МОИ ГОЛОСА ---------- */
.profile-stat--votes b small {
    font-size: .55em;
    font-weight: 600;
    color: var(--muted);
    margin-left: 2px;
    letter-spacing: -.02em;
}

.profile-votes-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 24px;
    margin-bottom: 30px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--orange);
    border-radius: 14px;
}
.profile-votes-head-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex: 0 0 auto;
}
.profile-votes-head-stat b {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
    color: var(--orange);
}
.profile-votes-head-stat span {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.profile-votes-head-note {
    margin: 0;
    color: #b8b4ad;
    font-size: 13.5px;
    line-height: 1.55;
    text-align: right;
    max-width: 380px;
}

@media (max-width: 700px) {
    .profile-votes-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 18px;
    }
    .profile-votes-head-note {
        text-align: left;
        max-width: 100%;
    }
    .profile-votes-head-stat b { font-size: 26px; }
}
/* ---------- Пустое состояние ---------- */
.profile-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 20px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.012);
}
.profile-empty > i {
    font-size: 36px;
    color: var(--muted-2);
    margin-bottom: 20px;
}
.profile-empty h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ink);
}
.profile-empty p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 360px;
}
.profile-empty .btn { min-height: 44px; padding: 0 20px; font-size: 13px; }

/* ---------- Настройки ---------- */
.profile-settings {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}
.profile-setting-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 24px 4px;
    border-bottom: 1px solid var(--line);
}
.profile-setting-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.profile-setting-label b {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}
.profile-setting-label span {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
}
.profile-setting-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    color: var(--ink);
    text-align: right;
    word-break: break-word;
    max-width: 340px;
}
.profile-setting-value .text-link {
    font-family: inherit;
    color: var(--ink);
    font-size: 13px;
}
.profile-setting-row--danger .profile-setting-label b { color: #ff6b6b; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
    .profile-hero { padding: 40px 0 34px; }
    .profile-hero::before { background-size: 90px 100%; }
    .profile-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: flex-start;
    }
    .profile-stats {
        width: 100%;
        justify-content: flex-start;
    }
    .profile-stat {
        flex: 1 1 0;
        align-items: flex-start;
        padding: 0 20px;
        min-width: 0;
    }
    .profile-stat:first-child { padding-left: 0; }
    .profile-body { padding: 30px 0 60px; }
    .profile-tabs { gap: 4px; }
    .profile-tab { padding: 8px 14px; font-size: 12.5px; }
    .profile-tab-count { min-width: 20px; height: 18px; font-size: 9px; }
    .profile-setting-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .profile-setting-value { text-align: left; max-width: 100%; }
}
@media (max-width: 500px) {
    .profile-id { gap: 16px; }
    .profile-avatar { width: 72px; height: 72px; flex: 0 0 72px; }
    .profile-name { font-size: 1.5rem; }
    .profile-meta { font-size: 11.5px; }
    .profile-stat b { font-size: 1.4rem; }
    .profile-stat span { font-size: 9px; letter-spacing: .14em; }
    .profile-empty { padding: 60px 20px; }
}
/* ---------- Инлайн-форма смены пароля ---------- */
.profile-password-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px 4px 30px;
    border-bottom: 1px solid var(--line);
    animation: profileFade .25s ease;
}
.profile-password-form[hidden] { display: none; }
.profile-password-form .auth-field label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .02em;
}
.profile-password-form .auth-field input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    background: #f2efe9;
    border: 1px solid #f2efe9;
    border-radius: 10px;
    color: #0b0b0b;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.profile-password-form .auth-field input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,77,0,.18);
}
.profile-password-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 4px;
}
.profile-password-actions .btn { min-height: 46px; }

/* ═══════════════════════════════════════════════════════════════
   § 25. LANGUAGE MODAL (корневой домен — выбор языка)
   ═══════════════════════════════════════════════════════════════ */
body.splash-locked { overflow: hidden; }

.splash-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .35s ease;
}
.splash-modal.is-open { opacity: 1; }
.splash-modal[hidden] { display: none; }

.splash-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6,6,6,.55);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.splash-modal-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 44px 40px 40px;
    background: linear-gradient(180deg, #141414 0%, #0e0e0e 100%);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,.75);
    transform: translateY(16px) scale(.98);
    opacity: 0;
    transition: transform .45s var(--ease), opacity .35s ease;
}
.splash-modal.is-open .splash-modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.splash-modal-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,77,0,.7), transparent);
}

.splash-modal-kicker {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}
.splash-modal-title {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.1;
    color: var(--ink);
}
.splash-modal-sub {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.splash-modal-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}
.splash-modal-item {
    display: grid;
    grid-template-columns: 40px 1fr auto 24px;
    align-items: center;
    gap: 18px;
    padding: 18px 6px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    transition: padding .25s var(--ease), background .25s var(--ease);
}
.splash-modal-item:hover {
    padding-left: 14px;
    padding-right: 14px;
    background: rgba(255,77,0,.05);
}
.splash-modal-num {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--muted-2);
    transition: color .25s ease;
}
.splash-modal-item:hover .splash-modal-num { color: var(--orange); }

.splash-modal-name {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ink);
    transition: color .25s ease;
}
.splash-modal-item:hover .splash-modal-name { color: var(--orange); }

.splash-modal-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-2);
    transition: color .25s ease;
}
.splash-modal-item:hover .splash-modal-code { color: rgba(255,255,255,.7); }

.splash-modal-arrow {
    font-size: 16px;
    color: var(--muted-2);
    text-align: right;
    transition: transform .25s var(--ease), color .25s ease;
}
.splash-modal-item:hover .splash-modal-arrow {
    color: var(--orange);
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .splash-modal { padding: 16px; }
    .splash-modal-panel { padding: 32px 22px 26px; border-radius: 16px; }
    .splash-modal-title { font-size: 1.4rem; }
    .splash-modal-sub { font-size: 12.5px; margin-bottom: 24px; }
    .splash-modal-item { padding: 15px 4px; gap: 14px; grid-template-columns: 32px 1fr auto 20px; }
    .splash-modal-name { font-size: 17px; }
    .splash-modal-code { font-size: 9px; }
    .splash-modal-arrow { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .splash-modal,
    .splash-modal-panel { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   § 26. PROFILE — AVATARS & LANGS (дополнение к § 24)
   ═══════════════════════════════════════════════════════════════ */

/* ---------- Строки настроек в столбик ---------- */
.profile-setting-row--stack {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}
.profile-setting-row--stack .profile-setting-value,
.profile-setting-value--block {
    max-width: 100% !important;
    width: 100%;
}
.profile-setting-row--stack {
    padding-top: 20px;
    padding-bottom: 20px;
}
.profile-setting-value--block {
    max-width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
}

/* ---------- Языки в профиле ---------- */
.profile-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.profile-lang {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    transition: all .2s var(--ease);
}
.profile-lang:hover {
    background: rgba(255,77,0,.06);
    border-color: rgba(255,77,0,.35);
    transform: translateY(-1px);
}
.profile-lang.is-active {
    background: var(--orange-soft);
    border-color: var(--orange);
}
.profile-lang-short {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--muted);
    transition: color .2s ease;
}
.profile-lang.is-active .profile-lang-short,
.profile-lang:hover .profile-lang-short { color: var(--orange); }

.profile-lang-native {
    font-weight: 600;
    letter-spacing: -.01em;
}
.profile-lang i {
    font-size: 10px;
    color: var(--orange);
}

.profile-avatars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 520px !important;
    margin-top: 6px;

}
.profile-avatar-choice {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 14px;
    background: #141414;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.profile-avatar-choice svg,
.profile-avatar-choice img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;

}
.profile-avatar-choice:hover {
    border-color: rgba(255,255,255,.16);
    transform: translateY(-2px);
}
.profile-avatar-choice.is-active {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,77,0,.15);
}
.profile-avatar-choice.is-active::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px rgba(255,77,0,.65);
}

.profile-avatar-choice--reset {
    background: #141414;
    border: 1px dashed var(--line);
}
.profile-avatar-choice--reset:hover {
    border-color: var(--muted);
    border-style: solid;
}
.profile-avatar-choice-reset {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--muted);
    font-size: 18px;
    transition: color .2s ease;
}
.profile-avatar-choice--reset:hover .profile-avatar-choice-reset,
.profile-avatar-choice--reset.is-active .profile-avatar-choice-reset {
    color: var(--orange);
}

/* Аватар в шапке профиля — картинка SVG может иметь border-radius */
.profile-avatar-img {
    background: #161616;
}

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
    .profile-avatars {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 600px) {
    .profile-avatars {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    .profile-langs {
        width: 100%;
    }
    .profile-lang {
        flex: 1 1 calc(50% - 4px);
        justify-content: space-between;
        padding: 10px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-lang,
    .profile-avatar-choice { transition: none !important; }
}

/* Форма смены имени — как пароль, только одно поле */
.profile-name-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px 4px 30px;
    border-bottom: 1px solid var(--line);
    animation: profileFade .25s ease;
}
.profile-name-form[hidden] { display: none; }
.profile-name-form .auth-field label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .02em;
}
.profile-name-form .auth-field input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    background: #f2efe9;
    border: 1px solid #f2efe9;
    border-radius: 10px;
    color: #0b0b0b;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.profile-name-form .auth-field input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,77,0,.18);
}


/* ═══════════════════════════════════════════════════════════════
   § 27. RATING PAGE — BOARD
   ═══════════════════════════════════════════════════════════════ */

.nfy-rating { position: relative; }

/* ─────────── HERO ─────────── */
.nfy-rating-hero {
    position: relative;
    padding: 70px 0 0;
    overflow: hidden;
}
.nfy-rating-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 130px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
}
.nfy-rating-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--paper) 0%, transparent 8%, transparent 92%, var(--paper) 100%);
}
.nfy-rating-hero .container { position: relative; z-index: 1; }

.nfy-rating-hero-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
    padding-bottom: 46px;
    border-bottom: 1px solid var(--line);
}
.nfy-rating-title {
    margin: 22px 0 22px;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 750;
    letter-spacing: -.055em;
    line-height: .96;
    color: var(--ink);
}
.nfy-rating-title em { color: var(--orange); font-style: normal; }
.nfy-rating-sub {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

/* Live-панель */
.nfy-rating-live {
    padding: 24px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
}
.nfy-rating-live::before {
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(255,77,0,.18), transparent 70%);
    pointer-events: none;
}
.nfy-rating-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255,77,0,.12);
    border: 1px solid rgba(255,77,0,.3);
    color: var(--orange);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    position: relative;
    z-index: 1;
}
.nfy-rating-live-dot {
    width: 6px; height: 6px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255,77,0,.7);
    animation: nfyLivePulse 2s ease-out infinite;
}
@keyframes nfyLivePulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,77,0,.55); }
    100% { box-shadow: 0 0 0 10px rgba(255,77,0,0); }
}

/* Счётчик голосов категории */
.nfy-rating-live-counter {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
    padding: 4px 0 6px;
    border-bottom: 1px solid var(--line);
}
.nfy-rating-live-counter b {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
    color: var(--ink);
}
.nfy-rating-live-counter span {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.nfy-rating-live-lead {
    margin: 0;
    color: #b8b4ad;
    font-size: 13.5px;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}
.nfy-rating-live-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s var(--ease);
    position: relative;
    z-index: 1;
}
.nfy-rating-live-cta span { color: var(--orange); font-size: 15px; transition: transform .25s var(--ease); }
.nfy-rating-live-cta:hover { border-color: var(--orange); background: rgba(255,77,0,.05); }
.nfy-rating-live-cta:hover span { transform: translateX(3px); }

/* ─────────── TABS ─────────── */
.nfy-rating-tabs-wrap {
    position: sticky;
    top: 78px;
    z-index: 20;
    background: rgba(11,11,11,.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--line);
}
.nfy-rating-tabs {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}
.nfy-rating-tabs::-webkit-scrollbar { display: none; }
.nfy-rating-tab {
    position: relative;
    flex: 0 0 auto;
    padding: 20px 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: color .25s var(--ease);
}
.nfy-rating-tab::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -1px;
    height: 2px;
    background: transparent;
    transition: background .25s var(--ease);
}
.nfy-rating-tab:hover { color: var(--ink); }
.nfy-rating-tab.is-active { color: var(--ink); }
.nfy-rating-tab.is-active::after { background: var(--orange); }

/* ─────────── BODY ─────────── */
.nfy-rating-body { padding: 40px 0 100px; }

/* ─────────── TRENDS ─────────── */
.nfy-rating-trends {
    margin-bottom: 44px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .25s var(--ease);
}
.nfy-rating-trends[open] { border-color: var(--line-dark); }
.nfy-rating-trends:hover { border-color: var(--line-dark); }
.nfy-rating-trends-summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}
.nfy-rating-trends-summary::-webkit-details-marker { display: none; }
.nfy-rating-trends-kicker { margin: 0; }
.nfy-rating-trends-title {
    font-size: 15px;
    font-weight: 650;
    color: var(--ink);
    letter-spacing: -.01em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nfy-rating-trends-chev {
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    transition: all .3s var(--ease);
}
.nfy-rating-trends[open] .nfy-rating-trends-chev {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: rotate(180deg);
}
.nfy-rating-trends-body {
    padding: 20px 22px 22px;
    color: #b8b4ad;
    font-size: 14.5px;
    line-height: 1.75;
    border-top: 1px solid var(--line);
}
.nfy-rating-trends-body h3 {
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 1.6em 0 .6em;
}
.nfy-rating-trends-body h3:first-child { margin-top: 0; }
.nfy-rating-trends-body p { margin: 0 0 1em; }
.nfy-rating-trends-body p:last-child { margin-bottom: 0; }
.nfy-rating-trends-body strong,
.nfy-rating-trends-body b { color: var(--ink); }
.nfy-rating-trends-body ul,
.nfy-rating-trends-body ol { margin: 0 0 1em; padding-left: 20px; }
.nfy-rating-trends-body li { margin-bottom: .35em; }
.nfy-rating-trends-body a {
    color: var(--orange);
    border-bottom: 1px dashed rgba(255,77,0,.35);
}

/* ═══════════════════════════════════════════════════════════════
   RATING TOP — ПОДИУМ
   ═══════════════════════════════════════════════════════════════ */

.nfy-rating-top {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.14fr 1fr;
    gap: 18px;
    align-items: end;
    margin-bottom: 70px;
    padding: 20px 0 10px;
    isolation: isolate;
}

/* Свечение позади всего подиума */
.nfy-rating-top::before {
    content: "";
    position: absolute;
    left: 4%; right: 4%;
    top: -50px; bottom: -40px;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 65% at 50% 40%, rgba(255,77,0,.22), transparent 65%),
        radial-gradient(ellipse 30% 60% at 18% 60%, rgba(255,77,0,.07), transparent 70%),
        radial-gradient(ellipse 30% 60% at 82% 60%, rgba(255,77,0,.07), transparent 70%);
    filter: blur(40px);
}

/* Вертикальная разлиновка (как в hero) */
.nfy-rating-top::after {
    content: "";
    position: absolute;
    inset: -10px 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 130px 100%;
    background-position: 65px 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

/* ─────── КАРТОЧКА ─────── */
.nfy-rating-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 22px 20px 18px;
    background: rgba(22,22,22,.82);
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--ink);
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    transition: transform .4s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
    animation: nfyCardIn .55s var(--ease) backwards;
    animation-delay: calc(var(--i, 0) * .07s);
}
.nfy-rating-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,77,0,.4);
    background: rgba(28,28,28,.88);
}
@keyframes nfyCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Внутренняя разлиновка карточки */
.nfy-rating-card-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
    background-image: linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 36px 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
}

/* Огромный номер */
.nfy-rating-card-rank {
    position: absolute;
    right: 12px;
    bottom: -26px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 150px;
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: 1;
    color: rgba(255,255,255,.045);
    pointer-events: none;
    z-index: 0;
    transition: color .4s var(--ease), text-shadow .4s var(--ease);
}
.nfy-rating-card:hover .nfy-rating-card-rank {
    color: rgba(255,77,0,.14);
    text-shadow: 0 0 60px rgba(255,77,0,.25);
}

.nfy-rating-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.nfy-rating-card-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: #fff;
    border-radius: 13px;
    padding: 7px;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.nfy-rating-card-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
}
.nfy-rating-card-icon i { color: var(--orange); font-size: 18px; }

.nfy-rating-card-place {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--orange);
    padding: 4px 10px;
    background: rgba(255,77,0,.12);
    border: 1px solid rgba(255,77,0,.28);
    border-radius: 20px;
}
.nfy-rating-card-place i {
    font-size: 10px;
    color: var(--orange);
}

.nfy-rating-card-name {
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 6px;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nfy-rating-card-cat {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nfy-rating-card-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 1;
}
.nfy-rating-card-foot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.nfy-rating-card-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
}
.nfy-rating-card-score i { color: var(--orange); font-size: 11px; }

/* Score-bar */
.nfy-rating-card-bar {
    display: block;
    height: 2px;
    background: var(--line);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.nfy-rating-card-bar::after {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: var(--score, 0%);
    background: var(--orange);
    border-radius: 2px;
    transition: width .6s var(--ease);
}

/* ─────── ЦЕНТРАЛЬНАЯ (1-е место) ─────── */
.nfy-rating-card-1 {
    min-height: 340px;
    padding: 30px 26px 22px;
    background: linear-gradient(180deg, rgba(32,32,32,.92) 0%, rgba(18,18,18,.92) 100%);
    border-color: rgba(255,77,0,.4);
    box-shadow:
        0 30px 70px -30px rgba(255,77,0,.5),
        0 0 0 1px rgba(255,77,0,.06) inset;
    z-index: 2;
}
.nfy-rating-card-1:hover {
    border-color: rgba(255,77,0,.65);
    background: linear-gradient(180deg, rgba(38,38,38,.94) 0%, rgba(22,22,22,.94) 100%);
    box-shadow:
        0 40px 100px -28px rgba(255,77,0,.6),
        0 0 0 1px rgba(255,77,0,.08) inset;
}
.nfy-rating-card-1 .nfy-rating-card-lines {
    background-size: 40px 100%;
    background-image: linear-gradient(to right, rgba(255,77,0,.05) 1px, transparent 1px);
}
.nfy-rating-card-1 .nfy-rating-card-rank {
    font-size: 220px;
    right: 14px;
    bottom: -36px;
    color: rgba(255,77,0,.11);
}
.nfy-rating-card-1:hover .nfy-rating-card-rank {
    color: rgba(255,77,0,.22);
    text-shadow: 0 0 80px rgba(255,77,0,.4);
}
.nfy-rating-card-1 .nfy-rating-card-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 15px;
    padding: 9px;
}
.nfy-rating-card-1 .nfy-rating-card-icon i { font-size: 22px; }
.nfy-rating-card-1 .nfy-rating-card-place {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    box-shadow: 0 6px 18px -6px rgba(255,77,0,.7);
}
.nfy-rating-card-1 .nfy-rating-card-place i { color: #fff; }
.nfy-rating-card-1 .nfy-rating-card-name {
    font-size: 26px;
    letter-spacing: -.045em;
}
.nfy-rating-card-1 .nfy-rating-card-cat { color: var(--muted); }
.nfy-rating-card-1 .nfy-rating-card-score { font-size: 22px; }
.nfy-rating-card-1 .nfy-rating-card-score i { font-size: 13px; }
.nfy-rating-card-1 .nfy-rating-card-bar { height: 3px; }

/* ─────── VOTE (общий компонент) ─────── */
.nfy-rating-vote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .02em;
    cursor: not-allowed;
    user-select: none;
    transition: all .25s var(--ease);
}
.nfy-rating-vote i {
    color: var(--muted-2);
    font-size: 11px;
    transition: color .25s var(--ease);
}
.nfy-rating-vote b {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--muted);
    transition: color .25s var(--ease);
}
.nfy-rating-card:hover .nfy-rating-vote,
.nfy-rating-row:hover .nfy-rating-vote {
    border-color: rgba(255,77,0,.3);
}
.nfy-rating-card:hover .nfy-rating-vote i,
.nfy-rating-card:hover .nfy-rating-vote b,
.nfy-rating-row:hover .nfy-rating-vote i,
.nfy-rating-row:hover .nfy-rating-vote b { color: var(--orange); }

.nfy-rating-card-1 .nfy-rating-vote {
    padding: 7px 12px;
    font-size: 12px;
    background: rgba(255,77,0,.1);
    border-color: rgba(255,77,0,.3);
}
.nfy-rating-card-1 .nfy-rating-vote i,
.nfy-rating-card-1 .nfy-rating-vote b { color: var(--orange); }

/* ─────────── ROWS 4-20 ─────────── */
.nfy-rating-rows-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 4px 14px;
    border-bottom: 1px solid var(--line);
}
.nfy-rating-rows-head-kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--ink);
}
.nfy-rating-rows-head-kicker::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--orange);
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
}
.nfy-rating-rows-head-meta {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.nfy-rating-rows {
    display: flex;
    flex-direction: column;
}

.nfy-rating-row {
    display: grid;
    grid-template-columns: 56px 44px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: background .25s var(--ease), padding .25s var(--ease);
}
.nfy-rating-row:hover {
    background: rgba(255,77,0,.035);
    padding-left: 22px;
    padding-right: 22px;
}

.nfy-rating-row-rank {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--muted-2);
    transition: color .25s var(--ease);
}
.nfy-rating-row:hover .nfy-rating-row-rank { color: var(--orange); }

.nfy-rating-row-icon {
    width: 44px; height: 44px;
    flex: 0 0 44px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 7px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.nfy-rating-row-icon img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain; display: block;
}
.nfy-rating-row-icon i { color: var(--orange); font-size: 16px; }

.nfy-rating-row-name {
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.25;
    color: var(--ink);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .25s var(--ease);
}
.nfy-rating-row:hover .nfy-rating-row-name { color: var(--orange); }

.nfy-rating-row-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nfy-rating-row-right .nfy-rating-vote {
    padding: 5px 8px;
    font-size: 10px;
}
.nfy-rating-row-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    min-width: 52px;
    justify-content: flex-end;
}
.nfy-rating-row-score i { color: var(--orange); font-size: 10px; }

/* ─────────── EMPTY ─────────── */
.nfy-rating-empty {
    padding: 80px 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* ─────────── ADAPTIVE ─────────── */
@media (max-width: 1024px) {
    .nfy-rating-hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 36px;
    }
    .nfy-rating-live { max-width: 480px; }

    .nfy-rating-top {
        grid-template-columns: 1fr 1.08fr 1fr;
        gap: 14px;
    }
    .nfy-rating-card { min-height: 230px; }
    .nfy-rating-card-1 { min-height: 300px; padding: 26px 22px 20px; }
    .nfy-rating-card-rank { font-size: 120px; bottom: -20px; }
    .nfy-rating-card-1 .nfy-rating-card-rank { font-size: 180px; bottom: -28px; }
    .nfy-rating-card-name { font-size: 18px; }
    .nfy-rating-card-1 .nfy-rating-card-name { font-size: 22px; }
}

@media (max-width: 900px) {
    .nfy-rating-hero { padding: 50px 0 0; }
    .nfy-rating-title { font-size: clamp(2.2rem, 8vw, 3.4rem); }
    .nfy-rating-sub { font-size: 14.5px; }

    .nfy-rating-tabs-wrap { top: 60px; }
    .nfy-rating-tabs { gap: 24px; }
    .nfy-rating-tab { padding: 16px 0; font-size: 13px; }

    .nfy-rating-body { padding: 32px 0 70px; }
    .nfy-rating-trends { margin-bottom: 32px; }
    .nfy-rating-trends-summary { padding: 15px 18px; gap: 14px; }

    .nfy-rating-top {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
        padding-top: 0;
    }
    .nfy-rating-top::after { background-size: 90px 100%; background-position: 45px 0; }

    .nfy-rating-card { min-height: auto; padding: 20px 18px 16px; }
    .nfy-rating-card-1 { order: -1; min-height: auto; padding: 24px 20px 18px; }
    .nfy-rating-card-rank { font-size: 100px; right: 8px; bottom: -18px; }
    .nfy-rating-card-1 .nfy-rating-card-rank { font-size: 140px; bottom: -22px; right: 12px; }
    .nfy-rating-card-head { margin-bottom: 14px; }
    .nfy-rating-card-icon {
        width: 42px; height: 42px; flex-basis: 42px;
        border-radius: 11px; padding: 6px;
    }
    .nfy-rating-card-1 .nfy-rating-card-icon { width: 50px; height: 50px; flex-basis: 50px; }
    .nfy-rating-card-name { font-size: 17px; }
    .nfy-rating-card-1 .nfy-rating-card-name { font-size: 20px; }
    .nfy-rating-card-foot { margin-top: 14px; padding-top: 12px; gap: 10px; }
    .nfy-rating-card-score { font-size: 17px; }
    .nfy-rating-card-1 .nfy-rating-card-score { font-size: 19px; }

    .nfy-rating-row {
        grid-template-columns: 42px 40px 1fr auto;
        gap: 14px;
        padding: 14px 8px;
    }
    .nfy-rating-row:hover { padding-left: 12px; padding-right: 12px; }
    .nfy-rating-row-rank { font-size: 13px; }
    .nfy-rating-row-icon {
        width: 40px; height: 40px; flex-basis: 40px;
        padding: 6px; border-radius: 10px;
    }
    .nfy-rating-row-icon i { font-size: 14px; }
    .nfy-rating-row-name { font-size: 15px; }
    .nfy-rating-row-right { gap: 10px; }
    .nfy-rating-row-score { font-size: 14px; min-width: 46px; }
    .nfy-rating-rows-head-meta { display: none; }
}

@media (max-width: 600px) {
    .nfy-rating-hero-inner { gap: 28px; padding-bottom: 28px; }
    .nfy-rating-live { padding: 20px; gap: 14px; }

    .nfy-rating-tabs { gap: 18px; }
    .nfy-rating-tab { font-size: 12.5px; }

    .nfy-rating-trends-title { font-size: 14px; }
    .nfy-rating-trends-summary { grid-template-columns: auto 1fr 26px; gap: 12px; }

    .nfy-rating-card { padding: 18px 16px 14px; border-radius: 14px; }
    .nfy-rating-card-1 { padding: 22px 18px 16px; }
    .nfy-rating-card-rank { font-size: 84px; bottom: -14px; right: 4px; }
    .nfy-rating-card-1 .nfy-rating-card-rank { font-size: 110px; bottom: -16px; }
    .nfy-rating-card-name { font-size: 16px; }
    .nfy-rating-card-1 .nfy-rating-card-name { font-size: 18px; }
    .nfy-rating-card-score { font-size: 16px; }
    .nfy-rating-card-1 .nfy-rating-card-score { font-size: 17px; }

    .nfy-rating-row {
        grid-template-columns: 38px 36px 1fr auto;
        gap: 12px;
        padding: 13px 4px;
    }
    .nfy-rating-row:hover { padding-left: 4px; padding-right: 4px; }
    .nfy-rating-row-rank { font-size: 12px; }
    .nfy-rating-row-icon {
        width: 36px; height: 36px; flex-basis: 36px;
        padding: 5px; border-radius: 9px;
    }
    .nfy-rating-row-icon i { font-size: 13px; }
    .nfy-rating-row-name { font-size: 14px; }
    .nfy-rating-row-right { gap: 8px; }
    .nfy-rating-row-right .nfy-rating-vote { padding: 4px 6px; font-size: 9px; }
    .nfy-rating-row-score { font-size: 13px; min-width: 40px; gap: 5px; }
    .nfy-rating-row-score i { font-size: 9px; }
}
/* ─────── VOTE BUTTON — состояния ─────── */
button.nfy-rating-vote {
    cursor: pointer;
    font-family: inherit;
}
button.nfy-rating-vote:hover {
    border-color: var(--orange);
    background: rgba(255,77,0,.08);
}
button.nfy-rating-vote:hover i,
button.nfy-rating-vote:hover b { color: var(--orange); }
button.nfy-rating-vote:disabled {
    cursor: wait;
    opacity: .7;
}

.nfy-rating-vote.is-voted {
    background: rgba(76,175,80,.1);
    border-color: rgba(76,175,80,.35);
    color: #4caf50;
    cursor: default;
}
.nfy-rating-vote.is-voted i,
.nfy-rating-vote.is-voted b { color: #4caf50; }

.nfy-rating-vote.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.nfy-rating-vote-label {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .02em;
    margin-left: 2px;
}
@media (max-width: 900px) {
    .nfy-rating-vote-label { display: none; }
}

/* В карточке #1 — крупнее */
.nfy-rating-card-1 button.nfy-rating-vote,
.nfy-rating-card-1 .nfy-rating-vote.is-voted {
    padding: 7px 12px;
    font-size: 12px;
}
/* ─────────── VOTE MODAL ─────────── */
body.nfy-vote-locked { overflow: hidden; }

.nfy-vote-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 20px;
}
.nfy-vote-modal[hidden] { display: none; }

.nfy-vote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s var(--ease);
}
.nfy-vote-modal.is-open .nfy-vote-modal-backdrop { opacity: 1; }

.nfy-vote-modal-panel {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 32px 30px 26px;
    background: linear-gradient(180deg, #1b1b1b 0%, #131313 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow:
        0 40px 100px -30px rgba(0,0,0,.8),
        0 0 0 1px rgba(255,77,0,.08) inset;
    color: var(--ink);
    opacity: 0;
    transform: translateY(14px) scale(.98);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nfy-vote-modal.is-open .nfy-vote-modal-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nfy-vote-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    transition: all .25s var(--ease);
}
.nfy-vote-modal-close:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255,77,0,.06);
}

.nfy-vote-modal-kicker {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--orange);
    margin-bottom: 14px;
}

.nfy-vote-modal-title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1.2;
    color: var(--ink);
}
.nfy-vote-modal-title em {
    color: var(--orange);
    font-style: normal;
    display: inline;
}

.nfy-vote-modal-text {
    margin: 0 0 22px;
    color: #b8b4ad;
    font-size: 14px;
    line-height: 1.6;
}

.nfy-vote-modal-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-bottom: 24px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 10px;
}
.nfy-vote-modal-stat span {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.nfy-vote-modal-stat b {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--orange);
}

.nfy-vote-modal-actions {
    display: flex;
    gap: 10px;
}
.nfy-vote-modal-actions .btn {
    flex: 1;
    justify-content: center;
    min-height: 48px;
}

@media (max-width: 480px) {
    .nfy-vote-modal-panel { padding: 26px 20px 20px; border-radius: 16px; }
    .nfy-vote-modal-title { font-size: 19px; }
    .nfy-vote-modal-actions { flex-direction: column-reverse; }
}


/* ═══════════════════════════════════════════════════════════════
   § 28. COMPARE PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ---------- HERO ---------- */
.nfy-cmp-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--line);
}
.nfy-cmp-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: end;
}
.nfy-cmp-hero-aside { display: flex; justify-content: flex-end; }
.nfy-cmp-hero .nfy-cats-hero-title { margin-top: 22px; }

@media (max-width: 900px) {
    .nfy-cmp-hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .nfy-cmp-hero-aside { justify-content: flex-start; }
}

/* ---------- SELECTION ---------- */
.nfy-cmp-select { padding: 60px 0 40px; }
.nfy-cmp-select-head { margin-bottom: 32px; }

.nfy-cmp-filters {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.nfy-cmp-search {
    position: relative;
    display: flex;
    align-items: center;
}
.nfy-cmp-search i {
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: 13px;
}
.nfy-cmp-search input {
    width: 100%;
    padding: 12px 0 12px 28px;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    outline: none;
}
.nfy-cmp-search input::placeholder { color: var(--muted-2); }
.nfy-cmp-search input:focus { border-bottom-color: var(--orange); }

/* ─── Custom select ─── */
.nfy-cmp-select-wrap {
    position: relative;
    display: inline-block;
}
.nfy-cmp-select-wrap::after {
    content: "▾";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange);
    pointer-events: none;
    font-size: 10px;
    line-height: 1;
    transition: transform .2s var(--ease);
}
.nfy-cmp-select-wrap:hover::after { color: var(--ink); }

.nfy-cmp-select-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 12px 42px 12px 16px;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    min-width: 200px;
    height: 44px;
    transition: border-color .2s var(--ease), background .2s var(--ease);
    letter-spacing: .01em;
    border-radius: 0;
}
.nfy-cmp-select-input:hover {
    border-color: var(--muted);
    background: var(--surface-2);
}
.nfy-cmp-select-input:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--surface-2);
}
.nfy-cmp-select-input option {
    background: var(--paper);
    color: var(--ink);
    padding: 10px;
}

/* ---------- CARDS ---------- */
.nfy-cmp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}
.nfy-cmp-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
    position: relative;
    font-family: inherit;
    font-size: inherit;
}
.nfy-cmp-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}
.nfy-cmp-card.is-selected {
    border-color: var(--orange);
    background: rgba(255,77,0,.04);
}

.nfy-cmp-card-icon {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
}
.nfy-cmp-card-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6px;
}
.nfy-cmp-card-letter {
    color: var(--orange);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.04em;
}
.nfy-cmp-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.nfy-cmp-card-name {
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nfy-cmp-card-dev {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nfy-cmp-card-meta {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    align-items: center;
}
.nfy-cmp-card-flag {
    display: inline-block;
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.nfy-cmp-flag-inline {
    display: inline-block;
    width: 16px;
    height: 11px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.nfy-cmp-card-score {
    padding: 2px 8px;
    background: rgba(255,77,0,.12);
    color: var(--orange);
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .02em;
}
.nfy-cmp-card-check {
    flex: 0 0 22px;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 10px;
    color: transparent;
    transition: all .2s var(--ease);
}
.nfy-cmp-card.is-selected .nfy-cmp-card-check {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* ---------- TOOLBAR ---------- */
.nfy-cmp-toolbar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.nfy-cmp-toolbar.is-shake { animation: cmpShake .4s var(--ease); }
@keyframes cmpShake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
.nfy-cmp-counter {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .04em;
}
.nfy-cmp-counter b {
    color: var(--orange);
    font-size: 18px;
    font-weight: 800;
}
#cmp-compare-btn { min-height: 46px; }
#cmp-compare-btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }

/* ---------- EMPTY STATE ---------- */
.nfy-cmp-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
}
.nfy-cmp-empty i {
    font-size: 32px;
    color: var(--orange);
    opacity: .5;
    margin-bottom: 14px;
    display: block;
}

/* ---------- RESULT ---------- */
.nfy-cmp-result {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    background: var(--gray);
}
.nfy-cmp-result-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}
.nfy-cmp-result-head h2 {
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -.045em;
    line-height: 1.05;
    margin: 14px 0 0;
}
.btn-compact {
    min-height: 42px !important;
    padding: 0 18px !important;
    font-size: 12px !important;
    gap: 10px !important;
}

/* ---------- SUMMARY ---------- */
.nfy-cmp-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}
.nfy-cmp-sum-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 18px 20px;
}
.nfy-cmp-sum-label {
    display: block;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}
.nfy-cmp-sum-body { display: flex; align-items: center; gap: 14px; }
.nfy-cmp-sum-icon {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    border-radius: 8px;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-left: 3px solid var(--c, var(--orange));
}
.nfy-cmp-sum-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6px;
}
.nfy-cmp-sum-icon span {
    font-size: 16px;
    font-weight: 800;
    color: var(--orange);
}
.nfy-cmp-sum-name {
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nfy-cmp-sum-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: var(--orange);
    font-weight: 700;
    margin-top: 3px;
}

/* ---------- TABLE ---------- */
.nfy-cmp-table-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    margin-bottom: 60px;
}
.nfy-cmp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    min-width: 640px;
}
.nfy-cmp-table thead th {
    background: var(--paper);
    padding: 16px 14px;
    text-align: left;
    font-weight: 650;
    position: sticky;
    top: var(--cmp-site-h, 0px);
    z-index: 3;
    box-shadow: inset 0 -1px 0 var(--line);
}
.nfy-cmp-th-attr {
    position: sticky;
    left: 0;
    background: var(--paper);
    z-index: 2;
    min-width: 180px;
    max-width: 220px;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .02em;
    text-transform: uppercase;
    font-weight: 650;
    padding: 12px 14px;
    box-shadow: inset 0 -1px 0 var(--line);
}
.nfy-cmp-table thead .nfy-cmp-th-attr {
    z-index: 4;
}
.nfy-cmp-th-model {
    min-width: 140px;
    border-left: 3px solid var(--c, var(--orange));
}
.nfy-cmp-th-icon {
    display: inline-block;
    width: 22px; height: 22px;
    border-radius: 4px;
    background: var(--surface-2);
    overflow: hidden;
    vertical-align: middle;
    margin-right: 8px;
}
.nfy-cmp-th-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 3px;
}
.nfy-cmp-th-icon span {
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    display: block;
    text-align: center;
    line-height: 22px;
}
.nfy-cmp-th-name {
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -.02em;
    color: var(--ink);
    vertical-align: middle;
}
.nfy-cmp-th-name a { color: var(--ink); }
.nfy-cmp-th-name a:hover { color: var(--orange); }
.nfy-cmp-th-dev {
    display: block;
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0;
    text-transform: none;
}
.nfy-cmp-table tbody td {
    padding: 11px 14px;
    color: var(--ink);
    font-size: 13px;
    vertical-align: middle;
    box-shadow: inset 0 -1px 0 var(--line);
}
.nfy-cmp-table tbody td:first-child {
    position: sticky;
    left: 0;
    background: var(--white);
    z-index: 1;
}
.nfy-cmp-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.nfy-cmp-table tbody tr:hover td:first-child { background: var(--surface-2); }
.nfy-cmp-section-row td {
    background: var(--paper) !important;
    color: var(--orange) !important;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 750;
    padding: 14px !important;
    position: static !important;
    border-top: 1px solid var(--line);
    box-shadow: inset 0 -1px 0 var(--line);
}
.nfy-cmp-section-row td:first-child { position: static !important; }
.nfy-cmp-table td.value-better { color: #4ade80; font-weight: 700; }
.nfy-cmp-table td.value-worse  { color: #f87171; font-weight: 650; }
.nfy-cmp-dash { color: var(--muted-2); }
.nfy-cmp-yes  { color: #4ade80; font-weight: 700; }
.nfy-cmp-no   { color: var(--muted-2); }

/* ---------- BENCHMARKS ---------- */
.nfy-cmp-bench { margin-bottom: 20px; }
.nfy-cmp-bench-title {
    font-size: clamp(28px, 3.5vw, 44px);
    letter-spacing: -.045em;
    line-height: 1.05;
    margin: 0 0 30px;
}
.nfy-cmp-bench-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 12px;
}
.nfy-cmp-bench-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 20px 22px;
}
.nfy-cmp-bench-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -.01em;
    margin: 0 0 16px;
    color: var(--ink);
    position: relative;
}

/* Tooltip */
.nfy-cmp-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--muted);
    cursor: help;
    position: relative;
    font-size: 13px;
    transition: color .2s var(--ease);
}
.nfy-cmp-tip:hover,
.nfy-cmp-tip:focus { color: var(--orange); outline: none; }
.nfy-cmp-tip-body {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--surface-2);
    border: 1px solid var(--line-dark);
    color: var(--ink);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 400;
    padding: 12px 14px;
    border-radius: 6px;
    min-width: 220px;
    max-width: 320px;
    width: max-content;
    white-space: normal;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    box-shadow: 0 12px 32px rgba(0,0,0,.5);
    letter-spacing: normal;
    text-transform: none;
    text-align: left;
}
.nfy-cmp-tip-body::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--line-dark);
}
.nfy-cmp-tip:hover .nfy-cmp-tip-body,
.nfy-cmp-tip:focus .nfy-cmp-tip-body {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nfy-cmp-bench-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 11px;
}
.nfy-cmp-bench-model {
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nfy-cmp-bench-bar-wrap {
    height: 6px;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}
.nfy-cmp-bench-bar {
    display: block;
    height: 100%;
    width: var(--w, 0%);
    background: var(--c, var(--orange));
    opacity: .75;
    transition: width .7s var(--ease);
}
.nfy-cmp-bench-row.is-best .nfy-cmp-bench-bar { opacity: 1; }
.nfy-cmp-bench-row.is-worst .nfy-cmp-bench-bar { opacity: .35; }
.nfy-cmp-bench-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--ink);
    font-size: 11px;
    font-weight: 650;
    min-width: 44px;
    text-align: right;
}
.nfy-cmp-bench-row.is-best .nfy-cmp-bench-val { color: #4ade80; }
.nfy-cmp-bench-row.is-worst .nfy-cmp-bench-val { color: var(--muted); }

/* ---------- FAQ ---------- */
.nfy-cmp-faq {
    padding: 80px 0;
    background: var(--gray);
}

/* ---------- ADAPTIVE ---------- */
@media (max-width: 768px) {
    .nfy-cmp-filters { grid-template-columns: 1fr; }
    .nfy-cmp-select-wrap { width: 100%; }
    .nfy-cmp-select-input { width: 100%; }
    .nfy-cmp-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .nfy-cmp-card-icon { flex-basis: 38px; width: 38px; height: 38px; }
    .nfy-cmp-table { font-size: 12px; }
    .nfy-cmp-th-attr { min-width: 140px; max-width: 160px; font-size: 10px; }
    .nfy-cmp-table tbody td { padding: 9px 10px; }
    .nfy-cmp-bench-grid { grid-template-columns: 1fr; }
    .nfy-cmp-bench-row { grid-template-columns: 90px 1fr auto; }
    .nfy-cmp-summary { grid-template-columns: 1fr; }
    .nfy-cmp-toolbar { gap: 12px; }
}

@media (max-width: 480px) {
    .nfy-cmp-cards { grid-template-columns: 1fr; }
    .nfy-cmp-hero { padding: 40px 0 30px; }
    .nfy-cmp-result-head h2 { font-size: 28px; }
    .nfy-cmp-bench-card { padding: 16px; }
    .nfy-cmp-tip-body { min-width: 180px; max-width: 260px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .nfy-cmp-card,
    .nfy-cmp-bench-bar,
    .nfy-cmp-tip-body { transition: none !important; }
    .nfy-cmp-toolbar.is-shake { animation: none !important; }
}


/* ═══════════════════════════════════════════════════════════════
   § 29. REVIEW MODULE (обзоры) — progress, TL;DR, scorecard,
   TOC, code-copy, author box, feedback
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   § 14. REVIEW — обзоры (category 101, single-obzor.php)
   ═══════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────
   § 14.1 READING PROGRESS
   ───────────────────────────────────────────────────────────── */
.nfy-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 2px; background: transparent;
    z-index: 9999; pointer-events: none;
}
.nfy-progress-bar {
    height: 100%; width: 0;
    background: var(--orange);
    transition: width .08s linear;
}


/* ─────────────────────────────────────────────────────────────
   § 14.2 REVIEW HERO (split: текст + обложка)
   ───────────────────────────────────────────────────────────── */
.nfy-review-hero {
    position: relative;
    padding: 70px 0 60px;
    background: var(--paper);
    overflow: hidden;
    isolation: isolate;
}
.nfy-review-hero::before {
    content: '';
    position: absolute; inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 0%, transparent 80%);
            mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 0%, transparent 80%);
}
.nfy-review-hero::after {
    content: '';
    position: absolute; inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 60% 70% at 80% 40%, rgba(255,77,0,.08), transparent 70%);
}
.nfy-review-hero .container { position: relative; z-index: 2; }

.nfy-review-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
}
.nfy-review-hero-text { min-width: 0; }

/* Breadcrumbs внутри hero */
.nfy-review-hero .single-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.nfy-review-hero .single-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
}
.nfy-review-hero .single-breadcrumbs a:hover { color: var(--orange); }
.nfy-review-hero .single-breadcrumbs .divider { color: var(--muted-2); }
.nfy-review-hero .single-breadcrumbs .current {
    color: var(--ink);
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Kicker */
.nfy-review-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 22px;
    padding-left: 16px;
    position: relative;
}
.nfy-review-hero-kicker::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 8px; height: 2px;
    background: var(--orange);
    transform: translateY(-50%);
}
.nfy-review-hero-kicker strong {
    color: var(--orange);
    font-weight: 800;
}
.nfy-review-hero-kicker .sep {
    color: var(--muted-2);
    font-weight: 400;
}

/* Заголовок */
.nfy-review-hero-title {
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.08;
    margin: 0 0 26px;
    color: var(--ink);
}
.nfy-review-hero-title em { color: var(--orange); font-style: normal; }

/* Мета */
.nfy-review-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.nfy-review-hero-meta span { display: inline-flex; align-items: center; }
.nfy-review-hero-meta i { color: var(--orange); margin-right: 7px; }
.nfy-review-hero-meta a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: border-color .2s ease;
}
.nfy-review-hero-meta a:hover { border-bottom-color: var(--orange); }

/* Кнопки + рейтинг */
.nfy-review-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.nfy-review-rating-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,77,0,.1);
    border: 1px solid rgba(255,77,0,.35);
    border-radius: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.nfy-review-rating-badge .score {
    color: var(--orange);
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -.02em;
}
.nfy-review-rating-badge .max {
    color: var(--muted);
    font-size: 11px;
}
.nfy-review-rating-badge .label {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-family: inherit;
}

/* Обложка справа */
.nfy-review-hero-cover {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0f0f0f;
    box-shadow:
        0 24px 60px rgba(0,0,0,.55),
        0 0 0 1px rgba(255,255,255,.03) inset;
    aspect-ratio: 16 / 9;
}
.nfy-review-hero-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.nfy-review-hero-cover::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,77,0,.3), transparent 50%, rgba(255,77,0,.15));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
            mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 1024px) {
    .nfy-review-hero { padding: 50px 0 40px; }
    .nfy-review-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .nfy-review-hero-cover { max-width: 100%; }
}
@media (max-width: 700px) {
    .nfy-review-hero { padding: 34px 0 30px; }
    .nfy-review-hero-grid { gap: 26px; }
    .nfy-review-hero-title { font-size: 1.7rem; margin-bottom: 20px; }
    .nfy-review-hero-kicker { margin-bottom: 16px; }
    .nfy-review-hero-meta { padding-top: 16px; margin-bottom: 20px; font-size: 12px; }
    .nfy-review-rating-badge { padding: 8px 14px; }
    .nfy-review-rating-badge .score { font-size: 17px; }
}


/* ─────────────────────────────────────────────────────────────
   § 14.3 STICKY TOC
   ───────────────────────────────────────────────────────────── */
.nfy-toc-sticky {
    position: sticky;
    top: 78px;
    z-index: 20;
    background: rgba(11,11,11,.92);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 30px 0 40px;
}
.nfy-toc-sticky .nfy-toc-head { display: none; }
.nfy-toc-sticky .nfy-toc-list {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nfy-toc-sticky .nfy-toc-list::-webkit-scrollbar { display: none; }
.nfy-toc-sticky .nfy-toc-list li { margin: 0; }
.nfy-toc-sticky .nfy-toc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: all .2s ease;
}
.nfy-toc-sticky .nfy-toc-link:hover,
.nfy-toc-sticky .nfy-toc-link.active {
    background: var(--orange);
    color: #fff;
}
.nfy-toc-sticky .nfy-toc-num {
    font-family: ui-monospace, monospace;
    font-size: 10px;
    opacity: .6;
}
.nfy-toc-sticky .nfy-toc-link.active .nfy-toc-num { opacity: 1; }


/* ─────────────────────────────────────────────────────────────
   § 14.4 CONTENT GRID + SIDEBAR
   ───────────────────────────────────────────────────────────── */
.neuro-single .single-content-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 40px !important;
    align-items: start !important;
    width: 100%;
}
.neuro-single .single-content-grid > * {
    min-width: 0;
}
.single-main-content {
    min-width: 0;
    max-width: 100%;
}

.nfy-review-sidebar {
    position: sticky;
    top: 150px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nfy-sidebar-block {
    /* без карточки */
}

.nfy-sidebar-title {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 20px;
    padding-bottom: 14px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nfy-sidebar-title i {
    color: var(--orange);
    font-size: 12px;
}
.nfy-sidebar-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--line);
}
.nfy-sidebar-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 2px;
    background: var(--orange);
    z-index: 1;
}

.nfy-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.nfy-sidebar-item + .nfy-sidebar-item {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.nfy-sidebar-item a {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.nfy-sidebar-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface-2);
}
.nfy-sidebar-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}
.nfy-sidebar-item:hover .nfy-sidebar-thumb img {
    transform: scale(1.05);
}

.nfy-sidebar-item h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}
.nfy-sidebar-item:hover h4 {
    color: var(--orange);
}

.nfy-sidebar-meta {
    font-size: 10.5px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .02em;
}
.nfy-sidebar-meta .star { color: var(--orange); }

@media (max-width: 1100px) {
    .neuro-single .single-content-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px !important;
    }
    .nfy-review-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
@media (max-width: 700px) {
    .nfy-review-sidebar {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .nfy-sidebar-item a {
        grid-template-columns: 84px 1fr;
        gap: 12px;
    }
}

/* ─────────────────────────────────────────────────────────────
   § 14.5 SCORECARD (компактный)
   ───────────────────────────────────────────────────────────── */
.nfy-scorecard {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 22px;
    margin: 1.6em 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.nfy-score-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
    white-space: nowrap;
}
.nfy-score-label {
    color: var(--muted);
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.nfy-score-value {
    color: var(--orange);
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
}
.nfy-score-value small {
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 400;
    margin-left: 1px;
}
@media (max-width: 700px) {
    .nfy-scorecard { padding: 12px 16px; gap: 6px 16px; }
    .nfy-score-item { font-size: 11.5px; }
    .nfy-score-value { font-size: 14px; }
}


/* ─────────────────────────────────────────────────────────────
   § 14.6 COMPARE TABLE
   ───────────────────────────────────────────────────────────── */
.nfy-compare-wrap {
    margin: 1.6em 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
}
.nfy-compare-caption {
    padding: 14px 20px;
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}
.nfy-compare-scroll { overflow-x: auto; }
.nfy-compare {
    width: 100%; min-width: 640px;
    border-collapse: collapse;
    font-size: 13.5px;
}
.nfy-compare th, .nfy-compare td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    vertical-align: top;
}
.nfy-compare th:last-child, .nfy-compare td:last-child { border-right: 0; }
.nfy-compare thead th {
    background: var(--surface-2);
    font-size: 11.5px; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    color: var(--ink);
    position: sticky; top: 0;
}
.nfy-compare tbody tr:nth-child(even) { background: rgba(255,255,255,.015); }
.nfy-compare tbody tr:hover { background: rgba(255,77,0,.035); }
.nfy-compare tbody td:first-child {
    color: var(--muted); font-weight: 600;
    font-size: 12.5px; letter-spacing: .01em;
}
.nfy-compare tbody td:nth-child(2) {
    color: var(--ink);
    background: rgba(255,77,0,.03);
    border-left: 2px solid var(--orange);
}
.nfy-compare thead th:nth-child(2) {
    color: var(--orange);
    border-left: 2px solid var(--orange);
}
.nfy-compare-wrap.no-highlight .nfy-compare tbody td:nth-child(2),
.nfy-compare-wrap.no-highlight .nfy-compare thead th:nth-child(2) {
    background: transparent;
    border-left: 0;
    color: inherit;
}
@media (max-width: 700px) {
    .nfy-compare { font-size: 12.5px; min-width: 560px; }
    .nfy-compare th, .nfy-compare td { padding: 10px 12px; }
}


/* ─────────────────────────────────────────────────────────────
   § 14.7 STEPS (нумерованная инструкция)
   ───────────────────────────────────────────────────────────── */
.single-content-body .nfy-steps {
    list-style: none !important;
    counter-reset: nfy-step !important;
    padding: 0 !important;
    margin: 1.4em 0 !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr);  /* ← трек может сжиматься */
    gap: 14px;
}
.single-content-body .nfy-steps > li {
    counter-increment: nfy-step;
    position: relative;
    padding: 18px 22px 18px 68px !important;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 0 !important;
    line-height: 1.6;
    min-width: 0;                  /* ← li сжимается под трек */
    overflow-wrap: anywhere;       /* ← длинные слова не вылезают */
}
.single-content-body .nfy-steps > li::before {
    content: counter(nfy-step);
    position: absolute;
    left: 20px; top: 18px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--orange); color: #fff;
    display: grid; place-items: center;
    font-family: ui-monospace, monospace;
    font-size: 13px; font-weight: 800;
}
/* <pre> внутри шага не растягивает li — скроллится сам */
.single-content-body .nfy-steps > li > pre,
.single-content-body .nfy-steps > li > pre.nfy-code {
    max-width: 100%;
    box-sizing: border-box;
    margin: 0.8em 0 0;
}


/* ─────────────────────────────────────────────────────────────
   § 14.8 PROS / CONS
   ───────────────────────────────────────────────────────────── */
.nfy-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 1.6em 0;
}
.nfy-pc {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 24px;
}
.nfy-pc--pros { border-top: 3px solid #4caf50; }
.nfy-pc--cons { border-top: 3px solid #e53935; }
.nfy-pc-title {
    font-size: 12px; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: 16px;
}
.nfy-pc--pros .nfy-pc-title { color: #4caf50; }
.nfy-pc--cons .nfy-pc-title { color: #e53935; }
.single-content-body .nfy-pc ul {
    list-style: none !important;
    padding: 0 !important; margin: 0 !important;
}
.single-content-body .nfy-pc li {
    position: relative;
    padding: 0 0 0 26px !important;
    margin: 0 0 12px 0 !important;
    font-size: 13.5px;
    line-height: 1.55;
    color: #b8b4ad;
}
.single-content-body .nfy-pc li:last-child { margin-bottom: 0 !important; }
.single-content-body .nfy-pc li::before {
    content: '+';
    position: absolute; left: 0; top: 0;
    width: 18px; height: 18px;
    display: grid; place-items: center;
    border-radius: 5px;
    font-weight: 800; font-size: 13px;
    line-height: 1;
}
.nfy-pc--pros li::before { content: '✓'; color: #4caf50; background: rgba(76,175,80,.12); }
.nfy-pc--cons li::before { content: '✕'; color: #e53935; background: rgba(229,57,53,.12); font-size: 11px; }
@media (max-width: 700px) { .nfy-pros-cons { grid-template-columns: 1fr; } }


/* ─────────────────────────────────────────────────────────────
   § 14.9 VERDICT
   ───────────────────────────────────────────────────────────── */
.nfy-verdict {
    margin: 2em 0 1em;
    background: linear-gradient(135deg, rgba(255,77,0,.05) 0%, var(--white) 100%);
    border: 1px solid var(--line);
    border-left: 4px solid var(--orange);
    border-radius: 14px;
    padding: 28px 32px;
}
.nfy-verdict-title {
    font-size: 11px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 14px;
}
.nfy-verdict-body {
    font-size: 16px; line-height: 1.65;
    color: var(--ink);
}
.nfy-verdict-body p { margin: 0 0 12px; }
.nfy-verdict-body p:last-child { margin-bottom: 0; }
.nfy-verdict-lists {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 22px; margin-top: 22px;
}
.nfy-verdict-list h4 {
    font-size: 12px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    margin: 0 0 12px; color: var(--muted);
}
.single-content-body .nfy-verdict-list ul {
    list-style: none !important; padding: 0 !important; margin: 0 !important;
}
.single-content-body .nfy-verdict-list li {
    position: relative;
    padding: 0 0 0 22px !important;
    margin: 0 0 10px !important;
    font-size: 13.5px; line-height: 1.55;
    color: #b8b4ad;
}
.single-content-body .nfy-verdict-list li::before {
    content: '·';
    position: absolute; left: 6px; top: -2px;
    color: var(--orange); font-weight: 800; font-size: 18px;
}
@media (max-width: 700px) {
    .nfy-verdict { padding: 22px 24px; }
    .nfy-verdict-lists { grid-template-columns: 1fr; gap: 18px; }
}


/* ─────────────────────────────────────────────────────────────
   § 14.10 CODE + COPY
   ───────────────────────────────────────────────────────────── */
.single-content-body pre.nfy-code {
    position: relative;
    background: #0f0f0f;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 1.2em 0;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    color: #e6e2dc;
}
.nfy-copy-btn {
    position: absolute; top: 8px; right: 8px;
    padding: 5px 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    font-size: 10.5px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    cursor: pointer;
    transition: all .2s ease;
}
.nfy-copy-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.nfy-copy-btn.is-copied { background: #4caf50; color: #fff; border-color: #4caf50; }


/* ─────────────────────────────────────────────────────────────
   § 14.11 FAQ (<details>)
   ───────────────────────────────────────────────────────────── */
.single-content-body details.wp-block-details,
.single-content-body details.neuro-accordion {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 12px 0;
    overflow: hidden;
    transition: border-color .2s ease;
}
.single-content-body details.wp-block-details[open],
.single-content-body details.neuro-accordion[open] {
    border-color: rgba(255,77,0,.4);
}
.single-content-body details.wp-block-details summary,
.single-content-body details.neuro-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    transition: color .2s ease;
}
.single-content-body details.wp-block-details summary::-webkit-details-marker,
.single-content-body details.neuro-accordion summary::-webkit-details-marker { display: none; }
.single-content-body details.wp-block-details summary::marker,
.single-content-body details.neuro-accordion summary::marker { content: ''; }
.single-content-body details.wp-block-details summary::after,
.single-content-body details.neuro-accordion summary::after {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    flex: 0 0 28px;
    transition: all .25s var(--ease);
}
.single-content-body details.wp-block-details[open] summary,
.single-content-body details.neuro-accordion[open] summary {
    color: var(--orange);
    border-bottom: 1px solid var(--line);
}
.single-content-body details.wp-block-details[open] summary::after,
.single-content-body details.neuro-accordion[open] summary::after {
    content: '−';
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.single-content-body details.wp-block-details summary:hover,
.single-content-body details.neuro-accordion summary:hover { color: var(--orange); }
.single-content-body details.wp-block-details summary:hover::after,
.single-content-body details.neuro-accordion summary:hover::after { border-color: var(--orange); }
.single-content-body details.wp-block-details > *:not(summary),
.single-content-body details.neuro-accordion > *:not(summary) {
    padding-left: 22px;
    padding-right: 22px;
}
.single-content-body details.wp-block-details > p:first-of-type,
.single-content-body details.neuro-accordion > p:first-of-type {
    padding-top: 18px;
}
.single-content-body details.wp-block-details > *:last-child,
.single-content-body details.neuro-accordion > *:last-child {
    padding-bottom: 20px;
    margin-bottom: 0;
}
@media (max-width: 700px) {
    .single-content-body details.wp-block-details summary,
    .single-content-body details.neuro-accordion summary {
        padding: 14px 16px;
        font-size: 14px;
    }
    .single-content-body details.wp-block-details > *:not(summary),
    .single-content-body details.neuro-accordion > *:not(summary) {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* ─────────────────────────────────────────────────────────────
   § 14.12 FEEDBACK (👍/👎)
   ───────────────────────────────────────────────────────────── */
.nfy-feedback {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap;
}
.nfy-feedback-title {
    font-size: 14px; font-weight: 600; color: var(--ink);
    margin: 0;
}
.nfy-feedback-title small {
    display: block; font-size: 12px;
    color: var(--muted); font-weight: 400; margin-top: 3px;
}
.nfy-feedback-btns { display: flex; gap: 8px; }
.nfy-feedback-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 40px;
    background: transparent;
    color: var(--muted);
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.nfy-feedback-btn:hover { border-color: var(--orange); color: var(--ink); }
.nfy-feedback-btn.is-picked {
    background: var(--orange); color: #fff; border-color: var(--orange);
}
.nfy-feedback-btn.is-picked i { color: #fff; }
.nfy-feedback-btn i { color: var(--orange); font-size: 13px; }
.nfy-feedback-thanks { color: #4caf50; font-size: 13px; font-weight: 600; }


/* ─────────────────────────────────────────────────────────────
   § 14.13 REVIEWS LISTING (рубрика обзоров)
   ───────────────────────────────────────────────────────────── */

/* ---------- Featured ---------- */
.nfy-reviews-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 50px;
    transition: border-color .25s var(--ease);
    text-decoration: none;
    color: inherit;
}
.nfy-reviews-featured:hover { border-color: var(--ink); }

.nfy-reviews-featured-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-2);
}
.nfy-reviews-featured-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nfy-reviews-featured-badge {
    position: absolute; top: 18px; left: 18px;
    z-index: 2;
    padding: 6px 12px;
    background: var(--orange); color: #fff;
    font-size: 10px; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase;
    border-radius: 6px;
}

.nfy-reviews-featured-body {
    padding: 44px 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.nfy-reviews-featured-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10px; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 16px;
}
.nfy-reviews-featured-title {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--ink);
}
.nfy-reviews-featured:hover .nfy-reviews-featured-title { color: var(--orange); }
.nfy-reviews-featured-excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nfy-reviews-featured-meta {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 14px 22px;
    font-size: 12px; color: var(--muted);
    margin-bottom: 24px;
}
.nfy-reviews-featured-meta i { color: var(--orange); margin-right: 5px; }

/* ---------- Cards grid (3 колонки) ---------- */
.nfy-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}
.nfy-review-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .35s var(--ease), border-color .25s var(--ease);
}
.nfy-review-card:hover {
    transform: translateY(-4px);
    border-color: var(--ink);
}

/* Изображение — строго 16:9, object-fit: cover */
.nfy-review-card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-2);
}
.nfy-review-card-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.nfy-review-card:hover .nfy-review-card-cover img { transform: scale(1.05); }

/* Бейдж рейтинга на изображении */
.nfy-review-card-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(11,11,11,.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,77,0,.45);
    border-radius: 6px;
    color: var(--orange);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.01em;
}
.nfy-review-card-rating i { font-size: 10px; }

.nfy-review-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.nfy-review-card-kicker {
    display: flex; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}
.nfy-review-card-kicker .sep { color: var(--muted-2); font-weight: 400; }
.nfy-review-card-kicker .rt { color: var(--muted); letter-spacing: .1em; }

.nfy-review-card-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}
.nfy-review-card:hover .nfy-review-card-title { color: var(--orange); }

.nfy-review-card-excerpt {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.nfy-review-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 11.5px;
    color: var(--muted);
    font-family: ui-monospace, monospace;
    letter-spacing: .02em;
}
.nfy-review-card-foot i { color: var(--orange); margin-right: 4px; }
.nfy-review-card-arrow {
    color: var(--orange);
    font-size: 14px;
    transition: transform .25s var(--ease);
}
.nfy-review-card:hover .nfy-review-card-arrow { transform: translateX(4px); }

/* Пагинация */
.nfy-reviews-pagination {
    display: flex; justify-content: center;
    gap: 6px; flex-wrap: wrap;
    padding: 30px 0 10px;
    border-top: 1px solid var(--line);
    margin-top: 20px;
}
.nfy-reviews-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px; font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}
.nfy-reviews-pagination .page-numbers:hover {
    border-color: var(--orange);
    color: var(--ink);
}
.nfy-reviews-pagination .page-numbers.current {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* ─────────────────────────────────────────────────────────────
   § 14.14 IMAGES (изображения в тексте статьи)
   ───────────────────────────────────────────────────────────── */
.nfy-figure {
    margin: 1.8em 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
}
.nfy-figure img {
    display: block;
    width: 100%;
    height: auto;
    background: #0f0f0f;
    cursor: zoom-in;
}
.nfy-figure figcaption {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 18px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: var(--surface-2);
}
.nfy-figure figcaption::before {
    content: '§';
    color: var(--orange);
    font-weight: 800;
    font-family: ui-monospace, monospace;
    flex: 0 0 auto;
    line-height: 1.5;
}
/* Без подписи — без полоски */
.nfy-figure--no-caption figcaption { display: none; }

/* Узкая (для маленьких картинок: схем, иконок) */
.nfy-figure--narrow {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Широкая — выходит за пределы колонки на десктопе */
.nfy-figure--wide {
    margin-left: -20px;
    margin-right: -20px;
}
@media (max-width: 900px) {
    .nfy-figure--wide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 700px) {
    .nfy-figure { margin: 1.4em 0; border-radius: 10px; }
    .nfy-figure figcaption { padding: 10px 14px; font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   § 30. COMPARISON — топы и сравнения (category 102)
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   § 15.1 BADGE TYPE (ТОП / VS) — листинг и сайдбар
   ───────────────────────────────────────────────────────────── */
.nfy-cmp-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.nfy-cmp-type-badge--top {
    background: rgba(255,77,0,.92);
    color: #fff;
    border: 1px solid rgba(255,77,0,.4);
}
.nfy-cmp-type-badge--vs {
    background: rgba(11,11,11,.85);
    color: var(--orange);
    border: 1px solid var(--orange);
}

.nfy-sidebar-type {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 4px;
    font-family: ui-monospace, monospace;
}
.nfy-sidebar-type--top {
    background: rgba(255,77,0,.15);
    color: var(--orange);
}
.nfy-sidebar-type--vs {
    background: rgba(255,255,255,.06);
    color: var(--ink);
}

/* Для карточки на листинге — бейдж поверх с учётом top/bottom правил */
.nfy-review-card-cover { position: relative; }

/* ─────────────────────────────────────────────────────────────
   § 15.2 VERSUS HEADER (X vs Y) — для сравнений
   ───────────────────────────────────────────────────────────── */
.nfy-versus {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin: 1.8em 0;
    padding: 28px 24px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.nfy-versus-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    min-width: 0;
}
.nfy-versus-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.nfy-versus-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}
.nfy-versus-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1.3;
}
.nfy-versus-desc {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.4;
}
.nfy-versus-center {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 20px;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -.02em;
    padding: 0 8px;
    white-space: nowrap;
}
@media (max-width: 700px) {
    .nfy-versus {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 16px;
    }
    .nfy-versus-center {
        padding: 8px 0;
        font-size: 16px;
    }
    .nfy-versus-logo { width: 52px; height: 52px; }
    .nfy-versus-name { font-size: 14px; }
}

/* ─────────────────────────────────────────────────────────────
   § 15.3 TEST (практический тест для сравнения)
   ───────────────────────────────────────────────────────────── */
.nfy-test {
    margin: 1.8em 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.nfy-test-head {
    padding: 16px 22px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
}
.nfy-test-num {
    font-family: ui-monospace, monospace;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 5px;
    background: var(--orange);
    color: #fff;
    letter-spacing: 0;
    flex: 0 0 auto;
}
.nfy-test-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
    min-width: 0;
}
.nfy-test-body { padding: 20px 22px; }

.nfy-test-label {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 18px 0 8px;
    font-family: ui-monospace, monospace;
}
.nfy-test-body > .nfy-test-label:first-child { margin-top: 0; }

.nfy-test-prompt {
    background: #0f0f0f;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e6e2dc;
    margin: 0 0 18px;
    white-space: pre-wrap;
    word-break: break-word;
    position: relative;
}

.nfy-test-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 0 0 18px;
}
.nfy-test-result {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
}
.nfy-test-result h5 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 8px;
    font-family: ui-monospace, monospace;
}
.nfy-test-result p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #b8b4ad;
}
.nfy-test-result p + p { margin-top: 8px; }

.nfy-test-verdict {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,77,0,.05);
    border-left: 3px solid var(--orange);
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    margin-top: 4px;
}
.nfy-test-verdict i {
    color: var(--orange);
    font-size: 14px;
    margin-top: 2px;
    flex: 0 0 auto;
}
.nfy-test-verdict p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink);
}
.nfy-test-verdict strong { color: var(--orange); }

@media (max-width: 700px) {
    .nfy-test-results { grid-template-columns: 1fr; gap: 10px; }
    .nfy-test-body { padding: 16px 18px; }
    .nfy-test-head { padding: 14px 18px; }
}

/* ─────────────────────────────────────────────────────────────
   § 15.4 TOP LIST (рейтинговый список)
   ───────────────────────────────────────────────────────────── */
.single-content-body .nfy-top-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.6em 0 !important;
    counter-reset: nfy-top !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.single-content-body .nfy-top-item {
    counter-increment: nfy-top;
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 22px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin: 0 !important;
    transition: border-color .25s var(--ease);
}
.single-content-body .nfy-top-item:hover {
    border-color: var(--ink);
}
.single-content-body .nfy-top-item::before {
    content: counter(nfy-top, decimal-leading-zero);
    position: absolute;
    left: -14px;
    top: -14px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    font-weight: 800;
    border-radius: 12px;
    letter-spacing: -.02em;
    box-shadow: 0 0 0 4px var(--white);
}
.single-content-body .nfy-top-item--first::before {
    background: linear-gradient(135deg, #ffb800, var(--orange));
    box-shadow: 0 0 0 4px var(--white), 0 0 24px rgba(255,77,0,.4);
}

.nfy-top-content {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nfy-top-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.nfy-top-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}
.nfy-top-title a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: border-color .2s ease;
}
.nfy-top-title a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}
.nfy-top-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255,77,0,.1);
    border: 1px solid rgba(255,77,0,.3);
    border-radius: 6px;
    color: var(--orange);
    font-family: ui-monospace, monospace;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.nfy-top-rating i { font-size: 10px; }

.nfy-top-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #b8b4ad;
}
.nfy-top-desc p {
    margin: 0 0 8px;
    color: inherit;
}
.nfy-top-desc p:last-child { margin-bottom: 0; }

.nfy-top-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}
.nfy-top-meta span { display: inline-flex; align-items: center; gap: 6px; }
.nfy-top-meta i { color: var(--orange); font-size: 11px; }
.nfy-top-meta strong { color: var(--ink); font-weight: 600; }

@media (max-width: 700px) {
    .single-content-body .nfy-top-item {
        grid-template-columns: 1fr;
        padding: 20px 18px;
    }
    .single-content-body .nfy-top-item::before {
        left: -8px;
        top: -10px;
        width: 40px;
        height: 40px;
        font-size: 12px;
        border-radius: 10px;
    }
    .nfy-top-title { font-size: 16px; }
    .nfy-top-meta { font-size: 11px; gap: 10px 16px; }
}

/* ─────────────────────────────────────────────────────────────
   § 15.5 BONUS: scorecard reuse (уже есть в § 14.5)
   Этот блок — точка расширения. Если понадобится
   отдельная стилизация для cmp — добавим сюда.