/* ============================================================
   CHAMPIONS LEAGUE PAGE CSS
============================================================ */

.page-shell{ max-width:1080px; margin:24px auto 40px; padding:0 14px; position: relative; z-index: 2; }

.glass-card{
  background:rgba(255,255,255,0.86);
  padding:22px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.7);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  box-shadow:0 24px 60px rgba(15,23,42,0.18);
}

.page-intro h1{ margin:0 0 10px; font-size:28px; font-weight:800; letter-spacing: -0.3px; line-height: 1.2; color:#0f172a; }
.page-intro .last-updated{ display: inline-block; font-size: 12.5px; color: #666; background: rgba(0,0,0,0.04); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.page-intro p{ font-size:14.5px; margin:8px 0; color:#444; line-height: 1.6; }

.info-strip{ display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.info-chip{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.04);
  font-size: 12.5px; font-weight: 600; color: #333;
  border: 1px solid rgba(0,0,0,0.06);
}
.info-chip .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: #002d72; box-shadow: 0 0 0 3px rgba(0,45,114,.15);
}

/* ============================================================
   TABS
============================================================ */
.cl-tabs{
  margin-top: 18px;
  display: flex;
  gap: 6px;
  background: rgba(15,23,42,0.04);
  padding: 5px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.06);
  overflow-x: auto;
}

.cl-tab{
  flex: 1;
  min-width: 100px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.cl-tab:hover{
  color: #0f172a;
  background: rgba(255,255,255,0.5);
}
.cl-tab.is-active{
  background: linear-gradient(135deg, #002d72, #1e3a8a);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,45,114,0.25);
}

/* ============================================================
   PANELS
============================================================ */
.cl-panel{
  display: none;
  margin-top: 18px;
}
.cl-panel.is-active{
  display: block;
}

.cl-loading{
  padding: 50px 20px;
  text-align: center;
  color: #64748b;
}
.cl-spinner{
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 3px solid rgba(15,23,42,0.08);
  border-top-color: #002d72;
  border-radius: 50%;
  animation: cl-spin 0.8s linear infinite;
}
@keyframes cl-spin{ to{ transform: rotate(360deg); } }

.cl-empty{
  padding: 50px 20px;
  text-align: center;
  color: #64748b;
}
.cl-empty-icon{ font-size: 42px; margin-bottom: 12px; opacity: .5; }
.cl-empty-title{ font-size: 17px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.cl-empty-text{ font-size: 13.5px; max-width: 360px; margin: 0 auto; }

.cl-section-header{
  background: linear-gradient(90deg, #002d72, #1e3a8a);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cl-section-title{
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.cl-section-meta{
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================================
   STANDINGS TABLE
============================================================ */
.cl-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(15,23,42,0.03);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  font-size: 11.5px;
  color: #475569;
  font-weight: 600;
}
.cl-legend-item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cl-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.cl-dot-direct{ background: #22c55e; }
.cl-dot-playoff{ background: #f59e0b; }
.cl-dot-out{ background: #ef4444; }

.cl-group-name{
  background: rgba(0,45,114,0.06);
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 800;
  color: #002d72;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cl-table-wrap{
  overflow-x: auto;
  background: #fff;
  border-radius: 0 0 14px 14px;
  border: 1px solid rgba(15,23,42,0.06);
  border-top: none;
}

.cl-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cl-table thead{
  background: rgba(15,23,42,0.04);
}
.cl-table th{
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.cl-table th:nth-child(1),
.cl-table th:nth-child(2){
  text-align: left;
  padding-left: 14px;
}
.cl-table th:nth-child(2){
  text-align: left;
}

.cl-table td{
  padding: 10px 6px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  border-bottom: 1px solid rgba(15,23,42,0.04);
}
.cl-table tbody tr:last-child td{ border-bottom: none; }
.cl-table tbody tr:hover{ background: rgba(15,23,42,0.02); }

.cl-cell-rank{
  font-weight: 800;
  position: relative;
  text-align: left !important;
  padding-left: 14px !important;
  width: 36px;
}
.cl-cell-rank::before{
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: transparent;
}
.cl-rank-direct .cl-cell-rank::before{ background: #22c55e; }
.cl-rank-playoff .cl-cell-rank::before{ background: #f59e0b; }
.cl-rank-out .cl-cell-rank::before{ background: #ef4444; }

.cl-cell-team{
  text-align: left !important;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}
.cl-team-logo{
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.cl-team-name{
  font-weight: 600;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cl-cell-pts{
  font-weight: 800;
  color: #002d72;
  font-size: 14px;
}

/* ============================================================
   FIXTURES
============================================================ */
.cl-round-name{
  background: rgba(0,45,114,0.06);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 800;
  color: #002d72;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 14px;
  border-radius: 8px;
}
.cl-round-name:first-of-type{ margin-top: 0; }

.cl-fixtures-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.cl-fixture-row{
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all .15s ease;
}
.cl-fixture-row:hover{
  border-color: rgba(0,45,114,0.2);
  box-shadow: 0 4px 12px rgba(0,45,114,0.06);
}

.cl-fixture-date{
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.cl-fixture-match{
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  align-items: center;
  gap: 10px;
}

.cl-fixture-team{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cl-fixture-home{
  justify-content: flex-end;
}
.cl-fixture-away{
  justify-content: flex-start;
}
.cl-fixture-logo{
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}
.cl-fixture-team-name{
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cl-fixture-center{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cl-fixture-score{
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.cl-fixture-vs{
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
}

.cl-status-live{ color: #ef4444; font-size: 11.5px; font-weight: 800; animation: cl-pulse 1.5s ease-in-out infinite; }
.cl-status-ht{ color: #f59e0b; font-size: 11px; font-weight: 700; }
.cl-status-ft{ color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
.cl-status-other{ color: #94a3b8; font-size: 11px; font-weight: 600; }
@keyframes cl-pulse{
  0%,100%{ opacity: 1; }
  50%{ opacity: 0.5; }
}

.cl-fixture-venue{
  font-size: 11px;
  color: #94a3b8;
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

/* ============================================================
   TOP SCORERS (CL)
============================================================ */
.cl-scorers-list{
  display: flex;
  flex-direction: column;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-top: none;
}

.cl-scorer-row{
  display: grid;
  grid-template-columns: 50px 1fr 70px 60px 60px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15,23,42,0.04);
  gap: 8px;
}
.cl-scorer-row:last-child{ border-bottom: none; }
.cl-scorer-row:hover{ background: rgba(0,45,114,0.02); }

.cl-scorer-gold{ background: linear-gradient(90deg, rgba(255,215,0,0.08), transparent); }
.cl-scorer-silver{ background: linear-gradient(90deg, rgba(192,192,192,0.06), transparent); }
.cl-scorer-bronze{ background: linear-gradient(90deg, rgba(205,127,50,0.06), transparent); }

.cl-scorer-rank{
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cl-scorer-gold .cl-scorer-rank,
.cl-scorer-silver .cl-scorer-rank,
.cl-scorer-bronze .cl-scorer-rank{ font-size: 20px; }

.cl-scorer-player{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cl-scorer-photo{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f5f9;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.cl-scorer-info{
  min-width: 0;
}
.cl-scorer-name{
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cl-scorer-meta{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}
.cl-scorer-team-logo{
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.cl-scorer-stat{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cl-stat-val{
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.cl-stat-lbl{
  font-size: 9.5px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}
.cl-scorer-stat-goals .cl-stat-val{
  color: #002d72;
  font-size: 19px;
}

/* ============================================================
   FAQ
============================================================ */
.cl-faq-section{ margin-top: 26px; }
.cl-faq-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.cl-faq-item{
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.cl-faq-item:hover{
  border-color: rgba(0,45,114,0.25);
  box-shadow: 0 4px 12px rgba(0,45,114,0.08);
}
.cl-faq-question{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}
.cl-faq-icon{
  font-size: 22px;
  font-weight: 700;
  color: #002d72;
  flex-shrink: 0;
  transition: transform .25s ease;
  line-height: 1;
}
.cl-faq-item.is-open .cl-faq-icon{
  transform: rotate(45deg);
}
.cl-faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 20px;
}
.cl-faq-item.is-open .cl-faq-answer{
  max-height: 500px;
  padding: 0 20px 18px;
}
.cl-faq-answer p{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #475569;
}

/* ============================================================
   ARTICLE / AUTHOR
============================================================ */
.article{ margin-top:26px; }
.article h2{ font-size:22px; margin-bottom:12px; font-weight: 800; letter-spacing: -0.2px; color:#0f172a; }
.article h3{ font-size:18px; margin-top:22px; font-weight: 700; color:#0f172a; }
.article p{ font-size:14.5px; line-height:1.75; color:#444; }
.article a{ color:#0a6dd1; }

.author-byline{ display:flex; align-items:flex-start; gap:16px; padding:20px; margin-top: 26px; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(249,250,255,0.85)); border:1px solid rgba(15,23,42,0.07); border-radius:18px; box-shadow: 0 6px 18px rgba(15,23,42,0.05); }
.author-byline .ab-avatar{ width:64px; height:64px; border-radius:50%; overflow:hidden; flex-shrink:0; background: linear-gradient(135deg, #002d72, #1e3a8a); display:flex; align-items:center; justify-content:center; color:#ffd700; font-weight:800; font-size:22px; border:2px solid rgba(255,215,0,.35); }
.author-byline .ab-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.author-byline .ab-info{ min-width:0; flex:1; }
.author-byline .ab-kicker{ font-size:11px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:#64748b; margin-bottom:3px; }
.author-byline .ab-name{ font-size:17px; font-weight:800; color:#0f172a; text-decoration:none; letter-spacing:-0.2px; display:inline-block; margin-bottom:2px; }
.author-byline .ab-name:hover{ color:#002d72; }
.author-byline .ab-style{ font-size:12.5px; color:#64748b; font-weight:600; margin-bottom: 2px; }
.author-byline .ab-bio{ font-size:13.5px; color:#475569; line-height:1.6; margin: 8px 0 10px; }
.author-byline .ab-links{ display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.author-byline .ab-more{ font-size:12.5px; font-weight:700; color:#002d72; text-decoration:none; }
.author-byline .ab-more:hover{ text-decoration:underline; }
.author-byline .ab-social{ font-size:12px; font-weight:700; color:#475569; text-decoration:none; padding: 4px 11px; background: rgba(15,23,42,0.06); border-radius: 999px; transition: all .15s ease; }
.author-byline .ab-social:hover{ background: #002d72; color:#fff; }

figure.hero-fig{ margin: 30px 0 6px; text-align: center; }
figure.hero-fig img{ width: 100%; max-width: 600px; height: auto; border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
figure.hero-fig figcaption{ font-size: 12.5px; color: #666; margin-top: 10px; }

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 800px){
  .cl-table th,
  .cl-table td{
    padding: 8px 4px;
    font-size: 12px;
  }
  .cl-cell-team{ min-width: 130px; gap: 6px; }
  .cl-team-logo{ width: 18px; height: 18px; }
  .cl-team-name{ font-size: 12px; }

  .cl-fixture-match{
    grid-template-columns: 1fr 80px 1fr;
    gap: 6px;
  }
  .cl-fixture-team-name{ font-size: 12px; }
  .cl-fixture-logo{ width: 22px; height: 22px; }
  .cl-fixture-score{ font-size: 16px; }

  .cl-scorer-row{
    grid-template-columns: 36px 1fr 50px 50px;
    padding: 10px 12px;
    gap: 6px;
  }
  .cl-scorer-row > div:nth-child(5){ display: none; }
  .cl-scorer-photo{ width: 32px; height: 32px; }
  .cl-scorer-name{ font-size: 12.5px; }
}

@media (max-width: 560px){
  .glass-card{ padding: 16px; }
  .page-intro h1{ font-size: 22px; }
  .cl-tabs{ padding: 4px; }
  .cl-tab{ padding: 8px 10px; font-size: 12.5px; min-width: 80px; }
  .cl-fixture-team-name{ font-size: 11.5px; }
  .cl-table th, .cl-table td{ font-size: 11px; padding: 6px 3px; }
  .author-byline{ padding:16px; gap:12px; }
  .author-byline .ab-avatar{ width:52px; height:52px; font-size: 19px; }
  .author-byline .ab-name{ font-size:16px; }
  .article h2{ font-size: 19px; }
  .article h3{ font-size: 16px; }
}