/* ==========================================================================
   BRYME SPORTS DESK — v2.0 (complete rebuild, 2026)
   --------------------------------------------------------------------------
   Design principles (benchmarked against BBC Sport, ESPN, FotMob, OneFootball):
     1. Scores first. The results strip is the top-most element.
     2. Data is the design. Tables, fixtures and form get broadcast-grade
        typography: tabular numerals, hairline rules, zone colour bars.
     3. Editorial is image-led with clear kickers and bylines.
     4. Restrained colour. One signal green for live data, one brand accent
        for editorial. No glassmorphism, no cinematic photo backgrounds.
     5. Motion only where it informs (live pulse, hover affordance).
   Namespaced `bsd-` for page chrome; engine output (`sp-*`) restyled below.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
.bsd, .bsd * { box-sizing: border-box; }

.bsd {
  --bsd-bg: #0a0c0f;
  --bsd-panel: #10141b;
  --bsd-panel-2: #151b24;
  --bsd-panel-3: #1a212c;
  --bsd-line: #222a36;
  --bsd-line-2: #2e3947;
  --bsd-text: #eef1f5;
  --bsd-muted: #8d95a3;
  --bsd-faint: #626b78;
  --bsd-live: #3ddc84;          /* live / positive signal  */
  --bsd-live-dim: #2a9e60;
  --bsd-accent: #e94b2c;        /* brand editorial accent  */
  --bsd-gold: #e7bb5c;
  --bsd-loss: #d84343;
  --bsd-radius: 10px;
  --bsd-radius-sm: 7px;
  --bsd-shell: min(1280px, 100% - 40px);
  --bsd-font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --bsd-kick-h: 11px;
  --bsd-track: 0.14em;

  font-family: var(--bsd-font);
  color: var(--bsd-text);
  background: var(--bsd-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.bsd-shell { width: var(--bsd-shell); margin-inline: auto; }
.bsd :where(a) { color: inherit; text-decoration: none; }
.bsd :where(img) { display: block; max-width: 100%; }
.bsd :where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.bsd :focus-visible { outline: 2px solid var(--bsd-live); outline-offset: 2px; border-radius: 4px; }
.bsd [hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   2. Shared section header
   -------------------------------------------------------------------------- */
.bsd-sec { padding: 34px 0 6px; }
.bsd-sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--bsd-line);
}
.bsd-kick {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--bsd-kick-h); font-weight: 700; letter-spacing: var(--bsd-track);
  text-transform: uppercase; color: var(--bsd-accent); margin-bottom: 6px;
}
.bsd-kick::before { content: ""; width: 18px; height: 2px; background: var(--bsd-accent); }
.bsd-kick.is-green { color: var(--bsd-live); }
.bsd-kick.is-green::before { background: var(--bsd-live); }
.bsd-sec-title { font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; letter-spacing: -0.015em; margin: 0; }
.bsd-sec-sub { margin: 4px 0 0; color: var(--bsd-muted); font-size: 14px; max-width: 62ch; }
.bsd-sec-more {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--bsd-muted);
  padding: 6px 2px; border-bottom: 1px solid transparent;
}
.bsd-sec-more svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.bsd-sec-more:hover { color: var(--bsd-text); border-bottom-color: var(--bsd-line-2); }
.bsd-sec-more:hover svg { transform: translateX(2px); }

/* --------------------------------------------------------------------------
   3. Scores bar  (top-most element — the desk is live)
   -------------------------------------------------------------------------- */
.bsd-scoresbar {
  background: #0c0f14;
  border-bottom: 1px solid var(--bsd-line);
  position: relative;
}
.bsd-scoresbar-in {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  min-height: 46px;
}
.bsd-scoresbar-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--bsd-kick-h); font-weight: 700; letter-spacing: var(--bsd-track);
  text-transform: uppercase; color: var(--bsd-live); white-space: nowrap;
}
.bsd-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--bsd-live);
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.5);
  animation: bsd-pulse 2.4s ease-out infinite;
}
@keyframes bsd-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
.bsd-scoresbar .sp-ticker { overflow: hidden; min-width: 0; }
.bsd-scoresbar-cta {
  font-size: 13px; font-weight: 600; color: var(--bsd-muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.bsd-scoresbar-cta:hover { color: var(--bsd-text); }
@media (max-width: 720px) {
  .bsd-scoresbar-in { grid-template-columns: auto 1fr; }
  .bsd-scoresbar-cta { display: none; }
}

/* --------------------------------------------------------------------------
   4. Masthead
   -------------------------------------------------------------------------- */
.bsd-masthead { padding: 34px 0 22px; border-bottom: 1px solid var(--bsd-line); }
.bsd-masthead-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.bsd-masthead-eyebrow {
  font-size: var(--bsd-kick-h); font-weight: 700; letter-spacing: var(--bsd-track);
  text-transform: uppercase; color: var(--bsd-muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.bsd-masthead-eyebrow::after { content: ""; height: 1px; width: 44px; background: var(--bsd-line-2); }
.bsd-masthead h1 {
  margin: 0 0 8px; font-size: clamp(30px, 5vw, 46px); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.04;
}
.bsd-masthead h1 em { font-style: normal; color: var(--bsd-live); }
.bsd-masthead-dek { margin: 0; max-width: 68ch; color: var(--bsd-muted); font-size: 15.5px; }
.bsd-masthead-stats { display: flex; gap: 0; border-left: 1px solid var(--bsd-line); }
.bsd-stat { padding: 2px 22px; border-right: 1px solid var(--bsd-line); min-width: 86px; }
.bsd-stat b {
    display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums; color: var(--bsd-text);
}
.bsd-stat span {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bsd-faint);
}
@media (max-width: 860px) {
  .bsd-masthead-grid { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .bsd-masthead-stats { border-left: 0; flex-wrap: wrap; }
  .bsd-stat:first-child { padding-left: 0; }
}

/* --------------------------------------------------------------------------
   5. League rail (primary navigation)
   -------------------------------------------------------------------------- */
.bsd-leaguenav {
  border-bottom: 1px solid var(--bsd-line);
  background: var(--bsd-bg);
  overflow-x: auto; scrollbar-width: none;
}
.bsd-leaguenav::-webkit-scrollbar { display: none; }
.bsd-leaguenav-in { display: flex; align-items: stretch; width: max-content; min-width: 100%; }
.bsd-leaguenav .bsd-ln {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 16px; font-size: 13.5px; font-weight: 600; color: var(--bsd-muted);
  white-space: nowrap; border-bottom: 2px solid transparent;
}
.bsd-leaguenav .bsd-ln:hover { color: var(--bsd-text); }
.bsd-leaguenav .bsd-ln.is-active { color: var(--bsd-text); border-bottom-color: var(--bsd-live); }
.bsd-leaguenav .bsd-ln-note {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 5px; border-radius: 4px; background: var(--bsd-panel-3); color: var(--bsd-muted);
}
.bsd-leaguenav .bsd-ln-note.is-live { background: rgba(61, 220, 132, 0.12); color: var(--bsd-live); }
.bsd-leaguenav .bsd-ln-sep { align-self: center; width: 1px; height: 16px; background: var(--bsd-line); }

/* --------------------------------------------------------------------------
   6. Editorial hero  (lead + secondary + headline list)
   -------------------------------------------------------------------------- */
.bsd-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; padding-top: 30px; }
.bsd-hero-side { display: grid; gap: 14px; align-content: start; }

.bsd-card { display: block; position: relative; }
.bsd-card-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--bsd-radius); background: var(--bsd-panel-2); border: 1px solid var(--bsd-line);
}
.bsd-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.bsd-card:hover .bsd-card-media img { transform: scale(1.025); }
.bsd-card-kick {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 5px;
  background: rgba(10, 12, 15, 0.88); backdrop-filter: blur(4px);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bsd-text);
}
.bsd-card-kick i { width: 6px; height: 6px; border-radius: 50%; background: var(--bsd-accent); font-style: normal; }
.bsd-card-kick.is-green i { background: var(--bsd-live); }

.bsd-card-lead .bsd-card-media { aspect-ratio: 16 / 8.4; }
.bsd-card-lead h2, .bsd-card-lead h3 { transition: color 0.15s ease; }
.bsd-card-lead:hover h2, .bsd-card-lead:hover h3 { color: var(--bsd-live); }
.bsd-card-lead h2 {
  margin: 14px 0 8px; font-size: clamp(21px, 2.8vw, 30px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.16;
}
.bsd-card-lead .bsd-card-dek { margin: 0; color: var(--bsd-muted); font-size: 15px; max-width: 64ch; }
.bsd-card-meta {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 12px; color: var(--bsd-faint); font-weight: 500;
}
.bsd-card-meta b { color: var(--bsd-muted); font-weight: 700; }
.bsd-card-meta i { font-style: normal; width: 3px; height: 3px; border-radius: 50%; background: var(--bsd-faint); }

.bsd-card-sb { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--bsd-line); border-radius: var(--bsd-radius); background: var(--bsd-panel); }
.bsd-card-sb:hover { border-color: var(--bsd-line-2); background: var(--bsd-panel-2); }
.bsd-card-sb .bsd-card-media { aspect-ratio: 1 / 1; border-radius: var(--bsd-radius-sm); }
.bsd-card-sb .bsd-card-kick { display: none; }
.bsd-card-sb-kick {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bsd-accent); margin-bottom: 5px;
}
.bsd-card-sb h3 { margin: 0 0 5px; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.bsd-card-sb:hover h3 { color: var(--bsd-live); }
.bsd-card-sb .bsd-card-meta { margin-top: 2px; }

/* headline list — BBC-style wire */
.bsd-wire { margin-top: 26px; border-top: 1px solid var(--bsd-line); }
.bsd-wire-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 10px;
}
.bsd-wire-head h2 {
  margin: 0; font-size: var(--bsd-kick-h); font-weight: 700; letter-spacing: var(--bsd-track);
  text-transform: uppercase; color: var(--bsd-muted); display: flex; gap: 8px; align-items: center;
}
.bsd-wire-head h2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bsd-live); }
.bsd-wire-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 26px; margin: 0; padding: 0; list-style: none; }
.bsd-wire-item { border-top: 1px solid var(--bsd-line); }
.bsd-wire-item a { display: flex; gap: 14px; align-items: baseline; padding: 13px 2px; }
.bsd-wire-item a:hover .bsd-wire-title { color: var(--bsd-live); }
.bsd-wire-cat {
  flex: none; width: 108px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--bsd-faint);
}
.bsd-wire-title { font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; transition: color 0.15s ease; }
@media (max-width: 980px) {
  .bsd-hero { grid-template-columns: 1fr; }
  .bsd-wire-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bsd-wire-list { grid-template-columns: 1fr; }
  .bsd-wire-cat { width: 84px; font-size: 10px; }
  .bsd-card-sb { grid-template-columns: 96px 1fr; }
}

/* --------------------------------------------------------------------------
   7. Panels (generic surface)
   -------------------------------------------------------------------------- */
.bsd-panel {
  background: var(--bsd-panel); border: 1px solid var(--bsd-line);
  border-radius: var(--bsd-radius); overflow: hidden;
}
.bsd-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--bsd-line);
}
.bsd-panel-head h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; display: flex; align-items: center; gap: 9px; }
.bsd-panel-head h3 .bsd-live-dot { width: 6px; height: 6px; }
.bsd-panel-link { font-size: 12.5px; font-weight: 600; color: var(--bsd-muted); }
.bsd-panel-link:hover { color: var(--bsd-text); }

/* --------------------------------------------------------------------------
   8. Standings — tabbed league tables + aside
   -------------------------------------------------------------------------- */
.bsd-dual { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }

.bsd-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--bsd-line); padding: 0 8px; background: var(--bsd-panel); }
.bsd-tabs::-webkit-scrollbar { display: none; }
.bsd-tab {
  position: relative; padding: 13px 13px 11px; font-size: 13px; font-weight: 600;
  color: var(--bsd-muted); white-space: nowrap; border-bottom: 2px solid transparent;
}
.bsd-tab:hover { color: var(--bsd-text); }
.bsd-tab[aria-selected="true"] { color: var(--bsd-text); border-bottom-color: var(--bsd-live); }
.bsd-tabpanel { padding: 6px 12px 12px; }
.bsd-tabpanel-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 6px 4px; border-top: 1px solid var(--bsd-line); margin-top: 4px;
}
.bsd-tabpanel-foot .bsd-result-meta { padding: 0; }

.bsd-aside { display: grid; gap: 20px; }

@media (max-width: 980px) { .bsd-dual { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   9. Desk cards (transfers / FPL)
   -------------------------------------------------------------------------- */
.bsd-desks { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .bsd-desks { grid-template-columns: 1fr; } }

.bsd-desk { padding: 20px; display: grid; gap: 16px; }
.bsd-desk-feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; align-items: center; }
.bsd-desk-feature .bsd-card-media { aspect-ratio: 16 / 10; }
.bsd-desk-feature-kick {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bsd-accent); margin-bottom: 6px;
}
.bsd-desk-feature h3 { margin: 0 0 7px; font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.22; }
.bsd-desk-feature:hover h3 { color: var(--bsd-live); }
.bsd-desk-feature p { margin: 0; font-size: 13.5px; color: var(--bsd-muted); }
.bsd-desk-links { display: flex; flex-wrap: wrap; gap: 8px; }
.bsd-chiplink {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border: 1px solid var(--bsd-line); border-radius: 999px;
  background: var(--bsd-panel-2); font-size: 12.5px; font-weight: 600; color: var(--bsd-muted);
}
.bsd-chiplink:hover { color: var(--bsd-text); border-color: var(--bsd-line-2); background: var(--bsd-panel-3); }
.bsd-chiplink i {
  font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bsd-live);
}
@media (max-width: 640px) { .bsd-desk-feature { grid-template-columns: 1fr; } }

.bsd-fpl-card { display: grid; gap: 12px; align-content: start; padding: 20px; }
.bsd-fpl-card h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.bsd-fpl-card p { margin: 0; font-size: 13.5px; color: var(--bsd-muted); }
.bsd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--bsd-radius-sm);
  font-size: 13px; font-weight: 700; transition: background 0.15s ease, color 0.15s ease;
}
.bsd-btn svg { width: 14px; height: 14px; }
.bsd-btn-primary { background: var(--bsd-live); color: #06220f; }
.bsd-btn-primary:hover { background: #55e695; }
.bsd-btn-ghost { border: 1px solid var(--bsd-line-2); color: var(--bsd-muted); }
.bsd-btn-ghost:hover { color: var(--bsd-text); border-color: var(--bsd-faint); }

/* --------------------------------------------------------------------------
   10. Comics / originals
   -------------------------------------------------------------------------- */
.bsd-comics { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 14px; }
.bsd-comic { position: relative; display: block; border-radius: var(--bsd-radius); overflow: hidden; border: 1px solid var(--bsd-line); background: var(--bsd-panel-2); }
.bsd-comic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.35s ease; }
.bsd-comic:hover img { transform: scale(1.03); }
.bsd-comic-feat img { aspect-ratio: 16 / 9.4; height: 100%; }
.bsd-comic-cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 12, 0.92));
}
.bsd-comic-cap em {
  display: block; font-style: normal; font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--bsd-gold); margin-bottom: 4px;
}
.bsd-comic-cap b { font-size: 13.5px; font-weight: 700; line-height: 1.3; display: block; }
@media (max-width: 980px) { .bsd-comics { grid-template-columns: 1fr 1fr; } .bsd-comic-feat { grid-column: span 2; } }
@media (max-width: 620px) { .bsd-comics { grid-template-columns: 1fr; } .bsd-comic-feat { grid-column: span 1; } }

/* --------------------------------------------------------------------------
   11. Guides grid (image cards)
   -------------------------------------------------------------------------- */
.bsd-guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bsd-guide { display: block; border: 1px solid var(--bsd-line); border-radius: var(--bsd-radius); overflow: hidden; background: var(--bsd-panel); }
.bsd-guide:hover { border-color: var(--bsd-line-2); }
.bsd-guide-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.bsd-guide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.bsd-guide:hover .bsd-guide-media img { transform: scale(1.03); }
.bsd-guide-media em {
  position: absolute; left: 10px; top: 10px; font-style: normal;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px; background: rgba(10, 12, 15, 0.88); color: var(--bsd-text);
}
.bsd-guide-body { padding: 12px 13px 14px; }
.bsd-guide-body h3 { margin: 0 0 5px; font-size: 14px; font-weight: 700; line-height: 1.32; letter-spacing: -0.005em; }
.bsd-guide:hover h3 { color: var(--bsd-live); }
.bsd-guide-body span { font-size: 12px; color: var(--bsd-faint); }
@media (max-width: 1080px) { .bsd-guides { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .bsd-guides { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bsd-guides { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   12. Explore directory (indexed tiles)
   -------------------------------------------------------------------------- */
.bsd-explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bsd-tile {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px 18px; border: 1px solid var(--bsd-line); border-radius: var(--bsd-radius);
  background: var(--bsd-panel);
}
.bsd-tile:hover { border-color: var(--bsd-line-2); background: var(--bsd-panel-2); }
.bsd-tile-idx {
  font-size: 12px; font-weight: 700; color: var(--bsd-faint);
  font-variant-numeric: tabular-nums; letter-spacing: 0.06em;
}
.bsd-tile b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 3px; }
.bsd-tile:hover b { color: var(--bsd-live); }
.bsd-tile span { font-size: 12.5px; color: var(--bsd-muted); line-height: 1.4; }
.bsd-tile svg { width: 16px; height: 16px; color: var(--bsd-faint); flex: none; }
.bsd-tile:hover svg { color: var(--bsd-live); transform: translateX(2px); }
.bsd-tile svg { transition: transform 0.15s ease, color 0.15s ease; }
@media (max-width: 900px) { .bsd-explore { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bsd-explore { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. Video + FAQ + cross-links
   -------------------------------------------------------------------------- */
.bsd-video { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.bsd-video-frame { border-radius: var(--bsd-radius); overflow: hidden; border: 1px solid var(--bsd-line); background: #000; aspect-ratio: 16 / 9; }
.bsd-video-frame iframe, .bsd-video-frame .trailer-frame { width: 100%; height: 100%; border: 0; display: block; }
.bsd-video-side h3 { margin: 2px 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.bsd-video-side p { margin: 0 0 10px; font-size: 13.5px; color: var(--bsd-muted); }
.bsd-video-note { font-size: 12px; color: var(--bsd-faint); border-left: 2px solid var(--bsd-line-2); padding-left: 12px; }
@media (max-width: 900px) { .bsd-video { grid-template-columns: 1fr; } }

.bsd-faq { display: grid; gap: 10px; max-width: 820px; }
.bsd-faq details { border: 1px solid var(--bsd-line); border-radius: var(--bsd-radius-sm); background: var(--bsd-panel); overflow: hidden; }
.bsd-faq summary {
  cursor: pointer; list-style: none; padding: 14px 16px;
  font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.bsd-faq summary::-webkit-details-marker { display: none; }
.bsd-faq summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--bsd-faint); transition: transform 0.15s ease; }
.bsd-faq details[open] summary::after { transform: rotate(45deg); }
.bsd-faq details p { margin: 0; padding: 0 16px 15px; font-size: 13.5px; color: var(--bsd-muted); }

.bsd-also { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bsd-also-card {
  display: grid; gap: 4px; padding: 16px;
  border: 1px solid var(--bsd-line); border-radius: var(--bsd-radius); background: var(--bsd-panel);
}
.bsd-also-card:hover { border-color: var(--bsd-line-2); background: var(--bsd-panel-2); }
.bsd-also-card em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.bsd-also-card b { font-size: 14.5px; font-weight: 700; }
.bsd-also-card span { font-size: 12.5px; color: var(--bsd-muted); line-height: 1.4; }
@media (max-width: 900px) { .bsd-also { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .bsd-also { grid-template-columns: 1fr; } }

/* ==========================================================================
   ENGINE OUTPUT — restyled (sports-engine.js markup)
   The data layer is untouched; this is its broadcast skin.
   ========================================================================== */

/* ticker in the scores bar */
.sp-ticker { min-width: 0; }
.tk-track {
  display: flex; gap: 10px; width: max-content; padding: 8px 0;
  animation: bsd-tk 32s linear infinite; will-change: transform;
}
.sp-ticker:hover .tk-track, .sp-ticker:focus-within .tk-track { animation-play-state: paused; }
@keyframes bsd-tk { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 5px 12px; border: 1px solid var(--bsd-line); border-radius: 999px;
  background: var(--bsd-panel); font-size: 12.5px; line-height: 1;
}
.tk em {
  font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bsd-faint);
}
.tk b { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; white-space: nowrap; }
.tk img { width: 16px; height: 16px; object-fit: contain; flex: none; }
.tk i {
  font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--bsd-live); text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .tk-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* board (Today / Latest results / Next up) */
.sp-board-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  margin: 26px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--bsd-line);
}
.sp-board-head .eyebrow {
  font-size: var(--bsd-kick-h); font-weight: 700; letter-spacing: var(--bsd-track);
  text-transform: uppercase; color: var(--bsd-live); margin-bottom: 4px;
  display: flex; align-items: center; gap: 7px;
}
.sp-board-head .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bsd-live); }
.sp-board-head h2 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.015em; }
.sp-board-date { font-size: 12.5px; color: var(--bsd-faint); font-weight: 500; }

/* league group inside board */
.sp-lg { margin: 0 0 16px; }
.sp-lg-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
.sp-lg-head b { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bsd-muted); }
.sp-lg-head a { font-size: 12px; font-weight: 600; color: var(--bsd-faint); }
.sp-lg-head a:hover { color: var(--bsd-live); }

/* score rail */
.sp-score-rail { position: relative; }
.sp-rail-track { display: flex; gap: 10px; width: max-content; }
.sp-scorecard {
  flex: none; width: 218px; display: block;
  background: var(--bsd-panel); border: 1px solid var(--bsd-line);
  border-radius: var(--bsd-radius); padding: 10px 12px 11px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.sp-scorecard:hover { border-color: var(--bsd-line-2); background: var(--bsd-panel-2); }
.sp-sc-top { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin-bottom: 8px; }
.sp-sc-lg { font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--bsd-faint); white-space: nowrap; }
.sp-sc-pill {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px; background: var(--bsd-panel-3); color: var(--bsd-muted);
  font-variant-numeric: tabular-nums;
}
.sp-sc-pill.ft { background: rgba(61, 220, 132, 0.1); color: var(--bsd-live); }
.sp-sc-pill.sp-live { background: var(--bsd-live); color: #06220f; animation: bsd-pulse 2.4s ease-out infinite; }
.sp-sc-go { font-size: 10.5px; font-weight: 600; color: var(--bsd-faint); margin-left: auto; white-space: nowrap; }
.sp-scorecard:hover .sp-sc-go { color: var(--bsd-live); }
.sp-sc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; }
.sp-sc-club { display: flex; align-items: center; gap: 9px; min-width: 0; }
.sp-sc-club img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.sp-sc-club span {
  font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; letter-spacing: -0.005em;
}
.sp-sc-num {
  font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums;
  min-width: 18px; text-align: right; color: var(--bsd-text);
}

/* tables */
.sp-table-wrap { overflow-x: auto; scrollbar-width: thin; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sp-td-team { display: flex !important; align-items: center; gap: 8px; min-width: 0; }
.sp-td-team img { flex: none; object-fit: contain; }
.sp-td-team b, .sp-td-team { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-table thead th {
  font-size: 10px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--bsd-faint); text-align: left; padding: 10px 8px 7px;
  border-bottom: 1px solid var(--bsd-line); white-space: nowrap;
}
.sp-table tbody td { padding: 8px; border-bottom: 1px solid var(--bsd-line); color: var(--bsd-muted); white-space: nowrap; }
.sp-table tbody td:first-child { color: var(--bsd-faint); font-variant-numeric: tabular-nums; width: 30px; }
.sp-table tbody td b { color: var(--bsd-text); font-weight: 600; }
.sp-table tbody tr:last-child td { border-bottom: 0; }
.sp-table tbody tr { border-left: 3px solid transparent; }
.sp-table tbody tr.zcl { border-left-color: #2f6b3a; }
.sp-table tbody tr.zeu { border-left-color: #7a5b1e; }
.sp-table tbody tr.zre { border-left-color: #8e2020; }
.sp-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.sp-form-d {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 4px; margin-right: 3px;
  font-size: 9px; font-weight: 800; color: #0a0c0f;
}
.sp-zone-legend { margin: 10px 0 0; font-size: 11px; color: var(--bsd-faint); }
.sp-zone-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin: 0 4px 0 10px; }
.sp-zone-legend i:first-child { margin-left: 0; }
.sp-result-meta { margin: 8px 0 0; padding: 8px 6px 0; font-size: 11.5px; color: var(--bsd-faint); }

/* mini widgets (aside) */
.sp-rep {
  display: grid; grid-template-columns: 24px 1fr 24px; gap: 12px; align-items: center;
  padding: 10px 6px; border-bottom: 1px solid var(--bsd-line);
}
.sp-rep:last-child { border-bottom: 0; }
.sp-rep > img { width: 22px; height: 22px; object-fit: contain; }
.sp-rep-mid { min-width: 0; }
.sp-rep-mid b {
  display: block; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.sp-rep:hover .sp-rep-mid b { color: var(--bsd-live); }
.sp-rep-mid em { font-style: normal; font-size: 10.5px; color: var(--bsd-faint); letter-spacing: 0.02em; }

/* generic fallback rails */
.sp-art-rail { overflow: hidden; }
.sp-art-track { display: flex; gap: 10px; width: max-content; }
.sp-art {
  flex: none; width: 230px; display: grid; gap: 5px; padding: 12px;
  background: var(--bsd-panel); border: 1px solid var(--bsd-line); border-radius: var(--bsd-radius);
}
.sp-art b { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bsd-accent); }
.sp-art span { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.sp-art:hover span { color: var(--bsd-live); }
.sp-art i { font-style: normal; font-size: 11px; color: var(--bsd-faint); }

/* board fallback (pre-JS) */
.bsd-board-fallback { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bsd-board-fallback .bsd-chiplink { padding: 12px 16px; border-radius: var(--bsd-radius); justify-content: space-between; font-size: 13px; }
@media (max-width: 720px) { .bsd-board-fallback { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer pad (clear space above site footer)
   ========================================================================== */
.bsd-pad-end { height: 34px; }

/* --------------------------------------------------------------------------
   Motion discipline
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .bsd *, .bsd *::before, .bsd *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
