/* =========================================================================
   BET BOLD v0.2 — Azerbaijani sports-portal restyle
   -------------------------------------------------------------------------
   Palette : white #ffffff · band #f5f6f8 · ink #16181d · line #e2e4e9
             red (accent, Misli-style) #d81f26 · data-blue #1f3a63
             win #157f3c · loss = accent red · void #7d838b
   Type    : Roboto Condensed 700 (headlines, natural case; uppercase only
             for small section labels) + Roboto (body, tabular numerals on
             every odd/stat)
   Language: conventional portal styling — 1px borders, subtle shadows,
             6-8px radius, dense chronological feed, sidebar widgets,
             scoreboard match strip, red-header PROQNOZ card.
   ========================================================================= */

:root {
  --bb-bg:        #ffffff;
  --bb-band:      #f5f6f8;
  --bb-band-deep: #eceef1;
  --bb-ink:       #16181d;
  --bb-ink-2:     #4d5257;
  --bb-ink-3:     #8a9097;
  --bb-line:      #e2e4e9;
  --bb-line-2:    #cdd2d9;

  --bb-red:      #d81f26;
  --bb-red-deep: #b3151b;
  --bb-red-tint: #fdecec;

  --bb-blue:      #1f3a63;
  --bb-blue-deep: #16294a;
  --bb-blue-tint: #e9eef6;
  --bb-blue-line: #c6d2e4;

  --bb-win:       #157f3c;
  --bb-win-tint:  #e2f3e8;
  --bb-loss:      #d81f26;
  --bb-loss-tint: #fdecec;
  --bb-void:      #7d838b;
  --bb-void-tint: #eef0f2;

  --bb-radius:    8px;
  --bb-radius-sm: 6px;
  --bb-shadow:       0 1px 3px rgba(0, 0, 0, 0.08);
  --bb-shadow-hover: 0 3px 10px rgba(0, 0, 0, 0.12);

  --bb-display: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --bb-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

/* ---------- reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--bb-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--bb-ink);
  background-color: var(--bb-bg);
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--bb-blue);
  outline-offset: 2px;
}

::selection { background: var(--bb-blue); color: #fff; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.screen-reader-text:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  padding: 10px 16px;
  background: var(--bb-ink);
  color: #fff;
  font-weight: 700;
  border-radius: var(--bb-radius-sm);
}

/* ---------- layout shell ----------------------------------------------- */
.bb-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.bb-main { padding: 24px 0 64px; }

/* front page columns: dense feed + sidebar widgets */
.bb-front-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.bb-front-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- shared type ------------------------------------------------- */
.bb-eyebrow {
  display: inline-block;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bb-red);
  margin-bottom: 6px;
}

.bb-front-title {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.12;
  margin: 0 0 6px;
}

.bb-front-head {
  margin: 4px 0 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bb-ink);
}

.bb-front-note {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--bb-ink-2);
}

.bb-empty {
  display: inline-block;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background: var(--bb-band);
  padding: 12px 18px;
  font-weight: 500;
  color: var(--bb-ink-2);
}

/* section head — red kicker bar + title + hairline */
.bb-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 16px;
}

.bb-section-title {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 0;
  padding-left: 12px;
  border-left: 4px solid var(--bb-red);
  flex: none;
}

.bb-section-rule {
  flex: 1;
  height: 1px;
  background: var(--bb-line);
}

.bb-section-more {
  flex: none;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--bb-blue);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-bg);
  padding: 5px 12px;
  transition: background-color 120ms ease, color 120ms ease;
}

.bb-section-more:hover { background: var(--bb-blue-tint); }

/* sidebar widget shell */
.bb-widget {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background: var(--bb-bg);
  box-shadow: var(--bb-shadow);
  overflow: hidden;
}

.bb-widget-title {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--bb-blue);
  margin: 0;
  padding: 9px 14px;
}

.bb-widget-more {
  display: block;
  padding: 10px 14px;
  border-top: 1px solid var(--bb-line);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--bb-blue);
  text-decoration: none;
  transition: background-color 120ms ease;
}

.bb-widget-more:hover { background: var(--bb-blue-tint); }

/* ---------- topbar ------------------------------------------------------ */
.bb-topbar {
  background: var(--bb-bg);
  border-bottom: 1px solid var(--bb-line);
  box-shadow: var(--bb-shadow);
  position: relative;
}

/* thin red identity strip on the very top — the operator convention */
.bb-topbar::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--bb-red);
}

.bb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}

.bb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.bb-brand-box {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
}

.bb-brand-mark { width: 44px; height: 44px; display: block; }

.bb-brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.bb-brand-name {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.bb-brand-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bb-ink-3);
  margin-top: 2px;
}

.bb-nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex-wrap: wrap;
}

.bb-nav-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--bb-ink);
  padding: 8px 14px;
  border-radius: var(--bb-radius-sm);
  border-bottom: 3px solid transparent;
  transition: background-color 120ms ease, color 120ms ease;
}

.bb-nav-link:hover { background: var(--bb-band); color: var(--bb-red); }

.bb-nav-link.is-active {
  color: var(--bb-red);
  border-bottom-color: var(--bb-red);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.bb-nav-link-search { color: var(--bb-ink-2); }

/* ---------- sport chip bar ---------------------------------------------- */
.bb-sportbar {
  border-bottom: 1px solid var(--bb-line);
  background: var(--bb-band);
}

.bb-sportbar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.bb-sportbar-label {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-ink-3);
  margin-right: 4px;
}

/* ---------- chips — portal pills ----------------------------------------- */
.bb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--bb-line-2);
  border-radius: 999px;
  background: var(--bb-bg);
  color: var(--bb-ink-2);
  white-space: nowrap;
}

a.bb-chip { transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease; }

a.bb-chip:hover {
  background: var(--bb-red);
  border-color: var(--bb-red);
  color: #fff;
}

.bb-chip-sport.is-active {
  background: var(--bb-red);
  border-color: var(--bb-red);
  color: #fff;
  font-weight: 700;
}

.bb-chip-league {
  background: var(--bb-band);
  color: var(--bb-ink-2);
}

.bb-chip-score {
  background: var(--bb-ink);
  border-color: var(--bb-ink);
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bb-chip-kick {
  background: var(--bb-blue-tint);
  border-color: var(--bb-blue-line);
  color: var(--bb-blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bb-chip-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* ---------- date tabs (Bu gün / Sabah / Yaxın oyunlar / Nəticələr) ------- */
.bb-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bb-line);
  overflow-x: auto; /* same horizontal scroll affordance as .bb-sportbar-inner */
}

.bb-tab {
  flex: none;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--bb-ink-2);
  background: var(--bb-band);
  border: 1px solid var(--bb-line-2);
  border-radius: var(--bb-radius-sm);
  padding: 6px 14px;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.bb-tab:hover {
  background: var(--bb-red-tint);
  border-color: var(--bb-red);
  color: var(--bb-red-deep);
}

.bb-tab.is-active {
  background: var(--bb-red);
  border-color: var(--bb-red);
  color: #fff;
}

/* empty-state strip: message, fallback grid, sibling-tab chips */
.bb-when-fallback .bb-section-head { margin-top: 16px; }

.bb-when-siblings { display: flex; margin: 18px 0 8px; }

.bb-when-siblings-label {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-ink-3);
}

.bb-kick-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bb-red);
  display: inline-block;
  animation: bb-pulse 1.6s ease-in-out infinite;
}

@keyframes bb-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* ---------- badges (result) ----------------------------------------------- */
.bb-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1;
  color: #fff;
  border-radius: 4px;
}

.bb-badge-wide {
  min-width: 0;
  height: auto;
  padding: 4px 12px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bb-badge-won     { background: var(--bb-win); }
.bb-badge-lost    { background: var(--bb-loss); }
.bb-badge-void    { background: var(--bb-void); }
.bb-badge-pending {
  background: var(--bb-bg);
  color: var(--bb-ink-2);
  border: 1px solid var(--bb-line-2);
}

/* ---------- breadcrumbs ---------------------------------------------------- */
.bb-crumbs { border-bottom: 1px solid var(--bb-line); background: var(--bb-band); }

.bb-crumbs-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 auto;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.8rem;
  color: var(--bb-ink-2);
}

.bb-crumbs-item { display: flex; align-items: center; gap: 6px; min-width: 0; }

.bb-crumbs-item a { text-decoration: none; }
.bb-crumbs-item a:hover { color: var(--bb-red); text-decoration: underline; }

.bb-crumbs-item span[aria-current] {
  color: var(--bb-ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46ch;
}

.bb-crumbs-sep { color: var(--bb-ink-3); }

/* ---------- feed / cards ---------------------------------------------------- */
.bb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 14px 0 0;
}

.bb-grid-related { grid-template-columns: 1fr; }

/* card = compact feed row: media left, body right */
.bb-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bb-bg);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  padding: 12px 14px;
  transition: box-shadow 140ms ease, border-color 140ms ease;
}

.bb-card:hover {
  box-shadow: var(--bb-shadow-hover);
  border-color: var(--bb-line-2);
}

.bb-card.is-settled { background: var(--bb-band); }

.bb-card-media {
  flex: none;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 2px;
}

.bb-card-media-logos {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bb-card-media .bb-team-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border: 1px solid var(--bb-line);
  border-radius: 4px;
  background: #fff;
  padding: 2px;
  display: block;
}

.bb-card-media-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--bb-line);
  background: var(--bb-bg);
}

.bb-card-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.bb-card-top { display: flex; justify-content: space-between; gap: 10px; }

.bb-card-teams {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
}

.bb-card-teams a { text-decoration: none; }

.bb-card-teams a:hover .bb-team { color: var(--bb-red); }

.bb-team { transition: color 120ms ease; }

.bb-vs {
  display: inline-block;
  font-family: var(--bb-body);
  font-size: 0.72em;
  font-weight: 500;
  color: var(--bb-ink-3);
  padding: 0 3px;
}

/* lead card — the day's headline preview */
.bb-card-lead {
  margin-top: 0;
  padding: 18px;
  border-top: 3px solid var(--bb-red);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.bb-card-lead .bb-card-media { width: 60px; }

.bb-card-lead .bb-card-media .bb-team-logo { width: 34px; height: 34px; }

.bb-card-lead .bb-card-media-avatar { width: 56px; height: 56px; }

.bb-card-lead .bb-card-teams { font-size: clamp(1.25rem, 3vw, 1.55rem); }

/* pick teaser inside a card */
.bb-card-pick {
  margin: 0;
  border-top: 1px solid var(--bb-line);
  padding-top: 7px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.bb-card-pick-label {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bb-red);
  flex: none;
}

.bb-card-pick-text {
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.4;
}

.bb-card-pick-odds {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--bb-blue);
  background: var(--bb-blue-tint);
  border: 1px solid var(--bb-blue-line);
  border-radius: 4px;
  padding: 0 6px;
  white-space: nowrap;
}

/* ---------- byline ------------------------------------------------------- */
.bb-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--bb-ink-3);
}

.bb-byline-avatar {
  width: 22px;
  height: 22px;
  border: 1px solid var(--bb-line);
  border-radius: 50%;
  background: var(--bb-bg);
  flex: none;
}

.bb-byline-name {
  font-weight: 700;
  color: var(--bb-ink-2);
  text-decoration: none;
}

.bb-byline-name:hover { color: var(--bb-red); text-decoration: underline; }

.bb-byline-sep { color: var(--bb-line-2); }

.bb-byline-wr {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--bb-win);
}

.bb-card-byline { margin-top: auto; }

/* ---------- odds trio — blue data chips ----------------------------------- */
.bb-odds-trio {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bb-odd {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border: 1px solid var(--bb-blue-line);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-blue-tint);
  padding: 3px 9px;
}

.bb-odd-label {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--bb-blue);
  opacity: 0.75;
}

.bb-odd-num {
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--bb-blue);
}

.bb-odds-trio-panel .bb-odd { padding: 8px 18px; }
.bb-odds-trio-panel .bb-odd-label { font-size: 0.78rem; }
.bb-odds-trio-panel .bb-odd-num { font-size: 1.25rem; }

/* ---------- results widget --------------------------------------------------- */
.bb-results-strip {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bb-result + .bb-result { border-top: 1px solid var(--bb-line); }

.bb-result-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  padding: 10px 14px;
  transition: background-color 120ms ease;
}

.bb-result-link:hover { background: var(--bb-band); }

.bb-result-link .bb-badge { margin-top: 2px; flex: none; }

.bb-result-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.bb-result-teams { font-weight: 700; font-size: 0.88rem; line-height: 1.3; }

.bb-result-dash { color: var(--bb-ink-3); }

.bb-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--bb-ink-3);
}

.bb-result-score {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--bb-ink);
  background: var(--bb-band-deep);
  border-radius: 4px;
  padding: 0 5px;
}

.bb-result-pick { font-weight: 500; }

.bb-result-author { font-size: 0.72rem; }

/* ---------- tipster roster widget --------------------------------------------- */
.bb-team-row {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bb-team-tipster + .bb-team-tipster { border-top: 1px solid var(--bb-line); }

.bb-team-tipster a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 9px 14px;
  transition: background-color 120ms ease;
}

.bb-team-tipster a:hover { background: var(--bb-band); }

.bb-team-avatar {
  width: 40px;
  height: 40px;
  border: 1px solid var(--bb-line);
  border-radius: 50%;
  background: var(--bb-bg);
  flex: none;
}

.bb-team-name {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.bb-team-wr {
  flex: none;
  font-weight: 700;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: var(--bb-win);
  background: var(--bb-win-tint);
  border-radius: 4px;
  padding: 2px 7px;
}

.bb-team-wr-empty {
  color: var(--bb-ink-3);
  background: var(--bb-band);
  font-weight: 500;
  font-size: 0.72rem;
  white-space: normal;
  text-align: right;
  max-width: 12ch;
}

/* ---------- single: scoreboard match strip -------------------------------------- */
.bb-single { max-width: 860px; }

.bb-match {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background: var(--bb-bg);
  box-shadow: var(--bb-shadow);
  padding: 16px 20px;
  margin-bottom: 22px;
}

.bb-match.is-settled { background: var(--bb-band); }

.bb-match-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--bb-line);
}

.bb-match-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--bb-ink-2);
}

.bb-match-state strong { color: var(--bb-ink); font-variant-numeric: tabular-nums; }

.bb-match-score {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--bb-ink);
  color: #fff;
  border-radius: 4px;
  padding: 1px 8px;
}

.bb-match-teams {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.bb-match-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.bb-match-logo { display: block; }

.bb-team-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-sm);
  background: #fff;
  padding: 3px;
}

/* Match header: large, recognizable crest (uncropped) or initials monogram. */
.bb-match-logo .bb-team-logo {
  width: 68px;
  height: 68px;
  padding: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bb-match-logo .bb-team-mono {
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--bb-blue);
  color: #fff;
  font-family: var(--bb-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.bb-match-name {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.bb-match-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-ink-3);
}

.bb-match-vs {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--bb-blue);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
}

.bb-odds-trio-panel { margin-top: 16px; }

/* ---------- single: head + byline ------------------------------------------------ */
.bb-single-head { margin-bottom: 20px; }

.bb-single-title {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

.bb-single-byline { font-size: 0.85rem; }

.bb-single-byline .bb-byline-avatar { width: 32px; height: 32px; }

/* ---------- PROQNOZ card ----------------------------------------------------------- */
.bb-pick {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background: var(--bb-bg);
  box-shadow: var(--bb-shadow);
  overflow: hidden;
  margin: 0 0 28px;
}

.bb-pick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bb-red);
  padding: 9px 16px;
}

.bb-pick-title {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.bb-pick-head .bb-badge-pending { background: rgba(255, 255, 255, 0.92); }

.bb-pick-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 16px 4px;
}

.bb-pick-text {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  line-height: 1.2;
}

.bb-pick-odds {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: var(--bb-blue);
  border-radius: var(--bb-radius-sm);
  padding: 4px 14px;
  flex: none;
}

.bb-pick-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding: 12px 16px 2px;
}

.bb-pick-meta-item { display: flex; flex-direction: column; gap: 5px; }

.bb-pick-meta-label {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bb-ink-3);
}

/* confidence meter — conventional segmented bar */
.bb-conf { display: inline-flex; align-items: center; gap: 3px; }

.bb-conf-seg {
  width: 16px;
  height: 8px;
  border-radius: 2px;
  background: var(--bb-band-deep);
}

.bb-conf-seg.is-on { background: var(--bb-red); }

.bb-conf-num {
  margin-left: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  color: var(--bb-ink-2);
}

.bb-pick-stake {
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--bb-blue);
  background: var(--bb-blue-tint);
  border: 1px solid var(--bb-blue-line);
  border-radius: 4px;
  align-self: flex-start;
  padding: 2px 10px;
}

.bb-pick-verdict {
  margin: 12px 16px 4px;
  padding: 10px 14px;
  border-left: 4px solid var(--bb-red);
  border-radius: 0 var(--bb-radius-sm) var(--bb-radius-sm) 0;
  background: var(--bb-band);
  font-size: 0.95rem;
}

.bb-pick-alts { padding: 12px 16px 16px; }

.bb-pick-alts-label {
  display: block;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bb-ink-3);
  margin-bottom: 6px;
}

.bb-pick-alts-list { list-style: none; margin: 0; padding: 0; }

.bb-pick-alt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
}

.bb-pick-alt + .bb-pick-alt { border-top: 1px solid var(--bb-line); }

.bb-pick-alt-pick { font-weight: 500; }

.bb-pick-alt-dots {
  flex: 1;
  border-bottom: 1px dotted var(--bb-line-2);
  transform: translateY(-4px);
}

.bb-pick-alt-odds {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--bb-blue);
}

/* ---------- article prose ------------------------------------------------------------ */
.bb-article {
  background: var(--bb-bg);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  padding: clamp(18px, 3.5vw, 32px);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.bb-article > :first-child { margin-top: 0; }
.bb-article > :last-child { margin-bottom: 0; }

.bb-article h2 {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 2em 0 0.7em;
  padding-left: 12px;
  border-left: 4px solid var(--bb-red);
  scroll-margin-top: 24px;
}

.bb-article h3 {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 1.7em 0 0.6em;
}

.bb-article p { margin: 0 0 1.1em; }

.bb-article a { color: var(--bb-blue); text-decoration-thickness: 1px; }
.bb-article a:hover { color: var(--bb-red); }

.bb-article ul,
.bb-article ol { margin: 0 0 1.2em; padding-left: 1.5em; }

.bb-article li { margin-bottom: 0.4em; }

.bb-article li::marker { color: var(--bb-red); font-weight: 700; }

.bb-article blockquote {
  margin: 1.5em 0;
  padding: 12px 16px;
  border-left: 4px solid var(--bb-blue);
  border-radius: 0 var(--bb-radius-sm) var(--bb-radius-sm) 0;
  background: var(--bb-band);
  color: var(--bb-ink-2);
}

.bb-article blockquote p:last-child { margin-bottom: 0; }

.bb-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--bb-line);
}

.bb-article th,
.bb-article td {
  border: 1px solid var(--bb-line);
  padding: 7px 11px;
  text-align: left;
}

.bb-article th {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bb-blue);
  border-color: var(--bb-blue-deep);
  color: #fff;
}

.bb-article tbody tr:nth-child(even) { background: var(--bb-band); }

.bb-article code {
  background: var(--bb-band);
  border: 1px solid var(--bb-line);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.88em;
}

.bb-article img {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-sm);
}

.bb-article hr {
  border: 0;
  border-top: 1px solid var(--bb-line);
  margin: 2em 0;
}

/* ---------- TOC («Bu icmalda») --------------------------------------------------------- */
.bb-toc {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-band);
  padding: 14px 16px;
  margin: 0 0 1.8em;
}

.bb-toc-label {
  display: block;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bb-ink-3);
  margin-bottom: 10px;
}

.bb-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 20px;
}

.bb-toc-item a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--bb-ink-2);
  padding: 2px 0;
}

.bb-toc-item a:hover .bb-toc-text { color: var(--bb-red); text-decoration: underline; }

.bb-toc-num {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--bb-red);
  font-variant-numeric: tabular-nums;
  flex: none;
}

/* ---------- FAQ -------------------------------------------------------------------------- */
.bb-faq-item {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-bg);
  box-shadow: var(--bb-shadow);
  margin-bottom: 10px;
  overflow: hidden;
}

.bb-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 16px;
  transition: background-color 120ms ease;
}

.bb-faq-q::-webkit-details-marker { display: none; }

.bb-faq-q:hover { background: var(--bb-band); }

.bb-faq-marker {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bb-blue-tint);
  position: relative;
  transition: transform 160ms ease, background-color 160ms ease;
}

.bb-faq-marker::before,
.bb-faq-marker::after {
  content: "";
  position: absolute;
  background: var(--bb-blue);
}

.bb-faq-marker::before {
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
}

.bb-faq-marker::after {
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
}

.bb-faq-item[open] .bb-faq-marker { transform: rotate(45deg); background: var(--bb-red-tint); }
.bb-faq-item[open] .bb-faq-marker::before,
.bb-faq-item[open] .bb-faq-marker::after { background: var(--bb-red); }

.bb-faq-a {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--bb-line);
  color: var(--bb-ink-2);
  font-size: 0.95rem;
}

.bb-faq-a p:last-child { margin-bottom: 0; }

/* ---------- track record ------------------------------------------------------------------ */
.bb-record {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background: var(--bb-bg);
  box-shadow: var(--bb-shadow);
  padding: 18px;
}

.bb-record-compact { margin-top: 36px; }

.bb-record-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.bb-record-avatar {
  width: 48px;
  height: 48px;
  border: 1px solid var(--bb-line);
  border-radius: 50%;
  flex: none;
}

.bb-record-name {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.bb-record-name:hover { color: var(--bb-red); text-decoration: underline; }

.bb-record-bio {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--bb-ink-2);
}

.bb-record-empty {
  margin: 0;
  font-weight: 500;
  color: var(--bb-ink-3);
  background: var(--bb-band);
  border-radius: var(--bb-radius-sm);
  padding: 12px 16px;
}

.bb-record-body {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.bb-record-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: none;
}

.bb-ring-track { stroke: var(--bb-band-deep); }
.bb-ring-value { stroke: var(--bb-blue); }

.bb-ring-num {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 15px;
  fill: var(--bb-ink);
}

.bb-record-ring-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bb-ink-3);
  text-align: center;
}

.bb-record-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin: 0;
}

.bb-record-stat { display: flex; flex-direction: column; gap: 4px; }

.bb-record-stat dt {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-ink-3);
}

.bb-record-stat dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
}

.bb-wlv-w { color: var(--bb-win); }
.bb-wlv-l { color: var(--bb-loss); }
.bb-wlv-v { color: var(--bb-void); }

.bb-roi {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border-radius: 4px;
  padding: 2px 9px;
}

.bb-roi.is-up   { background: var(--bb-win-tint); color: var(--bb-win); }
.bb-roi.is-down { background: var(--bb-loss-tint); color: var(--bb-loss); }

.bb-roi-label {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.bb-roi-num { font-variant-numeric: tabular-nums; }

.bb-form { display: inline-flex; gap: 3px; }

.bb-form-cell {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.68rem;
  color: #fff;
  border-radius: 4px;
}

.bb-form-cell.is-w { background: var(--bb-win); }
.bb-form-cell.is-l { background: var(--bb-loss); }
.bb-form-cell.is-v { background: var(--bb-void); }

.bb-form-empty { font-weight: 500; color: var(--bb-ink-3); font-size: 0.85rem; }

.bb-record-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--bb-blue);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-bg);
  padding: 7px 13px;
  transition: background-color 120ms ease;
}

.bb-record-all:hover { background: var(--bb-blue-tint); }

/* ---------- tipster hero (author.php) ------------------------------------------------------ */
.bb-tipster-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: start;
  border: 1px solid var(--bb-line);
  border-top: 3px solid var(--bb-red);
  border-radius: var(--bb-radius);
  background: var(--bb-bg);
  box-shadow: var(--bb-shadow);
  padding: clamp(18px, 3.5vw, 28px);
  margin-bottom: 32px;
}

.bb-tipster-avatar {
  width: 104px;
  height: 104px;
  border: 1px solid var(--bb-line);
  border-radius: 50%;
}

.bb-tipster-name {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.1;
  margin: 0 0 10px;
}

.bb-tipster-bio {
  max-width: 62ch;
  margin: 0 0 12px;
  color: var(--bb-ink-2);
  font-size: 0.95rem;
}

.bb-tipster-record { min-width: 300px; }

.bb-tipster-record .bb-record { box-shadow: none; background: var(--bb-band); }

/* tipster roster grid (page-proqnozcular.php) */
.bb-tipster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bb-tipster-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  background: var(--bb-bg);
  box-shadow: var(--bb-shadow);
  padding: 18px;
  transition: box-shadow 140ms ease;
}

.bb-tipster-card:hover { box-shadow: var(--bb-shadow-hover); }

.bb-tipster-card-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.bb-tipster-card-avatar {
  width: 64px;
  height: 64px;
  border: 1px solid var(--bb-line);
  border-radius: 50%;
  flex: none;
}

.bb-tipster-card-name {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.bb-tipster-card-name a { text-decoration: none; }
.bb-tipster-card-name a:hover { color: var(--bb-red); text-decoration: underline; }

.bb-tipster-card-bio {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--bb-ink-2);
}

.bb-tipster-card .bb-record {
  box-shadow: none;
  padding: 12px 14px;
  background: var(--bb-band);
  margin-top: auto;
}

.bb-tipster-card .bb-record-all { align-self: flex-start; }

/* ---------- search form --------------------------------------------------------------------- */
.bb-search-form {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin-top: 16px;
}

.bb-search-input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 9px 13px;
  border: 1px solid var(--bb-line-2);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-bg);
}

.bb-search-input:focus {
  outline: none;
  border-color: var(--bb-blue);
  box-shadow: 0 0 0 3px var(--bb-blue-tint);
}

.bb-search-button {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--bb-red);
  border: 0;
  border-radius: var(--bb-radius-sm);
  padding: 9px 20px;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.bb-search-button:hover { background: var(--bb-red-deep); }

/* ---------- 404 -------------------------------------------------------------------------------- */
.bb-404 {
  text-align: center;
  padding: 36px 20px 26px;
}

.bb-404-code {
  display: inline-block;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  line-height: 1;
  color: var(--bb-red);
  font-variant-numeric: tabular-nums;
}

.bb-404-title {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
  margin: 20px 0 8px;
}

.bb-404-text {
  max-width: 46ch;
  margin: 0 auto 22px;
  color: var(--bb-ink-2);
}

.bb-button {
  display: inline-block;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  background: var(--bb-red);
  border-radius: var(--bb-radius-sm);
  padding: 11px 22px;
  transition: background-color 120ms ease;
}

.bb-button:hover { background: var(--bb-red-deep); }

/* ---------- pagination --------------------------------------------------------------------------- */
.pagination,
.navigation.pagination { margin: 32px 0 0; }

.pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-block;
  min-width: 38px;
  text-align: center;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 7px 11px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-bg);
  color: var(--bb-ink-2);
  transition: background-color 120ms ease, color 120ms ease;
}

.pagination a.page-numbers:hover { background: var(--bb-band); color: var(--bb-red); }

.pagination .page-numbers.current {
  background: var(--bb-red);
  border-color: var(--bb-red);
  color: #fff;
  font-weight: 700;
}

.pagination .page-numbers.dots { border: 0; background: transparent; }

/* ---------- disclaimer ----------------------------------------------------------------------------- */
.bb-disclaimer {
  margin-top: 36px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-band);
  padding: 12px 16px;
  font-size: 0.84rem;
  color: var(--bb-ink-2);
}

.bb-disclaimer p { margin: 0; }

.bb-disclaimer strong { color: var(--bb-ink); }

/* ---------- footer ----------------------------------------------------------------------------------- */
.bb-footer {
  background: var(--bb-ink);
  color: #c9ccd2;
  border-top: 3px solid var(--bb-red);
  margin-top: 40px;
}

.bb-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 36px;
  padding-top: 36px;
  padding-bottom: 30px;
}

.bb-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  margin-bottom: 12px;
}

.bb-footer-mark {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: var(--bb-radius-sm);
  padding: 4px;
}

.bb-footer-about {
  margin: 0 0 14px;
  font-size: 0.88rem;
  max-width: 46ch;
}

.bb-footer-rss {
  display: inline-block;
  font-weight: 500;
  font-size: 0.8rem;
  text-decoration: none;
  color: #c9ccd2;
  border: 1px solid #3a3d45;
  border-radius: var(--bb-radius-sm);
  padding: 5px 10px;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.bb-footer-rss:hover { background: var(--bb-red); border-color: var(--bb-red); color: #fff; }

.bb-footer-heading {
  display: block;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.bb-footer-tipsters { display: flex; flex-direction: column; }

.bb-footer-tipsters a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 3px 0;
  color: #c9ccd2;
}

.bb-footer-tipsters a:hover { color: #fff; text-decoration: underline; }

.bb-footer-rg { display: flex; gap: 12px; align-items: flex-start; }

.bb-rg-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--bb-red);
  color: #fff;
  border-radius: 50%;
}

.bb-rg-text {
  margin: 0;
  font-size: 0.8rem;
}

.bb-rg-text strong { color: #fff; }

.bb-footer-legal {
  border-top: 1px solid #2b2e35;
  padding: 12px 0;
  font-size: 0.76rem;
  color: #8a8e96;
}

.bb-footer-legal p { margin: 0; }

/* ---------- bookmaker offers --------------------------------------------------------------------- */
.bb-offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bb-offer {
  display: grid;
  /* 120px под лого: у вордмарков AR до 6.5, в 88px они дают 13 px высоты. */
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bb-bg);
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  transition: box-shadow 120ms ease;
}

.bb-offer:hover { box-shadow: var(--bb-shadow-hover); }

.bb-offer-logo {
  width: 120px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.bb-offer-logo-void {
  display: block;
  border: 1px dashed var(--bb-line-2);
  border-radius: var(--bb-radius-sm);
  background: var(--bb-band);
}

/* Logo plates.
   Half the brands ship a pure-white logo drawn for a dark casino background;
   on this white card it is invisible. The import step measures each logo's
   luminance into `_offer_logo_tone`, and the template emits
   --light / --dark / --mid. Only the ones that need it get a plate — a plate
   on every logo would in turn swallow the near-black ones (Scored, Smash).
   The card is white, so --dark needs nothing here. */
.bb-offer-logo--light,
.bb-inline-offer-logo--light {
  background: var(--bb-ink);
  border-radius: var(--bb-radius-sm);
  padding: 6px 8px;
  box-sizing: border-box;
}

.bb-offer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bb-offer-casino {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.bb-offer-promo {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  color: var(--bb-blue);
  background: var(--bb-blue-tint);
  border: 1px solid var(--bb-blue-line);
  border-radius: 3px;
}

.bb-offer-title {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.bb-offer-desc {
  margin: 4px 0 0;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--bb-ink-2);
}

.bb-offer-cta { white-space: nowrap; }

.bb-adnote {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--bb-ink-3);
}

/* inline block, injected between article sections */
.bb-inline-offer {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  padding: 14px 16px;
  background: var(--bb-band);
  border: 1px solid var(--bb-line);
  border-left: 4px solid var(--bb-red);
  border-radius: var(--bb-radius);
}

.bb-inline-offer-logo {
  width: 112px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.bb-inline-offer-meta {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--bb-red-deep);
}

.bb-inline-offer-title {
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.4;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.bb-inline-offer-desc {
  margin: 4px 0 0;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--bb-ink-2);
}

.bb-inline-offer-cta { margin-top: 12px; }

.bb-inline-offer-note {
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--bb-ink-3);
}

/* ---------- responsive ---------------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .bb-front-cols { grid-template-columns: 1fr; }

  .bb-front-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .bb-tipster-hero { grid-template-columns: auto 1fr; }

  .bb-tipster-record {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .bb-footer-inner { grid-template-columns: 1fr 1fr; }

  .bb-footer-rg { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .bb-front-side { grid-template-columns: 1fr; }

  .bb-tipster-grid { grid-template-columns: 1fr; }

  .bb-toc-list { grid-template-columns: 1fr; }

  .bb-topbar-inner { justify-content: center; text-align: center; }

  .bb-tipster-hero { grid-template-columns: 1fr; }

  .bb-tipster-avatar { width: 84px; height: 84px; }

  .bb-footer-inner { grid-template-columns: 1fr; gap: 24px; }

  .bb-match-teams { gap: 12px; }

  .bb-card { flex-wrap: wrap; }

  .bb-card-media { flex-direction: row; width: auto; }

  .bb-card-media-logos { flex-direction: row; }

  .bb-card-body { flex-basis: 100%; }

  .bb-section-head { flex-wrap: wrap; }

  .bb-offer { grid-template-columns: 1fr; gap: 10px; }
  .bb-offer-cta { justify-self: stretch; text-align: center; }

  .bb-inline-offer { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- offer bar (slide-in, bottom) --------------------------------------------------------- */
.bb-offerbar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 130%);
  z-index: 55;
  width: min(760px, calc(100% - 28px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--bb-bg);
  border: 1px solid var(--bb-line);
  border-left: 4px solid var(--bb-red);
  border-radius: var(--bb-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}

.bb-offerbar.is-in { transform: translate(-50%, 0); opacity: 1; }
.bb-offerbar[hidden] { display: none; }

.bb-offerbar-logo {
  flex: 0 0 auto;
  /* Широкий бокс, не квадрат: у вордмарков AR до 6.5. */
  width: 116px;
  height: 36px;
  object-fit: contain;
  border-radius: var(--bb-radius-sm);
}

/* Бледные лого пропадают на белой карточке — плашка по измеренной яркости,
   см. bb_offer_image() в inc/offers.php. */
.bb-offerbar-logo--light {
  background: var(--bb-ink);
  padding: 5px 6px;
  box-sizing: border-box;
}

.bb-offerbar-text {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.bb-offerbar-text strong {
  display: block;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.bb-offerbar-text > span {
  display: block;
  font-variant-numeric: tabular-nums;
}

/* Условия бонуса живут ЗДЕСЬ, а не на карточках: там они добавляли по две
   серые строки под каждым бонусом и оттягивали внимание от бренда и оффера. */
.bb-offerbar-terms {
  font-size: 0.78rem;
  color: var(--bb-ink-2);
}

.bb-offerbar-rg {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--bb-ink-3);
}

.bb-offerbar-cta {
  flex: 0 0 auto;
  display: inline-block;
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  background: var(--bb-red);
  border-radius: var(--bb-radius-sm);
  padding: 10px 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms ease;
}

.bb-offerbar-cta:hover { background: var(--bb-red-deep); color: #fff; }

.bb-offerbar-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  font-size: 20px;
  line-height: 1;
  color: var(--bb-ink-3);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.bb-offerbar-close:hover { background: var(--bb-band-deep); color: var(--bb-ink); }

@media (max-width: 620px) {
  .bb-offerbar { gap: 10px; padding: 10px 12px; bottom: 8px; }
  .bb-offerbar-logo { width: 92px; height: 28px; }
  .bb-offerbar-terms { display: none; }
  /* 18+ остаётся и на мобиле: обязательный элемент, а не украшение. */
  .bb-offerbar-rg { font-size: 0.66rem; }
  .bb-offerbar-cta { padding: 9px 13px; font-size: 0.82rem; }
}

/* ---------- reduced motion --------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bb-kick-dot { animation: none; opacity: 1; }
}

/* Page-view counter — eye glyph + count, sits inline in bylines. */
.bb-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: inherit;
}
.bb-views-icon {
  flex: none;
  opacity: 0.7;
}
.bb-views-num {
  font-variant-numeric: tabular-nums;
}
