/* Rarabet match centre — broadcast glass. Self-contained; no Bootstrap. */
.rb-page {
  --rb-navy: #0E2047;
  --rb-navy-2: #152a55;
  --rb-red: #e13046;
  --rb-green: #009951;
  --rb-gold: #968500;
  --rb-ink: #0E2047;
  --rb-muted: #64748b;
  --rb-line: rgba(14, 32, 71, 0.12);
  --rb-glass: rgba(255, 255, 255, 0.1);
  --rb-glass-border: rgba(255, 255, 255, 0.18);
  --rb-home: #2456c8;
  --rb-away: #e13046;
  --rb-draw: #94a3b8;
  --rb-win: #009951;
  --rb-loss: #e13046;
  --rb-soft: #f1f5f9;
  color: var(--rb-ink);
  font-size: 15px;
  line-height: 1.5;
  background: #eef1f7;
  padding-bottom: 48px;
}
.rb-page *, .rb-page *::before, .rb-page *::after { box-sizing: border-box; }
.rb-page img { max-width: 100%; display: inline-block; vertical-align: middle; }
.rb-page a { text-decoration: none; color: inherit; }
.rb-page h1, .rb-page h2, .rb-page h3, .rb-page h4 { margin: 0; color: inherit; }
.rb-page p { margin: 0 0 12px; }
.rb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
[x-cloak] { display: none !important; }

/* ---- Split pitch hero ---- */
.rb-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 28px 0 36px;
  background: var(--rb-navy);
}
.rb-hero__split {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
}
.rb-hero__split-home {
  background: linear-gradient(135deg, #0b1838 0%, #152a55 55%, rgba(36, 86, 200, 0.35) 100%);
}
.rb-hero__split-away {
  background: linear-gradient(225deg, #1a0a12 0%, #2a1220 40%, rgba(225, 48, 70, 0.45) 100%);
}
.rb-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 280px at 20% 0%, rgba(36, 86, 200, 0.35), transparent 70%),
    radial-gradient(700px 260px at 80% 10%, rgba(225, 48, 70, 0.28), transparent 65%),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(255,255,255,0.03) 48px);
  pointer-events: none;
}
.rb-hero > .rb-wrap { position: relative; z-index: 1; }

.rb-crumbs {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 14px;
}
.rb-crumbs a { color: rgba(255,255,255,0.75); }
.rb-crumbs a:hover { color: #fff; }

.rb-hero__title {
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px !important;
  letter-spacing: -0.02em;
}
.rb-hero__league {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 22px;
}
.rb-hero__league img {
  width: 26px; height: 26px; object-fit: contain;
  background: #fff; border-radius: 6px; padding: 2px;
}

/* Midline glass scoreboard */
.rb-board {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 200px) 1fr;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 18px;
}
.rb-team { text-align: center; min-width: 0; }
.rb-team__crest {
  width: 80px; height: 80px; margin: 0 auto 10px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--rb-glass-border);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
}
.rb-team__crest img { width: 54px; height: 54px; object-fit: contain; }
.rb-team__name {
  font-size: 18px; font-weight: 700; line-height: 1.2;
  overflow-wrap: anywhere;
}
.rb-team__name a:hover { color: #fda4af; }
.rb-team__rank { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }

.rb-form { display: inline-flex; gap: 4px; margin-top: 8px; }
.rb-pill {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 6px; font-size: 11px; font-weight: 700; color: #fff;
  background: var(--rb-draw);
}
.rb-pill--w { background: var(--rb-win); }
.rb-pill--l { background: var(--rb-loss); }
.rb-pill--d { background: #f59e0b; }
.rb-form--sm .rb-pill { width: 18px; height: 18px; min-width: 18px; font-size: 10px; padding: 0; }

.rb-glass {
  text-align: center;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--rb-glass-border);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.rb-status {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55); margin-bottom: 4px;
}
.rb-live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(225,48,70,0.25); color: #fecaca;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
}
.rb-live__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ef4444;
  animation: rb-pulse 1.2s infinite;
}
@keyframes rb-pulse { 50% { opacity: 0.25; } }
.rb-score { font-size: 42px; font-weight: 800; letter-spacing: 2px; line-height: 1.1; }
.rb-score span { color: rgba(255,255,255,0.4); margin: 0 4px; }
.rb-ht { font-size: 12px; color: rgba(255,255,255,0.55); }
.rb-time { font-size: 34px; font-weight: 800; line-height: 1.1; }
.rb-date { font-size: 13px; color: rgba(255,255,255,0.7); }
.rb-countdown {
  display: inline-block; margin-top: 8px; padding: 4px 12px;
  border-radius: 999px; background: rgba(255,255,255,0.12);
  font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 600;
}

.rb-events { max-width: 560px; margin: 10px auto 0; display: grid; gap: 4px; font-size: 13px; }
.rb-event { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.9); }
.rb-event--away { flex-direction: row-reverse; text-align: right; }
.rb-event__min { color: rgba(255,255,255,0.5); min-width: 34px; font-variant-numeric: tabular-nums; }
.rb-event__icon { width: 10px; height: 13px; border-radius: 2px; flex: none; }
.rb-event__icon--goal {
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  box-shadow: inset 0 0 0 3px var(--rb-navy), 0 0 0 1px #fff;
}
.rb-event__icon--yellow { background: #facc15; }
.rb-event__icon--red { background: #ef4444; }

.rb-facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.75);
}
.rb-facts svg {
  width: 14px; height: 14px; fill: var(--rb-red);
  margin-right: 4px; vertical-align: -2px;
}

/* ---- Sticky glass rail ---- */
.rb-rail {
  position: sticky; top: 64px; z-index: 30;
  background: rgba(238, 241, 247, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rb-line);
}
.rb-rail__inner {
  display: flex; gap: 6px; overflow-x: auto;
  padding: 10px 0; scrollbar-width: none;
}
.rb-rail__inner::-webkit-scrollbar { display: none; }
.rb-rail__link {
  flex: none; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--rb-muted);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--rb-line);
  transition: background .15s, color .15s;
}
.rb-rail__link:hover { color: #fff; background: var(--rb-navy); border-color: var(--rb-navy); }
.rb-page section[id] { scroll-margin-top: 130px; }

/* ---- Layout ---- */
.rb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.rb-main, .rb-aside { display: grid; gap: 0; align-content: start; min-width: 0; }
.rb-dock { display: grid; gap: 14px; }
@media (min-width: 1024px) {
  .rb-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
  .rb-dock { position: sticky; top: 130px; }
}
@media (max-width: 1023px) {
  .rb-aside { order: -1; }
}

/* ---- Timeline strips ---- */
.rb-strip {
  position: relative;
  padding: 22px 0 22px 20px;
  border-bottom: 1px solid var(--rb-line);
  background: transparent;
}
.rb-strip::before {
  content: "";
  position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--rb-navy), var(--rb-red));
}
.rb-strip:last-child { border-bottom: 0; }
.rb-strip__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 14px;
}
.rb-strip__head--sub { margin-bottom: 8px; }
.rb-strip__title {
  font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--rb-navy);
}
.rb-sub {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--rb-muted); margin-bottom: 10px !important;
}
.rb-chip {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(14,32,71,0.06); color: var(--rb-muted);
}
.rb-note { font-size: 12px; color: var(--rb-muted); }
.rb-strong { font-weight: 700; color: var(--rb-ink); margin-bottom: 6px; }
.rb-mt, .rb-page .rb-mt { margin-top: 22px; }
.rb-center { align-items: center; }
.rb-grid2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .rb-grid2 { grid-template-columns: 1fr 1fr; } }

.rb-legend {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--rb-muted); margin-top: 10px;
}
.rb-sw {
  display: inline-block; width: 10px; height: 10px; border-radius: 3px;
  margin-right: 6px; vertical-align: -1px;
}
.rb-sw--h { background: var(--rb-home); }
.rb-sw--a { background: var(--rb-away); }
.rb-sw--d { background: var(--rb-draw); }
.rb-sw--easy { background: #22c55e; }
.rb-sw--mid { background: #f59e0b; }
.rb-sw--hard { background: #ef4444; }

.rb-toggle {
  display: inline-flex; background: rgba(14,32,71,0.06);
  border-radius: 999px; padding: 3px;
}
.rb-toggle button {
  border: 0; background: transparent; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--rb-muted); cursor: pointer;
  max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rb-toggle button.is-on {
  background: #fff; color: var(--rb-navy);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.rb-more {
  display: block; width: 100%; margin-top: 10px;
  border: 1px dashed var(--rb-line); background: transparent;
  border-radius: 12px; padding: 8px; font-size: 13px; font-weight: 600;
  color: var(--rb-red); cursor: pointer;
}
.rb-more--inline { display: inline-block; width: auto; margin: 0; padding: 4px 12px; }

/* ---- Glass dock (sidebar) ---- */
.rb-panel {
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 28px -12px rgba(14,32,71,0.2);
  backdrop-filter: blur(12px);
  padding: 16px;
}
.rb-panel__title {
  font-size: 15px; font-weight: 800; color: var(--rb-navy); margin-bottom: 12px;
}

.rb-verdict {
  background: linear-gradient(145deg, rgba(14,32,71,0.92), rgba(27,58,122,0.88));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 40px rgba(14,32,71,0.35);
}
.rb-verdict__label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  opacity: 0.75; margin-bottom: 10px;
}
.rb-verdict__body { display: flex; align-items: center; gap: 14px; }
.rb-ring { position: relative; width: 100px; height: 100px; flex: none; }
.rb-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.rb-ring circle { fill: none; stroke-width: 10; }
.rb-ring__bg { stroke: rgba(255,255,255,0.18); }
.rb-ring__fg { stroke: var(--rb-red); stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.rb-ring__text {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.rb-ring__text strong { font-size: 22px; line-height: 1; }
.rb-ring__text span {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8;
}
.rb-verdict__market { font-size: 13px; opacity: 0.85; }
.rb-verdict__tip { font-size: 26px; font-weight: 800; line-height: 1.1; }
.rb-verdict__odd { font-size: 14px; font-weight: 600; opacity: 0.9; }
.rb-verdict__advice {
  margin: 12px 0 0 !important; padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,0.1); font-size: 13px;
}
.rb-result {
  display: inline-block; margin-top: 6px; padding: 2px 10px;
  border-radius: 999px; font-size: 12px; font-weight: 700;
}
.rb-result--won { background: #dcfce7; color: #166534; }
.rb-result--lost { background: #fee2e2; color: #991b1b; }
.rb-ico { width: 12px; height: 12px; fill: currentColor; vertical-align: -1px; }
.rb-verdict__tip .rb-ico { width: 20px; height: 20px; }

.rb-tips { display: grid; gap: 8px; }
.rb-tip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: var(--rb-soft);
}
.rb-tip--vip { background: linear-gradient(90deg, #fff7ed, #fef3c7); }
.rb-tip__market { font-size: 13px; color: var(--rb-muted); font-weight: 600; }
.rb-tip__value { font-weight: 800; display: flex; align-items: center; gap: 6px; }
.rb-tip__value small {
  font-weight: 600; font-size: 12px; color: var(--rb-muted);
  background: #fff; border-radius: 6px; padding: 1px 6px;
}
.rb-tip__lock {
  font-size: 12px; font-weight: 700; color: #b45309; text-decoration: none;
  background: #fff; border-radius: 999px; padding: 3px 10px;
}
.rb-badge {
  font-size: 10px; font-weight: 800; background: #f59e0b; color: #fff;
  border-radius: 4px; padding: 1px 5px; margin-left: 4px;
}
.rb-won { color: var(--rb-win); }
.rb-lost { color: var(--rb-loss); }

.rb-odds3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rb-odds3__cell {
  text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--rb-soft);
}
.rb-odds3__key { display: block; font-size: 11px; font-weight: 700; color: var(--rb-muted); }
.rb-odds3__cell strong { display: block; font-size: 18px; }
.rb-odds3__cell small { font-size: 11px; color: var(--rb-muted); }

.rb-related { display: grid; gap: 6px; }
.rb-related__item {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center;
  padding: 8px 10px; border-radius: 12px; border: 1px solid var(--rb-line);
  transition: border-color .15s;
}
.rb-related__item:hover { border-color: var(--rb-red); }
.rb-related__time { font-size: 12px; font-weight: 700; color: var(--rb-muted); }
.rb-related__teams { display: grid; font-size: 13px; min-width: 0; }
.rb-related__teams span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-related__teams img {
  display: inline-block; width: 14px; height: 14px; object-fit: contain;
  margin-right: 6px; vertical-align: -2px;
}
.rb-related__tip {
  font-size: 12px; font-weight: 800; color: var(--rb-red);
  background: #fdecee; padding: 3px 8px; border-radius: 8px;
}

.rb-cta {
  background: linear-gradient(135deg, var(--rb-red), #b81d33);
  color: #fff; border: 0;
}
.rb-cta .rb-panel__title { color: #fff; margin-bottom: 6px; }
.rb-cta .rb-note { color: rgba(255,255,255,0.85); font-size: 13px; }
.rb-cta__btn {
  display: inline-block; margin-top: 4px; padding: 8px 16px; border-radius: 999px;
  background: #fff; color: #b81d33; font-weight: 800; font-size: 13px;
}
.rb-cta__btn:hover { background: var(--rb-navy); color: #fff; }

/* Probability stacks */
.rb-probrow {
  display: grid; grid-template-columns: 120px 1fr; gap: 10px;
  align-items: center; margin-bottom: 10px;
}
.rb-probrow__name { font-size: 13px; font-weight: 700; color: var(--rb-muted); }
.rb-stack {
  display: flex; height: 30px; border-radius: 10px; overflow: hidden;
  font-size: 12px; font-weight: 700; color: #fff;
}
.rb-stack span {
  display: grid; place-items: center; white-space: nowrap; overflow: hidden;
  transition: width .6s ease;
}
.rb-stack__h { background: var(--rb-home); }
.rb-stack__d { background: var(--rb-draw); }
.rb-stack__a { background: var(--rb-away); }
@media (max-width: 520px) { .rb-probrow { grid-template-columns: 1fr; gap: 4px; } }
.rb-value {
  margin-top: 12px; padding: 10px 12px; border-radius: 12px;
  background: #ecfdf5; color: #065f46; font-size: 13px;
}

.rb-scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rb-score-tile {
  text-align: center; padding: 10px 4px; border-radius: 12px; background: var(--rb-soft);
}
.rb-score-tile strong { display: block; font-size: 20px; font-weight: 800; }
.rb-score-tile span { font-size: 12px; color: var(--rb-muted); }
.rb-score-tile.is-top { background: var(--rb-navy); color: #fff; }
.rb-score-tile.is-top span { color: #cbd5e1; }
.rb-meter { margin-bottom: 12px; }
.rb-meter__top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.rb-meter__bar { height: 8px; border-radius: 99px; background: var(--rb-soft); overflow: hidden; }
.rb-meter__bar span {
  display: block; height: 100%; border-radius: 99px; background: #f59e0b;
  transition: width .7s ease;
}
.rb-meter__bar span.is-high { background: var(--rb-win); }
.rb-meter__bar span.is-low { background: var(--rb-draw); }

.rb-radar { width: 100%; max-width: 320px; display: block; margin: 0 auto; overflow: visible; }
.rb-radar__ring { fill: none; stroke: var(--rb-line); }
.rb-radar__home { fill: color-mix(in srgb, var(--rb-home) 25%, transparent); stroke: var(--rb-home); stroke-width: 2; }
.rb-radar__away { fill: color-mix(in srgb, var(--rb-away) 25%, transparent); stroke: var(--rb-away); stroke-width: 2; }
.rb-radar__label { font-size: 9px; fill: var(--rb-muted); font-weight: 700; }
.rb-duel {
  display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px;
  align-items: end; margin-bottom: 8px; font-size: 13px;
}
.rb-duel__v { font-weight: 800; text-align: center; }
.rb-duel__label { text-align: center; font-size: 12px; color: var(--rb-muted); margin-bottom: 3px; }
.rb-duel__track { display: flex; gap: 3px; height: 8px; justify-content: center; }
.rb-duel__h, .rb-duel__a { display: block; border-radius: 99px; }
.rb-duel__h { background: var(--rb-home); margin-left: auto; }
.rb-duel__a { background: var(--rb-away); }

/* H2H */
.rb-h2h { display: grid; gap: 16px; align-items: center; }
@media (min-width: 640px) { .rb-h2h { grid-template-columns: 130px 1fr 1fr; } }
.rb-donut { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.rb-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.rb-donut circle { fill: none; stroke-width: 14; }
.rb-donut__h { stroke: var(--rb-home); }
.rb-donut__d { stroke: var(--rb-draw); }
.rb-donut__a { stroke: var(--rb-away); }
.rb-donut__text {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.rb-donut__text strong { font-size: 24px; line-height: 1; }
.rb-donut__text span { font-size: 11px; color: var(--rb-muted); }
.rb-h2h__split, .rb-h2h__kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center;
}
.rb-h2h__split div, .rb-h2h__kpis div {
  padding: 10px 4px; border-radius: 12px; background: rgba(14,32,71,0.04);
}
.rb-h2h__split strong, .rb-h2h__kpis strong { display: block; font-size: 22px; font-weight: 800; }
.rb-h2h__split span, .rb-h2h__kpis span {
  font-size: 11px; color: var(--rb-muted); line-height: 1.2; display: block;
}
.rb-c-h { color: var(--rb-home); }
.rb-c-d { color: var(--rb-draw); }
.rb-c-a { color: var(--rb-away); }

/* Match rows */
.rb-list { display: grid; gap: 4px; }
.rb-match {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr) 54px minmax(0,1fr) auto;
  gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; font-size: 13px;
}
.rb-match:nth-child(odd) { background: rgba(14,32,71,0.04); }
.rb-match__date { font-size: 12px; color: var(--rb-muted); line-height: 1.2; }
.rb-match__date small {
  display: block; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rb-match__team {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rb-match__team.is-right { justify-content: flex-end; text-align: right; }
.rb-match__team img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.rb-match__team.is-win, .rb-match__team.is-me { font-weight: 700; }
.rb-match__score {
  text-align: center; font-weight: 800; background: #fff; border-radius: 8px;
  padding: 2px 0; border: 1px solid var(--rb-line);
}
@media (max-width: 560px) {
  .rb-match { grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr) auto; }
  .rb-match__date { grid-column: 1 / -1; }
}
.rb-formsum {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px; margin-bottom: 12px;
}
.rb-formsum__wdl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rb-spark { display: flex; align-items: flex-end; gap: 4px; height: 46px; }
.rb-spark__col { display: flex; align-items: flex-end; gap: 1px; height: 100%; }
.rb-spark__for, .rb-spark__against {
  width: 6px; min-height: 2px; border-radius: 3px 3px 0 0;
}
.rb-spark__for { background: var(--rb-win); }
.rb-spark__against { background: var(--rb-loss); opacity: 0.7; }

/* Timeline goals */
.rb-timeline { display: grid; gap: 6px; }
.rb-timeline__row {
  display: grid; grid-template-columns: 1fr 64px 1fr;
  align-items: center; gap: 8px; font-size: 12px;
}
.rb-timeline__period {
  text-align: center; font-weight: 700; color: var(--rb-muted);
  background: var(--rb-soft); border-radius: 8px; padding: 3px 0;
}
.rb-timeline__side { display: flex; align-items: center; gap: 6px; }
.rb-timeline__side.is-home { justify-content: flex-end; }
.rb-timeline__side i { display: block; height: 14px; min-width: 2px; border-radius: 4px; }
.rb-timeline__side.is-home i { background: var(--rb-home); }
.rb-timeline__side.is-away i { background: var(--rb-away); }
.rb-timeline__side span { font-weight: 800; min-width: 16px; text-align: center; }

/* Versus table */
.rb-vs-table {
  border: 1px solid var(--rb-line); border-radius: 14px; overflow: hidden; font-size: 13px;
}
.rb-vs-table__head, .rb-vs-table__row {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center; text-align: center; padding: 8px 10px;
}
.rb-vs-table__head { background: var(--rb-navy); color: #fff; font-weight: 700; }
.rb-vs-table__head span {
  display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rb-vs-table__head img {
  width: 18px; height: 18px; object-fit: contain; background: #fff;
  border-radius: 4px; vertical-align: -4px; margin: 0 6px;
}
@media (max-width: 640px) {
  .rb-vs-table__head img { display: none; }
  .rb-vs-table__head { font-size: 12px; }
}
.rb-vs-table__row:nth-child(even) { background: rgba(14,32,71,0.03); }
.rb-vs-table__label { font-size: 12px; color: var(--rb-muted); }
.rb-vs-table__row .is-better { font-weight: 800; color: var(--rb-win); }

.rb-next { display: grid; gap: 6px; }
.rb-next__item {
  display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; align-items: center;
  padding: 7px 10px; border-radius: 10px; font-size: 13px;
  border-left: 4px solid #f59e0b; background: var(--rb-soft);
}
.rb-next__item--easy { border-left-color: #22c55e; }
.rb-next__item--hard { border-left-color: #ef4444; }
.rb-next__item img { width: 18px; height: 18px; object-fit: contain; }
.rb-next__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-next__name small, .rb-next__date { color: var(--rb-muted); font-size: 11px; }
.rb-injury {
  font-size: 13px; padding: 5px 0; border-bottom: 1px dashed var(--rb-line);
}
.rb-injury__tag {
  display: inline-grid; place-items: center; width: 16px; height: 16px;
  border-radius: 4px; background: var(--rb-loss); color: #fff;
  font-size: 11px; font-weight: 800; margin-right: 4px;
}
.rb-injury__tag.is-doubt { background: #f59e0b; }
.rb-injury small { color: var(--rb-muted); }

/* Markets */
.rb-tabs {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px;
  margin-bottom: 12px; scrollbar-width: thin;
}
.rb-tabs button {
  flex: none; border: 1px solid var(--rb-line); background: #fff;
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700;
  color: var(--rb-muted); cursor: pointer;
}
.rb-tabs button.is-on {
  background: var(--rb-red); color: #fff; border-color: var(--rb-red);
}
.rb-oddgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px;
}
.rb-odd {
  position: relative; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--rb-line); background: #fff; display: grid; gap: 2px;
}
.rb-odd.is-ours {
  border-color: var(--rb-red);
  box-shadow: 0 0 0 2px rgba(225, 48, 70, 0.18);
}
.rb-odd__label {
  font-size: 12px; color: var(--rb-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rb-odd__price { font-size: 20px; font-weight: 800; }
.rb-odd__bar { height: 4px; border-radius: 99px; background: var(--rb-soft); overflow: hidden; }
.rb-odd__bar i { display: block; height: 100%; background: var(--rb-navy); }
.rb-odd__pct { font-size: 11px; color: var(--rb-muted); }
.rb-odd__flag {
  position: absolute; top: -8px; right: 8px; font-size: 10px; font-weight: 800;
  color: #fff; background: var(--rb-red); border-radius: 6px; padding: 1px 6px;
}

/* League table */
.rb-scroll { overflow-x: auto; }
.rb-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rb-table th {
  font-size: 11px; text-transform: uppercase; color: var(--rb-muted);
  font-weight: 700; padding: 6px; text-align: center; border-bottom: 1px solid var(--rb-line);
}
.rb-table td {
  padding: 7px 6px; text-align: center; border-bottom: 1px solid #f1f5f9; white-space: nowrap;
}
.rb-table .is-left { text-align: left; }
.rb-table td img {
  display: inline-block; width: 18px; height: 18px; object-fit: contain;
  vertical-align: -4px; margin-right: 6px;
}
.rb-table tr.is-hl td {
  background: color-mix(in srgb, var(--rb-navy) 8%, #fff); font-weight: 700;
}
.rb-rank {
  display: inline-grid; place-items: center; width: 24px; height: 24px;
  border-radius: 7px; background: var(--rb-soft); font-weight: 700;
}
.rb-rank.is-up { background: #dcfce7; color: #166534; }
.rb-rank.is-down { background: #fee2e2; color: #991b1b; }
@media (max-width: 640px) { .rb-hide-sm { display: none; } }

.rb-scorers { display: grid; gap: 4px; }
.rb-scorer {
  display: grid; grid-template-columns: 24px 36px 1fr auto auto auto;
  gap: 10px; align-items: center; padding: 6px 8px; border-radius: 10px; font-size: 13px;
}
.rb-scorer.is-hl { background: color-mix(in srgb, var(--rb-navy) 8%, #fff); }
.rb-scorer__pos { font-weight: 800; color: var(--rb-muted); text-align: center; }
.rb-scorer__photo {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--rb-soft);
}
.rb-scorer__name { font-weight: 700; min-width: 0; }
.rb-scorer__name small {
  display: flex; align-items: center; gap: 4px; font-weight: 400;
  color: var(--rb-muted); font-size: 11px;
}
.rb-scorer__name small img { width: 12px; height: 12px; object-fit: contain; }
.rb-scorer__stat { text-align: center; min-width: 44px; }
.rb-scorer__stat strong { display: block; font-size: 16px; line-height: 1; }
.rb-scorer__stat small { font-size: 10px; color: var(--rb-muted); }
@media (max-width: 640px) {
  .rb-scorer { grid-template-columns: 24px 36px 1fr auto; }
}

/* Story + FAQ */
.rb-story p { color: #334155; line-height: 1.7; }
.rb-story .rb-strip__title { margin-bottom: 12px; font-size: 19px; }
.rb-faq { display: grid; gap: 8px; }
.rb-faq__item {
  border: 1px solid var(--rb-line); border-radius: 12px; padding: 0 14px;
  background: rgba(255,255,255,0.6);
}
.rb-faq__item summary {
  cursor: pointer; padding: 12px 0; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: 10px;
}
.rb-faq__item summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--rb-red); }
.rb-faq__item[open] summary::after { content: "−"; }
.rb-faq__item p { color: #475569; padding-bottom: 12px; }

@media (max-width: 640px) {
  .rb-board { gap: 6px; }
  .rb-team__crest { width: 58px; height: 58px; border-radius: 16px; }
  .rb-team__crest img { width: 38px; height: 38px; }
  .rb-team__name { font-size: 14px; }
  .rb-score { font-size: 32px; }
  .rb-time { font-size: 26px; }
  .rb-glass { min-width: 0; padding: 10px 8px; }
  .rb-pill { min-width: 18px; height: 18px; font-size: 10px; padding: 0 4px; }
  .rb-strip { padding: 18px 0 18px 16px; }
}

.rb-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(14, 32, 71, 0.1);
}
.rb-author__avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(145deg, #e13046, #cb2b3f);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.rb-author__photo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(14, 32, 71, 0.08);
}
.rb-author__link {
  color: inherit;
  text-decoration: none;
}
.rb-author__link:hover {
  color: #cb2b3f;
  text-decoration: underline;
}
.rb-author__meta { min-width: 0; }
.rb-author__label {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8899a8;
}
.rb-author__name {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #0e2047;
}
.rb-author__role {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #5a6b80;
}
