:root {
  --bg: #080b10;
  --surface: #10151d;
  --surface-2: #151c26;
  --surface-3: #1b2530;
  --line: rgba(215, 228, 238, .10);
  --line-strong: rgba(215, 228, 238, .18);
  --text: #f1f5f8;
  --muted: #94a2b0;
  --muted-2: #71808d;
  --accent: #79d65c;
  --accent-strong: #a2ec85;
  --danger: #ff666d;
  --warning: #e8b95a;
  --shadow: 0 20px 50px rgba(0, 0, 0, .22);
  --radius: 16px;
  --radius-sm: 11px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.main { flex: 1; padding: 32px 0 72px; }
.stack { display: grid; gap: 24px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 24px; }
.section { margin-top: 34px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 11px; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 54px); line-height: 1.04; letter-spacing: -.045em; }
h2 { margin-bottom: 6px; font-size: clamp(23px, 3vw, 31px); line-height: 1.1; letter-spacing: -.03em; }
h3 { margin-bottom: 5px; font-size: 17px; }
.lede { max-width: 630px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.muted { color: var(--muted); }
.tiny { color: var(--muted-2); font-size: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(8, 11, 16, .94); backdrop-filter: blur(16px); }
.header-inner { min-height: 70px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; font-size: 17px; font-weight: 850; letter-spacing: -.025em; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: #09100a; background: var(--accent); font-size: 15px; font-weight: 950; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .mobile-menu a { padding: 9px 11px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 720; }
.nav a:hover, .nav a.active, .mobile-menu a:hover, .mobile-menu a.active { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search { width: 195px; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.header-search:focus-within { border-color: rgba(121, 214, 92, .65); }
.header-search svg { flex: 0 0 auto; width: 15px; color: var(--muted-2); }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; }
.header-search input::placeholder { color: var(--muted-2); }
.menu-button { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.menu-button span, .menu-button span::before, .menu-button span::after { width: 16px; height: 2px; display: block; margin-inline: auto; border-radius: 2px; background: var(--muted); content: ""; }
.menu-button span::before { transform: translateY(-5px); }
.menu-button span::after { transform: translateY(3px); }
.mobile-menu { display: none; padding: 12px 20px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu .mobile-links { display: grid; gap: 3px; }
.mobile-menu .header-search { width: 100%; margin-bottom: 10px; }

.hero { padding: 20px 0 4px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: end; }
.hero-copy { padding: 18px 0; }
.hero-stat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat-value { display: block; margin-bottom: 4px; color: var(--accent-strong); font-size: 28px; font-weight: 840; letter-spacing: -.05em; }
.stat-label { color: var(--muted); font-size: 12px; }
.notice { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(16, 21, 29, .72); font-size: 12px; }
.notice::before { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--accent); content: ""; }

.date-nav { display: flex; align-items: stretch; gap: 8px; overflow-x: auto; padding-bottom: 3px; }
.date-tab { min-width: 105px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); text-align: left; }
.date-tab:hover, .date-tab.active { border-color: rgba(121, 214, 92, .55); background: rgba(121, 214, 92, .11); }
.date-tab strong { display: block; margin-bottom: 3px; font-size: 13px; }
.date-tab span { color: var(--muted); font-size: 11px; }
.date-tab.active strong { color: var(--accent-strong); }
.date-picker { width: 48px; min-width: 48px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.date-picker input { width: 1px; height: 1px; position: absolute; opacity: 0; }
.date-picker svg { width: 17px; color: var(--muted); }

.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.search-box { min-width: 220px; flex: 1; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.search-box svg { width: 17px; color: var(--muted-2); }
.search-box input { width: 100%; min-width: 0; height: 40px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 13px; }
.search-box input::placeholder { color: var(--muted-2); }
.select { height: 40px; padding: 0 34px 0 11px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--text); background: var(--bg); font-size: 12px; }
.filter-row { display: flex; gap: 7px; overflow-x: auto; width: 100%; padding-top: 1px; }
.pill { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 750; }
.pill:hover, .pill.active { border-color: rgba(121, 214, 92, .55); color: var(--accent-strong); background: rgba(121, 214, 92, .10); }

.match-list { display: grid; gap: 10px; }
.time-group { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; }
.time-label { padding-top: 17px; color: var(--muted-2); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.match-card { position: relative; display: block; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .18s ease, transform .18s ease; }
.match-card-top { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.match-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.match-card.live { border-color: rgba(255, 102, 109, .34); }
.match-meta { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 11px; }
.match-time { font-size: 19px; font-weight: 850; letter-spacing: -.04em; }
.match-status { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.status-live { color: var(--danger); }
.status-live::before { width: 6px; height: 6px; display: inline-block; margin-right: 5px; border-radius: 50%; background: currentColor; content: ""; vertical-align: 1px; }
.match-main { min-width: 0; }
.match-context { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; color: var(--muted); font-size: 11px; }
.context-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.match-teams { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 8px; align-items: center; }
.team { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 14px; font-weight: 800; }
.team.away { justify-content: flex-end; text-align: right; }
.team-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-badge { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; color: #0b1013; background: var(--team-color); font-size: 8px; font-weight: 950; }
.match-versus { color: var(--muted-2); font-size: 11px; text-align: center; }
.match-extra { display: flex; align-items: flex-end; flex-direction: column; gap: 10px; text-align: right; }
.score { font-size: 16px; font-weight: 850; }
.source-count { color: var(--muted); font-size: 11px; }
.match-broadcasts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.match-card[data-match-toggle] { cursor: pointer; }
.match-card:not(.is-expanded) .match-broadcasts { display: none; }
.match-card.is-expanded .match-broadcasts { display: flex; }
.match-card.is-expanded .match-arrow svg { transform: rotate(90deg); }
.broadcast-label { color: var(--muted-2); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.broadcast-chip { padding: 5px 8px; border: 1px solid rgba(121, 214, 92, .22); border-radius: 999px; color: var(--accent-strong); background: rgba(121, 214, 92, .08); font-size: 10px; font-weight: 750; }
.broadcast-chip:hover { border-color: rgba(121, 214, 92, .6); background: rgba(121, 214, 92, .15); }
.broadcast-chip.muted { border-color: var(--line); color: var(--muted); background: transparent; }
.broadcast-more { color: var(--muted-2); font-size: 10px; font-weight: 750; }
.broadcast-panel { margin-bottom: 18px; padding: 16px 18px; border: 1px solid rgba(121, 214, 92, .2); border-radius: var(--radius); background: linear-gradient(135deg, rgba(121, 214, 92, .09), rgba(16, 21, 29, .72)); }
.broadcast-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 11px; }
.broadcast-panel-head .eyebrow { margin-bottom: 4px; }
.broadcast-panel-head strong { font-size: 14px; }
.broadcast-panel-list { display: flex; flex-wrap: wrap; gap: 7px; }
.broadcast-panel .broadcast-chip { display: inline-flex; align-items: center; gap: 5px; }
.broadcast-panel .broadcast-chip svg { width: 12px; height: 12px; }
.match-actions { display: flex; align-items: center; gap: 8px; margin-top: 13px; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 800; }
.button-primary { color: #0a110b; background: var(--accent); }
.button-primary:hover { background: var(--accent-strong); }
.button-ghost { border-color: var(--line); color: var(--muted); background: transparent; }
.button-ghost:hover { border-color: var(--line-strong); color: var(--text); background: var(--surface-2); }
.match-action { min-width: 111px; }
.empty-state { padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); text-align: center; }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.channel-card, .competition-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.channel-card:hover, .competition-card:hover { border-color: var(--line-strong); }
.channel-card { min-height: 382px; display: flex; flex-direction: column; overflow: hidden; }
.channel-image { height: 174px; display: grid; place-items: center; background: #eef1f3; }
.channel-logo, .competition-logo { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 0; color: #08100c; font-size: 18px; font-weight: 950; }
.channel-logo { position: relative; overflow: hidden; background: transparent; }
.channel-logo.has-image { background: transparent; }
.channel-logo img { width: 100%; height: 100%; padding: 0; object-fit: contain; }
.channel-logo-fallback { display: block; }
.channel-logo.has-image .channel-logo-fallback { display: none; }
.competition-logo { color: var(--accent-strong); border: 1px solid rgba(121,214,92,.25); background: rgba(121,214,92,.10); }
.competition-logo img, .competition-badge img, .competition-entity-logo img { width: 100%; height: 100%; object-fit: contain; }
.competition-logo-fallback { display: block; }
.competition-logo.has-image .competition-logo-fallback, .competition-badge.has-image .competition-logo-fallback, .competition-entity-logo.has-image .competition-logo-fallback { display: none; }
.competition-badge { width: 32px; height: 32px; display: grid; place-items: center; align-self: start; overflow: hidden; border: 0; border-radius: 0; color: var(--accent-strong); background: transparent; font-size: 8px; font-weight: 900; line-height: 1; text-align: center; }
.competition-badge:not(.has-image) { padding: 3px; }
.competition-entity-logo { flex: 0 0 auto; overflow: hidden; padding: 9px; }
.channel-content { min-height: 208px; display: flex; flex: 1; flex-direction: column; padding: 20px; background: var(--surface); }
.channel-card h3 { margin: 7px 0 5px; font-size: 17px; }
.channel-card p { min-height: 34px; margin-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.channel-card .button { width: 100%; margin-top: auto; }
.channel-card .button-ghost { min-height: 36px; border-color: transparent; border-radius: 999px; color: #06120c; background: var(--accent); }
.channel-card .button-ghost:hover { border-color: transparent; color: #06120c; background: var(--accent-strong); }
.channel-card .button svg { width: 14px; height: 14px; }
.competition-card { min-height: 120px; }
.competition-card h3 { margin-top: 14px; font-size: 14px; }
.competition-card p { margin-bottom: 0; color: var(--muted); font-size: 11px; }
.link-arrow { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-strong); font-size: 12px; font-weight: 800; }

.ad-slot { min-height: 76px; display: grid; place-items: center; border: 1px dashed rgba(148,162,176,.22); border-radius: var(--radius-sm); color: var(--muted-2); background: rgba(16,21,29,.45); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.ad-slot.compact { min-height: 120px; }
.sidebar { display: grid; gap: 14px; }
.side-card { padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.side-card h3 { margin-bottom: 13px; font-size: 14px; }
.side-list { display: grid; gap: 9px; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; }
.side-list a:hover { color: var(--accent-strong); }

.page-header { margin-bottom: 25px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; color: var(--muted-2); font-size: 11px; }
.breadcrumbs a:hover { color: var(--accent-strong); }
.breadcrumbs span { color: var(--muted-2); }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: 12px; font-weight: 750; }
.back-link:hover { color: var(--accent-strong); }
.entity-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.entity-mark { width: 64px; height: 64px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(121,214,92,.25); border-radius: 18px; color: var(--accent-strong); background: rgba(121,214,92,.10); font-size: 20px; font-weight: 900; }
.entity-header-copy { display: flex; align-items: center; gap: 15px; min-width: 0; }
.entity-header-copy h1 { margin-bottom: 7px; font-size: clamp(27px, 4vw, 44px); }
.entity-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.tag { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--surface); }

.player-shell { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #050607; box-shadow: var(--shadow); }
.player-frame { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #07090c; }
.player-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.direct-player { position: relative; width: 100%; height: 100%; background: #000; }
.direct-player video { width: 100%; height: 100%; display: block; object-fit: contain; }
.direct-player-status { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; color: var(--muted); font-size: 12px; pointer-events: none; }
.direct-player.is-playing .direct-player-status { opacity: 0; }
.player-placeholder { max-width: 310px; padding: 20px; color: var(--muted); text-align: center; }
.player-placeholder strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 17px; }
.player-placeholder p { margin-bottom: 0; font-size: 12px; line-height: 1.55; }
.player-loader { width: 24px; height: 24px; margin: 0 auto 11px; border: 2px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.source-panel { padding: 15px; border-top: 1px solid var(--line); background: var(--surface); }
.source-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.source-panel-head strong { font-size: 12px; }
.source-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.source-button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--bg); font-size: 11px; font-weight: 750; }
.source-button:hover, .source-button.active { border-color: rgba(121,214,92,.55); color: var(--accent-strong); background: rgba(121,214,92,.08); }
.source-button.unconfigured { color: var(--muted-2); }
.info-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.info-item { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.info-item span { display: block; margin-bottom: 5px; color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.info-item strong { font-size: 13px; }

.search-results { display: grid; gap: 9px; }
.result-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.result-item:hover { border-color: var(--line-strong); }
.result-copy { min-width: 0; }
.result-copy strong { display: block; margin-bottom: 4px; font-size: 13px; }
.result-copy span { color: var(--muted); font-size: 11px; }
.result-type { color: var(--accent-strong); font-size: 10px; font-weight: 850; text-transform: uppercase; }

.seo-copy { max-width: 780px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer { padding: 30px 0; border-top: 1px solid var(--line); background: #06080c; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand { max-width: 280px; }
.footer-brand p { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer h3 { margin-bottom: 11px; color: var(--text); font-size: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: var(--accent-strong); }
.copyright { margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 11px; }
.error-page { min-height: 420px; display: grid; place-items: center; text-align: center; }
.error-page .button { margin-top: 10px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions .header-search { display: none; }
  .menu-button { display: grid; place-items: center; }
  .mobile-menu.is-open { display: block; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, var(--max)); }
  .main { padding-top: 20px; }
  .header-inner { min-height: 62px; gap: 10px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 29px; height: 29px; }
  h1 { font-size: 34px; }
  .hero { padding-top: 8px; }
  .hero-stat { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 14px; }
  .stat-value { font-size: 24px; }
  .time-group { grid-template-columns: 42px minmax(0, 1fr); gap: 7px; }
  .time-label { font-size: 11px; }
  .match-card { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 13px 12px; }
  .match-time { font-size: 16px; }
  .match-status { font-size: 9px; }
  .match-context { margin-bottom: 9px; font-size: 10px; }
  .match-teams { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); gap: 5px; }
  .team { gap: 6px; font-size: 12px; }
  .team-badge { width: 25px; height: 25px; border-radius: 8px; font-size: 7px; }
  .match-extra { display: none; }
  .match-actions { margin-top: 10px; }
  .match-action { width: 100%; min-height: 35px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .channel-card { min-height: 344px; }
  .channel-image { height: 142px; }
  .channel-content { min-height: 202px; padding: 16px 13px; }
  .channel-card h3 { font-size: 15px; }
  .channel-card p { font-size: 10px; }
  .competition-card { padding: 13px; }
  .sidebar { grid-template-columns: 1fr; }
  .toolbar { padding: 10px; }
  .search-box { min-width: 100%; }
  .select { flex: 1; min-width: 130px; }
  .entity-header { align-items: flex-start; }
  .entity-header-copy { align-items: flex-start; }
  .entity-mark { width: 48px; height: 48px; border-radius: 14px; font-size: 15px; }
  .entity-header-copy h1 { font-size: 28px; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-item { align-items: flex-start; padding: 13px; }
  .result-type { white-space: nowrap; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 390px) {
  .brand { font-size: 14px; }
  .hero-stat { gap: 7px; }
  .stat-card { padding: 12px 10px; }
  .stat-value { font-size: 21px; }
  .date-tab { min-width: 90px; padding-inline: 11px; }
}

/* Reference-inspired agenda treatment: compact header, green field grid, flat schedule rows. */
:root { --bg: #06120c; --surface: #0f1712; --surface-2: #142018; --line: rgba(142, 194, 157, .13); --line-strong: rgba(142, 194, 157, .24); --accent: #00e868; --accent-strong: #63f19a; --max: 990px; }
body { background-color: var(--bg); background-image: linear-gradient(rgba(56, 111, 72, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 111, 72, .13) 1px, transparent 1px); background-size: 40px 40px; }
.site-header { background: #040b07; border-bottom-color: #164529; }
.header-inner { min-height: 52px; }
.brand-mark { width: auto; height: auto; border-radius: 0; color: var(--text); background: transparent; font-size: 0; }
.brand-mark { display: none; }
.brand { gap: 4px; font-size: 17px; }
.brand span:last-child { color: transparent; font-size: 0; }
.brand span:last-child::before { content: "Fútbol "; color: var(--text); font-size: 17px; }
.brand span:last-child::after { content: "Libre TV"; color: var(--accent); font-size: 17px; }
.nav a { padding: 7px 9px; color: #8fa398; font-size: 12px; text-transform: uppercase; }
.nav a:hover, .nav a.active { color: var(--accent); background: transparent; }
.main { padding-top: 25px; }
.hero { padding-top: 0; }
.reference-hero .hero-grid { display: block; }
.reference-hero .hero-copy { padding: 26px 30px 25px; border: 1px solid rgba(0, 232, 104, .20); border-radius: 10px; background: #08391e; text-align: center; }
.reference-hero .hero-copy .eyebrow, .reference-hero .notice, .reference-hero .hero-stat { display: none; }
.reference-hero h1 { margin-bottom: 11px; color: var(--accent); font-size: clamp(26px, 4vw, 32px); line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase; }
.reference-hero h1 span { color: inherit; }
.compact-home-hero h1 { font-weight: 950; letter-spacing: -.055em; line-height: 1.02; background: linear-gradient(105deg, #00e868 0%, #7dffb0 52%, #00d95f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.reference-hero .lede { max-width: 100%; margin-bottom: 0; color: #c5d1c9; font-size: 15px; line-height: 1.62; text-align: left; }
.reference-hero .lede strong { color: #fff; }
.modern-home-hero .hero-copy { padding: 30px 34px; border-color: rgba(121, 214, 92, .3); border-radius: 20px; background: radial-gradient(circle at 100% 0%, rgba(121, 214, 92, .2), transparent 40%), linear-gradient(135deg, #0b4828, #062618 70%); text-align: left; box-shadow: 0 25px 70px rgba(0, 0, 0, .2); }
.modern-home-hero .lede { max-width: 600px; }
.modern-home-hero h1 { max-width: 700px; margin-bottom: 14px; color: #f3fff5; font-size: clamp(38px, 6vw, 66px); letter-spacing: -.06em; text-transform: none; }
.modern-home-hero h1 span { color: var(--accent); }
.home-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: #b9e6c2; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.live-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(121, 214, 92, .12); }
.home-kicker-source { padding-left: 10px; border-left: 1px solid rgba(185, 230, 194, .28); color: #8db99a; font-size: 10px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.modern-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: end; gap: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-actions .button-ghost { border-color: rgba(185, 230, 194, .25); color: #d5efda; background: rgba(3, 18, 10, .22); }
.hero-dashboard { padding: 16px; border: 1px solid rgba(185, 230, 194, .22); border-radius: 16px; background: rgba(1, 15, 8, .34); }
.hero-dashboard-top { display: flex; justify-content: space-between; gap: 8px; color: #91bd9d; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-dashboard > strong { display: block; margin-top: 18px; color: #fff; font-size: 48px; line-height: 1; letter-spacing: -.07em; }
.hero-dashboard > span { display: block; margin-top: 5px; color: #b9e6c2; font-size: 12px; }
.hero-featured { display: grid; gap: 5px; margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(185, 230, 194, .18); }
.hero-featured small { color: var(--accent); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.hero-featured b { color: #fff; font-size: 12px; }
.hero-featured span { overflow: hidden; color: #9fc2a8; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.home-channel-section .channel-card { border-color: rgba(121, 214, 92, .16); background: linear-gradient(145deg, #101b14, #0c130f); }
.home-channel-section .channel-image { height: 174px; }
.home-tools { margin-top: 20px; }
.reference-toolbar { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; padding: 0; border: 0; background: transparent; }
.reference-toolbar .search-box, .reference-toolbar .select { height: 42px; border-color: #1d2d22; border-radius: 7px; background: #0d1510; }
.home-tools > .date-nav { margin-top: 14px; }
.home-tools .date-tab { min-width: 92px; padding: 9px 12px; border-color: #1d2d22; border-radius: 7px; background: #0d1510; }
.home-tools .date-tab.active { border-color: rgba(0, 232, 104, .55); background: rgba(0, 232, 104, .08); }
.agenda-panel { overflow: hidden; margin-top: 20px; border: 1px solid rgba(69, 190, 111, .22); border-radius: 14px; background: linear-gradient(180deg, #0d1711, #0a100c); box-shadow: 0 22px 55px rgba(0, 0, 0, .18); }
.agenda-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid rgba(0, 232, 104, .32); color: var(--accent); font-size: 15px; font-weight: 850; letter-spacing: .03em; }
.agenda-source { flex: 0 0 auto; padding: 5px 9px; border: 1px solid rgba(134, 239, 172, .22); border-radius: 999px; color: #a9c5b1; background: rgba(134, 239, 172, .07); font-size: 10px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.agenda-panel .match-list, .agenda-panel .time-group, .agenda-panel .time-group > .stack { gap: 0; }
.agenda-panel .time-group { grid-template-columns: 1fr; }
.agenda-panel .time-label { display: none; }
.agenda-panel .match-card { padding: 14px 16px; border: 0; border-bottom: 1px solid rgba(104, 143, 115, .16); border-radius: 0; background: transparent; transition: background .18s ease, padding .18s ease; }
.agenda-panel .match-card-top { grid-template-columns: 58px 48px minmax(0, 1fr) auto; gap: 0; }
.agenda-panel .match-card:last-child { border-bottom: 0; }
.agenda-panel .match-card:hover { border-color: rgba(104, 143, 115, .16); background: rgba(134, 239, 172, .06); transform: none; }
.agenda-panel .match-meta { display: block; }
.agenda-panel .match-time { font-size: 15px; }
.agenda-panel .match-status { margin-top: 4px; font-size: 9px; }
.agenda-panel .match-main { padding-right: 10px; }
.match-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.match-league { color: var(--accent); font-size: 12px; font-weight: 800; }
.match-line strong { color: #f4f7f5; font-size: 14px; }
.match-vs { color: #90a197; font-weight: 500; }
.agenda-panel .match-context { margin: 3px 0 0; font-size: 10px; }
.agenda-panel .match-extra { flex-direction: row; align-items: center; gap: 10px; }
.agenda-panel .match-broadcasts { margin-top: 9px; padding-top: 8px; }
.agenda-panel .match-extra .tiny { display: none; }
.match-arrow { color: var(--accent); }
.match-arrow svg { width: 16px; height: 16px; }
.agenda-panel .score, .agenda-panel .source-count { color: #a8b5ac; font-size: 10px; white-space: nowrap; }
.agenda-panel .status-live { color: #ff626a; }
.two-col { grid-template-columns: 1fr; }
.sidebar { display: none; }
.section-head { align-items: center; }
.section-head h2 { color: #f4f7f5; }
.card-grid { gap: 10px; }
.channel-card, .competition-card { border-color: #1a2b20; background: #0e1711; }
.channel-card:hover, .competition-card:hover { border-color: rgba(0, 232, 104, .35); }
.footer { background: #040b07; border-top-color: #164529; }

@media (max-width: 680px) {
  .reference-hero .hero-copy { padding: 22px 17px; }
  .modern-home-hero .hero-copy { padding: 22px 17px; }
  .reference-hero h1 { font-size: 24px; }
  .modern-home-hero h1 { font-size: 42px; }
  .reference-hero .lede { font-size: 13px; }
  .modern-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-kicker-source { width: 100%; padding: 5px 0 0; border: 0; }
  .hero-dashboard { max-width: none; }
  .reference-toolbar { grid-template-columns: 1fr; }
   .agenda-panel .match-card { padding: 12px 10px; }
   .agenda-panel .match-card-top { grid-template-columns: 51px 40px minmax(0, 1fr) auto; }
  .agenda-panel .match-main { padding-right: 5px; }
  .match-league, .match-line strong { font-size: 12px; }
  .agenda-panel .match-context { font-size: 9px; }
  .agenda-panel .match-status { font-size: 8px; }
  .agenda-panel .match-extra .score, .agenda-panel .match-extra .source-count { display: none; }
  .agenda-panel .match-arrow svg { width: 14px; }
  .agenda-source { display: block; float: none; margin-top: 4px; }
}


.competition-logo img[src*="flag-"], .competition-badge img[src*="flag-"] { object-fit: cover; border-radius: 50%; }
.competition-logo img[src*="flag-"] { width: 64px; height: 48px; }
.competition-badge img[src*="flag-"] { width: 29px; height: 23px; }


/* Agenda: circular country markers and cleaner competition badges. */
.country-badge { width: 21px; height: 21px; flex: 0 0 21px; display: inline-grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.08); }
.country-badge img { width: 100%; height: 100%; display: block; object-fit: cover; }
.country-flag-fallback { display: grid; width: 100%; height: 100%; place-items: center; color: var(--muted); font-size: 11px; font-weight: 900; line-height: 1; }
.competition-badge { border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.045); }
.competition-badge img { width: 76%; height: 76%; }
@media (max-width: 720px) { .country-badge { width: 19px; height: 19px; flex-basis: 19px; } }


/* Match cards use one circular country emblem and no colored logo plate. */
.card-country-logo { width: 32px; height: 32px; display: grid; place-items: center; align-self: start; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; background: transparent; }
.card-country-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card-country-logo .country-flag-fallback { font-size: 12px; }
.competition-logo, .competition-badge, .competition-entity-logo { border-color: transparent; background: transparent; }


/* Tournament marks: slightly larger for quick recognition. */
.competition-badge { width: 32px; height: 32px; }
.competition-badge img { width: 100%; height: 100%; }

/* White reference layout for futbollibretv.cloud. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #eef1f4;
  --line: #e1e5ea;
  --line-strong: #cfd6de;
  --text: #2f3b4d;
  --muted: #5d6878;
  --muted-2: #7f8997;
  --accent: #12a34a;
  --accent-strong: #0d873c;
  --max: 1000px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

html, body { background: #fff !important; color: var(--text) !important; }
body { background-image: none !important; }
.container { width: min(var(--max), calc(100% - 32px)); }
.site-header { background: rgba(255, 255, 255, .97) !important; border-bottom: 1px solid #e5e7eb !important; box-shadow: 0 3px 10px rgba(31, 41, 55, .10); backdrop-filter: none; }
.header-inner { min-height: 60px; }
.brand { color: var(--accent) !important; font-size: 24px; letter-spacing: -.04em; }
.brand-mark { display: none !important; }
.brand span:last-child { color: var(--accent) !important; font-size: 24px !important; }
.brand span:last-child::before, .brand span:last-child::after { content: none !important; }
.nav { gap: 4px; }
.nav a, .mobile-menu a { color: #4b5563 !important; border-radius: 4px; font-size: 13px; font-weight: 700; text-transform: none; }
.nav a:hover, .nav a.active, .mobile-menu a:hover, .mobile-menu a.active { color: var(--accent) !important; background: transparent !important; }
.header-search { border-color: #dfe4e9; background: #fff; }
.header-search input { color: var(--text); }
.header-search input::placeholder { color: #8b95a2; }
.menu-button { border-color: #dfe4e9; background: #fff; }
.mobile-menu { border-top-color: #e5e7eb; background: #fff; }
.main { padding: 24px 0 64px; }
.reference-hero .hero-copy { max-width: 1000px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; }
.reference-hero h1, .compact-home-hero h1 { margin-bottom: 17px; color: #075d43 !important; background: none !important; -webkit-text-fill-color: currentColor; font-size: clamp(32px, 4vw, 38px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; text-transform: none; }
.reference-hero .lede { max-width: 1000px; margin: 0 0 18px; color: #4e5a6a; font-size: 18px; line-height: 1.42; text-align: left; }
.reference-hero .lede a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.reference-hero .lede strong { color: #4b5563; }
.compact-home-hero { padding-top: 0; }
.compact-home-hero .hero-copy { text-align: left; }
.compact-home-hero h1 { text-align: center; }
.agenda-panel { overflow: visible; margin-top: 26px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.agenda-heading { justify-content: center; min-height: 34px; padding: 7px 14px; border: 0; border-radius: 8px 8px 0 0; color: #fff; background: linear-gradient(90deg, #16a84b, #11823d); font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.agenda-panel .match-card { padding: 9px 16px; border: 1px solid #e0e4e9; border-top: 0; border-radius: 0; color: var(--text); background: #fff; box-shadow: 0 1px 2px rgba(31, 41, 55, .03); }
.agenda-panel .match-card:last-child { border-bottom: 1px solid #e0e4e9; border-radius: 0 0 8px 8px; }
.agenda-panel .match-card:hover { border-color: #e0e4e9; background: #fbfcfd; transform: none; }
.agenda-panel .match-card-top { grid-template-columns: 58px 40px minmax(0, 1fr) auto; gap: 0; }
.agenda-panel .match-time { color: #111827; font-size: 15px; }
.agenda-panel .match-status { display: none; }
.agenda-panel .competition-badge { width: 32px; height: 32px; }
.agenda-panel .match-main { padding-right: 12px; }
.agenda-panel .match-line { gap: 5px; }
.agenda-panel .match-league, .agenda-panel .match-line strong { color: #2f3b4d; font-size: 15px; font-weight: 700; }
.agenda-panel .match-vs { color: #4b5563; }
.agenda-panel .match-context { margin: 3px 0 0; color: #7a8491; font-size: 10px; }
.agenda-panel .match-extra { flex-direction: row; align-items: center; gap: 10px; }
.agenda-panel .source-count { display: none; }
.agenda-panel .match-arrow { color: var(--accent); }
.agenda-panel .match-arrow svg { width: 16px; height: 16px; }
.home-channel-section { margin-top: 34px; }
.section-head h2 { color: #2f3b4d; }
.eyebrow, .link-arrow { color: var(--accent); }
.card-grid { gap: 12px; }
.channel-card, .competition-card { border-color: #e1e5ea; background: #fff; box-shadow: 0 2px 8px rgba(31, 41, 55, .04); }
.channel-card:hover, .competition-card:hover { border-color: #a9d8ba; }
.channel-image { background: #f1f3f5; }
.channel-content { background: #fff; }
.channel-card p { color: #697586; }
.channel-card .button-ghost { color: #fff; background: var(--accent); }
.channel-card .button-ghost:hover { color: #fff; background: var(--accent-strong); }
.footer { border-top-color: #e1e5ea; background: #fff; }
.footer h3 { color: #2f3b4d; }
.footer-brand p, .footer-links a, .copyright { color: #697586; }
.footer-links a:hover { color: var(--accent); }
.mobile-menu .header-search { background: #fff; }

@media (max-width: 680px) {
  .container { width: min(100% - 24px, var(--max)); }
  .brand, .brand span:last-child { font-size: 21px !important; }
  .main { padding-top: 20px; }
  .reference-hero h1, .compact-home-hero h1 { font-size: 31px; }
  .reference-hero .lede { font-size: 16px; line-height: 1.45; }
  .agenda-panel { margin-top: 22px; }
  .agenda-panel .match-card { padding: 10px 9px; }
  .agenda-panel .match-card-top { grid-template-columns: 48px 34px minmax(0, 1fr) auto; }
  .agenda-panel .match-main { padding-right: 5px; }
  .agenda-panel .match-league, .agenda-panel .match-line strong { font-size: 12px; }
  .agenda-panel .match-context { font-size: 9px; }
}

/* Match the reference header and compact agenda proportions. */
.container { width: min(998px, calc(100% - 32px)); }
.site-header .header-inner { width: 100%; max-width: none; min-height: 60px; padding: 0 16px; }
.site-header .brand, .site-header .brand span:last-child { font-size: 24px !important; font-weight: 700; }
.site-header .nav { margin-left: auto; }
.site-header .nav a { padding: 0 8px; font-size: 16px; font-weight: 700; }
.site-header .header-actions { display: none; }
.site-header .mobile-menu { display: none; }
.main { padding-top: 9px; }
.compact-home-hero h1 { margin-bottom: 20px; font-size: 36px; line-height: normal; }
.compact-home-hero .lede { margin: 18px 0 24px; line-height: normal; }
.agenda-panel { margin-top: 0; }
.agenda-heading { height: 34px; padding: 8px; font-size: 14px; line-height: normal; }
.agenda-source { display: none !important; }
.agenda-panel .match-card { padding: 8px; }
.agenda-panel .match-card-top { grid-template-columns: 56px 32px minmax(0, 1fr) auto; }
.agenda-panel .competition-badge { width: 24px; height: 24px; margin-left: 8px; }
.agenda-panel .competition-badge img { width: 24px; height: 24px; }
.agenda-panel .match-main { padding-right: 12px; padding-left: 16px; }
.agenda-panel .match-context { display: none; }
.agenda-panel .match-line { flex-wrap: nowrap; gap: 5px; }
.agenda-panel .match-league, .agenda-panel .match-line strong { font-size: 15px; line-height: normal; }
.agenda-panel .match-line strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agenda-panel .match-extra { display: none; }

@media (max-width: 980px) {
  .site-header .header-inner { min-height: 60px; }
  .site-header .nav { display: none; }
  .site-header .header-actions { display: flex; margin-left: auto; }
  .site-header .menu-button { display: grid; place-items: center; }
  .site-header .mobile-menu.is-open { display: block; padding: 12px 16px 16px; }
  .site-header .mobile-links { display: grid; gap: 3px; }
  .site-header .mobile-links a { padding: 10px 0; font-size: 15px; }
}

@media (max-width: 680px) {
  .site-header .brand, .site-header .brand span:last-child { font-size: 24px !important; }
  .main { padding-top: 5px; }
  .compact-home-hero h1 { font-size: 32px; }
  .compact-home-hero .lede { font-size: 17px; }
  .agenda-panel .match-card { padding: 8px; }
  .agenda-panel .match-card-top { grid-template-columns: 48px 32px minmax(0, 1fr); }
  .agenda-panel .match-main { padding-left: 8px; padding-right: 0; }
  .agenda-panel .match-league, .agenda-panel .match-line strong { font-size: 13px; }
}

/* Keep channel directory and channel pages in the same compact reference style. */
.compact-channel-hero { padding-bottom: 18px; }
.compact-channel-hero .hero-copy { text-align: center; }
.compact-channel-hero h1 { margin-bottom: 14px; }
.compact-channel-hero .lede { margin: 0 auto; text-align: center; }
.channel-directory-panel { margin-top: 8px; }
.channel-directory { overflow: hidden; border: 1px solid #e0e4e9; border-radius: 0 0 8px 8px; background: #fff; }
.channel-directory-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 8px; min-height: 52px; padding: 8px 14px; border-top: 1px solid #e0e4e9; color: #2f3b4d; text-decoration: none; }
.channel-directory-row:first-child { border-top: 0; }
.channel-directory-row:hover { background: #fbfcfd; color: #075d43; }
.channel-directory-logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--accent); font-size: 11px; font-weight: 800; overflow: hidden; }
.channel-directory-logo.has-image { background: #f1f3f5; }
.channel-directory-logo img { width: 28px; height: 28px; object-fit: contain; }
.channel-directory-copy { display: grid; gap: 2px; min-width: 0; }
.channel-directory-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.channel-directory-copy small { color: #7a8491; font-size: 11px; }
.channel-directory-arrow { color: var(--accent); }
.channel-directory-arrow svg { width: 16px; height: 16px; }
.channel-player-section { margin-top: 10px; }
.channel-agenda-panel { margin-top: 24px; }

@media (max-width: 680px) {
  .compact-channel-hero .lede { font-size: 16px; }
  .channel-directory-row { min-height: 48px; padding: 7px 10px; }
  .channel-directory-copy strong { font-size: 14px; }
}


/* Vertical broadcast list with direct channel links. */
.match-broadcasts { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 8px; padding-top: 7px; }
.broadcast-label { display: none; }
.broadcast-chip { display: flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 0; border: 0; border-radius: 0; color: #65717d; background: transparent; font-size: 13px; font-weight: 400; text-decoration: none; }
.broadcast-chip:hover { border: 0; color: var(--accent); background: transparent; }
.broadcast-chip.muted { border: 0; color: #65717d; background: transparent; }
.broadcast-marker { width: 0; height: 0; flex: 0 0 auto; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 5px solid currentColor; }
.agenda-panel .match-card-top { grid-template-columns: 56px 38px minmax(0, 1fr) auto; gap: 0; }
.agenda-panel .competition-badge,
.agenda-panel .card-country-logo { width: 38px; height: 38px; margin-left: 0; }
.agenda-panel .competition-badge img,
.agenda-panel .card-country-logo img { width: 100%; height: 100%; }
.agenda-panel .match-main { padding-left: 7px; padding-right: 8px; }
.agenda-panel .match-line { gap: 4px; }
@media (max-width: 680px) {
  .agenda-panel .match-card-top { grid-template-columns: 48px 38px minmax(0, 1fr); }
  .agenda-panel .match-main { padding-left: 6px; padding-right: 0; }
  .agenda-panel .match-broadcasts { margin-top: 7px; padding-top: 5px; }
  .agenda-panel .broadcast-chip { padding: 4px 0; font-size: 13px; line-height: 1.35; }
}


.match-card.is-expanded .match-broadcasts { display: grid; grid-template-columns: 1fr; gap: 0; }


/* Stack competition and teams to remove mobile gaps. */
@media (max-width: 680px) {
  .agenda-panel .match-line { display: block; line-height: 1.15; }
  .agenda-panel .match-league { display: block; line-height: 1.15; }
  .agenda-panel .match-line strong { display: block; margin-top: 1px; padding: 0; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .agenda-panel .match-main { padding-left: 4px; }
}


/* Compact agenda proportions inspired by the reference layout. */
.agenda-panel .match-card { padding: 7px 12px; }
.agenda-panel .match-card-top { grid-template-columns: 52px 34px minmax(0, 1fr) auto; }
.agenda-panel .competition-badge,
.agenda-panel .card-country-logo { width: 34px; height: 34px; }
.agenda-panel .competition-badge img,
.agenda-panel .card-country-logo img { width: 100%; height: 100%; }
.agenda-panel .match-time { font-size: 14px; }
.agenda-panel .match-league,
.agenda-panel .match-line strong { font-size: 14px; }
@media (max-width: 680px) {
  .site-header .brand, .site-header .brand span:last-child { font-size: 20px !important; }
  .main { padding-top: 4px; }
  .compact-home-hero h1 { font-size: 28px; margin-bottom: 12px; }
  .compact-home-hero .lede { margin: 10px 0 14px; font-size: 14px; line-height: 1.3; }
  .agenda-heading { height: 30px; padding: 6px; font-size: 13px; }
  .agenda-panel .match-card { padding: 6px 7px; }
  .agenda-panel .match-card-top { grid-template-columns: 44px 30px minmax(0, 1fr); }
  .agenda-panel .competition-badge,
  .agenda-panel .card-country-logo { width: 30px; height: 30px; }
  .agenda-panel .match-time { font-size: 13px; }
  .agenda-panel .match-league,
  .agenda-panel .match-line strong { font-size: 12px; line-height: 1.15; }
  .agenda-panel .match-main { padding-left: 3px; }
  .agenda-panel .match-broadcasts { margin-top: 5px; padding-top: 4px; }
  .agenda-panel .broadcast-chip { padding: 3px 0; font-size: 12px; }
}


/* Homepage guide and FAQ section. */
.home-seo { max-width: 820px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid #e1e5ea; }
.home-seo-content { max-width: 820px; margin: 0 auto; }
.home-seo h2 { margin: 0 0 14px; color: #2f3b4d; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.home-seo h3 { margin: 22px 0 8px; color: #2f3b4d; font-size: 16px; }
.home-seo p, .home-seo li { color: #5d6878; font-size: 14px; line-height: 1.65; }
.home-seo p { margin: 0 0 12px; }
.home-seo a { color: var(--accent-strong); font-weight: 700; }
.home-seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.home-seo-list { margin: 0; padding-left: 20px; }
.home-seo-list li + li { margin-top: 6px; }
.home-faq { margin-top: 8px; }
.home-faq details { padding: 11px 0; border-top: 1px solid #e1e5ea; }
.home-faq details:last-child { border-bottom: 1px solid #e1e5ea; }
.home-faq summary { cursor: pointer; list-style: none; color: #2f3b4d; font-size: 14px; font-weight: 700; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 18px; line-height: 1; }
.home-faq details[open] summary::after { content: "-"; }
.home-faq details p { margin: 8px 22px 0 0; font-size: 13px; }
@media (max-width: 680px) {
  .home-seo { margin-top: 30px; padding-top: 20px; }
  .home-seo h2 { font-size: 22px; }
  .home-seo h3 { font-size: 15px; }
  .home-seo p, .home-seo li { font-size: 13px; line-height: 1.55; }
  .home-seo-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .home-seo-list li + li { margin-top: 4px; }
}
