/* ===== Extra Goal - Black & Gold Theme ===== */
:root {
  --gold-300: #e8c97a;
  --gold-400: #d4a853;
  --gold-500: #c9a227;
  --gold-600: #b8922a;
  --gold-700: #9a7b1f;
  --green-live: #22c55e;
  --card-red: #e63946;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Inter', sans-serif;
  --header-h: 156px;
}

/* Dark Mode (Default) */
html,
[data-theme="dark"] {
  --navy-950: #000000;
  --navy-900: #0a0a0a;
  --navy-800: #111111;
  --navy-700: #1a1a1a;
  --navy-600: #242424;
  --accent: var(--gold-500);
  --accent-hover: var(--gold-400);
  --accent-muted: rgba(201, 162, 39, 0.15);
  --accent-glow: rgba(201, 162, 39, 0.35);
  --red-500: var(--gold-500);
  --red-600: var(--gold-600);
  --white: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --gray-100: #f5f5f5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(201, 162, 39, 0.25);
  --btn-on-accent: #000000;
  --hero-overlay: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
  --breaking-bg: linear-gradient(90deg, #9a7b1f, #c9a227, #d4a853);
  --breaking-text: #000000;
  --breaking-label-bg: #000000;
  --breaking-label-color: var(--gold-400);
  --nav-scrolled: rgba(0, 0, 0, 0.97);
  --input-bg: #0a0a0a;
  --ghost-bg: rgba(255, 255, 255, 0.06);
  --ghost-border: rgba(255, 255, 255, 0.12);
  --ghost-hover: rgba(255, 255, 255, 0.12);
  --menu-bar: #ffffff;
  color-scheme: dark;
}

/* Light Mode */
[data-theme="light"] {
  --navy-950: #f7f4ee;
  --navy-900: #ffffff;
  --navy-800: #ffffff;
  --navy-700: #f0ebe0;
  --navy-600: #e5ddd0;
  --accent: var(--gold-600);
  --accent-hover: var(--gold-500);
  --accent-muted: rgba(201, 162, 39, 0.12);
  --accent-glow: rgba(201, 162, 39, 0.45);
  --red-500: var(--gold-600);
  --red-600: var(--gold-700);
  --white: #0a0a0a;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --gray-100: #171717;
  --gray-300: #404040;
  --gray-400: #525252;
  --gray-500: #737373;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(201, 162, 39, 0.4);
  --btn-on-accent: #000000;
  --hero-overlay: linear-gradient(to top, rgba(247,244,238,0.97) 0%, rgba(247,244,238,0.5) 60%, transparent 100%);
  --breaking-bg: linear-gradient(90deg, #c9a227, #d4a853, #e8c97a);
  --breaking-text: #000000;
  --breaking-label-bg: #0a0a0a;
  --breaking-label-color: var(--gold-400);
  --nav-scrolled: rgba(255, 255, 255, 0.97);
  --input-bg: #f7f4ee;
  --ghost-bg: rgba(0, 0, 0, 0.04);
  --ghost-border: rgba(0, 0, 0, 0.1);
  --ghost-hover: rgba(0, 0, 0, 0.08);
  --menu-bar: #0a0a0a;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-ar);
  background: var(--navy-950);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem; border: none; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: var(--transition);
}
.btn-red { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--btn-on-accent); }
.btn-red:hover { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--btn-on-accent); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-ghost { background: var(--ghost-bg); color: var(--text-primary); border: 1px solid var(--ghost-border); }
.btn-ghost:hover { background: var(--ghost-hover); border-color: var(--accent); }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.header.scrolled .nav { background: var(--nav-scrolled); backdrop-filter: blur(16px); box-shadow: var(--shadow); }

.breaking-bar {
  background: var(--breaking-bg);
  display: flex; align-items: center; height: 40px; overflow: hidden;
}
.breaking-label {
  background: var(--breaking-label-bg); color: var(--breaking-label-color);
  padding: 0 1rem; height: 100%;
  display: flex; align-items: center; font-weight: 800; font-size: 0.85rem;
  white-space: nowrap; z-index: 2; flex-shrink: 0;
  animation: pulse 2s infinite;
}
.breaking-single {
  flex: 1; padding: 0 1rem; font-size: 0.9rem; font-weight: 700;
  color: var(--breaking-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: var(--transition);
}
.breaking-single:hover { text-decoration: underline; opacity: 0.9; }
.breaking-ticker { flex: 1; overflow: hidden; min-width: 0; }
.breaking-ticker-track {
  display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap;
  width: max-content;
  animation: breaking-scroll 40s linear infinite;
}
.breaking-ticker-track a {
  font-size: 0.85rem; font-weight: 600; color: var(--breaking-text); flex-shrink: 0;
}
.breaking-ticker-track a:hover { text-decoration: underline; }
.ticker-sep { color: var(--breaking-text); opacity: 0.5; flex-shrink: 0; }
@keyframes breaking-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
html[dir="rtl"] .breaking-ticker-track {
  animation: breaking-scroll-rtl 40s linear infinite;
}
@keyframes breaking-scroll-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.topic-strip {
  background: var(--navy-800); border-bottom: 1px solid var(--border);
  padding: 0.45rem 0;
}
.topic-strip-inner {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.topic-label { font-size: 0.75rem; color: var(--gray-400); display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.topic-tag {
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
  background: var(--accent-muted); padding: 0.2rem 0.65rem; border-radius: 50px;
}
.topic-tag:hover { background: var(--accent); color: var(--btn-on-accent); }
.topic-strip-social { display: flex; align-items: center; gap: 0.5rem; margin-inline-start: auto; }
.topic-strip-social a {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); color: var(--gray-400); font-size: 0.85rem; transition: var(--transition);
}
.topic-strip-social a:hover { color: var(--accent); background: var(--ghost-bg); }
.topic-search { background: var(--ghost-bg); border: 1px solid var(--ghost-border); }

/* Header Video Icon */
.header-video-icon {
  position: relative; width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--accent); background: var(--navy-900);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.2);
}
.header-video-icon .header-video-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease;
  display: block;
}
.header-video-icon .header-video-slide.active { opacity: 1; z-index: 1; }
.header-video-icon img { width: 100%; height: 100%; object-fit: cover; }
.video-icon-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4); color: #fff; font-size: 0.6rem; pointer-events: none;
}

/* Site Ad (not Google) */
.site-ad {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--navy-800);
  margin: 1rem 0;
}
.site-ad-label {
  display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--accent); padding: 0.4rem 0.75rem;
  background: var(--accent-muted); border-bottom: 1px solid var(--border);
}
.site-ad-link { display: flex; align-items: center; gap: 1rem; transition: var(--transition); }
.site-ad-link:hover { background: var(--ghost-bg); }
.site-ad-img { flex-shrink: 0; width: 140px; height: 80px; overflow: hidden; }
.site-ad-sidebar .site-ad-img { width: 100%; height: 140px; }
.site-ad-img img { width: 100%; height: 100%; object-fit: cover; }
.site-ad-text { padding: 0.75rem 0.75rem 0.75rem 0; flex: 1; }
.site-ad-text strong { display: block; font-size: 0.95rem; font-weight: 800; margin-bottom: 0.25rem; }
.site-ad-text span { font-size: 0.8rem; color: var(--gray-400); }
.site-ad-sidebar .site-ad-link { flex-direction: column; }
.site-ad-sidebar .site-ad-text { padding: 0.75rem; text-align: center; }

.ad-slot.is-empty { display: none; margin: 0; padding: 0; border: none; }

/* Article author */
.article-author,
.content-author {
  font-size: 0.9rem; color: var(--gray-400); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
}
.article-author strong,
.content-author strong { color: var(--accent); font-weight: 700; }
.author-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.author-title { color: var(--gray-500); font-weight: 500; }
.content-author-sm { font-size: 0.8rem; margin-bottom: 0.35rem; }
.article-meta .fa-pen-nib { color: var(--accent); font-size: 0.75rem; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; gap: 1rem; transition: var(--transition);
  background: var(--navy-900);
}

.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo.logo--image { gap: 0; }
.logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.logo-img-footer { height: 48px; max-width: 220px; }
.logo-img--theme-light { display: none; }
[data-theme="light"] .logo-img--theme-dark { display: none; }
[data-theme="light"] .logo-img--theme-light { display: block; }
.logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--btn-on-accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.logo-text { font-size: 1.4rem; font-weight: 800; display: block; line-height: 1.2; }
.logo-tag { font-size: 0.65rem; color: var(--gray-400); display: block; }

.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links > li > a {
  font-size: 0.875rem; font-weight: 500; color: var(--gray-300);
  transition: var(--transition); padding: 0.25rem 0;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--accent); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 0.3rem; font-size: 0.875rem; color: var(--gray-300); cursor: pointer; }
.dropdown-menu {
  position: absolute; top: calc(100% + 4px); right: 0; min-width: 200px;
  background: var(--navy-800); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.5rem 0; opacity: 0;
  visibility: hidden; transform: translateY(4px); transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow); z-index: 100; pointer-events: none;
}
body[dir="ltr"] .dropdown-menu { right: auto; left: 0; }
@media (min-width: 769px) {
  .nav-dropdown::before {
    content: ''; position: absolute; top: 100%; right: 0; left: 0; height: 8px;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  }
  .nav-dropdown:hover .nav-dropdown-toggle { color: var(--accent); }
}
.dropdown-menu a { display: block; padding: 0.5rem 1rem; font-size: 0.85rem; color: var(--gray-300); transition: var(--transition); }
.dropdown-menu a:hover { background: var(--accent-muted); color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-search-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); color: var(--gray-300); transition: var(--transition);
}
.nav-search-btn:hover { background: var(--ghost-bg); color: var(--accent); }

.lang-toggle, .theme-toggle {
  display: flex; align-items: center; gap: 0.3rem; padding: 0.35rem 0.6rem;
  background: var(--ghost-bg); border: 1px solid var(--ghost-border);
  border-radius: var(--radius-sm); color: var(--text-primary); cursor: pointer; font-size: 0.8rem;
  transition: var(--transition);
}
.lang-toggle:hover, .theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--menu-bar); }

/* Main Layout */
.main-content { padding-top: var(--header-h); min-height: 100vh; }
.page-header {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  padding: 2.5rem 0; border-bottom: 3px solid var(--accent);
}
.page-header h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; }
.page-header p { color: var(--gray-400); margin-top: 0.25rem; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.75rem; }
.breadcrumb a:hover { color: var(--accent); }

.section { padding: 2.5rem 0; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.section-title {
  font-size: 1.35rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem;
}
.section-title::before {
  content: ''; width: 4px; height: 24px; background: var(--accent); border-radius: 2px;
}
.section-link { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.section-link:hover { text-decoration: underline; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }

/* Hero Split */
.hero-split { padding: 1.25rem 0 0; }
.hero-split-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch;
}
.hero-panel { display: flex; flex-direction: column; min-height: 420px; }
.hero-panel-title {
  font-size: 0.8rem; font-weight: 800; color: var(--accent); margin-bottom: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.hero-main, .hero-videos-main { flex: 1; min-height: 0; }

/* Hero Slider (inside split) */
.hero-split .hero-slider { position: relative; height: 100%; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; }
.hero-slide--video .hero-slide-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,0.55); border: 2px solid rgba(255,255,255,0.85);
  color: #fff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  z-index: 2; pointer-events: none;
}
.hero-slide--video .video-duration {
  position: absolute; top: 1rem; inset-inline-start: 1rem; z-index: 2;
  background: rgba(0,0,0,0.75); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 0.2rem 0.5rem; border-radius: var(--radius-sm);
}
.hero-slide--video .hero-slide-content h2 { font-size: clamp(1.1rem, 2vw, 1.65rem); }
.hero-slide-author {
  font-size: 0.82rem; color: var(--gray-300); margin: 0.35rem 0 0.5rem;
  display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap;
}
.hero-slide-author strong { color: var(--accent); }
.hero-slide-author .author-avatar { width: 24px; height: 24px; }
.hero-controls {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.75rem; z-index: 3;
}
.hero-arrow {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.5); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.hero-arrow:hover { background: var(--accent); color: var(--btn-on-accent); border-color: var(--accent); }

/* Extra Squad strip (legacy, unused on home) */
.extra-squad-strip {
  background: var(--navy-800); border-block: 1px solid var(--border);
  padding: 1rem 0; margin-top: 1.25rem;
}
.strip-header { margin-bottom: 0.75rem; }
.strip-desc { font-size: 0.85rem; color: var(--gray-400); margin-top: 0.2rem; }
.strip-title {
  font-size: 1rem; font-weight: 800; color: var(--accent);
  letter-spacing: 1px;
}
.extra-squad-scroll {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.extra-squad-scroll::-webkit-scrollbar { height: 4px; }
.extra-squad-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
.spotlight-card { flex: 0 0 118px; }
.spotlight-editor .squad-player-img img { border: 2px solid var(--accent); }

/* EXTRA SQUAD page — portrait gallery */
.es-page-layout { align-items: start; }
.es-portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.es-portrait-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2px;
  background: transparent;
  color: inherit;
}
.es-portrait-media {
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: 2px;
}
.es-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.es-portrait-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.45rem 0.25rem 0;
  text-align: center;
  background: transparent;
}
.es-portrait-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.es-portrait-card:hover .es-portrait-name { color: var(--accent); }
.es-portrait-role {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.es-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.es-page-btn {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border: 1px solid var(--border);
  background: var(--navy-800);
  color: var(--gray-300);
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}
.es-page-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.es-page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--btn-on-accent);
}
.es-page-btn:disabled { opacity: 0.4; cursor: default; }

.es-most-read-widget .widget-head h3 {
  position: relative;
  padding-inline-start: 0.65rem;
}
.es-most-read-widget .widget-head h3::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.es-most-read-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.es-most-read-item:last-child { border-bottom: 0; }
.es-most-read-rank {
  flex-shrink: 0;
  min-width: 1.4rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
}
.es-most-read-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gray-200);
}
.es-most-read-item:hover .es-most-read-title { color: var(--accent); }

@media (min-width: 1200px) {
  .es-portrait-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .es-portrait-meta { padding: 0.55rem 0.35rem 0; }
  .es-portrait-name { font-size: 1.02rem; }
  .es-portrait-role { font-size: 0.84rem; }
}

@media (max-width: 1024px) {
  .es-portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
}
@media (max-width: 720px) {
  .es-portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .es-portrait-name { font-size: 0.78rem; }
  .es-portrait-role { font-size: 0.64rem; }
  .es-portrait-meta { padding: 0.4rem 0.2rem 0; }
}
@media (max-width: 420px) {
  .es-portrait-grid { grid-template-columns: 1fr 1fr; }
}

.editor-page-header { padding-bottom: 1.5rem; }
.editor-profile-head {
  display: flex; align-items: center; gap: 1.25rem; margin-top: 1rem; flex-wrap: wrap;
}
.editor-profile-avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--accent); flex-shrink: 0;
}
.editor-profile-meta h1 { margin-bottom: 0.35rem; }
.editor-profile-title { color: var(--accent); font-weight: 700; margin-bottom: 0.5rem; }
.editor-profile-bio { color: var(--gray-300); max-width: 640px; line-height: 1.6; }

.squad-player-card {
  flex: 0 0 108px; scroll-snap-align: start; text-align: center; transition: var(--transition);
  position: relative;
}
.spotlight-card { flex: 0 0 118px; }
.spotlight-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-muted);
  padding: 0.12rem 0.45rem;
  border-radius: 50px;
  margin-bottom: 0.35rem;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-badge.is-live {
  color: #fff;
  background: #ef4444;
  animation: pulse-live 1.5s ease-in-out infinite;
}
.spotlight-match-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--navy-900);
  min-height: 80px;
  justify-content: center;
  margin-bottom: 0.35rem;
}
.spotlight-match-team {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spotlight-match-score {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
}
.spotlight-match-score.is-live { color: #ef4444; }
.spotlight-match .squad-player-club {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.squad-player-card:hover { transform: translateY(-3px); }
.squad-player-img {
  width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 0.4rem;
  border: 2px solid var(--accent); padding: 2px;
}
.squad-player-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.squad-player-name { display: block; font-size: 0.72rem; font-weight: 700; line-height: 1.2; }
.squad-player-club { display: block; font-size: 0.65rem; color: var(--gray-400); }

/* From Us 1:1 */
.from-us-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.from-us-card { display: block; transition: var(--transition); }
.from-us-card:hover { transform: translateY(-4px); }
.from-us-img {
  aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 0.5rem;
}
.from-us-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.from-us-card:hover .from-us-img img { transform: scale(1.05); }
.from-us-title { font-size: 0.85rem; font-weight: 700; line-height: 1.35; }

/* From Us page */
.from-us-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.from-us-card-full {
  display: flex; flex-direction: column; background: var(--navy-800);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.from-us-card-full:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.from-us-card-full .from-us-img { aspect-ratio: 16/10; margin-bottom: 0; border-radius: 0; border: none; }
.from-us-full-body { padding: 1.25rem; }
.from-us-type {
  display: inline-block; font-size: 0.7rem; font-weight: 700; color: var(--btn-on-accent);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  padding: 0.2rem 0.6rem; border-radius: 50px; margin-bottom: 0.5rem;
}
.from-us-card-full h3 { font-size: 1rem; font-weight: 800; line-height: 1.4; margin-bottom: 0.5rem; }
.from-us-excerpt { font-size: 0.85rem; color: var(--gray-400); line-height: 1.6; margin-bottom: 0.75rem; }
.from-us-date { font-size: 0.75rem; color: var(--gray-500); display: flex; align-items: center; gap: 0.35rem; }

/* Clubs Strip — logos + names, horizontal scroll */
.clubs-strip-section { margin-bottom: 0.25rem; }
.clubs-strip-scroll {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.35rem 0 0.65rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.clubs-strip-scroll::-webkit-scrollbar { height: 4px; }
.clubs-strip-scroll::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}
.club-strip-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-width: 84px;
  max-width: 100px;
  padding: 0.55rem 0.45rem 0.35rem;
  text-align: center;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.club-strip-item:hover { transform: translateY(-2px); }
.club-strip-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.club-strip-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}
.club-strip-logo-fallback {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.club-strip-name {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.club-strip-item:hover .club-strip-name { color: var(--accent); }

/* legacy club-news classes kept for safety */
.club-news-card {
  flex: 0 0 260px; display: flex; gap: 0.75rem; align-items: center;
  background: var(--navy-800); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 0.75rem; transition: var(--transition);
}
.club-news-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.club-news-logo {
  width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.75rem; border: 2px solid; flex-shrink: 0;
}
.club-news-logo-img {
  width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: contain;
  border: 2px solid var(--border); background: var(--navy-900); flex-shrink: 0;
}
.player-team-link {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--gray-400);
}
.player-team-link a { color: var(--accent); font-weight: 700; }
.club-news-name { display: block; font-size: 0.75rem; font-weight: 800; color: var(--accent); margin-bottom: 0.15rem; }
.club-news-title { font-size: 0.8rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Videos 3 large */
.videos-grid-3 { grid-template-columns: repeat(3, 1fr); }
.video-card-lg .video-thumb { aspect-ratio: 16/10; }

/* Infographic tall row */
.infographic-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.infographic-tall-card { transition: var(--transition); }
.infographic-tall-card:hover { transform: translateY(-4px); }
.infographic-tall-img {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); display: block; margin-bottom: 0.75rem;
}
.infographic-tall-img img { width: 100%; height: 100%; object-fit: cover; }
.infographic-tall-card h3 { font-size: 0.9rem; font-weight: 700; line-height: 1.4; }
.infographic-tall-card h3 a:hover { color: var(--accent); }

/* Photos gallery */
.photos-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.photo-gallery-item {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden;
  display: block; border: 1px solid var(--border);
}
.photo-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.photo-gallery-item:hover img { transform: scale(1.06); }
.photo-gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex; align-items: flex-end; padding: 0.75rem; opacity: 0; transition: var(--transition);
}
.photo-gallery-item:hover .photo-gallery-overlay { opacity: 1; }
.photo-gallery-overlay span { font-size: 0.8rem; font-weight: 700; color: #fff; }

/* Sponsored matches */
.sponsored-matches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sponsored-match-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--navy-800); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem; text-align: center; transition: var(--transition);
}
.sponsored-match-card:hover { border-color: var(--accent); }
.sponsor-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; color: var(--accent);
  background: var(--accent-muted); padding: 0.2rem 0.6rem; border-radius: 50px; margin-bottom: 0.75rem;
}
.sponsor-match-teams { display: flex; align-items: center; justify-content: center; gap: 0.75rem; font-weight: 800; font-size: 0.95rem; margin-bottom: 0.5rem; }
.sponsor-match-teams .vs { color: var(--accent); font-size: 0.8rem; }
.sponsor-match-meta { font-size: 0.75rem; color: var(--gray-400); display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* Clips scroll */
.clips-scroll {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
}
.clip-scroll-card { flex: 0 0 220px; scroll-snap-align: start; transition: var(--transition); }
.clip-scroll-card:hover { transform: translateY(-3px); }
.clip-scroll-thumb {
  position: relative; aspect-ratio: 16/10; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 0.5rem;
  border: 1px solid var(--border);
}
.clip-scroll-thumb img { width: 100%; height: 100%; object-fit: cover; }
.clip-scroll-thumb .video-duration {
  position: absolute; bottom: 0.4rem; left: 0.4rem; background: rgba(0,0,0,0.75); color: #fff;
  font-size: 0.65rem; padding: 0.15rem 0.4rem; border-radius: 3px;
}
.clip-scroll-title { font-size: 0.8rem; font-weight: 700; line-height: 1.35; display: block; }

/* Google Ad */
.google-ad-slot .ad-google {
  min-height: 90px; display: flex; align-items: center; justify-content: center;
  background: var(--navy-800); border: 1px dashed var(--border-strong); border-radius: var(--radius-md);
  color: var(--gray-400); font-size: 0.85rem;
}
.ad-sidebar.google-ad-slot .ad-google { min-height: 250px; }

/* Sidebar collapsible */
.widget-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.widget-toggle {
  display: none; background: none; border: none; color: var(--gray-400); cursor: pointer;
  width: 28px; height: 28px; border-radius: var(--radius-sm); transition: var(--transition);
}
.widget-toggle:hover { background: var(--ghost-bg); color: var(--accent); }
.sidebar-subtitle { font-size: 0.85rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.sidebar-subtitle.muted { color: var(--gray-400); margin-top: 0.75rem; }
.sidebar-empty { font-size: 0.8rem; color: var(--gray-500); padding: 0.35rem 0 0.5rem; margin: 0; }

.most-read-item { display: flex; gap: 0.65rem; margin-bottom: 0.75rem; align-items: flex-start; }
.most-read-rank { font-size: 1.4rem; font-weight: 800; color: var(--accent); width: 28px; flex-shrink: 0; line-height: 1; }
.most-read-body h3 { font-size: 0.85rem; font-weight: 700; line-height: 1.35; }

.football-cats-scroll { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.25rem; }
#homeLeagues.football-cats-scroll {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: visible;
}

/* Hero Slider (legacy full-width fallback) */
.hero-slider { position: relative; height: 480px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  display: flex; align-items: flex-end;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: var(--hero-overlay);
}
.hero-slide-content {
  position: relative; z-index: 2; padding: 2.5rem; max-width: 700px;
}
.hero-slide-content .badge-cat {
  display: inline-block; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--btn-on-accent); padding: 0.25rem 0.75rem;
  border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem;
}
.hero-slide-content h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.3; margin-bottom: 0.75rem; }
.hero-slide-content h2 a:hover { color: var(--accent); }
.hero-slide-content p { color: var(--gray-300); margin-bottom: 1rem; font-size: 0.95rem; }
.hero-dots {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4);
  border: none; cursor: pointer; transition: var(--transition); padding: 0;
}
.hero-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }

/* Article Cards */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.articles-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.articles-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.article-card {
  background: var(--navy-800); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.article-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }

.article-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-img img { transform: scale(1.05); }

.badge {
  position: absolute; font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.6rem;
  border-radius: 50px;
}
.badge-cat { bottom: 0.75rem; right: 0.75rem; background: var(--navy-900); color: var(--white); }
body[dir="ltr"] .badge-cat { right: auto; left: 0.75rem; }
.badge-trending { top: 0.75rem; left: 0.75rem; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--btn-on-accent); }
body[dir="ltr"] .badge-trending { left: auto; right: 0.75rem; }

.article-body { padding: 1rem; }
.article-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.4rem; }
.article-body h3 a:hover { color: var(--accent); }
.article-body p { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 0.75rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--gray-500); }
.article-meta i { margin-inline-end: 0.25rem; }

.article-card.featured { grid-column: span 1; }
.article-card.featured .article-img { aspect-ratio: 16/9; }
.article-card.featured h3 { font-size: 1.15rem; }

.article-card.compact { display: flex; gap: 0.75rem; background: transparent; border: none; }
.article-card.compact .article-img { width: 100px; flex-shrink: 0; aspect-ratio: 1; border-radius: var(--radius-sm); }
.article-card.compact .article-body { padding: 0; }
.article-card.compact h3 { font-size: 0.9rem; }

/* Match Cards */
.match-center-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.match-center-grid-compact { gap: 1rem; align-items: start; }
.match-center-grid-compact .match-section {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
}
.match-center-grid-compact .match-section h3 {
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}
.match-center-grid-compact .match-card {
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.5rem;
}
.match-center-grid-compact .match-card:last-child { margin-bottom: 0; }
.match-center-grid-compact .match-league { margin-bottom: 0.5rem; }
.match-center-grid-compact .team-logo,
.match-center-grid-compact .team-logo-img { width: 32px; height: 32px; }
.match-center-grid-compact .team-name { font-size: 0.75rem; }
.match-center-grid-compact .score { font-size: 1.25rem; }
.match-center-grid-compact .match-time strong { font-size: 1rem; }

.match-week-center { display: flex; flex-direction: column; gap: 1.25rem; --tabs-fade-bg: var(--navy-900); }
.match-week-tabs-wrap {
  position: relative;
  --tabs-fade-bg: inherit;
}
.match-week-tabs-wrap::before,
.match-week-tabs-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0.35rem;
  width: 1rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.match-week-tabs-wrap.is-scrollable::before,
.match-week-tabs-wrap.is-scrollable::after { opacity: 1; }
.match-week-tabs-wrap.at-start::after { opacity: 0; }
.match-week-tabs-wrap.at-end::before { opacity: 0; }
.match-week-tabs-wrap::before {
  inset-inline-end: 0;
  background: linear-gradient(to left, var(--tabs-fade-bg, var(--navy-900)), transparent);
}
.match-week-tabs-wrap::after {
  inset-inline-start: 0;
  background: linear-gradient(to right, var(--tabs-fade-bg, var(--navy-900)), transparent);
}
.match-week-tabs {
  display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.35rem;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.match-week-tabs::-webkit-scrollbar { height: 4px; }
.match-week-tabs::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
@media (min-width: 901px) {
  .match-week-tabs {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
    overflow-x: visible; scroll-snap-type: none;
  }
  .match-week-tabs-wrap::before,
  .match-week-tabs-wrap::after { display: none; }
}
.match-week-tab {
  flex: 0 0 auto; width: auto; min-width: 68px; padding: 0.55rem 0.45rem;
  background: var(--navy-800); border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--gray-400); cursor: pointer; transition: var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 0.12rem;
  font-family: inherit; scroll-snap-align: center;
  -webkit-tap-highlight-color: transparent;
}
.match-week-tab.is-past:not(.active) { opacity: 0.85; }
.match-week-tab:hover { border-color: var(--border-strong); color: var(--gray-200); }
.match-week-tab.active {
  background: var(--red); border-color: var(--red); color: #fff;
}
.match-week-tab-label { font-size: 0.85rem; font-weight: 700; white-space: nowrap; line-height: 1.2; }
.match-week-tab-label-short { display: none; }
.match-week-tab-meta {
  display: flex; flex-direction: column; align-items: center; gap: 0.12rem; width: 100%;
}
.match-week-tab-date { font-size: 0.7rem; opacity: 0.85; line-height: 1.2; }
.match-week-tab-date-short { display: none; }
.match-week-tab-count {
  font-size: 0.65rem; background: rgba(255,255,255,0.15); padding: 0.1rem 0.45rem;
  border-radius: 999px; margin-top: 0.1rem; font-weight: 700; min-width: 1.35rem; text-align: center;
}
.match-week-tab.active .match-week-tab-count { background: rgba(255,255,255,0.25); }
.match-week-panel { min-height: 120px; }
.match-week-live { margin-bottom: 1.5rem; }
.match-week-live h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.match-week-league { margin-bottom: 1.5rem; }
.match-week-league-title {
  font-size: 0.85rem; font-weight: 600; color: var(--gray-400);
  margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem;
}
.match-week-empty { text-align: center; padding: 2rem 1rem; }

.home-match-center-section { margin-bottom: 0.75rem; }
.home-match-center-widget { padding: 0; background: transparent; border: 0; box-shadow: none; }

.hmc-bar {
  background: #14171c;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hmc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #101318;
}
.hmc-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.hmc-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #cfd3da;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hmc-tab:hover { color: #fff; }
.hmc-tab.active {
  background: var(--accent);
  color: #111;
}
.hmc-tab-count {
  font-size: 0.7rem;
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
}
.hmc-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.hmc-all-link:hover { color: var(--accent); }
.hmc-row {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: stretch;
  min-height: 168px;
}
.hmc-arrow {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.7;
}
.hmc-arrow:hover { opacity: 1; color: var(--accent); }
.hmc-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hmc-track::-webkit-scrollbar { display: none; }
.hmc-ad-slide {
  flex: 0 0 min(220px, 42vw);
  scroll-snap-align: start;
  display: flex;
  align-items: stretch;
  background: linear-gradient(145deg, #8b0000, #3a0606);
  min-height: 168px;
  overflow: hidden;
}
.hmc-ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hmc-ad-slide .ad-slot,
.hmc-ad-slide .site-ad,
.hmc-ad-slide .site-ad-link {
  flex: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.hmc-ad-slide .site-ad-img {
  width: 100%;
  height: 100%;
  min-height: 168px;
}
.hmc-ad-slide .site-ad-text { display: none; }
.hmc-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.7rem 0.75rem 0.65rem;
  border-inline-start: 1px solid rgba(255,255,255,0.07);
  color: #fff;
  text-align: center;
  min-height: 168px;
}
.hmc-card:hover { background: rgba(255,255,255,0.03); }
.hmc-card.is-live { box-shadow: inset 0 -2px 0 var(--green-live); }
.hmc-league {
  font-size: 0.68rem;
  color: #9aa0a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.hmc-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0.35rem;
  width: 100%;
}
.hmc-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}
.hmc-team .team-logo,
.hmc-team .team-logo-img {
  width: 34px;
  height: 34px;
  font-size: 0.6rem;
}
.hmc-team-name {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.hmc-score {
  align-self: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  min-width: 2.6rem;
}
.hmc-score.is-pending { color: #9aa0a8; font-weight: 700; }
.hmc-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-height: 2.5rem;
  justify-content: center;
}
.hmc-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  line-height: 1.2;
}
.hmc-status.is-upcoming {
  border: 1px solid var(--accent);
  color: #fff;
  background: transparent;
}
.hmc-status.is-ended {
  background: #2a2f38;
  color: #ddd;
}
.hmc-status.is-live {
  background: rgba(34,197,94,0.15);
  color: var(--green-live);
  border: 1px solid rgba(34,197,94,0.35);
}
.hmc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  animation: blink 1s infinite;
}
.hmc-time {
  font-size: 0.72rem;
  color: #9aa0a8;
}
.hmc-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 1.5rem;
  color: #9aa0a8;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .hmc-top { flex-direction: column; align-items: stretch; }
  .hmc-all-link { justify-content: center; }
  .hmc-tabs { justify-content: center; }
  .hmc-row { grid-template-columns: 28px 1fr 28px; }
  .hmc-card { flex-basis: 150px; }
  .hmc-ad-slide { flex-basis: min(180px, 55vw); }
}

.match-week-center-compact .match-week-panel {
  max-height: 520px;
  overflow-y: auto;
  padding-inline-end: 0.15rem;
}

.match-week-center-compact .match-week-panel::-webkit-scrollbar { width: 5px; }
.match-week-center-compact .match-week-panel::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

.match-week-center-compact .match-card { margin-bottom: 0.65rem; }

.match-section h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.match-section h3 .dot-live {
  width: 8px; height: 8px; background: var(--green-live); border-radius: 50%;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.match-card {
  background: var(--navy-800); border-radius: var(--radius-md); padding: 1rem;
  border: 1px solid var(--border); margin-bottom: 0.75rem;
  transition: var(--transition); display: block;
}
.match-card:hover { border-color: var(--border-strong); }
.match-card.live { border-color: rgba(34,197,94,0.3); }
.match-league { font-size: 0.7rem; color: var(--gray-500); margin-bottom: 0.75rem; text-align: center; }
.match-teams { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.match-team { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; flex: 1; }
.team-logo {
  width: 36px; height: 36px; background: var(--navy-700); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800;
}
.team-logo-img {
  width: 36px; height: 36px; object-fit: contain; border-radius: 50%;
  background: var(--navy-700); padding: 2px;
}
.text-muted { color: var(--gray-500); font-size: 0.9rem; }
.team-name { font-size: 0.8rem; font-weight: 600; text-align: center; }
.match-score { text-align: center; }
.score { font-size: 1.5rem; font-weight: 800; }
.live-badge {
  display: inline-block; background: var(--green-live); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 50px;
  margin-bottom: 0.25rem;
}
.match-time { text-align: center; }
.match-time span { display: block; font-size: 0.75rem; color: var(--gray-500); }
.match-time strong { font-size: 1.1rem; color: var(--accent); }
.match-date { font-size: 0.7rem; color: var(--gray-500); display: block; margin-top: 0.25rem; }

/* Video Cards */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.video-card { background: var(--navy-800); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.video-thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-duration {
  position: absolute; bottom: 0.5rem; right: 0.5rem; background: rgba(0,0,0,0.8);
  padding: 0.15rem 0.4rem; border-radius: 3px; font-size: 0.7rem; font-weight: 600;
}
body[dir="ltr"] .video-duration { right: auto; left: 0.5rem; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--btn-on-accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  opacity: 0; transition: var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-btn-sm {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45); color: #fff; font-size: 0.7rem;
}
.video-body { padding: 0.75rem; }
.video-type { font-size: 0.7rem; color: var(--accent); font-weight: 600; text-transform: uppercase; }
.video-body h3 { font-size: 0.9rem; font-weight: 600; margin: 0.25rem 0; line-height: 1.4; }
.video-body h3 a:hover { color: var(--accent); }
.video-views { font-size: 0.75rem; color: var(--gray-500); }

/* Interview Cards */
.interviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.interview-card {
  display: flex; gap: 1rem; background: var(--navy-800); border-radius: var(--radius-lg);
  padding: 1rem; border: 1px solid var(--border); transition: var(--transition);
}
.interview-card:hover { border-color: var(--accent); }
.interview-img { width: 100px; height: 100px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; }
.interview-img img { width: 100%; height: 100%; object-fit: cover; }
.interview-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.interview-body h3 a:hover { color: var(--accent); }
.interview-guest { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.interview-date { font-size: 0.75rem; color: var(--gray-500); margin-top: 0.25rem; }

/* Two Column Layout */
.layout-2col { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; }
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget {
  background: var(--navy-800); border-radius: var(--radius-lg); padding: 1.25rem;
  border: 1px solid var(--border);
}
.sidebar-widget h3, .widget-head h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 0;
}
.widget-head {
  margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent);
}

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); -webkit-overflow-scrolling: touch; }
.standings-table-wrap { max-width: 100%; }
.standings-table, .scorers-table {
  width: 100%; border-collapse: collapse; font-size: 0.85rem;
  table-layout: fixed;
}
.standings-table th, .scorers-table th {
  background: var(--navy-700); padding: 0.6rem 0.35rem; text-align: center;
  font-weight: 600; font-size: 0.75rem; color: var(--gray-400);
}
.standings-table td, .scorers-table td {
  padding: 0.6rem 0.35rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.standings-table .num-cell {
  width: 2.4rem;
  white-space: nowrap;
}
.standings-table th.team-cell,
.standings-table td.team-cell {
  width: auto;
  text-align: start !important;
  padding-inline: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.standings-table tr:hover, .scorers-table tr:hover { background: rgba(255,255,255,0.03); }
.team-cell { text-align: start !important; }
.pts-cell { color: var(--accent); }
.goals-cell { color: var(--accent); font-weight: 700; }
.top-four td:first-child { color: var(--green-live); font-weight: 700; }

/* Tabs */
.tabs { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; border-bottom: 2px solid rgba(255,255,255,0.06); overflow-x: auto; }
.tab-btn {
  padding: 0.75rem 1.25rem; background: none; border: none; color: var(--gray-400);
  font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: var(--transition);
  border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap;
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tournament-section .matches-list {
  display: grid;
  gap: 0.75rem;
}

/* Cup Bracket */
.cup-bracket {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.25rem;
  align-items: stretch;
  scroll-snap-type: x proximity;
}
.bracket-round {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bracket-round-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  padding: 0.5rem 0.75rem;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 0;
}
.bracket-round-matches {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  justify-content: space-around;
}
.bracket-match {
  display: block;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.75rem;
  transition: var(--transition);
  color: inherit;
}
.bracket-match:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.bracket-match.is-live {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.08);
}
.bracket-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
}
.bracket-team .team-logo,
.bracket-team .team-logo-img {
  width: 24px;
  height: 24px;
  font-size: 0.55rem;
  flex-shrink: 0;
}
.bracket-team-name {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bracket-team-score {
  font-weight: 800;
  font-size: 0.9rem;
  min-width: 1.25rem;
  text-align: center;
}
.bracket-team.is-winner .bracket-team-name {
  color: var(--accent);
}
.bracket-match-meta {
  text-align: center;
  font-size: 0.72rem;
  color: var(--gray-500);
  padding: 0.15rem 0;
  border-top: 1px dashed rgba(255,255,255,0.06);
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  margin: 0.15rem 0;
}
.cup-round-block {
  margin-bottom: 1.5rem;
}
.cup-round-heading {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}


/* Club Page */
.club-hero {
  position: relative; padding: 3rem 0; overflow: hidden;
  background: var(--navy-800);
}
.club-hero-bg {
  position: absolute; inset: 0; opacity: 0.15;
  background-size: cover; background-position: center;
}
.club-hero-content { position: relative; display: flex; align-items: center; gap: 2rem; }
.club-badge {
  width: 100px; height: 100px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800;
  border: 3px solid var(--accent); background: var(--navy-900);
}
.club-info h1 { font-size: 2rem; font-weight: 800; }
.club-meta { display: flex; gap: 1.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.club-meta span { font-size: 0.85rem; color: var(--gray-400); }
.club-meta i { color: var(--accent); margin-inline-end: 0.3rem; }

.squad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.squad-player {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem;
  background: var(--navy-800); border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.squad-num {
  width: 32px; height: 32px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--btn-on-accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem;
}
.squad-name { font-weight: 600; font-size: 0.9rem; }
.squad-pos { font-size: 0.75rem; color: var(--gray-500); }

/* Live Match */
.live-match-header {
  text-align: center; padding: 2rem; background: var(--navy-800);
  border-radius: var(--radius-lg); margin-bottom: 1.5rem;
  border: 1px solid rgba(34,197,94,0.2);
}
.live-match-teams {
  display: flex; align-items: center; justify-content: center; gap: 2rem; margin: 1.5rem 0;
}
.live-team { text-align: center; }
.live-team .team-logo { width: 64px; height: 64px; font-size: 1rem; margin: 0 auto 0.5rem; }
.live-team h2 { font-size: 1.25rem; }
.live-score-big { font-size: 3rem; font-weight: 800; color: var(--accent); }
.live-minute {
  display: inline-block; background: var(--green-live); padding: 0.25rem 1rem;
  border-radius: 50px; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem;
}

.stats-bars { display: flex; flex-direction: column; gap: 1rem; }
.stat-row { display: flex; align-items: center; gap: 0.75rem; }
.stat-label { width: 80px; text-align: center; font-size: 0.8rem; color: var(--gray-400); flex-shrink: 0; }
.stat-bar-wrap { flex: 1; display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--navy-700); }
.stat-bar-home { background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); transition: width 0.5s ease; }
.stat-bar-away { background: var(--gray-500); transition: width 0.5s ease; }
.stat-value { width: 40px; text-align: center; font-weight: 700; font-size: 0.85rem; }

.timeline { display: flex; flex-direction: column; gap: 0.5rem; }
.timeline-event {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem;
  background: var(--navy-800); border-radius: var(--radius-sm);
  border-inline-start: 3px solid var(--gray-500);
}
.timeline-event.goal { border-color: var(--green-live); }
.timeline-event.yellow { border-color: #eab308; }
.timeline-event.red { border-color: var(--card-red); }
.timeline-event.sub { border-color: #3b82f6; }
.event-min { font-weight: 800; font-size: 0.85rem; color: var(--accent); width: 30px; }
.event-icon { width: 24px; text-align: center; }
.event-text { font-size: 0.85rem; flex: 1; }

/* Match Detail Page */
.match-refresh-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.match-refresh-status { font-size: 0.85rem; color: var(--gray-400); }
.match-refresh-status.is-loading { color: var(--accent); }
.match-refresh-status.is-success { color: var(--green-live); }
.match-refresh-status.is-error { color: var(--card-red); }
#matchRefreshBtn.is-loading i { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.match-league-top { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 0.75rem; }
.match-league-link { color: var(--accent); font-weight: 600; }
.match-league-link:hover { text-decoration: underline; }
.live-match-header.is-live { border-color: rgba(34,197,94,0.35); box-shadow: 0 0 24px rgba(34,197,94,0.08); }
.match-status-badge { display: inline-block; padding: 0.25rem 1rem; border-radius: 50px; font-weight: 700; font-size: 0.85rem; background: var(--navy-700); color: var(--gray-300); }
.match-status-badge.upcoming { background: rgba(59,130,246,0.15); color: #93c5fd; }
.match-status-badge.finished { background: var(--navy-700); }
.vs-label { font-size: 2rem; color: var(--gray-500); }
.score-breakdown { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 0.75rem; font-size: 0.8rem; color: var(--gray-400); }
.score-breakdown em { font-style: normal; color: var(--gray-500); margin-inline-end: 0.25rem; }
.team-logo-lg { width: 72px !important; height: 72px !important; font-size: 1.1rem; }
.live-team .team-logo-lg { margin: 0 auto 0.5rem; }
.match-video-btn { margin-top: 1rem; }
.match-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.match-info-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.85rem 1rem; background: var(--navy-800); border-radius: var(--radius-md); border: 1px solid var(--border); }
.match-info-item i { color: var(--accent); margin-top: 0.15rem; }
.match-info-label { display: block; font-size: 0.72rem; color: var(--gray-500); margin-bottom: 0.15rem; }
.match-info-value { font-size: 0.88rem; font-weight: 600; }
.match-detail-layout { align-items: start; }
.match-detail-main { display: flex; flex-direction: column; gap: 1rem; }
.match-detail-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.match-auto-sync-banner {
  background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd; padding: 0.65rem 1rem; border-radius: var(--radius-md);
  margin-bottom: 1rem; font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem;
}
.events-limited-hint {
  background: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fbbf24; padding: 0.65rem 0.85rem; border-radius: var(--radius-md);
  margin-bottom: 1rem; font-size: 0.8rem; line-height: 1.5;
}
.events-limited-hint i { margin-inline-end: 0.35rem; }
.match-section-block { padding: 1.25rem; margin: 0; }
.match-section-block h3 { font-size: 1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }

/* Match Events — Pro Timeline */
.match-events-pro { padding: 0.25rem 0; }
.events-pro-header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.events-pro-team { font-size: 0.82rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.events-pro-team.home { text-align: start; color: var(--gold-400); }
.events-pro-team.away { text-align: end; color: var(--gray-300); }
.events-pro-count { font-size: 0.72rem; color: var(--gray-500); background: var(--navy-700); padding: 0.2rem 0.6rem; border-radius: 999px; }
.events-pro-track { display: flex; flex-direction: column; gap: 0.65rem; position: relative; }
.events-pro-row {
  display: grid; grid-template-columns: 1fr 36px 1fr; gap: 0.5rem; align-items: center;
}
.events-pro-side { min-height: 36px; display: flex; align-items: center; }
.events-pro-left { justify-content: flex-end; }
.events-pro-right { justify-content: flex-start; }
.events-pro-node {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy-700);
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  z-index: 1; flex-shrink: 0;
}
.events-pro-card {
  background: var(--navy-800); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem; max-width: 100%; font-size: 0.82rem; line-height: 1.45;
}
.events-pro-card.home { border-inline-end: 3px solid var(--gold-500); text-align: end; }
.events-pro-card.away { border-inline-start: 3px solid var(--gray-400); text-align: start; }
.events-pro-minute {
  font-size: 0.78rem; font-weight: 800; color: var(--accent); background: var(--navy-700);
  padding: 0.2rem 0.45rem; border-radius: var(--radius-sm);
}
.events-pro-minute.home { margin-inline-start: auto; }
.events-pro-minute.away { margin-inline-end: auto; }
.ev-type-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700; color: var(--gray-400);
  margin-bottom: 0.15rem;
}
.ev-player { display: block; font-weight: 700; color: var(--white); }
.ev-assist { display: block; font-size: 0.75rem; color: var(--gray-400); margin-top: 0.1rem; }
.ev-icon { display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.ev-icon-goal { color: var(--green-live); }
.ev-icon-sub { color: #60a5fa; font-size: 0.75rem; }
.ev-icon-other { color: var(--gray-500); font-size: 0.5rem; }
.ev-icon-yellow, .ev-icon-red {
  width: 12px; height: 16px; border-radius: 2px; display: block;
}
.ev-icon-yellow { background: #eab308; }
.ev-icon-red { background: var(--card-red); }
.events-pro-row.type-goal .events-pro-node { border-color: rgba(34,197,94,0.5); background: rgba(34,197,94,0.1); }
.events-pro-row.type-yellow .events-pro-node { border-color: rgba(234,179,8,0.5); }
.events-pro-row.type-red .events-pro-node { border-color: rgba(230,57,70,0.5); }
.events-pro-row.type-sub .events-pro-node { border-color: rgba(96,165,250,0.5); }

/* Match Stats — Pro */
.match-stats-pro { padding: 0.25rem 0; }
.stats-pro-header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.stats-pro-team { font-size: 0.85rem; font-weight: 700; }
.stats-pro-team.home { text-align: start; color: var(--gold-400); }
.stats-pro-team.away { text-align: end; color: var(--gray-300); }
.stats-pro-title { font-size: 0.72rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.stats-pro-body { display: flex; flex-direction: column; gap: 1rem; }
.stats-pro-row {
  display: grid; grid-template-columns: 44px 1fr 44px; gap: 0.65rem; align-items: center;
}
.stats-pro-val {
  font-size: 0.88rem; font-weight: 700; text-align: center; color: var(--gray-400);
  transition: color 0.2s;
}
.stats-pro-val.is-winner { color: var(--white); font-size: 0.95rem; }
.stats-pro-val.home.is-winner { color: var(--gold-400); }
.stats-pro-val.away.is-winner { color: var(--gray-200); }
.stats-pro-center { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.stats-pro-label {
  text-align: center; font-size: 0.78rem; color: var(--gray-400); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stats-pro-bar {
  display: flex; height: 6px; border-radius: 999px; overflow: hidden;
  background: var(--navy-700); direction: ltr;
}
.stats-pro-fill { height: 100%; transition: width 0.6s ease; min-width: 2px; }
.stats-pro-fill.home { background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); }
.stats-pro-fill.away { background: linear-gradient(90deg, var(--gray-600), var(--gray-400)); }

.match-timeline .timeline-event { flex-direction: row; }
.event-team { display: block; font-size: 0.72rem; color: var(--gray-500); margin-bottom: 0.15rem; }
.event-type-tag { font-size: 0.72rem; color: var(--gray-400); margin-inline-end: 0.25rem; }
.event-assist { color: var(--gray-400); font-size: 0.8rem; }
.timeline-event.team-home { border-inline-start-color: var(--gold-500); }
.timeline-event.team-away { border-inline-start-color: var(--gray-500); }
.stat-bar-wrap.dual { display: flex; direction: ltr; }
.match-stats-bars .stat-row { margin-bottom: 0.25rem; }
.lineups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.lineup-side h4 { font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--accent); }
.lineup-formation { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.lineup-list { list-style: none; padding: 0; margin: 0; }
.lineup-list li { padding: 0.35rem 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.lineup-list li em { color: var(--gray-500); font-size: 0.75rem; font-style: normal; }
.lineup-num { display: inline-block; width: 1.5rem; font-weight: 800; color: var(--gray-400); }
.lineup-subs-title { font-size: 0.78rem; color: var(--gray-500); margin: 0.75rem 0 0.35rem; }
.lineup-coach { font-size: 0.82rem; color: var(--gray-400); margin-top: 0.75rem; }
.tv-list { list-style: none; padding: 0; margin: 0; }
.tv-list li { padding: 0.5rem 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.tv-list i { color: var(--accent); margin-inline-end: 0.5rem; }
.btn-block { display: block; text-align: center; width: 100%; margin-top: 0.5rem; }

/* Search */
.search-hero { padding: 3rem 0; text-align: center; }
.search-box {
  display: flex; max-width: 600px; margin: 1.5rem auto 0; gap: 0.5rem;
}
.search-box input {
  flex: 1; padding: 0.85rem 1rem; background: var(--navy-800);
  border: 2px solid rgba(255,255,255,0.1); border-radius: var(--radius-md);
  color: var(--white); font-size: 1rem;
}
.search-box input:focus { outline: none; border-color: var(--accent); }
.search-filters { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.search-filter {
  padding: 0.4rem 1rem; background: var(--navy-800); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px; font-size: 0.8rem; cursor: pointer; transition: var(--transition); color: var(--gray-300);
}
.search-filter.active, .search-filter:hover { background: var(--accent); border-color: var(--accent); color: var(--btn-on-accent); }
.search-results { margin-top: 2rem; min-height: 120px; }
.search-status { text-align: center; color: var(--gray-400); padding: 2.5rem 1rem; }
.search-loading i { margin-left: 0.35rem; }
.search-count { color: var(--gray-400); font-size: 0.9rem; margin-bottom: 1rem; }
.search-players-list { display: flex; flex-direction: column; gap: 0.65rem; }
.search-player-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 1rem; background: var(--navy-800); border-radius: var(--radius-sm);
  text-decoration: none; color: inherit; transition: var(--transition);
}
.search-player-row:hover { background: var(--accent-muted); color: var(--accent); }
.search-player-name { font-weight: 700; }
.search-player-team { font-size: 0.82rem; color: var(--gray-400); }
.search-team-logo { width: 60px; height: 60px; object-fit: contain; margin: 0 auto 0.5rem; display: block; }

/* Account */
.auth-container {
  max-width: 420px; margin: 3rem auto; padding: 2rem;
  background: var(--navy-800); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.auth-tabs { display: flex; margin-bottom: 1.5rem; }
.auth-tab {
  flex: 1; padding: 0.75rem; background: none; border: none; color: var(--gray-400);
  font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent;
}
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 0.35rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.7rem; background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); color: var(--white);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.user-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.feature-card {
  padding: 1.25rem; background: var(--navy-800); border-radius: var(--radius-md);
  text-align: center; border: 1px solid var(--border);
}
.feature-card i { font-size: 1.5rem; color: var(--accent); margin-bottom: 0.5rem; }
.feature-card h4 { font-size: 0.9rem; }

/* Admin */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; padding-top: 0; }
.admin-sidebar {
  background: var(--navy-900); border-inline-end: 1px solid var(--border);
  padding: 1.5rem 0; position: fixed; width: 240px; height: 100vh; overflow-y: auto;
}
.admin-sidebar .logo { padding: 0 1.25rem; margin-bottom: 2rem; }
.admin-nav a {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem;
  font-size: 0.875rem; color: var(--gray-400); transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  background: var(--accent-muted); color: var(--accent);
  border-inline-start: 3px solid var(--accent);
}
.admin-main { margin-inline-start: 240px; padding: 2rem; flex: 1; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--navy-800); border-radius: var(--radius-md); padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.stat-card h3 { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.stat-card .stat-num { font-size: 1.75rem; font-weight: 800; color: var(--accent); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th { background: var(--navy-700); padding: 0.75rem; text-align: start; font-weight: 600; }
.admin-table td { padding: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.admin-actions { display: flex; gap: 0.35rem; }
.admin-actions button {
  padding: 0.3rem 0.6rem; border: none; border-radius: 4px; font-size: 0.75rem;
  cursor: pointer; font-weight: 600;
}
.btn-edit { background: #3b82f6; color: white; }
.btn-del { background: var(--card-red); color: white; }
.admin-panel {
  background: var(--navy-800); border-radius: var(--radius-lg); padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.admin-panel-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem;
}

/* Ads */
.ad-banner {
  background: var(--navy-800); border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-md); padding: 1rem; text-align: center; margin: 1.5rem 0;
}
.ad-label { font-size: 0.65rem; color: var(--gray-500); text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.ad-placeholder { color: var(--gray-500); font-size: 0.85rem; padding: 1.5rem; }
.ad-sidebar .ad-placeholder { padding: 3rem 1rem; }

/* Category Pills */
.category-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.category-pill {
  padding: 0.5rem 1rem; background: var(--navy-800); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px; font-size: 0.85rem; font-weight: 500; color: var(--gray-300);
  transition: var(--transition); cursor: pointer;
}
.category-pill:hover, .category-pill.active { background: var(--accent); border-color: var(--accent); color: var(--btn-on-accent); }

/* Football categories grid */
.football-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.football-cat-card {
  padding: 1.5rem; background: var(--navy-800); border-radius: var(--radius-lg);
  text-align: center; border: 1px solid rgba(255,255,255,0.06); transition: var(--transition);
  cursor: pointer;
}
.football-cat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.football-cat-card i { font-size: 2rem; color: var(--accent); margin-bottom: 0.75rem; }
.football-cat-card.active-cat { border-color: var(--accent); background: var(--accent-muted); }
.football-cat-card h3 { font-size: 0.95rem; font-weight: 700; }

/* Media Grid - Infographic & Photos */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.media-card {
  background: var(--navy-800); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.media-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.media-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.infographic-card .media-img { aspect-ratio: 3/4; }
.media-grid:has(.infographic-card) {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.media-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.media-card:hover .media-img img { transform: scale(1.05); }
.media-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--btn-on-accent);
  padding: 0.25rem 0.6rem; border-radius: 50px; font-size: 0.7rem; font-weight: 700;
}
body[dir="ltr"] .media-badge { right: auto; left: 0.75rem; }
.media-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem; color: var(--white);
  opacity: 0; transition: var(--transition);
}
.photo-card:hover .media-overlay { opacity: 1; }
.media-body { padding: 1rem; }
.media-body h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.4; }
.media-body h3 a:hover { color: var(--accent); }
.photos-masonry { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Footer */
.footer { background: var(--navy-900); padding: 3rem 0 0; border-top: 3px solid var(--accent); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { color: var(--gray-400); font-size: 0.875rem; margin: 0.75rem 0; line-height: 1.6; }
.nl-form { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.nl-form input {
  flex: 1; padding: 0.5rem; background: var(--navy-800); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm); color: var(--white); font-size: 0.85rem;
}
.footer-links h4, .footer-contact h4 { font-size: 0.95rem; margin-bottom: 0.75rem; color: var(--accent); }
.footer-links a { font-size: 0.85rem; color: var(--gray-400); display: block; padding: 0.25rem 0; }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 0.35rem; }
.footer-contact p a { color: inherit; }
.footer-contact p a:hover { color: var(--accent); }
.footer-contact i { color: var(--accent); margin-inline-end: 0.4rem; }
.social-links { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy-800);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--accent); }
.footer-bottom { padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-500); }

/* Toast */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--navy-700); border: 1px solid var(--accent); color: var(--white);
  padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-size: 0.9rem;
  z-index: 9999; opacity: 0; transition: all 0.4s ease; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Animations */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
[data-aos].visible { opacity: 1; transform: translateY(0); }

/* Infinite scroll loader */
.load-more { text-align: center; padding: 2rem; }
.load-more button { min-width: 200px; }

/* Article page */
.article-full { max-width: 800px; margin: 0 auto; }
.article-full h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.3; margin-bottom: 1rem; }
.article-headline-below {
  font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.4;
  margin: 1rem 0 1.5rem; color: var(--accent); padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.article-full-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; aspect-ratio: 16/9; }
.article-full-img img { width: 100%; height: 100%; object-fit: cover; }
.article-actions { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.share-wrap { position: relative; display: inline-flex; }
.share-menu {
  display: none; position: absolute; top: calc(100% + 0.35rem); right: 0; z-index: 120;
  min-width: 11rem; padding: 0.5rem; background: var(--navy-800);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg, 0 12px 32px rgba(0,0,0,0.35));
}
body[dir="ltr"] .share-menu { right: auto; left: 0; }
.share-wrap.open .share-menu { display: block; }
.share-menu-title {
  font-size: 0.72rem; font-weight: 700; color: var(--gray-400);
  padding: 0.35rem 0.5rem 0.5rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.share-menu-items { display: flex; flex-direction: column; gap: 0.15rem; }
.share-menu-item {
  display: flex; align-items: center; gap: 0.6rem; width: 100%;
  padding: 0.55rem 0.65rem; border: none; border-radius: var(--radius-sm);
  background: transparent; color: var(--gray-200); font-family: inherit;
  font-size: 0.85rem; text-decoration: none; cursor: pointer; transition: var(--transition);
}
.share-menu-item i { width: 1.1rem; text-align: center; font-size: 0.95rem; }
.share-menu-item:hover { background: var(--accent-muted); color: var(--accent); }
.share-menu-item.share-facebook:hover { color: #1877f2; }
.share-menu-item.share-twitter:hover { color: #000; }
[data-theme="dark"] .share-menu-item.share-twitter:hover { color: #e7e9ea; }
.share-menu-item.share-whatsapp:hover { color: #25d366; }
.share-menu-item.share-telegram:hover { color: #0088cc; }
.share-menu-item.share-linkedin:hover { color: #0a66c2; }
.ai-summary-box {
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3);
  border-radius: var(--radius-md); padding: 1rem; margin-bottom: 1.5rem;
}
.ai-summary-box h4 { color: #60a5fa; font-size: 0.9rem; margin-bottom: 0.5rem; }
.ai-summary-box p { font-size: 0.9rem; color: var(--gray-300); line-height: 1.7; }
.article-content { font-size: 1rem; line-height: 1.8; color: var(--gray-300); }
.article-content p { margin-bottom: 1rem; }
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--white);
  font-weight: 800;
  line-height: 1.35;
  margin: 1.5rem 0 0.75rem;
}
.article-content h2 { font-size: 1.45rem; }
.article-content h3 { font-size: 1.2rem; }
.article-content h4 { font-size: 1.05rem; }
.article-content ul,
.article-content ol { margin: 0 0 1rem 1.25rem; padding: 0; }
.article-content li { margin-bottom: 0.4rem; }
.article-content blockquote:not(.twitter-tweet) {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-inline-start: 3px solid var(--accent);
  background: var(--navy-800);
  color: var(--gray-300);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-content .twitter-tweet,
.article-content blockquote.twitter-tweet,
.video-player-wrap .twitter-tweet,
.video-player-wrap blockquote.twitter-tweet {
  margin: 1.5rem auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  max-width: 560px;
}
.article-content .fb-post,
.article-content .fb-video,
.article-content .fb-xfbml-parse-ignore {
  margin: 1.5rem auto;
  max-width: 100%;
  display: block;
}
.article-content iframe {
  max-width: 100%;
  border: 0;
  margin: 1rem auto;
  display: block;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  display: block;
}
.article-content a { color: var(--accent); text-decoration: underline; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: start;
}
.article-content th { background: var(--navy-800); color: var(--white); }
.article-content pre,
.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--navy-800);
  border-radius: 6px;
}
.article-content pre { padding: 0.9rem 1rem; overflow-x: auto; margin-bottom: 1rem; }
.article-content code { padding: 0.1rem 0.35rem; }
.comments-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.comment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.comment-form-grid .form-group-full { grid-column: 1 / -1; }
@media (max-width: 600px) { .comment-form-grid { grid-template-columns: 1fr; } }
.comment-empty { text-align: center; padding: 1.5rem; color: var(--gray-400); font-size: 0.9rem; }
.comment { padding: 1rem; background: var(--navy-800); border-radius: var(--radius-sm); margin-bottom: 0.75rem; }
.comment-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.35rem; flex-wrap: wrap; }
.comment-author { font-weight: 700; font-size: 0.85rem; }
.comment-date { font-size: 0.75rem; color: var(--gray-500); }
.comment-text { font-size: 0.9rem; color: var(--gray-400); line-height: 1.7; white-space: pre-wrap; }

/* Infographic detail */
.infographic-detail { max-width: 900px; margin: 0 auto; }
.infographic-detail h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.3; margin-bottom: 1rem; }
.infographic-meta { margin-bottom: 1rem; flex-wrap: wrap; }
.media-badge-inline {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--btn-on-accent);
  padding: 0.2rem 0.65rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}
.infographic-actions { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.infographic-full-img {
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem;
  border: 1px solid var(--border); background: var(--navy-800);
  max-width: 720px; margin-inline: auto;
}
.infographic-full-img img { width: 100%; height: auto; display: block; }
.infographic-description {
  font-size: 1rem; line-height: 1.8; color: var(--gray-300); margin-bottom: 2rem;
  padding: 1.25rem; background: var(--navy-800); border-radius: var(--radius-md); border: 1px solid var(--border);
}
.photo-detail { max-width: 960px; margin: 0 auto; }
.photo-meta { margin-bottom: 0.75rem; flex-wrap: wrap; }
.photo-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-bottom: 1rem; font-size: 0.85rem; color: var(--gray-400); }
.photo-links span { display: inline-flex; align-items: center; gap: 0.35rem; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.photo-full-img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--navy-900); margin-bottom: 1.25rem; }
.photo-full-img img { width: 100%; height: auto; display: block; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.photo-caption { font-size: 1rem; line-height: 1.85; color: var(--gray-300); padding: 1rem 0 0.5rem; border-top: 1px solid var(--border); }
.info-stats-section { margin-bottom: 2rem; }
.section-title-sm { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--accent); }
.info-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.info-stat-card {
  background: var(--navy-800); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.25rem; text-align: center; transition: var(--transition);
}
.info-stat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.info-stat-label { display: block; font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.info-stat-value { display: block; font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.related-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.video-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  margin-bottom: 1.5rem;
}

.video-player-wrap iframe,
.video-player-wrap video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-player-wrap--twitter {
  aspect-ratio: auto;
  min-height: 0;
  background: transparent;
  border: 0;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.video-embed-twitter {
  min-height: 460px;
}

.club-logo-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: var(--navy-900);
  padding: 0.35rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  :root { --header-h: 148px; }
  .hero-split-inner { grid-template-columns: 1fr; }
  .hero-panel { min-height: 360px; }
  .hero-split .hero-slider { min-height: 360px; }
  .from-us-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid-3, .infographic-row, .photos-gallery, .sponsored-matches-grid { grid-template-columns: repeat(2, 1fr); }
  #homeLeagues.football-cats-scroll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-2col { grid-template-columns: 1fr; }
  .match-center-grid { grid-template-columns: 1fr; }
  .lineups-grid { grid-template-columns: 1fr; }
  .live-match-teams { flex-direction: column; gap: 1rem; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 400px; }
}

@media (max-width: 768px) {
  :root { --header-h: 132px; }
  .header-video-icon { width: 36px; height: 36px; }
  .site-ad-link { flex-direction: column; }
  .site-ad-img { width: 100%; height: 100px; }
  .site-ad-text { padding: 0.75rem; text-align: center; }
  .topic-strip-inner { gap: 0.5rem; }
  .topic-strip-social { margin-inline-start: 0; }
  .hero-split .hero-slider { min-height: 300px; }
  .hero-panel { min-height: 300px; }
  .from-us-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid-3, .infographic-row, .photos-gallery, .sponsored-matches-grid { grid-template-columns: 1fr; }
  #homeLeagues.football-cats-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .widget-toggle { display: flex; align-items: center; justify-content: center; }
  .sidebar-widget.collapsible.collapsed .widget-body { display: none; }
  .sidebar-widget.collapsible.collapsed .widget-toggle i { transform: rotate(180deg); }
  .football-cats-scroll { flex-wrap: nowrap; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(300px, 88vw); height: 100dvh;
    max-height: 100dvh;
    background: var(--navy-900); flex-direction: column; align-items: stretch;
    padding: 4.75rem 1rem 1.5rem;
    gap: 0; z-index: 1000; transition: transform 0.25s ease, right 0.25s ease;
    overflow-y: auto; overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-inline-start: 1px solid rgba(255,255,255,0.06);
    box-shadow: -8px 0 32px rgba(0,0,0,0.35);
  }
  body[dir="ltr"] .nav-links { right: auto; left: -100%; transition: transform 0.25s ease, left 0.25s ease; }
  .nav-links.open { right: 0; }
  body[dir="ltr"] .nav-links.open { left: 0; }
  body.nav-open { overflow: hidden; }
  .nav-overlay {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(2px);
  }
  .nav-overlay.show { display: block; }
  .nav-links > li { width: 100%; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links > li > a {
    display: block; padding: 0.75rem 0.35rem; font-size: 0.95rem;
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%; justify-content: space-between;
    font-weight: 600; color: var(--gray-200);
    padding: 0.75rem 0.35rem; font-size: 0.95rem;
  }
  .nav-dropdown-toggle .fa-chevron-down {
    transition: transform 0.2s ease;
    font-size: 0.72rem; opacity: 0.75;
  }
  .nav-dropdown.open .nav-dropdown-toggle { color: var(--accent); }
  .nav-dropdown.open .nav-dropdown-toggle .fa-chevron-down { transform: rotate(180deg); }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(0,0,0,0.15); border: none;
    border-radius: var(--radius-sm); margin: 0 0 0.5rem;
    padding: 0.25rem 0 0.35rem; display: none; pointer-events: auto;
    max-height: 220px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a {
    padding: 0.55rem 0.85rem; font-size: 0.88rem;
    border-radius: var(--radius-sm); margin: 0 0.35rem 0.15rem;
  }
  .menu-toggle { display: flex; z-index: 1001; }
  .nav-actions .btn-sm { display: none; }
  .articles-grid.cols-2, .articles-grid.cols-3 { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; width: 100%; height: auto; }
  .admin-main { margin-inline-start: 0; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .hero-slider { height: 350px; }
  .live-match-teams { gap: 1rem; }
  .live-score-big { font-size: 2rem; }
  .club-hero-content { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .breaking-label { padding: 0 0.6rem; font-size: 0.7rem; }
  .container { padding-inline: 1.25rem; }
  .article-full { padding-inline: 0.5rem; }
  .article-full-img { margin-inline: 0; }
@media (max-width: 900px) {
  .hmc-row { grid-template-columns: 28px 1fr 28px; }
}
  .match-week-tabs-wrap { margin-inline: 0; }
  .match-week-tabs {
    gap: 0.45rem;
    padding: 0.15rem 0.15rem 0.45rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .match-week-tabs::-webkit-scrollbar { display: none; }
  .match-week-tab {
    flex: 0 0 calc((100% - 1.35rem) / 3.15);
    min-width: 4.85rem;
    max-width: 6.25rem;
    min-height: 3.35rem;
    padding: 0.55rem 0.35rem;
    border-radius: var(--radius-sm);
  }
  .match-week-tab.active {
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.28);
  }
  .match-week-tab-label-full { display: none; }
  .match-week-tab-label-short { display: inline; }
  .match-week-tab-label { font-size: 0.78rem; }
  .match-week-tab-meta {
    flex-direction: row;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.1rem;
  }
  .match-week-tab-date-full { display: none; }
  .match-week-tab-date-short { display: inline; }
  .match-week-tab-date { font-size: 0.68rem; opacity: 0.9; }
  .match-week-tab-count {
    margin-top: 0;
    font-size: 0.62rem;
    padding: 0.08rem 0.38rem;
    line-height: 1.3;
  }
  .match-week-panel { padding: 0 0.15rem; }
  .match-week-panel .match-card {
    max-width: min(320px, 92vw); margin-left: auto; margin-right: auto;
    padding: 0.6rem 0.65rem; margin-bottom: 0.5rem;
  }
  .match-week-panel .team-logo,
  .match-week-panel .team-logo-img { width: 26px; height: 26px; font-size: 0.5rem; }
  .match-week-panel .team-name { font-size: 0.68rem; line-height: 1.2; }
  .match-week-panel .score { font-size: 1.1rem; }
  .match-week-panel .live-badge { font-size: 0.62rem; padding: 0.1rem 0.35rem; }
  .match-week-panel .match-league { font-size: 0.62rem; margin-bottom: 0.45rem; }
  .match-week-panel .match-teams { gap: 0.2rem; }
  .match-week-panel .match-time span { font-size: 0.65rem; }
  .match-week-panel .match-time strong { font-size: 0.95rem; }
  .match-week-league-title { font-size: 0.78rem; margin-bottom: 0.5rem; }
  .events-pro-row { grid-template-columns: 1fr 30px 1fr; gap: 0.35rem; }
  .events-pro-node { width: 30px; height: 30px; }
  .events-pro-card { padding: 0.45rem 0.55rem; font-size: 0.75rem; }
  .stats-pro-row { grid-template-columns: 36px 1fr 36px; gap: 0.4rem; }
  .stats-pro-val { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .hero-slider { height: 300px; }
  .hero-slide-content { padding: 1.5rem; }
  .search-box { flex-direction: column; }
  .user-features { grid-template-columns: 1fr; }
}
