/* Дизайн-токены сняты с apple.com (2026-07-17, решение владельца — весь сайт):
   системные SF-шрифты; #1d1d1f на #fff; секции #f5f5f7; линии #d2d2d7;
   вторичный текст #6e6e73; акцент #0071e3 (кнопки) / #0066cc (ссылки);
   карточки 18px; пилюли 980px.
   Релендинг 2026-07-18: hero-типографика Nike-масштаба, единая моушен-система
   (подъём + тень на ховерах, стаггер-появление .rv), фокус-кольца. */

:root {
  --bg: #FFFFFF;
  --ink: #1D1D1F;
  --panel: #F5F5F7;
  --slate: #424245;
  --line: #D2D2D7;
  --muted: #6E6E73;
  --blue: #0071E3;
  --link: #0066CC;
  --live: #217A3C;
  --live-bg: #EAF6EE;
  --grumble: #93621B;
  --grumble-bg: #FAF2DE;
  --degrade: #B3261E;
  --degrade-bg: #FBEEED;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* моушен: одна кривая на весь сайт, ховеры 200мс, появление 550мс */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* многослойная тень вместо рамок (светлая тема) */
  --shadow-lift:
    0px 0px 0px 1px rgba(0, 0, 0, 0.04),
    0px 2px 4px -1px rgba(0, 0, 0, 0.06),
    0px 8px 20px -4px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
b { font-weight: 600; }

/* фокус с клавиатуры виден всегда; мышиные клики кольца не рисуют */
:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px;
}
#search:focus-visible { outline-offset: 0; border-radius: 980px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }

/* ---------- шапка: полупрозрачная с блюром, как nav Apple ---------- */
.site-head {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.head-row {
  display: flex; align-items: center; gap: 28px; height: 52px;
}
.wordmark {
  font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-link { font-weight: 400; font-size: 14px; color: var(--ink); }
.nav-link:hover { color: var(--link); }

/* поиск: тихая пилюля на #f5f5f7 */
.search-box { position: relative; flex: 1; max-width: 400px; margin-left: auto; }
#search {
  width: 100%; height: 36px; padding: 0 18px;
  border: none; border-radius: 980px; background: var(--panel);
  font: inherit; font-size: 14px; color: var(--ink); outline: none;
}
#search:focus { background: #EBEBED; }
#search-results {
  position: absolute; top: 44px; left: 0; right: 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 11px 34px rgba(0, 0, 0, 0.12);
  max-height: 420px; overflow-y: auto; z-index: 30;
}
.sr-item {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 16px; border-bottom: 1px solid var(--line);
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover { background: var(--panel); }
.sr-item img, .sr-item .icon-ph { width: 28px; height: 28px; border-radius: 7px; }
.sr-name { font-weight: 600; font-size: 14px; }
.sr-cat { font-size: 12px; color: var(--muted); }

/* ---------- hero: гигантская типографика Nike, воздух Apple ---------- */
.hero { padding: 84px 0 56px; }
.hero-eyebrow {
  margin-bottom: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.hero-title {
  font-size: clamp(46px, 7.6vw, 116px);
  font-weight: 700;
  letter-spacing: -0.03em; line-height: 0.98;
  text-wrap: balance;
}
.hero-sub {
  max-width: 560px; margin-top: 26px;
  font-size: 19px; line-height: 1.5; color: var(--slate);
  text-wrap: pretty;
}
.stat-strip {
  display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 30px;
  font-size: 14px; color: var(--muted);
}
.stat-strip b { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }
/* крупные цифры недели: числа отдельной строкой, Nike-масштаб */
.stat-big { gap: 18px 56px; margin-top: 44px; }
.stat-big span { display: flex; flex-direction: column; gap: 2px; }
.stat-big b {
  font-size: clamp(26px, 3vw, 40px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
}

/* ---------- секции ---------- */
.cat-section { margin: 44px 0; }
.cat-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
}
.cat-title {
  font-size: 24px; font-weight: 600; letter-spacing: -0.01em;
}
.cat-title a:hover { color: var(--link); }
.see-all { font-size: 14px; font-weight: 400; color: var(--muted); }
.see-all:hover { color: var(--link); }

/* ---------- маркер свежести: статус-чип «Analyzed/Updated N days ago» ---------- */
.freshmark {
  display: inline-flex; align-items: center; gap: 8px; align-self: center;
  padding: 7px 15px; border-radius: 980px;
  background: var(--live-bg); color: var(--live);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
}
.freshmark::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--live); flex-shrink: 0;
}
.freshmark time { font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
  .cat-head { flex-wrap: wrap; gap: 6px 12px; }
  .freshmark { font-size: 13px; padding: 6px 12px; }
}

/* строка списка */
.list { border-top: 1px solid var(--line); }
.row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 10px; border-bottom: 1px solid var(--line);
}
.row:hover { background: var(--panel); }
.rank {
  min-width: 24px; text-align: right;
  font-weight: 600; font-size: 15px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.icon { border-radius: 9px; flex-shrink: 0; }
.icon-ph {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--slate); color: #fff; font-weight: 600; font-size: 20px;
}
.row-main { flex: 1; min-width: 0; }
.row-name { display: block; font-weight: 600; font-size: 16px; letter-spacing: -0.005em; }
.flag { color: var(--degrade); }
.row-tag {
  display: block; font-size: 14px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.row-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stars { font-weight: 600; }

/* бейджи-пилюли: семантика состояний отдельно от акцента */
.badge {
  padding: 3px 11px; border-radius: 980px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
}
.badge-live { background: var(--live-bg); color: var(--live); }
.badge-grumbling { background: var(--grumble-bg); color: var(--grumble); }
.badge-degrading { background: var(--degrade-bg); color: var(--degrade); }
.badge-suspicious { background: var(--ink); color: #fff; }

/* ---------- страница категории ---------- */
.crumbs { padding: 20px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--link); }
.cat-hero { padding: 28px 0 8px; }
.page-title {
  font-size: clamp(30px, 4.5vw, 48px); font-weight: 600;
  letter-spacing: -0.015em; line-height: 1.08;
}
.cat-desc { margin-top: 10px; font-size: 17px; color: var(--slate); max-width: 640px; }
.logo-strip { display: flex; gap: 8px; margin-top: 20px; }
.sort-line {
  margin: 24px 0 12px; font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.rank-note {
  margin: -4px 0 16px; font-size: 14px; color: var(--slate); max-width: 640px;
}

.cards { display: flex; flex-direction: column; }
.card { padding: 24px 10px; border-top: 1px solid var(--line); }
.card-head { display: flex; align-items: flex-start; gap: 16px; }
.card-title { flex: 1; min-width: 0; }
.card-name { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.card-name:hover { color: var(--link); }
.card .row-tag { white-space: normal; }

.verdict {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px;
  margin-top: 16px; padding-left: 104px;
}
.pros li, .cons li {
  position: relative; padding-left: 22px; margin-bottom: 6px;
  font-size: 14.5px; color: var(--slate);
}
.pros li::before {
  content: "+"; position: absolute; left: 0;
  font-weight: 700; color: var(--live);
}
.cons li::before {
  content: "–"; position: absolute; left: 0;
  font-weight: 700; color: var(--degrade);
}
.card-flag, .flag-banner {
  margin-top: 12px; padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 14px;
}
.card-flag { margin-left: 104px; }
.more {
  display: inline-block; margin: 12px 0 0 104px;
  font-size: 14px; font-weight: 600; color: var(--link);
}
.more:hover { text-decoration: underline; }

/* ---------- страница продукта ---------- */
.product-head {
  display: flex; align-items: center; gap: 24px; padding: 32px 0 8px;
  flex-wrap: wrap;
}
.product-head .page-title { font-size: clamp(28px, 4vw, 40px); }
.product-title { flex: 1; min-width: 260px; }

/* кнопка Apple: синяя пилюля 980px */
.btn-primary {
  padding: 12px 24px; border-radius: 980px;
  background: var(--blue); color: #fff;
  font-weight: 400; font-size: 16px; white-space: nowrap;
}
.btn-primary:hover { background: #0077ED; }

.meta-strip {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; font-variant-numeric: tabular-nums;
}
.flag-banner { margin-top: 20px; font-size: 15px; }
.verdict-full { padding-left: 0; margin-top: 28px; gap: 16px 48px; }
.verdict-full li { font-size: 15.5px; margin-bottom: 10px; }
.block-title {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 12px; color: var(--muted);
}
.verdict-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

.axes { margin-top: 40px; padding: 26px; background: var(--panel); border-radius: 18px; }
.axis { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.axis-name { width: 104px; font-size: 13px; color: var(--muted); }
.axis-bar { flex: 1; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.axis-fill { display: block; height: 100%; background: var(--slate); border-radius: 3px; }
.axis-val { width: 36px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.axis-line { margin-top: 14px; font-size: 14px; font-weight: 500; }
.axis-note { margin-top: 4px; font-size: 12px; color: var(--muted); }
.perm-note { margin-top: 12px; font-size: 13px; color: var(--grumble); }

.checked { margin-top: 40px; padding: 26px; background: var(--panel); border-radius: 18px; }
.checked-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.checked-grid div { display: flex; flex-direction: column; }
.checked-grid b { font-size: 21px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.checked-grid span { font-size: 13px; color: var(--muted); }

.tile-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 44px 0;
}
.tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 28px; background: var(--panel); border-radius: 18px;
}
.tile:hover { background: #EBEBED; }
.tile b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.tile span { font-size: 14px; color: var(--muted); max-width: 400px; }

/* ---------- моушен-система: подъём панелей, нажатие кнопок ----------
   Ховер = transform + тень (не только цвет), 200мс по общей кривой.
   Частые элементы (строки списков) остаются на лёгкой смене фона. */
@media (prefers-reduced-motion: no-preference) {
  .lift {
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
      background-color 0.2s var(--ease);
  }
  .lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .lift:active { transform: translateY(0) scale(0.99); }
  .btn-primary { transition: transform 0.2s var(--ease), background-color 0.2s var(--ease); }
  .btn-primary:active { transform: scale(0.97); }
  .group-chip { transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
  .group-chip:hover { transform: translateY(-1px); }
}

/* ---------- подвал: серый низ Apple, навигация + две строки ---------- */
.site-foot {
  margin-top: 96px; padding: 40px 0 56px;
  background: var(--panel); border-top: 1px solid var(--line);
}
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 20px; }
.foot-nav a { font-size: 13px; font-weight: 600; color: var(--ink); }
.foot-nav a:hover { color: var(--link); }
.foot-line { max-width: 640px; font-size: 13px; color: var(--slate); }
.foot-line + .foot-line { margin-top: 8px; }

/* ---------- адаптив ---------- */
@media (max-width: 720px) {
  .head-row { gap: 12px; }
  .nav-link { display: none; }
  .row-meta { display: none; }
  .card-head { flex-wrap: wrap; }
  .card-head .row-meta { display: flex; width: 100%; padding-left: 104px; }
  .verdict { grid-template-columns: 1fr; padding-left: 0; }
  .card-flag, .more { margin-left: 0; }
  .checked-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 48px 0 32px; }
  .stat-big { gap: 14px 28px; margin-top: 32px; }
  .tile-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .row, .card-name, .nav-link, .tile {
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
  }
}

/* ремень: при reduced-motion гаснет всё, включая будущие анимации */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- навигация: активная вкладка чёрным, ховер синим ---------- */
.main-nav { display: flex; gap: 22px; }
.main-nav .nav-link:hover { color: var(--link); }
.main-nav .nav-link.active { font-weight: 600; color: var(--ink); }
.sr-sec { font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--muted); margin-left: auto; }

/* ---------- главная: hero по центру ---------- */
.hero-center .wrap { text-align: center; }
.hero-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-center .stat-strip { justify-content: center; }

/* ---------- hero-каскад: чистый CSS, живёт и без JS ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-title, .hero-sub, .stat-strip {
    animation: hero-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-sub { animation-delay: 0.12s; }
  .stat-strip { animation-delay: 0.24s; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
}

/* ---------- scroll-reveal: скрытие только под html.rv-on (инлайн-гейт) ---------- */
.rv-on .rv {
  opacity: 0; transform: translateY(10px); filter: blur(4px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.12s ease;
}
.rv-on .rv.rv-in { opacity: 1; transform: none; filter: none; }
/* страховка: reveal.js не догрузился (rv-live не появился) — всё проявляется само */
.rv-on:not(.rv-live) .rv {
  animation: rv-safety 0.55s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
}
@keyframes rv-safety { to { opacity: 1; transform: none; filter: none; } }
/* ремень кодом: смена настройки ОС после загрузки не оставляет скрытых */
@media (prefers-reduced-motion: reduce) {
  .rv-on .rv { opacity: 1; transform: none; filter: none; animation: none; }
}


/* ---------- This Week: арена боёв ---------- */
.arena-head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.arena-phase {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.arena-phase .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.arena-phase.live .dot { background: #E5484D; }
.arena-head .freshmark { margin-left: auto; }

.bouts { display: flex; flex-direction: column; gap: 16px; }
.bout {
  position: relative; background: var(--panel); border-radius: 20px;
  padding: 20px;
}
/* вход: бойцы сходятся навстречу (a слева, b справа), «vs» падает между ними —
   один раз при загрузке, со стаггером по номеру боя. backwards (не both): после
   входа transform не пинится, чтобы .won/.lost в фазе итога отработали переходом */
@media (prefers-reduced-motion: no-preference) {
  .fighter {
    animation: fighter-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: calc(var(--i, 0) * 55ms);
  }
  .fighter[data-choice="a"] { --from-x: -16px; }
  .fighter[data-choice="b"] { --from-x: 16px; }
  .bout-vs {
    animation: vs-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    animation-delay: calc(var(--i, 0) * 55ms + 200ms);
  }
}
@keyframes fighter-in {
  from { opacity: 0; transform: translateX(var(--from-x, 0)); filter: blur(3px); }
}
@keyframes vs-in { from { opacity: 0; transform: scale(0.7); } }
.bout-no {
  position: absolute; top: 16px; left: 20px; z-index: 1;
  font-size: 12px; font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.bout-pair {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  gap: 14px; margin-top: 10px;
}
.bout-vs {
  align-self: center; font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}

.fighter {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 14px; border-radius: 14px; background: #fff;
  transition: box-shadow 0.35s ease, opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.win-badge {
  display: none; align-self: flex-start;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: #fff; background: var(--ink);
  border-radius: 999px; padding: 2px 9px;
}
.fighter-face { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fighter-face .icon { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }
.fighter-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fighter-name {
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fighter-tag {
  font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-top: 1px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.fighter-src { font-size: 12px; color: var(--muted); white-space: nowrap; }

.vote-btn {
  display: none; align-items: center; gap: 10px; width: 100%;
  border: 1px solid var(--line); background: #fff; border-radius: 11px;
  padding: 9px 12px; cursor: pointer; font: inherit; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.arena-js .bout.is-voting .vote-btn { display: flex; }
.bout.is-voting .vote-btn:hover { border-color: var(--ink); }
.bout.is-voting .vote-btn:active { transform: scale(0.97); }
.vote-label { font-size: 13px; font-weight: 600; white-space: nowrap; }
.vote-bar {
  flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden;
}
.vote-fill {
  display: block; height: 100%; width: 100%; background: var(--link); border-radius: 3px;
  transform: scaleX(0); transform-origin: left;   /* scaleX, не width — без reflow */
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.vote-num {
  font-size: 13px; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right;
}

/* проголосовал: свой выбор подсвечен, кнопки некликабельны */
.bout.voted .vote-btn { cursor: default; }
.bout.voted .vote-btn.mine { border-color: var(--link); background: rgba(0, 113, 227, 0.06); }
.bout.voted .vote-btn.mine .vote-label { color: var(--link); }

/* резолв: победитель крупно сверху, проигравший карточкой под ним */
.bout.is-resolved .bout-pair { grid-template-columns: 1fr; }
.bout.is-resolved .bout-vs { display: none; }
.arena-js .bout.is-resolved .vote-btn { display: flex; cursor: default; }
.bout.is-resolved .vote-label { display: none; }
.fighter.won { order: 0; box-shadow: 0 0 0 2px var(--ink); transform: translateY(-2px); }
.fighter.won .win-badge { display: inline-block; }
.fighter.won .vote-fill { background: var(--ink); }
/* проигравший вдвое компактнее: тэглайн (главный вклад в высоту) убран, иконка
   и отступы уменьшены — карточка читается как «для справки», не как соперник */
.fighter.lost { order: 1; opacity: 0.68; padding: 8px 12px; gap: 6px; }
.fighter.lost .fighter-face .icon { width: 24px; height: 24px; border-radius: 7px; }
.fighter.lost .fighter-name { font-size: 13px; }
.fighter.lost .fighter-tag { display: none; }
.fighter.lost .vote-btn { padding: 5px 10px; }
.fighter.lost .vote-bar { height: 4px; }
.fighter.lost .vote-num { font-size: 11px; }

.bout.bye .bout-pair { grid-template-columns: 1fr auto; align-items: center; }
.bye-note {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); white-space: nowrap;
}
.bout.bye .vote-btn { display: none; }

/* reduced-motion: снимаем переходы арены (WAAPI-импакт гейтится в arena.js) */
@media (prefers-reduced-motion: reduce) {
  .fighter, .vote-fill, .vote-btn { transition: none; }
  .fighter.won { transform: none; }
}

@media (max-width: 640px) {
  .bout { padding: 16px; }
  .bout-pair, .bout.is-voting .bout-pair { grid-template-columns: 1fr; }
  .bout-vs { justify-self: center; }
}

/* ---------- Лендинг: «отдел проверки» — воронка отбора, крупная типографика ---------- */
.lp-hero { padding: clamp(52px, 9vw, 116px) 0 clamp(30px, 5vw, 56px); }
.lp-kicker {
  font-size: 14px; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.lp-title {
  margin-top: 14px; font-size: clamp(46px, 8.5vw, 104px); font-weight: 700;
  line-height: 0.95; letter-spacing: -0.035em;
}
.lp-title .lp-line { display: block; }
.lp-lede {
  margin-top: clamp(20px, 3vw, 30px); max-width: 40ch;
  font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--slate);
}
.lp-main { padding-bottom: clamp(40px, 6vw, 80px); }
.lp-block-head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.lp-h2 { font-size: clamp(23px, 3vw, 31px); font-weight: 600; letter-spacing: -0.02em; }
.lp-block-head .freshmark { margin-left: auto; }

/* список дня — все пики равны */
.lp-list { display: flex; flex-direction: column; }
.lp-row {
  display: grid; grid-template-columns: 2.6ch auto 1fr auto; align-items: baseline;
  gap: 18px; padding: 15px 8px; border-top: 1px solid var(--line);
  border-radius: 10px;
  transition: background 0.12s var(--ease), transform 0.18s var(--ease);
}
.lp-list .lp-row:first-child { border-top: none; }
.lp-row:hover { background: var(--panel); transform: translateX(6px); }
.lp-row:hover .lp-row-n { color: var(--live); }
.lp-row-n {
  font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums;
}
.lp-row-name {
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 26ch;
}
.lp-row:hover .lp-row-name { color: var(--link); }
.lp-row-desc {
  font-size: 14.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-row-src { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.lp-quiet { font-size: 17px; color: var(--slate); }
.lp-quiet a { color: var(--link); font-weight: 600; }

/* три равные двери */
.lp-doors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: clamp(40px, 6vw, 76px) 0;
}
.lp-door {
  display: flex; flex-direction: column; gap: 15px; min-width: 0;
  padding: clamp(24px, 3vw, 32px); background: var(--panel); border-radius: 22px;
  transition: background 0.2s var(--ease);
}
.lp-door:hover { background: #EBEBED; }
.lp-door-title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.lp-door-list { display: flex; flex-direction: column; gap: 13px; }
.lp-door-list li { display: flex; flex-direction: column; min-width: 0; }
.lp-door-list b {
  font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-door-list span {
  font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-door-more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--link); }

/* кредо */
.lp-ethos {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px 52px;
  padding: clamp(38px, 5vw, 64px) 0 0; border-top: 1px solid var(--line);
}
.lp-ethos-line {
  font-size: clamp(26px, 3.6vw, 42px); font-weight: 600;
  letter-spacing: -0.028em; line-height: 1.04;
}
.lp-ethos-line span { color: var(--muted); }
.lp-ethos-body p { font-size: 16px; line-height: 1.6; color: var(--slate); max-width: 60ch; }
.lp-ethos-body p + p { margin-top: 14px; }

/* моушен: каскад героя + рост баров воронки */
@media (prefers-reduced-motion: no-preference) {
  .lp-kicker, .lp-lede { animation: lp-in 0.7s var(--ease) both; }
  .lp-lede { animation-delay: 0.34s; }
  .lp-title .lp-line { animation: line-up 0.8s var(--ease) both; }
  .lp-title .lp-line:nth-child(1) { animation-delay: 0.06s; }
  .lp-title .lp-line:nth-child(2) { animation-delay: 0.15s; }
  .lp-title .lp-line:nth-child(3) { animation-delay: 0.24s; }
  .lp-row {
    animation: lp-in 0.55s var(--ease) backwards;
    animation-delay: calc(var(--i, 0) * 55ms + 0.1s);
  }
}
@keyframes lp-in { from { opacity: 0; transform: translateY(12px); filter: blur(5px); } }
@keyframes line-up { from { opacity: 0; transform: translateY(0.4em); filter: blur(7px); } }

@media (max-width: 860px) {
  .lp-doors { grid-template-columns: 1fr; }
  .lp-ethos { grid-template-columns: 1fr; gap: 20px; }
  .lp-row { grid-template-columns: 2.6ch 1fr auto; }
  .lp-row-desc { display: none; }
}
@media (max-width: 420px) {
  .lp-row-src { display: none; }
  .lp-row { grid-template-columns: 2.6ch 1fr; }
}

/* ---------- бейджи источников (раздел launches) ---------- */
.src {
  display: inline-flex; align-items: center;
  padding: 3px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  background: var(--panel); color: var(--slate);
}
a.src:hover { color: var(--link); }
.src-hn { box-shadow: inset 2px 0 0 #FF6600; }
.src-github { box-shadow: inset 2px 0 0 #6E5494; }
.src-betalist { box-shadow: inset 2px 0 0 #0A7D33; }
.src-fazier { box-shadow: inset 2px 0 0 #6D28D9; }
.src-tinystartups { box-shadow: inset 2px 0 0 #0369A1; }
.src-producthunt { box-shadow: inset 2px 0 0 #DA552F; }
.src-startupfame { box-shadow: inset 2px 0 0 #CA8A04; }
.src-uneed { box-shadow: inset 2px 0 0 #0D9488; }
.src-saashub { box-shadow: inset 2px 0 0 #2563EB; }
.src-launchingnext { box-shadow: inset 2px 0 0 #16A34A; }
.src-appsumo { box-shadow: inset 2px 0 0 #F59E0B; }
.src-betapage { box-shadow: inset 2px 0 0 #7C3AED; }
.src-devhunt { box-shadow: inset 2px 0 0 #DB2777; }
.src-peerlist { box-shadow: inset 2px 0 0 #0EA5E9; }
.src-hf_spaces { box-shadow: inset 2px 0 0 #FFD21E; }
.src-hf_models { box-shadow: inset 2px 0 0 #FF9D00; }
.src-lobsters { box-shadow: inset 2px 0 0 #AC130D; }
.src-reddit { box-shadow: inset 2px 0 0 #FF4500; }
.src-microlaunch { box-shadow: inset 2px 0 0 #4C9BFC; }
.src-indiehackers { box-shadow: inset 2px 0 0 #1F364D; }
.src-productradar { box-shadow: inset 2px 0 0 #E11D48; }
.logo-strip .src { padding: 8px 16px; font-size: 14px; }
.badge-newskind { background: #fff; color: var(--slate); }
.gh-delta { color: var(--live); font-weight: 600; }

/* ---------- /news/: симметричная сетка карточек с выжимками ---------- */
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 12px 0 44px;
}
.news-card {
  background: var(--panel); border-radius: 18px; padding: 24px 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.news-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.news-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.3; }
.news-title a:hover { color: var(--link); }
.news-what { font-size: 15px; line-height: 1.5; color: var(--slate); }
.news-for { font-size: 14px; color: var(--muted); }
.news-k { font-weight: 600; text-transform: uppercase; font-size: 11px;
  letter-spacing: 0.06em; margin-right: 8px; color: var(--muted); }
.news-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.news-fact { background: #fff; border-radius: 980px; padding: 4px 12px;
  font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* появление: opacity+translateY+blur, стаггер по --i, только transform/opacity/filter */
@media (prefers-reduced-motion: no-preference) {
  .news-hero .page-title, .news-hero .cat-desc {
    animation: news-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .news-hero .cat-desc { animation-delay: 70ms; }
  .news-card {
    animation: news-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(120ms + var(--i, 0) * 60ms);
  }
}
@keyframes news-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@media (max-width: 720px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ---------- группы продуктов (раздел launches) ---------- */
.group-nav {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.group-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.group-chip:hover { border-color: var(--ink); }
.group-chip svg { border-radius: 6px; }
.group-chip .muted { font-weight: 500; }
.badge-type { background: var(--ink); color: #fff; }
.badge-type:hover { background: var(--slate); }
.badge-cross { background: var(--ink); color: #fff; }
.badge-gem { background: var(--blue); color: #fff; }
.group-hero-head { display: flex; align-items: center; gap: 16px; }
.group-hero-head svg { border-radius: 12px; flex-shrink: 0; }

/* карточка продукта: описание, «кому», темы */
.brief { margin-top: 24px; font-size: 18px; line-height: 1.55; color: var(--slate);
  max-width: 680px; }
.who { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.who .block-title { margin-bottom: 8px; }
.who p { font-size: 16px; line-height: 1.6; color: var(--ink); max-width: 680px; }
.topic-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.topic-row .badge { background: var(--panel); color: var(--slate); }

/* ---------- «первый взгляд»: upside/risk, панель вместо голых буллетов.
   Классы локальны для карточки лонча (build_product) — .verdict/.pros/.cons
   из общего style.css трогать нельзя, их же держит страница расширения. ---------- */
.take { margin-top: 28px; padding: 24px 28px; background: var(--panel); border-radius: 18px; }
.take-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.take-col + .take-col { padding-left: 40px; border-left: 1px solid var(--line); }
.take-label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
}
.take-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.take-label-up::before { background: var(--live); }
.take-label-watch::before { background: var(--degrade); }
.take-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; line-height: 1.5; color: var(--ink);
}
.take-list li + li { margin-top: 12px; }
.take-ic {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  font-size: 13px; font-weight: 700; line-height: 1;
}
.take-ic-up { background: var(--live-bg); color: var(--live); }
.take-ic-watch { background: var(--degrade-bg); color: var(--degrade); }
.take-note {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
@media (max-width: 640px) {
  .take-grid { grid-template-columns: 1fr; gap: 24px; }
  .take-col + .take-col {
    padding-left: 0; border-left: none; padding-top: 20px; border-top: 1px solid var(--line);
  }
}

/* ---------- главная launches: чипы категорий + карточки топ-1 ----------
   Классы pick/chips переиспользует и главная каталога /extensions/. */
.home-nav { margin: -18px 0 8px; }
.group-chip.txt { padding: 6px 14px; }
.pick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px 20px; align-items: stretch; margin: 4px 0 8px;
  width: calc(100vw - 44px); max-width: 1440px;
  position: relative; left: 50%; transform: translateX(-50%);
}
.pick {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 16px 18px; background: var(--panel); border-radius: 16px;
}
.pick:hover { background: #EBEBED; }
.pick-top { display: flex; align-items: center; justify-content: space-between;
  gap: 8px; min-height: 22px; }
.pick-type { font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.pick-head { display: flex; align-items: center; gap: 12px; }
.pick-head svg { border-radius: 9px; flex-shrink: 0; }
.pick-name { display: block; font-size: 16px; font-weight: 600;
  letter-spacing: -0.005em; line-height: 1.3; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.pick-tag {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-top: 2px;
  font-size: 13.5px; line-height: 1.4; color: var(--muted);
}
@media (max-width: 1399px) { .pick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1099px) { .pick-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 759px) { .pick-grid { grid-template-columns: 1fr; } }
