/* MLB Live Scores — Light Theme v1.1.0 */
:root {
  --bg:       #f0f4f8;
  --card:     #ffffff;
  --card2:    #f8fafc;
  --border:   #e2e8f0;
  --text:     #0f172a;
  --muted:    #64748b;
  --red:      #C8102E;
  --green:    #15803d;
  --yellow:   #b45309;
  --blue:     #002D72;
  --live:     #dc2626;
  --preview:  #4338ca;
  --final:    #64748b;
  --radius:   12px;
  --radius-sm:8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg) !important; }
body { background: var(--bg) !important; color: var(--text) !important; }

/* Kadence header — light with MLB navy border */
.site-header, .main-navigation, .site-branding,
#masthead, .kadence-top-header-wrap, .header-wrap {
  background: #ffffff !important;
  border-bottom: 3px solid var(--blue) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.site-header a, .main-navigation a, .site-title a, .site-title {
  color: var(--text) !important;
  text-shadow: none !important;
}
.main-navigation ul li a { font-weight: 600 !important; }
.main-navigation ul li a:hover { color: var(--red) !important; }

.site-title, .site-description { display: none !important; }

.site-branding .brand img.custom-logo,
.site-branding .custom-logo {
  max-height: 60px !important;
  width: auto !important;
  display: block !important;
}

/* Hide Game from nav */
.menu-item a[href*="/game/"] { display: none !important; }

/* Hide Kadence page title hero on scores/standings pages */
.entry-header, .page-header, .wp-block-post-title,
.kadence-page-header-wrap, .kadence-post-header,
.entry-title, h1.page-title, .page-title-wrap,
.hero-section, .wp-block-cover { display: none !important; }

/* Show title on individual recap posts */
.single-mlb_recap .entry-header,
.single-mlb_recap .entry-title { display: block !important; }

/* Content area — no extra spacing */
.entry-content, .entry-content-wrap, .page-content, .site-content,
.kadence-inner-column-inner, .wp-block-group,
.wp-site-blocks, .is-layout-flow, .site-main,
main.site-main, #primary, .content-area,
.entry, .post, .content-wrap, .content-container {
  background: transparent !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.container, .wp-block-group.alignwide, .alignfull { max-width: 100% !important; }

/* Footer */
footer.site-footer, #colophon {
  background: #f8fafc !important;
  border-top: 1px solid var(--border) !important;
  color: var(--muted) !important;
}
footer.site-footer a, #colophon a { color: var(--blue) !important; }

/* Hide Kadence theme credit */
.site-info a[href*="kadencewp"],
.site-info a[href*="kadence-woocommerce"],
.powered-by { display: none !important; }
.site-info { display: none !important; }
.site-info .sep:last-of-type { display: none !important; }

.mlb-legal-footer {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 10px 20px 14px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}
.mlb-legal-footer p { margin: 0 0 6px; }
.mlb-legal-footer a { color: var(--accent); text-decoration: none; }
.mlb-legal-footer a:hover { text-decoration: underline; }

.mlb-footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}
.mlb-footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  transition: color 0.15s;
}
.mlb-footer-links a:hover { color: var(--text); text-decoration: none; }
.mlb-footer-copy {
  font-size: 11px;
  color: var(--muted);
  padding-right: 10px;
  border-right: 1px solid var(--border);
  margin-right: 4px;
}

.mlb-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mlb-tz-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  cursor: pointer;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.mlb-tz-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.wp-site-blocks { padding: 0 !important; }
.site { padding-bottom: 0 !important; }

/* ── COMMON ── */
.mlb-section { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); max-width: 1200px; margin: 0 auto; padding: 0 16px 40px; }
.mlb-loading  { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:60px 20px; color:var(--muted); }
.mlb-error    { background:#fef2f2; border:1px solid #fca5a5; border-radius:var(--radius); padding:16px 20px; color:#991b1b; margin:20px 0; }
.mlb-no-games { display:flex; flex-direction:column; align-items:center; gap:8px; padding:60px 20px; color:var(--muted); font-size:18px; }
.mlb-no-games span { font-size:48px; }
.mlb-muted    { color: var(--muted); }
.bold         { font-weight:700; }
.hidden       { display:none !important; }
.dim          { opacity:0.4; }

.mlb-spinner { width:32px; height:32px; border:3px solid var(--border); border-top-color:var(--blue); border-radius:50%; animation:mlb-spin 0.8s linear infinite; }
@keyframes mlb-spin { to { transform:rotate(360deg); } }
.mlb-skeleton { height:80px; background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%); background-size:200%; animation:mlb-shimmer 1.4s infinite; border-radius:var(--radius); margin-bottom:12px; }
@keyframes mlb-shimmer { to { background-position:-200% center; } }
@keyframes mlb-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.pulse { animation: mlb-pulse 1.5s ease-in-out infinite; }

/* Buttons */
.mlb-btn-icon { background:var(--card); border:1px solid var(--border); color:var(--text); width:36px; height:36px; border-radius:50%; cursor:pointer; font-size:16px; display:inline-flex; align-items:center; justify-content:center; transition:all 0.15s; box-shadow:0 1px 2px rgba(0,0,0,0.05); }
.mlb-btn-icon:hover { background:var(--blue); color:#fff; border-color:var(--blue); }
.mlb-btn-sm   { background:var(--card); border:1px solid var(--border); color:var(--text); padding:6px 14px; border-radius:20px; cursor:pointer; font-size:13px; transition:all 0.15s; }
.mlb-btn-sm:hover { background:var(--blue); color:#fff; border-color:var(--blue); }
.mlb-select   { background:var(--card); border:1px solid var(--border); color:var(--text); padding:8px 12px; border-radius:var(--radius-sm); font-size:14px; cursor:pointer; }
.mlb-date-input { background:var(--card); border:1px solid var(--border); color:var(--text); padding:6px 12px; border-radius:var(--radius-sm); font-size:14px; cursor:pointer; }

/* Badges */
.mlb-badge         { display:inline-block; padding:4px 10px; border-radius:20px; font-size:11px; font-weight:700; letter-spacing:0.04em; }
.mlb-badge.live    { background:#fef2f2; color:#dc2626; border:1px solid #fca5a5; }
.mlb-badge.final   { background:#f1f5f9; color:var(--muted); border:1px solid var(--border); }
.mlb-badge.preview { background:#eef2ff; color:#4338ca; border:1px solid #c7d2fe; }
.mlb-live-badge    { display:inline-flex; align-items:center; gap:6px; padding:4px 12px; border-radius:20px; font-size:12px; font-weight:700; background:#fef2f2; color:#dc2626; border:1px solid #fca5a5; }

/* Tabs */
.mlb-tabs { display:flex; gap:4px; padding:8px 0; border-bottom:2px solid var(--border); margin-bottom:20px; overflow-x:auto; scrollbar-width:none; }
.mlb-tabs::-webkit-scrollbar { display:none; }
.mlb-tab  { background:transparent; border:none; color:var(--muted); padding:8px 16px; border-radius:var(--radius-sm); cursor:pointer; font-size:14px; white-space:nowrap; transition:all 0.15s; font-weight:500; }
.mlb-tab:hover  { background:var(--card2); color:var(--text); }
.mlb-tab.active { background:var(--blue); color:#ffffff; font-weight:600; }
.mlb-tab-content { display:none; }
.mlb-tab-content.active { display:block; }

/* ── SCOREBOARD ── */
.mlb-scoreboard-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 0 16px; flex-wrap:wrap; }
.mlb-date-nav { display:flex; align-items:center; gap:8px; }
.mlb-date-label { font-size:18px; font-weight:700; margin:0; color:var(--text); }

.mlb-game-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; }
@media (max-width:480px) { .mlb-game-cards { grid-template-columns:1fr; } }

.mlb-game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.mlb-game-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.12); }
.mlb-game-card.live { border-color:#fca5a5; }
.mlb-game-card::before { content:''; display:block; height:4px; background:linear-gradient(90deg,var(--away-color,#94a3b8),var(--home-color,#94a3b8)); }

.mlb-card-header { display:flex; align-items:center; justify-content:space-between; padding:10px 14px 4px; }
.mlb-venue { font-size:11px; color:var(--muted); }
.mlb-card-body { padding:8px 14px 10px; }

.mlb-score-row { display:flex; align-items:center; gap:10px; padding:5px 0; }
.mlb-team-logo { width:28px; height:28px; object-fit:contain; flex-shrink:0; }
.mlb-logo-xs   { width:20px; height:20px; object-fit:contain; flex-shrink:0; }
.mlb-logo-lg   { width:56px; height:56px; object-fit:contain; flex-shrink:0; }
.mlb-team-abbr { font-size:15px; font-weight:700; flex:1; }
.mlb-score     { font-size:24px; font-weight:800; min-width:30px; text-align:right; }
.mlb-score.score-lead { color:var(--blue); }

.mlb-matchup-row { display:flex; align-items:center; justify-content:space-between; padding:8px 0; }
.mlb-matchup-team { display:flex; flex-direction:column; align-items:center; gap:4px; }
.mlb-vs { font-size:13px; color:var(--muted); font-weight:600; }

.mlb-card-footer { border-top:1px solid var(--border); padding:10px 14px; display:flex; align-items:center; justify-content:space-between; gap:8px; background:var(--card2); }
.mlb-card-footer.pitchers { flex-direction:column; align-items:flex-start; gap:4px; }
.mlb-inning-info { display:flex; align-items:center; gap:8px; font-size:13px; }
.mlb-inning-label { font-weight:700; color:#dc2626; }
.mlb-outs { color:var(--muted); font-size:12px; }
.mlb-game-result { font-size:12px; color:var(--muted); }
.mlb-recap-link { font-size:11px; font-weight:600; text-decoration:none; color:var(--red); padding:2px 8px; border-radius:10px; border:1px solid rgba(230,57,70,.3); background:rgba(230,57,70,.1); white-space:nowrap; transition:background .15s; }
.mlb-recap-link:hover { background:rgba(230,57,70,.2); }
.mlb-pitcher { display:flex; align-items:center; gap:6px; font-size:13px; }
.mlb-pitcher-label { background:var(--border); border-radius:4px; padding:1px 5px; font-size:10px; font-weight:700; color:var(--muted); }

.mlb-diamond { position:relative; width:44px; height:44px; display:grid; grid-template-areas:"  second  " "third first" "  home  "; grid-template-columns:1fr 1fr 1fr; grid-template-rows:1fr 1fr 1fr; }
.mlb-base { width:12px; height:12px; border-radius:2px; background:#e2e8f0; border:1px solid #cbd5e1; transform:rotate(45deg); }
.mlb-base.on { background:var(--yellow); border-color:#d97706; box-shadow:0 0 6px #d97706aa; }
.mlb-base.second { grid-area:second; justify-self:center; align-self:start; margin-top:2px; }
.mlb-base.third  { grid-area:third;  justify-self:start; align-self:center; margin-left:2px; }
.mlb-base.first  { grid-area:first;  justify-self:end;   align-self:center; margin-right:2px; }
.mlb-home-plate  { grid-area:home;   justify-self:center; align-self:end; width:10px; height:10px; background:var(--muted); border-radius:1px; margin-bottom:2px; clip-path:polygon(50% 0%,100% 33%,100% 100%,0% 100%,0% 33%); }

/* ── GAME DETAIL ── */
.mlb-game-header { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; margin-bottom:20px; position:relative; box-shadow:0 1px 4px rgba(0,0,0,0.06); }
.mlb-game-header::before { content:''; display:block; position:absolute; top:0; left:0; right:0; height:5px; border-radius:var(--radius) var(--radius) 0 0; background:linear-gradient(90deg,var(--away-color,#94a3b8),var(--home-color,#94a3b8)); }

.mlb-back-btn { display:inline-block; color:var(--blue); font-size:13px; text-decoration:none; margin-bottom:16px; font-weight:600; }
.mlb-back-btn:hover { color:var(--red); }

.mlb-game-teams { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.mlb-game-team { display:flex; align-items:center; gap:14px; flex:1; }
.mlb-game-team.home { flex-direction:row-reverse; text-align:right; }
.mlb-team-name-full { font-size:18px; font-weight:700; }
.mlb-team-record    { font-size:13px; color:var(--muted); }

.mlb-game-score-center { text-align:center; flex-shrink:0; }
.mlb-main-score { font-size:42px; font-weight:900; display:flex; align-items:center; justify-content:center; gap:8px; line-height:1; }
.mlb-score-dash { font-size:28px; color:var(--muted); }
.mlb-game-status-str { font-size:14px; color:var(--muted); margin-top:4px; }
.mlb-game-status-str.live { color:#dc2626; font-weight:700; }
.mlb-live-dot { width:8px; height:8px; background:#dc2626; border-radius:50%; display:inline-block; margin-top:6px; }

.mlb-live-panel { display:flex; gap:20px; background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; margin-bottom:20px; flex-wrap:wrap; box-shadow:0 1px 4px rgba(0,0,0,0.06); }
.mlb-diamond-panel { display:flex; align-items:center; gap:20px; }
.mlb-diamond-lg svg { width:120px; height:120px; }
.mlb-count-display { text-align:center; }
.mlb-count-label { font-size:11px; color:var(--muted); letter-spacing:0.1em; margin-bottom:6px; font-weight:600; }
.mlb-count-dots { display:flex; gap:6px; align-items:center; margin-bottom:4px; }
.mlb-dot { width:10px; height:10px; border-radius:50%; background:#e2e8f0; border:1px solid #cbd5e1; display:inline-block; }
.mlb-dot.ball.on   { background:#3b82f6; border-color:#2563eb; }
.mlb-dot.strike.on { background:#f59e0b; border-color:#d97706; }
.mlb-dot.out.on    { background:#dc2626; border-color:#b91c1c; }
.mlb-count-nums { font-size:18px; font-weight:700; letter-spacing:0.1em; }

.mlb-matchup-info { flex:1; display:flex; flex-direction:column; gap:8px; justify-content:center; }
.mlb-matchup-player { display:flex; align-items:center; gap:8px; }
.mlb-player-photo { width:40px; height:40px; min-width:40px; border-radius:50%; object-fit:cover; object-position:top; border:2px solid var(--border); flex-shrink:0; }
.mlb-mp-info { display:flex; flex-direction:column; gap:1px; }
.mlb-mp-label { font-size:10px; color:var(--muted); letter-spacing:0.08em; font-weight:600; }
.mlb-mp-name  { font-size:14px; font-weight:600; }
.mlb-pitch-sequence { display:flex; gap:6px; flex-wrap:wrap; margin-top:4px; }
.mlb-pitch-chip { display:inline-flex; flex-direction:column; align-items:center; border-radius:6px; padding:5px 8px; font-size:10px; line-height:1.3; border:1px solid var(--border); background:var(--card2); cursor:default; }
.mlb-pitch-chip.ball   { border-color:#22c55e; background:#f0fdf4; color:#166534; }
.mlb-pitch-chip.strike { border-color:#ef4444; background:#fef2f2; color:#991b1b; }
.mlb-pitch-chip.foul   { border-color:#f59e0b; background:#fffbeb; color:#92400e; }
.mlb-pitch-chip.inplay { border-color:#3b82f6; background:#eff6ff; color:#1d4ed8; }
.mlb-pitch-result { font-size:13px; font-weight:800; line-height:1; }
.mlb-pitch-type   { font-size:9px; color:inherit; opacity:0.8; white-space:nowrap; margin-top:2px; }

.mlb-linescore-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.mlb-linescore { border-collapse:collapse; min-width:100%; font-size:14px; }
.mlb-linescore th, .mlb-linescore td { padding:8px 10px; text-align:center; border-bottom:1px solid var(--border); white-space:nowrap; }
.mlb-linescore th { color:var(--muted); font-weight:600; font-size:12px; background:var(--card2); }
.mlb-linescore tbody tr:hover { background:var(--card2); }
.mlb-ls-team  { font-weight:700; text-align:left !important; min-width:50px; }
.mlb-ls-total { font-weight:700; border-left:2px solid var(--border) !important; }

.mlb-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.mlb-stats-table { border-collapse:collapse; width:100%; font-size:13px; min-width:400px; }
.mlb-stats-table th { color:var(--muted); font-weight:600; font-size:12px; padding:8px 12px; border-bottom:2px solid var(--border); text-align:left; white-space:nowrap; background:var(--card2); }
.mlb-stats-table td { padding:8px 12px; border-bottom:1px solid var(--border); white-space:nowrap; }
.mlb-stats-table tr:hover td { background:var(--card2); }
.mlb-stats-table.standings th, .mlb-stats-table.standings td { text-align:center; }
.mlb-stats-table.standings th:first-child, .mlb-stats-table.standings td:first-child { text-align:left; }
.mlb-player-cell { display:flex; align-items:center; gap:8px; }
.mlb-player-pos  { background:var(--border); color:var(--muted); border-radius:4px; padding:1px 5px; font-size:10px; font-weight:700; }

.mlb-bs-section { margin-bottom:32px; }
.mlb-bs-team-title { font-size:15px; font-weight:700; margin:20px 0 10px; border-left:3px solid var(--blue); padding-left:10px; }

/* ── LINESCORE TOP (above diamond) ── */
.mlb-linescore-top { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:8px; box-shadow:0 1px 4px rgba(0,0,0,0.06); overflow-x:auto; }

/* ── GAME SECTIONS (no-tab layout) ── */
.mlb-game-sections { display:flex; flex-direction:column; gap:20px; }
.mlb-game-section { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; box-shadow:0 1px 4px rgba(0,0,0,0.06); }
.mlb-section-title { font-size:15px; font-weight:700; color:var(--text); margin:0 0 16px; padding-bottom:10px; border-bottom:2px solid var(--border); letter-spacing:0.01em; }
.mlb-boxscore-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:768px) { .mlb-boxscore-grid { grid-template-columns:1fr; gap:16px; } }
.mlb-bs-team { display:flex; flex-direction:column; gap:16px; }
.mlb-bs-team-label { font-size:17px; font-weight:800; color:var(--text); border-left:3px solid var(--blue); padding-left:10px; }
.mlb-bs-subsection { display:flex; flex-direction:column; gap:6px; }
.mlb-bs-subtitle { font-size:11px; font-weight:700; color:var(--muted); letter-spacing:0.08em; text-transform:uppercase; }

/* ── PLAY-BY-PLAY SCROLL ── */
.mlb-plays-scroll { max-height:500px; overflow-y:auto; display:flex; flex-direction:column; gap:2px; scroll-behavior:smooth; }
.mlb-plays-scroll::-webkit-scrollbar { width:4px; }
.mlb-plays-scroll::-webkit-scrollbar-track { background:var(--card2); border-radius:4px; }
.mlb-plays-scroll::-webkit-scrollbar-thumb { background:var(--border); border-radius:4px; }
.mlb-plays-list { display:flex; flex-direction:column; gap:2px; }
.mlb-play-item { display:flex; gap:12px; padding:12px; background:var(--card); border:1px solid var(--border); border-radius:6px; transition:background 0.1s; }
.mlb-play-item:hover { background:var(--card2); }
.mlb-play-item.scoring { background:#f0fdf4; border-left:3px solid var(--green); }
.mlb-play-inning { font-size:13px; font-weight:700; color:var(--muted); min-width:28px; flex-shrink:0; }
.mlb-play-desc { font-size:13px; line-height:1.4; }
.mlb-play-event { display:block; font-weight:700; color:var(--blue); margin-bottom:2px; font-size:12px; }
.mlb-play-rbi   { display:inline-block; background:var(--green); color:#fff; border-radius:10px; padding:1px 8px; font-size:11px; font-weight:700; margin-left:6px; }

.mlb-chart-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.mlb-chart-box  { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; box-shadow:0 1px 4px rgba(0,0,0,0.06); }
.mlb-chart-box h3 { margin:0 0 16px; font-size:14px; color:var(--muted); font-weight:600; }
@media (max-width:600px) { .mlb-chart-grid { grid-template-columns:1fr; } }

/* ── HIGHLIGHTS ── */
.mlb-highlights-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; }
.mlb-highlight-item { display:flex; flex-direction:column; gap:8px; }
.mlb-highlight-video { width:100%; border-radius:var(--radius-sm,6px); background:#000; aspect-ratio:16/9; display:block; }
.mlb-highlight-title { font-size:13px; color:var(--text); font-weight:500; line-height:1.4; }
@media (max-width:600px) { .mlb-highlights-grid { grid-template-columns:1fr; } }

.mlb-decisions { display:flex; gap:12px; padding:16px; background:var(--card); border:1px solid var(--border); border-radius:var(--radius); margin-top:20px; flex-wrap:wrap; }
.mlb-decision  { display:flex; align-items:center; gap:8px; font-size:14px; }
.mlb-decision span { font-size:11px; font-weight:800; padding:3px 7px; border-radius:4px; }
.mlb-decision.win  span { background:#f0fdf4; color:var(--green); border:1px solid #86efac; }
.mlb-decision.loss span { background:#fef2f2; color:#dc2626; border:1px solid #fca5a5; }
.mlb-decision.save span { background:#eef2ff; color:#4338ca; border:1px solid #c7d2fe; }

/* ── HIGHLIGHTS ── */
.mlb-highlights-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:16px; }
.mlb-highlight-card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; cursor:pointer; transition:transform 0.15s,box-shadow 0.15s; }
.mlb-highlight-card:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,0.12); }
.mlb-highlight-thumb { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; background:var(--card2); }
.mlb-highlight-info { padding:10px 12px; }
.mlb-highlight-title { font-size:13px; font-weight:600; line-height:1.4; }
.mlb-highlight-duration { font-size:11px; color:var(--muted); margin-top:4px; }

/* ── STANDINGS ── */
.mlb-standings-wrap { padding-top:8px; }
.mlb-league-tabs { display:flex; gap:4px; margin-bottom:20px; border-bottom:2px solid var(--border); }
.mlb-league-section { display:none; }
.mlb-league-section.active { display:block; }
.mlb-div-table { margin-bottom:32px; }
.mlb-div-name  { font-size:16px; font-weight:700; margin:0 0 12px; border-left:3px solid var(--red); padding-left:10px; }
.mlb-team-cell { display:flex; align-items:center; gap:8px; }
.mlb-team-dot  { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.mlb-team-short { font-weight:600; }
.div-leader td  { background:#f0f7ff; }
.col-team { min-width:160px; }
.streak-w { color:var(--green); font-weight:700; }
.streak-l { color:#dc2626; font-weight:700; }

/* ── SCHEDULE ── */
.mlb-schedule-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 0 16px; flex-wrap:wrap; }
.mlb-sched-date-label { font-size:15px; font-weight:700; padding:12px 0 8px; color:var(--muted); border-bottom:1px solid var(--border); margin-bottom:4px; }
.mlb-sched-list { display:flex; flex-direction:column; gap:2px; }
.mlb-sched-row { display:flex; align-items:center; gap:16px; padding:14px 16px; background:var(--card); border:1px solid var(--border); border-radius:var(--radius-sm); transition:all 0.15s; flex-wrap:wrap; }
.mlb-sched-row.clickable { cursor:pointer; }
.mlb-sched-row.clickable:hover { background:var(--card2); transform:translateX(3px); box-shadow:0 2px 8px rgba(0,0,0,0.08); }
.mlb-sched-status { flex-shrink:0; min-width:90px; }
.mlb-sched-teams { flex:1; min-width:200px; }
.mlb-sched-venue { font-size:12px; color:var(--muted); flex-shrink:0; }
.mlb-sched-score { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.mlb-sched-team-score { display:flex; align-items:center; gap:6px; }
.mlb-sched-team-score.winner .mlb-score-num { color:var(--blue); font-weight:800; }
.mlb-score-num   { font-size:18px; font-weight:700; min-width:22px; }
.mlb-vs-sm       { color:var(--muted); font-size:13px; }
.mlb-pitcher-name { font-size:12px; max-width:90px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ── TEAMS ── */
.mlb-leagues-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 8px;
  align-items: start;
}
@media (max-width: 680px) {
  .mlb-leagues-layout { grid-template-columns: 1fr; }
}
.mlb-league-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
  color: var(--text);
}
.mlb-div-group { margin-bottom: 18px; }
.mlb-div-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 5px;
  padding: 0 4px;
}
.mlb-team-rows { display: flex; flex-direction: column; gap: 2px; }
.mlb-team-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 15px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
}
.mlb-team-row:hover { background:var(--card2); transform:translateX(3px); box-shadow:0 2px 8px rgba(0,0,0,0.08); }
.mlb-team-row-bar { position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--team-color, var(--blue)); }
.mlb-team-row-logo { width:26px; height:26px; object-fit:contain; flex-shrink:0; }
.mlb-team-row-name { flex:1; font-size:13px; font-weight:600; color:var(--text); }
.mlb-team-row-record { font-size:12px; color:var(--muted); font-weight:600; flex-shrink:0; }

/* ── PLAYERS DIRECTORY ── */
.mlb-dir-top { display:flex; align-items:center; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
.mlb-search-input { flex:1; min-width:180px; background:var(--card); border:1px solid var(--border); color:var(--text); padding:9px 14px; border-radius:var(--radius-sm); font-size:14px; outline:none; }
.mlb-search-input:focus { border-color:var(--blue); box-shadow:0 0 0 2px rgba(0,45,114,0.1); }
.mlb-dir-count { font-size:13px; color:var(--muted); white-space:nowrap; }
.mlb-letter-nav { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:16px; }
.mlb-letter-btn { background:var(--card); border:1px solid var(--border); color:var(--muted); padding:4px 9px; border-radius:6px; cursor:pointer; font-size:12px; font-weight:700; transition:background 0.12s,color 0.12s; line-height:1.4; }
.mlb-letter-btn:hover  { background:var(--card2); color:var(--text); }
.mlb-letter-btn.active { background:var(--blue); border-color:var(--blue); color:#fff; }
.mlb-player-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px; }
.mlb-player-dir-card { display:flex; align-items:center; gap:10px; background:var(--card); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px 12px; text-decoration:none; color:var(--text); transition:border-color 0.15s,box-shadow 0.15s; position:relative; overflow:hidden; }
.mlb-player-dir-card:hover { border-color:var(--blue); box-shadow:0 2px 8px rgba(0,45,114,0.1); }
.mlb-dir-photo { width:40px; height:40px; border-radius:50%; object-fit:cover; object-position:50% 15%; flex-shrink:0; background:var(--card2); }
.mlb-dir-info { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.mlb-dir-name { font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mlb-dir-meta { font-size:11px; color:var(--muted); }
.mlb-dir-team-logo { width:24px; height:24px; object-fit:contain; flex-shrink:0; opacity:0.85; }
@media (max-width:500px) { .mlb-player-grid { grid-template-columns:1fr 1fr; } .mlb-letter-btn { padding:3px 7px; font-size:11px; } }

/* legacy leader styles (kept for other uses) */
.mlb-rank   { color:var(--muted); font-weight:700; }
.mlb-team-pill { display:inline-block; padding:2px 8px; border-radius:20px; font-size:11px; font-weight:700; color:rgba(255,255,255,0.95); }

/* ── PLAYER DETAIL ── */
.mlb-player-hero { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:24px; margin-bottom:20px; display:flex; gap:24px; align-items:flex-start; box-shadow:0 1px 4px rgba(0,0,0,0.06); position:relative; overflow:hidden; }
.mlb-player-hero::before { content:''; position:absolute; top:0; left:0; right:0; height:5px; background:var(--player-color, var(--blue)); }
.mlb-player-headshot { width:96px; height:96px; border-radius:50%; object-fit:cover; border:3px solid var(--border); flex-shrink:0; }
.mlb-player-headshot-ph { width:96px; height:96px; border-radius:50%; background:var(--card2); border:3px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:36px; flex-shrink:0; }
.mlb-player-pos-badge { display:inline-block; background:var(--player-color, var(--blue)); color:#fff; border-radius:4px; padding:2px 10px; font-size:11px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; margin-bottom:6px; }
.mlb-player-info h1 { font-size:24px; font-weight:800; margin:0 0 4px; display:flex; align-items:baseline; gap:10px; }
.mlb-jersey-num { font-size:16px; font-weight:600; color:var(--muted); }
.mlb-player-meta { display:flex; gap:16px; flex-wrap:wrap; color:var(--muted); font-size:13px; margin:8px 0 16px; }
.mlb-player-meta span { display:flex; align-items:center; gap:4px; }
.mlb-stat-highlights { display:flex; gap:12px; flex-wrap:wrap; }
.mlb-stat-hl { background:var(--card2); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px 18px; text-align:center; min-width:72px; }
.mlb-stat-hl .val { font-size:22px; font-weight:800; color:var(--blue); display:block; }
.mlb-stat-hl .lbl { font-size:11px; color:var(--muted); font-weight:600; margin-top:2px; }
.mlb-player-sections { display:flex; flex-direction:column; gap:0; }
.mlb-player-section { margin-bottom:28px; }
.mlb-player-section h2 { font-size:15px; font-weight:700; color:var(--text); margin:0 0 12px; padding-bottom:8px; border-bottom:2px solid var(--border); }
@media (max-width:600px) { .mlb-player-hero { flex-direction:column; } }

/* ── TEAM DETAIL ── */
.mlb-team-hero { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:24px; margin-bottom:20px; position:relative; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,0.06); }
.mlb-team-hero::before { content:''; position:absolute; top:0; left:0; right:0; height:5px; }
.mlb-team-hero-inner { display:flex; align-items:center; gap:20px; }
.mlb-team-hero-logo { width:80px; height:80px; object-fit:contain; }
.mlb-team-hero-info h1 { font-size:26px; font-weight:800; margin:0 0 4px; }
.mlb-team-hero-info .record { font-size:18px; color:var(--blue); font-weight:700; }
.mlb-team-hero-info .division { font-size:13px; color:var(--muted); margin-top:2px; }

/* ── TRANSACTIONS TICKER ── */
.mlb-ticker-wrap { background:var(--blue); overflow:hidden; white-space:nowrap; position:relative; }
.mlb-ticker-inner { display:flex; align-items:center; gap:0; }
.mlb-ticker-label { background:var(--red); color:#fff; font-size:11px; font-weight:800; letter-spacing:0.1em; padding:8px 14px; flex-shrink:0; z-index:1; }
.mlb-ticker-scroll { display:flex; gap:48px; animation:mlb-ticker 120s linear infinite; padding:8px 32px; }
.mlb-ticker-scroll:hover { animation-play-state:paused; }
.mlb-ticker-item { color:#fff; font-size:13px; white-space:nowrap; }
.mlb-ticker-item strong { color:#93c5fd; }
@keyframes mlb-ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── MOBILE NAV ── */
.mlb-mobile-nav {
  display:none;
  position:fixed; bottom:0; left:0; right:0;
  background:#ffffff;
  border-top:2px solid var(--blue);
  z-index:9999;
  padding-bottom:env(safe-area-inset-bottom);
  box-shadow:0 -2px 12px rgba(0,0,0,0.1);
}
.mlb-mobile-nav-inner { display:flex; justify-content:space-around; padding:8px 0; }
.mlb-mobile-nav a { display:flex; flex-direction:column; align-items:center; gap:3px; color:var(--muted); text-decoration:none; font-size:10px; padding:4px 12px; border-radius:8px; transition:color 0.15s; font-weight:500; }
.mlb-mobile-nav a.active, .mlb-mobile-nav a:hover { color:var(--blue); }
.mlb-mobile-nav a span.icon { font-size:20px; }
@media (max-width:768px) { .mlb-mobile-nav { display:block; } body { padding-bottom:70px !important; } }

/* ── STATS PAGE ── */
.mlb-stats-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.mlb-stats-toggles { display:flex; gap:8px; flex-wrap:wrap; }
.mlb-stats-filters { display:flex; gap:8px; flex-wrap:wrap; }
.mlb-btn-group { display:inline-flex; border:1px solid var(--border); border-radius:8px; overflow:hidden; }
.mlb-tgl { background:var(--card); color:var(--muted); border:none; padding:7px 16px; font-size:13px; font-weight:600; cursor:pointer; transition:background 0.15s,color 0.15s; white-space:nowrap; }
.mlb-tgl:not(:last-child) { border-right:1px solid var(--border); }
.mlb-tgl.active { background:var(--blue); color:#fff; }
.mlb-tgl:hover:not(.active) { background:var(--card2); color:var(--text); }
.mlb-stats-table-wrap { overflow-x:auto; border-radius:var(--radius); border:1px solid var(--border); background:var(--card); }
.mlb-stats-table { width:100%; border-collapse:collapse; font-size:13px; }
.mlb-stats-table thead { position:sticky; top:0; z-index:2; }
.mlb-stat-rank { width:36px; text-align:center; color:var(--muted); font-size:12px; background:var(--card2); border-right:1px solid var(--border); padding:8px 6px; }
thead .mlb-stat-rank { font-weight:700; color:var(--text); }
.mlb-stat-th { background:var(--card2); color:var(--text); font-size:11px; font-weight:700; letter-spacing:0.04em; text-align:right; padding:9px 10px; border-bottom:2px solid var(--border); white-space:nowrap; cursor:pointer; user-select:none; }
.mlb-stat-th.left { text-align:left; min-width:140px; }
.mlb-stat-th.sorted { color:var(--blue); background:#eff6ff; }
.mlb-stat-th:hover { background:var(--hover,#f1f5f9); color:var(--blue); }
.mlb-stat-td { text-align:right; padding:7px 10px; border-bottom:1px solid var(--border); white-space:nowrap; color:var(--text); }
.mlb-stat-td.left { text-align:left; }
.mlb-stat-td.sorted { background:#f0f7ff; font-weight:600; }
.mlb-stats-table tbody tr:last-child td { border-bottom:none; }
.mlb-stats-table tbody tr.alt td { background:var(--card2); }
.mlb-stats-table tbody tr.alt .mlb-stat-td.sorted { background:#e8f4fd; }
.mlb-stats-table tbody tr:hover td { background:#e8f2fb; }
.mlb-stat-link { color:var(--text); text-decoration:none; font-weight:600; }
.mlb-stat-link:hover { color:var(--blue); text-decoration:underline; }
.mlb-stat-abbr { color:var(--muted); text-decoration:none; font-weight:500; }
.mlb-stat-abbr:hover { color:var(--blue); }
.mlb-stat-pos { display:inline-block; margin-left:6px; font-size:10px; color:var(--muted); font-weight:500; background:var(--card2); border:1px solid var(--border); border-radius:4px; padding:1px 4px; vertical-align:middle; }
.mlb-stat-team-cell { display:flex; align-items:center; gap:6px; }
@media (max-width:600px) {
  .mlb-stats-header { flex-direction:column; align-items:flex-start; }
  .mlb-stat-th.left, .mlb-stat-td.left { min-width:120px; }
}

/* ── RESPONSIVE ── */
@media (max-width:600px) {
  .mlb-game-teams { flex-direction:column; gap:12px; }
  .mlb-game-team.home { flex-direction:row; text-align:left; }
  .mlb-main-score { font-size:32px; }
  .mlb-team-name-full { font-size:15px; }
  .mlb-schedule-header { flex-direction:column; align-items:flex-start; }
  .mlb-live-panel { flex-direction:column; }
  .mlb-date-label { font-size:15px; }
}
@media (max-width:400px) {
  .mlb-section { padding:0 10px 100px; }
  .mlb-game-card { border-radius:8px; }
}

/* ── GAME RECAP NEWS POSTS ───────────────────────────────── */
.mlb-recap-article { margin:0 0 32px; font-size:16px; line-height:1.75; color:var(--text); }
.mlb-recap-article h2 { font-size:20px; font-weight:700; margin:28px 0 10px; color:var(--text); }
.mlb-recap-article p { margin:0 0 16px; }

/* Video: 16:9 always, first-frame visible via preload=metadata */
.mlb-recap-video { margin:24px 0; border-radius:var(--radius); overflow:hidden; background:#000; }
.mlb-recap-video video { width:100%; display:block; aspect-ratio:16/9; object-fit:contain; background:#000; }
.mlb-recap-video figcaption { font-size:12px; color:var(--muted); padding:8px 12px; background:var(--card2); }

.mlb-recap-boxscore { margin:0 0 60px; }
.mlb-recap-boxscore h2 { font-size:18px; font-weight:700; margin:0 0 16px; }
.mlb-recap-boxscore h3 { font-size:14px; font-weight:700; color:var(--text); text-transform:uppercase; letter-spacing:.05em; margin:24px 0 8px; display:flex; align-items:center; gap:8px; }
.mlb-recap-bs-logo { width:22px; height:22px; object-fit:contain; flex-shrink:0; }

.mlb-recap-table-wrap { overflow-x:auto; border:1px solid var(--border); border-radius:var(--radius-sm); margin-bottom:4px; }
.mlb-recap-table { width:100%; border-collapse:collapse; font-size:13px; }
.mlb-recap-table thead th { background:var(--card2); padding:8px 10px; text-align:left; font-size:11px; font-weight:700; color:var(--muted); white-space:nowrap; border-bottom:1px solid var(--border); }
.mlb-recap-table tbody tr:nth-child(even) { background:var(--card2); }
.mlb-recap-table tbody td { padding:7px 10px; white-space:nowrap; border-bottom:1px solid var(--border); }
.mlb-recap-table tbody tr:last-child td { border-bottom:none; }
.mlb-recap-pos { font-size:10px; color:var(--muted); margin-left:4px; }

/* Player headshot */
.mlb-recap-player-photo { width:56px; height:56px; border-radius:50%; object-fit:cover; object-position:50% 15%; background:var(--card2); border:2px solid var(--border); flex-shrink:0; }

/* Team logo (small inline) */
.mlb-recap-team-logo { width:18px; height:18px; object-fit:contain; vertical-align:middle; margin-right:4px; }

/* Pitcher decision cards */
.mlb-recap-decisions { margin:0 0 28px; }
.mlb-recap-section-title { font-size:13px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; margin:0 0 12px; border-bottom:1px solid var(--border); padding-bottom:8px; }
.mlb-recap-pitcher-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; }
.mlb-recap-pitcher-card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:16px 18px; position:relative; overflow:hidden; }
.mlb-recap-pitcher-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; }
.mlb-recap-pitcher-win::before  { background:var(--green); }
.mlb-recap-pitcher-loss::before { background:var(--red); }
.mlb-recap-pitcher-save::before { background:var(--blue); }
.mlb-recap-pitcher-badge { display:inline-block; font-size:10px; font-weight:800; letter-spacing:.08em; padding:3px 9px; border-radius:3px; flex-shrink:0; align-self:flex-start; }
.mlb-recap-pitcher-win  .mlb-recap-pitcher-badge { background:#dcfce7; color:var(--green); }
.mlb-recap-pitcher-loss .mlb-recap-pitcher-badge { background:#fef2f2; color:var(--red); }
.mlb-recap-pitcher-save .mlb-recap-pitcher-badge { background:#dbeafe; color:var(--blue); }
.mlb-recap-pitcher-head { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; margin-bottom:14px; }
.mlb-recap-pitcher-identity { display:flex; align-items:center; gap:12px; min-width:0; }
.mlb-recap-pitcher-name { font-size:16px; font-weight:700; color:var(--text); line-height:1.2; margin-bottom:4px; display:block; text-decoration:none; }
.mlb-recap-pitcher-name:hover { color:var(--blue); }
.mlb-recap-pitcher-team { font-size:12px; color:var(--muted); display:flex; align-items:center; gap:0; }
.mlb-recap-team-link { color:inherit; text-decoration:none; display:inline-flex; align-items:center; gap:0; }
.mlb-recap-team-link:hover { color:var(--blue); }
.mlb-recap-player-link { color:inherit; text-decoration:none; }
.mlb-recap-player-link:hover { color:var(--blue); }
.mlb-recap-pitcher-stats { display:flex; flex-wrap:wrap; gap:6px; }
.mlb-recap-pstat { font-size:11px; color:var(--muted); background:var(--card2); border-radius:4px; padding:4px 8px; display:flex; flex-direction:column; align-items:center; gap:1px; min-width:32px; }
.mlb-recap-pstat strong { font-size:14px; font-weight:700; color:var(--text); display:block; line-height:1; }

/* Star batter cards */
.mlb-recap-performers { margin:0 0 36px; }
.mlb-recap-batter-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.mlb-recap-batter-card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:16px 18px; }
.mlb-recap-batter-team { font-size:11px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; display:flex; align-items:center; gap:0; }
.mlb-recap-batter-head { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.mlb-recap-batter-name { font-size:17px; font-weight:700; color:var(--text); line-height:1.2; }
.mlb-recap-batter-pos { font-size:12px; font-weight:400; color:var(--muted); }
.mlb-recap-batter-avg { font-size:12px; color:var(--muted); margin-top:2px; }
.mlb-recap-batter-stats { display:flex; flex-wrap:wrap; gap:6px; }
.mlb-recap-bstat { font-size:11px; color:var(--muted); background:var(--card2); border-radius:4px; padding:4px 8px; display:flex; flex-direction:column; align-items:center; gap:1px; min-width:34px; }
.mlb-recap-bstat strong { font-size:15px; font-weight:700; color:var(--text); display:block; line-height:1; }
.mlb-recap-bstat-hot { background:#fff7ed; }
.mlb-recap-bstat-hot strong { color:#c2410c; }

/* Related internal links */
.mlb-recap-related { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 32px; padding:20px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.mlb-recap-related a { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:var(--blue); text-decoration:none; padding:6px 14px; border:1px solid var(--blue); border-radius:20px; white-space:nowrap; }
.mlb-recap-related a:hover { background:var(--blue); color:#fff; }
.mlb-recap-related a .mlb-recap-team-logo { width:16px; height:16px; }

/* ── NEWS ARCHIVE (/news/) ───────────────────────────────── */
.mlb-news-archive-wrap {
  background: var(--bg);
  min-height: 60vh;
  padding: 36px 0 80px;
}
.mlb-news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.mlb-news-archive-header { margin-bottom: 28px; }
.mlb-news-title { font-size: 28px; font-weight: 800; color: var(--text); margin: 0 0 6px; }
.mlb-news-subtitle { font-size: 15px; color: var(--muted); margin: 0; }

/* Grid */
.mlb-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .mlb-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .mlb-news-grid { grid-template-columns: 1fr; } }

/* Card */
.mlb-news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
}
.mlb-news-card:hover {
  box-shadow: 0 8px 32px rgba(0,45,114,0.12);
  transform: translateY(-2px);
}

/* Thumbnail area */
.mlb-news-card-thumb-link { display: block; }
.mlb-news-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a1a2e;
  overflow: hidden;
}
.mlb-news-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.mlb-news-card:hover .mlb-news-thumb-img { transform: scale(1.04); }

/* Fallback when no thumbnail: team logos on navy */
.mlb-news-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, #0f1b35 0%, #002d72 100%);
}
.mlb-news-fallback-logo { width: 64px; height: 64px; object-fit: contain; opacity: 0.9; }
.mlb-news-fallback-vs   { font-size: 16px; font-weight: 800; color: rgba(255,255,255,0.35); letter-spacing: .05em; }

/* Score badge overlay (bottom of thumbnail) */
.mlb-news-score-badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  padding: 32px 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mlb-news-badge-logo {
  width: 24px; height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}
.mlb-news-badge-scores {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.mlb-news-score-w { color: #fff; }
.mlb-news-score-l { color: rgba(255,255,255,0.5); font-weight: 600; }
.mlb-news-badge-dash { color: rgba(255,255,255,0.4); font-weight: 400; font-size: 14px; }

/* Card body */
.mlb-news-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mlb-news-matchup {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.mlb-news-at { font-weight: 400; }
.mlb-news-headline {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}
.mlb-news-headline a { color: var(--text); text-decoration: none; }
.mlb-news-headline a:hover { color: var(--blue); }
.mlb-news-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mlb-news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.mlb-news-date { font-size: 12px; color: var(--muted); }
.mlb-news-read-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  padding: 5px 13px;
  border: 1.5px solid var(--blue);
  border-radius: 20px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.mlb-news-read-btn:hover { background: var(--blue); color: #fff; }

/* Pagination */
.mlb-news-pagination { margin-top: 40px; }
.mlb-news-pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.mlb-news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: var(--card);
  transition: background 0.12s;
}
.mlb-news-pagination .page-numbers.current {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.mlb-news-pagination .page-numbers:hover:not(.current) { background: var(--card2); }

/* Empty state */
.mlb-news-empty { padding: 60px 0; text-align: center; color: var(--muted); font-size: 16px; }

/* ── TEAM & PLAYER BLURB SECTIONS ── */
.mlb-blurb-section { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--border); }
.mlb-blurb-section h2 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.mlb-blurb-text p { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0 0 12px; }
.mlb-blurb-text p:last-child { margin-bottom: 0; }
