/* ====== Albtolat.com — Homepage demo styles ====== */

:root {
  --navy-950: #070f1e;
  --navy-900: #0a1628;
  --navy-800: #111f38;
  --navy-700: #1a2d4d;
  --navy-600: #253d66;
  --navy-100: #e8edf5;

  --gold: #d4a94a;
  --gold-bright: #f0c668;
  --gold-dark: #a8842f;

  --red: #d63538;
  --amber: #e89b1f;

  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #94a3b8;

  --bg: #f5f6f8;
  --card: #ffffff;
  --border: #e5e8ee;

  --shadow-sm: 0 1px 2px rgba(7, 15, 30, .05);
  --shadow-md: 0 4px 14px rgba(7, 15, 30, .08);
  --shadow-lg: 0 12px 32px rgba(7, 15, 30, .14);

  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ========== Top bar ========== */
.topbar {
  background: var(--navy-950);
  color: #b8c2d4;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #95a3b8;
}
.topbar-date svg { color: var(--gold); }
.topbar-social { display: flex; gap: 4px; }
.topbar-social a {
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  color: #95a3b8;
  transition: all .2s;
}
.topbar-social a:hover { background: var(--gold); color: var(--navy-950); }

/* ========== Header ========== */
.site-header {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo-mark {
  font-size: 32px;
  filter: drop-shadow(0 2px 6px rgba(212, 169, 74, .4));
}
.logo-text { display: flex; align-items: baseline; }
.logo-text em {
  font-style: normal;
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
  margin-right: 2px;
}

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.main-nav a {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #d5dceb;
  border-radius: var(--radius-sm);
  transition: all .2s;
  position: relative;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav a.active { color: var(--gold-bright); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
}

.search-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #d5dceb;
  background: rgba(255,255,255,.06);
  transition: all .2s;
}
.search-btn:hover { background: var(--gold); color: var(--navy-900); }

/* ========== Live scores strip ========== */
.scores-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.scores-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 74px;
}
.scores-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy-900);
  font-size: 14px;
  white-space: nowrap;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}
.live-dot {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(214, 53, 56, .7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 53, 56, .7); }
  70% { box-shadow: 0 0 0 10px rgba(214, 53, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 53, 56, 0); }
}

.scores-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  flex: 1;
  padding: 4px 0;
  scrollbar-width: thin;
}
.scores-track::-webkit-scrollbar { height: 4px; }
.scores-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.score-card {
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.score-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.score-card.live { border-right: 3px solid var(--red); }
.score-card.finished { opacity: .85; }

.score-league {
  font-size: 11px;
  color: var(--text-mute);
  font-weight: 700;
}
.score-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.score-teams .team-name {
  flex: 1;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score-teams .team-name:last-child { text-align: left; }
.score-teams .score {
  font-family: 'Tajawal', monospace;
  font-weight: 900;
  color: var(--navy-900);
  font-size: 15px;
  padding: 0 4px;
}
.score-status {
  font-size: 11px;
  color: var(--text-mute);
  font-weight: 700;
}
.live-pill {
  background: var(--red);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10.5px;
}

/* ========== Breaking ========== */
.breaking {
  background: var(--gold);
  color: var(--navy-900);
  overflow: hidden;
}
.breaking-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
}
.breaking-label {
  background: var(--navy-900);
  color: var(--gold);
  padding: 4px 14px;
  border-radius: 3px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.breaking-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
}
.breaking-text span { animation: ticker 22s linear infinite; display: inline-block; padding-right: 100%; }
@keyframes ticker {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* ========== Stories Bar ========== */
.stories-section {
  background: #fff;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--border);
}
.stories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.stories-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy-900);
  position: relative;
  padding-right: 14px;
}
.stories-title::before {
  content: '';
  position: absolute;
  right: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.stories-nav { display: flex; gap: 6px; }
.stories-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f3f7;
  color: var(--navy-900);
  font-size: 20px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  line-height: 1;
  padding-bottom: 2px;
}
.stories-arrow:hover { background: var(--gold); color: var(--navy-900); }

.stories-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  scroll-behavior: smooth;
}
.stories-track::-webkit-scrollbar { display: none; }

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 76px;
  flex-shrink: 0;
}
.story-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: #e5e8ee;
  position: relative;
  transition: transform .2s;
}
.story-item.unread .story-ring {
  background: conic-gradient(from 180deg, var(--gold-bright), var(--gold), var(--gold-dark), var(--gold-bright));
  padding: 3px;
}
.story-item.unread.live .story-ring {
  background: conic-gradient(from 0deg, var(--red) 0%, #ff6b6b 50%, var(--red) 100%);
  animation: ring-rotate 2.5s linear infinite;
}
@keyframes ring-rotate {
  from { background: conic-gradient(from 0deg, var(--red), #ff6b6b, var(--red)); }
  to { background: conic-gradient(from 360deg, var(--red), #ff6b6b, var(--red)); }
}
.story-item.unread.live::before {
  content: 'LIVE';
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(214, 53, 56, .45);
}
.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
  background-size: 72% 72%;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.story-item:hover .story-ring { transform: scale(1.08); }
.story-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-900);
  text-align: center;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.story-item.unread .story-label { color: var(--navy-900); }
.story-item:not(.unread) .story-label { color: var(--text-mute); }

/* ========== Hero / Bento Grid ========== */
.hero-section { padding: 24px 0; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 250px 250px;
  gap: 14px;
}

.bento {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all .25s;
}
.bento:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

/* Main 2x2 */
.bento-main {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  min-height: 514px;
}
.bento-main .bento-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.bento-main:hover .bento-img { transform: scale(1.05); }
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 15, 30, .95) 0%, rgba(7, 15, 30, .5) 45%, transparent 72%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #fff;
}
.bento-overlay h2 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
  margin: 12px 0 10px;
  color: #fff;
}
.bento-overlay p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 12px;
}
.bento-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #95a3b8;
  font-weight: 500;
}
.bento-meta .dot {
  width: 3px; height: 3px;
  background: #95a3b8;
  border-radius: 50%;
}

/* Image-only card */
.bento-image {
  grid-column: 3;
  grid-row: 2;
}
.bento-image .bento-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.bento-image:hover .bento-img { transform: scale(1.06); }
.bento-image-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(7, 15, 30, .92) 0%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bento-image-caption h4 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
}

/* Quote card */
.bento-quote {
  grid-column: 4;
  grid-row: 1;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  overflow: hidden;
}
.bento-quote::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212,169,74,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.quote-mark {
  width: 32px;
  height: 32px;
  color: var(--gold);
  opacity: .9;
}
.quote-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  margin: 8px 0;
  position: relative;
  z-index: 1;
}
.quote-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 1;
}
.quote-author strong {
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 800;
}
.quote-author span {
  font-size: 11.5px;
  color: #95a3b8;
}

/* Ad slot */
.bento-ad {
  grid-column: 3;
  grid-row: 1;
  background: #fafbfc;
  border: 1px dashed #d0d5df;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: default;
}
.bento-ad:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: #d0d5df;
}
.ad-label {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(7, 15, 30, .75);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  z-index: 2;
}
.ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  text-align: center;
}
.ad-icon {
  width: 36px;
  height: 36px;
  color: #c2c9d5;
}
.ad-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ad-text strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-soft);
}
.ad-text span {
  font-size: 11.5px;
  color: var(--text-mute);
  font-family: 'Tajawal', monospace;
  font-weight: 700;
}

/* Infographic card */
.bento-infographic {
  grid-column: 4;
  grid-row: 2;
  background: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-sub {
  font-size: 11px;
  color: var(--text-mute);
  font-weight: 700;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}
.info-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11.5px;
  color: var(--navy-900);
  flex-shrink: 0;
}
.info-name {
  font-weight: 800;
  color: var(--navy-900);
  min-width: 56px;
}
.info-bar {
  flex: 1;
  height: 6px;
  background: #f1f3f7;
  border-radius: 3px;
  overflow: hidden;
}
.info-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 3px;
}
.info-value {
  background: var(--navy-900);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 900;
  font-size: 12px;
  min-width: 32px;
  text-align: center;
}

.category-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-900);
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 3px;
  letter-spacing: 0.3px;
  width: fit-content;
}
.category-tag.sm { font-size: 11px; padding: 3px 9px; }
.category-tag.xs { font-size: 10.5px; padding: 2px 7px; }
.category-tag.amber { background: var(--amber); color: #fff; }

/* ========== Main content grid ========== */
.main-content { padding: 12px 0 48px; }
.main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.section-header.mt { margin-top: 36px; }
.section-header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 72px;
  height: 2px;
  background: var(--gold);
}
.section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-more {
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 700;
  transition: color .2s;
}
.section-more:hover { color: var(--navy-900); }

/* News grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.news-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-100);
}
.news-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.news-body h3 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--navy-900);
}
.news-card:hover h3 { color: var(--gold-dark); }
.news-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 600;
  margin-top: auto;
}

/* Transfers list */
.transfers-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.transfer-item {
  display: flex;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  transition: all .2s;
}
.transfer-item:hover {
  border-color: var(--gold);
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}
.transfer-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.transfer-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex: 1;
}
.transfer-body h4 {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--navy-900);
}
.transfer-item:hover h4 { color: var(--gold-dark); }

/* ========== Sidebar / Widgets ========== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.widget {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.widget-header {
  background: var(--navy-900);
  color: #fff;
  padding: 14px 16px;
  border-bottom: 3px solid var(--gold);
}
.widget-header h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}
.widget-tabs {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}
.widget-tabs button {
  padding: 5px 10px;
  background: rgba(255,255,255,.08);
  color: #cbd5e1;
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 700;
  transition: all .2s;
}
.widget-tabs button.active,
.widget-tabs button:hover {
  background: var(--gold);
  color: var(--navy-900);
}
.widget-more {
  display: block;
  text-align: center;
  padding: 10px;
  background: #f8f9fb;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-900);
  border-top: 1px solid var(--border);
  transition: all .2s;
}
.widget-more:hover { background: var(--gold); color: var(--navy-900); }
.widget-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 600;
}

/* Standings table */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.standings-table th {
  background: #f8f9fb;
  padding: 9px 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}
.standings-table th:nth-child(2) { text-align: right; }
.standings-table td {
  padding: 9px 8px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}
.standings-table td:nth-child(2) {
  text-align: right;
  font-weight: 700;
  color: var(--navy-900);
}
.standings-table tbody tr:hover { background: #fafbfc; }
.standings-table tbody tr:last-child td { border-bottom: none; }
.standings-table tr.rank-top td:first-child {
  position: relative;
  font-weight: 900;
  color: var(--gold-dark);
}
.standings-table tr.rank-top td:first-child::before {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--gold);
}

/* Scorers */
.scorers-list { padding: 8px 0; }
.scorer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.scorer:last-child { border-bottom: none; }
.scorer:hover { background: #fafbfc; }
.scorer-rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 900;
  font-size: 13px;
  background: #f1f3f7;
  color: var(--text-soft);
  flex-shrink: 0;
}
.scorer-rank.gold { background: linear-gradient(135deg, #f0c668, #d4a94a); color: var(--navy-900); }
.scorer-rank.silver { background: linear-gradient(135deg, #e2e8ef, #c0c7d1); color: var(--navy-900); }
.scorer-rank.bronze { background: linear-gradient(135deg, #dba678, #b57b45); color: #fff; }
.scorer-info { flex: 1; }
.scorer-name { font-weight: 800; color: var(--navy-900); font-size: 13.5px; }
.scorer-team { font-size: 11.5px; color: var(--text-mute); }
.scorer-goals {
  background: var(--navy-900);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 900;
  font-size: 14px;
}

/* Popular list */
.popular-list {
  list-style: none;
  counter-reset: popular;
  padding: 8px 0;
}
.popular-list li {
  counter-increment: popular;
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.popular-list li:last-child { border-bottom: none; }
.popular-list li::before {
  content: counter(popular);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-100);
  color: var(--navy-900);
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
}
.popular-list li:nth-child(1)::before { background: var(--gold); color: var(--navy-900); }
.popular-list li a {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy-900);
  line-height: 1.55;
  transition: color .2s;
}
.popular-list li:hover a { color: var(--gold-dark); }

/* ========== Footer ========== */
.site-footer {
  background: var(--navy-950);
  color: #8c96a8;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 44px 20px 28px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.8;
  max-width: 400px;
}
.footer-links h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  transition: all .2s;
  color: #fff;
  font-size: 14px;
  padding: 0;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-900); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
  text-align: center;
  font-size: 12.5px;
  color: #6b7487;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .main-grid { grid-template-columns: 1fr; }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 380px 200px 200px 200px;
  }
  .bento-main { grid-column: 1 / -1; grid-row: 1; min-height: auto; }
  .bento-ad { grid-column: 1; grid-row: 2; }
  .bento-quote { grid-column: 2; grid-row: 2; }
  .bento-image { grid-column: 1; grid-row: 3; }
  .bento-infographic { grid-column: 2; grid-row: 3; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
}
@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento-main, .bento-image, .bento-quote, .bento-ad, .bento-infographic {
    grid-column: 1;
    grid-row: auto;
    min-height: 200px;
  }
  .bento-main { min-height: 320px; }
  .news-grid, .transfers-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .bento-overlay h2 { font-size: 22px; }
  .bento-overlay { padding: 18px; }
  .header-inner { height: 60px; }
  .logo { font-size: 22px; }
  .logo-mark { font-size: 26px; }
  .topbar-date span { display: none; }
  .stories-title { font-size: 14px; }
  .story-ring { width: 64px; height: 64px; }
  .story-item { min-width: 68px; }
}

/* ========== Page hero (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 36px 0 30px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 180px; height: 4px;
  background: var(--gold);
}
.page-hero h1 {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 500;
}

/* ========== Filter tabs ========== */
.filters-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: 24px;
  position: sticky;
  top: 60px;
  z-index: 40;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tab {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--navy-100);
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 700;
  transition: all .2s;
  border: 1px solid transparent;
}
.filter-tab:hover {
  background: #fff;
  border-color: var(--gold);
  color: var(--navy-900);
}
.filter-tab.active {
  background: var(--navy-900);
  color: var(--gold);
  border-color: var(--navy-900);
}

/* ========== News featured card (news listing) ========== */
.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all .25s;
}
.news-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.news-featured-img {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-100);
}
.news-featured-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.news-featured-body h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.45;
}
.news-featured-body p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.75;
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--card);
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border);
  transition: all .2s;
}
.page-btn:hover {
  background: var(--navy-900);
  color: var(--gold);
  border-color: var(--navy-900);
}
.page-btn.active {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}

@media (max-width: 860px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-img { min-height: 220px; }
  .filters-bar { top: 56px; }
  .page-hero h1 { font-size: 24px; }
}

/* ========== Article page ========== */
.article-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 20px;
  font-weight: 600;
}
.breadcrumb a { color: var(--navy-700); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .sep { color: var(--text-mute); font-size: 12px; }

.article-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.4;
  margin-bottom: 14px;
}
.article-excerpt {
  font-size: 17px;
  line-height: 1.85;
  color: var(--navy-700);
  padding: 14px 16px;
  background: var(--navy-100);
  border-right: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  margin-bottom: 22px;
  font-weight: 500;
}
.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 600;
}
.article-meta-right, .article-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.article-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}
.article-image img {
  width: 100%;
  height: auto;
  display: block;
}
.article-body {
  font-size: 16px;
  line-height: 2;
  color: var(--navy-900);
}
.article-body p { margin-bottom: 16px; }
.article-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; }

.article-share {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 28px 0;
  flex-wrap: wrap;
}
.share-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
}
.share-btns { display: flex; gap: 8px; }
.share-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 14px;
  transition: all .2s;
}
.share-btn:hover {
  transform: translateY(-2px);
  background: var(--navy-900);
  color: var(--gold);
}
.share-btn.twitter:hover { background: #000; color: #fff; }
.share-btn.whatsapp:hover { background: #25d366; color: #fff; }
.share-btn.telegram:hover { background: #26a5e4; color: #fff; }
.share-btn.facebook:hover { background: #1877f2; color: #fff; }

.related-news { margin-top: 20px; }

@media (max-width: 760px) {
  .article-content { padding: 20px; }
  .article-title { font-size: 24px; }
  .article-excerpt { font-size: 15px; }
  .article-body { font-size: 15px; }
}

/* ========== Matches page ========== */
.date-nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: 24px;
  position: sticky;
  top: 60px;
  z-index: 40;
}
.date-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.date-nav-inner::-webkit-scrollbar { display: none; }
.date-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-700);
  font-weight: 700;
  min-width: 92px;
  transition: all .2s;
  border: 1px solid transparent;
}
.date-item:hover {
  background: #fff;
  border-color: var(--gold);
}
.date-item.active {
  background: var(--navy-900);
  color: var(--gold);
  border-color: var(--navy-900);
}
.date-day { font-size: 13px; font-weight: 800; }
.date-num { font-size: 11px; opacity: 0.85; margin-top: 2px; }

.section-block { margin-bottom: 28px; }
.section-block .section-header { margin-bottom: 14px; }
.match-count {
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 700;
  padding: 4px 10px;
  background: var(--navy-100);
  border-radius: 999px;
}

.league-group {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.league-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--navy-900), var(--navy-700));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.league-logo-sm {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}
.league-group-name { color: var(--gold); }

.match-row {
  display: grid;
  grid-template-columns: 80px 1fr 80px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  transition: background .15s;
  color: inherit;
}
.match-row:first-of-type { border-top: none; }
.match-row:hover { background: var(--navy-100); }
.match-status { text-align: center; }
.minute-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  background: var(--navy-100);
  color: var(--navy-700);
}
.minute-badge.live { background: #d61a1a; color: #fff; animation: pulse-live 2s infinite; }
.minute-badge.finished { background: var(--border); color: var(--text-mute); }
.minute-badge.upcoming { background: var(--gold); color: var(--navy-900); }
@keyframes pulse-live { 0%,100% { opacity:1 } 50% { opacity:.55 } }

.match-team {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  min-width: 0;
}
.match-team.home { justify-content: flex-start; }
.match-team.away { justify-content: flex-end; }
.match-team .team-name {
  color: var(--navy-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-row .team-logo-sm {
  width: 28px; height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.match-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy-900);
}
.match-score .dash { color: var(--text-mute); font-weight: 700; }
.match-score.upcoming-score { color: var(--text-mute); font-size: 16px; }
.live-match .match-score { color: #d61a1a; }

@media (max-width: 680px) {
  .match-row {
    grid-template-columns: 60px 1fr 60px 1fr;
    gap: 6px;
    padding: 12px 10px;
  }
  .match-team .team-name { font-size: 12px; }
  .match-row .team-logo-sm { width: 22px; height: 22px; }
  .match-score { font-size: 15px; }
  .date-nav { top: 56px; }
}

/* ========== Match detail page ========== */
.match-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}
.match-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gold);
}
.match-hero-league {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  margin-bottom: 20px;
}
.match-hero-league img {
  width: 24px; height: 24px;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}
.match-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.match-hero-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.match-hero-team h2 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.match-hero-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.match-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}
.match-hero-score {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  padding: 12px 28px;
  border-radius: 14px;
  border: 1px solid rgba(212,169,74,0.35);
}
.hero-score-num {
  font-size: 46px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-score-sep {
  font-size: 34px;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
}
.live-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #d61a1a;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  border-radius: 999px;
  animation: pulse-live 2s infinite;
}
.live-badge-lg .live-dot { background: #fff; }
.status-badge-lg {
  padding: 5px 14px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
}
.status-badge-lg.finished { background: var(--gold); color: var(--navy-900); }
.match-hero-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  font-weight: 600;
}
.hero-time {
  background: rgba(255,255,255,0.1);
  padding: 2px 10px;
  border-radius: 4px;
}
.match-hero-venue {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

.match-info-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.match-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}
.match-info-row:first-child { border-top: none; }
.match-info-label {
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 700;
}
.match-info-value {
  font-size: 14px;
  color: var(--navy-900);
  font-weight: 700;
}

@media (max-width: 680px) {
  .match-hero-grid { gap: 8px; }
  .match-hero-logo { width: 64px; height: 64px; padding: 6px; }
  .match-hero-team h2 { font-size: 14px; }
  .hero-score-num { font-size: 32px; }
  .match-hero-score { padding: 8px 18px; gap: 10px; }
  .match-hero-center { min-width: 130px; }
}

/* ---------- Team page ---------- */
.team-hero-body {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
}
.team-hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 14px;
  flex-shrink: 0;
}
.team-hero-text h1 {
  margin: 0 0 6px;
  font-size: 30px;
  color: #fff;
}
.team-hero-text p {
  margin: 0;
  color: #d4a94a;
  font-size: 15px;
}
.team-hero-text p strong { color: #fff; }

@media (max-width: 600px) {
  .team-hero-logo { width: 64px; height: 64px; padding: 6px; }
  .team-hero-text h1 { font-size: 22px; }
  .team-hero-text p { font-size: 13px; }
}

/* =====================================================
 * Match detail — events / stats / lineups
 * Rendered below the hero when data is present.
 * ===================================================== */

.match-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 18px;
}
.match-section-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0a1e3f;
  border-right: 4px solid #d4a94a;
  padding-right: 10px;
}

/* --- Events timeline --- */
.match-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.match-event {
  display: grid;
  grid-template-columns: 44px 28px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #eef2f7;
}
.match-event-away {
  direction: ltr;
  text-align: left;
}
.match-event-away .ev-body { text-align: left; }
.ev-minute {
  font-weight: 700;
  color: #0a1e3f;
  font-size: 13px;
  text-align: center;
}
.ev-icon { font-size: 16px; text-align: center; }
.ev-body { display: flex; flex-direction: column; }
.ev-player { font-weight: 600; color: #111; font-size: 14px; }
.ev-assist, .ev-detail {
  font-size: 12px;
  color: #666;
}
.match-event.ev-goal    { border-right: 3px solid #16a34a; }
.match-event.ev-owngoal { border-right: 3px solid #c2410c; }
.match-event.ev-miss    { border-right: 3px solid #94a3b8; }
.match-event.ev-yellow  { border-right: 3px solid #eab308; }
.match-event.ev-red     { border-right: 3px solid #dc2626; }
.match-event.ev-sub     { border-right: 3px solid #0ea5e9; }
.match-event.ev-var     { border-right: 3px solid #8b5cf6; }
.match-event-away.ev-goal    { border-right: none; border-left: 3px solid #16a34a; }
.match-event-away.ev-owngoal { border-right: none; border-left: 3px solid #c2410c; }
.match-event-away.ev-miss    { border-right: none; border-left: 3px solid #94a3b8; }
.match-event-away.ev-yellow  { border-right: none; border-left: 3px solid #eab308; }
.match-event-away.ev-red     { border-right: none; border-left: 3px solid #dc2626; }
.match-event-away.ev-sub     { border-right: none; border-left: 3px solid #0ea5e9; }
.match-event-away.ev-var     { border-right: none; border-left: 3px solid #8b5cf6; }

/* --- Statistics comparison --- */
.match-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat-row { display: flex; flex-direction: column; gap: 4px; }
.stat-values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 14px;
}
.stat-h { text-align: right; font-weight: 700; color: #0a1e3f; }
.stat-a { text-align: left;  font-weight: 700; color: #0a1e3f; }
.stat-label {
  padding: 0 14px;
  color: #666;
  font-size: 13px;
  white-space: nowrap;
}
.stat-bar {
  display: flex;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.stat-bar-home { background: #0a1e3f; border-radius: 3px 0 0 3px; }
.stat-bar-away { background: #d4a94a; border-radius: 0 3px 3px 0; }

/* --- Lineups --- */
.match-lineups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lineup-col {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: 14px;
}
.lineup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}
.lineup-logo { width: 36px; height: 36px; object-fit: contain; }
.lineup-team { font-weight: 800; color: #0a1e3f; font-size: 15px; }
.lineup-formation { font-size: 12px; color: #666; margin-top: 2px; }
.lineup-group { margin-top: 10px; }
.lineup-group-title {
  font-size: 12px;
  font-weight: 700;
  color: #d4a94a;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.lineup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lineup-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 4px 6px;
  background: #fff;
  border-radius: 6px;
  font-size: 13px;
}
.lineup-list.lineup-subs li { background: transparent; }
.player-num {
  background: #0a1e3f;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 0;
}
.player-name { color: #111; }
.player-pos {
  font-size: 11px;
  color: #888;
  background: #e5e7eb;
  padding: 2px 6px;
  border-radius: 4px;
}
.lineup-coach {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #666;
}

@media (max-width: 700px) {
  .match-lineups { grid-template-columns: 1fr; }
  .match-event { grid-template-columns: 38px 22px 1fr; gap: 8px; padding: 6px 8px; }
  .stat-values { font-size: 13px; }
}

/* =====================================================
 * Standings page — league grid + full table
 * ===================================================== */

/* Compact hero variant used on /standings/{slug} */
.page-hero-compact { padding: 28px 0; }
.page-hero-compact h1 { margin: 0; font-size: 26px; }
.standings-hero-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.standings-hero-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border-radius: 10px;
}
.standings-breadcrumb {
  font-size: 13px;
  color: #d4a94a;
  margin-bottom: 4px;
}
.standings-breadcrumb a {
  color: #d4a94a;
  text-decoration: none;
  opacity: .85;
}
.standings-breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.standings-breadcrumb span { margin: 0 6px; opacity: .6; }

/* ---- League grid (mode 1) ---- */
.leagues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.league-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.league-card:hover {
  transform: translateY(-2px);
  border-color: #d4a94a;
  box-shadow: 0 6px 16px rgba(10, 30, 63, .08);
}
.league-card-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.league-card-logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: #f1f5f9;
  border-radius: 8px;
}
.league-card-body { flex: 1; min-width: 0; }
.league-card-name {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: #0a1e3f;
}
.league-card-country {
  font-size: 12px;
  color: #666;
}
.league-card-meta {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}
.league-card-arrow {
  font-size: 20px;
  color: #d4a94a;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---- Full standings table (mode 2) ---- */
/* Group title — only shown for grouped leagues (AFC CL West/East). */
.standings-group-title {
  margin: 24px 0 12px;
  padding: 0 4px 8px;
  font-size: 18px;
  font-weight: 800;
  color: #0a1e3f;
  border-bottom: 2px solid #d4a94a;
}
.standings-group-title:first-child { margin-top: 0; }

.standings-full-wrapper {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow-x: auto;
}
.standings-full-wrapper + .standings-group-title { margin-top: 28px; }
.standings-full {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}
.standings-full thead th {
  background: #0a1e3f;
  color: #fff;
  padding: 10px 8px;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  border-bottom: 2px solid #d4a94a;
}
.standings-full thead th.col-team { text-align: right; padding-right: 16px; }
.standings-full tbody td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
}
.standings-full tbody tr:last-child td { border-bottom: none; }
.standings-full tbody tr:hover { background: #f8fafc; }
.standings-full .col-rank { font-weight: 700; width: 40px; }
.standings-full .col-pts { font-weight: 800; color: #0a1e3f; background: #fefce8; }
.standings-full .col-team { text-align: right; padding-right: 16px; }
.standings-full .col-form { min-width: 110px; }
.standings-full tr.rank-top .col-rank {
  color: #16a34a;
  position: relative;
}
.standings-full tr.rank-top .col-rank::before {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 3px;
  background: #16a34a;
  border-radius: 2px;
}
.team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}
.team-cell:hover { color: #0a1e3f; }
.team-cell-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
/* Form dots (W/D/L last 5) */
.form-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  margin: 0 1px;
}
.form-dot.form-w { background: #16a34a; }
.form-dot.form-d { background: #94a3b8; }
.form-dot.form-l { background: #dc2626; }

.standings-legend {
  margin-top: 12px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #666;
  background: #f8fafc;
  border-radius: 8px;
}
.standings-legend strong {
  color: #0a1e3f;
  margin-left: 4px;
}

@media (max-width: 700px) {
  .leagues-grid { grid-template-columns: 1fr; }
  .standings-full { font-size: 12px; }
  .standings-full thead th,
  .standings-full tbody td { padding: 8px 4px; }
  .team-cell-logo { width: 20px; height: 20px; }
}

/* =====================================================
 * Top scorers full table — reuses .standings-full base
 * ===================================================== */

.scorers-full .col-team { min-width: 160px; }
.scorers-full tr.rank-gold   .col-rank { color: #d4a94a; font-weight: 800; }
.scorers-full tr.rank-silver .col-rank { color: #a8a8a8; font-weight: 800; }
.scorers-full tr.rank-bronze .col-rank { color: #b87333; font-weight: 800; }
.scorers-full tr.rank-gold   .col-rank::before,
.scorers-full tr.rank-silver .col-rank::before,
.scorers-full tr.rank-bronze .col-rank::before { display: none; } /* override green bar from standings */

.player-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.player-cell-photo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  background: #f1f5f9;
}
.player-cell-photo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #94a3b8;
}
.player-cell-name {
  font-weight: 600;
  color: #111;
}

@media (max-width: 700px) {
  .player-cell-photo { width: 28px; height: 28px; }
  .scorers-full .col-team { min-width: 100px; }
}
