:root {
  --bg: #0d1a15;
  --bg-elevated: #142822;
  --bg-elevated-2: #1b352c;
  --line: #24463a;
  --gold: #e3a64a;
  --silver: #c3cfc9;
  --bronze: #c97f4a;
  --accent: #e3a64a;
  --accent-2: #5fb894;
  --text: #e4ece6;
  --muted: #8aa79b;
  --radius: 16px;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Onest', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

[id] { scroll-margin-top: 88px; }

/* Ссылки внутри текста — компонентные ссылки не затрагиваются */
.profile-section a,
.seo-text a,
.news-desc a,
.lede a,
.comments-note a {
  color: #8fd6b4;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(143, 214, 180, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}

.profile-section a:hover,
.seo-text a:hover,
.news-desc a:hover,
.lede a:hover,
.comments-note a:hover {
  color: #b4e6cd;
  text-decoration-color: currentColor;
}

body {
  margin: 0;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 64px
    ),
    radial-gradient(ellipse 900px 500px at 50% -10%, #1a3d2e 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- HEADER ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 23, 18, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.logo-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header.mobile-nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.mobile-nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.mobile-nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}

.site-header nav a:hover {
  color: var(--text);
  background: var(--bg-elevated);
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s ease, background .15s ease;
}

.nav-link:hover { color: var(--text); background: var(--bg-elevated); }

.nav-caret {
  width: 9px;
  height: 9px;
  transition: transform .15s ease;
}

.nav-item.open .nav-caret,
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  z-index: 20;
}

.dropdown-menu a {
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 500 !important;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--bg-elevated-2);
  color: var(--accent-2) !important;
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .site-header nav {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    box-shadow: 0 16px 32px rgba(0,0,0,0.4);
    transition: max-height .25s ease, opacity .2s ease, visibility .25s ease;
  }

  .site-header.mobile-nav-open nav {
    max-height: 80vh;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }

  .site-header nav a,
  .nav-link {
    width: 100%;
    padding: 13px 12px;
  }

  .nav-item { width: 100%; position: static; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--bg-elevated-2);
    margin: 2px 0 4px;
    padding: 4px;
  }

  .nav-item.open .dropdown-menu { display: flex; }

  .nav-item:hover .dropdown-menu { opacity: 0; visibility: hidden; display: none; }
  .nav-item.open:hover .dropdown-menu,
  .nav-item.open .dropdown-menu { opacity: 1; visibility: visible; display: flex; }
}

/* ---------- MAIN / HERO ---------- */
main { padding: 48px 0 64px; min-height: 60vh; }

.page-eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 12px 0;
  line-height: 1.12;
}

.lede {
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
  margin: 0 0 28px 0;
}

/* ---------- COMPLAINT FORM ---------- */
.complaint-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0 48px;
}

.complaint-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

.complaint-form input,
.complaint-form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px; /* не меньше 16px: iOS Safari зумит поля с мелким шрифтом */
  resize: vertical;
}

.complaint-form input:focus,
.complaint-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.complaint-form .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.form-note {
  font-size: 12px;
  color: #5d7a6d;
  font-style: italic;
  margin: 0;
}

.complaint-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
}

/* ---------- WARNING LIST (не прошли проверку) ---------- */
.warning-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0 40px;
}

.warning-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--bg-elevated);
  border: 1px solid #4a2a26;
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text);
  border-left: 3px solid #e07a5f;
}

.warning-row:hover { background: var(--bg-elevated-2); }

.badge-rejected {
  font-size: 11px;
  font-weight: 700;
  color: #2a1310;
  background: #e07a5f;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .warning-row { grid-template-columns: 40px 1fr; }
  .badge-rejected { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- RELATED / SEE ALSO ---------- */
.related-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.related-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .3px;
  margin: 0 0 18px 0;
  color: var(--accent-2);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}

.related-card:hover {
  border-color: var(--accent);
  background: var(--bg-elevated-2);
}

.related-card img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--bg-elevated-2);
  padding: 3px;
  flex-shrink: 0;
}

.related-name {
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 2px 0;
}

.related-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.related-links a {
  color: var(--accent-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}

.related-links a:hover { text-decoration: underline; }

/* ---------- GLOSSARY ---------- */
.glossary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 28px 0 36px;
}

.glossary-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.glossary-item h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  color: var(--accent);
  margin: 0 0 6px 0;
}

.glossary-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover { color: var(--accent-2); }

.breadcrumbs span.sep { color: #41594d; }

.breadcrumbs span.current { color: var(--text); }

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 44px;
}

.trust-item {
  background: var(--bg-elevated);
  padding: 16px 18px;
  text-align: center;
}

.trust-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.trust-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- ПРОХОДИМОСТЬ В ТАБЛИЦЕ ---------- */
.lb-main .lb-row { grid-template-columns: 44px 52px 1fr auto auto auto; }

.lb-check {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 92px;
}

.lb-check-num {
  font-weight: 800;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.lb-check-label {
  font-size: 10px;
  letter-spacing: .3px;
  color: var(--muted);
}

.lb-check-verified .lb-check-num { color: var(--accent-2); }
.lb-check-observed .lb-check-num { color: #e3c04a; }
.lb-check-claimed .lb-check-num  { color: #8fa89d; }
.lb-check-none .lb-check-num     { color: #87a094; }

.podium-check {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.podium-check-verified { color: var(--accent-2); }
.podium-check-observed { color: #e3c04a; }


@media (max-width: 720px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- METHODOLOGY ---------- */
.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 56px;
}

.method-step {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.method-step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--accent-2);
  display: block;
  margin-bottom: 6px;
}

.method-step h2 {
  margin: 0 0 6px 0;
  font-size: 15px;
}

.method-step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .method { grid-template-columns: 1fr; }
}

/* ---------- VERIFIED BADGE ---------- */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0a1712;
  background: var(--accent-2);
  padding: 3px 8px 3px 6px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-verified svg { width: 11px; height: 11px; }

.podium-meta-row {
  display: block;
  margin-bottom: 8px;
}

.podium-badge-wrap {
  margin-bottom: 8px;
}

.lb-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---------- PODIUM (top 3) ---------- */
.podium {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 56px;
}

.podium-slot {
  text-decoration: none;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .18s ease, border-color .18s ease;
}

.podium-slot:hover { transform: translateY(-4px); border-color: var(--accent); }

.podium-slot.rank-1 {
  order: 2;
  padding-top: 32px;
  padding-bottom: 28px;
  background: linear-gradient(180deg, #1d3a26 0%, var(--bg-elevated) 70%);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 193, 69, 0.15), 0 20px 40px -16px rgba(255, 193, 69, 0.25);
}

.trophy-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
}
.podium-slot.rank-2 { order: 1; }
.podium-slot.rank-3 { order: 3; }

.podium-rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--bg);
  background: var(--silver);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.rank-1 .podium-rank { background: var(--gold); width: 36px; height: 36px; font-size: 15px; top: -18px; }
.rank-3 .podium-rank { background: var(--bronze); color: #2a1608; }

.podium-logo {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--bg-elevated-2);
  padding: 8px;
  margin-bottom: 14px;
}

.rank-1 .podium-logo { width: 100px; height: 100px; }

.podium-name {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.podium-meta {
  color: var(--muted);
  font-size: 12.5px;
  margin: 0 0 14px 0;
}

.podium-ring {
  --val: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--val) * 1%), var(--line) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.podium-ring .podium-score {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-1 .podium-ring { width: 84px; height: 84px; }
.rank-1 .podium-ring .podium-score { width: 70px; height: 70px; }

.podium-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}

.rank-1 .podium-score { font-size: 24px; }

.podium-score-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- LEADERBOARD (rest of list) ---------- */
.leaderboard {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.lb-row {
  display: grid;
  grid-template-columns: 44px 52px 1fr auto auto;
  align-items: center;
  gap: 16px;
  background: transparent;
  padding: 13px 18px;
  text-decoration: none;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: border-color .15s ease, background .15s ease;
}

.lb-row + .lb-row { border-top: 1px solid var(--line); }

.lb-row:hover {
  border-left-color: var(--accent-2);
  background: var(--bg-elevated-2);
}

.lb-rank {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

.lb-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--bg-elevated-2);
  padding: 4px;
}

.lb-info { min-width: 0; }

.lb-name {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-meta {
  color: var(--muted);
  font-size: 12.5px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  color: var(--accent);
  text-align: right;
  min-width: 48px;
}

.lb-score.score-good { color: var(--accent-2); }
.lb-score.score-mid  { color: #e3c04a; }
.lb-score.score-low  { color: #e07a5f; }

.lb-cta {
  display: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent-2);
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform .15s ease;
}

.lb-row:hover .lb-cta { transform: translateX(3px); }

@media (min-width: 700px) {
  .lb-cta { display: inline-block; }
}

/* ---------- NEWS FEED ---------- */
.news-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.news-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: border-color .15s ease, background .15s ease;
}

.news-item:hover {
  border-left-color: var(--accent-2);
  background: var(--bg-elevated-2);
}

.news-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 2px;
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.news-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 560px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- GENERIC CARD GRID (used on baza-znaniy and profile "back" link) ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform .15s ease, border-color .15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.card-logo {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background: var(--bg-elevated-2);
  padding: 6px;
}

.card-body { padding: 18px; }

.card-rating {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 4px;
}

.card-name { margin: 0 0 4px 0; font-size: 17px; font-weight: 700; }

.card-meta { color: var(--muted); font-size: 13px; margin: 0 0 8px 0; }

.card-desc { font-size: 14px; color: var(--text); margin: 0; }

/* ---------- PAGINATION ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
}

.page-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.page-dots {
  color: var(--muted);
  padding: 0 4px;
  font-family: var(--font-display);
}

.page-next { font-family: var(--font-body); font-weight: 700; font-size: 13px; padding: 0 16px; }

.rejected-link-row {
  text-align: center;
  margin: 20px 0 0;
}

.rejected-link-row a {
  color: #e07a5f;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.rejected-link-row a:hover { text-decoration: underline; }

/* ---------- PROFILE PAGE ---------- */
.profile-head {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.profile-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 10px;
}

h1.profile-title, .profile-head h1 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.profile-meta { color: var(--muted); margin: 0 0 14px; font-size: 14.5px; }

.profile-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.comment-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.comment-count .icon-chat { width: 12px; height: 12px; flex-shrink: 0; }

.comment-count:hover { color: var(--accent-2); }

.updated-date {
  font-size: 12.5px;
  color: #5d7a6d;
}

.comment {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
}

.comment-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.comment-author {
  font-weight: 700;
  font-size: 14px;
}

.comment-date {
  font-size: 12px;
  color: var(--muted);
}

.comment p { margin: 0; font-size: 14px; color: var(--text); }

.comments-note {
  font-size: 12.5px;
  color: #87a094;
  font-style: italic;
  margin-top: 12px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #1a1306;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}

.btn:hover { background: var(--gold); }

.profile-section { margin-bottom: 30px; }

.profile-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .3px;
  margin-bottom: 10px;
  color: var(--accent-2);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pros-cons ul { padding-left: 18px; }

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.back-link:hover { color: var(--accent-2); }

.seo-text {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.seo-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .3px;
  margin: 0 0 14px 0;
}

.seo-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  color: var(--accent-2);
  margin: 26px 0 8px 0;
}

.seo-text p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 8px 0;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 18px;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: 10px 0 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- HOME REVIEWS ---------- */
.home-reviews { margin: 52px 0 8px; }

.home-reviews h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .3px;
  margin: 0 0 6px 0;
}

.home-reviews .section-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 18px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.review-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-card p { margin: 0; font-size: 13.5px; color: var(--text); }

.review-kapper {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: none;
  margin-top: auto;
}

a.review-kapper:hover { text-decoration: underline; }

span.review-kapper { color: var(--muted); }

.review-card.review-negative { border-left: 3px solid #e07a5f; }

/* ---------- FOOTER ---------- */
.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-disclaimer p { margin: 0; }

.age-badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #e07a5f;
  color: #e07a5f;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover { color: var(--accent-2); }

@media (max-width: 720px) {
  main { padding: 32px 0 48px; }
  .lede { font-size: 14.5px; }

  .podium { grid-template-columns: 1fr; gap: 28px; }
  .podium-slot.rank-1 { order: 1; }
  .podium-slot.rank-2 { order: 2; }
  .podium-slot.rank-3 { order: 3; }

  .lb-row, .lb-main .lb-row { grid-template-columns: 24px 38px 1fr auto; gap: 12px; padding: 12px 14px; }
  .lb-check { display: none; }
  .lb-name-wrap .badge-verified,
  .lb-name-wrap .badge-check,
  .lb-name-wrap .badge-doubt,
  .lb-name-wrap .badge-scam { font-size: 10px; padding: 2px 7px; }
  .rating-legend { gap: 6px; font-size: 12px; }
.profile-screens { gap: 10px; }
  .profile-screens figure.profile-screen { width: calc(50% - 5px); }
  .lb-cta { display: none !important; }
  .lb-rank { font-size: 13px; }
  .lb-logo { width: 38px; height: 38px; }
  .lb-score { font-size: 15px; min-width: auto; }

  .profile-head { flex-direction: column; align-items: flex-start; }
  .pros-cons { grid-template-columns: 1fr; }

  .complaint-form { padding: 18px; }
  .seo-text { margin-top: 40px; padding-top: 24px; }
  .seo-text h2 { font-size: 24px; }
  h1.profile-title, .profile-head h1 { font-size: 28px; }
  .profile-logo { width: 84px; height: 84px; }
}

@media (max-width: 420px) {
  .container { padding: 0 14px; }
  .logo { font-size: 13px; }
  .logo-icon { width: 24px; height: 24px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 12px 10px; }
  .trust-num { font-size: 17px; }
  .trust-label { font-size: 11px; }
  .podium-ring { width: 64px; height: 64px; }
  .podium-ring .podium-score { width: 53px; height: 53px; font-size: 18px; }
  .rank-1 .podium-ring { width: 72px; height: 72px; }
  .rank-1 .podium-ring .podium-score { width: 60px; height: 60px; font-size: 20px; }
  .profile-badges { gap: 8px; }
}

/* ---------- TIER BADGES ---------- */
.badge-doubt,
.badge-check,
.badge-scam {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-check { color: #8fb7d9; background: rgba(143, 183, 217, 0.12); border: 1px solid rgba(143, 183, 217, 0.45); }
.badge-doubt { color: #e3c04a; background: rgba(227, 192, 74, 0.14); border: 1px solid rgba(227, 192, 74, 0.5); }
.badge-scam  { color: #f0937a; background: rgba(224, 122, 95, 0.14); border: 1px solid rgba(224, 122, 95, 0.55); }

.rating-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- СКРИН + ТЕКСТ РЯДОМ ---------- */
.brief-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 18px;
}

.brief-row .profile-screen {
  flex: 0 0 216px;
  margin: 0;
}

.brief-body {
  flex: 1;
  min-width: 0;
}

.brief-body h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.brief-body ul { margin: 0 0 12px; padding-left: 20px; }
.brief-body ul li { margin-bottom: 7px; }
.brief-body p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .brief-row { flex-direction: column; gap: 16px; }
  .brief-row .profile-screen { flex: none; width: 100%; max-width: 280px; margin: 0 auto; }
}

/* ---------- КУПОНЫ ---------- */
.kupon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 16px 0 6px;
}

.kupon {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.kupon-head {
  font-size: 11px;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  padding: 9px 12px;
  background: rgba(36, 70, 58, 0.35);
  border-bottom: 1px solid var(--line);
}

.kupon-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
}

.kupon-match { margin: 0 0 3px; font-size: 12.5px; color: var(--muted); }
.kupon-market { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text); }

.kupon-odd {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.kupon-foot {
  padding: 8px 12px;
  border-top: 1px solid rgba(36, 70, 58, 0.6);
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- ТАБЛИЦЫ КОЭФФИЦИЕНТОВ ---------- */
.odds-wrap {
  margin: 16px 0 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.odds-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.odds-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  background: rgba(36, 70, 58, 0.35);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.odds-table th:not(:first-child),
.odds-table td:not(:first-child) { text-align: right; }

.odds-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(36, 70, 58, 0.45);
  color: var(--text);
}

.odds-table tr:last-child td { border-bottom: none; }
.odds-table td:first-child { color: var(--muted); }
.odds-table .odd { font-weight: 700; color: var(--text); }
.odds-table .odd-hi { font-weight: 700; color: var(--accent-2); }
.odds-table tr.odds-sep td { border-top: 1px solid var(--line); }

.odds-note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 0 4px;
  line-height: 1.45;
}

/* ---------- PROFILE EXTRAS ---------- */
.profile-screen-wide { margin: 16px 0 0; }

.profile-screen-wide img {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.profile-screen-wide figcaption {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.45;
}

.profile-screen-wide { margin: 16px 0 0; }

.profile-screen-wide img {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.profile-screen-wide figcaption {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.45;
}

.profile-screens {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.profile-screens figure.profile-screen {
  margin: 0;
  width: 216px;
}

.profile-screen img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.profile-screen figcaption {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.45;
}

.badge-warning {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #1a0e08;
  background: #e07a5f;
  padding: 3px 8px 3px 6px;
  border-radius: 20px;
}

.badge-warning svg { width: 12px; height: 12px; }

.verdict-negative { border-left-color: #e07a5f; }

.profile-stats { margin: 4px 0 34px; }

.verdict {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  border-radius: 12px;
  padding: 18px 20px;
}

.verdict h2 { margin-top: 0; }
.verdict p { margin: 0; }

/* ---------- ACCESSIBILITY ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
