/* ============================================================
   РЕКОРД — стартовый CSS для record.vtrener.ru
   Палитра/типографика из дизайн-системы razryad.
   ============================================================ */

:root {
  --accent: #ff5a1f;
  --accent-soft: rgba(255, 90, 31, 0.14);
  --accent-d: #f04d12;

  --bg: #15130f;
  --bg-2: #1c1a15;
  --surface: #211e18;
  --surface-2: #29251e;
  --surface-3: #332e25;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --ink: #f6f1e9;
  --ink-2: #c8c0b2;
  --ink-3: #8d8475;

  --display: "Unbounded", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-xxl: 36px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.8);
  --shadow-sm: 0 6px 18px -10px rgba(0, 0, 0, 0.7);
  --grid-line: rgba(255, 255, 255, 0.035);

  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3efe8;
  --bg-2: #efe9e0;
  --surface: #ffffff;
  --surface-2: #faf7f1;
  --surface-3: #f1ece2;
  --line: rgba(30, 22, 10, 0.10);
  --line-strong: rgba(30, 22, 10, 0.18);
  --ink: #241d12;
  --ink-2: #5c5443;
  --ink-3: #8d8473;
  --grid-line: rgba(30, 22, 10, 0.045);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.rec-body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.rec-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px 32px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.rec-logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.rec-logo-mark {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px var(--accent);
}
.rec-logo-text {
  font-family: var(--display); font-weight: 800; font-size: 18px;
  letter-spacing: 0.02em; color: var(--ink);
}
.rec-nav {
  display: flex; gap: 28px; flex: 1; justify-content: center;
}
.rec-nav a {
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: color 0.16s;
}
.rec-nav a:hover { color: var(--ink); }
.rec-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14.5px;
  padding: 11px 18px; border-radius: 99px;
  box-shadow: 0 10px 24px -12px var(--accent);
  transition: filter 0.16s;
}
.rec-cta:hover { filter: brightness(1.06); }

/* ============================================================
   HERO
   ============================================================ */
.rec-hero {
  position: relative; overflow: hidden;
  padding: 90px 32px 70px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 90, 31, 0.10), transparent 50%),
    var(--bg);
}
.rec-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.6; pointer-events: none;
  background-image: radial-gradient(var(--grid-line) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}
.rec-hero-inner {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.rec-eyebrow {
  font-family: var(--mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; color: var(--accent);
  margin-bottom: 22px;
}
.rec-eyebrow-center { text-align: center; }
.rec-h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(48px, 7vw, 80px); line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.rec-h1 em { font-style: normal; color: var(--accent); }
.rec-lead {
  font-size: 17px; line-height: 1.6; color: var(--ink-2);
  max-width: 520px; margin: 24px 0 32px;
}
.rec-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.rec-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: var(--r-md);
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: filter 0.16s, transform 0.12s var(--ease), border-color 0.16s, background 0.16s;
}
.rec-btn:active { transform: translateY(1px) scale(0.99); }
.rec-btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 12px 28px -14px var(--accent);
}
.rec-btn-primary:hover { filter: brightness(1.06); }
.rec-btn-dark {
  background: var(--surface); color: var(--ink); border-color: var(--line-strong);
}
.rec-btn-dark:hover { background: var(--surface-2); }
.rec-btn-lg { padding: 17px 30px; font-size: 16px; border-radius: var(--r-lg); }

.rec-pills { display: flex; flex-wrap: wrap; gap: 16px; }
.rec-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.rec-pill i { color: var(--accent); }

.rec-hero-visual {
  min-height: 460px; position: relative;
  display: grid; place-items: center;
}
.rec-mockup-placeholder {
  width: 100%; max-width: 540px; aspect-ratio: 4 / 3;
  border: 2px dashed var(--line-strong); border-radius: var(--r-xl);
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(255,90,31,0.05), transparent);
}
.rec-mockup-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
}

/* ============================================================
   SOCPROOF
   ============================================================ */
.rec-socproof {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 36px 32px;
}
.rec-socproof-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.rec-stat { text-align: center; }
.rec-stat-v {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 3vw, 38px); color: var(--ink);
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.rec-stat-l {
  font-size: 13px; color: var(--ink-3);
  margin-top: 6px; letter-spacing: 0.02em;
}

/* ============================================================
   SECTION-Y UTILS
   ============================================================ */
.rec-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.rec-h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05;
  letter-spacing: -0.02em; text-align: center; color: var(--ink);
}
.rec-section-lead {
  font-size: 17px; color: var(--ink-2); line-height: 1.6;
  text-align: center; margin: 16px auto 0; max-width: 600px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.rec-how { padding: 100px 0; }
.rec-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.rec-step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 32px;
  position: relative;
}
.rec-step-n {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 20px;
  margin-bottom: 20px;
}
.rec-step h3 {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em;
}
.rec-step p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ============================================================
   FEATURES
   ============================================================ */
.rec-features { padding: 100px 0; background: var(--bg-2); }
.rec-feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 56px;
}
.rec-feat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 32px 28px;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.rec-feat:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.rec-feat-ic {
  width: 50px; height: 50px; border-radius: 13px; flex: none;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.rec-feat h3 {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em;
}
.rec-feat p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ============================================================
   VS TABLE
   ============================================================ */
.rec-vs { padding: 100px 0; }
.rec-vs-table {
  width: 100%; max-width: 920px; margin: 48px auto 0;
  border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  font-size: 15px;
}
.rec-vs-table thead th {
  font-family: var(--mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  padding: 18px 22px; background: var(--surface-2); border-bottom: 1px solid var(--line);
  text-align: left;
}
.rec-vs-table thead th:nth-child(3) { color: var(--accent); }
.rec-vs-table td {
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.rec-vs-table tr:last-child td { border-bottom: none; }
.rec-vs-table td:first-child { font-weight: 600; color: var(--ink); width: 40%; }
.rec-no { color: var(--ink-3); }
.rec-yes { color: var(--accent); font-weight: 600; }

/* ============================================================
   PRICE
   ============================================================ */
.rec-price { padding: 100px 0; background: var(--bg-2); }
.rec-price-card {
  max-width: 520px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-xxl); padding: 48px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.rec-price-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35;
  background: radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.rec-price-amount {
  font-family: var(--display); font-weight: 800; font-size: 92px;
  line-height: 1; color: var(--ink); letter-spacing: -0.04em;
  margin: 16px 0 6px; position: relative;
  font-variant-numeric: tabular-nums;
}
.rec-price-cur { font-size: 56px; color: var(--accent); }
.rec-price-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 32px; position: relative; }
.rec-price-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 11px;
  text-align: left; position: relative;
}
.rec-price-list li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14.5px; color: var(--ink);
}
.rec-price-list li i { color: var(--accent); flex: none; }

/* ============================================================
   FAQ
   ============================================================ */
.rec-faq { padding: 100px 0; }
.rec-faq-list { max-width: 760px; margin: 48px auto 0; }
.rec-faq-list details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); margin-bottom: 12px;
  padding: 0 24px;
  transition: border-color 0.16s;
}
.rec-faq-list details:hover { border-color: var(--line-strong); }
.rec-faq-list details[open] { border-color: var(--accent); }
.rec-faq-list summary {
  cursor: pointer; padding: 22px 0;
  font-family: var(--display); font-weight: 600; font-size: 17px;
  color: var(--ink); letter-spacing: -0.01em;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.rec-faq-list summary::-webkit-details-marker { display: none; }
.rec-faq-list summary::after {
  content: "+"; font-family: var(--display); font-weight: 700; font-size: 24px;
  color: var(--accent); margin-left: 14px; flex: none;
  transition: transform 0.2s var(--ease);
}
.rec-faq-list details[open] summary::after { transform: rotate(45deg); }
.rec-faq-list p {
  font-size: 14.5px; line-height: 1.65; color: var(--ink-2);
  padding: 0 0 22px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.rec-final {
  padding: 110px 0; text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 90, 31, 0.12), transparent 60%),
    var(--bg-2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.rec-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 36px 32px; }
.rec-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px;
  align-items: start;
}
.rec-logo-sm .rec-logo-mark { width: 28px; height: 28px; border-radius: 8px; }
.rec-logo-sm .rec-logo-text { font-size: 15px; }
.rec-footer-tag { font-size: 13px; color: var(--ink-3); margin-top: 10px; max-width: 320px; }
.rec-footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.rec-footer-links a:hover { color: var(--accent); }
.rec-footer-meta {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: var(--ink-3); text-align: right;
}
.rec-footer-meta a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .rec-nav { display: none; }
  .rec-hero { padding: 60px 22px 50px; }
  .rec-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .rec-hero-visual { min-height: 320px; }
  .rec-socproof-inner { grid-template-columns: 1fr 1fr; gap: 22px; }
  .rec-how, .rec-features, .rec-vs, .rec-price, .rec-faq, .rec-final { padding: 70px 0; }
  .rec-steps, .rec-feat-grid { grid-template-columns: 1fr; }
  .rec-vs-table { font-size: 13.5px; }
  .rec-vs-table th, .rec-vs-table td { padding: 13px 14px; }
  .rec-price-card { padding: 32px 24px; }
  .rec-price-amount { font-size: 68px; }
  .rec-price-cur { font-size: 42px; }
  .rec-footer-inner { grid-template-columns: 1fr; }
  .rec-footer-meta { text-align: left; }
}
@media (max-width: 540px) {
  .rec-header { padding: 14px 18px; gap: 16px; }
  .rec-cta { padding: 9px 14px; font-size: 13px; }
  .rec-section-inner { padding: 0 22px; }
}

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

/* === HERO: новый price-pill рядом с CTA === */
.rec-price-pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px; border-radius: var(--r-md);
  background: var(--surface); border: 1.5px solid var(--accent);
  color: var(--ink); transition: background 0.16s, transform 0.12s var(--ease);
  text-decoration: none;
}
.rec-price-pill:hover { background: var(--surface-2); }
.rec-price-pill:active { transform: translateY(1px) scale(0.99); }
.rec-price-pill-amount {
  font-family: var(--display); font-weight: 800; font-size: 24px;
  color: var(--accent); letter-spacing: -0.02em; line-height: 1; flex: none;
}
.rec-price-pill-meta {
  font-size: 11.5px; line-height: 1.3; color: var(--ink-3);
}

/* === HERO: pills с key-словом перед текстом === */
.rec-pills {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 540px;
}
.rec-pill {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px;
  align-items: start;
}
.rec-pill-key {
  grid-row: span 2; align-self: center;
  font-family: var(--display); font-weight: 700; font-size: 18px;
  color: var(--ink); line-height: 1; min-width: 44px;
}
.rec-pill > span:last-child {
  font-size: 13px; line-height: 1.35; color: var(--ink-2);
  font-weight: 500;
}

/* === HERO: визуал — стек дашборд + телефон + плавающие бейджи === */
.rec-mockup-stack {
  position: relative; width: 100%; max-width: 600px; aspect-ratio: 4 / 3;
  margin: 0 auto;
}
.rec-mockup-desk {
  position: absolute; left: 0; top: 8%; width: 92%; height: auto;
  border-radius: 14px; box-shadow: 0 30px 70px -28px rgba(0,0,0,0.85), 0 0 0 1px var(--line-strong);
  transform: rotate(-1.2deg);
  background: var(--surface);
}
.rec-mockup-phone {
  position: absolute; right: 0; bottom: 0;
  width: 32%; height: auto; border-radius: 18px;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,0.8), 0 0 0 1px var(--line-strong);
  transform: rotate(3deg);
  background: var(--surface-2);
}
.rec-float-badge {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.rec-float-badge i { color: var(--accent); }
.rec-float-badge-top {
  left: -16px; top: -6px;
  animation: rec-float 4.5s ease-in-out infinite;
}
.rec-float-badge-bot {
  right: 12%; top: 38%;
  animation: rec-float 5s ease-in-out -2s infinite;
}
.rec-float-plus {
  font-family: var(--display); font-weight: 700; color: var(--accent);
  font-size: 14px;
}
@keyframes rec-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* === MARQUEE — две бегущие строки === */
.rec-marquee {
  padding: 26px 0; background: var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.rec-marquee-row { overflow: hidden; padding: 7px 0; }
.rec-marquee-track {
  display: inline-flex; align-items: center; gap: 24px;
  white-space: nowrap; padding-left: 24px;
  animation: rec-marquee-slide 60s linear infinite;
  width: max-content;
}
.rec-marquee-track.rec-marquee-reverse {
  animation-direction: reverse;
  animation-duration: 70s;
}
@keyframes rec-marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Категории сверху — крупнее, серые с акцентом-точкой */
.rec-marquee-cats { padding: 4px 0 8px; }
.rec-marquee-cats .rec-marquee-track {
  gap: 32px; animation-duration: 90s;
  font-family: var(--display); font-weight: 600;
  color: var(--ink-3); font-size: 16px;
  letter-spacing: -0.005em;
}
.rec-cat {}
.rec-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex: none; display: inline-block;
}
/* Chips */
.rec-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink);
  flex: none;
}
.rec-chip-plus {
  display: inline-grid; place-items: center; min-width: 36px; height: 24px;
  padding: 0 8px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: -0.01em;
}
.rec-chip-em { font-size: 17px; line-height: 1; }

/* === НЕ ПУСТОЙ СТАРТ — большая dark-карточка === */
.rec-empty { padding: 100px 0; background: var(--bg); }
.rec-empty-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xxl); padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.rec-empty-card::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.rec-empty-text { position: relative; z-index: 2; }
.rec-eyebrow-on-dark { color: var(--accent); }
.rec-h2-left { text-align: left; }
.rec-h2-on-dark { color: var(--ink); }
.rec-empty-lead {
  margin-top: 18px; font-size: 16px; line-height: 1.65; color: var(--ink-2);
  max-width: 480px;
}
.rec-empty-visual { position: relative; z-index: 2; }
.rec-empty-visual img {
  width: 100%; height: auto; border-radius: var(--r-lg);
  box-shadow: 0 24px 50px -22px rgba(0,0,0,0.8);
  border: 1px solid var(--line);
}
.rec-empty-badge {
  position: absolute; right: -18px; top: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
  animation: rec-float 4s ease-in-out infinite;
}
.rec-empty-badge i { color: var(--accent); }

/* === 3 ДЕТАЛЬНЫЕ КАРТОЧКИ С МИНИ-МОКАПАМИ === */
.rec-detail { padding: 100px 0; background: var(--bg-2); }
.rec-detail-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 56px;
}
.rec-detail-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.rec-detail-card h3 {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  color: var(--ink); letter-spacing: -0.01em;
}
.rec-detail-card > p {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-2);
}
.rec-detail-mock {
  margin-top: auto;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px;
}
.rec-detail-mock-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 10px;
}
.rec-detail-mock-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
}
.rec-detail-mock-row + .rec-detail-mock-row { border-top: 1px solid var(--line); }
.rec-detail-ava {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  font-weight: 700; font-size: 11.5px;
}
.rec-detail-name { flex: 1; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.rec-detail-pillset { display: inline-flex; gap: 6px; flex: none; }
.rec-detail-st {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent;
  display: grid; place-items: center; color: var(--ink-3);
}
.rec-detail-st.present { color: #2fb763; border-color: rgba(47,183,99,0.4); }
.rec-detail-st.late { color: #efb02a; border-color: rgba(239,176,42,0.4); }
.rec-detail-st.absent { color: #e24b48; border-color: rgba(226,75,72,0.4); }
.rec-detail-st.on.present { background: #2fb763; color: #fff; border-color: #2fb763; }
.rec-detail-st.on.late { background: #efb02a; color: #3a2c00; border-color: #efb02a; }
.rec-detail-st.on.absent { background: #e24b48; color: #fff; border-color: #e24b48; }

/* Podium для конкурсов */
.rec-podium {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 8px; padding: 14px 0 0;
}
.rec-podium-col {
  flex: 1; display: flex; flex-direction: column; align-items: center;
}
.rec-podium-ava {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  font-weight: 700; font-size: 12px;
  margin-bottom: 6px;
}
.rec-podium-bar {
  width: 100%; border-radius: 8px 8px 0 0;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 18px; color: #fff;
}
.rec-podium-bar.place-1 { height: 72px; background: var(--accent); }
.rec-podium-bar.place-2 { height: 52px; background: #6E7798; }
.rec-podium-bar.place-3 { height: 38px; background: #3f7bd6; }

/* QR карточка */
.rec-detail-mock-card { padding: 16px; }
.rec-qr-row {
  display: flex; align-items: center; gap: 14px;
}
.rec-qr {
  width: 68px; height: 68px; padding: 5px;
  background: #fff; border-radius: 8px; flex: none;
}
.rec-qr-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 1px; width: 100%; height: 100%;
}
.rec-qr-grid span {
  background: #fff; aspect-ratio: 1;
}
.rec-qr-grid span.on { background: #0b0a08; }
.rec-qr-side { flex: 1; min-width: 0; }
.rec-qr-name {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em;
}
.rec-qr-code {
  font-family: var(--display); font-weight: 800; font-size: 28px;
  color: #2fb763; letter-spacing: 4px;
}

/* === ADJUSTMENTS под v3 === */
.rec-cta-row { align-items: stretch; }
.rec-cta-row .rec-btn { padding: 14px 22px; }

@media (max-width: 980px) {
  .rec-pills { grid-template-columns: 1fr 1fr; max-width: none; }
  .rec-mockup-stack { aspect-ratio: 4 / 3.5; }
  .rec-empty-card { grid-template-columns: 1fr; padding: 36px 26px; gap: 32px; }
  .rec-empty-badge { right: 12px; top: 12px; }
  .rec-detail-grid { grid-template-columns: 1fr; }
  .rec-marquee-cats .rec-marquee-track { font-size: 14px; }
  .rec-marquee-track { gap: 18px; animation-duration: 50s; }
  .rec-price-pill { padding: 10px 16px; }
  .rec-price-pill-amount { font-size: 20px; }
  .rec-price-pill-meta { font-size: 10.5px; }
}
@media (max-width: 540px) {
  .rec-pills { grid-template-columns: 1fr; gap: 12px; }
}
