/* ============================================================================
 * blocks.css - блоки каталога казино (blocks/casinos.php, author.php), скин
 * compare-bento (11.09.2026, переписано под направление «bento-карточки с данными»).
 *
 * НАПРАВЛЕНИЕ ВЁРСТКИ - 360 ПИКСЕЛЕЙ (свод 03). Базовый слой, вне всяких @media, -
 * раскладка узкого экрана: одна колонка везде. Брейкпоинты только min-width и только
 * четыре: 480 / 768 / 1024 / 1280; каждый ДОБАВЛЯЕТ. max-width для раскладки запрещён.
 *
 * ЦВЕТА - ТОЛЬКО ТОКЕНЫ (skin.css). Ни одного литерального цвета.
 *
 * ФОРМЫ (shape lock скина): карточки и плитки - var(--r-lg) 20px, вложенные плашки -
 * var(--r-md) 12px, кнопки и чипы - пилюля. Тень одна на карточку, тонирована в
 * кобальт; плоская сетка живёт на линейках и заливках, не на тенях.
 * ========================================================================== */

/* =============================================================== оценка ==== */
.pill {
  display: inline-flex; align-items: baseline; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap;
}
.pill b { font-family: var(--font-display); font-size: var(--t-h4); font-weight: var(--fw-bold); }
.pill u { text-decoration: none; font-size: var(--t-tiny); margin-left: -3px; }
.pill i { font-style: normal; font-size: var(--t-tiny); }
.pill.is-high { background: var(--success-soft); color: var(--success-ink, var(--success)); }
.pill.is-mid  { background: var(--info-soft);    color: var(--info-ink, var(--info)); }
.pill.is-low  { background: var(--warning-soft); color: var(--warning-ink, var(--warning)); }

.bar {
  display: block; width: 100%; min-width: 56px; height: 6px;
  border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden;
}
.bar i { display: block; height: 100%; border-radius: var(--r-pill); }
.bar.is-high i { background: var(--success); }
.bar.is-mid  i { background: var(--info); }
.bar.is-low  i { background: var(--warning); }
.t__bar { width: 90px; vertical-align: middle; }
.bar--0 i { width: 0%; }   .bar--5 i { width: 5%; }   .bar--10 i { width: 10%; }
.bar--15 i { width: 15%; } .bar--20 i { width: 20%; } .bar--25 i { width: 25%; }
.bar--30 i { width: 30%; } .bar--35 i { width: 35%; } .bar--40 i { width: 40%; }
.bar--45 i { width: 45%; } .bar--50 i { width: 50%; } .bar--55 i { width: 55%; }
.bar--60 i { width: 60%; } .bar--65 i { width: 65%; } .bar--70 i { width: 70%; }
.bar--75 i { width: 75%; } .bar--80 i { width: 80%; } .bar--85 i { width: 85%; }
.bar--90 i { width: 90%; } .bar--95 i { width: 95%; } .bar--100 i { width: 100%; }

/* Подпись только для экранного диктора. */
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ============================================================== логотип ==== */
.c-logo { flex: 0 0 auto; border-radius: var(--r-md); object-fit: contain; background: var(--surface-2); padding: 4px 8px; height: auto; }
.c-logo--text {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: var(--r-md);
  background: var(--surface-2); color: var(--text-mute);
  font-size: var(--t-tiny); font-weight: var(--fw-semi); text-align: center;
}

/* ================================================================ плашки === */
.plaques { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.plaque {
  display: flex; flex-direction: column; gap: 1px; min-width: 0;
  padding: 10px 14px; border-radius: var(--r-md);
  background: var(--surface-2); border: var(--hairline);
}
.plaque b { font-family: var(--font-display); font-size: var(--t-h4); font-weight: var(--fw-bold); line-height: 1.15; font-variant-numeric: tabular-nums; }
.plaque span { font-size: var(--t-tiny); color: var(--text-mute); }
.plaques--tight { margin-top: 0; gap: 6px; }
.plaques--tight .plaque { padding: 6px 10px; flex: 1 1 calc(50% - 6px); }
.plaques--tight .plaque b { font-size: var(--t-small); }

/* ======================================================= первый экран ====== */
.page-hero { display: grid; gap: 20px; margin: 0 0 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.page-hero h1 { margin: 0 0 12px; }
.page-hero__lede { margin: 0; font-size: var(--t-h4); line-height: var(--lh-base); color: var(--text-dim); }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.page-hero__art { min-width: 0; border-radius: var(--r-lg); background: var(--surface); border: var(--hairline); padding: 12px; }
.art { display: block; width: 100%; height: auto; border-radius: var(--r-md); }

/* Герой обзора: карточка с баллом-плиткой. */
.c-hero {
  display: grid; gap: 16px; margin: 20px 0 28px; padding: 18px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-card);
  grid-template-columns: minmax(0, 1fr);
}
.c-hero__id { display: flex; align-items: center; gap: 14px; }
.c-hero__name { margin: 0; font-family: var(--font-display); font-size: var(--t-h2); font-weight: var(--fw-bold); line-height: var(--lh-tight); }
.c-hero__sub { margin: 4px 0 0; font-size: var(--t-small); color: var(--text-mute); }
.c-hero__verdict { margin: 16px 0 0; font-size: var(--t-body); line-height: var(--lh-base); color: var(--text-dim); }
.c-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.score-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 18px 16px; border-radius: var(--r-md); min-width: 0;
}
.score-tile b { font-family: var(--font-display); font-size: 3rem; font-weight: var(--fw-bold); line-height: 1; font-variant-numeric: tabular-nums; }
.score-tile u { text-decoration: none; font-size: var(--t-small); margin-top: 2px; }
.score-tile span { display: block; margin-top: 8px; font-size: var(--t-tiny); }
.score-tile__rec { font-variant-numeric: tabular-nums; }
.score-tile.is-high { background: var(--success-soft); color: var(--success-ink, var(--success)); }
.score-tile.is-mid  { background: var(--info-soft);    color: var(--info-ink, var(--info)); }
.score-tile.is-low  { background: var(--warning-soft); color: var(--warning-ink, var(--warning)); }

/* ============================================================= карточка ==== */
.c-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.c-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 16px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-card);
}
.c-card__rank {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-pill);
  background: var(--text); color: var(--surface); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--t-small);
}
.c-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.c-card__id { flex: 1 1 140px; min-width: 0; }
.c-card__id h3 { margin: 0; font-size: var(--t-h3); line-height: var(--lh-snug); }
.c-card__id h3 a { color: inherit; text-decoration: none; }
.c-card__id h3 a:hover, .c-card__id h3 a:focus-visible { color: var(--brand); }
.c-card__meta { margin: 2px 0 0; font-size: var(--t-small); color: var(--brand); font-weight: var(--fw-medium); }
.c-card__why { margin: 0; color: var(--text-dim); overflow-wrap: anywhere; }
.c-card__rec { margin: 0; font-size: var(--t-tiny); color: var(--text-mute); font-variant-numeric: tabular-nums; }
.c-card__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* ================================================================ таблицы == */
.table-scroll { position: relative; overflow-x: auto; margin: 20px 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.table-scroll:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.t { width: 100%; border-collapse: collapse; font-size: var(--t-small); min-width: 520px; }
.t th, .t td { padding: 10px 12px; text-align: left; vertical-align: middle; border-bottom: var(--hairline); }
.t thead th { font-size: var(--t-tiny); letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); font-weight: var(--fw-semi); background: var(--surface-2); }
.t tbody tr:last-child td, .t tbody tr:last-child th { border-bottom: 0; }
.t .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t__name { display: flex; align-items: center; gap: 10px; min-width: 170px; }
.t__name a { color: inherit; text-decoration: none; font-weight: var(--fw-semi); }
.t__name a:hover, .t__name a:focus-visible { color: var(--brand); }
.t__cta { text-align: right; white-space: nowrap; }
.t tbody tr:hover { background: var(--surface-2); }
.t--score th[scope="row"] { font-weight: var(--fw-semi); }
.t--score tfoot th, .t--score tfoot td, .t--versus tfoot th, .t--versus tfoot td { border-top: 2px solid var(--rule-strong); font-weight: var(--fw-semi); background: var(--surface-2); }
.t--versus .is-win { color: var(--success); font-weight: var(--fw-bold); }
.t--board td:first-child { color: var(--text-mute); font-weight: var(--fw-semi); }
.t--board tbody tr:first-child .t__name a { color: var(--gold); }
.res { font-weight: var(--fw-semi); }
.res--w { color: var(--success); }
.res--l { color: var(--danger); }
.res--d { color: var(--text-mute); }

/* =============================================================== причины === */
.reasons { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.reason {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 12px 14px; border-radius: var(--r-lg);
  background: var(--surface); border: var(--hairline); color: var(--text); text-decoration: none;
}
.reason:hover, .reason:focus-visible { border-color: var(--brand); text-decoration: none; box-shadow: var(--shadow-card); }
.reason img { border-radius: var(--r-md); flex: 0 0 auto; background: var(--surface-2); }
.reason span { min-width: 0; }
.reason b { display: block; font-size: var(--t-small); font-weight: var(--fw-semi); }
.reason i { display: block; font-style: normal; font-size: var(--t-tiny); color: var(--text-mute); line-height: 1.35; }

/* ================================================================== чипы === */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--rule-strong);
  color: var(--text-dim); font-size: var(--t-small); font-weight: var(--fw-medium); text-decoration: none;
}
.chip:hover, .chip:focus-visible { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ======================================================== карточки хабов === */
.hub-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.hub-card {
  display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-card); color: var(--text); text-decoration: none;
}
.hub-card:hover, .hub-card:focus-visible { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.hub-card--tint { background: var(--highlight-pale); }
.hub-card__title { font-family: var(--font-display); font-size: var(--t-h4); font-weight: var(--fw-bold); line-height: var(--lh-snug); }
.hub-card__text { font-size: var(--t-small); color: var(--text-dim); line-height: 1.45; }
.hub-card__go { margin-top: auto; font-size: var(--t-small); font-weight: var(--fw-semi); color: var(--brand); }

/* =================================================== ответ, факты, врезки == */
.answer { margin: 20px 0; padding: 16px; border-radius: var(--r-lg); background: var(--highlight-pale); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.answer > :first-child { margin-top: 0; }
.answer > :last-child { margin-bottom: 0; }
.answer .table-scroll { margin-bottom: 0; box-shadow: none; }

.factlist {
  display: grid; gap: 4px; margin: 18px 0; padding: 14px 16px; border-radius: var(--r-lg);
  background: var(--surface); border: var(--hairline); grid-template-columns: minmax(0, 1fr);
}
.factlist dt { font-size: var(--t-tiny); letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); font-weight: var(--fw-semi); margin-top: 10px; }
.factlist dt:first-of-type { margin-top: 0; }
.factlist dd { margin: 0; color: var(--text-dim); font-size: var(--t-small); overflow-wrap: anywhere; }

.thin { display: block; margin: 18px 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface-2); border-left: 3px solid var(--rule-strong); font-size: var(--t-small); color: var(--text-dim); }
.thin b { display: block; margin-bottom: 2px; color: var(--text); font-weight: var(--fw-semi); }

.pros { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.pros__col { padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); min-width: 0; }
.pros__col.is-strong { border-top: 3px solid var(--success); }
.pros__col.is-thin { border-top: 3px solid var(--rule-strong); }
.pros__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--t-h4); }
.pros ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pros li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--t-small); }
.pros li b { font-weight: var(--fw-semi); }
.pros li .pill { flex: 0 0 auto; }
.pros li span { flex: 1 0 100%; color: var(--text-dim); }

.stats { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.stats div { padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); border: var(--hairline); min-width: 0; }
.stats b { display: block; font-family: var(--font-display); font-size: var(--t-h2); font-weight: var(--fw-bold); line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stats span { display: block; margin-top: 6px; font-size: var(--t-tiny); color: var(--text-mute); }

.weights-note { margin: 12px 0 20px; padding: 10px 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: var(--t-small); color: var(--text-dim); }

/* ======================================================= карточка автора === */
.author {
  display: flex; flex-direction: column; gap: 12px;
  margin: 40px 0 0; padding: 16px; border-radius: var(--r-lg);
  background: var(--surface); border: var(--hairline);
}
.author__photo { flex: 0 0 auto; border-radius: var(--r-pill); object-fit: cover; }
.author__body { min-width: 0; }
.author__name { margin: 0 0 6px; font-family: var(--font-display); font-size: var(--t-h4); font-weight: var(--fw-bold); }
.author__name span { display: block; margin-top: 2px; font-family: var(--font-body); font-size: var(--t-tiny); font-weight: var(--fw-body); color: var(--text-mute); letter-spacing: .04em; text-transform: uppercase; }
.author__note { margin: 0 0 10px; font-size: var(--t-small); color: var(--text-dim); }
.author__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: var(--t-small); }

.disclaim { margin: 12px 0 0; font-size: var(--t-tiny); color: var(--text-mute); line-height: var(--lh-base); }

/* =================================================================== CTA === */
.cta-box {
  margin: 32px 0 0; padding: 20px; border-radius: var(--r-lg);
  background: var(--highlight-pale); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
}
.cta-box__eyebrow { margin: 0 0 6px; font-size: var(--t-tiny); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: var(--fw-semi); }
.cta-box h2, .cta-box h3 { margin: 0 0 8px; font-size: var(--t-h3); }
.cta-box p { margin: 0 0 14px; color: var(--text-dim); }
.cta-box__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ========================================================= выбор пары ====== */
.picker { display: grid; gap: 12px; margin: 16px 0 0; grid-template-columns: minmax(0, 1fr); }
.picker label { display: flex; flex-direction: column; gap: 4px; font-size: var(--t-tiny); color: var(--text-mute); text-transform: uppercase; letter-spacing: .06em; font-weight: var(--fw-semi); }
.picker select {
  font: inherit; font-size: var(--t-body); text-transform: none; letter-spacing: 0;
  color: var(--text); background: var(--surface); padding: 10px 12px; min-height: var(--tap-min);
  border: 1px solid var(--rule-strong); border-radius: var(--r-md);
}
.picker select:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.picker button { align-self: end; min-height: var(--tap-min); }

/* ============================================================ карта сайта == */
.sitemap-list { display: grid; gap: 4px 24px; grid-template-columns: minmax(0, 1fr); margin: 0 0 24px; padding: 0; list-style: none; }
.sitemap-list li { padding: 4px 0; border-bottom: var(--hairline); }

/* ========================================================== БРЕЙКПОИНТЫ === */
@media (min-width: 480px) {
  .c-grid, .hub-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .reasons  { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .stats    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-card, .hub-card { padding: 18px; }
  .c-hero   { padding: 22px; }
  .cta-box  { padding: 24px; }
  .factlist { grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; padding: 16px 18px; }
  .factlist dt { margin-top: 0; }
  .author   { flex-direction: row; gap: 16px; align-items: flex-start; padding: 20px; }
  .sitemap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; }
  .plaque { min-width: 140px; }
}

@media (min-width: 768px) {
  .c-hero { grid-template-columns: minmax(0, 1fr) 180px; align-items: start; }
  .pros { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-hero__cta { margin-top: 24px; }
}

@media (min-width: 1024px) {
  .page-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; margin-bottom: 40px; }
  .page-hero--text { grid-template-columns: minmax(0, 1fr); }
  .c-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .hub-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .sitemap-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-hero { grid-template-columns: minmax(0, 1fr) 220px; padding: 26px; }
}

/* ============================================================================
 * v4 (12.09.2026, замечания владельца по выложенной v3): «текст идёт полотном,
 * нет современного оформления разделов». Ниже - компоненты структурирования
 * длинного текста. Каждый несёт информацию, а не украшает: плитки выводов держат
 * числа из фактов, снимок доказывает лобби, шаги нумеруют настоящую последовательность
 * (касса), боковая карточка - выжимка раздела, «читать дальше» - переходы в другие
 * кластеры. Правила те же: 360 первым, только min-width 480/768/1024, только токены.
 * ========================================================================== */

/* Мера строки: абзац во всю ширину контейнера (1180px) - 180 знаков в строке, глаз
   теряет строку. Прямые дети контейнера-прозы держат 76ch; карточки, таблицы и сетки
   остаются во всю ширину, потому что живут на числах, а не на строках. */
.container > p, .container > ul:not([class]), .container > ol:not([class]), .container > .callout, .container > .figure-num, .container > .thin { max-width: 76ch; }

/* Кикер над H2: имя аспекта из карты покрытия (бриф 4б). Не декор - рубрика. */
.kicker { margin: 0 0 6px; font-size: var(--t-tiny); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: var(--fw-semi); }
.kicker + h2 { margin-top: 0; }

/* ----------------------------------------------------- плитки выводов ------ */
.takeaways { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.take { min-width: 0; padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 6px; }
.take__k { font-size: var(--t-tiny); letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); font-weight: var(--fw-semi); }
.take__v { font-family: var(--font-display); font-size: var(--t-h3); font-weight: var(--fw-bold); line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.take__t { margin: 0; font-size: var(--t-small); color: var(--text-dim); line-height: 1.45; }
.take--lead { background: var(--highlight-pale); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); box-shadow: none; }
.take--lead .take__v { color: var(--brand); font-size: var(--t-h2); }
.take--good .take__v { color: var(--success-ink, var(--success)); }
.take--warn .take__v { color: var(--warning-ink, var(--warning)); }

/* ----------------------------------------------------- снимки экрана ------- */
.shots { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.shot { margin: 0; min-width: 0; border-radius: var(--r-lg); background: var(--surface); border: var(--hairline); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.shot picture, .shot img { display: block; width: 100%; height: auto; }
.shot img { cursor: zoom-in; }
.shot figcaption { padding: 10px 14px; font-size: var(--t-small); color: var(--text-mute); border-top: var(--hairline); margin-top: auto; }
.shot--phone img { aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.shot--band img { aspect-ratio: 16 / 7; object-fit: cover; object-position: top; }

/* ------------------------------------------------------------ шаги --------- */
.steps { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.steps li { position: relative; padding: 14px 16px 14px 58px; border-radius: var(--r-lg); background: var(--surface); border: var(--hairline); counter-increment: step; min-width: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-pill);
  background: var(--brand); color: var(--on-brand); font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--t-small);
}
.steps b { display: block; margin-bottom: 2px; font-weight: var(--fw-semi); }
.steps p { margin: 0; font-size: var(--t-small); color: var(--text-dim); }

/* ----------------------------------------------- проза + боковая карточка -- */
.split { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin: 8px 0 24px; align-items: start; }
.split__main { min-width: 0; }
.split__main > :first-child { margin-top: 0; }
.aside-card { min-width: 0; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.aside-card__title { margin: 0 0 10px; font-family: var(--font-display); font-size: var(--t-h4); font-weight: var(--fw-bold); }
.aside-card dl { margin: 0; display: grid; gap: 8px; }
.aside-card dt { font-size: var(--t-tiny); letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); font-weight: var(--fw-semi); }
.aside-card dd { margin: 0 0 4px; font-size: var(--t-small); color: var(--text); font-weight: var(--fw-medium); overflow-wrap: anywhere; }
.aside-card .chips { margin: 10px 0 0; gap: 6px; }
.aside-card .chip { min-height: 32px; padding: 0 10px; font-size: var(--t-tiny); }
.aside-card--tint { background: var(--highlight-pale); box-shadow: none; border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }

/* ------------------------------------------------- страны: принимает ли ---- */
.avail { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0; }
.avail a, .avail div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: var(--r-lg); border: var(--hairline); background: var(--surface); text-decoration: none; color: var(--text); min-width: 0; }
.avail a:hover, .avail a:focus-visible { border-color: var(--brand); text-decoration: none; }
.avail b { font-weight: var(--fw-semi); font-size: var(--t-small); }
.avail span { font-size: var(--t-tiny); font-weight: var(--fw-semi); letter-spacing: .04em; text-transform: uppercase; }
.avail .is-yes span { color: var(--success-ink, var(--success)); }
.avail .is-no span { color: var(--danger); }

/* ----------------------------------------------------- соперники ----------- */
.rivals { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.rival { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); min-width: 0; }
.rival__name { margin: 0; font-family: var(--font-display); font-size: var(--t-h4); font-weight: var(--fw-bold); line-height: var(--lh-snug); }
.rival__name a { color: inherit; text-decoration: none; }
.rival__name a:hover, .rival__name a:focus-visible { color: var(--brand); }
.rival__res { margin: 0; grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--text-dim); }
.rival__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--t-small); }

/* --------------------------------------- где казино встречается на сайте --- */
.where { display: grid; gap: 10px; margin: 20px 0; }
.where__row { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface); border: var(--hairline); min-width: 0; }
.where__k { font-size: var(--t-tiny); letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); font-weight: var(--fw-semi); }
.where__row .chips { margin: 0; gap: 6px; }
.where__row .chip { min-height: 34px; padding: 0 12px; font-size: var(--t-tiny); }

/* ----------------------------------------------------- читать дальше ------- */
.next { margin: 32px 0 0; padding-top: 24px; border-top: var(--hairline); }
.next__title { margin: 0 0 4px; font-family: var(--font-display); font-size: var(--t-h3); font-weight: var(--fw-bold); }
.next__lede { margin: 0; color: var(--text-mute); font-size: var(--t-small); }
.hub-card__kicker { font-size: var(--t-tiny); letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); font-weight: var(--fw-semi); }

/* ---------------------------------------------------- сравнение: шапка ----- */
.vs { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.vs__side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); min-width: 0; }
.vs__side.is-lead { border: 2px solid var(--brand); }
.vs__name { margin: 0; font-family: var(--font-display); font-size: var(--t-h3); font-weight: var(--fw-bold); }
.vs__score { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.vs__score u { text-decoration: none; font-size: var(--t-small); font-family: var(--font-body); font-weight: var(--fw-body); color: var(--text-mute); }
.vs__won { margin: 0; font-size: var(--t-small); color: var(--text-dim); }
.vs__mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; text-align: center; }
.vs__tally { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--t-h2); font-variant-numeric: tabular-nums; }
.vs__tally i { font-style: normal; color: var(--text-mute); font-size: var(--t-h4); margin: 0 6px; }
.vs__label { font-size: var(--t-tiny); letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); font-weight: var(--fw-semi); }
.scoreline { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; padding: 0; list-style: none; }
.scoreline li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface-2); font-size: var(--t-tiny); color: var(--text-dim); }
.scoreline li b { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--rule-strong); }
.scoreline li.is-a b { background: var(--brand); }
.scoreline li.is-b b { background: var(--gold); }
.pairs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }

/* Обзор: полоса ключевого числа внутри раздела. */
.figure-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 16px 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); }
.figure-num b { font-family: var(--font-display); font-size: var(--t-h2); font-weight: var(--fw-bold); line-height: 1; font-variant-numeric: tabular-nums; color: var(--brand); }
.figure-num span { font-size: var(--t-small); color: var(--text-dim); }

@media (min-width: 480px) {
  .takeaways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rivals { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .avail { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .vs { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
}
@media (min-width: 768px) {
  .shots--pair { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: stretch; }
  .shots--two  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  /* Ведущая плитка шире вдвое: четыре плитки - пять колонок, три - четыре. Без этого
     четвёртая плитка сиротела на второй строке (снимок 12.09.2026). */
  .takeaways { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .takeaways:has(> :nth-child(3):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .takeaways:has(> :nth-child(2):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .take--lead { grid-column: span 2; }
  .split { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .split__aside { position: sticky; top: 88px; }
  .split--wide { grid-template-columns: minmax(0, 1fr) 380px; }
}

/* Таблица переезда: выше источника - зелёным, ниже - красным. */
.t--swap .is-up { color: var(--success-ink, var(--success)); font-weight: var(--fw-bold); }
.t--swap .is-down { color: var(--danger); }
.t--swap tfoot th, .t--swap tfoot td { border-top: 2px solid var(--rule-strong); font-weight: var(--fw-semi); background: var(--surface-2); }
.take__u { text-decoration: none; font-size: var(--t-small); font-family: var(--font-body); font-weight: var(--fw-body); color: var(--text-mute); margin-left: 6px; white-space: nowrap; }

/* Лид + иллюстрация раздела (страницы монет, стран, промокодов, гидов). */
.art-row { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: center; margin: 0 0 24px; }
.art-row .lede { margin: 0; }
.art-row__art { min-width: 0; border-radius: var(--r-lg); background: var(--surface); border: var(--hairline); padding: 10px; max-width: 420px; }
@media (min-width: 1024px) { .art-row { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; } .art-row__art { max-width: none; } }

/* Лидеры по параметрам (хабы, главная). */
.leaders { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.leader { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); color: var(--text); text-decoration: none; }
.leader:hover, .leader:focus-visible { text-decoration: none; box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.leader__k { font-size: var(--t-tiny); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); font-weight: var(--fw-semi); }
.leader__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.leader__row b { font-family: var(--font-display); font-weight: var(--fw-bold); }
.leader__why { font-size: var(--t-tiny); color: var(--text-mute); line-height: 1.4; }

/* Галерея лобби: снимки плиткой, ссылка ведёт в обзор. */
.gallery { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 20px 0; }
.gallery__item { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-card); color: var(--text); text-decoration: none; }
.gallery__item:hover, .gallery__item:focus-visible { text-decoration: none; box-shadow: var(--shadow-pop); }
.gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gallery__cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-top: var(--hairline); }
.gallery__cap b { font-family: var(--font-display); font-weight: var(--fw-bold); }
.t--matrix .is-up { color: var(--success-ink, var(--success)); font-weight: var(--fw-semi); }
.t--matrix .is-down { color: var(--text-mute); }
@media (min-width: 480px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .leaders { grid-template-columns: repeat(5, minmax(0, 1fr)); } .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
