/* ============================================================
   CHAPTER-ANTIVIRUS.CSS — стили главы 20 «Антивирус»
   Переиспуёт incident-card, врезки, плюс-минус карточки (store-grid)
   и добавляет рейтинг антивирусов (av-rank) и слои защиты (av-layer).
   ============================================================ */

/* ==================== СЕТКИ ==================== */
.incidents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.incidents-grid .incident-card.is-wide { grid-column: 1 / -1; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.features-grid .feature-card.is-wide { grid-column: 1 / -1; }

/* ==================== КАРТОЧКИ-ОШИБКИ (incident-card, светлая) ==================== */
.incident-card {
  background: #fff8f6;
  border: 1px solid #f3d6cf;
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.incident-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff5c4d 0%, #ff8a5c 100%);
}
.incident-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 3px;
  margin-bottom: 24px;
  background: #c44a3a;
  color: #fff;
}
.incident-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--text-light);
}
.incident-card h3 em {
  font-style: normal;
  font-weight: 500;
  color: #c44a3a;
}
.incident-card .incident-symptom {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-light-muted);
  margin: 0 0 20px;
}
.incident-card .incident-symptom strong { color: var(--text-light); font-weight: 600; }
.incident-card .incident-symptom:last-of-type { margin-bottom: 0; }
.incident-card .incident-resolution {
  border-top: 1px dashed #e9b8ad;
  padding-top: 16px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}
.incident-card .incident-resolution strong {
  color: #2d8a5f;
  font-weight: 600;
}

/* ==================== КАРТОЧКИ-РЕШЕНИЯ (feature-card, светлая) ==================== */
.feature-card {
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color .25s, transform .25s;
  position: relative;
}
.feature-card:hover {
  border-color: var(--border-light-hover);
  transform: translateY(-2px);
}
.feature-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}
.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(75, 63, 217, 0.08) 0%, rgba(151, 71, 255, 0.08) 100%);
  border: 1px solid rgba(75, 63, 217, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--indigo, #4b3fd9);
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  padding: 16px;
  box-sizing: border-box;
}
.feature-head-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;
}
.feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--indigo, #4b3fd9);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.feature-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  color: var(--text-light);
}
.feature-card h3 em {
  font-style: normal;
  font-weight: 500;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light-muted);
  margin: 0;
}
.feature-card p + p { margin-top: 12px; }
.feature-card p strong { color: var(--text-light); font-weight: 600; }
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.feature-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--border-light-hover);
  border-radius: 100px;
  color: var(--text-light-muted);
}

/* ==================== КАРТОЧКИ-ПЛАТФОРМЫ (на чём поднимать файловый сервер) ==================== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}
.platform-card.is-pick {
  border-color: rgba(75, 63, 217, 0.4);
  box-shadow: 0 8px 30px rgba(75, 63, 217, 0.1);
}
.platform-tag {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light-muted);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 4px 12px;
}
.platform-tag.is-pick {
  color: #fff;
  background: var(--gradient);
  border: none;
}
.platform-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text-light);
}
.platform-card.is-pick .platform-name { color: var(--indigo, #4b3fd9); }
.platform-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light-muted);
}
.platform-body strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 860px) {
  .platform-grid { grid-template-columns: 1fr; }
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 820px) {
  .incidents-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .incidents-grid .incident-card.is-wide,
  .features-grid .feature-card.is-wide { grid-column: auto; }
  .incident-card { padding: 28px 24px; }
  .feature-card { padding: 28px 24px; }
  .feature-head { gap: 14px; margin-bottom: 18px; }
  .feature-icon { width: 56px; height: 56px; }
  .feature-head-text { min-height: 56px; }
  .feature-card h3, .incident-card h3 { font-size: 19px; }
}


/* ==================== ВРЕЗКА «3 ВОПРОСА» (тёмная секция) ==================== */
.q3-callout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.q3-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.q3-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.q3-q {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #fff;
}
.q3-desc { font-size: 14px; line-height: 1.6; color: var(--text-dark); }
.q3-desc strong { color: #fff; font-weight: 600; }
@media (max-width: 820px) { .q3-callout { grid-template-columns: 1fr; gap: 14px; } }

/* ==================== КАРТОЧКИ ВЫБОРА СЕРВЕРА (приоритеты) ==================== */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.srv-card {
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.srv-card.is-top { border-color: rgba(75,63,217,0.4); box-shadow: 0 8px 30px rgba(75,63,217,0.1); }
.srv-rank {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo, #4b3fd9);
}
.srv-head { display: flex; align-items: center; gap: 14px; }
.srv-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.srv-icon svg { width: 26px; height: 26px; }
.srv-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-light);
}
.srv-body { font-size: 14px; line-height: 1.65; color: var(--text-light-muted); }
.srv-body strong { color: var(--text-light); font-weight: 600; }
.srv-note {
  margin-top: 4px;
  padding: 12px 14px;
  background: rgba(151,71,255,0.06);
  border-left: 3px solid #9747FF;
  border-radius: 6px;
  font-size: 13px; line-height: 1.55; color: var(--text-light);
}
.srv-note strong { font-weight: 600; }
@media (max-width: 860px) { .srv-grid { grid-template-columns: 1fr; } }

/* ==================== ЭКСПЛУАТАЦИЯ: карточки практик + чек-лист ==================== */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.ops-card {
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ops-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ops-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.ops-icon svg { width: 24px; height: 24px; }
.ops-card-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-light); line-height: 1.25;
}
.ops-card-body { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
.ops-card-body strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 760px) { .ops-grid { grid-template-columns: 1fr; } }

/* Чек-лист админа (тёмная секция) — 3 колонки по периодичности */
.checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.check-col {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 24px 22px;
}
.check-col-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet-light, #b9adff);
  margin-bottom: 14px;
}
.check-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-col li {
  position: relative; padding-left: 24px;
  font-size: 14px; line-height: 1.5; color: var(--text-dark);
}
.check-col li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 12px; height: 7px;
  border-left: 2px solid #6ee7a8; border-bottom: 2px solid #6ee7a8;
  transform: rotate(-45deg);
}
@media (max-width: 820px) { .checklist { grid-template-columns: 1fr; } }

/* ==================== СЕКЦИЯ ПРАВИЛЬНЫХ НАСТРОЕК (tune) ==================== */
.tune-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.tune-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}
.tune-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.tune-icon svg { width: 24px; height: 24px; }
.tune-text { display: flex; flex-direction: column; gap: 5px; }
.tune-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-light); line-height: 1.3;
}
.tune-desc { font-size: 14px; line-height: 1.55; color: var(--text-light-muted); }
.tune-desc strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 760px) { .tune-grid { grid-template-columns: 1fr; } }

/* ==================== КАРТОЧКИ ВАРИАНТОВ РАЗМЕЩЕНИЯ (плюсы/минусы) ==================== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.store-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}
.store-card.is-top { border-color: rgba(75,63,217,0.4); box-shadow: 0 8px 30px rgba(75,63,217,0.1); }
.store-card-head { display: flex; align-items: center; gap: 14px; }
.store-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.store-icon svg { width: 24px; height: 24px; }
.store-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.25; color: var(--text-light);
}
.store-rec {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--indigo, #4b3fd9); margin-bottom: -4px;
}
.store-proscons { display: flex; flex-direction: column; gap: 10px; }
.store-line {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  font-size: 14px; line-height: 1.55; color: var(--text-light-muted);
}
.store-line .store-mark { font-family: 'JetBrains Mono', monospace; font-weight: 700; line-height: 1.4; }
.store-line.is-pro .store-mark { color: #2d8a5f; }
.store-line.is-con .store-mark { color: #c44a3a; }
.store-line strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 760px) { .store-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ==================== ВРЕЗКА-АКЦЕНТ «ПОЧТА ПРИНАДЛЕЖИТ КОМПАНИИ» ==================== */
.own-callout {
  max-width: 900px;
  margin: 0;
  padding: 4px 0 0;
}
.own-lead {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 24px;
}
.own-lead em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.own-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.own-point {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 18px 20px;
}
.own-point-icon {
  width: 28px; height: 28px; color: var(--violet, #9747ff);
  display: flex; align-items: center; justify-content: center;
}
.own-point-icon svg { width: 22px; height: 22px; }
.own-point-text { font-size: 14px; line-height: 1.55; color: var(--text-dark); }
.own-point-text strong { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .own-points { grid-template-columns: 1fr; } }

/* ==================== БЛОК БЕЗОПАСНОСТИ (на тёмной секции) ==================== */
.sec-list { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin: 8px 0 0; }
.sec-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  padding: 20px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}
.sec-num {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 600;
  background: linear-gradient(135deg, rgba(75,63,217,0.18), rgba(151,71,255,0.18));
  border: 1px solid rgba(151,71,255,0.3);
  color: #fff; flex-shrink: 0;
}
.sec-text { font-size: 15px; line-height: 1.6; color: var(--text-dark); padding-top: 7px; }
.sec-text strong { color: #fff; font-weight: 600; }

/* ==================== ДВЕ КАРТОЧКИ: ДЕЛЕГИРОВАНИЕ / ПЕРЕСЫЛКА ==================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 8px 0 24px;
}
.method-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}
.method-head { display: flex; align-items: center; gap: 14px; }
.method-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.08), rgba(151,71,255,0.08));
  border: 1px solid rgba(75,63,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo, #4b3fd9); flex-shrink: 0;
}
.method-icon svg { width: 25px; height: 25px; }
.method-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.25; color: var(--text-light);
}
.method-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--indigo, #4b3fd9);
}
.method-body { font-size: 14px; line-height: 1.65; color: var(--text-light-muted); }
.method-body strong { color: var(--text-light); font-weight: 600; }
.method-when {
  margin-top: auto;
  padding: 12px 14px;
  background: rgba(75,63,217,0.05);
  border-left: 3px solid var(--violet, #9747ff);
  border-radius: 6px;
  font-size: 13px; line-height: 1.5; color: var(--text-light);
}
.method-when strong { font-weight: 600; }
@media (max-width: 760px) { .method-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ==================== РЕЙТИНГ АНТИВИРУСОВ ==================== */
.av-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.av-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  position: relative;
}
.av-card.is-rec { border-color: rgba(75,63,217,0.4); box-shadow: 0 8px 30px rgba(75,63,217,0.1); }
.av-card.is-bad { border-color: rgba(196,74,58,0.35); }
.av-badge {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.av-badge.rec { background: rgba(75,63,217,0.1); color: var(--indigo, #4b3fd9); }
.av-badge.ok  { background: rgba(90,90,112,0.1); color: var(--text-light-muted); }
.av-badge.bad { background: rgba(196,74,58,0.1); color: #c44a3a; }
.av-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.2; color: var(--text-light);
}
.av-body { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
.av-body strong { color: var(--text-light); font-weight: 600; }
@media (max-width: 860px) { .av-grid { grid-template-columns: 1fr; } }

/* ==================== СЛОИ ЗАЩИТЫ (тёмная секция) ==================== */
.layer-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 8px 0 0; }
.layer-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 18px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}
.layer-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(75,63,217,0.18), rgba(151,71,255,0.18));
  border: 1px solid rgba(151,71,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-light, #b77aff); flex-shrink: 0;
}
.layer-icon svg { width: 22px; height: 22px; }
.layer-text { font-size: 15px; line-height: 1.55; color: var(--text-dark); padding-top: 3px; }
.layer-text strong { color: #fff; font-weight: 600; }
.layer-item.is-accent {
  background: linear-gradient(135deg, rgba(75,63,217,0.14), rgba(151,71,255,0.14));
  border-color: rgba(151,71,255,0.4);
}

/* ==================== ГОНКА ВООРУЖЕНИЙ (цикл обхода) ==================== */
.race-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 36px 0;
}
.race-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 22px;
  background: var(--bg-light-elevated, #fff);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}
.race-side {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; flex-shrink: 0; margin-top: 2px;
}
.race-side.def { background: rgba(75,63,217,0.1); color: var(--indigo, #4b3fd9); }
.race-side.atk { background: rgba(196,74,58,0.1); color: #c44a3a; }
.race-body { font-size: 14px; line-height: 1.6; color: var(--text-light-muted); }
.race-body strong { color: var(--text-light); font-weight: 600; }
/* race-note больше не используется как отдельный блок */
@media (max-width: 720px) { .race-grid { grid-template-columns: 1fr; } }


/* ==================== COMPARE-GRID в главе: чуть шире текста, по центру ==================== */
.av-compare-wrap { max-width: 860px; margin: 36px 0; }
.av-compare-wrap .compare-grid { margin: 0; gap: 20px; }
