/* ============ TGChoice — стиль «спокойный web3» ============
   Все основные цвета — здесь. Меняешь переменную — меняется весь сайт. */
:root {
  --bg: #0b0d14;            /* фон страницы */
  --surface: #12151f;       /* карточки, таблица */
  --surface-2: #181c28;     /* поля ввода, наведение */
  --border: #232838;
  --text: #eef0f6;
  --muted: #8a91a6;

  /* фирменные цвета: оранжевый — главный акцент, синий — второй */
  --orange: #ff8a2b;
  --orange-2: #ff5a1f;
  --blue: #3b82ff;
  --blue-2: #1f5fe0;
  --g1: var(--orange); --g3: var(--blue);
  --grad: linear-gradient(135deg, var(--orange), var(--orange-2));       /* кнопки, логотип */
  --grad-blue: linear-gradient(135deg, #5b9bff, var(--blue-2));          /* аватарки, график */

  --ok: #2bd48a;  --warn: #f5b13d;  --bad: #ff5d6c;  --new: #7d8599;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ---------- шапка ---------- */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 20, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 15px;
  box-shadow: 0 4px 18px rgba(255, 138, 43, .35);
}
.logo .accent { color: var(--orange); }

/* ---------- первый экран ---------- */
.hero { padding: 56px 0 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 { margin: 18px 0 12px; font-size: clamp(30px, 5.5vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.hero h1 .accent { color: var(--orange); }
.hero h1 .accent-blue { color: var(--blue); }
.hero p { margin: 0; color: var(--muted); font-size: 17px; max-width: 620px; }
.back { display: inline-block; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.back:hover { color: var(--text); }

/* ---------- фильтры ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 18px;
  padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.filters input, .filters select {
  padding: 12px 16px; border-radius: 12px; border: 1px solid transparent;
  background: var(--surface-2); color: var(--text); font: inherit; font-size: 15px; outline: none; transition: .15s;
}
.filters input:focus, .filters select:focus { border-color: var(--g3); }
.filters input[type=search] { flex: 1; min-width: 200px; }
.btn, .filters button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--grad); color: #fff; font: inherit; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 20px rgba(255, 120, 60, .30); transition: transform .15s, box-shadow .15s;
}
.btn:hover, .filters button:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 120, 60, .45); }

/* ---------- таблица ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; white-space: nowrap; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--border); }
tbody tr { border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; }
tbody tr:last-child { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.rank { color: var(--muted); font-weight: 700; width: 44px; }
tbody tr:nth-child(-n+3) .rank { color: var(--text); }

.ch { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 16px;
  background: var(--grad-blue);
}
.ch b { display: block; font-weight: 700; }
.ch small { color: var(--muted); font-size: 13px; }
.up { color: var(--ok); } .down { color: var(--bad); }

/* вердикты */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.ok   { color: var(--ok);   background: rgba(43, 212, 138, .12); }
.badge.warn { color: var(--warn); background: rgba(245, 177, 61, .12); }
.badge.bad  { color: var(--bad);  background: rgba(255, 93, 108, .12); }
.badge.new  { color: var(--new);  background: rgba(125, 133, 153, .14); }

/* оценка */
.score {
  display: inline-grid; place-items: center; min-width: 46px; height: 32px; padding: 0 10px;
  border-radius: 10px; font-weight: 800; font-variant-numeric: tabular-nums;
  background: var(--surface-2); border: 1px solid var(--border);
}
.score.ok { color: var(--ok); } .score.warn { color: var(--warn); } .score.bad { color: var(--bad); } .score.new { color: var(--new); }

/* ---------- страница канала ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 16px 0; }
.card h3 { margin: 0 0 14px; font-size: 18px; }
.channel-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.channel-head .avatar { width: 64px; height: 64px; border-radius: 18px; font-size: 26px; }
.channel-head h1 { margin: 0 0 4px; }
.big-score {
  margin-left: auto; text-align: center; padding: 14px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.big-score b { display: block; font-size: 34px; line-height: 1; font-weight: 800; }
.big-score small { color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat { background: var(--surface-2); border-radius: 14px; padding: 14px 16px; }
.stat small { color: var(--muted); display: block; font-size: 13px; margin-bottom: 4px; }
.stat b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 140px; }
.bars div { flex: 1; background: var(--grad-blue); background-size: 100% 140px; background-position: bottom; border-radius: 6px 6px 2px 2px; min-height: 4px; opacity: .85; transition: opacity .15s; }
.bars div:hover { opacity: 1; }
.empty { padding: 48px; text-align: center; color: var(--muted); }

/* ---------- подвал ---------- */
footer { margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

@media (max-width: 640px) {
  .big-score { margin-left: 0; }
  .hero { padding-top: 36px; }
}

/* ============ Новости ============ */
.section { margin-top: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.link-more { color: var(--orange); font-weight: 700; font-size: 15px; }
.link-more:hover { text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: 14px; transition: .15s; }
.chip:hover { color: var(--text); border-color: #343b50; }
.chip.active { background: var(--orange); border-color: var(--orange); color: #1a0d00; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.news-card, .news-featured {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .15s, border-color .15s;
}
.news-card:hover, .news-featured:hover { transform: translateY(-2px); border-color: #343b50; }
.news-thumb {
  aspect-ratio: 16 / 9; background-size: cover; background-position: center;
  display: grid; place-items: center;
}
.news-thumb span { font-weight: 800; font-size: 20px; color: rgba(255,255,255,.9); letter-spacing: -.01em; }
/* заглушки без картинки — по цвету темы */
.news-thumb--market { background: linear-gradient(135deg, #ff8a2b, #ff5a1f); }
.news-thumb--btc    { background: linear-gradient(135deg, #f7931a, #c86a00); }
.news-thumb--alts   { background: linear-gradient(135deg, #5b9bff, #1f5fe0); }
.news-thumb--defi   { background: linear-gradient(135deg, #3b82ff, #233a8a); }
.news-thumb--reg    { background: linear-gradient(135deg, #4a5168, #262b3a); }
.news-thumb--tg     { background: linear-gradient(135deg, #2aabee, #1d7fc2); }
.news-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.news-body h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.news-body p { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.tag { padding: 3px 10px; border-radius: 999px; background: rgba(255, 138, 43, .12); color: var(--orange); font-weight: 700; font-size: 12px; }

.news-featured { display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: 16px; }
.news-featured .news-thumb { aspect-ratio: auto; min-height: 280px; }
.news-featured .news-thumb span { font-size: 28px; }
.news-featured .news-body { padding: 28px; justify-content: center; gap: 12px; }
.news-featured h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; letter-spacing: -.02em; }
.news-featured p { -webkit-line-clamp: 4; font-size: 16px; }

.article { max-width: 720px; padding-top: 40px; }
.article h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; letter-spacing: -.03em; margin: 14px 0 12px; }
.article .lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.article-img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.article-body { font-size: 17px; line-height: 1.75; }
.article-body p { margin: 0 0 1.1em; }
.source { color: var(--muted); font-size: 15px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 28px; }
.source a { color: var(--blue); }

@media (max-width: 760px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured .news-thumb { min-height: 180px; }
}


/* ============ Меню-«остров» ============ */
.island {
  position: relative; display: flex; gap: 2px; padding: 5px;
  background: rgba(24, 28, 40, .85); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.island a {
  position: relative; z-index: 1; padding: 9px 20px; border-radius: 999px;
  color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: color .25s;
}
.island a:hover { color: var(--text); }
.island a.on { color: #12141c; }
.island-pill {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; opacity: 0;
  border-radius: 999px; background: #f4f5fa;
  box-shadow: 0 4px 14px rgba(255, 255, 255, .12);
  transition: transform .45s cubic-bezier(.34, 1.4, .5, 1), width .45s cubic-bezier(.34, 1.4, .5, 1), opacity .2s;
}
.header-right { justify-self: end; }

@media (max-width: 640px) {
  header .wrap { grid-template-columns: auto 1fr; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .island { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .island a { padding: 8px 14px; font-size: 14px; }
  .header-right { display: none; }
}
@media (prefers-reduced-motion: reduce) { .island-pill { transition: none; } }

/* ============ Главная: топ-7 плитками ============ */
.hero--center { text-align: center; }
.hero--center p { margin: 0 auto; }
.muted { color: var(--muted); }
.v-ok { color: var(--ok); } .v-warn { color: var(--warn); } .v-bad { color: var(--bad); } .v-new { color: var(--new); }

.top-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 16px; }
.top-count { color: var(--muted); font-weight: 600; font-size: 14px; }
.view-switch { display: flex; padding: 4px; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.view-switch button { display: grid; place-items: center; width: 36px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; transition: .15s; }
.view-switch button:hover { color: var(--text); }
.view-switch button.on { background: var(--blue); color: #fff; }

.top-view[data-view="grid"] .top-list { display: none; }
.top-view[data-view="list"] .top-grid { display: none; }

.top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 16px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: center; }
.tile-box {
  position: relative; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 8px;
  display: grid; place-items: center; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.tile:hover .tile-box, .tile:focus-visible .tile-box { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 12px 30px rgba(255, 138, 43, .15); }
.tile:focus-visible { outline: none; }
.tile-avatar {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  background: var(--grad-blue); color: #fff; font-weight: 800; font-size: 28px;
  box-shadow: 0 8px 24px rgba(59, 130, 255, .3);
}
.tile-rank { position: absolute; top: 12px; left: 14px; color: var(--muted); font-weight: 800; font-size: 14px; }
.tile:nth-child(1) .tile-rank { color: var(--orange); }
.tile-score { position: absolute; top: 10px; right: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: 14px; background: var(--surface-2); }
.tile-score.ok { color: var(--ok); } .tile-score.warn { color: var(--warn); } .tile-score.bad { color: var(--bad); } .tile-score.new { color: var(--new); }
.tile-name { font-weight: 700; font-size: 16px; }
.tile-sub { color: var(--muted); font-size: 13px; }

/* список */
.top-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.top-list-head, .top-row { display: grid; grid-template-columns: 2.2fr 1.3fr 1fr 1.2fr .7fr; align-items: center; gap: 12px; padding: 12px 18px; }
.top-list-head { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--border); }
.top-row { width: 100%; border: 0; border-bottom: 1px solid var(--border); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .15s; }
.top-row:last-child { border-bottom: 0; }
.top-row:hover { background: var(--surface-2); }
.top-list .num { text-align: right; font-variant-numeric: tabular-nums; }
.rank-sm { width: 18px; color: var(--muted); font-weight: 700; }

/* мини-карточка */
.info {
  width: min(460px, calc(100vw - 32px)); padding: 22px; margin: auto;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.info[open] { animation: infoIn .28s cubic-bezier(.34, 1.3, .5, 1); }
.info::backdrop { background: rgba(5, 6, 10, .6); backdrop-filter: blur(4px); }
@keyframes infoIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.info-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.info-nav button { border: 0; background: var(--surface-2); color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.info-nav button:hover { color: var(--text); }
.info-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.info-avatar { width: 56px; height: 56px; border-radius: 16px; font-size: 24px; }
.info-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.info-head a { color: var(--blue); font-size: 14px; font-weight: 600; }
.info-score { margin-left: auto; text-align: center; }
.info-score b { display: block; font-size: 32px; line-height: 1; font-weight: 800; }
.info-score small { color: var(--muted); font-size: 12px; }
.info-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-rows div { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.info-rows small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.info-rows b { font-size: 17px; font-variant-numeric: tabular-nums; }
.info-verdict { margin: 16px 0 18px; }
.info-verdict p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.info-verdict p:empty { display: none; }
.info-actions { display: grid; gap: 8px; }
.btn-ghost { background: var(--surface-2); color: var(--text); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; background: #20253a; }

@media (max-width: 860px) { .top-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .top-grid { grid-template-columns: repeat(2, 1fr); }
  .top-list-head { display: none; }
  .top-row { grid-template-columns: 1fr auto; }
  .top-row > span:nth-child(2), .top-row > span:nth-child(3), .top-row > span:nth-child(4) { display: none; }
  .info { margin: auto auto 0; border-radius: 24px 24px 0 0; width: 100vw; max-width: 100vw; }
}


/* ============ Слоган на главной ============ */
:root { --font-display: "Onest", "Manrope", system-ui, sans-serif; --font-mono: "JetBrains Mono", ui-monospace, monospace; }
.hero-slogan { padding: 72px 0 36px; }
.mono-tag {
  display: inline-block; font: 500 13px/1 var(--font-mono); color: var(--blue);
  padding: 8px 12px; border-radius: 8px;
  border: 1px solid rgba(59, 130, 255, .35); background: rgba(59, 130, 255, .08);
}
.hero-slogan h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.04em;
  margin: 24px 0 18px;
}
.hero-slogan h1 .dot { color: var(--orange); }
.hero-slogan p { font-size: 18px; max-width: 560px; }
.hero-slogan .eyebrow { margin-top: 26px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }


/* ============ Фон: медленно плывущие пятна света ============
   Яркость — в rgba(..., 0.xx), скорость — в animation (секунды). */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-1 { /* оранжевое — слева сверху */
  width: 70vmax; height: 70vmax; left: -25vmax; top: -35vmax;
  background: radial-gradient(circle, rgba(255, 138, 43, .16) 0%, rgba(255, 138, 43, .05) 40%, transparent 68%);
  animation: drift1 38s ease-in-out infinite alternate;
}
.orb-2 { /* синее — справа */
  width: 65vmax; height: 65vmax; right: -28vmax; top: 5vmax;
  background: radial-gradient(circle, rgba(59, 130, 255, .15) 0%, rgba(59, 130, 255, .05) 40%, transparent 68%);
  animation: drift2 46s ease-in-out infinite alternate;
}
.orb-3 { /* слабое оранжево-красное — снизу */
  width: 55vmax; height: 55vmax; left: 15vmax; bottom: -40vmax;
  background: radial-gradient(circle, rgba(255, 90, 31, .10) 0%, transparent 65%);
  animation: drift3 54s ease-in-out infinite alternate;
}
@keyframes drift1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(12vw, 8vh) scale(1.08); } 100% { transform: translate(4vw, 18vh) scale(.95); } }
@keyframes drift2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-14vw, 12vh) scale(1.1); } 100% { transform: translate(-6vw, -6vh) scale(1); } }
@keyframes drift3 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(18vw, -14vh) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* =====================================================================
   ТЕМА «LUME»: тёплый чёрный, ретро-мазки, зерно, заголовки с засечками.
   Этот блок идёт последним и перекрывает всё, что выше.
   Вернуть прошлый вид: удалить блок или взять style_v2_backup.css
   ===================================================================== */
:root {
  --bg: #080707;
  --surface: rgba(255, 245, 230, .025);
  --surface-2: rgba(255, 245, 230, .055);
  --border: rgba(255, 240, 220, .09);
  --text: #eee7dc;          /* кремовый белый */
  --muted: #8f877b;         /* тёплый серый */

  /* ретро-палитра */
  --orange: #e2712f;        /* апельсин */
  --orange-2: #b4432b;      /* терракот */
  --amber: #d8a24c;         /* янтарь */
  --teal: #4c9a90;          /* бирюза */
  --teal-deep: #1e4945;
  --blue: var(--teal);      /* «второй цвет» теперь бирюза */

  --ok: #6cc08e; --warn: #d8a24c; --bad: #d65a42; --new: #8f877b;

  --grad: linear-gradient(135deg, var(--orange), var(--orange-2));
  --grad-blue: linear-gradient(140deg, #5aa79c, var(--teal-deep));
  /* «мазок» как на картах Lume */
  --smear:
    radial-gradient(60% 90% at 78% 18%, rgba(216, 162, 76, .85), transparent 60%),
    radial-gradient(55% 70% at 55% 48%, rgba(180, 67, 43, .9), transparent 62%),
    radial-gradient(80% 80% at 10% 95%, rgba(76, 154, 144, .85), transparent 60%),
    #0e0d0c;

  --font-serif: "Noto Serif Display", "Lora", "Georgia", serif;
  --radius: 16px;
}

body { background: var(--bg); color: var(--text); overflow-x: clip; }

/* плёночное зерно поверх всего сайта */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* фоновые пятна — в ретро-цветах */
.orb-1 { background: radial-gradient(circle, rgba(180, 67, 43, .16) 0%, rgba(180, 67, 43, .05) 40%, transparent 68%); }
.orb-2 { background: radial-gradient(circle, rgba(76, 154, 144, .13) 0%, rgba(76, 154, 144, .04) 40%, transparent 68%); }
.orb-3 { background: radial-gradient(circle, rgba(216, 162, 76, .09) 0%, transparent 65%); }

/* шапка */
header { background: rgba(8, 7, 7, .7); border-bottom-color: var(--border); }
.logo-mark { background: var(--smear); box-shadow: 0 4px 18px rgba(180, 67, 43, .35); }
.logo .accent { color: var(--amber); }
.island { background: rgba(255, 245, 230, .04); }
.island-pill { background: linear-gradient(180deg, #fbf6ee, #d9d2c6); box-shadow: 0 0 18px rgba(255, 240, 220, .18); }

/* заголовки с засечками */
h1, .section-title h2, .section-head h2, .news-featured h2, .article h1 {
  font-family: var(--font-serif); font-weight: 400; font-stretch: 72%;
  letter-spacing: -.01em;
}
.hero h1 { font-weight: 400; }
.hero h1 .accent { color: var(--amber); }
.hero h1 .accent-blue { color: var(--teal); }

/* кнопки: светлая таблетка со свечением */
.btn, .filters button {
  background: linear-gradient(180deg, #fbf6ee, #d6cfc3); color: #141210;
  border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 13px 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 6px 26px rgba(255, 235, 210, .16);
}
.btn:hover, .filters button:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 8px 34px rgba(255, 235, 210, .28); }
.btn-sm { padding: 9px 16px; font-size: 11px; }
.btn-ghost { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--border) inset; }
.btn-ghost:hover { background: rgba(255, 245, 230, .09); box-shadow: 0 0 0 1px var(--border) inset; }
.btn-text { color: var(--muted); font-weight: 600; font-size: 15px; }
.btn-text:hover { color: var(--text); }
.link-more { color: var(--amber); }

/* ---------- первый экран ---------- */
.hero-lume {
  position: relative; isolation: isolate; text-align: center;
  padding: 96px 0 72px; min-height: 560px;
}
/* тонкие вертикальные линии сетки */
.hero-lume::before {
  content: ""; position: absolute; z-index: -2; top: -72px; bottom: 0; left: 50%;
  width: 100vw; transform: translateX(-50%);
  background-image: linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 25% 100%; background-position: 12.5% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
/* тёплое свечение за заголовком */
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 150px; width: 520px; height: 260px;
  transform: translateX(-50%); border-radius: 50%; filter: blur(60px);
  background: radial-gradient(closest-side, rgba(180, 67, 43, .45), rgba(216, 162, 76, .18) 55%, transparent);
  animation: glowPulse 9s ease-in-out infinite alternate;
}
@keyframes glowPulse { from { opacity: .7; transform: translateX(-50%) scale(.95); } to { opacity: 1; transform: translateX(-50%) scale(1.06); } }

.pill-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 600;
}
.hero-lume h1 {
  font-size: clamp(48px, 7.6vw, 92px); line-height: .96; margin: 26px 0 22px; color: #f6f0e6;
  text-shadow: 0 0 40px rgba(255, 220, 190, .12);
}
.hero-sub { color: var(--muted); font-size: 17px; max-width: 470px; margin: 0 auto; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.hero-cats { margin-top: 64px; color: #5f594f; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* плавающие карточки каналов №1 и №2 */
.hero-cards { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.float-card {
  pointer-events: auto; position: absolute; width: 250px; aspect-ratio: 1.586; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between; text-align: left;
  border: 1px solid rgba(255, 240, 220, .12); border-radius: 16px; overflow: hidden; cursor: pointer;
  color: #f4ede2; font: inherit; background: var(--smear);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.float-card::after { /* зерно на карте */
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.fc-left  { left: -140px; top: 230px; --r: -16deg; animation: floatA 9s ease-in-out infinite; }
.fc-right { right: -140px; top: 110px; --r: 14deg;  animation: floatB 11s ease-in-out infinite; }
.fc-right { background:
    radial-gradient(60% 90% at 20% 80%, rgba(216, 162, 76, .8), transparent 60%),
    radial-gradient(55% 70% at 45% 45%, rgba(180, 67, 43, .85), transparent 62%),
    radial-gradient(80% 80% at 95% 5%, rgba(76, 154, 144, .8), transparent 60%), #0e0d0c; }
@keyframes floatA { 0%,100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) + 2deg)) translateY(-14px); } }
@keyframes floatB { 0%,100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) - 2deg)) translateY(12px); } }
.float-card:hover { border-color: rgba(255, 240, 220, .3); }
.fc-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.fc-score { font-family: var(--font-serif); font-size: 26px; line-height: 1; letter-spacing: 0; text-transform: none; }
.fc-chip { /* «чип» как на банковской карте */
  width: 38px; height: 30px; border-radius: 6px; display: grid; place-items: center;
  background: linear-gradient(135deg, #d9d2c6, #8f877b); color: #1a1714; font-weight: 800; font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.fc-bottom b { display: block; font-size: 16px; }
.fc-bottom small { opacity: .75; font-size: 12px; }

/* три преимущества */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features > div { padding: 28px 26px 30px; }
.features > div + div { border-left: 1px solid var(--border); }
.features svg { color: var(--text); margin-bottom: 18px; }
.features h3 { margin: 0 0 6px; font-size: 16px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

/* заголовки разделов */
.section-title { text-align: center; margin: 80px 0 28px; scroll-margin-top: 90px; }
.section-title h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0 0 10px; }
.section-title p { margin: 0; color: var(--muted); }
.section-head h2 { font-size: 32px; }

/* плитки топа */
.tile-box { background: var(--surface); border-color: var(--border); overflow: hidden; }
.tile-box::before { /* мягкий мазок в углу */
  content: ""; position: absolute; right: -30%; bottom: -60%; width: 90%; height: 120%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(180, 67, 43, .35), rgba(216, 162, 76, .12) 60%, transparent);
  opacity: .5; transition: opacity .3s;
}
.tile:hover .tile-box { border-color: rgba(255, 240, 220, .22); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.tile:hover .tile-box::before { opacity: 1; }
.tile-avatar, .avatar { background: var(--smear); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); position: relative; }
.tile-rank, .tile-score, .tile-avatar { z-index: 1; }
.tile:nth-child(1) .tile-rank { color: var(--amber); }
.tile-score { background: rgba(0, 0, 0, .35); font-family: var(--font-serif); font-size: 18px; font-weight: 500; }
.view-switch button.on { background: #ece5da; color: #141210; }
.score { background: rgba(0,0,0,.25); }

/* блок с цифрами */
.bento { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bento-card {
  position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 245, 230, .04), rgba(255, 245, 230, .015));
  border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px;
}
.bento-card h3 { margin: 0 0 8px; font-size: 17px; }
.bento-card p { margin: 0; color: var(--muted); font-size: 15px; max-width: 360px; }
.bento-card small { color: var(--muted); font-size: 14px; }
.big-num { font-family: var(--font-serif); font-stretch: 72%; font-weight: 300; font-size: 64px; line-height: 1; margin-bottom: 6px; }
.b-wide { grid-column: 1 / 3; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
.b-tall { grid-column: 3; grid-row: 1 / 3; align-items: center; justify-content: center; text-align: center; gap: 4px; }
.b-tall .big-num { font-size: 84px; }
.b-tall .btn { margin-top: 18px; position: relative; z-index: 1; }
.smear-corner {
  position: absolute; left: -10%; right: -10%; bottom: -55%; height: 80%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(180, 67, 43, .7), rgba(216, 162, 76, .25) 55%, transparent); filter: blur(10px);
}
.b-tall > *:not(.smear-corner) { position: relative; z-index: 1; }
.rings { position: relative; width: 90px; height: 60px; flex: none; }
.rings i { position: absolute; top: 0; width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--teal); box-shadow: 0 0 18px rgba(76, 154, 144, .4); }
.rings i:first-child { left: 0; } .rings i:last-child { left: 30px; }

/* мини-карточка */
.info { background: #0f0e0d; border-color: var(--border); }
.info-avatar { background: var(--smear); }
.info-head h2 { font-family: var(--font-serif); font-weight: 400; font-stretch: 72%; font-size: 28px; }
.info-head a { color: var(--teal); }
.info-score b { font-family: var(--font-serif); font-weight: 400; font-size: 40px; }

/* новости */
.tag { background: rgba(216, 162, 76, .12); color: var(--amber); }
.chip.active { background: #ece5da; border-color: #ece5da; color: #141210; }
.news-thumb--market { background: var(--smear); }
.news-thumb--btc    { background: radial-gradient(70% 90% at 70% 30%, rgba(216,162,76,.9), transparent 60%), #1a120a; }
.news-thumb--alts   { background: radial-gradient(70% 90% at 30% 70%, rgba(76,154,144,.85), transparent 60%), #0b1312; }
.news-thumb--defi   { background: radial-gradient(70% 90% at 70% 70%, rgba(76,154,144,.7), transparent 55%), radial-gradient(50% 60% at 20% 20%, rgba(180,67,43,.6), transparent 60%), #0e0d0c; }
.news-thumb--reg    { background: linear-gradient(135deg, #2a2723, #12110f); }
.news-thumb--tg     { background: radial-gradient(70% 90% at 50% 40%, rgba(76,154,144,.8), transparent 60%), #0b1312; }
.news-thumb span { font-family: var(--font-serif); font-weight: 400; font-stretch: 72%; font-size: 26px; }
.source a { color: var(--teal); }

/* адаптив */
@media (max-width: 1180px) { .fc-left { left: -60px; } .fc-right { right: -60px; } }
@media (max-width: 1000px) { .hero-cards { display: none; } .hero-lume { min-height: 0; } }
@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
  .features > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: 1 / -1; }
  .b-tall { grid-column: 1 / -1; grid-row: auto; min-height: 240px; }
  .hero-lume { padding-top: 64px; }
  .hero-cats { margin-top: 40px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) { .float-card, .hero-glow { animation: none; } .float-card { transform: rotate(var(--r)); } }


/* ============ Логотип OnyxScope ============
   «Onyx» — прямой шрифт с засечками, «Scope» — курсив янтарного цвета.
   Значок — тёмный камень-оникс с бликом и кольцом объектива. */
.logo { gap: 11px; }
.wordmark {
  font-family: var(--font-serif); font-stretch: 72%; font-weight: 400;
  font-size: 27px; line-height: 1; letter-spacing: -.005em; color: #f4ede2;
}
.wordmark em { font-style: italic; font-weight: 300; color: var(--amber); margin-left: 1px; }
.logo-mark {
  position: relative; width: 30px; height: 30px; border-radius: 50%; font-size: 0;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 240, 220, .55), transparent 22%),
    radial-gradient(circle at 70% 75%, rgba(180, 67, 43, .55), transparent 45%),
    radial-gradient(circle at 30% 80%, rgba(76, 154, 144, .45), transparent 45%),
    #0b0a09;
  box-shadow: 0 0 0 1px rgba(255, 240, 220, .18), 0 4px 18px rgba(180, 67, 43, .3);
}
.logo-mark::after { /* кольцо «объектива» */
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 1.5px solid rgba(255, 240, 220, .55);
}
.logo:hover .logo-mark::after { border-color: var(--amber); transition: border-color .2s; }
@media (max-width: 640px) { .wordmark { font-size: 24px; } }

/* ============ Монеты-каналы на первом экране ============
   Размер — width у .coin-left / .coin-right; толщина — --step (× 12 слоёв);
   наклон — в @keyframes coinA / coinB. */
.hero-coins { position: absolute; inset: 0; z-index: -1; pointer-events: none; perspective: 1200px; }
.coin {
  pointer-events: auto; position: absolute; aspect-ratio: 1; padding: 0; border: 0; background: none;
  color: #f6efe4; font: inherit; cursor: pointer; transform-style: preserve-3d; --step: 1.7px;
}
.coin-left  { width: 220px; left: -170px; top: 210px; animation: coinA 12s ease-in-out infinite; }
.coin-right { width: 195px; right: -150px; top: 80px;  animation: coinB 14s ease-in-out infinite; }
.coin:hover { animation-play-state: paused; }

/* объёмное ребро: 12 слоёв с насечками, уходящих «вглубь» */
.coin-edge { position: absolute; inset: 0; transform-style: preserve-3d; }
.coin-edge i {
  position: absolute; inset: 0; border-radius: 50%;
  transform: translateZ(calc(var(--i) * var(--step) * -1));
  background:
    radial-gradient(circle, transparent 0 93%, rgba(0, 0, 0, .25) 93.5%),
    repeating-conic-gradient(from 0deg, #b48a52 0deg 1.4deg, #4a3520 1.4deg 3deg);
  filter: brightness(calc(1 - var(--i) * .022));
}
.coin-edge i:last-child { box-shadow: 0 40px 70px rgba(0, 0, 0, .7); }

/* лицевая сторона */
.coin-face {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; transform: translateZ(1px);
  display: grid; place-items: center; background: var(--smear);
  box-shadow:
    inset 0 0 0 2px rgba(214, 170, 110, .85),           /* золотистый край */
    inset 0 0 0 9px rgba(20, 14, 10, .45),               /* ободок */
    inset 0 0 0 10px rgba(255, 236, 205, .35),           /* гравировка */
    inset 0 22px 34px rgba(255, 240, 220, .14),
    inset 0 -28px 46px rgba(0, 0, 0, .55);
}
.coin-right .coin-face { background:
    radial-gradient(60% 90% at 25% 78%, rgba(216, 162, 76, .85), transparent 60%),
    radial-gradient(55% 70% at 50% 45%, rgba(180, 67, 43, .85), transparent 62%),
    radial-gradient(80% 80% at 92% 8%, rgba(76, 154, 144, .85), transparent 60%), #0e0d0c; }
.coin-face::before { /* пробегающий блик */
  content: ""; position: absolute; inset: -20%; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 245, 230, .25) 50%, transparent 60%);
  transform: translateX(-120%); animation: coinShine 7s ease-in-out infinite;
}
.coin-right .coin-face::before { animation-delay: 3.5s; }
.coin-face::after { /* зерно + лёгкое затемнение к центру для читаемости */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle, rgba(8, 7, 7, .35), transparent 62%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.35'/></svg>");
  mix-blend-mode: normal;
}

/* надпись по кругу */
.coin-ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.coin-ring text { fill: rgba(255, 238, 212, .8); font: 700 5.4px var(--font-mono, monospace); letter-spacing: .9px; }

/* содержимое монеты */
.coin-body {
  position: relative; z-index: 2; width: 70%; margin-top: 14%;
  display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}
.coin-chip {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 3px;
  background: radial-gradient(circle at 35% 30%, #f3e6cf, #a8875a 70%, #6d5232);
  color: #1d150e; font-weight: 800; font-size: 13px; text-shadow: none;
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .35), 0 3px 8px rgba(0, 0, 0, .4);
}
.coin-name {
  font-family: var(--font-serif); font-stretch: 72%; font-weight: 500; font-size: 19px; line-height: 1.05;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.coin-user { font-size: 11px; opacity: .8; }
.coin-score {
  margin-top: 6px; padding: 2px 10px; border-radius: 999px;
  background: rgba(8, 7, 7, .55); border: 1px solid rgba(214, 170, 110, .45);
  font-family: var(--font-serif); font-size: 18px; line-height: 1.1; text-shadow: none;
}
.coin-score i { font-style: normal; font-size: 12px; opacity: .6; margin-left: 2px; }
.coin-right .coin-name { font-size: 17px; }
.coin-right .coin-score { font-size: 16px; }

@keyframes coinA {
  0%, 100% { transform: rotateZ(-10deg) rotateY(26deg) rotateX(8deg) translateY(0); }
  50%      { transform: rotateZ(-7deg)  rotateY(36deg) rotateX(12deg) translateY(-16px); }
}
@keyframes coinB {
  0%, 100% { transform: rotateZ(9deg) rotateY(-28deg) rotateX(10deg) translateY(0); }
  50%      { transform: rotateZ(6deg) rotateY(-38deg) rotateX(6deg) translateY(14px); }
}
@keyframes coinShine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

@media (max-width: 1240px) { .coin-left { left: -110px; width: 195px; } .coin-right { right: -100px; width: 175px; } .coin-name, .coin-right .coin-name { font-size: 16px; } .coin-chip { width: 24px; height: 24px; font-size: 11px; } }
@media (max-width: 1000px) { .hero-coins { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .coin, .coin-face::before { animation: none; }
  .coin-left { transform: rotateZ(-10deg) rotateY(26deg); } .coin-right { transform: rotateZ(9deg) rotateY(-28deg); }
}


/* ============ Износ монет: царапины, потёртости, затемнения ============
   Сила эффекта — opacity у .coin-wear. */
.coin-wear {
  position: absolute; inset: 0; z-index: 1; border-radius: 50%; pointer-events: none; opacity: .75;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><line x1='70.1' y1='40.6' x2='107.7' y2='49.4' stroke='%23fff3e0' stroke-opacity='0.27' stroke-width='0.41' stroke-linecap='round'/><line x1='24.9' y1='101.3' x2='26.9' y2='110.8' stroke='%23fff3e0' stroke-opacity='0.14' stroke-width='0.29' stroke-linecap='round'/><line x1='87.2' y1='155.6' x2='97.7' y2='164.5' stroke='%23fff3e0' stroke-opacity='0.30' stroke-width='0.68' stroke-linecap='round'/><line x1='113.1' y1='82.4' x2='166.4' y2='90.3' stroke='%23fff3e0' stroke-opacity='0.36' stroke-width='0.38' stroke-linecap='round'/><line x1='39.5' y1='35.0' x2='20.7' y2='47.3' stroke='%23fff3e0' stroke-opacity='0.17' stroke-width='0.51' stroke-linecap='round'/><line x1='123.6' y1='78.3' x2='156.7' y2='84.9' stroke='%23fff3e0' stroke-opacity='0.14' stroke-width='0.34' stroke-linecap='round'/><line x1='130.7' y1='87.7' x2='124.6' y2='109.6' stroke='%23fff3e0' stroke-opacity='0.25' stroke-width='0.38' stroke-linecap='round'/><line x1='150.0' y1='133.8' x2='145.5' y2='152.8' stroke='%23fff3e0' stroke-opacity='0.27' stroke-width='0.64' stroke-linecap='round'/><line x1='139.0' y1='63.9' x2='189.4' y2='83.5' stroke='%23fff3e0' stroke-opacity='0.24' stroke-width='0.59' stroke-linecap='round'/><line x1='40.8' y1='98.1' x2='35.9' y2='106.6' stroke='%23fff3e0' stroke-opacity='0.33' stroke-width='0.51' stroke-linecap='round'/><line x1='163.8' y1='68.3' x2='151.9' y2='107.2' stroke='%23fff3e0' stroke-opacity='0.28' stroke-width='0.46' stroke-linecap='round'/><line x1='157.8' y1='175.6' x2='142.9' y2='201.9' stroke='%23fff3e0' stroke-opacity='0.14' stroke-width='0.57' stroke-linecap='round'/><line x1='125.0' y1='183.8' x2='154.2' y2='220.2' stroke='%23fff3e0' stroke-opacity='0.23' stroke-width='0.55' stroke-linecap='round'/><line x1='18.8' y1='93.5' x2='33.7' y2='99.2' stroke='%23fff3e0' stroke-opacity='0.14' stroke-width='0.60' stroke-linecap='round'/><line x1='37.0' y1='57.1' x2='12.7' y2='67.5' stroke='%23fff3e0' stroke-opacity='0.14' stroke-width='0.45' stroke-linecap='round'/><line x1='108.4' y1='165.2' x2='66.1' y2='184.4' stroke='%23fff3e0' stroke-opacity='0.20' stroke-width='0.44' stroke-linecap='round'/><line x1='76.0' y1='165.3' x2='123.2' y2='189.5' stroke='%23fff3e0' stroke-opacity='0.17' stroke-width='0.35' stroke-linecap='round'/><line x1='54.7' y1='97.4' x2='78.9' y2='123.7' stroke='%23fff3e0' stroke-opacity='0.12' stroke-width='0.44' stroke-linecap='round'/><line x1='77.8' y1='111.3' x2='48.0' y2='154.9' stroke='%23fff3e0' stroke-opacity='0.26' stroke-width='0.53' stroke-linecap='round'/><line x1='130.0' y1='24.2' x2='91.2' y2='56.2' stroke='%23fff3e0' stroke-opacity='0.36' stroke-width='0.61' stroke-linecap='round'/><line x1='81.7' y1='82.8' x2='76.4' y2='94.6' stroke='%23fff3e0' stroke-opacity='0.14' stroke-width='0.28' stroke-linecap='round'/><line x1='50.5' y1='42.6' x2='74.1' y2='46.5' stroke='%23fff3e0' stroke-opacity='0.12' stroke-width='0.32' stroke-linecap='round'/><line x1='32.2' y1='76.8' x2='23.8' y2='80.4' stroke='%23fff3e0' stroke-opacity='0.29' stroke-width='0.32' stroke-linecap='round'/><line x1='57.9' y1='74.1' x2='81.2' y2='83.5' stroke='%23fff3e0' stroke-opacity='0.36' stroke-width='0.70' stroke-linecap='round'/><line x1='94.2' y1='97.3' x2='105.6' y2='101.0' stroke='%23fff3e0' stroke-opacity='0.22' stroke-width='0.37' stroke-linecap='round'/><line x1='155.9' y1='42.4' x2='146.9' y2='43.8' stroke='%23fff3e0' stroke-opacity='0.27' stroke-width='0.32' stroke-linecap='round'/><path d='M151.1,36.9 A46.4,46.4 0 0 1 141.3,72.4' fill='none' stroke='%23fff3e0' stroke-opacity='0.23' stroke-width='0.38'/><path d='M26.6,48.2 A58.6,58.6 0 0 1 50.9,11.7' fill='none' stroke='%23fff3e0' stroke-opacity='0.16' stroke-width='0.37'/><path d='M158.8,99.4 A62.6,62.6 0 0 1 194.3,132.1' fill='none' stroke='%23fff3e0' stroke-opacity='0.23' stroke-width='0.37'/><path d='M123.2,86.4 A21.4,21.4 0 0 1 119.3,95.5' fill='none' stroke='%23fff3e0' stroke-opacity='0.15' stroke-width='0.51'/><path d='M221.4,88.4 A66.9,66.9 0 0 1 201.6,141.4' fill='none' stroke='%23fff3e0' stroke-opacity='0.17' stroke-width='0.37'/><path d='M45.7,42.4 A30.2,30.2 0 0 1 68.6,33.4' fill='none' stroke='%23fff3e0' stroke-opacity='0.25' stroke-width='0.44'/><path d='M105.4,115.5 A24.2,24.2 0 0 1 125.1,112.7' fill='none' stroke='%23fff3e0' stroke-opacity='0.24' stroke-width='0.53'/><path d='M68.0,113.1 A59.5,59.5 0 0 1 40.1,77.4' fill='none' stroke='%23fff3e0' stroke-opacity='0.27' stroke-width='0.42'/><path d='M115.3,202.9 A56.2,56.2 0 0 1 95.3,209.4' fill='none' stroke='%23fff3e0' stroke-opacity='0.13' stroke-width='0.57'/><path d='M197.6,49.8 A61.3,61.3 0 0 1 188.5,90.5' fill='none' stroke='%23fff3e0' stroke-opacity='0.16' stroke-width='0.46'/><line x1='41.0' y1='22.3' x2='27.7' y2='48.4' stroke='%23000' stroke-opacity='0.38' stroke-width='0.87' stroke-linecap='round'/><line x1='89.4' y1='159.5' x2='109.8' y2='175.4' stroke='%23000' stroke-opacity='0.31' stroke-width='0.55' stroke-linecap='round'/><line x1='58.5' y1='113.8' x2='61.6' y2='125.7' stroke='%23000' stroke-opacity='0.28' stroke-width='0.86' stroke-linecap='round'/><line x1='76.6' y1='93.3' x2='57.5' y2='99.2' stroke='%23000' stroke-opacity='0.36' stroke-width='0.86' stroke-linecap='round'/><line x1='100.3' y1='105.1' x2='118.8' y2='106.2' stroke='%23000' stroke-opacity='0.36' stroke-width='0.49' stroke-linecap='round'/><line x1='20.6' y1='147.9' x2='21.5' y2='158.0' stroke='%23000' stroke-opacity='0.43' stroke-width='0.68' stroke-linecap='round'/><line x1='72.2' y1='102.9' x2='57.1' y2='115.1' stroke='%23000' stroke-opacity='0.28' stroke-width='0.68' stroke-linecap='round'/><line x1='59.8' y1='64.3' x2='59.2' y2='88.8' stroke='%23000' stroke-opacity='0.39' stroke-width='0.78' stroke-linecap='round'/></svg>") center / cover no-repeat,
    radial-gradient(18% 12% at 82% 30%, rgba(0, 0, 0, .35), transparent 70%),   /* потемнения у края */
    radial-gradient(20% 14% at 18% 74%, rgba(0, 0, 0, .3), transparent 70%),
    radial-gradient(14% 10% at 60% 90%, rgba(0, 0, 0, .28), transparent 70%),
    radial-gradient(30% 22% at 30% 22%, rgba(255, 240, 220, .08), transparent 70%); /* затёртый до блеска участок */
  mix-blend-mode: screen;
}
.coin-right .coin-wear {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><line x1='123.7' y1='19.3' x2='139.7' y2='32.8' stroke='%23fff3e0' stroke-opacity='0.33' stroke-width='0.55' stroke-linecap='round'/><line x1='166.7' y1='29.8' x2='194.4' y2='32.4' stroke='%23fff3e0' stroke-opacity='0.18' stroke-width='0.48' stroke-linecap='round'/><line x1='19.5' y1='48.8' x2='14.1' y2='87.0' stroke='%23fff3e0' stroke-opacity='0.18' stroke-width='0.52' stroke-linecap='round'/><line x1='152.6' y1='16.1' x2='125.9' y2='53.4' stroke='%23fff3e0' stroke-opacity='0.22' stroke-width='0.32' stroke-linecap='round'/><line x1='177.7' y1='72.2' x2='189.5' y2='75.9' stroke='%23fff3e0' stroke-opacity='0.36' stroke-width='0.52' stroke-linecap='round'/><line x1='152.2' y1='139.1' x2='119.1' y2='141.9' stroke='%23fff3e0' stroke-opacity='0.23' stroke-width='0.50' stroke-linecap='round'/><line x1='156.0' y1='120.1' x2='144.3' y2='167.2' stroke='%23fff3e0' stroke-opacity='0.32' stroke-width='0.27' stroke-linecap='round'/><line x1='53.7' y1='64.2' x2='62.5' y2='72.0' stroke='%23fff3e0' stroke-opacity='0.15' stroke-width='0.38' stroke-linecap='round'/><line x1='123.1' y1='77.0' x2='143.2' y2='92.6' stroke='%23fff3e0' stroke-opacity='0.19' stroke-width='0.67' stroke-linecap='round'/><line x1='125.2' y1='118.6' x2='114.6' y2='130.6' stroke='%23fff3e0' stroke-opacity='0.17' stroke-width='0.42' stroke-linecap='round'/><line x1='183.2' y1='123.8' x2='164.5' y2='152.4' stroke='%23fff3e0' stroke-opacity='0.36' stroke-width='0.60' stroke-linecap='round'/><line x1='53.9' y1='20.5' x2='69.2' y2='37.5' stroke='%23fff3e0' stroke-opacity='0.18' stroke-width='0.67' stroke-linecap='round'/><line x1='164.0' y1='68.5' x2='176.5' y2='105.2' stroke='%23fff3e0' stroke-opacity='0.38' stroke-width='0.46' stroke-linecap='round'/><line x1='60.0' y1='56.9' x2='83.4' y2='82.2' stroke='%23fff3e0' stroke-opacity='0.28' stroke-width='0.65' stroke-linecap='round'/><line x1='82.9' y1='52.3' x2='81.3' y2='107.1' stroke='%23fff3e0' stroke-opacity='0.15' stroke-width='0.27' stroke-linecap='round'/><line x1='33.6' y1='121.7' x2='44.6' y2='165.5' stroke='%23fff3e0' stroke-opacity='0.14' stroke-width='0.42' stroke-linecap='round'/><line x1='184.3' y1='104.9' x2='135.7' y2='127.7' stroke='%23fff3e0' stroke-opacity='0.12' stroke-width='0.57' stroke-linecap='round'/><line x1='130.9' y1='106.3' x2='122.1' y2='124.8' stroke='%23fff3e0' stroke-opacity='0.15' stroke-width='0.45' stroke-linecap='round'/><line x1='92.1' y1='177.1' x2='125.4' y2='213.3' stroke='%23fff3e0' stroke-opacity='0.26' stroke-width='0.33' stroke-linecap='round'/><line x1='170.1' y1='163.0' x2='160.8' y2='182.9' stroke='%23fff3e0' stroke-opacity='0.29' stroke-width='0.32' stroke-linecap='round'/><line x1='144.6' y1='106.7' x2='140.4' y2='151.1' stroke='%23fff3e0' stroke-opacity='0.12' stroke-width='0.40' stroke-linecap='round'/><line x1='18.3' y1='172.9' x2='-24.3' y2='197.8' stroke='%23fff3e0' stroke-opacity='0.21' stroke-width='0.28' stroke-linecap='round'/><line x1='164.3' y1='176.0' x2='164.8' y2='188.0' stroke='%23fff3e0' stroke-opacity='0.14' stroke-width='0.59' stroke-linecap='round'/><line x1='145.2' y1='36.8' x2='140.5' y2='66.8' stroke='%23fff3e0' stroke-opacity='0.19' stroke-width='0.64' stroke-linecap='round'/><line x1='86.9' y1='51.0' x2='64.9' y2='76.0' stroke='%23fff3e0' stroke-opacity='0.18' stroke-width='0.39' stroke-linecap='round'/><line x1='184.2' y1='125.5' x2='182.6' y2='154.0' stroke='%23fff3e0' stroke-opacity='0.15' stroke-width='0.35' stroke-linecap='round'/><path d='M86.5,141.5 A31.5,31.5 0 0 1 75.7,141.7' fill='none' stroke='%23fff3e0' stroke-opacity='0.21' stroke-width='0.37'/><path d='M150.4,166.6 A23.5,23.5 0 0 1 134.9,162.2' fill='none' stroke='%23fff3e0' stroke-opacity='0.14' stroke-width='0.34'/><path d='M161.6,65.9 A43.6,43.6 0 0 1 189.0,84.9' fill='none' stroke='%23fff3e0' stroke-opacity='0.13' stroke-width='0.33'/><path d='M85.9,47.9 A43.4,43.4 0 0 1 115.1,54.3' fill='none' stroke='%23fff3e0' stroke-opacity='0.28' stroke-width='0.33'/><path d='M88.9,143.8 A63.1,63.1 0 0 1 63.5,138.7' fill='none' stroke='%23fff3e0' stroke-opacity='0.18' stroke-width='0.43'/><path d='M11.5,93.2 A66.2,66.2 0 0 1 14.1,40.7' fill='none' stroke='%23fff3e0' stroke-opacity='0.20' stroke-width='0.32'/><path d='M221.1,109.6 A68.4,68.4 0 0 1 224.4,163.4' fill='none' stroke='%23fff3e0' stroke-opacity='0.13' stroke-width='0.45'/><path d='M49.1,104.0 A22.9,22.9 0 0 1 42.9,85.2' fill='none' stroke='%23fff3e0' stroke-opacity='0.15' stroke-width='0.54'/><path d='M162.4,88.6 A67.9,67.9 0 0 1 150.6,129.2' fill='none' stroke='%23fff3e0' stroke-opacity='0.23' stroke-width='0.35'/><path d='M28.3,143.5 A49.0,49.0 0 0 1 49.7,114.7' fill='none' stroke='%23fff3e0' stroke-opacity='0.11' stroke-width='0.48'/><line x1='100.5' y1='156.4' x2='90.8' y2='157.6' stroke='%23000' stroke-opacity='0.27' stroke-width='0.49' stroke-linecap='round'/><line x1='115.2' y1='128.0' x2='126.0' y2='132.3' stroke='%23000' stroke-opacity='0.47' stroke-width='0.52' stroke-linecap='round'/><line x1='115.1' y1='119.1' x2='110.9' y2='134.6' stroke='%23000' stroke-opacity='0.38' stroke-width='0.87' stroke-linecap='round'/><line x1='52.7' y1='134.6' x2='56.5' y2='145.7' stroke='%23000' stroke-opacity='0.42' stroke-width='0.55' stroke-linecap='round'/><line x1='70.6' y1='140.3' x2='71.6' y2='148.0' stroke='%23000' stroke-opacity='0.50' stroke-width='0.90' stroke-linecap='round'/><line x1='31.7' y1='54.1' x2='19.6' y2='56.7' stroke='%23000' stroke-opacity='0.47' stroke-width='0.84' stroke-linecap='round'/><line x1='79.1' y1='45.2' x2='63.6' y2='66.1' stroke='%23000' stroke-opacity='0.40' stroke-width='0.89' stroke-linecap='round'/><line x1='124.6' y1='21.3' x2='139.7' y2='41.9' stroke='%23000' stroke-opacity='0.42' stroke-width='0.87' stroke-linecap='round'/></svg>") center / cover no-repeat,
    radial-gradient(18% 12% at 20% 35%, rgba(0, 0, 0, .35), transparent 70%),
    radial-gradient(20% 14% at 78% 78%, rgba(0, 0, 0, .3), transparent 70%),
    radial-gradient(30% 22% at 70% 20%, rgba(255, 240, 220, .08), transparent 70%);
}
/* ребро тоже чуть потёртое: неровная яркость насечек */
.coin-edge i {
  background:
    radial-gradient(circle, transparent 0 93%, rgba(0, 0, 0, .25) 93.5%),
    conic-gradient(from 40deg, rgba(0,0,0,0) 0 60deg, rgba(0,0,0,.35) 80deg, rgba(0,0,0,0) 110deg 220deg, rgba(0,0,0,.3) 245deg, rgba(0,0,0,0) 270deg),
    repeating-conic-gradient(from 0deg, #b48a52 0deg 1.4deg, #4a3520 1.4deg 3deg);
}
/* золотистый кант с затёртостями */
.coin-face { box-shadow:
    inset 0 0 0 2px rgba(214, 170, 110, .7),
    inset 0 0 0 9px rgba(20, 14, 10, .45),
    inset 0 0 0 10px rgba(255, 236, 205, .28),
    inset 0 22px 34px rgba(255, 240, 220, .12),
    inset 0 -28px 46px rgba(0, 0, 0, .58); }

/* ============ Монеты: вариант «старая бронза» (перекрывает блоки выше) ============
   Вернуть прошлые монеты: удалить этот блок до конца файла. */
.coin { --step: 1.7px; }
/* неровная форма, как у чеканки вручную */
.coin-face, .coin-edge i, .coin-wear { border-radius: 50% 48.5% 51% 49% / 49% 51% 48% 50.5%; }

/* бронза + зелёная патина */
.coin-face, .coin-right .coin-face {
  background:
    radial-gradient(22% 16% at 14% 62%, rgba(60, 130, 118, .32), transparent 75%),   /* патина у края */
    radial-gradient(18% 14% at 86% 40%, rgba(60, 130, 118, .28), transparent 75%),
    radial-gradient(26% 18% at 55% 92%, rgba(60, 130, 118, .3), transparent 70%),
    radial-gradient(50% 40% at 35% 28%, rgba(200, 140, 80, .28), transparent 70%),   /* блик на металле */
    radial-gradient(70% 70% at 60% 60%, #4f2f19 0%, #33200f 55%, #170d06 100%);
  box-shadow:
    inset 0 0 0 2px rgba(60, 36, 18, .9),
    inset 0 0 0 4px rgba(170, 120, 70, .35),       /* приподнятый край */
    inset 0 0 0 13px rgba(40, 24, 12, .35),
    inset 0 14px 26px rgba(255, 220, 170, .08),
    inset 0 -26px 40px rgba(0, 0, 0, .55);
}
.coin-right .coin-face {
  background:
    radial-gradient(20% 15% at 80% 70%, rgba(60, 130, 118, .3), transparent 75%),
    radial-gradient(18% 14% at 22% 30%, rgba(76, 154, 144, .55), transparent 70%),
    radial-gradient(50% 40% at 65% 30%, rgba(200, 140, 80, .25), transparent 70%),
    radial-gradient(70% 70% at 45% 55%, #55331b 0%, #352110 55%, #170d06 100%);
}
/* ободок из точек */
.coin-face::after {
  background:
    radial-gradient(circle, transparent 0 79%, rgba(0,0,0,0) 79%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='43.5' fill='none' stroke='%23c0905a' stroke-opacity='.35' stroke-width='1.6' stroke-dasharray='.1 2.3' stroke-linecap='round'/><circle cx='50' cy='50' r='43.5' fill='none' stroke='%23200f05' stroke-opacity='.5' stroke-width='1.6' stroke-dasharray='.1 2.3' stroke-linecap='round' transform='translate(.35 .45)'/></svg>") center / 100% no-repeat,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.25'/></svg>");
  mix-blend-mode: normal; opacity: .85;
}
.coin-face::before { background: linear-gradient(115deg, transparent 42%, rgba(255, 225, 180, .18) 50%, transparent 58%); }

/* выбитые надписи: тёмный металл с бликом снизу */
.coin-ring text { fill: rgba(190, 145, 95, .6); }
.coin-body { text-shadow: none; }
.coin-name, .coin-user, .coin-score {
  color: #b98c5c;
  text-shadow: 0 -1px 0 rgba(255, 230, 190, .35), 0 2px 1px rgba(20, 10, 4, .75);
}
.coin-name { font-weight: 600; }
.coin-user { opacity: .8; color: #a07a50; }
.coin-chip { /* выпуклый «медальон» */
  background: radial-gradient(circle at 35% 30%, #b88a58, #6e4724 65%, #3a2210);
  color: #2b170a; box-shadow: inset 0 -2px 3px rgba(0,0,0,.4), inset 0 2px 2px rgba(255,220,170,.4), 0 2px 4px rgba(0,0,0,.35);
}
.coin-score {
  background: rgba(20, 10, 4, .35); border: 1px solid rgba(185, 140, 92, .25);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35), 0 1px 0 rgba(255, 214, 160, .3);
}

/* ребро: стёртая бронза */
.coin-edge i {
  background:
    radial-gradient(circle, transparent 0 93%, rgba(0, 0, 0, .3) 93.5%),
    conic-gradient(from 20deg, rgba(76,154,144,.0) 0 40deg, rgba(76,154,144,.45) 60deg, rgba(76,154,144,0) 90deg 200deg, rgba(0,0,0,.4) 230deg, rgba(0,0,0,0) 260deg),
    repeating-conic-gradient(from 0deg, #5e3d22 0deg 1.6deg, #22150b 1.6deg 3.4deg);
}
.coin-wear { mix-blend-mode: overlay; opacity: .9; }

.coin-wear { opacity: .55; }
.coin-face::before { background: linear-gradient(115deg, transparent 44%, rgba(255, 225, 180, .1) 50%, transparent 56%); }


/* ============ Значок-оникс в логотипе ============ */
.logo-mark.onyx {
  width: 34px; height: 34px; flex: none; background: none; box-shadow: none; border-radius: 50%;
  /* приглушение: brightness — яркость, saturate — насыщенность */
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55));
  transition: transform .5s cubic-bezier(.34, 1.4, .5, 1);
}
.logo-mark.onyx::after { content: none; }
.logo:hover .logo-mark.onyx { transform: rotate(90deg); }  /* шкала прицела поворачивается */
@media (max-width: 640px) { .logo-mark.onyx { width: 30px; height: 30px; } }


/* ============ Мобильная шапка ============
   Шапка заходит под строку состояния iPhone (часы, батарея) и не просвечивает. */
header { padding-top: env(safe-area-inset-top, 0px); }
@media (max-width: 640px) {
  header { background: rgba(8, 7, 7, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  header .wrap {
    grid-template-columns: auto 1fr; height: 60px; padding-top: 0; padding-bottom: 0; row-gap: 0;
    padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right));
  }
  .island { grid-column: auto; grid-row: auto; justify-self: end; padding: 4px; }
  .island a { padding: 7px 13px; font-size: 14px; }
  .island-pill { top: 4px; bottom: 4px; }
  .hero-lume::before { top: -60px; }
}
@media (max-width: 560px) { .wordmark { display: none; } }   /* на узких экранах — только значок */
@media (max-width: 360px) { .island a { padding: 7px 10px; font-size: 13px; } }

/* ничего не должно вылезать за ширину экрана (на iPhone иначе страница «гуляет» вбок) */
html, body { overflow-x: clip; }
.hero-glow { width: min(520px, 90vw); }


/* ============ Фон: размытый график биткоина ============
   Цвет — по итогу недели: рост — зелёный, падение — красный.
   Насколько размыт — filter: blur(); насколько заметен — opacity. */
.btc-bg {
  position: absolute; z-index: -2; left: 50%; top: 150px; width: 100vw; height: 340px;
  transform: translateX(-50%); pointer-events: none;
  opacity: .5; filter: blur(2.2px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: btcBreath 18s ease-in-out infinite alternate;
}
.btc-bg.is-up   { color: #5fb383; }
.btc-bg.is-down { color: #cf5a43; }
.btc-bg svg { width: 100%; height: 100%; overflow: visible; }
.btc-line {
  fill: none; stroke: currentColor; stroke-width: 2.5; vector-effect: non-scaling-stroke;
  stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: btcDraw 4.5s cubic-bezier(.4, 0, .2, 1) .3s forwards;
  filter: drop-shadow(0 0 6px currentColor);
}
.btc-area { opacity: 0; animation: btcFade 2s ease 2.8s forwards; }
.btc-dot {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 14px currentColor; opacity: 0;
  animation: btcFade .6s ease 4.6s forwards, btcPulse 2.4s ease-in-out 5.2s infinite;
}
@keyframes btcDraw  { to { stroke-dashoffset: 0; } }
@keyframes btcFade  { to { opacity: 1; } }
@keyframes btcPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.8); } }
@keyframes btcBreath {
  0%   { transform: translateX(-50%) translateY(0) scaleY(1); }
  100% { transform: translateX(-51.5%) translateY(-10px) scaleY(1.06); }
}

/* подпись с текущей ценой */
.btc-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 40px;
  font: 500 12px/1 var(--font-mono, monospace); letter-spacing: .04em; color: var(--muted);
  padding: 7px 12px; border-radius: 999px; background: rgba(255, 245, 230, .03); border: 1px solid var(--border);
}
.btc-tag span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.btc-tag.is-up span   { color: #5fb383; box-shadow: 0 0 8px #5fb383; }
.btc-tag.is-down span { color: #cf5a43; box-shadow: 0 0 8px #cf5a43; }
.btc-tag + .hero-cats { margin-top: 28px; }

@media (max-width: 640px) { .btc-bg { top: 110px; height: 260px; opacity: .42; } }
@media (prefers-reduced-motion: reduce) {
  .btc-bg { animation: none; } .btc-line { animation: none; stroke-dashoffset: 0; }
  .btc-area, .btc-dot { animation: none; opacity: 1; }
}


/* ============ График BTC: всегда зелёный и закреплён на месте ============ */
.btc-bg {
  position: fixed; z-index: -1; top: 26vh; height: 46vh; left: 50%; width: 100vw;
  color: #5fb383; opacity: .4;
}
.btc-bg.is-up, .btc-bg.is-down { color: #5fb383; }
@media (max-width: 640px) { .btc-bg { top: 30vh; height: 34vh; opacity: .34; } }

/* ============ Бегущая строка рынка (в шапке) ============ */
.ticker {
  overflow: hidden; border-top: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex; align-items: center; gap: 30px; width: max-content; padding: 8px 0;
  font: 500 12.5px/1 var(--font-mono, monospace); color: var(--muted); white-space: nowrap;
  animation: tickerMove 80s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span b { color: #eee7dc; font-weight: 500; margin: 0 7px; }
.ticker-track em { font-style: normal; }
.ticker-track em.up { color: #5fb383; } .ticker-track em.dn { color: #cf5a43; }
.ticker-track i { font-style: normal; color: #3d3832; }
@keyframes tickerMove { to { transform: translateX(-25%); } }   /* 4 копии → сдвиг на одну */
@media (max-width: 640px) { .ticker-track { font-size: 11.5px; gap: 22px; padding: 7px 0; animation-duration: 65s; } }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } .ticker-track { animation: none; } }

/* плитки топа на телефоне: аватар поменьше, чтобы не налезал на оценку */
@media (max-width: 640px) {
  .tile-avatar { width: 46px; height: 46px; border-radius: 14px; font-size: 20px; }
  .tile-score { font-size: 15px; padding: 1px 8px; }
}

/* бегущая строка быстрее (меньше секунд — быстрее) */
.ticker-track { animation-duration: 45s; }
@media (max-width: 640px) { .ticker-track { animation-duration: 38s; } }


/* ============ График BTC свечами (классика: рост зелёный, падение красный) ============ */
.btc-bg { opacity: .42; }
.candles { width: 100%; height: 100%; overflow: visible; }
.cdl { opacity: 0; transform-box: fill-box; transform-origin: center; animation: cdlIn .55s cubic-bezier(.3, 1.3, .5, 1) both; }
.cdl.up { color: #5fb383; } .cdl.dn { color: #cf5a43; }
.cdl line { stroke: currentColor; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.cdl rect { fill: currentColor; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.candles { filter: drop-shadow(0 0 5px rgba(95, 179, 131, .3)); }
.cdl:last-child rect { animation: cdlPulse 2.4s ease-in-out 3.5s infinite; }
@keyframes cdlIn { from { opacity: 0; transform: scaleY(.15); } to { opacity: 1; transform: none; } }
@keyframes cdlPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .cdl { animation: none; opacity: 1; } .cdl:last-child rect { animation: none; } }

/* свечи ярче: opacity — общая заметность, blur — размытость */
.btc-bg { opacity: .6; filter: blur(1.6px); }
.cdl.up { color: #6fd197; } .cdl.dn { color: #e2654c; }
.candles { filter: drop-shadow(0 0 7px rgba(111, 209, 151, .4)); }
@media (max-width: 640px) { .btc-bg { opacity: .5; } }

/* ============ Плотные блоки поверх фона со свечами ============
   Чем ближе последнее число в rgba к 1 — тем меньше просвечивает фон. */
:root { --solid: rgba(16, 14, 13, .93); }
.top-list, .tile-box, .bento-card, .news-card, .news-featured, .card, .filters, .view-switch {
  background: var(--solid);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.top-list { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.top-row:hover { background: rgba(255, 245, 230, .05); }
.tile-box { box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.bento-card { background: linear-gradient(180deg, rgba(24, 21, 19, .94), rgba(16, 14, 13, .94)); }
/* ряд преимуществ — лёгкая подложка, чтобы текст не терялся на свечах */
.features { background: rgba(10, 9, 8, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }


/* ============ Мобильное меню «⋯» (только телефоны) ============ */
.menu-btn, .mobile-menu, .menu-backdrop { display: none; }
header { position: sticky; }
@media (max-width: 640px) {
  /* сплошная шапка: Safari красит зону часов в её цвет */
  header { background: #0b0a09; -webkit-backdrop-filter: none; backdrop-filter: none; }
  header .wrap { grid-template-columns: 1fr auto; height: 58px; }
  .island { display: none; }
  .wordmark { display: inline; font-size: 24px; }
  .header-right { display: block; }

  .menu-btn {
    position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
    border-radius: 50%; border: 1px solid var(--border); background: rgba(255, 245, 230, .05);
    color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: background .2s, border-color .2s;
  }
  .menu-btn:active { background: rgba(255, 245, 230, .1); }
  .menu-btn .dots, .menu-btn .cross { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .3s cubic-bezier(.34, 1.4, .5, 1), opacity .2s; }
  .menu-btn .dots { grid-auto-flow: column; justify-content: center; gap: 4px; }
  .menu-btn .dots i { width: 4.5px; height: 4.5px; border-radius: 50%; background: currentColor; }
  .menu-btn .cross { opacity: 0; transform: rotate(-90deg) scale(.6); }
  .menu-btn .cross i { position: absolute; width: 16px; height: 1.8px; border-radius: 2px; background: currentColor; }
  .menu-btn .cross i:first-child { transform: rotate(45deg); }
  .menu-btn .cross i:last-child  { transform: rotate(-45deg); }
  .menu-open .menu-btn { background: #ece5da; border-color: #ece5da; color: #141210; }
  .menu-open .menu-btn .dots  { opacity: 0; transform: scale(.4); }
  .menu-open .menu-btn .cross { opacity: 1; transform: none; }

  /* выдвижная панель */
  .mobile-menu {
    display: block; position: absolute; z-index: 12; top: 100%; left: 12px; right: 12px; margin-top: 8px;
    padding: 8px; border-radius: 22px; background: #100e0d; border: 1px solid var(--border);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .7);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.97); transform-origin: top right;
    transition: opacity .22s ease, transform .3s cubic-bezier(.34, 1.3, .5, 1), visibility 0s .3s;
  }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .3s cubic-bezier(.34, 1.3, .5, 1); }
  .mobile-menu a {
    display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 16px;
    font-family: var(--font-serif); font-stretch: 72%; font-size: 30px; line-height: 1; color: var(--text);
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-menu a + a { border-top: 1px solid rgba(255, 240, 220, .06); }
  .mobile-menu a em { font-style: normal; font-family: var(--font-mono, monospace); font-size: 16px; color: var(--muted); transition: transform .2s; }
  .mobile-menu a:active { background: rgba(255, 245, 230, .05); }
  .mobile-menu a.active span { color: var(--amber); }
  .mobile-menu a.active em { color: var(--amber); }
  .mobile-menu a.active span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 12px 6px 0; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); vertical-align: middle; }
  /* пункты появляются по очереди */
  .mobile-menu a { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s; }
  .menu-open .mobile-menu a { opacity: 1; transform: none; }
  .menu-open .mobile-menu a:nth-child(2) { transition-delay: .04s; }
  .menu-open .mobile-menu a:nth-child(3) { transition-delay: .08s; }

  /* затемнение под меню */
  .menu-backdrop {
    display: block; position: fixed; inset: 0; z-index: -1; background: rgba(5, 4, 4, .6);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
  .menu-open { overflow: hidden; }   /* страница не листается, пока открыто меню */
}
@media (max-width: 360px) { .wordmark { font-size: 21px; } }

/* ============ Телефон: закрываем зону у часов + компактное меню ============ */
html { background: #0b0a09; }
@media (max-width: 640px) {
  /* «козырёк» над шапкой: закрывает область под строкой состояния iPhone */
  header::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 300px;
    background: #0b0a09; pointer-events: none;
  }
  header { top: 0; }

  /* компактное выпадающее меню справа */
  .mobile-menu {
    left: auto; right: 12px; width: 210px; padding: 6px; border-radius: 18px; margin-top: 6px;
  }
  .mobile-menu a {
    padding: 12px 14px; border-radius: 12px;
    font-family: inherit; font-stretch: normal; font-size: 16px; font-weight: 600;
  }
  .mobile-menu a em { font-size: 13px; }
  .mobile-menu a.active span::before { width: 6px; height: 6px; margin: 0 9px 2px 0; }
  .menu-backdrop { background: rgba(5, 4, 4, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
}

/* фон — только у html, body прозрачный: иначе body перекрывает свечи и пятна света */
html { background: var(--bg); }
body { background: transparent; }


/* ==================== Светлый топ + «Как мы проверяем» ==================== */
/* ===================== Светлый ТОП: приглушённая «старая бумага» ===================== */
.sec-light {
  --paper: #cdc2b0;  --paper-2: #d9cfbf;  --ink: #1d1813;  --ink-muted: #5f554a;
  --line: rgba(50, 36, 22, .16); --accent: #8e5419;
  --ok: #2c7d50; --warn: #94650f; --bad: #a63c28; --new: #6d655b;
  position: relative; isolation: isolate; color: var(--ink);
  margin: 0 calc(50% - 50vw); padding: 190px calc(50vw - 50%) 190px;
  /* переход через тёплые коричневые тона — без серой полосы */
  background: linear-gradient(180deg,
    rgba(8,7,7,0) 0px, #1a130e 30px, #3b2c20 70px, #75614c 115px, #ab9a83 150px, var(--paper) 185px,
    var(--paper) calc(100% - 185px), #ab9a83 calc(100% - 150px), #75614c calc(100% - 115px),
    #3b2c20 calc(100% - 70px), #1a130e calc(100% - 30px), rgba(8,7,7,0) 100%);
}
.sec-light::before {   /* сетка + лёгкое зерно бумаги */
  content: ""; position: absolute; inset: 185px 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(50,36,22,.08) 1px, transparent 1px) 12.5% 0 / 25% 100%,
    radial-gradient(120% 70% at 50% 0%, rgba(255,248,235,.22), transparent 70%);
}
.sec-light .section-title { margin-top: 0; }
.sec-light .section-title h2 { color: var(--ink); }
.sec-light .section-title p, .sec-light .top-count { color: var(--ink-muted); }
.sec-light .eyebrow-l { display: inline-block; margin-bottom: 14px; font: 600 12px/1 var(--font-mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.sec-light .view-switch { background: var(--paper-2); border-color: var(--line); backdrop-filter: none; }
.sec-light .view-switch button { color: var(--ink-muted); }
.sec-light .view-switch button.on { background: var(--ink); color: var(--paper-2); }
.sec-light .tile-box { background: var(--paper-2); border-color: var(--line); box-shadow: 0 1px 0 rgba(255,250,240,.45) inset, 0 10px 24px rgba(50,32,16,.16); backdrop-filter: none; }
.sec-light .tile-box::before { opacity: .3; }
.sec-light .tile:hover .tile-box { border-color: rgba(142,84,25,.5); }
.sec-light .tile-name { color: var(--ink); } .sec-light .tile-sub, .sec-light .tile-rank { color: var(--ink-muted); }
.sec-light .tile-score { background: rgba(29,24,19,.08); }
.sec-light .tile-score.ok{color:var(--ok)} .sec-light .tile-score.warn{color:var(--warn)} .sec-light .tile-score.bad{color:var(--bad)} .sec-light .tile-score.new{color:var(--new)}
.sec-light .tile:nth-child(1) .tile-box { border-color: rgba(150,105,40,.6); }
.sec-light .tile:nth-child(-n+3) .tile-rank { top:10px; left:12px; display:grid; place-items:center; width:26px; height:26px; border-radius:50%; font-size:12px; color:#fff; box-shadow: inset 0 -2px 3px rgba(0,0,0,.25), 0 2px 5px rgba(50,32,16,.3); }
.sec-light .tile:nth-child(1) .tile-rank { background: radial-gradient(circle at 35% 30%, #e9c784, #a8792a 70%); }
.sec-light .tile:nth-child(2) .tile-rank { background: radial-gradient(circle at 35% 30%, #dcd8d0, #8c877e 70%); }
.sec-light .tile:nth-child(3) .tile-rank { background: radial-gradient(circle at 35% 30%, #dca57b, #8d542d 70%); }
.sec-light .top-list { background: var(--paper-2); border-color: var(--line); box-shadow: 0 1px 0 rgba(255,250,240,.45) inset, 0 18px 40px rgba(50,32,16,.18); backdrop-filter: none; }
.sec-light .top-list-head { color: var(--ink-muted); border-color: var(--line); }
.sec-light .top-row { border-color: var(--line); } .sec-light .top-row:hover { background: rgba(142,84,25,.07); }
.sec-light .top-row .muted, .sec-light .ch small, .sec-light .rank-sm { color: var(--ink-muted); }
.sec-light .ch b { color: var(--ink); }
.sec-light .top-row:nth-child(-n+4) .rank-sm { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; font-size:11px; color:#fff; }
.sec-light .top-row:nth-child(2) .rank-sm { background: radial-gradient(circle at 35% 30%, #e9c784, #a8792a 70%); }
.sec-light .top-row:nth-child(3) .rank-sm { background: radial-gradient(circle at 35% 30%, #dcd8d0, #8c877e 70%); }
.sec-light .top-row:nth-child(4) .rank-sm { background: radial-gradient(circle at 35% 30%, #dca57b, #8d542d 70%); }
.sec-light .badge.ok{color:var(--ok);background:rgba(44,125,80,.12)} .sec-light .badge.warn{color:var(--warn);background:rgba(148,101,15,.13)}
.sec-light .badge.bad{color:var(--bad);background:rgba(166,60,40,.12)} .sec-light .badge.new{color:var(--new);background:rgba(109,101,91,.14)}
.sec-light .score { background: var(--paper); border-color: var(--line); }
.sec-light .score.ok{color:var(--ok)} .sec-light .score.warn{color:var(--warn)} .sec-light .score.bad{color:var(--bad)} .sec-light .score.new{color:var(--new)}
@media (max-width: 640px) {
  .sec-light { padding-top: 150px; padding-bottom: 150px;
    background: linear-gradient(180deg, rgba(8,7,7,0) 0, #1a130e 22px, #3b2c20 52px, #75614c 88px, #ab9a83 116px, var(--paper) 145px,
      var(--paper) calc(100% - 145px), #ab9a83 calc(100% - 116px), #75614c calc(100% - 88px), #3b2c20 calc(100% - 52px), #1a130e calc(100% - 22px), rgba(8,7,7,0) 100%); }
  .sec-light::before { inset: 145px 0; }
}

/* ===================== Блок «Как мы проверяем» ===================== */
.method { margin-top: 40px; }
.method .section-title { margin-bottom: 36px; }
.method-kicker { display:inline-block; margin-bottom: 14px; font: 600 12px/1 var(--font-mono, monospace); letter-spacing:.14em; text-transform:uppercase; color: var(--amber); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.step {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 290px;
  padding: 22px 22px 22px; border-radius: 18px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(26,22,19,.96), rgba(15,13,12,.96));
}
.step::after {   /* мягкий бронзовый отсвет в углу */
  content:""; position:absolute; right:-40%; top:-40%; width:90%; height:80%; border-radius:50%;
  background: radial-gradient(closest-side, rgba(180,67,43,.22), rgba(216,162,76,.08) 60%, transparent);
  pointer-events:none; transition: opacity .3s; opacity:.6;
}
.step:hover::after { opacity: 1; }
.step-top { display:flex; justify-content:space-between; align-items:flex-start; }
.step-num { font-family: var(--font-serif); font-stretch: 72%; font-weight: 300; font-size: 54px; line-height: .9; color: #d4b07a;
  text-shadow: 0 1px 0 rgba(255,230,190,.25), 0 2px 8px rgba(0,0,0,.5); }
.step-ico { color: var(--muted); }
.step-chip { margin: 22px 0 auto; padding: 10px 12px; border-radius: 12px; background: rgba(255,245,230,.04); border: 1px solid var(--border); }
.step-chip small { display:block; font: 500 10.5px/1 var(--font-mono, monospace); letter-spacing:.08em; text-transform:uppercase; color: var(--muted); margin-bottom: 6px; }
.step-chip b { font: 600 14px/1.2 var(--font-mono, monospace); color: #9bd3a8; }
.step-chip b.warn { color: #e0b261; } .step-chip b.bad { color: #e0806a; }
.step h3 { margin: 20px 0 6px; font-family: var(--font-serif); font-stretch: 72%; font-weight: 400; font-size: 27px; line-height: 1.05; color: #f4ede2; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* из чего складывается оценка */
.score-mix { margin-top: 14px; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--border); background: rgba(16,14,13,.94); }
.score-mix-head { display:flex; justify-content:space-between; align-items:baseline; gap: 12px; margin-bottom: 14px; }
.score-mix-head b { font-family: var(--font-serif); font-stretch:72%; font-weight:400; font-size: 24px; color:#f4ede2; }
.score-mix-head span { color: var(--muted); font-size: 14px; }
.mix-bar { display:flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 3px; }
.mix-bar i { display:block; height:100%; }
.mix-legend { display:flex; flex-wrap:wrap; gap: 8px 22px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.mix-legend span { display:inline-flex; align-items:center; gap:8px; }
.mix-legend span::before { content:""; width:10px; height:10px; border-radius:3px; background: var(--c); }
.mix-legend b { color: #eee7dc; font-weight:600; font-variant-numeric: tabular-nums; }
.method-note { margin-top: 14px; color: #6e665c; font-size: 13px; text-align:center; }

@media (max-width: 980px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .method-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step-chip { margin-bottom: 0; }
  .score-mix-head { flex-direction: column; gap: 4px; }
}

/* --- правки: сетка без ступеньки, ровные заголовки шагов --- */
.sec-light::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(50,36,22,.08) 1px, transparent 1px) 12.5% 0 / 25% 100%,
    radial-gradient(70% 45% at 50% 50%, rgba(255,248,235,.16), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, transparent 120px, #000 230px, #000 calc(100% - 230px), transparent calc(100% - 120px));
          mask-image: linear-gradient(180deg, transparent 120px, #000 230px, #000 calc(100% - 230px), transparent calc(100% - 120px));
}
.step { min-height: 0; }
.step-chip { margin: 22px 0 0; }
.step h3 { margin-top: 26px; }
@media (max-width: 640px) {
  .sec-light::before { inset: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 90px, #000 170px, #000 calc(100% - 170px), transparent calc(100% - 90px));
            mask-image: linear-gradient(180deg, transparent 90px, #000 170px, #000 calc(100% - 170px), transparent calc(100% - 90px)); }
}

@media (max-width: 560px) {
  .step { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num title ico" "chip chip chip" "text text text";
          column-gap: 14px; align-items: center; padding: 18px; }
  .step-top { display: contents; }
  .step-num { grid-area: num; font-size: 40px; }
  .step-ico { grid-area: ico; }
  .step h3 { grid-area: title; margin: 0; font-size: 24px; }
  .step-chip { grid-area: chip; margin: 14px 0 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .step-chip small { margin: 0; }
  .step p { grid-area: text; font-size: 14px; }
}


/* ============ Топ: только список + сортировка ============ */
.sort-tabs {
  display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: var(--paper-2, rgba(255,245,230,.05)); border: 1px solid var(--line, var(--border));
  overflow-x: auto; scrollbar-width: none;
}
.sort-tabs::-webkit-scrollbar { display: none; }
.sort-tabs a {
  flex: none; padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--ink-muted, var(--muted)); transition: background .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.sort-tabs a:hover { color: var(--ink, var(--text)); }
.sort-tabs a.on { background: var(--ink, #ece5da); color: var(--paper-2, #141210); }

/* подсветка столбца, по которому отсортировано */
.sort-subs .top-list-head .col-subs, .sort-verdict .top-list-head .col-verdict,
.sort-score .top-list-head .col-score { color: var(--accent, var(--amber)); }
.sort-subs .top-row .col-subs { font-weight: 700; color: var(--ink); }

/* медали только в сортировке по оценке */
.sec-light .top-list:not(.sort-score) .top-row .rank-sm {
  background: none !important; color: var(--ink-muted); width: 18px; height: auto; font-size: inherit;
}

/* загрузка при смене сортировки */
#topSection .top-view { transition: opacity .2s; }
#topSection.is-loading .top-view { opacity: .45; }

/* строка на телефоне: подписчики и вердикт под названием */
.m-meta { display: none; }
.vdot { display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 0; border-radius: 50%; vertical-align: middle; background: var(--new); }
.vdot.ok { background: var(--ok); } .vdot.warn { background: var(--warn); } .vdot.bad { background: var(--bad); }
@media (max-width: 640px) {
  .top-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .top-count { text-align: left; }
  .sort-tabs a { flex: 1 0 auto; text-align: center; padding: 8px 12px; font-size: 13px; }
  .top-row { padding: 12px 14px; }
  .top-row .ch small:not(.m-meta) { display: block; }
  .m-meta { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-muted, var(--muted)); }
  .top-row .ch b { font-size: 15px; }
}

/* ============ Топ: тёмные «ониксовые» строки на бумаге ============
   Первые три места (в сортировке по оценке) — отсвет и рамка золота / серебра / бронзы. */
.sec-light .top-list {
  background: none; border: 0; box-shadow: none; overflow: visible;
  display: flex; flex-direction: column; gap: 8px;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.sec-light .top-list-head { border: 0; padding: 0 20px 2px; color: var(--ink-muted); }
.sec-light .top-row {
  --glow: transparent; --edge: rgba(255, 240, 220, .07);
  position: relative; border: 1px solid var(--edge) !important; border-radius: 16px; padding: 14px 20px;
  background:
    radial-gradient(70% 160% at 0% 0%, var(--glow), transparent 62%),
    linear-gradient(180deg, #1f1a16, #14110f);
  box-shadow: 0 8px 20px rgba(40, 24, 10, .22), inset 0 1px 0 rgba(255, 230, 190, .07);
  color: #eee7dc; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sec-light .top-row:hover { background:
    radial-gradient(70% 160% at 0% 0%, var(--glow), transparent 62%),
    linear-gradient(180deg, #26201b, #181412);
  transform: translateY(-1px); box-shadow: 0 14px 28px rgba(40, 24, 10, .3), inset 0 1px 0 rgba(255, 230, 190, .1); }
.sec-light .top-row .ch b { color: #f4ede2; }
.sec-light .top-row .ch small, .sec-light .top-row .muted, .sec-light .top-row .m-meta { color: #a3978a; }
.sec-light .top-row .num { color: #e6dccd; }
.sec-light .sort-subs .top-row .col-subs { color: #fff3df; }
.sec-light .top-row .rank-sm { flex: none; width: 26px !important; display: grid !important; place-items: center; color: #8b8075; background: none; }

/* вердикты и оценки — светлые оттенки для тёмного фона */
.sec-light .top-row .badge.ok   { color: #8fd6aa; background: rgba(111, 209, 151, .12); }
.sec-light .top-row .badge.warn { color: #e3b866; background: rgba(227, 184, 102, .12); }
.sec-light .top-row .badge.bad  { color: #e98a74; background: rgba(233, 138, 116, .12); }
.sec-light .top-row .badge.new  { color: #a8a097; background: rgba(168, 160, 151, .12); }
.sec-light .top-row .score { background: rgba(255, 245, 230, .05); border-color: rgba(255, 240, 220, .12); }
.sec-light .top-row .score.ok { color: #8fd6aa; } .sec-light .top-row .score.warn { color: #e3b866; }
.sec-light .top-row .score.bad { color: #e98a74; } .sec-light .top-row .score.new { color: #a8a097; }
.sec-light .top-row .vdot.ok { background: #8fd6aa; } .sec-light .top-row .vdot.warn { background: #e3b866; } .sec-light .top-row .vdot.bad { background: #e98a74; }

/* 1 — золото, 2 — серебро, 3 — бронза */
.sec-light .top-list.sort-score .top-row:nth-child(2) { --glow: rgba(216, 162, 76, .30); --edge: rgba(216, 162, 76, .38); }
.sec-light .top-list.sort-score .top-row:nth-child(3) { --glow: rgba(205, 205, 212, .20); --edge: rgba(205, 205, 212, .30); }
.sec-light .top-list.sort-score .top-row:nth-child(4) { --glow: rgba(196, 116, 64, .26); --edge: rgba(196, 116, 64, .34); }
.sec-light .top-list.sort-score .top-row:nth-child(2) .score { border-color: rgba(216, 162, 76, .45); color: #ecc985; }
.sec-light .top-list.sort-score .top-row:nth-child(3) .score { border-color: rgba(205, 205, 212, .35); color: #dedee3; }
.sec-light .top-list.sort-score .top-row:nth-child(4) .score { border-color: rgba(196, 116, 64, .42); color: #e1a37a; }
.sec-light .top-list.sort-score .top-row:nth-child(-n+4) .rank-sm {
  width: 22px !important; height: 22px; margin: 0 2px; border-radius: 50%; font-size: 11px; font-weight: 700; color: #1a140e;
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .3), 0 0 10px var(--glow);
}

@media (max-width: 640px) {
  .sec-light .top-list { gap: 7px; }
  .sec-light .top-row { padding: 12px 14px; border-radius: 14px; }
  .sec-light .top-list-head { display: none; }
}
@media (max-width: 640px) { .m-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .top-row .ch > span:last-child { min-width: 0; } }

/* ============ Топ: крупнее + заметная шапка ============ */
.sec-light .top-list { gap: 10px; }
.sec-light .top-list-head, .sec-light .top-row { gap: 16px; }
/* шапка — тёмная полоса над строками */
.sec-light .top-list-head {
  padding: 14px 24px; margin-bottom: 4px; border-radius: 14px;
  background: linear-gradient(180deg, #2b241e, #1d1814);
  border: 1px solid rgba(255, 240, 220, .08);
  box-shadow: 0 6px 16px rgba(40, 24, 10, .18), inset 0 1px 0 rgba(255, 230, 190, .06);
  color: #d6cab8; font-size: 12.5px; letter-spacing: .1em;
}
.sec-light .top-list-head span:first-child { padding-left: 46px; }   /* над названием, а не над номером */
.sec-light .sort-score .top-list-head .col-score,
.sec-light .sort-subs .top-list-head .col-subs,
.sec-light .sort-verdict .top-list-head .col-verdict { color: #e3b866; }
/* строки крупнее */
.sec-light .top-row { padding: 18px 24px; border-radius: 18px; }
.sec-light .top-row .ch { gap: 16px; }
.sec-light .top-row .avatar { width: 48px; height: 48px; border-radius: 14px; font-size: 19px; }
.sec-light .top-row .ch b { font-size: 18px; }
.sec-light .top-row .ch small { font-size: 14px; margin-top: 2px; }
.sec-light .top-row .muted { font-size: 16px; }
.sec-light .top-row .num { font-size: 18px; }
.sec-light .top-row .badge { font-size: 14px; padding: 6px 13px; }
.sec-light .top-row .score { min-width: 56px; height: 40px; font-size: 19px; border-radius: 12px; }
.sec-light .top-row .rank-sm { width: 30px !important; font-size: 17px; }
.sec-light .top-list.sort-score .top-row:nth-child(-n+4) .rank-sm { width: 28px !important; height: 28px; margin: 0 1px; font-size: 13px; }
@media (max-width: 640px) {
  .sec-light .top-row { padding: 14px 16px; border-radius: 16px; }
  .sec-light .top-row .avatar { width: 42px; height: 42px; font-size: 17px; }
  .sec-light .top-row .ch { gap: 12px; }
  .sec-light .top-row .ch b { font-size: 16.5px; }
  .sec-light .top-row .m-meta { font-size: 13px; }
  .sec-light .top-row .score { min-width: 50px; height: 38px; font-size: 18px; }
  .sec-light .top-row .rank-sm { width: 24px !important; font-size: 15px; }
  .sec-light .top-list.sort-score .top-row:nth-child(-n+4) .rank-sm { width: 24px !important; height: 24px; font-size: 12px; }
}
@media (max-width: 640px) {
  .sec-light .top-row { grid-template-columns: minmax(0, 1fr) auto; }
  .sec-light .top-row .ch { min-width: 0; }
  .sec-light .top-row .ch > span:last-child { min-width: 0; overflow: hidden; }
  .sec-light .top-row .ch b, .sec-light .top-row .ch small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 640px) {
  .sec-light .top-row .m-meta { white-space: normal; overflow: visible; text-overflow: clip; display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; }
  .sec-light .top-row .m-meta span { white-space: nowrap; }
}

/* ============ Топ: общая рамка-подложка + строки светлее ============ */
.sec-light .top-list {
  padding: 12px; border-radius: 26px; gap: 8px;
  background: linear-gradient(180deg, #ddd4c5, #d3c9b8);
  border: 1px solid rgba(50, 36, 22, .16);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 245, .6),        /* светлая кромка сверху */
    0 2px 6px rgba(50, 32, 16, .10),
    0 26px 60px rgba(50, 32, 16, .28);            /* «лежит над страницей» */
}
.sec-light .top-list-head { margin-bottom: 2px; }
.sec-light .top-row {
  background:
    radial-gradient(70% 160% at 0% 0%, var(--glow), transparent 62%),
    linear-gradient(180deg, #40362e, #332b25);
  box-shadow: 0 4px 12px rgba(40, 24, 10, .16), inset 0 1px 0 rgba(255, 230, 190, .09);
}
.sec-light .top-row:hover {
  background:
    radial-gradient(70% 160% at 0% 0%, var(--glow), transparent 62%),
    linear-gradient(180deg, #4a3f36, #3a312a);
  box-shadow: 0 10px 22px rgba(40, 24, 10, .22), inset 0 1px 0 rgba(255, 230, 190, .12);
}
.sec-light .top-row .ch small, .sec-light .top-row .muted, .sec-light .top-row .m-meta { color: #b4a898; }
.sec-light .top-list.sort-score .top-row:nth-child(2) { --glow: rgba(216, 162, 76, .34); }
.sec-light .top-list.sort-score .top-row:nth-child(3) { --glow: rgba(210, 210, 218, .22); }
.sec-light .top-list.sort-score .top-row:nth-child(4) { --glow: rgba(196, 116, 64, .30); }
@media (max-width: 640px) {
  .sec-light .top-list { padding: 8px; border-radius: 20px; gap: 7px; margin: 0 -6px; }
}


/* ============ Страница «Методология» ============ */
.method-page { margin-top: 0; padding: 80px 0 40px; }
.method-page .section-title { margin-top: 0; }
.method-page .section-title h2 { font-size: clamp(40px, 7vw, 76px); }
@media (max-width: 640px) { .method-page { padding-top: 48px; } }


/* ============ Подвал ============ */
footer.site-footer {
  position: relative; overflow: hidden; margin-top: 100px; padding: 72px 0 0;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 15px;
  background:
    radial-gradient(60% 120% at 50% 120%, rgba(180, 67, 43, .16), transparent 60%),
    linear-gradient(180deg, rgba(14, 12, 11, .6), #0b0a09 40%);
}
.site-footer::before {   /* те же тонкие линии сетки, что на первом экране */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,240,220,.05) 1px, transparent 1px) 12.5% 0 / 25% 100%;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.site-footer .wrap { position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot-logo { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.foot-logo img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.foot-logo .wordmark { font-size: 28px; }
.foot-brand p { margin: 0; max-width: 380px; line-height: 1.6; }
.foot-tg {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,245,230,.04); color: var(--text); font-weight: 600; font-size: 14px;
  transition: border-color .2s, background .2s;
}
.foot-tg:hover { border-color: rgba(216,162,76,.45); background: rgba(216,162,76,.08); }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h4 {
  margin: 4px 0 6px; font: 600 12px/1 var(--font-mono, monospace); letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber);
}
.foot-col a { color: #b3a999; width: fit-content; transition: color .2s; position: relative; }
.foot-col a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--amber); transition: right .25s; }
.foot-col a:hover { color: var(--text); }
.foot-col a:hover::after { right: 0; }

.foot-note {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 16px;
  border: 1px solid var(--border); background: rgba(255,245,230,.025); font-size: 13.5px; line-height: 1.55;
}
.foot-note p { margin: 0; }
.foot-note-mark {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(216,162,76,.5); color: var(--amber); font: 700 12px/1 var(--font-mono, monospace);
}
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 26px 0 30px; font-size: 13px; color: #786f64;
}
.foot-src { font-family: var(--font-mono, monospace); font-size: 12px; }
.foot-up {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: none; color: var(--muted); font: 600 13px/1 inherit; font-family: inherit;
  transition: color .2s, border-color .2s;
}
.foot-up:hover { color: var(--text); border-color: rgba(255,240,220,.2); }
.foot-giant {
  position: relative; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font-family: var(--font-serif); font-stretch: 72%; font-weight: 400; line-height: .78;
  font-size: clamp(90px, 21vw, 330px); letter-spacing: -.02em; margin-bottom: -.12em;
  background: linear-gradient(180deg, rgba(238,231,220,.11), rgba(238,231,220,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-giant em { font-style: italic; font-weight: 300;
  background: linear-gradient(180deg, rgba(216,162,76,.2), rgba(216,162,76,0) 85%); -webkit-background-clip: text; background-clip: text; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  footer.site-footer { margin-top: 72px; padding-top: 52px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 36px; }
  .foot-col:last-child { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
  .foot-col:last-child h4 { width: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-up { align-self: stretch; justify-content: center; padding: 12px; }
}
.foot-giant { font-size: clamp(72px, 17vw, 290px); }


/* ============ Компактная методология на главной ============ */
.method--compact { margin-top: 24px; }
.method--compact .step { padding: 20px; }
.method--compact .step-num { font-size: 44px; }
.method--compact .step h3 { margin-top: 16px; font-size: 24px; }
.method--compact .step p { font-size: 14px; }
.method-more { display: flex; justify-content: center; margin-top: 22px; }
.method-more .btn { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; padding: 12px 22px; }
@media (max-width: 560px) {
  .method--compact .step-num { font-size: 36px; }
  .method--compact .step h3 { margin: 0; font-size: 22px; }
  .method--compact .step p { margin-top: 8px; }
  .method-more .btn { width: 100%; justify-content: center; }
}


/* подвал без колонки «Журнал» */
.foot-grid { grid-template-columns: 1.8fr 1fr 1fr; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-col:last-child { grid-column: auto; flex-direction: column; gap: 12px; } }


/* ============ Логотип TGChoice ============
   «TG» — прямой шрифт с засечками, «Choice» — курсив янтарного цвета. */
.wordmark { letter-spacing: 0; }
.wordmark em { margin-left: 2px; }


/* ============ Логотип tg/choice (вариант E4) ============ */
.logo-mark.term { width: 34px; height: 34px; flex: none; background: none; border-radius: 9px; box-shadow: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); transition: transform .3s cubic-bezier(.34, 1.4, .5, 1); }
.logo-mark.term::after { content: none; }
.logo:hover .logo-mark.term { transform: translateY(-1px) scale(1.05); }
.logo:hover .logo-mark.term .tick { animation: tickDraw .5s ease; }
@keyframes tickDraw { from { stroke-dasharray: 40; stroke-dashoffset: 40; } to { stroke-dasharray: 40; stroke-dashoffset: 0; } }
.wordmark.wm-term {
  font-family: "JetBrains Mono", ui-monospace, monospace; font-stretch: normal; font-style: normal;
  font-weight: 700; font-size: 23px; letter-spacing: -.04em; color: #eee7dc; line-height: 1; white-space: nowrap;
}
.wm-term i { font-style: normal; color: var(--amber); }
.wm-term u {
  display: inline-block; width: .5em; height: .92em; margin-left: .08em; vertical-align: -.12em;
  background: var(--amber); opacity: .85; text-decoration: none; animation: caretBlink 1.1s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.foot-logo .logo-mark.term { width: 38px; height: 38px; }
.foot-logo .wm-term { font-size: 26px; }
/* большая надпись в подвале */
.foot-giant--term { font-family: "JetBrains Mono", ui-monospace, monospace; font-stretch: normal; font-weight: 800;
  letter-spacing: -.06em; font-size: clamp(64px, 15.5vw, 260px); line-height: .8; }
.foot-giant--term i { font-style: normal; background: linear-gradient(180deg, rgba(216,162,76,.22), rgba(216,162,76,0) 85%);
  -webkit-background-clip: text; background-clip: text; }
.foot-giant--term u { display: inline-block; width: .5em; height: .7em; margin-left: .06em; vertical-align: -.02em;
  background: linear-gradient(180deg, rgba(216,162,76,.2), rgba(216,162,76,0) 90%); text-decoration: none; }
@media (max-width: 640px) { .wordmark.wm-term { display: inline; font-size: 21px; } .logo-mark.term { width: 32px; height: 32px; } }
@media (max-width: 360px) { .wordmark.wm-term { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .wm-term u { animation: none; } }


/* ============ Чистка главной ============ */
/* полоса статистики вместо ряда преимуществ и блока «Коротко в цифрах» */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-strip > div { padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.stats-strip > div + div { border-left: 1px solid var(--border); }
.stats-strip small { font: 500 11.5px/1 var(--font-mono, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stats-strip b { font-family: var(--font-serif); font-stretch: 72%; font-weight: 400; font-size: 40px; line-height: 1; color: #f4ede2; }
.stats-strip b i { font-style: normal; font-size: .45em; color: var(--muted); margin-left: 3px; }
.stats-strip b.upd { font-family: var(--font-mono, monospace); font-stretch: normal; font-size: 17px; font-weight: 500; padding-top: 12px; color: #d6cab8; }
.hero-lume { padding-bottom: 56px; }
.btc-tag { margin-top: 30px; }

/* короче переходы к «бумажному» топу */
.sec-light { padding-top: 120px; padding-bottom: 120px;
  background: linear-gradient(180deg,
    rgba(8,7,7,0) 0px, #2a2018 28px, #7a6650 62px, #b3a38c 88px, var(--paper) 110px,
    var(--paper) calc(100% - 110px), #b3a38c calc(100% - 88px), #7a6650 calc(100% - 62px), #2a2018 calc(100% - 28px), rgba(8,7,7,0) 100%); }
.sec-light::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 90px, #000 150px, #000 calc(100% - 150px), transparent calc(100% - 90px));
          mask-image: linear-gradient(180deg, transparent 90px, #000 150px, #000 calc(100% - 150px), transparent calc(100% - 90px)); }
.top-toolbar { justify-content: center; }

/* монеты: только название и оценка */
.coin-user { display: none; }
.coin-name { font-size: 21px; } .coin-right .coin-name { font-size: 19px; }
.coin-score { margin-top: 8px; }

@media (max-width: 760px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip > div { padding: 16px 16px; }
  .stats-strip > div:nth-child(3) { border-left: 0; }
  .stats-strip > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stats-strip b { font-size: 32px; }
  .stats-strip b.upd { font-size: 15px; padding-top: 8px; }
}
@media (max-width: 640px) {
  .sec-light { padding-top: 96px; padding-bottom: 96px;
    background: linear-gradient(180deg, rgba(8,7,7,0) 0, #2a2018 20px, #7a6650 46px, #b3a38c 66px, var(--paper) 82px,
      var(--paper) calc(100% - 82px), #b3a38c calc(100% - 66px), #7a6650 calc(100% - 46px), #2a2018 calc(100% - 20px), rgba(8,7,7,0) 100%); }
  .top-toolbar { align-items: stretch; }
}


/* ============ Витрина проверенных каналов ============ */
/* капсула с цифрами (вариант B) */
.stats-cap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px;
  padding: 22px 36px; border-radius: 999px;
  background: linear-gradient(180deg, #221d19, #151210);
  border: 1px solid rgba(216, 162, 76, .22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 230, 190, .08);
}
.stats-cap > div { display: flex; align-items: center; gap: 14px; }
.stats-cap b { font-family: var(--font-serif); font-stretch: 72%; font-weight: 400; font-size: 46px; line-height: 1; color: #f4ede2; white-space: nowrap; }
.stats-cap b.au { color: #e9c784; }
.stats-cap small { color: #a3978a; font-size: 13px; line-height: 1.35; }
.stats-cap small em { font-style: normal; color: #eee7dc; font-family: var(--font-mono, monospace); font-size: 14px; }
.stats-cap .dv { width: 1px; height: 40px; flex: none; background: linear-gradient(transparent, rgba(216, 162, 76, .45), transparent); }
.stats-cap .pulse {
  width: 12px; height: 12px; border-radius: 50%; flex: none; background: #6fd197;
  box-shadow: 0 0 0 5px rgba(111, 209, 151, .15), 0 0 14px #6fd197; animation: capPulse 2.4s ease-in-out infinite;
}
@keyframes capPulse { 50% { box-shadow: 0 0 0 9px rgba(111, 209, 151, 0), 0 0 18px #6fd197; } }

/* топ: значок «проверен» и столбец роста */
.vcheck {
  display: inline-block; width: 16px; height: 16px; margin-left: 7px; vertical-align: -2px; border-radius: 50%;
  background: #6fd197 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.3l2.2 2.2L11.5 5.7' fill='none' stroke='%23142019' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat;
  box-shadow: 0 0 8px rgba(111, 209, 151, .45);
}
.sec-light .top-row .col-growth { font-weight: 600; }
.sec-light .top-row .col-growth.up { color: #8fd6aa; }
.sec-light .top-row .col-growth.down { color: #e98a74; }
.sec-light .top-row .m-meta .up { color: #8fd6aa; } .sec-light .top-row .m-meta .down { color: #e98a74; }
.top-list-head .col-growth { text-align: right; }

@media (max-width: 900px) {
  .stats-cap { border-radius: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 22px 24px; }
  .stats-cap .dv { display: none; }
  .stats-cap b { font-size: 36px; }
}
@media (max-width: 400px) { .stats-cap > div { flex-direction: column; align-items: flex-start; gap: 6px; } .stats-cap .upd { flex-direction: row; } }
@media (prefers-reduced-motion: reduce) { .stats-cap .pulse { animation: none; } }

/* название + галочка: галочка не переносится, длинное название обрезается */
.sec-light .top-row .ch b.nmw { display: flex; align-items: center; min-width: 0; white-space: nowrap; overflow: visible; }
.sec-light .top-row .ch b.nmw .nm { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sec-light .top-row .ch b.nmw .vcheck { flex: none; }
@media (max-width: 900px) { .stats-cap .upd { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(216,162,76,.18); } }

/* ============ Топ на телефоне: компактнее ============ */
@media (max-width: 640px) {
  .sec-light .top-list { padding: 6px; gap: 6px; border-radius: 18px; }
  .sec-light .top-row { padding: 10px 12px; border-radius: 13px; gap: 10px; }
  .sec-light .top-row .ch { gap: 10px; }
  .sec-light .top-row .avatar { width: 36px; height: 36px; border-radius: 11px; font-size: 15px; }
  .sec-light .top-row .ch b { font-size: 15px; }
  .sec-light .top-row .ch small:not(.m-meta) { display: none; }          /* @username прячем — он есть в сводке */
  .sec-light .top-row .m-meta { margin-top: 3px; font-size: 12.5px; flex-wrap: nowrap; column-gap: 8px; }
  .sec-light .top-row .m-meta span + span::before { content: "·"; margin-right: 8px; color: #6e655b; }
  .sec-light .top-row .score { min-width: 42px; height: 32px; font-size: 16px; border-radius: 10px; }
  .sec-light .top-row .rank-sm { width: 18px !important; font-size: 13px; }
  .sec-light .top-list.sort-score .top-row:nth-child(-n+4) .rank-sm { width: 20px !important; height: 20px; font-size: 10.5px; }
  .vcheck { width: 14px; height: 14px; margin-left: 5px; }
}

.wk-s { display: none; }
@media (max-width: 640px) { .sec-light .top-row .m-meta .wk { display: none; } .sec-light .top-row .m-meta .wk-s { display: inline; opacity: .75; }
  .sec-light .top-row .m-meta .wk-s::before, .sec-light .top-row .m-meta .wk::before { content: none !important; } }


/* ============ Страница методологии: подробные разделы ============ */
.method-page .method-note { display: none; }          /* дисклеймер — в самом низу страницы */
.mp-sec { margin-top: 88px; }
.mp-head { text-align: center; margin-bottom: 32px; }
.mp-head h2 { font-family: var(--font-serif); font-stretch: 72%; font-weight: 400; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; margin: 0 0 10px; color: #f4ede2; }
.mp-head p { margin: 0 auto; max-width: 620px; color: var(--muted); }
.mp-sec + .method-note, main > .method-note { display: block; margin: 72px 0 0; text-align: center; color: #6e665c; font-size: 13px; }

/* воронка */
.funnel { list-style: none; margin: 0 auto; padding: 22px 26px; max-width: 860px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(26,22,19,.96), rgba(15,13,12,.96)); border: 1px solid var(--border); }
.fn-row { display: grid; grid-template-columns: 210px 1fr 54px 48px; align-items: center; gap: 16px; padding: 11px 0; }
.fn-row + .fn-row { border-top: 1px solid rgba(255,240,220,.05); }
.fn-label { color: #cfc4b4; font-size: 15px; }
.fn-bar { height: 10px; border-radius: 99px; background: rgba(255,245,230,.05); overflow: hidden; }
.fn-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7a4f1f, #c8873d); transition: width .8s cubic-bezier(.3,.8,.3,1); }
.fn-num { text-align: right; font-family: var(--font-serif); font-stretch: 72%; font-size: 26px; color: #f4ede2; }
.fn-cut { text-align: right; font: 600 13px var(--font-mono, monospace); color: #e0806a; }
.fn-top { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(216,162,76,.3) !important; }
.fn-top .fn-label { color: #e9c784; font-weight: 700; }
.fn-top .fn-bar i { background: linear-gradient(90deg, #d8a24c, #f3d79f); box-shadow: 0 0 12px rgba(216,162,76,.6); }
.fn-top .fn-num { color: #e9c784; }

/* что смотрим */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.detail { position: relative; padding: 26px 26px 24px 84px; border-radius: 20px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(26,22,19,.96), rgba(15,13,12,.96)); }
.d-num { position: absolute; left: 26px; top: 20px; font-family: var(--font-serif); font-stretch: 72%; font-weight: 300; font-size: 44px; line-height: 1; color: #d4b07a; }
.detail h3 { margin: 4px 0 12px; font-family: var(--font-serif); font-stretch: 72%; font-weight: 400; font-size: 26px; color: #f4ede2; }
.detail ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 7px; }
.detail li { position: relative; padding-left: 18px; color: #cfc4b4; font-size: 15px; line-height: 1.45; }
.detail li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.d-why { margin: 0; padding-top: 12px; border-top: 1px solid rgba(255,240,220,.06); color: var(--muted); font-size: 14px; line-height: 1.5; }
.d-why b { color: #d6cab8; font-weight: 600; }

/* красные флаги */
.flags { padding: 28px 30px; border-radius: 22px; border: 1px solid rgba(214,90,66,.3);
  background: radial-gradient(80% 140% at 0% 0%, rgba(180,67,43,.16), transparent 60%), linear-gradient(180deg, #1c1513, #120e0d); }
.flags-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.flags-head h2 { margin: 0 0 4px; font-family: var(--font-serif); font-stretch: 72%; font-weight: 400; font-size: 34px; color: #f4ede2; }
.flags-head p { margin: 0; color: #c9a99c; }
.flag-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid #d65a42; color: #e98a74; font: 700 22px var(--font-mono, monospace); box-shadow: 0 0 18px rgba(214,90,66,.35); }
.flag-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.flag-list li { position: relative; padding-left: 26px; color: #e2d6c8; font-size: 15px; line-height: 1.45; }
.flag-list li::before { content: "✕"; position: absolute; left: 0; top: 0; color: #e0806a; font-weight: 700; font-size: 13px; }

/* правила */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rule { padding: 26px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(26,22,19,.96), rgba(15,13,12,.96)); }
.r-big { display: block; font-family: var(--font-serif); font-stretch: 72%; font-weight: 300; font-size: 60px; line-height: 1; color: #e9c784; }
.r-big i { font-style: normal; font-size: .45em; margin-left: 3px; color: #b08a55; }
.rule h3 { margin: 14px 0 6px; font-size: 17px; color: #f4ede2; }
.rule p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* чего не делаем */
.nots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nots p { margin: 0; padding: 22px 24px; border-radius: 18px; border: 1px dashed rgba(255,240,220,.14); color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.nots b { display: block; margin-bottom: 6px; color: #f4ede2; font-size: 16px; }

/* вопросы */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--border); background: rgba(16,14,13,.94); transition: border-color .2s; }
.faq details[open] { border-color: rgba(216,162,76,.35); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative; color: #f4ede2; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 22px var(--font-mono, monospace); color: var(--amber); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); line-height: 1.6; }
.faq a { color: var(--amber); }

@media (max-width: 860px) {
  .detail-grid, .flag-list { grid-template-columns: 1fr; }
  .rules, .nots { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mp-sec { margin-top: 64px; }
  .funnel { padding: 14px 16px; }
  .fn-row { grid-template-columns: 1fr 44px 38px; grid-template-areas: "label num cut" "bar bar bar"; gap: 6px 10px; }
  .fn-label { grid-area: label; font-size: 14px; } .fn-bar { grid-area: bar; } .fn-num { grid-area: num; font-size: 22px; } .fn-cut { grid-area: cut; }
  .detail { padding: 20px 20px 20px 66px; } .d-num { left: 20px; top: 16px; font-size: 36px; } .detail h3 { font-size: 23px; }
  .flags { padding: 22px 20px; } .flags-head h2 { font-size: 28px; }
  .r-big { font-size: 48px; }
}


/* ============ Выпуски ============ */
.ed-dates { margin: -2px 0 6px !important; font: 500 13px var(--font-mono, monospace); letter-spacing: .04em; color: var(--accent, #8e5419) !important; }
.excluded { max-width: 980px; margin: 14px auto 0; display: grid; gap: 6px; }
.excluded p { margin: 0; padding: 10px 16px; border-radius: 12px; font-size: 14px; color: #5f554a;
  background: rgba(166, 60, 40, .07); border: 1px dashed rgba(166, 60, 40, .3); }
.excluded b { color: #3a2f26; text-decoration: line-through; text-decoration-color: rgba(166,60,40,.6); }
.ex-mark { color: #a63c28; font-weight: 700; margin-right: 8px; }
.ed-archive { text-align: center; margin-top: 18px; }
.ed-archive a { color: var(--accent, #8e5419); font-weight: 700; font-size: 15px; }
.ed-archive a:hover { text-decoration: underline; }

/* как обновляется топ */
.cycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: c; }
.cycle li { position: relative; padding: 22px 22px 22px; border-radius: 18px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(26,22,19,.96), rgba(15,13,12,.96)); }
.cycle li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 26px; z-index: 1; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: #1d1814; border: 1px solid rgba(216,162,76,.35); color: var(--amber); font-size: 12px; }
.c-n { font: 700 13px var(--font-mono, monospace); color: var(--amber); letter-spacing: .1em; }
.cycle h3 { margin: 12px 0 6px; font-size: 17px; color: #f4ede2; }
.cycle p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cycle-now { margin: 18px 0 0; text-align: center; color: #cfc4b4; font-size: 15px; }
.cycle-now a { color: var(--amber); font-weight: 600; }

/* архив */
.arch .arch-ed { max-width: 860px; margin: 0 auto 16px; border-radius: 22px; border: 1px solid var(--border); overflow: hidden;
  background: linear-gradient(180deg, rgba(26,22,19,.96), rgba(15,13,12,.96)); }
.arch .arch-ed.is-current { border-color: rgba(216,162,76,.4); box-shadow: 0 0 0 1px rgba(216,162,76,.12), 0 20px 50px rgba(0,0,0,.4); }
.arch-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid rgba(255,240,220,.06); }
.arch-head h3 { margin: 0; font-family: var(--font-serif); font-stretch: 72%; font-weight: 400; font-size: 30px; color: #f4ede2; }
.arch-head small { color: var(--muted); font-size: 13px; }
.arch-now { padding: 6px 12px; border-radius: 99px; background: rgba(216,162,76,.12); color: var(--amber); font: 600 12px var(--font-mono, monospace); white-space: nowrap; }
.arch-list { list-style: none; margin: 0; padding: 8px 12px 12px; }
.arch-list li { display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; }
.arch-list li:nth-child(odd) { background: rgba(255,245,230,.025); }
.a-rank { color: var(--muted); font-weight: 700; text-align: center; }
.arch-list li:nth-child(1) .a-rank { color: #e9c784; } .arch-list li:nth-child(2) .a-rank { color: #d6d6dc; } .arch-list li:nth-child(3) .a-rank { color: #e1a37a; }
.a-name { color: #f4ede2; font-weight: 600; min-width: 0; }
.a-name small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.a-subs { color: #cfc4b4; font-variant-numeric: tabular-nums; }
.a-score { min-width: 44px; text-align: center; padding: 4px 8px; border-radius: 10px; border: 1px solid rgba(255,240,220,.12); color: #8fd6aa; font-weight: 700; }
.arch-list li.is-out .a-name { color: #8f877b; text-decoration: line-through; }
.a-out { color: #e0806a; font-size: 12.5px; text-align: right; max-width: 220px; }

@media (max-width: 900px) { .cycle { grid-template-columns: 1fr 1fr; } .cycle li:nth-child(2)::after { display: none; } }
@media (max-width: 560px) {
  .cycle { grid-template-columns: 1fr; } .cycle li::after { display: none; }
  .arch-list li { grid-template-columns: 22px 1fr auto; } .a-subs { display: none; }
  .arch-head { padding: 16px 18px; } .arch-head h3 { font-size: 26px; }
}

.arch-list li.is-out { background: rgba(214,90,66,.05) !important; border: 1px dashed rgba(214,90,66,.22); margin-top: 6px; }
.arch-list li.is-out .a-rank { color: #e0806a; }

/* архив пока скрыт — в цикле три шага */
.cycle { grid-template-columns: repeat(3, 1fr); }
.cycle li:nth-child(3)::after { display: none; }
@media (max-width: 900px) { .cycle { grid-template-columns: 1fr; } .cycle li::after { display: none; } }

/* настоящие аватарки каналов */
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.avatar:has(img) { background: #1a1613; }
