/*
Theme Name: Cryptogre
Theme URI: https://cryptogre.local
Author: Cryptogre Team
Description: Тёплый крипто-медиа дизайн в стиле Apple/Claude. Frost-хедер, HERO-трейдеры с перф-графиками, live-блоки рынка, mouse-glow карточки.
Version: 2.1
License: GPL v2 or later
Text Domain: cryptogre
*/

/* ─── RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
html { scroll-behavior: smooth; }

/* ─── CSS-ПЕРЕМЕННЫЕ ───────────────────────────────────────────────────── */
:root {
    --bg: #111010;   --card: #1E1D1C; --card-2: #262423;
    --bg2: #1A1918;  --bg3: #222120;
    --accent: #D4896A; --accent-dk: #B86E52; --on-accent: #1a120e;
    --accent-rgb: 212,137,106; --accent-soft: rgba(212,137,106,0.14);
    --text: #F0EBE3; --muted: #8C8880;
    --green: #4CAF82; --red: #E07070; --yellow: #C89840;
    --border: rgba(240,235,227,0.08); --border2: rgba(240,235,227,0.14); --border-strong: rgba(240,235,227,0.14);
    --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 8px 28px rgba(0,0,0,0.28);
    --hover-lift: 0 8px 22px rgba(0,0,0,0.35);
    --header-bg: rgba(17,16,16,0.78);
    --thumb: linear-gradient(135deg, #2a2826, #1a1918);
    --card-glass: rgba(31,29,28,0.62);
    --bg-gradient:
        radial-gradient(900px 600px at 78% -8%, rgba(212,137,106,0.24), transparent 60%),
        radial-gradient(760px 520px at 8% 4%, rgba(212,137,106,0.12), transparent 55%),
        linear-gradient(180deg, #181311 0%, #111010 36%, #0E0D0D 100%);
}
:root[data-theme="light"] {
    --bg: #F4EFE7;   --card: #FFFFFF; --card-2: #FBF7F0;
    --bg2: #EFE9DF;  --bg3: #E5DFD5;
    --accent: #C2714F; --accent-dk: #A85C42; --on-accent: #1a120e;
    --accent-rgb: 194,113,79; --accent-soft: rgba(194,113,79,0.12);
    --text: #2A2623; --muted: #8A857C;
    --green: #2E9E6B; --red: #D2554F; --yellow: #A07830;
    --border: rgba(42,38,35,0.09); --border2: rgba(42,38,35,0.15); --border-strong: rgba(42,38,35,0.15);
    --shadow: 0 1px 2px rgba(120,100,80,0.06), 0 10px 30px rgba(120,100,80,0.10);
    --hover-lift: 0 10px 26px rgba(120,100,80,0.16);
    --header-bg: rgba(244,239,231,0.8);
    --thumb: linear-gradient(135deg, #ece4d8, #f6f1e8);
    --card-glass: rgba(255,255,255,0.5);
    --bg-gradient:
        radial-gradient(900px 600px at 80% -10%, rgba(194,113,79,0.20), transparent 60%),
        radial-gradient(760px 520px at 6% 2%, rgba(194,113,79,0.10), transparent 55%),
        linear-gradient(180deg, #FBF6EE 0%, #F4EFE7 40%, #EFE8DC 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg); background-color: var(--bg); color: var(--text);
    font-size: 15px; line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    transition: background .4s ease, color .4s ease;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--bg-gradient); }
body::after {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px; opacity: 0.04;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ─── HEADER (frost / sticky) ────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 36px; height: 68px; }
.site-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.site-logo span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 14.5px; transition: color .2s; position: relative; }
.main-nav a:hover { color: var(--text); }
.main-nav a.active, .main-nav a.current-menu-item { color: var(--text); }
.main-nav a.active::after, .main-nav a.current-menu-item::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px; background: var(--accent); border-radius: 2px;
}
.header-right { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong);
    background: var(--card); color: var(--text); display: grid; place-items: center;
    transition: background .2s, transform .15s, border-color .2s;
}
.theme-toggle:hover { background: var(--card-2); border-color: var(--accent); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 19px; height: 19px; }
:root[data-theme="dark"] .icon-sun  { display: none; }
:root[data-theme="light"] .icon-moon { display: none; }
.header-cta {
    background: var(--accent); color: #1a120e; font-weight: 600; font-size: 14px;
    padding: 0 18px; height: 40px; border-radius: 10px; border: none;
    display: inline-flex; align-items: center; white-space: nowrap;
    transition: transform .15s, box-shadow .2s, filter .2s; box-shadow: 0 2px 10px rgba(var(--accent-rgb),0.28);
}
.header-cta:hover { filter: brightness(1.05); box-shadow: 0 6px 18px rgba(var(--accent-rgb),0.4); }
.header-cta:active { transform: scale(0.97); }

/* ─── TICKER (бесшовный, fade-края) ──────────────────────────────────── */
.ticker { border-bottom: 1px solid var(--border); background: transparent; overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.ticker-track { display: flex; width: max-content; animation: scroll 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-group { display: flex; flex-shrink: 0; }
.ticker-item {
    display: inline-flex; align-items: baseline; gap: 8px; padding: 13px 0; margin: 0 20px;
    font-family: 'Space Grotesk', sans-serif; font-size: 14px; white-space: nowrap; position: relative;
}
.ticker-item::after { content: "·"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--border-strong); }
.t-sym { font-weight: 600; color: var(--text); }
.t-px  { color: var(--muted); font-weight: 500; }
.t-ch  { font-weight: 600; font-size: 13px; }
.t-up  { color: var(--green); }
.t-dn  { color: var(--red); }

/* ─── LAYOUT ─────────────────────────────────────────────────────────── */
.page-wrap { max-width: 1280px; margin: 0 auto; padding: 34px 28px 64px; display: grid; grid-template-columns: 1fr 288px; gap: 44px; align-items: start; }
.main-col { min-width: 0; }
.side-col { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 92px; }

/* ─── SECTION HEAD ───────────────────────────────────────────────────── */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; scroll-margin-top: 96px; }
.eyebrow { color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.section-head h2, .section-title { font-family: 'Space Grotesk', sans-serif; font-size: 25px; font-weight: 700; color: var(--text); }
.see-all, .section-head .more { color: var(--accent); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; white-space: nowrap; }
.see-all:hover, .section-head .more:hover { gap: 8px; }
.block-gap { margin-bottom: 52px; }

/* ─── PAGE HEADER (архивы) ───────────────────────────────────────────── */
.page-header { margin-bottom: 30px; }
.page-title { font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: -0.5px; }
.page-subtitle { font-size: 15px; color: var(--muted); }

/* ─── FILTERS ────────────────────────────────────────────────────────── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn { padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1px solid var(--border-strong); background: var(--card); color: var(--muted); transition: all .2s; }
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #1a120e; font-weight: 600; }
/* цветные фильтры-вердикты (дизайн-система) */
.vfilter { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1px solid var(--border-strong); background: var(--card); color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.vfilter svg { width: 14px; height: 14px; flex-shrink: 0; }
.vfilter.ok   { color: var(--green);  border-color: rgba(76,175,130,.32); }
.vfilter.warn { color: var(--accent); border-color: rgba(var(--accent-rgb),.32); }
.vfilter.scam { color: var(--red);    border-color: rgba(224,112,112,.32); }
.vfilter.ok:hover,   .vfilter.ok.active   { background: rgba(76,175,130,.14); border-color: var(--green); }
.vfilter.warn:hover, .vfilter.warn.active { background: var(--accent-soft);   border-color: var(--accent); }
.vfilter.scam:hover, .vfilter.scam.active { background: rgba(224,112,112,.14); border-color: var(--red); }
.vfilter.active { font-weight: 600; }

/* ════════════════════════════════════════════════════════════════════════
   TRADERS — HERO (#1) + MINI duo (#2,#3) + перф-графики
   ════════════════════════════════════════════════════════════════════════ */
.traders-grid { display: flex; flex-direction: column; gap: 20px; margin-bottom: 16px; }
.traders-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trader-card {
    position: relative; isolation: isolate; background: transparent; border-radius: 14px;
    overflow: hidden; display: flex; flex-direction: column; --mx: 50%; --my: 50%;
    transition: transform .2s ease, box-shadow .25s ease;
}
.trader-card:hover { transform: translateY(-4px); box-shadow: var(--hover-lift); }
.trader-bar { height: 6px; background: linear-gradient(90deg, var(--m1,#E8B596), var(--m2,#D4896A) 50%, var(--m3,#C2714F)); }
.trader-body { padding: 20px 20px 22px; display: flex; flex-direction: column; height: 100%; }
.trader-top { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 16px; text-align: center; }
.avatar {
    width: 78px; height: 78px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 31px; color: #1a120e;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--m2,#D4896A) 26%, transparent), 0 10px 24px rgba(0,0,0,0.4); position: relative;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.trader-id { min-width: 0; }
.trader-name { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: nowrap; }
.trader-name .nm { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; white-space: nowrap; color: var(--text); }
.verified { width: 16px; height: 16px; flex-shrink: 0; }
.trader-tag { color: var(--muted); font-size: 13px; margin-top: 1px; }
.partner-row { display: flex; justify-content: center; margin-bottom: 16px; }
.trader-rating { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.rating-emblem { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; }
.rating-emblem .stars { gap: 3px; }
.rating-emblem .stars svg { width: 18px; height: 18px; }
.rating-caption { font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--m2,#D4896A) 78%, var(--text)); display: inline-flex; align-items: center; gap: 5px; }
.rating-caption::before, .rating-caption::after { content: ""; width: 12px; height: 1px; background: currentColor; opacity: 0.4; }
.stars.metal svg path { fill: currentColor; }
.stars.metal svg path.empty { opacity: 0.22; }
.laurel { width: 34px; height: 54px; flex-shrink: 0; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,0.28)); }
.trader-rating .rating-val { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: var(--text); letter-spacing: 0.01em; }
/* verified tooltip + анимация */
.verified-wrap { position: relative; display: inline-flex; cursor: help; }
.verified-wrap .tip {
    position: absolute; top: calc(100% + 9px); right: -7px; transform: translateY(-4px);
    background: var(--card-2); color: var(--text); border: 1px solid var(--border-strong);
    padding: 7px 11px; border-radius: 9px; font-size: 12px; font-weight: 500; white-space: nowrap;
    box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 30;
}
.verified-wrap .tip::after { content: ""; position: absolute; bottom: 100%; right: 11px; border: 5px solid transparent; border-bottom-color: var(--card-2); }
.verified-wrap:hover .tip { opacity: 1; transform: translateY(0); }
.verified { animation: vfPop 0.85s cubic-bezier(.34,1.56,.64,1) 0.7s both; transform-origin: center; }
@keyframes vfPop { 0% { transform: scale(0) rotate(-40deg); opacity: 0; } 55% { transform: scale(1.4) rotate(10deg); opacity: 1; } 75% { transform: scale(0.92) rotate(-4deg); } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.verified-wrap::before { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; pointer-events: none; animation: vfRing 0.9s ease-out 0.95s 2; }
@keyframes vfRing { 0% { transform: scale(0.7); opacity: 0.65; } 100% { transform: scale(2.4); opacity: 0; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.stat { text-align: center; }
.stat .v { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--text); }
.stat .v.green { color: var(--green); }
.stat .v.red { color: var(--red); }
.stat .l { color: var(--muted); font-size: 11px; margin-top: 2px; letter-spacing: 0.01em; }

/* PERFORMANCE CHART */
.perf { position: relative; border: 1px solid var(--border); border-radius: 12px; padding: 9px 12px 10px; background: rgba(76,175,130,0.05); margin-bottom: 14px; cursor: pointer; transition: background .3s ease, border-color .3s ease; }
.perf:hover { background: rgba(76,175,130,0.08); border-color: transparent; }
.perf::before {
    content: ""; position: absolute; inset: -1px; border-radius: 13px; padding: 1px;
    background: conic-gradient(from var(--ang), transparent 0deg, rgba(76,175,130,0.15) 35deg, var(--green) 60deg, rgba(76,175,130,0.15) 85deg, transparent 120deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.perf:hover::before { opacity: 1; animation: perfGlow 2.6s linear infinite; }
@keyframes perfGlow { to { --ang: 360deg; } }
.perf-head { display: flex; align-items: center; justify-content: space-between; position: relative; min-height: 20px; }
.perf-label { color: var(--muted); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; transition: color .3s; }
.perf:hover .perf-label { color: var(--text); }
.perf-chart { position: relative; height: 36px; cursor: crosshair; touch-action: none; }
.perf-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.perf-chart .perf-line { transition: filter .2s; }
.perf-chart:hover .perf-line { filter: drop-shadow(0 0 5px rgba(76,175,130,0.55)); }
.perf-guide, .perf-dot, .perf-tip { position: absolute; opacity: 0; pointer-events: none; transition: opacity .15s; }
.perf-chart.live .perf-guide, .perf-chart.live .perf-dot, .perf-chart.live .perf-tip { opacity: 1; }
.perf-guide { top: 0; bottom: 0; width: 1px; background: rgba(var(--accent-rgb),0.5); transform: translateX(-0.5px); }
.perf-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid var(--card); box-shadow: 0 0 0 2px rgba(76,175,130,0.5); transform: translate(-50%,-50%); }
.perf-tip { bottom: calc(100% + 8px); transform: translateX(-50%); background: var(--card-2); color: var(--text); border: 1px solid var(--border-strong); padding: 5px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow); font-family: 'Space Grotesk', sans-serif; z-index: 5; }
.perf-tip b { color: var(--green); font-weight: 700; }
.trader-desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-bottom: 18px; flex: 1; text-wrap: pretty; }

/* outline button + gradient fill + shine */
.btn-outline {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 44px; border-radius: 10px; border: 1px solid rgba(var(--accent-rgb),0.35);
    background: var(--accent-soft); color: var(--accent);
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
    transition: color .25s ease, border-color .25s ease, box-shadow .3s ease, transform .15s ease;
}
.btn-outline .btn-label { position: relative; z-index: 2; }
.btn-outline .btn-arrow { position: relative; z-index: 2; display: inline-flex; transition: transform .28s cubic-bezier(.4,0,.2,1); }
.btn-outline .btn-arrow svg { width: 16px; height: 16px; }
.btn-outline::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, var(--accent), #E8B596 55%, #C2714F); opacity: 0; transition: opacity .28s ease; }
.btn-outline::after { content: ""; position: absolute; top: 0; left: -60%; z-index: 1; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent); transform: skewX(-18deg); opacity: 0; }
.btn-outline:hover { color: #1a120e; border-color: transparent; box-shadow: 0 8px 22px rgba(var(--accent-rgb),0.42); transform: translateY(-1px); }
.btn-outline:hover::before { opacity: 1; }
.btn-outline:hover .btn-arrow { transform: translateX(4px); }
.btn-outline:hover::after { opacity: 1; animation: btnShine .7s ease forwards; }
.btn-outline:active { transform: translateY(0) scale(0.985); }
@keyframes btnShine { from { left: -60%; } to { left: 130%; } }

/* green VERIFIED caption */
.verified-cap { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.verified-cap svg { width: 14px; height: 14px; flex-shrink: 0; }

/* HERO (featured #1) */
.trader-card.hero .hero-body { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; padding: 26px 28px 24px; align-items: start; }
.hero-aside { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 2px; }
.hero-aside .avatar { width: 96px; height: 96px; font-size: 38px; }
.hero-aside .rating-emblem { display: flex; align-items: center; gap: 8px; min-height: 0; }
.hero-aside .rating-emblem .stars svg { width: 19px; height: 19px; }
.hero-aside .laurel { width: 30px; height: 50px; }
.hero-aside .rating-val { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px; color: var(--text); line-height: 1; letter-spacing: -0.01em; }
.hero-reviews { margin-top: 6px; font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.01em; }
.hero-main { min-width: 0; display: flex; flex-direction: column; }
.hero-main .trader-name { justify-content: flex-start; }
.hero-main .trader-name .nm { font-size: 23px; }
.hero-main .trader-tag { font-size: 14px; margin-top: 3px; }
.hero-main .verified-cap { margin-top: 11px; }
.hero-main .stats { display: grid; grid-template-columns: repeat(3, max-content); justify-content: start; gap: 0 44px; border-bottom: none; border-top: 1px solid var(--border); padding: 15px 0 0; margin: 16px 0 15px; }
.hero-main .stat { text-align: left; }
.hero-main .stat .v { font-size: 21px; }
.hero-main .trader-desc { margin-bottom: 0; font-size: 14px; }
.hero-side { display: flex; flex-direction: column; gap: 13px; width: 182px; }
.rank-badge { position: relative; display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 12px; border: 1px solid rgba(227,179,65,0.5); background: linear-gradient(160deg, rgba(227,179,65,0.13), rgba(120,90,30,0.04)); transition: border-color .25s ease, background .25s ease, box-shadow .3s ease, transform .2s ease; }
.rank-badge:hover { border-color: rgba(227,179,65,0.95); background: linear-gradient(160deg, rgba(227,179,65,0.26), rgba(120,90,30,0.1)); box-shadow: 0 0 22px rgba(227,179,65,0.34), inset 0 0 18px rgba(227,179,65,0.12); transform: translateY(-2px); }
.rank-badge .cup { width: 33px; height: 33px; flex-shrink: 0; color: #E3B341; filter: drop-shadow(0 2px 4px rgba(227,179,65,0.35)); transition: transform .3s ease; }
.rank-badge:hover .cup { transform: scale(1.08) rotate(-4deg); }
.rank-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.rank-eyebrow { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; white-space: nowrap; }
.rank-no { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; color: var(--text); margin: 1px 0 2px; line-height: 1; }
.rank-badge .rank-label { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11.5px; color: #E3B341; letter-spacing: 0.01em; white-space: nowrap; }
.rank-help { position: absolute; top: 7px; right: 7px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; cursor: help; padding: 0; border: 1px solid rgba(227,179,65,0.45); background: rgba(227,179,65,0.1); color: #E3B341; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11px; line-height: 1; transition: background .2s ease, border-color .2s ease; }
.rank-help:hover { background: rgba(227,179,65,0.22); border-color: rgba(227,179,65,0.8); }
.rank-tip { position: absolute; top: calc(100% + 9px); right: -6px; transform: translateY(-4px); background: var(--card-2); color: var(--text); border: 1px solid var(--border-strong); padding: 7px 11px; border-radius: 9px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 12px; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 30; }
.rank-tip::after { content: ""; position: absolute; bottom: 100%; right: 11px; border: 5px solid transparent; border-bottom-color: var(--card-2); }
.rank-help:hover .rank-tip { opacity: 1; transform: translateY(0); }
.btn-prominent { width: 100%; color: #1a120e; border-color: transparent; background: var(--accent); box-shadow: 0 8px 22px rgba(var(--accent-rgb),0.42); }
.btn-prominent .btn-label { color: #1a120e; }
.btn-prominent:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgba(var(--accent-rgb),0.58); }
.hero-perf { display: flex; flex-direction: column; gap: 8px; margin-top: 3px; padding: 12px 13px 11px; border-radius: 12px; border: 1px solid var(--border); background: rgba(76,175,130,0.05); transition: background .3s ease, border-color .3s ease, box-shadow .35s ease; }
.hero-perf:hover { border-color: rgba(76,175,130,0.55); background: rgba(76,175,130,0.1); box-shadow: 0 0 22px rgba(76,175,130,0.28), inset 0 0 16px rgba(76,175,130,0.08); }
.hero-perf:hover .perf-line { filter: drop-shadow(0 0 5px rgba(76,175,130,0.65)); }
.hero-perf:hover .hp-label { color: var(--green); }
.hero-perf-head { display: flex; align-items: baseline; justify-content: space-between; }
.hero-perf .hp-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; transition: color .3s ease; }
.hero-perf .hp-val { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.hero-perf .hp-val svg { width: 11px; height: 11px; }
.hero-perf .perf-chart { height: 58px; }

/* MINI (#2, #3) */
.trader-card.mini .mini-body { padding: 18px; display: flex; flex-direction: column; gap: 15px; }
.mini-top { display: flex; align-items: center; gap: 13px; }
.mini-top .avatar { width: 54px; height: 54px; font-size: 22px; }
.mini-id { min-width: 0; flex: 1; }
.mini-id .trader-name { justify-content: flex-start; }
.mini-id .trader-name .nm { font-size: 16px; }
.mini-id .trader-tag { font-size: 12.5px; margin-top: 1px; }
.rank-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 34px; line-height: 0.9; color: var(--m2,#C7CCD4); align-self: flex-start; flex-shrink: 0; text-shadow: 0 1px 6px color-mix(in srgb, var(--m2,#C7CCD4) 35%, transparent); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 13px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mini-stats .stat { text-align: center; }
.mini-stats .stat .v { font-size: 17px; }

/* «Показать ещё» / «Стать партнёром» */
.traders-more-wrap { display: flex; justify-content: center; margin: 4px 0 52px; }
.traders-more { background: var(--card); border: 1px solid var(--border-strong); color: var(--text); font-size: 13.5px; font-weight: 600; padding: 12px 28px; border-radius: 10px; transition: all .2s; }
.traders-more:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════════════════
   REVIEWS (миниатюра + контент + вердикт с иконкой)
   ════════════════════════════════════════════════════════════════════════ */
.reviews-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 52px; }
.review-card { position: relative; isolation: isolate; background: transparent; border-radius: 14px; padding: 20px 22px; display: flex; gap: 18px; align-items: flex-start; --mx: 50%; --my: 50%; transition: transform .18s, box-shadow .22s; }
.review-card:hover { transform: translateY(-2px); box-shadow: var(--hover-lift); }
.review-thumb { width: 74px; height: 74px; border-radius: 12px; flex-shrink: 0; margin-top: 2px; background: var(--thumb); border: 1px solid var(--border); overflow: hidden; display: grid; place-items: center; }
.review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-thumb span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 24px; color: var(--accent); opacity: 0.85; }
.verdict { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 8px; white-space: nowrap; margin-top: 2px; }
.verdict svg { width: 14px; height: 14px; flex-shrink: 0; }
.verdict.legit { background: rgba(76,175,130,0.13); color: var(--green); }
.verdict.risk  { background: rgba(var(--accent-rgb),0.15); color: var(--accent); }
.verdict.scam  { background: rgba(224,112,112,0.13); color: var(--red); }
.review-main { flex: 1; min-width: 0; }
.review-meta-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.review-cat { font-size: 11.5px; color: var(--muted); background: var(--card-2); border: 1px solid var(--border); padding: 2px 9px; border-radius: 6px; }
.review-date { color: var(--muted); font-size: 12.5px; }
.review-title, .review-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 5px; line-height: 1.3; transition: color .2s; }
.review-card:hover .review-title, .review-card:hover h3 { color: var(--accent); }
.review-excerpt { color: var(--muted); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
.stars { display: inline-flex; gap: 2px; align-items: center; }
.stars svg { width: 14px; height: 14px; }

/* ════════════════════════════════════════════════════════════════════════
   NEWS LIST (главная)
   ════════════════════════════════════════════════════════════════════════ */
.news-list { display: flex; flex-direction: column; }
.news-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); transition: padding-left .2s; }
.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: none; }
.news-item:hover { padding-left: 6px; }
.news-body { flex: 1; min-width: 0; }
.news-cat { color: var(--accent); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.news-title, .news-item h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: var(--text); margin: 3px 0 4px; line-height: 1.35; transition: color .2s; }
.news-item:hover .news-title, .news-item:hover h3 { color: var(--accent); }
.news-time { color: var(--muted); font-size: 12.5px; }
.news-thumb { width: 84px; height: 64px; border-radius: 10px; flex-shrink: 0; background: var(--thumb); border: 1px solid var(--border); overflow: hidden; display: grid; place-items: center; font-size: 24px; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb .glyph, .news-thumb span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; color: var(--accent); opacity: 0.85; }

/* ─── NEWS ARCHIVE GRID (3 колонки) ──────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .15s, border-color .2s; }
.news-card:hover { box-shadow: var(--hover-lift); transform: translateY(-3px); border-color: var(--border-strong); }
.news-card-img { height: 150px; background: var(--thumb); display: flex; align-items: center; justify-content: center; font-size: 48px; border-bottom: 1px solid var(--border); overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.news-card-title { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.35; transition: color .15s; }
.news-card:hover .news-card-title { color: var(--accent); }
.news-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-meta { font-size: 11.5px; color: var(--muted); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; }

/* ─── СТРАНИЦА НОВОСТЕЙ /novosti/ (дизайн «Новости») ─────────────────── */
.nw-crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.nw-crumb a { color: var(--muted); transition: color .15s; }
.nw-crumb a:hover { color: var(--accent); }
.nw-crumb b { color: var(--text); font-weight: 500; }
.nw-crumb .sep { margin: 0 7px; color: var(--border-strong); }

.nw-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.nw-cat { font-size: 12.5px; padding: 7px 14px; border-radius: 9px; border: 1px solid var(--border2); color: var(--muted); background: transparent; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.nw-cat:hover { border-color: rgba(var(--accent-rgb),.4); color: var(--accent); }
.nw-cat.on { background: var(--accent-soft); border-color: rgba(var(--accent-rgb),.4); color: var(--accent); font-weight: 500; }

.nw-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 6px; width: fit-content; line-height: 1.4; }
.nw-pill svg { width: 12px; height: 12px; flex-shrink: 0; }

.nw-hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-bottom: 14px; }
.nw-hero-grid.single { grid-template-columns: 1fr; }
.nw-hero { position: relative; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--border); display: flex; flex-direction: column; transition: box-shadow .25s, transform .15s, border-color .2s; }
.nw-hero:hover { box-shadow: var(--hover-lift); transform: translateY(-2px); border-color: var(--border-strong); }
.nw-hero-img { height: 180px; background: var(--thumb); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.nw-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.nw-hero-img .nw-ph { display: grid; place-items: center; }
.nw-hero-img .nw-ph svg { width: 46px; height: 46px; }
.nw-breaking { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(224,112,112,.92); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 7px; }
.nw-breaking .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: nwBlink 1.4s infinite; }
@keyframes nwBlink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.nw-hero-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nw-hero-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--text); transition: color .15s; }
.nw-hero:hover .nw-hero-title { color: var(--accent); }
.nw-hero-lead { font-size: 13px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.nw-meta { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.nw-meta .nw-mi { display: inline-flex; align-items: center; gap: 5px; }
.nw-meta svg { width: 13px; height: 13px; }

.nw-side { display: flex; flex-direction: column; gap: 14px; }
.nw-mini { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 7px; transition: box-shadow .25s, transform .15s, border-color .2s; }
.nw-mini:hover { box-shadow: var(--hover-lift); transform: translateY(-2px); border-color: var(--border-strong); }
.nw-mini-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--text); transition: color .15s; }
.nw-mini:hover .nw-mini-title { color: var(--accent); }

.nw-feed-head { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 4px; }
.nw-feed-h { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); }
.nw-feed-sort { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.nw-feed-sort svg { width: 14px; height: 14px; }

.nw-feed { display: flex; flex-direction: column; }
.nw-row { display: flex; gap: 14px; padding: 14px 6px; border-top: 1px solid var(--border); align-items: flex-start; border-radius: 8px; transition: background .15s; }
.nw-row:hover { background: rgba(var(--accent-rgb),.04); }
.nw-thumb { width: 72px; height: 56px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nw-thumb svg { width: 22px; height: 22px; }
.nw-row-body { flex: 1; min-width: 0; }
.nw-row-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--text); margin-bottom: 4px; transition: color .15s; }
.nw-row:hover .nw-row-title { color: var(--accent); }
.nw-row-lead { font-size: 12.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.nw-row-meta { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); margin-top: 5px; }
.nw-time { flex-shrink: 0; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }

@media (max-width: 720px) {
  .nw-hero-grid { grid-template-columns: 1fr; }
  .nw-hero-title { font-size: 17px; }
  .nw-row-lead { display: none; }
}

/* ─── ОТЗЫВЫ: пустое состояние + модалка ────────────────────────────── */
.rv-empty { text-align: center; color: var(--muted); font-size: 14px; padding: 28px 12px; }
.rv-card .verified, .rv-who .verified { animation: none; }

.modal-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(8,7,7,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { width: 100%; max-width: 460px; background: var(--card); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: var(--shadow); padding: 26px 26px 24px; position: relative; transform: translateY(14px) scale(.98); transition: transform .28s cubic-bezier(.2,.8,.2,1); max-height: calc(100vh - 48px); overflow-y: auto; }
.modal-overlay.open .modal { transform: none; }
.modal-eyebrow { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.modal h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.modal-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; text-wrap: pretty; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--card-2); color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: color .2s, border-color .2s, transform .15s; }
.modal-close:hover { color: var(--text); border-color: var(--accent); }
.modal-close:active { transform: scale(.92); }
.modal-close svg { width: 16px; height: 16px; }
.field { margin-bottom: 14px; }
.field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; background: var(--card-2); border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 13px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 14px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.16); }
.field textarea { min-height: 96px; line-height: 1.5; }
.field input.invalid, .field textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(224,112,112,.14); }
.field .err { color: var(--red); font-size: 11.5px; margin-top: 5px; display: none; }
.field.bad .err { display: block; }
.star-pick { display: inline-flex; gap: 5px; }
.star-pick button { background: none; border: none; padding: 0; cursor: pointer; color: var(--border-strong); transition: color .12s, transform .12s; line-height: 0; }
.star-pick button svg { width: 27px; height: 27px; }
.star-pick button.on { color: var(--accent); }
.star-pick button:hover { transform: scale(1.12); }
.modal-submit { width: 100%; height: 46px; margin-top: 6px; border-radius: 11px; border: none; cursor: pointer; background: var(--accent); color: #1a120e; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; box-shadow: 0 6px 18px rgba(var(--accent-rgb),.32); transition: transform .15s, box-shadow .25s, filter .2s; }
.modal-submit:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 12px 26px rgba(var(--accent-rgb),.46); }
.modal-submit:active { transform: translateY(0) scale(.985); }
.modal-submit:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.modal-done { display: flex; align-items: flex-start; gap: 10px; padding: 16px 16px; border-radius: 12px; background: rgba(76,175,130,.12); border: 1px solid rgba(76,175,130,.3); color: var(--green); font-size: 14px; line-height: 1.5; }
.modal-done[hidden] { display: none; }
.modal-done svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* ─── ОТДЕЛЬНАЯ НОВОСТЬ /novosti/<slug>/ (дизайн «Новость») ──────────── */
.news-article { padding: 30px 34px 28px; }
.cat-pill { display: inline-flex; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; transition: filter .15s; }
.cat-pill:hover { filter: brightness(1.08); }
.na-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.14; margin-bottom: 13px; text-wrap: balance; }
.na-lead { font-size: 16px; line-height: 1.6; color: var(--muted); margin-bottom: 20px; text-wrap: pretty; }
.na-byline { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.na-author { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.na-av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; }
.na-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; }
.na-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.na-share { display: flex; gap: 8px; flex-shrink: 0; position: relative; }
.share-toast { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; background: var(--card-2); border: 1px solid rgba(76,175,130,.35); color: var(--green); font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.share-toast svg { width: 13px; height: 13px; }
.share-toast.show { opacity: 1; transform: translateY(0); }
.share-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--card-2); display: grid; place-items: center; cursor: pointer; color: var(--muted); transition: color .18s, border-color .18s, transform .12s; }
.share-btn:hover { color: var(--accent); border-color: var(--accent); }
.share-btn:active { transform: scale(.92); }
.share-btn.done { color: var(--green); border-color: var(--green); }
.share-btn svg { width: 16px; height: 16px; }

.na-hero { display: block; width: 100%; height: 248px; margin: 22px 0 8px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); }
.na-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.na-cap { font-size: 12px; color: var(--muted); opacity: .85; margin-bottom: 22px; font-style: italic; }

.na-takeaways { background: var(--card-2); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 13px 13px 0; padding: 17px 20px; margin: 4px 0 24px; }
.tk-head { display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.tk-head svg { width: 16px; height: 16px; }
.tk-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.tk-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.5; color: color-mix(in srgb, var(--text) 88%, var(--muted)); text-wrap: pretty; }
.tk-list li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

.na-body { margin-top: 6px; }
.na-body h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; margin: 28px 0 12px; scroll-margin-top: 90px; }
.na-body h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; margin: 22px 0 10px; }
.na-body p { font-size: 15.5px; line-height: 1.75; color: color-mix(in srgb, var(--text) 90%, var(--muted)); margin-bottom: 15px; text-wrap: pretty; }
.na-body p b, .na-body strong { color: var(--text); font-weight: 600; }
.na-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.na-body ul, .na-body ol { margin: 0 0 15px 20px; display: flex; flex-direction: column; gap: 7px; }
.na-body li { font-size: 15.5px; line-height: 1.6; color: color-mix(in srgb, var(--text) 90%, var(--muted)); }
.na-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 18px 0; }

/* ── изображения, выравнивание и подписи в теле статьи/разбора (классы WordPress) ── */
/* figure ограничиваем по ширине — иначе при наличии подписи ядро делает её display:table и она распирается за блок */
.na-body figure, .post-content figure, .article-body figure { margin: 18px 0; max-width: 100%; }
.na-body figure img, .post-content figure img, .article-body figure img { margin: 0; max-width: 100%; height: auto; }
/* по центру */
.na-body img.aligncenter, .post-content img.aligncenter, .article-body img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.na-body figure.aligncenter, .post-content figure.aligncenter, .article-body figure.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.na-body figure.aligncenter img, .post-content figure.aligncenter img, .article-body figure.aligncenter img { margin-left: auto; margin-right: auto; }
/* слева / справа с обтеканием текстом */
.na-body .alignleft, .post-content .alignleft, .article-body .alignleft { float: left; margin: 6px 22px 14px 0; max-width: 48%; }
.na-body .alignright, .post-content .alignright, .article-body .alignright { float: right; margin: 6px 0 14px 22px; max-width: 48%; }
.na-body figure.alignleft img, .na-body figure.alignright img,
.post-content figure.alignleft img, .post-content figure.alignright img,
.article-body figure.alignleft img, .article-body figure.alignright img { width: 100%; }
/* подписи (грубый текст ядра → мелкая серая подпись по центру) */
.na-body figcaption, .post-content figcaption, .article-body figcaption,
.na-body .wp-caption-text, .post-content .wp-caption-text, .article-body .wp-caption-text { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 8px; line-height: 1.45; font-style: normal; }
.na-body .wp-caption, .post-content .wp-caption, .article-body .wp-caption { max-width: 100%; }
/* сброс обтекания в конце тела */
.na-body::after, .post-content::after, .article-body::after { content: ""; display: table; clear: both; }

/* широкие/во всю ширину — выходят за паддинг карточки гайда (30px 34px) */
.guide-body .alignwide { width: calc(100% + 36px); max-width: calc(100% + 36px); margin-left: -18px; margin-right: -18px; }
.guide-body .alignfull { width: calc(100% + 68px); max-width: calc(100% + 68px); margin-left: -34px; margin-right: -34px; border-radius: 0; }
.guide-body .alignwide img, .guide-body .alignfull img { width: 100%; }
.guide-body .alignfull img { border-radius: 0; }
.na-body blockquote, .na-quote { display: flex; gap: 15px; padding: 18px 20px; background: var(--accent-soft); border-radius: 13px; margin: 22px 0; }
.na-quote > svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; opacity: .9; }
.na-quote .q-text { font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 16px; line-height: 1.55; color: var(--text); }
.na-quote .q-author { font-size: 13px; color: var(--muted); margin-top: 9px; }
.na-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.nf { background: var(--card-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 14px; text-align: center; }
.nf-v { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.1; }
.nf-v.red { color: var(--red); } .nf-v.green { color: var(--green); }
.nf-k { font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.3; }

.na-tags { display: flex; gap: 9px; flex-wrap: wrap; padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--border); }
.na-tag { font-size: 12.5px; color: var(--muted); padding: 6px 13px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--border); transition: color .18s, border-color .18s; }
.na-tag:hover { color: var(--accent); border-color: var(--accent); }

.coin-pill { display: inline-flex; align-items: baseline; gap: 6px; vertical-align: baseline; padding: 1px 8px 2px; border-radius: 7px; white-space: nowrap; background: color-mix(in srgb, var(--accent) 8%, var(--card-2)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border)); font-family: 'Space Grotesk', sans-serif; font-size: .88em; line-height: 1.4; }
.coin-pill .cp-sym { font-weight: 700; color: var(--text); }
.coin-pill .cp-px { font-weight: 600; color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.coin-pill .cp-chg { font-weight: 600; font-size: .92em; }
.coin-pill .cp-chg.up { color: var(--green); } .coin-pill .cp-chg.down { color: var(--red); }

/* читать дальше */
.na-next { margin-top: 30px; }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-card { display: flex; align-items: center; gap: 14px; padding: 15px 17px; }
.next-thumb { width: 50px; height: 50px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; overflow: hidden; }
.next-thumb.has-img { background: var(--card-2); }
.next-thumb img { width: 100%; height: 100%; object-fit: cover; }
.next-thumb svg { width: 21px; height: 21px; }
.next-info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.next-cat { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.next-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; line-height: 1.3; margin-top: 3px; transition: color .18s; }
.next-card:hover .next-title { color: var(--accent); }
.next-arr { color: var(--muted); flex-shrink: 0; transition: color .18s, transform .18s; }
.next-card:hover .next-arr { color: var(--accent); transform: translateX(3px); }
.next-arr svg { width: 18px; height: 18px; }

/* сайдбар: монеты из статьи */
.coins-card { padding: 6px; }
.coins-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 11px; }
.coins-head .ch-ic { width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.coins-head .ch-ic svg { width: 16px; height: 16px; }
.coins-head .ch-lbl { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.coins-skel { padding: 16px 12px; font-size: 13px; color: var(--muted); opacity: .8; }
.coin-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; }
.coin-row + .coin-row { border-top: 1px solid var(--border); }
.coin-ic { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--border); }
.coin-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coin-id { min-width: 0; }
.coin-id .c-sym { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14.5px; }
.coin-id .c-nm { color: var(--muted); font-size: 12px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-spark { width: 52px; height: 26px; }
.coin-spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.coin-right { text-align: right; white-space: nowrap; }
.coin-right .c-px { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14.5px; }
.coin-right .c-chg { font-size: 12px; font-weight: 600; margin-top: 2px; }
.coin-right .c-chg.up { color: var(--green); } .coin-right .c-chg.down { color: var(--red); }
.coins-foot { padding: 9px 12px 7px; font-size: 11px; color: var(--muted); opacity: .8; display: flex; align-items: center; gap: 7px; border-top: 1px solid var(--border); margin-top: 2px; }

/* сайдбар: популярное за неделю */
.popweek-card { padding: 6px 8px; }
.popweek-row { display: flex; align-items: flex-start; gap: 13px; padding: 12px 10px; border-radius: 10px; transition: background .18s; }
.popweek-row + .popweek-row { border-top: 1px solid var(--border); }
.popweek-row:hover { background: var(--card-2); }
.pw-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; color: var(--accent); opacity: .5; width: 20px; flex-shrink: 0; line-height: 1.25; text-align: center; }
.pw-text { min-width: 0; }
.pw-title { font-size: 13.5px; font-weight: 500; line-height: 1.42; transition: color .18s; }
.popweek-row:hover .pw-title { color: var(--accent); }
.pw-meta { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11.5px; margin-top: 4px; }
.pw-meta .pw-dot { opacity: .5; }

/* ── компактный «Топ трейдеров» (сайдбар разбора): featured #1 + строки с шевроном ── */
.tt-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 8px 8px; }
.tt-head { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 10px 10px; display: flex; align-items: center; justify-content: space-between; }
.tt-all { font-size: 11.5px; color: var(--accent); text-transform: none; letter-spacing: 0; transition: opacity .15s; }
.tt-all:hover { opacity: .75; }
.tt-feat { display: flex; align-items: center; gap: 11px; padding: 12px; background: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb),.22); border-radius: 11px; margin: 0 2px 6px; transition: background .15s, border-color .15s; }
.tt-feat:hover { background: rgba(var(--accent-rgb),.12); border-color: rgba(var(--accent-rgb),.4); }
.tt-row { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 9px; transition: background .15s; margin: 0 2px; }
.tt-row:hover { background: var(--card-2); }
.tt-av { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; color: var(--on-accent); overflow: hidden; }
.tt-feat .tt-av { width: 42px; height: 42px; font-size: 16px; }
.tt-av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.tt-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tt-rank { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 10px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #E3B341; margin-bottom: 3px; }
.tt-rank svg { width: 12px; height: 12px; flex-shrink: 0; }
.tt-name { display: flex; align-items: center; gap: 5px; min-width: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13.5px; color: var(--text); transition: color .15s; }
.tt-name .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-name .vmark { flex-shrink: 0; line-height: 0; }
.tt-name .verified { width: 12px; height: 12px; }
.tt-row:hover .tt-name, .tt-feat:hover .tt-name { color: var(--accent); }
.tt-spec { font-size: 11.5px; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tt-rate-col { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.tt-stars .stars { display: inline-flex; gap: 1px; line-height: 0; }
.tt-stars .stars svg { width: 10px; height: 10px; }
.tt-rv { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; color: var(--text); }
.tt-chev { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; transition: transform .15s, color .15s; }
.tt-row:hover .tt-chev, .tt-feat:hover .tt-chev { color: var(--accent); transform: translateX(2px); }

@media (max-width: 720px) {
  .news-article { padding: 22px 20px; }
  .na-title { font-size: 24px; }
  .na-facts { grid-template-columns: 1fr; }
  .next-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   СТАТЬИ / ГАЙДЫ — архив (дизайн «Статьи»)
   ════════════════════════════════════════════════════════════════════════ */
/* пилюля сложности (helper cryptogre_lvl_pill) */
.lvl-pill { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; line-height: 1; padding: 0 11px; height: 24px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.lvl-pill.lvl-beginner { background: rgba(76,175,130,.14); color: var(--green); }
.lvl-pill.lvl-medium   { background: rgba(200,152,64,.16); color: var(--yellow); }
.lvl-pill.lvl-advanced { background: var(--accent-soft); color: var(--accent); }

.guides-head { margin-bottom: 22px; }
.guides-head .page-title { font-size: 30px; letter-spacing: -.01em; margin: 6px 0 9px; }
.guides-head .page-sub { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 620px; text-wrap: pretty; }

.guides-search { display: flex; align-items: center; gap: 12px; background: var(--bg2); border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 16px; margin-bottom: 26px; transition: border-color .2s; }
.guides-search:focus-within { border-color: var(--accent); }
.guides-search .gs-ic { color: var(--muted); flex-shrink: 0; display: inline-flex; }
.guides-search .gs-ic svg { width: 18px; height: 18px; }
.guides-search input { background: transparent; border: none; outline: none; color: var(--text); font-size: 14.5px; flex: 1; font-family: 'Inter', sans-serif; min-width: 0; }
.guides-search input::placeholder { color: var(--muted); }
.gs-filter { display: flex; gap: 7px; flex-shrink: 0; }
.gs-filter .chip { cursor: pointer; background: transparent; transition: color .18s, border-color .18s, background .18s; }
.gs-filter .chip:hover { color: var(--text); border-color: var(--accent); }
.gs-filter .chip.active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* featured guide */
.featured-guide { position: relative; isolation: isolate; display: flex; gap: 20px; background: transparent; border-radius: 14px; padding: 22px; margin-bottom: 44px; --mx: 50%; --my: 50%; transition: transform .2s, box-shadow .25s; }
.featured-guide > * { position: relative; z-index: 2; }
.featured-guide::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: var(--border-strong); transition: background .3s ease; }
.featured-guide::after { content: ""; position: absolute; inset: 1px; z-index: 1; border-radius: inherit; background: radial-gradient(135% 90% at 100% 0%, rgba(var(--accent-rgb),0.06), transparent 52%), var(--card); }
.featured-guide.hovering::before { background: radial-gradient(280px circle at var(--mx) var(--my), rgba(var(--accent-rgb),0.95), rgba(var(--accent-rgb),0.30) 40%, var(--border-strong) 72%); }
.featured-guide.hovering { box-shadow: 0 0 24px rgba(var(--accent-rgb),0.14), var(--hover-lift); transform: translateY(-3px); }
.feat-icon { width: 96px; height: 96px; border-radius: 14px; background: linear-gradient(135deg, rgba(var(--accent-rgb),0.22), rgba(var(--accent-rgb),0.05)); border: 1px solid rgba(var(--accent-rgb),0.2); display: grid; place-items: center; flex-shrink: 0; color: var(--accent); overflow: hidden; }
.feat-body { flex: 1; min-width: 0; }
.feat-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); margin-bottom: 9px; }
.feat-badge svg { width: 14px; height: 14px; }
.feat-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--text); margin-bottom: 7px; transition: color .2s; }
.featured-guide:hover .feat-title { color: var(--accent); }
.feat-desc { font-size: 14px; line-height: 1.55; color: var(--muted); margin-bottom: 13px; text-wrap: pretty; }
.feat-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.feat-meta .fm-item { display: inline-flex; align-items: center; gap: 5px; }
.feat-meta .fm-item svg { width: 14px; height: 14px; }
.feat-meta .dot { opacity: .5; }

/* topic sections */
.topic { margin-bottom: 40px; }
.topic-head { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.topic-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.topic-ic svg { width: 18px; height: 18px; }
.topic-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); }
.topic-count { font-size: 13px; color: var(--muted); }
.topic-all { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--accent); transition: opacity .2s; }
.topic-all:hover { opacity: .75; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-card { position: relative; isolation: isolate; background: transparent; border-radius: 12px; padding: 16px 17px; display: flex; flex-direction: column; gap: 9px; --mx: 50%; --my: 50%; transition: transform .18s, box-shadow .22s; }
.guide-card > * { position: relative; z-index: 2; }
.guide-card::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: var(--border-strong); transition: background .3s ease; }
.guide-card::after { content: ""; position: absolute; inset: 1px; z-index: 1; border-radius: inherit; background: radial-gradient(135% 90% at 100% 0%, rgba(var(--accent-rgb),0.05), transparent 52%), var(--card); }
.guide-card.hovering::before { background: radial-gradient(220px circle at var(--mx) var(--my), rgba(var(--accent-rgb),0.95), rgba(var(--accent-rgb),0.30) 40%, var(--border-strong) 72%); }
.guide-card.hovering { box-shadow: 0 0 20px rgba(var(--accent-rgb),0.13), var(--hover-lift); transform: translateY(-2px); }
.gc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.gc-time { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.gc-time svg { width: 12px; height: 12px; }
.gc-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--text); transition: color .2s; }
.guide-card:hover .gc-title { color: var(--accent); }
.gc-steps { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: auto; }
.gc-steps svg { width: 12px; height: 12px; }
.guides-empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* sidebar: digest */
.digest { position: relative; isolation: isolate; background: var(--card); border: 1px solid var(--border-strong); border-radius: 16px; padding: 22px; overflow: hidden; }
.digest::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(130% 80% at 100% 0%, rgba(var(--accent-rgb),0.10), transparent 55%); pointer-events: none; }
.digest > * { position: relative; z-index: 1; }
.digest-ic { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, rgba(var(--accent-rgb),0.24), rgba(var(--accent-rgb),0.06)); border: 1px solid rgba(var(--accent-rgb),0.22); display: grid; place-items: center; color: var(--accent); margin-bottom: 15px; }
.digest-ic svg { width: 24px; height: 24px; }
.digest-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--text); margin-bottom: 7px; }
.digest-sub { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-bottom: 16px; text-wrap: pretty; }
.digest-input { display: flex; align-items: center; gap: 9px; background: var(--bg2); border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 13px; margin-bottom: 10px; transition: border-color .2s; }
.digest-input:focus-within { border-color: var(--accent); }
.digest-input input { background: transparent; border: none; outline: none; color: var(--text); font-size: 14px; flex: 1; font-family: 'Inter', sans-serif; min-width: 0; }
.digest-input input::placeholder { color: var(--muted); }
.digest-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 11px; }

/* sidebar: popular guides */
.pop-guides { position: relative; isolation: isolate; background: var(--card); border: 1px solid var(--border-strong); border-radius: 16px; padding: 18px 20px; }
.pop-head { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pop-head .ph-ic { color: var(--accent); display: inline-flex; }
.pop-head .ph-ic svg { width: 14px; height: 14px; }
.pop-row { display: flex; gap: 13px; padding: 12px 0; align-items: flex-start; }
.pop-row + .pop-row { border-top: 1px solid var(--border); }
.pop-row:first-of-type { padding-top: 4px; }
.pop-rank { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; color: var(--border-strong); flex-shrink: 0; width: 22px; line-height: 1.2; transition: color .15s; }
.pop-row:hover .pop-rank { color: var(--accent); }
.pop-body { flex: 1; min-width: 0; }
.pop-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13.5px; line-height: 1.35; color: var(--text); transition: color .15s; }
.pop-row:hover .pop-title { color: var(--accent); }
.pop-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-top: 5px; }

@media (max-width: 980px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .guide-grid { grid-template-columns: 1fr; } .featured-guide { flex-direction: column; } }

/* ════════════════════════════════════════════════════════════════════════
   ГАЙД / СТАТЬЯ — одиночная страница (дизайн «Гайд»)
   ════════════════════════════════════════════════════════════════════════ */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: transparent; }
.read-progress .rp-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)); transition: width .12s linear; }

.guide-article { padding: 30px 34px; }
.guide-article .gh-top { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.guide-article .gh-top .cat-pill { margin-bottom: 0; height: 24px; align-items: center; }
.guide-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.16; margin-bottom: 13px; text-wrap: balance; }
.guide-meta { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.guide-meta .gm { display: inline-flex; align-items: center; gap: 6px; }
.guide-meta .gm svg { width: 15px; height: 15px; opacity: .9; }
.guide-meta .dotsep { opacity: .45; }
.gdivider { height: 1px; background: var(--border); margin: 22px 0; }
.guide-lead { font-size: 16px; line-height: 1.7; color: color-mix(in srgb, var(--text) 90%, var(--muted)); margin-bottom: 18px; text-wrap: pretty; }

/* «Чему научитесь» / «Что понадобится» */
.goal { background: var(--card-2); border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: 0 13px 13px 0; padding: 17px 20px; margin-bottom: 14px; }
.goal-h { display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.goal-h svg { width: 16px; height: 16px; }
.goal-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.goal-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.5; color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.goal-list li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 1px; }
.prereq { background: rgba(var(--accent-rgb),0.04); border: 1px solid var(--border); border-radius: 12px; padding: 15px 18px; margin-bottom: 28px; }
.prereq-h { display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.prereq-h svg { width: 15px; height: 15px; }
.prereq-list { display: flex; flex-wrap: wrap; gap: 9px; }
.prereq-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: color-mix(in srgb, var(--text) 80%, var(--muted)); background: var(--card-2); border: 1px solid var(--border); padding: 6px 12px; border-radius: 8px; }
.prereq-tag svg { width: 13px; height: 13px; color: var(--green); flex-shrink: 0; }

/* пошаговая вёрстка тела (если автор использует .gstep / .callout) */
.guide-body .gstep { display: flex; gap: 18px; padding-bottom: 26px; margin-bottom: 4px; position: relative; scroll-margin-top: 96px; }
.guide-body .gstep:not(:last-of-type)::before { content: ""; position: absolute; left: 18px; top: 42px; bottom: 6px; width: 2px; background: var(--border); }
.guide-body .step-num { width: 37px; height: 37px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb),0.4); z-index: 1; }
.guide-body .step-body { flex: 1; min-width: 0; }
.guide-body .step-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; padding-top: 6px; margin-bottom: 8px; }
.guide-body .step-text { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--text) 90%, var(--muted)); margin-bottom: 13px; text-wrap: pretty; }
.guide-body .step-text b { color: var(--text); font-weight: 600; }
.guide-body .step-img { width: 100%; border-radius: 10px; margin-bottom: 13px; box-shadow: inset 0 0 0 1px var(--border); }

.callout { display: flex; gap: 12px; padding: 13px 16px; border-radius: 11px; margin: 0 0 12px; }
.callout svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.callout .ct { font-size: 13.5px; line-height: 1.55; }
.callout .ct b { font-weight: 600; color: var(--text); }
.co-tip { background: rgba(91,180,237,0.08); border: 1px solid rgba(91,180,237,0.2); }
.co-tip svg { color: #5BB4ED; } .co-tip .ct { color: color-mix(in srgb, #B8CEDE 88%, var(--text)); }
.co-warn { background: rgba(227,179,65,0.08); border: 1px solid rgba(227,179,65,0.22); }
.co-warn svg { color: #E3B341; } .co-warn .ct { color: color-mix(in srgb, #DACAA0 88%, var(--text)); }
.co-danger { background: rgba(224,112,112,0.08); border: 1px solid rgba(224,112,112,0.22); }
.co-danger svg { color: var(--red); } .co-danger .ct { color: color-mix(in srgb, #DEB0B0 88%, var(--text)); }

/* ════════════════════════════════════════════════════════════════════════
   ПОДСКАЗКИ К ТЕРМИНАМ ([term] → .cg-term). Десктоп: пунктир + CSS-тултип;
   тач/<720px: подсветка + выезжающая нижняя панель (.cg-sheet). См. terms.js.
   ════════════════════════════════════════════════════════════════════════ */
.cg-term { position: relative; color: var(--text); border-bottom: 1px dashed rgba(var(--accent-rgb),.7); cursor: help; text-decoration: none; }
.cg-term:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.cg-term__tip {
    position: absolute; bottom: calc(100% + 10px); left: 50%;
    transform: translateX(-50%) translateY(4px);
    box-sizing: border-box; width: min(280px, 78vw); max-width: calc(100vw - 24px);
    background: var(--card-2); border: 1px solid rgba(var(--accent-rgb),.35); border-radius: 12px;
    padding: 12px 14px; box-shadow: 0 12px 32px rgba(0,0,0,.55);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .16s cubic-bezier(.4,0,.2,1), transform .16s cubic-bezier(.4,0,.2,1), visibility .16s;
    z-index: 60;
}
.cg-term:hover .cg-term__tip,
.cg-term:focus-visible .cg-term__tip,
.cg-term.is-open .cg-term__tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
/* невидимый «мостик» через 10px-зазор — чтобы курсор доходил от слова до ссылки в тултипе */
.cg-term__tip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.cg-term__tip[data-place="below"]::after { top: auto; bottom: 100%; }
/* ссылка «Подробнее в словаре» внутри тултипа (десктоп) */
/* .cg-term .cg-term__more — специфичность выше .post-content a / .article-body a, чтобы снять их подчёркивание */
.cg-term .cg-term__more { display: block; margin-top: 9px; font: 500 11.5px/1 'Inter',sans-serif; color: var(--accent); text-decoration: none; }
.cg-term .cg-term__more:hover { text-decoration: none; opacity: .8; }
/* горизонтальный флип у краёв окна (класс ставит terms.js) */
.cg-term__tip[data-align="start"] { left: 0; transform: translateX(0) translateY(4px); }
.cg-term:hover .cg-term__tip[data-align="start"],
.cg-term:focus-visible .cg-term__tip[data-align="start"],
.cg-term.is-open .cg-term__tip[data-align="start"] { transform: translateX(0) translateY(0); }
.cg-term__tip[data-align="end"] { left: auto; right: 0; transform: translateX(0) translateY(4px); }
.cg-term:hover .cg-term__tip[data-align="end"],
.cg-term:focus-visible .cg-term__tip[data-align="end"],
.cg-term.is-open .cg-term__tip[data-align="end"] { transform: translateX(0) translateY(0); }
/* вертикальный флип: термин в первых строках / под липким хедером — раскрываем вниз */
.cg-term__tip[data-place="below"] { bottom: auto; top: calc(100% + 10px); transform: translateX(-50%) translateY(-4px); }
.cg-term:hover .cg-term__tip[data-place="below"],
.cg-term:focus-visible .cg-term__tip[data-place="below"],
.cg-term.is-open .cg-term__tip[data-place="below"] { transform: translateX(-50%) translateY(0); }
.cg-term__tip[data-place="below"][data-align="start"],
.cg-term__tip[data-place="below"][data-align="end"] { transform: translateX(0) translateY(-4px); }
.cg-term:hover .cg-term__tip[data-place="below"][data-align="start"],
.cg-term:hover .cg-term__tip[data-place="below"][data-align="end"],
.cg-term:focus-visible .cg-term__tip[data-place="below"][data-align="start"],
.cg-term:focus-visible .cg-term__tip[data-place="below"][data-align="end"],
.cg-term.is-open .cg-term__tip[data-place="below"][data-align="start"],
.cg-term.is-open .cg-term__tip[data-place="below"][data-align="end"] { transform: translateX(0) translateY(0); }

.cg-term__title { display: block; font: 600 12px/1 'Space Grotesk',sans-serif; color: var(--accent); margin-bottom: 6px; }
.cg-term__body { display: block; font: 400 12.5px/1.5 'Inter',sans-serif; color: var(--muted); }

/* тач / узкий экран: подсветка вместо пунктира, тултип скрыт */
@media (hover: none), (max-width: 719px) {
    .cg-term { border-bottom: 0; background: rgba(var(--accent-rgb),.16); box-shadow: inset 0 -1px 0 var(--accent); padding: 1px 4px; border-radius: 3px; cursor: pointer; }
    .cg-term__tip { display: none; }
}

/* одна общая нижняя панель на страницу (наполняется из data-* термина) */
.cg-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; box-sizing: border-box;
    background: var(--card-2); border-top: 1px solid rgba(var(--accent-rgb),.35);
    border-radius: 16px 16px 0 0; padding: 18px 22px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 40px rgba(0,0,0,.5); transform: translateY(101%);
    transition: transform .28s cubic-bezier(.4,0,.2,1); z-index: 120;
}
.cg-sheet.is-open { transform: translateY(0); }
.cg-sheet__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cg-sheet__title { font: 600 13px/1.2 'Space Grotesk',sans-serif; color: var(--accent); margin: 0 0 7px; }
.cg-sheet__body { font: 400 13px/1.55 'Inter',sans-serif; color: var(--muted); margin: 0; }
.cg-sheet__close { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; transition: transform .12s cubic-bezier(.4,0,.2,1); }
.cg-sheet__close:active { transform: scale(.94); }
.cg-sheet__more { display: inline-block; margin-top: 12px; font: 500 12px/1 'Inter',sans-serif; color: var(--accent); text-decoration: none; }
.cg-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .28s cubic-bezier(.4,0,.2,1), visibility .28s; z-index: 110; }
.cg-scrim.is-open { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
    .cg-term__tip, .cg-sheet, .cg-scrim, .cg-sheet__close { transition: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   СЛОВАРЬ ТЕРМИНОВ (/slovar/ — archive-cg_term + single-cg_term)
   ════════════════════════════════════════════════════════════════════════ */
.gloss-head { margin-bottom: 22px; }
.gloss-head .page-sub { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 680px; }
.gloss-head .page-sub strong { color: var(--text); }

/* поиск */
.gloss-search { position: relative; margin-bottom: 16px; max-width: 520px; }
.gloss-search input { width: 100%; box-sizing: border-box; padding: 12px 14px 12px 42px; border-radius: 12px; border: 1px solid var(--border2); background: var(--card); color: var(--text); font: 400 14px 'Inter',sans-serif; transition: border-color .15s; }
.gloss-search input:focus { outline: none; border-color: rgba(var(--accent-rgb),.5); }
.gloss-search .gls-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.gloss-search .gls-ic svg { width: 17px; height: 17px; display: block; }

/* алфавитный указатель */
.gloss-abc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; position: sticky; top: 64px; z-index: 20; padding: 8px 0; background: linear-gradient(var(--bg), var(--bg) 70%, transparent); }
.gloss-abc a { min-width: 30px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border2); color: var(--muted); font: 600 12.5px 'Space Grotesk',sans-serif; text-decoration: none; transition: border-color .15s, color .15s, opacity .15s; }
.gloss-abc a:hover { border-color: rgba(var(--accent-rgb),.45); color: var(--accent); }
.gloss-abc a.off { opacity: .28; pointer-events: none; }

/* секции по буквам */
.gloss-sec { scroll-margin-top: 108px; margin-bottom: 30px; }
.gloss-letter { font: 700 26px 'Space Grotesk',sans-serif; color: var(--accent); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.gloss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gloss-more { margin-top: 14px; padding: 9px 16px; border-radius: 9px; border: 1px solid var(--border2); background: var(--card); color: var(--muted); font: 500 13px 'Inter',sans-serif; cursor: pointer; transition: border-color .15s, color .15s; }
.gloss-more:hover { border-color: rgba(var(--accent-rgb),.45); color: var(--accent); }

/* glow-карточка термина (механика как у .guide-card) */
.cg-gloss-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 6px; padding: 15px 17px; border-radius: 12px; text-decoration: none; --mx: 50%; --my: 50%; transition: transform .18s, box-shadow .22s; }
.cg-gloss-card > * { position: relative; z-index: 2; }
.cg-gloss-card::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: var(--border-strong); transition: background .3s ease; }
.cg-gloss-card::after { content: ""; position: absolute; inset: 1px; z-index: 1; border-radius: inherit; background: radial-gradient(135% 90% at 100% 0%, rgba(var(--accent-rgb),0.05), transparent 52%), var(--card); }
.cg-gloss-card.hovering::before { background: radial-gradient(220px circle at var(--mx) var(--my), rgba(var(--accent-rgb),0.95), rgba(var(--accent-rgb),0.30) 40%, var(--border-strong) 72%); }
.cg-gloss-card.hovering { box-shadow: 0 0 20px rgba(var(--accent-rgb),0.13), var(--hover-lift); transform: translateY(-2px); }
.ggc-term { font: 600 15px 'Space Grotesk',sans-serif; color: var(--text); transition: color .15s; }
.cg-gloss-card:hover .ggc-term { color: var(--accent); }
.ggc-def { font: 400 12.5px/1.5 'Inter',sans-serif; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.gloss-empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* страница термина (/slovar/{slug}/) */
.gloss-single { max-width: 760px; margin: 0 auto; }
.gloss-term .gloss-term-title { font: 700 30px/1.2 'Space Grotesk',sans-serif; color: var(--text); margin: 6px 0 14px; letter-spacing: -.3px; }
.gloss-term-def { font: 400 17px/1.6 'Inter',sans-serif; color: var(--text); margin-bottom: 14px; }
.gloss-term-aka { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.gloss-term-aka span { color: var(--text); font-weight: 600; }
.gloss-term-body { color: var(--muted); font-size: 15px; line-height: 1.7; }
.gloss-term-body p { margin-bottom: 14px; }
.gloss-back { display: inline-block; margin-top: 18px; font: 500 13px 'Inter',sans-serif; color: var(--accent); text-decoration: none; }
.gloss-related { margin-top: 34px; }
.gloss-rel-h { font: 700 18px 'Space Grotesk',sans-serif; color: var(--text); margin-bottom: 16px; }

@media (max-width: 560px) {
    .gloss-grid { grid-template-columns: 1fr; }
    .gloss-abc { top: 56px; }
}

/* «Что дальше» */
.nextup { background: var(--card-2); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-top: 30px; }
.nu-h { display: flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.nu-h svg { width: 17px; height: 17px; color: var(--accent); }

/* отзывы о статье — отделяем от блока «Что дальше» и даём воздух под заголовком */
.na-reviews { margin-top: 36px; }
.na-reviews .nu-h { margin-bottom: 16px; }
.nu-card { display: flex; align-items: center; gap: 13px; padding: 12px 0; }
.nu-card + .nu-card { border-top: 1px solid var(--border); }
.nu-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: var(--accent); }
.nu-ic svg { width: 17px; height: 17px; }
.nu-title { flex: 1; min-width: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; line-height: 1.3; transition: color .18s; }
.nu-card:hover .nu-title { color: var(--accent); }
.nu-arr { color: var(--muted); flex-shrink: 0; transition: color .18s, transform .18s; }
.nu-card:hover .nu-arr { color: var(--accent); transform: translateX(3px); }
.nu-arr svg { width: 18px; height: 18px; display: block; }

/* sidebar: оглавление + прогресс */
.toc-card { padding: 17px 19px; }
.toc-prog { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.toc-h { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.toc-pct { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; color: var(--accent); }
.toc-track { height: 5px; background: var(--border-strong); border-radius: 3px; overflow: hidden; margin-bottom: 15px; }
.toc-track .fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)); border-radius: 3px; transition: width .25s ease; }
.toc-list { display: flex; flex-direction: column; }
.toc-item { display: flex; gap: 11px; align-items: center; padding: 8px 0; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: color .16s; line-height: 1.35; }
.toc-item:hover { color: var(--text); }
.toc-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.6px solid currentColor; flex-shrink: 0; transition: background .16s, border-color .16s; }
.toc-item.done { color: var(--green); }
.toc-item.done .toc-dot { background: var(--green); border-color: var(--green); }
.toc-item.active { color: var(--accent); font-weight: 600; }
.toc-item.active .toc-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.18); }

/* sidebar: нативное размещение */
.promo-card { display: block; padding: 16px 17px 17px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--border); position: relative; transition: border-color .2s, transform .15s; }
.promo-card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.na-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.na-rec { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.na-label { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); opacity: .6; }
.na-label svg { width: 11px; height: 11px; }
.na-who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.na-av { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; color: #fff; background: linear-gradient(135deg,#C9A1D6,#9B6FB0); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.na-who-id { min-width: 0; }
.na-who-nm { display: flex; align-items: center; gap: 6px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15.5px; letter-spacing: -.02em; }
.na-who-nm .verified { width: 15px; height: 15px; flex-shrink: 0; }
.na-who-tag { color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.na-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 13px 0; margin-bottom: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.na-stat { text-align: center; }
.na-stat .v { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.1; letter-spacing: -.02em; }
.na-stat .v.green { color: var(--green); }
.na-stat .k { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.na-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; border-radius: 11px; background: transparent; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border)); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s, transform .15s; }
.promo-card:hover .na-btn { background: var(--accent-soft); border-color: var(--accent); }
.promo-card:active .na-btn { transform: scale(0.98); }
.na-btn svg { width: 16px; height: 16px; }

/* sidebar: читают сейчас */
.readnow-card { padding: 6px 8px; }
.readnow-head { display: flex; align-items: center; gap: 8px; padding: 12px 10px 11px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.readnow-head svg { width: 14px; height: 14px; color: var(--accent); }
.readnow-row { display: flex; align-items: flex-start; gap: 13px; padding: 11px 10px; border-radius: 10px; transition: background .18s; }
.readnow-row + .readnow-row { border-top: 1px solid var(--border); }
.readnow-row:hover { background: var(--card-2); }
.rn-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--accent); opacity: .45; width: 18px; flex-shrink: 0; text-align: center; line-height: 1.3; }
.rn-title { font-size: 13.5px; font-weight: 500; line-height: 1.4; transition: color .18s; }
.readnow-row:hover .rn-title { color: var(--accent); }

@media (max-width: 720px) {
  .guide-article { padding: 22px 20px; }
  .guide-title { font-size: 25px; }
  .guide-body .alignwide { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
  .guide-body .alignfull { width: calc(100% + 40px); max-width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; }
  .na-body .alignleft, .na-body .alignright, .post-content .alignleft, .post-content .alignright { float: none; margin: 18px 0; max-width: 100%; }
}

/* ════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════════════════════════════ */
.side-block {}
.side-title { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ad-slot { background: var(--card); border: 1px dashed var(--border-strong); border-radius: 14px; min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; transition: border-color .2s; }
.ad-slot:hover { border-color: var(--accent); }
.ad-slot .ad-icon { width: 34px; height: 34px; opacity: 0.5; color: var(--accent); }
.ad-slot .ad-label { color: var(--muted); font-size: 13px; font-weight: 500; }
.ad-slot .ad-label strong { color: var(--accent); }
.ad-slot .ad-sub { color: var(--muted); font-size: 11.5px; opacity: 0.7; }
.exchange-card, .popular-card { position: relative; isolation: isolate; background: transparent; border-radius: 14px; padding: 8px; --mx: 50%; --my: 50%; transition: box-shadow .22s; }
.exchange-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background .18s; }
.exchange-row:hover { background: var(--card-2); }
.ex-fav { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; overflow: hidden; background: var(--card-2); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; }
.ex-fav img { width: 32px; height: 32px; border-radius: 9px; object-fit: contain; background: var(--card); padding: 4px; }
.ex-info { flex: 1; min-width: 0; }
.ex-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--text); }
.ex-meta { color: var(--muted); font-size: 12px; }
.ex-go { color: var(--muted); transition: color .2s, transform .2s; }
.exchange-row:hover .ex-go { color: var(--accent); transform: translateX(2px); }
.popular-row { display: flex; align-items: flex-start; gap: 13px; padding: 11px 12px; border-radius: 10px; transition: background .18s; }
.popular-row:hover { background: var(--card-2); }
.popular-row + .popular-row { border-top: 1px solid var(--border); }
.pop-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: var(--accent); opacity: 0.55; line-height: 1; width: 22px; flex-shrink: 0; }
.pop-text { font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--text); transition: color .15s; }
.popular-row:hover .pop-text { color: var(--accent); }
.pop-text .pop-meta { color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 3px; }

/* кнопка подписки (используется в дайджесте /stati/) */
.newsletter-btn { width: 100%; background: var(--accent); color: #1a120e; border: none; border-radius: 8px; padding: 10px; font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif; transition: filter .2s; }
.newsletter-btn:hover { filter: brightness(1.05); }

/* ════════════════════════════════════════════════════════════════════════
   LIVE MARKET DATA (Индекс страха/жадности · доминация · тепловая карта)
   ════════════════════════════════════════════════════════════════════════ */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: middle; animation: livePulse 1.9s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(76,175,130,0.5); } 70% { box-shadow: 0 0 0 6px rgba(76,175,130,0); } 100% { box-shadow: 0 0 0 0 rgba(76,175,130,0); } }
.data-card.loading { opacity: 0.55; }
.fng-card { padding: 16px 16px 13px; }
.fng-gauge { position: relative; }
.fng-gauge svg { display: block; width: 100%; height: auto; }
.fng-center { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; }
.fng-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 42px; line-height: 1; color: var(--text); letter-spacing: -0.02em; }
.fng-class { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; margin-top: 3px; letter-spacing: 0.01em; }
.fng-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; padding: 0 2px; }
.fng-updated { text-align: center; font-size: 11px; color: var(--muted); opacity: 0.8; margin-top: 9px; }
.dom-card { padding: 15px 16px; display: flex; flex-direction: column; gap: 14px; }
.dom-row { display: grid; grid-template-columns: 44px 1fr 54px; align-items: center; gap: 11px; }
.dom-sym { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; }
.dom-track { height: 7px; border-radius: 4px; background: var(--card-2); overflow: hidden; }
.dom-fill { display: block; height: 100%; border-radius: 4px; width: 0; transition: width .9s cubic-bezier(.4,0,.2,1); }
.dom-pct { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; text-align: right; }
.heat-card { padding: 11px; }
.heat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.heat-cell { border-radius: 9px; padding: 9px 3px; text-align: center; border: 1px solid transparent; transition: transform .15s ease; }
.heat-cell:hover { transform: translateY(-2px); }
.heat-sym { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; color: var(--text); }
.heat-chg { font-size: 11px; font-weight: 600; margin-top: 3px; }

/* ════════════════════════════════════════════════════════════════════════
   CALCULATOR / CONVERTER
   ════════════════════════════════════════════════════════════════════════ */
.converter-wrap { max-width: 560px; margin: 0 auto; padding: 56px 24px 80px; }
.converter-wrap .page-header { margin-bottom: 28px; text-align: center; }

/* Converter card (ported «Конвертер монет» design) */
.cgc { max-width: 452px; margin: 0 auto; }
.cgc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cgc-eyebrow { font: 700 12px 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.cgc-title { font: 600 21px 'Space Grotesk', sans-serif; color: var(--text); }
.cgc-swapbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 9999px; border: 1px solid var(--border2); background: var(--bg2); color: var(--accent); font: 600 12.5px 'Inter', sans-serif; transition: border-color .18s; }
.cgc-swapbtn:hover { border-color: var(--accent); }

.cgc-tabs { display: flex; gap: 4px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.cgc-tabs button { flex: 1; padding: 7px 0; border-radius: 7px; border: none; background: transparent; color: var(--muted); font: 600 13px 'Inter', sans-serif; transition: all .18s; }
.cgc-tabs button.active { background: var(--accent); color: var(--on-accent, #1a120e); }

.cgc-well { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.cgc-well-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.cgc-well-head span:first-child { font: 600 11px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cgc-well-head span:last-child { font: 600 13px 'Space Grotesk', sans-serif; color: var(--muted); }

.cgc-amount { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 9px 14px; border-radius: 10px; background: var(--bg3); border: 1px solid var(--border2); cursor: text; transition: border-color .18s, box-shadow .18s; }
.cgc-amount:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cgc-prefix { font: 700 30px 'Space Grotesk', sans-serif; color: var(--accent); }
.cgc-amount-input { flex: 1; min-width: 0; border: none; background: transparent; color: var(--text); font: 700 30px 'Space Grotesk', sans-serif; outline: none; -moz-appearance: textfield; appearance: textfield; }
.cgc-amount-input::-webkit-outer-spin-button, .cgc-amount-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cgc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 9999px; background: var(--bg3); outline: none; cursor: pointer; }
.cgc-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid var(--card); box-shadow: 0 2px 7px rgba(0,0,0,.45); }
.cgc-range::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid var(--card); border-radius: 50%; background: var(--accent); cursor: pointer; }

.cgc-presets { display: flex; gap: 7px; margin-top: 13px; }
.cgc-preset { flex: 1; padding: 9px 0; border-radius: 8px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); font: 600 13px 'Space Grotesk', sans-serif; transition: all .18s; }
.cgc-preset:hover { border-color: var(--accent); }
.cgc-preset.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.cgc-coins { display: flex; gap: 6px; margin-bottom: 18px; }
.cgc-coin { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 6px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg3); color: var(--text); font: 600 12.5px 'Inter', sans-serif; transition: all .18s; }
.cgc-coin.active { border-color: transparent; background: var(--accent); color: var(--on-accent, #1a120e); }
.cgc-coin-dot { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; font-weight: 700; }

.cgc-result { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-soft), transparent); border: 1px solid rgba(var(--accent-rgb), .25); }
.cgc-result-label { font: 600 11px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cgc-result-mainrow { display: flex; align-items: baseline; gap: 9px; }
.cgc-coindot { flex-shrink: 0; align-self: center; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; font-weight: 700; }
.cgc-result-val { font: 700 32px 'Space Grotesk', sans-serif; color: var(--text); letter-spacing: -.01em; }
.cgc-result-code { font: 600 15px 'Space Grotesk', sans-serif; color: var(--muted); }
.cgc-result-right { text-align: right; flex-shrink: 0; }
.cgc-chg { font: 600 12.5px 'Space Grotesk', sans-serif; }
.cgc-rate { font: 500 11.5px 'Inter', sans-serif; color: var(--muted); margin-top: 2px; }

@media (max-width: 480px) {
    .cgc-result-val { font-size: 26px; }
    .cgc-prefix, .cgc-amount-input { font-size: 26px; }
}
.converter-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 20px; line-height: 1.6; }

/* ════════════════════════════════════════════════════════════════════════
   TRADERS PAGE (/treydery/) — featured-партнёр + единый список
   ════════════════════════════════════════════════════════════════════════ */
/* та же ширина, что у блока трейдеров на главной (1280 − padding − сайдбар 288 − gap 44) */
.traders-page { max-width: 892px; margin: 0 auto; }
.tp-rest { max-width: 760px; margin: 0 auto; }

/* разделитель «Другие трейдеры» */
.tp-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 14px; }
.tp-divider-line { flex: 1; height: 1px; background: var(--border); }
.tp-divider-text { font: 500 11px 'Inter',sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* фильтры */
.tp-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tp-filter { font: 400 12px 'Inter',sans-serif; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border2); color: var(--muted); background: transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: all .15s; }
.tp-filter svg { width: 12px; height: 12px; }
.tp-filter:hover { border-color: rgba(var(--accent-rgb),.4); color: var(--accent); }
.tp-filter.on { background: var(--accent-soft); border-color: rgba(var(--accent-rgb),.45); color: var(--accent); font-weight: 500; }
.tp-cnt { opacity: .7; }

/* единый список */
.tp-list { display: flex; flex-direction: column; gap: 8px; }
.tp-row { display: flex; align-items: center; gap: 13px; padding: 13px 15px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; text-decoration: none; }
.tp-row:hover { border-color: rgba(var(--accent-rgb),.4); }
.tp-row.tp-partner { border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; }
.tp-row.tp-legit   { border-left: 3px solid var(--green);  border-radius: 0 12px 12px 0; }
.tp-row.tp-warn    { border-left: 3px solid var(--yellow); border-radius: 0 12px 12px 0; }
.tp-row.tp-scam    { border-left: 3px solid var(--red);    border-radius: 0 12px 12px 0; }
.tp-av { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font: 700 16px 'Space Grotesk',sans-serif; color: #1a120e; overflow: hidden; }
.tp-av img { width: 100%; height: 100%; object-fit: cover; }
.tp-info { flex: 1; min-width: 0; }
.tp-name-line { display: flex; align-items: center; gap: 7px; margin-bottom: 2px; flex-wrap: wrap; }
.tp-name { display: inline-flex; align-items: center; gap: 5px; font: 600 14px 'Space Grotesk',sans-serif; color: var(--text); transition: color .15s; }
.tp-name .verified { width: 13px; height: 13px; flex-shrink: 0; }
.tp-row:hover .tp-name { color: var(--accent); }
.tp-tag { font: 600 9.5px 'Inter',sans-serif; letter-spacing: .03em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.tp-tag svg { width: 10px; height: 10px; }
.tp-t-ok   { background: rgba(76,175,130,.16); color: var(--green); }
.tp-t-warn { background: rgba(200,152,64,.18); color: var(--yellow); }
.tp-t-scam { background: rgba(224,112,112,.16); color: var(--red); }
.tp-spec { font-size: 11.5px; color: var(--muted); }
.tp-stats { display: flex; gap: 18px; flex-shrink: 0; }
.tp-stat { text-align: right; }
.tp-sv { font: 700 14px 'Space Grotesk',sans-serif; color: var(--text); }
.tp-sv.g { color: var(--green); } .tp-sv.r { color: var(--red); }
.tp-sl { font-size: 10px; color: var(--muted); margin-top: 1px; }
.tp-chev { width: 28px; height: 28px; border-radius: 8px; background: var(--bg2); display: grid; place-items: center; flex-shrink: 0; transition: background .15s; }
.tp-chev svg { width: 16px; height: 16px; color: var(--muted); transition: color .15s, transform .15s; }
.tp-row:hover .tp-chev { background: var(--accent-soft); }
.tp-row:hover .tp-chev svg { color: var(--accent); transform: translateX(1px); }
.tp-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* пагинация списка трейдеров */
.tp-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.tp-pg { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--border); background: var(--card); color: var(--muted); font: 600 13.5px 'Space Grotesk',sans-serif; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.tp-pg:hover:not(:disabled) { border-color: rgba(var(--accent-rgb),.4); color: var(--text); }
.tp-pg.on { background: var(--accent-soft); border-color: rgba(var(--accent-rgb),.45); color: var(--accent); }
.tp-pg:disabled { opacity: .4; cursor: default; }
.tp-pg-nav { font-size: 18px; line-height: 1; }
.tp-pg-gap { align-self: center; padding: 0 2px; color: var(--muted); font: 600 13.5px 'Space Grotesk',sans-serif; }

@media (max-width: 560px) {
    .tp-stat:first-child { display: none; }
    .tp-spec { display: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   SINGLE POST
   ════════════════════════════════════════════════════════════════════════ */
.single-post-wrap { max-width: 800px; margin: 0 auto; padding: 48px 24px 80px; }
.post-header { margin-bottom: 32px; }
.post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.post-title { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; line-height: 1.2; color: var(--text); margin-bottom: 16px; letter-spacing: -0.5px; }
.post-excerpt { font-size: 18px; color: var(--muted); line-height: 1.55; border-left: 3px solid var(--accent); padding-left: 16px; margin-bottom: 24px; }
.post-featured-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 12px; margin-bottom: 32px; }
.post-content { font-size: 16px; line-height: 1.75; color: var(--text); }
.post-content h2 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; margin: 36px 0 16px; letter-spacing: -0.3px; }
.post-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; margin: 28px 0 14px; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--accent); padding: 8px 0 8px 16px; margin: 20px 0; font-style: italic; color: var(--muted); }
.post-content a { color: var(--accent); text-decoration: underline; }
.post-content code { background: var(--bg2); border: 1px solid var(--border-strong); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.post-content img { border-radius: 10px; margin: 20px 0; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.pros-card, .cons-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.pros-card { border-color: rgba(76,175,130,.3); }
.cons-card { border-color: rgba(224,112,112,.3); }
.pros-card h4, .cons-card h4 { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 12px; }
.pros-card h4 { color: var(--green); }
.cons-card h4 { color: var(--red); }
.pros-card ul, .cons-card ul { list-style: none; margin: 0; }
.pros-card li, .cons-card li { font-size: 13px; line-height: 1.55; padding: 4px 0 4px 22px; position: relative; }
.pros-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.cons-card li::before { content: '✕'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ═══ РАЗБОР ПРОЕКТА (single-project_review) — дизайн «Разбор проекта» ═══ */
.crumbs { display: flex; align-items: center; gap: 8px; padding: 0 0 14px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: var(--text); font-weight: 500; }

.article-single { max-width: 1200px; }
.review-single { align-items: start; grid-template-columns: 1fr 312px; }
.review-single .section { margin-bottom: 30px; }
.review-single .block-head { margin-bottom: 18px; }
.review-single .block-head h2 { font-family: 'Space Grotesk', sans-serif; font-size: 23px; font-weight: 700; scroll-margin-top: 88px; }
.review-single .eyebrow { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }

/* стеклянная панель с glow-краем */
.panel { position: relative; isolation: isolate; background: transparent; border-radius: 16px; --mx: 50%; --my: 50%; transition: box-shadow .22s ease; }
.panel > * { position: relative; z-index: 2; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: var(--border-strong); transition: background .3s ease; }
.panel::after { content: ""; position: absolute; inset: 1px; z-index: 1; border-radius: inherit; background: radial-gradient(135% 90% at 100% 0%, rgba(var(--accent-rgb),0.05), transparent 52%), var(--card); }
.panel.hovering::before { background: radial-gradient(300px circle at var(--mx) var(--my), rgba(var(--accent-rgb),0.5), rgba(var(--accent-rgb),0.14) 44%, var(--border-strong) 72%); }
.panel.hovering { box-shadow: var(--hover-lift); }
.panel-pad { padding: 24px 26px; }

/* HERO */
.review-hero { padding: 0; overflow: hidden; }
.review-hero .hero-inner { display: grid; grid-template-columns: 1fr 270px; gap: 30px; padding: 28px 30px; align-items: stretch; }
.hero-accent { position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--vc); z-index: 3; }
.hero-l { display: flex; flex-direction: column; min-width: 0; }
.hero-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.verdict { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 9px; white-space: nowrap; }
.verdict svg { width: 15px; height: 15px; flex-shrink: 0; }
.verdict.ok { background: rgba(76,175,130,.13); color: var(--green); }
.verdict.warn { background: rgba(var(--accent-rgb),.15); color: var(--accent); }
.verdict.scam { background: rgba(224,112,112,.13); color: var(--red); }
.chip { font-size: 12.5px; font-weight: 500; color: var(--muted); padding: 7px 12px; border-radius: 9px; border: 1px solid var(--border-strong); }
.hero-title { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -.5px; margin-bottom: 14px; }
.hero-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.hero-rating .rv { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--text); }
.hero-rating .rmax { color: var(--muted); font-size: 13px; }
.meta-dot { color: var(--border-strong); }
.meta-txt { color: var(--muted); font-size: 13px; }
.reviews-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--card-2); color: var(--text); font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color .2s, color .2s; }
.reviews-btn:hover { border-color: var(--accent); color: var(--accent); }
.reviews-btn svg { width: 14px; height: 14px; }
.byline { color: var(--muted); font-size: 13px; margin: 12px 0 18px; display: flex; align-items: center; gap: 8px; }
.byline .ed { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(var(--accent-rgb),.14); color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 11px; }
/* фирменная аватарка «Cg» (редакционный байлайн) */
.cg-av { display: block; object-fit: cover; background: transparent; box-shadow: none; padding: 0; }
.na-byline .na-av.cg-av { width: 40px; height: 40px; border-radius: 11px; }
.byline .ed.cg-av { width: 26px; height: 26px; border-radius: 7px; }
.short { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); margin-bottom: 0; }
.short .lbl { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; flex-shrink: 0; padding-top: 2px; }
.short .txt { font-size: 14px; line-height: 1.5; }
.hero-r { display: flex; flex-direction: column; gap: 14px; }
.hero-cover { position: relative; width: 100%; flex: 1 1 auto; min-height: 196px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); margin: 0; }
.hero-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-cover.placeholder { background: var(--thumb, var(--card-2)); }
.btn-site { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 48px; border-radius: 11px; border: none; cursor: pointer; background: var(--accent); color: #1a120e; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; box-shadow: 0 6px 18px rgba(var(--accent-rgb),.34); transition: transform .15s, box-shadow .25s, filter .2s; }
.btn-site:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 12px 28px rgba(var(--accent-rgb),.5); }
.btn-site svg { width: 16px; height: 16px; }

/* CRITERIA */
.crit-list { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.crit-row { display: grid; grid-template-columns: 132px 1fr 42px; align-items: center; gap: 16px; }
.crit-name { font-size: 14px; color: var(--text); }
.crit-track { height: 8px; border-radius: 5px; background: var(--card-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); }
.crit-fill { display: block; height: 100%; border-radius: 5px; width: 0; transition: width 1s cubic-bezier(.4,0,.2,1); }
.crit-score { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; text-align: right; }
.crit-summary { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.crit-summary .big { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px; line-height: 1; }
.crit-summary .big small { font-size: 16px; color: var(--muted); font-weight: 500; }
.crit-summary .sumtxt { color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* PROS / CONS */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc-card { padding: 22px 24px; }
.pc-card.pros { --tone: var(--green); --tone-rgb: 76,175,130; }
.pc-card.cons { --tone: var(--red); --tone-rgb: 224,112,112; }
.pc-head { display: flex; align-items: center; gap: 9px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tone); margin-bottom: 16px; }
.pc-head svg { width: 17px; height: 17px; }
.pc-list { display: flex; flex-direction: column; gap: 12px; }
.pc-item { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.45; }
.pc-item .ic { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: rgba(var(--tone-rgb),.13); color: var(--tone); margin-top: 1px; }
.pc-item .ic svg { width: 13px; height: 13px; }

/* FLAGS */
.flags { padding: 22px 26px; }
.flags::after { background: radial-gradient(135% 90% at 100% 0%, rgba(224,112,112,.06), transparent 52%), var(--card); }
.flags-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.flags-head svg { width: 19px; height: 19px; color: var(--red); }
.flags-head h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: var(--red); scroll-margin-top: 88px; }
.flags-list { display: flex; flex-direction: column; gap: 13px; }
.flag-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; }
.flag-item .fnum { flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(224,112,112,.13); color: var(--red); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 12px; }

/* ARTICLE + VERDICT */
.article { padding: 30px 34px; }
.article .atitle { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 6px; scroll-margin-top: 88px; }
.article .lead { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.article-body { font-size: 15px; line-height: 1.72; color: color-mix(in srgb, var(--text) 90%, var(--muted)); }
.article-body h2, .article-body h3 { font-family: 'Space Grotesk', sans-serif; color: var(--text); margin: 26px 0 10px; scroll-margin-top: 90px; }
.article-body h2 { font-size: 21px; font-weight: 700; }
.article-body h3 { font-size: 18px; font-weight: 600; }
.article-body p { margin-bottom: 14px; }
.article-body p b, .article-body strong { color: var(--text); font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 7px; }

/* ── КАСТОМНЫЕ СПИСКИ (класс на блоке списка переключает оформление) ──── */
/* 1 — акцентное тире */
ul.cg-list-dash, ol.cg-list-dash { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.cg-list-dash li { display: flex; gap: 12px; align-items: baseline; margin: 0; padding: 7px 0; }
.cg-list-dash li::before { content: "—"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.cg-list-dash li::marker { content: ""; }
/* 3 — нумерованные плашки */
ul.cg-list-num, ol.cg-list-num { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: cgnum; display: flex; flex-direction: column; gap: 6px; }
.cg-list-num li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0; counter-increment: cgnum; }
.cg-list-num li::marker { content: ""; }
.cg-list-num li::before { content: counter(cgnum); width: 23px; height: 23px; border-radius: 7px; background: rgba(var(--accent-rgb),0.15); border: 1px solid rgba(var(--accent-rgb),0.3); color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body img { border-radius: 10px; margin: 18px 0; max-width: 100%; height: auto; }
.article-body blockquote { margin: 22px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 18px; line-height: 1.5; color: var(--text); }
/* Блок «Вердикт» — цветная заливка по вердикту (scam/warn/ok) */
.vblock { margin-top: 28px; border-radius: 14px; padding: 18px 20px; display: flex; gap: 18px; align-items: flex-start; scroll-margin-top: 88px; }
.vblock .vscore { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.vblock .vstars { display: flex; gap: 2px; margin-bottom: 5px; }
.vblock .vstars svg { width: 14px; height: 14px; }
.vblock .vnum { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 34px; line-height: 1; }
.vblock .vbody { flex: 1; min-width: 0; }
.vblock .vlabel { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 7px; display: inline-flex; align-items: center; gap: 8px; scroll-margin-top: 88px; }
.vblock .vlabel svg { width: 18px; height: 18px; }
.vblock .vtext { font-size: 13.5px; line-height: 1.55; color: color-mix(in srgb, var(--text) 80%, transparent); }
.vblock .disc { font-size: 11.5px; line-height: 1.45; color: var(--muted); margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--border); }
/* SCAM — красный */
.v-scam { background: rgba(224,112,112,0.07); border: 1px solid rgba(224,112,112,0.3); }
.v-scam .vstars { color: #E08080; --vstar-empty: rgba(224,112,112,0.22); }
.v-scam .vnum, .v-scam .vlabel { color: #E96B6B; }
/* WARN — жёлтый */
.v-warn { background: rgba(227,179,65,0.07); border: 1px solid rgba(227,179,65,0.32); }
.v-warn .vstars { color: #E3B341; --vstar-empty: rgba(227,179,65,0.22); }
.v-warn .vnum, .v-warn .vlabel { color: #E8BE50; }
/* OK — зелёный */
.v-ok { background: rgba(76,175,130,0.07); border: 1px solid rgba(76,175,130,0.3); }
.v-ok .vstars { color: #5CCB96; --vstar-empty: rgba(76,175,130,0.22); }
.v-ok .vnum, .v-ok .vlabel { color: #5CCB96; }
/* пустые звёзды и пустая часть частично залитой — приглушённый цвет вердикта */
.vblock .vstars svg.e { color: var(--vstar-empty); }

/* FAQ (details/summary) */
.faq-item { background: transparent; border: 1px solid var(--border-strong); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15.5px; color: var(--text); padding: 15px 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--accent); flex-shrink: 0; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-a { padding: 0 18px 16px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* REVIEWS (демо) */
.reviews-wrap { padding: 28px 30px; scroll-margin-top: 88px; }
.rv-top { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.rv-score { text-align: center; }
.rv-score .big { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 52px; line-height: 1; }
.rv-score .big small { font-size: 22px; color: var(--muted); font-weight: 500; }
.rv-score .stars { margin: 8px 0 5px; }
.rv-score .stars svg { width: 17px; height: 17px; }
.rv-score .cnt { color: var(--muted); font-size: 13px; }
.rv-dist { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rv-bar { display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 12px; }
.rv-bar .lab { color: var(--muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 3px; }
.rv-bar .lab svg { width: 11px; height: 11px; color: var(--accent); }
.rv-bar .track { height: 7px; border-radius: 5px; background: var(--card-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); }
.rv-bar .fill { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg,#E8B596,var(--accent)); }
.rv-bar .pct { color: var(--muted); font-size: 12px; text-align: right; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.rv-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.rv-write { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: none; cursor: pointer; background: var(--accent); color: #1a120e; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; box-shadow: 0 5px 16px rgba(var(--accent-rgb),.3); transition: transform .15s, box-shadow .25s, filter .2s; }
.rv-write:hover { transform: translateY(-2px); filter: brightness(1.04); }
.rv-write svg { width: 15px; height: 15px; }
.rv-sort { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-left: auto; }
.rv-sort select { background: var(--card-2); color: var(--text); border: 1px solid var(--border-strong); border-radius: 8px; padding: 7px 10px; font-family: 'Inter', sans-serif; font-size: 13px; cursor: pointer; }
.rv-list { display: flex; flex-direction: column; gap: 14px; }
.rv-card { padding: 18px 20px; border-radius: 13px; background: var(--card-2); border: 1px solid var(--border); }
.rv-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.rv-card .avatar { width: 40px; height: 40px; font-size: 16px; border-radius: 50%; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #1a120e; }
.rv-who { min-width: 0; flex: 1; }
.rv-who .nm { display: flex; align-items: center; gap: 6px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; }
.rv-who .verified { width: 13px; height: 13px; }
.rv-who .when { color: var(--muted); font-size: 12px; margin-top: 1px; }
.rv-card .stars svg { width: 13px; height: 13px; }
.rv-card .body { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--text) 90%, var(--muted)); }
.rv-card .foot { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.rv-helpful, .rv-reply { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; background: none; border: none; cursor: pointer; padding: 0; transition: color .2s; }
.rv-helpful:hover, .rv-reply:hover { color: var(--accent); }
.rv-helpful svg, .rv-reply svg { width: 14px; height: 14px; }
.rv-helpful.voted { color: var(--accent); }
.rv-helpful.voted svg { fill: rgba(var(--accent-rgb),.22); }

/* ответ редакции под отзывом */
.rv-reply-block { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(var(--accent-rgb),.06); border: 1px solid rgba(var(--accent-rgb),.16); border-left: 3px solid var(--accent); }
.rv-reply-h { display: flex; align-items: center; gap: 8px; font: 600 12.5px 'Space Grotesk',sans-serif; color: var(--accent); margin-bottom: 6px; }
.rv-reply-av { width: 20px; height: 20px; flex: none; border-radius: 6px; background: var(--accent); color: var(--on-accent); font: 700 10px 'Space Grotesk',sans-serif; display: inline-flex; align-items: center; justify-content: center; }
.rv-reply-body { font: 400 13px/1.55 'Inter',sans-serif; color: var(--text); }

/* вложенные ответы пользователей на отзыв (дерево любой вложенности) */
.rv-replies { margin: 14px 0 0 14px; padding-left: 16px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.rv-reply-item .rv-card-top { margin-bottom: 7px; }
.rv-reply-item .body { font-size: 13.5px; }
.rv-reply-item .avatar.sm { width: 34px; height: 34px; font-size: 14px; }
.rv-reply-item .foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
/* на глубине отступ мельче, чтобы длинные ветки не убегали вправо */
.rv-replies .rv-replies { margin-left: 6px; padding-left: 12px; }

/* картинки в отзыве/ответе */
.rv-imgs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 2px; }
.rv-img { display: block; width: 168px; height: 168px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; }
.rv-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.rv-img:hover img { transform: scale(1.06); }
.rv-reply-item .rv-img { width: 132px; height: 132px; }
.rv-reply-item .rv-imgs { margin-top: 8px; }
@media (max-width: 520px){ .rv-img { width: 132px; height: 132px; } .rv-reply-item .rv-img { width: 108px; height: 108px; } }

/* лайтбокс просмотра фото (поверх всего сайта) */
.cg-lb { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(8,9,12,.92); backdrop-filter: blur(6px); }
.cg-lb.open { display: flex; }
.cg-lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 92vw; max-height: 92vh; }
.cg-lb-img { max-width: 92vw; max-height: 84vh; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.6); object-fit: contain; }
.cg-lb-count { font: 600 13px 'Inter',sans-serif; color: rgba(255,255,255,.72); }
.cg-lb-x { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: none; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); transition: background .18s; }
.cg-lb-x:hover { background: rgba(255,255,255,.24); }
.cg-lb-x svg { width: 22px; height: 22px; }
.cg-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: none; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); transition: background .18s; }
.cg-lb-nav:hover { background: rgba(255,255,255,.24); }
.cg-lb-nav svg { width: 24px; height: 24px; }
.cg-lb-prev { left: 20px; }
.cg-lb-next { right: 20px; }
@media (max-width: 520px){ .cg-lb-prev { left: 8px; } .cg-lb-next { right: 8px; } .cg-lb-nav { width: 42px; height: 42px; } }

/* поле загрузки фото в модалке — дропзона (перетаскивание + выбор) */
.field > label .opt { color: var(--muted); font-weight: 400; }
.ph-drop { display: flex; align-items: center; gap: 11px; height: 52px; padding: 0 14px; border: 1px dashed rgba(var(--accent-rgb),.40); border-radius: 10px; background: rgba(var(--accent-rgb),.05); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .25s; }
.ph-drop:hover { background: rgba(var(--accent-rgb),.10); border-color: rgba(var(--accent-rgb),.70); }
.ph-drop:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.16); }
.ph-drop.is-drag { border-color: var(--accent); background: rgba(var(--accent-rgb),.12); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.16); }
.ph-drop.is-full { opacity: .55; cursor: default; }
.ph-drop .ph-ico { width: 19px; height: 19px; flex: none; color: var(--accent); }
.ph-drop .ph-text { flex: 1; min-width: 0; font: 400 13.5px/1.3 'Inter', sans-serif; color: var(--text); }
.ph-drop .ph-text b { color: var(--accent); font-weight: 600; }
.ph-drop .ph-count { font: 600 11.5px/1 'Space Grotesk', monospace; letter-spacing: .02em; color: var(--muted); }
.ph-list { display: flex; gap: 8px; margin-top: 8px; }
.ph-list:empty { display: none; }
.ph-thumb { position: relative; width: 56px; height: 56px; flex: none; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-strong); background: var(--card-2); animation: phPop .22s cubic-bezier(.34,1.56,.64,1); }
.ph-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-del { position: absolute; top: 3px; right: 3px; width: 19px; height: 19px; display: grid; place-items: center; padding: 0; border: none; border-radius: 6px; background: rgba(17,16,16,.75); color: #F0EBE3; cursor: pointer; transition: background .18s, color .18s; }
.ph-del svg { width: 10px; height: 10px; }
.ph-del:hover { background: var(--red); color: #1a120e; }
.ph-del:active { transform: scale(.94); }
.ph-hint { margin-top: 9px; font: 400 11.5px/1.4 'Inter', sans-serif; color: var(--muted); }
@keyframes phPop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }

/* ═══ ФОТО В МАТЕРИАЛЕ: адаптивная рамка + витрина «Доказательства» ═══ */

/* Одиночное фото — рамка по размеру файла (без паспарту) */
.cg-figure { width: fit-content; max-width: 100%; margin: 22px 0; }
.cg-figure .cg-figure-img { display: block; max-width: 100%; max-height: 520px; width: auto; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--border2); cursor: zoom-in; }
.cg-figcap { display: flex; gap: 10px; margin-top: 10px; max-width: 560px; }
.cg-figcap-bar { flex: none; width: 2px; border-radius: 2px; background: var(--accent); }
.cg-figcap-t { font: 400 13px/1.5 'Inter', sans-serif; color: var(--muted); }
.cg-figcap-t a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), .4); text-decoration: none; }

/* Витрина «Доказательства» */
.cg-gallery { margin: 26px 0; border-radius: 16px; }
.cg-gal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cg-gal-kicker { display: flex; align-items: center; gap: 8px; font: 500 10px/1 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.cg-gal-kicker svg { width: 15px; height: 15px; color: var(--red); }
.cg-gal-counter { font: 600 12px/1 'Space Grotesk', sans-serif; color: var(--muted); }
.cg-gallery-stage { position: relative; outline: none; }
.cg-gal-frames { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--border2); }
.cg-gal-frame { position: absolute; inset: 0; opacity: 0; transition: opacity .3s cubic-bezier(.4,0,.2,1); }
.cg-gal-frame.is-active { opacity: 1; }
.cg-gal-img { width: 100%; height: 100%; display: block; }
.cg-gal-img.fit-cover { object-fit: cover; }
.cg-gal-img.fit-contain { object-fit: contain; }
/* стрелки — проявляются при наведении на сцену (CSS, без JS) */
.cg-gallery-arrows { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; pointer-events: none; opacity: 0; transition: opacity .22s cubic-bezier(.4,0,.2,1); }
/* показываем при наведении мышью или клавиатурном фокусе; :has(:focus-visible), а НЕ :focus-within — иначе клик мышью оставляет фокус на кнопке и стрелки «залипают» после ухода курсора */
.cg-gallery-stage:hover .cg-gallery-arrows, .cg-gallery-stage:has(:focus-visible) .cg-gallery-arrows { opacity: 1; }
.cg-gal-arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border2); background: rgba(17,16,16,.72); backdrop-filter: blur(10px); color: var(--text); cursor: pointer; pointer-events: auto; transition: all .22s cubic-bezier(.4,0,.2,1); }
.cg-gal-arrow svg { width: 18px; height: 18px; }
.cg-gal-prev { transform: translateX(-6px); }
.cg-gal-prev svg { transform: rotate(180deg); }
.cg-gal-next { transform: translateX(6px); }
.cg-gallery-stage:hover .cg-gal-prev, .cg-gallery-stage:focus-within .cg-gal-prev { transform: translateX(0); }
.cg-gallery-stage:hover .cg-gal-next, .cg-gallery-stage:focus-within .cg-gal-next { transform: translateX(0); }
.cg-gal-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cg-gal-prev:active { transform: translateX(0) scale(.92); }
.cg-gal-next:active { transform: translateX(0) scale(.92); }
/* центральная зона «на весь экран» — невидимая, кликабельная; отступы по бокам, чтобы не перекрывать стрелки */
.cg-gal-zoom { position: absolute; top: 0; bottom: 0; left: 76px; right: 76px; padding: 0; border: none; background: transparent; cursor: zoom-in; -webkit-appearance: none; appearance: none; }
@media (max-width: 560px) { .cg-gal-zoom { left: 0; right: 0; } }
.cg-gal-cap { margin: 12px 0 16px; font: 400 13px/1.5 'Inter', sans-serif; color: var(--muted); }
.cg-gal-cap a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), .4); text-decoration: none; }
.cg-gal-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cg-gallery[data-total="5"] .cg-gal-tiles, .cg-gallery[data-total="6"] .cg-gal-tiles,
.cg-gallery[data-total="7"] .cg-gal-tiles, .cg-gallery[data-total="8"] .cg-gal-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.cg-gal-tile { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16/10; border-radius: 10px; background: var(--bg2); border: 2px solid var(--border); padding: 9px 10px; cursor: pointer; text-align: left; transition: all .2s cubic-bezier(.4,0,.2,1); }
.cg-gal-tile:hover { background: var(--bg3); }
.cg-gal-tile.is-active { border-color: var(--accent); }
.cg-gal-tile-n { font: 600 15px/1 'Space Grotesk', sans-serif; color: var(--muted); }
.cg-gal-tile.is-active .cg-gal-tile-n { color: var(--accent); }
.cg-gal-tile-l { font: 400 11px/1.35 'Inter', sans-serif; color: var(--muted); }
@media (hover: none) { .cg-gallery-arrows { display: none; } }
@media (max-width: 560px) { .cg-gal-tiles, .cg-gallery[data-total] .cg-gal-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .cg-gal-frame { transition: none; } .cg-gal-prev, .cg-gal-next { transform: none; } }

.rv-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; margin-top: 16px; border-radius: 11px; cursor: pointer; border: 1px solid var(--border-strong); background: transparent; color: var(--text); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s; }
.rv-more:hover { background: var(--card-2); border-color: var(--accent); }

/* ─── САЙДБАР РАЗБОРА ─────────────────────────────────────────────────── */
.rv-aside { display: flex; flex-direction: column; gap: 26px; min-width: 0; position: sticky; top: 88px; align-self: start; }
.rv-aside .side-title { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.trader-spot { padding: 18px; }
.trader-spot::before { background: rgba(227,179,65,.4); }
.trader-spot::after { background: radial-gradient(125% 90% at 100% 0%, rgba(227,179,65,.12), transparent 55%), var(--card); }
.spot-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.avatar { border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #1a120e; overflow: hidden; }
.spot-top .avatar { width: 52px; height: 52px; font-size: 21px; box-shadow: 0 0 0 3px rgba(227,179,65,.28); }
.spot-id { min-width: 0; flex: 1; }
.spot-rankpill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #E3B341; margin-bottom: 3px; }
.spot-rankpill svg { width: 13px; height: 13px; }
.trader-name { display: flex; align-items: center; gap: 6px; }
.review-single .trader-name { justify-content: flex-start; text-align: left; }
.trader-name .nm { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; white-space: nowrap; }
.vmark { position: relative; display: inline-flex; cursor: help; line-height: 0; }
.vmark .verified, .verified { width: 15px; height: 15px; flex-shrink: 0; }
.vmark .tip { position: absolute; top: calc(100% + 9px); left: 50%; transform: translate(-50%, -4px); background: var(--card-2); color: var(--text); border: 1px solid var(--border-strong); padding: 7px 11px; border-radius: 9px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; line-height: 1.2; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 40; }
.vmark .tip::after { content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-bottom-color: var(--card-2); }
.vmark:hover .tip, .vmark:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.trader-tag { color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.spot-rate { display: flex; align-items: center; gap: 8px; padding: 11px 0; margin-bottom: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: #E3B341; }
.spot-rate .stars svg { width: 15px; height: 15px; }
.spot-rate .rv { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: var(--text); margin-left: 4px; }
.btn-review { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; border-radius: 10px; cursor: pointer; border: 1px solid rgba(var(--accent-rgb),.35); background: rgba(var(--accent-rgb),.14); color: var(--accent); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn-review:hover { background: var(--accent); color: #1a120e; border-color: var(--accent); }
.btn-review:active { transform: scale(.98); }
.btn-review svg { width: 15px; height: 15px; }
.spot-rate .spot-reviews { color: var(--muted); font-size: 12px; margin-left: auto; white-space: nowrap; }
.tr-reviews { color: var(--muted); font-size: 11px; margin-top: 2px; opacity: .85; }
.trader-rows { display: flex; flex-direction: column; margin-top: 8px; }
.trader-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.trader-row:last-child { border-bottom: none; }
.trader-row .avatar { width: 40px; height: 40px; font-size: 16px; }
.trader-row .tr-id { flex: 1; min-width: 0; }
.trader-row .trader-name .nm { font-size: 14.5px; }
.trader-row .verified, .trader-row .vmark .verified { width: 13px; height: 13px; }
.tr-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.tr-rate { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); }
.tr-rate .stars svg { width: 12px; height: 12px; }
.tr-rate .rv { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; color: var(--text); }
.btn-review-sm { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 8px; cursor: pointer; border: 1px solid rgba(var(--accent-rgb),.35); background: rgba(var(--accent-rgb),.14); color: var(--accent); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; transition: background .2s, color .2s; }
.btn-review-sm:hover { background: var(--accent); color: #1a120e; }
.btn-review-sm svg { width: 12px; height: 12px; }
.facts { padding: 6px 18px; }
.fact-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.fact-row:last-child { border-bottom: none; }
.fact-k { color: var(--muted); font-size: 13.5px; }
.fact-v { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; text-align: right; }
.fact-v.vstatus { display: inline-flex; align-items: center; gap: 6px; }
.fact-v.vstatus svg { width: 14px; height: 14px; }
.fact-v.vstatus.ok { color: var(--green); }
.fact-v.vstatus.warn { color: var(--accent); }
.fact-v.vstatus.scam { color: var(--red); }
.toc { display: flex; flex-direction: column; gap: 2px; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 9px; color: var(--muted); font-size: 13.5px; font-weight: 500; transition: background .2s, color .2s; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: var(--card-2); }
.toc a.active { color: var(--accent); background: rgba(var(--accent-rgb),.14); border-left-color: var(--accent); font-weight: 600; }
.toc a .tnum { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 12px; opacity: .6; }

/* ═══ РАЗБОР ТРЕЙДЕРА (single-advertiser) — доп. блоки ══════════════════ */
.trader-hero-inner { padding: 26px 30px; }
.th-top { display: grid; grid-template-columns: 1fr 296px; gap: 28px; align-items: stretch; }
.th-l { display: flex; flex-direction: column; min-width: 0; }
.th-rank { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; white-space: nowrap; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #E3B341; margin-bottom: 16px; }
.th-rank svg { width: 15px; height: 15px; }
.th-idrow { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.th-avatar { width: 64px; height: 64px; font-size: 26px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(155,111,176,.28); }
.th-idcol { min-width: 0; }
.th-name { font-family: 'Space Grotesk', sans-serif; font-size: 30px; line-height: 1.08; display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.th-name .vmark .verified, .th-name .verified { width: 22px; height: 22px; }
.th-pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trader-hero-inner .hero-meta { margin: 0 0 18px; }
.trader-hero-inner .short { margin: auto 0 0; }

/* Telegram-карточка */
.tg-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 15px; background: var(--card-2); border: 1px solid var(--border-strong); }
.tg-head { display: flex; align-items: center; gap: 13px; }
.tg-logo { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #2AABEE, #229ED9); box-shadow: 0 4px 12px rgba(42,158,217,.34); }
.tg-logo svg { width: 23px; height: 23px; }
.tg-id { min-width: 0; }
.tg-handle { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); }
.tg-subs { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tg-subs svg { width: 13px; height: 13px; }
.tg-feats { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.tg-feats li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.35; color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.tg-feats svg { width: 17px; height: 17px; flex-shrink: 0; color: #2AABEE; }
.tg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; border-radius: 11px; border: none; cursor: pointer; background: linear-gradient(160deg, #2AABEE, #229ED9); color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14.5px; box-shadow: 0 6px 18px rgba(42,158,217,.36); transition: transform .15s, box-shadow .25s, filter .2s; }
.tg-btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 12px 26px rgba(42,158,217,.5); }
.tg-btn svg { width: 17px; height: 17px; }

/* метрики */
.metrics-bar { display: flex; padding: 18px 12px; }
.metric { flex: 1 1 0; text-align: center; padding: 2px 8px; position: relative; min-width: 0; }
.metric + .metric::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 36px; width: 1px; background: var(--border); }
.metric .m-v { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 23px; line-height: 1; display: inline-flex; align-items: center; gap: 5px; }
.metric .m-v.green { color: var(--green); }
.metric .m-k { color: var(--muted); font-size: 12px; margin-top: 6px; }
.metric .m-k .hint { display: inline-flex; vertical-align: middle; margin-left: 4px; position: relative; cursor: help; color: var(--muted); }
.metric .m-k .hint svg { width: 13px; height: 13px; opacity: .65; transition: opacity .2s, color .2s; }
.metric .m-k .hint:hover svg, .metric .m-k .hint:focus svg { opacity: 1; color: var(--accent); outline: none; }
.hint-pop { position: absolute; bottom: calc(100% + 11px); left: 50%; transform: translateX(-50%) translateY(5px); width: 244px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--border-strong); box-shadow: var(--shadow); color: color-mix(in srgb, var(--text) 92%, var(--muted)); font-family: 'Inter', sans-serif; font-weight: 400; font-size: 12.5px; line-height: 1.5; letter-spacing: 0; text-align: left; text-transform: none; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 30; }
.hint:hover .hint-pop, .hint:focus .hint-pop { opacity: 1; transform: translateX(-50%) translateY(0); }
.hint-pop b { color: var(--text); font-weight: 600; }
.hint-pop .hp-sub { display: block; margin-top: 7px; color: var(--green); font-weight: 600; }
.hint-pop::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) rotate(45deg); width: 9px; height: 9px; margin-top: -5px; background: var(--card); border-right: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }

/* кривая доходности */
.block-head.between { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 0; }
.eq-total { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px; color: var(--green); display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; }
.eq-total.neg { color: var(--red); }
.eq-total span { font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 3px; }
.equity-chart { position: relative; margin-top: 20px; padding-left: 44px; }
.eq-yaxis { position: absolute; left: 0; top: 0; bottom: 26px; width: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.eq-yaxis span { font-family: 'Space Grotesk', sans-serif; font-size: 10.5px; color: var(--muted); text-align: right; }
.eq-svg { display: block; width: 100%; height: 232px; overflow: visible; cursor: crosshair; touch-action: none; }
.eq-cross { position: absolute; top: 0; width: 1px; background: var(--green); opacity: 0; transform: translateX(-.5px); transition: opacity .15s ease; pointer-events: none; }
.eq-hover-dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2.5px solid var(--card); box-shadow: 0 0 0 2px var(--green), 0 2px 8px rgba(0,0,0,.4); opacity: 0; transform: translate(-50%,-50%); transition: opacity .15s ease; pointer-events: none; }
.eq-tip { position: absolute; z-index: 5; transform: translate(-50%,-100%); margin-top: -16px; padding: 8px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--border-strong); box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.eq-tip .tip-v { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: var(--green); line-height: 1.1; }
.eq-tip .tip-v.neg { color: var(--red); }
.eq-tip .tip-m { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.eq-tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg); width: 9px; height: 9px; background: var(--card); border-right: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.eq-tip.below { transform: translate(-50%, 0); margin-top: 16px; }
.eq-tip.below::after { bottom: auto; top: -6px; border-right: none; border-bottom: none; border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong); }
.equity-chart.live .eq-cross, .equity-chart.live .eq-hover-dot, .equity-chart.live .eq-tip { opacity: 1; }
.eq-xaxis { display: flex; justify-content: space-between; margin-top: 8px; }
.eq-xaxis span { font-size: 10.5px; color: var(--muted); }
.eq-disclaimer { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding: 11px 14px; border-radius: 10px; background: rgba(224,160,80,.08); border: 1px solid rgba(224,160,80,.18); color: color-mix(in srgb, var(--accent) 70%, var(--text)); font-size: 12.5px; line-height: 1.45; }
.eq-disclaimer svg { width: 16px; height: 16px; flex-shrink: 0; color: #E0A050; }

/* Telegram-CTA в конце разбора */
.verdict-tg { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: var(--card-2); border: 1px solid rgba(42,158,217,.22); box-shadow: 0 0 14px rgba(42,158,217,.08); display: flex; align-items: center; gap: 16px; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .15s; }
.verdict-tg:hover { border-color: rgba(42,158,217,.4); transform: translateY(-1px); box-shadow: 0 0 20px rgba(42,158,217,.16); }
.verdict-tg .vt-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #2AABEE, #229ED9); box-shadow: 0 6px 16px rgba(42,158,217,.34); }
.verdict-tg .vt-ic svg { width: 24px; height: 24px; color: #fff; }
.verdict-tg .vt-body { flex: 1; min-width: 0; }
.verdict-tg .vt-body .t { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: var(--text); }
.verdict-tg .vt-body .s { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.verdict-tg .vt-go { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 11px; background: linear-gradient(160deg, #2AABEE, #229ED9); color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; box-shadow: 0 6px 16px rgba(42,158,217,.32); transition: transform .15s, filter .2s; }
.verdict-tg:hover .vt-go { filter: brightness(1.05); }
.verdict-tg .vt-go svg { width: 16px; height: 16px; }

/* сухая статистика (сайдбар) */
.stats-card { padding: 16px 18px; }
.stats-hi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.stat-tile { background: var(--card-2); border: 1px solid var(--border); border-radius: 11px; padding: 12px 13px; }
.stat-tile .sv { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; line-height: 1; }
.stat-tile .sv.green { color: var(--green); }
.stat-tile .sv.red { color: var(--red); }
.stat-tile .sk { color: var(--muted); font-size: 11.5px; margin-top: 5px; }
.stats-card .fact-v.warn { color: var(--accent); }

/* ─── PAGINATION ─────────────────────────────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 14px; font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--border-strong); color: var(--muted); border-radius: 9px; transition: all .2s; }
.pagination a:hover { color: var(--text); border-color: var(--accent); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #1a120e; }

/* ─── COMMENTS ───────────────────────────────────────────────────────── */
.comments-area { max-width: 800px; margin: 48px auto 0; }
.comments-area .comments-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { margin-bottom: 18px; }
.comment-body { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.comment-author { font-weight: 600; font-size: 14px; color: var(--text); }
.comment-metadata { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.comment-content { font-size: 14px; line-height: 1.6; color: var(--text); }
.comment-respond { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; margin-top: 24px; }
.comment-respond .comment-reply-title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%; background: var(--bg2); border: 1px solid var(--border-strong); border-radius: 8px;
    padding: 10px 12px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 14px; margin-bottom: 12px; outline: none; transition: border-color .2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); }
.comment-form .submit { background: var(--accent); color: #1a120e; border: none; border-radius: 8px; padding: 10px 22px; font-weight: 600; font-size: 14px; transition: filter .2s; }
.comment-form .submit:hover { filter: brightness(1.05); }

/* ════════════════════════════════════════════════════════════════════════
   MOUSE-FOLLOW GLOW BORDER + медальная подложка карточек трейдеров
   ════════════════════════════════════════════════════════════════════════ */
.trader-card > *, .review-card > *, .exchange-card > *, .popular-card > * { position: relative; z-index: 2; }
.trader-card::before, .review-card::before, .exchange-card::before, .popular-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: var(--border-strong); transition: background .3s ease;
}
.trader-card::after, .review-card::after, .exchange-card::after, .popular-card::after {
    content: ""; position: absolute; inset: 1px; z-index: 1; border-radius: inherit; background: var(--card);
}
.trader-card::after {
    background:
        radial-gradient(125% 85% at 100% 0%, color-mix(in srgb, var(--m1,#E8B596) 15%, transparent), transparent 50%),
        linear-gradient(162deg, color-mix(in srgb, var(--m2,#D4896A) 9%, transparent) 0%, transparent 32%),
        var(--card);
}
.trader-card.hovering::before, .review-card.hovering::before, .exchange-card.hovering::before, .popular-card.hovering::before {
    background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--accent-rgb),0.95), rgba(var(--accent-rgb),0.30) 40%, var(--border-strong) 72%);
}
.trader-card.hovering, .review-card.hovering, .exchange-card.hovering, .popular-card.hovering {
    box-shadow: 0 0 24px rgba(var(--accent-rgb),0.14), var(--hover-lift);
}
.trader-card.top::before { background: rgba(212,137,106,0.4); }
.trader-card.top.hovering::before {
    background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--accent-rgb),0.95), rgba(var(--accent-rgb),0.30) 40%, rgba(212,137,106,0.4) 72%);
}

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: transparent; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 30px 0; gap: 20px; flex-wrap: wrap; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; color: var(--text); }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13.5px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 12.5px; max-width: 360px; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .page-wrap { grid-template-columns: 1fr; }
    .side-col { position: static; }
    .rv-aside { position: static; }
}
@media (max-width: 960px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .main-nav { display: none; }
    .header-inner { gap: 16px; justify-content: space-between; }
    .traders-duo { grid-template-columns: 1fr; }
    .trader-card.hero .hero-body { grid-template-columns: 1fr; gap: 20px; }
    .hero-side { width: 100%; }
    .news-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .article-featured { flex-direction: column; }
    .article-featured-img { width: 100%; min-height: 140px; }
    .review-card { flex-wrap: wrap; }
    .post-title { font-size: 28px; }
    .pros-cons { grid-template-columns: 1fr; }
    .review-hero .hero-inner { grid-template-columns: 1fr; }
    .hero-title { font-size: 27px; }
    .pc-grid { grid-template-columns: 1fr; }
    .rv-top { grid-template-columns: 1fr; gap: 18px; }
    .crit-row { grid-template-columns: 110px 1fr 38px; gap: 10px; }
    .th-top { grid-template-columns: 1fr; gap: 18px; }
    .th-name { font-size: 24px; }
    .metrics-bar { flex-wrap: wrap; }
    .metric { flex: 1 1 50%; padding: 10px 8px; }
    .metric::before { display: none; }
}

/* ========================================================================
 *  СТРАНИЦА ЗАЯВКИ ПАРТНЁРА / РЕКЛАМА  (page-reklamodatelyam.php)
 * ===================================================================== */
.pf-wrap { padding-top: 28px; padding-bottom: 64px; }
.pf-wrap .crumbs { margin: 0 auto 18px; max-width: 1000px; }
.pf-layout { display: grid; grid-template-columns: 1fr 290px; gap: 30px; align-items: start; max-width: 1000px; margin: 0 auto; }
.pf-main { min-width: 0; }

.pf-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; }
.pf-h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 27px; color: var(--text); margin-bottom: 8px; letter-spacing: -.02em; }
.pf-sub { font-size: 14px; line-height: 1.55; color: var(--muted); margin-bottom: 26px; max-width: 60ch; }

.pf-section { margin-bottom: 24px; }
.pf-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pf-sec-num { width: 24px; height: 24px; border-radius: 7px; background: rgba(var(--accent-rgb),.15); border: 1px solid rgba(var(--accent-rgb),.3); color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; }
.pf-sec-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: var(--text); }

.pf-field { margin-bottom: 14px; }
.pf-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-label { font-size: 12.5px; font-weight: 500; color: color-mix(in srgb, var(--text) 80%, transparent); margin-bottom: 6px; display: block; }
.pf-req { color: var(--accent); }
.pf-opt { font-size: 11px; color: var(--muted); font-weight: 400; }
.pf-input { width: 100%; background: var(--card-2); border: 1px solid var(--border); border-radius: 9px; padding: 11px 13px; color: var(--text); font-size: 13.5px; font-family: 'Inter', sans-serif; outline: none; transition: border-color .15s; }
.pf-input:focus { border-color: rgba(var(--accent-rgb),.5); }
.pf-input::placeholder { color: var(--muted); opacity: .7; }
.pf-textarea { resize: vertical; min-height: 76px; line-height: 1.5; }
.pf-hint { font-size: 11px; color: var(--muted); margin-top: 5px; }

.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip { font-size: 12.5px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--border); color: var(--muted); background: transparent; cursor: pointer; transition: all .15s; font-family: 'Inter', sans-serif; }
.pf-chip:hover { border-color: var(--border-strong); }
.pf-chip.on { background: rgba(var(--accent-rgb),.14); border-color: rgba(var(--accent-rgb),.45); color: var(--accent); font-weight: 500; }

.pf-radio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.pf-rcard { display: block; text-align: left; padding: 13px 14px; border: 1px solid var(--border); border-radius: 11px; cursor: pointer; transition: all .15s; background: transparent; font-family: 'Inter', sans-serif; }
.pf-rcard:hover { border-color: var(--border-strong); }
.pf-rcard.on { border-color: rgba(var(--accent-rgb),.5); background: rgba(var(--accent-rgb),.06); }
.pf-rcard-ic { display: block; margin-bottom: 7px; }
.pf-rcard-ic svg { width: 20px; height: 20px; color: var(--accent); }
.pf-rcard-t { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.pf-rcard-d { display: block; font-size: 11px; color: var(--muted); line-height: 1.35; }

.pf-consent { display: flex; gap: 11px; align-items: flex-start; text-align: left; width: 100%; padding: 14px 16px; background: var(--card-2); border: 1px solid var(--border); border-radius: 11px; margin-bottom: 18px; cursor: pointer; font-family: 'Inter', sans-serif; }
.pf-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-strong); flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; transition: all .15s; }
.pf-check svg { width: 13px; height: 13px; color: var(--on-accent, #1a120e); opacity: 0; }
.pf-consent.on .pf-check { background: var(--accent); border-color: var(--accent); }
.pf-consent.on .pf-check svg { opacity: 1; }
.pf-consent-text { font-size: 12.5px; line-height: 1.5; color: color-mix(in srgb, var(--text) 72%, transparent); }

.pf-submit { width: 100%; padding: 14px; border: none; border-radius: 11px; background: linear-gradient(135deg, var(--accent), var(--accent-strong, #C2714F)); color: var(--on-accent, #1a120e); font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity .15s; }
.pf-submit:hover { opacity: .92; }
.pf-submit:disabled { opacity: .55; cursor: default; }
.pf-submit svg { width: 17px; height: 17px; }
.pf-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 11px; }
.pf-note.err { color: var(--red); }

/* сайдбар */
.pf-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 88px; }
.pf-scard { background: var(--card-2); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.pf-scard-h { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pf-scard-h svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.pf-step { display: flex; gap: 11px; padding: 9px 0; }
.pf-step + .pf-step { border-top: 1px solid var(--border); }
.pf-step-ic { width: 26px; height: 26px; border-radius: 8px; background: rgba(var(--accent-rgb),.1); display: grid; place-items: center; flex-shrink: 0; }
.pf-step-ic svg { width: 14px; height: 14px; color: var(--accent); }
.pf-step-tx { min-width: 0; }
.pf-step-t { display: block; font-size: 12.5px; font-weight: 500; color: var(--text); }
.pf-step-d { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; line-height: 1.4; }
.pf-trust { display: flex; gap: 9px; align-items: flex-start; padding: 7px 0; font-size: 12px; line-height: 1.45; color: color-mix(in srgb, var(--text) 72%, transparent); }
.pf-trust-ic { flex-shrink: 0; margin-top: 1px; }
.pf-trust-ic svg { width: 14px; height: 14px; color: var(--green); }

/* успех */
.pf-done { text-align: center; padding: 40px 20px; }
.pf-done-ic svg { width: 56px; height: 56px; color: var(--green); margin-bottom: 14px; }
.pf-done-t { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; color: var(--text); margin-bottom: 8px; }
.pf-done-d { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 44ch; margin: 0 auto; }

@media (max-width: 860px) {
  .pf-layout { grid-template-columns: 1fr; }
  .pf-side { position: static; }
  .pf-frow { grid-template-columns: 1fr; }
  .pf-radio { grid-template-columns: 1fr; }
}
