/* =================================================================
   KKL — Frontend prototipas v2 (DEMO)
   Balta/raudona tema. Vienas pagrindinis šriftas visame puslapyje —
   Poppins (400/600/700/800). Jokio League Gothic. Mobile-first, be
   jokių build žingsnių.
   Tikslinės plotmės: mobile ~390px, desktop ~1440px.
   ================================================================= */

:root {
  --bg:            #ffffff;
  --bg-elevated:   #f5f6f8;
  --bg-elevated-2: #ececf0;
  --border:        rgba(20, 23, 31, 0.10);

  --text-primary:   #14171f;
  --text-secondary: #5b6270;
  --text-tertiary:  #8b93a3;

  --accent:        #f03d24;
  --accent-2:      #ff6a3d;
  --accent-deep:   #c6281a;
  --accent-darkest:#2a0f0a;

  --win:  #0b7a63;
  --loss: #f03d24;

  --footer-bg:   #141c24;
  --footer-text: #b9c0cb;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-round: 999px;

  --content-max: 720px;
  --bottom-nav-h: 60px;

  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;

  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, p, h1, h2, h3 { margin: 0; }
img { max-width: 100%; display: block; }

/* ---------- DEMO banner (nėra dizaino dalis) ---------- */
.demo-banner {
  background: #3a2410;
  color: #ffcf9e;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
}

/* ---------- Visibility utilities (extra specificity so they always win) ---------- */
.app .only-desktop { display: none; }
.app .only-mobile { display: inline-flex; }

.app {
  max-width: var(--content-max);
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-nav-h) + 10px);
  position: relative;
  overflow: hidden;
}

.chev { width: 13px; height: 13px; flex: none; }

.hscroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 16px 4px;
  margin: 0 -16px;
}
.hscroll::-webkit-scrollbar { display: none; }

/* ================= HEADER ================= */
.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}
.topbar-row--filters { padding-top: 0; padding-bottom: 12px; gap: 8px; }

.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo-img { height: 34px; width: auto; }
.brand-divider {
  width: 1px;
  height: 30px;
  background: var(--text-tertiary);
  transform: skewX(-12deg);
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--text-primary);
}

.topbar-actions { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  color: var(--text-primary);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--bg-elevated); }

.pill-select {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-round);
  flex: none;
}
.pill-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 26px 8px 14px;
  border-radius: var(--radius-round);
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 11px;
}
.season-select select {
  background-color: var(--accent);
  color: #fff;
  background-image: url("/assets/icons/chevron-down-white.svg"); /* local file: CSP img-src 'self' blocks data: URIs */
}
.league-select-pill select {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  width: 100%;
  background-image: url("/assets/icons/chevron-down-muted.svg");
}
.topbar-row--filters .league-select-pill { flex: 1; }

.desktop-nav { display: none; }

/* ================= SECTIONS (generic) ================= */
.content { padding: 4px 16px 8px; }

.section { margin-bottom: 28px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.see-all--light { color: rgba(255,255,255,0.85); }

.team-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.team-logo--sm { width: 22px; height: 22px; font-size: 8.5px; margin-right: 8px; }

/* =================================================================
   HERO + GAME CENTER
   ================================================================= */
.hero-wrap {
  position: relative;
  margin: 0 16px 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.game-center {
  position: relative;
  background: linear-gradient(115deg, var(--accent-2), var(--accent) 45%, var(--accent-deep) 100%);
  padding: 14px 16px 16px;
  color: #fff;
}

.gc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.gc-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.gc-carousel { position: relative; }

.gc-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gc-track::-webkit-scrollbar { display: none; }

.gc-card {
  flex: 0 0 min(80vw, 360px);
  scroll-snap-align: start;
  background: #fff;
  color: var(--text-primary);
  border-radius: 10px;
  border: 1px solid #ffffff66;
  padding: 9px 10px;
  height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}

.gc-card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }

.badge {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.gc-card-top .badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 2px 6px; border-radius: 5px; font-size: 8px; line-height: 1.2; }
.gc-status { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 9px; font-weight: 700; color: var(--text-secondary); white-space: nowrap; line-height: 1.2; }
.gc-status.is-live { color: var(--accent); }

.gc-card-teams { display: flex; flex-direction: column; gap: 5px; }
.gc-team { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 5px; min-width: 0; width: 100%; text-align: left; }
.gc-team-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 700; line-height: 1.2; color: var(--text-secondary); }
.gc-card .team-logo { width: 28px; height: 28px; }

.gc-score {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  text-align: right;
}
.score-sep { color: var(--text-tertiary); margin: 0 4px; font-family: var(--font-body); font-weight: 400; }

.gc-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.gc-arrow--prev { left: -6px; }
.gc-arrow--next { right: -6px; }

.gc-dots, .news-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.gc-dots { margin-top: 8px; }
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  padding: 0;
}
.dot.is-active { background: #fff; width: 16px; border-radius: var(--radius-round); }
.news-dots .dot { background: var(--border); }
.news-dots .dot.is-active { background: var(--accent); }

/* ================= SOCIAL ================= */
/* Vienas bendras KKL Instagram/Facebook feed'as — kiekviena kortelė yra
   VIENAS postas (foto + platform badge), ne komanda ir ne klubo paskyra. */
.social-post {
  flex: none;
  width: 132px;
  height: 164px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.social-post-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(240,61,36,0.28), transparent 60%),
    linear-gradient(135deg, hsl(var(--hue), 42%, 88%), hsl(var(--hue), 30%, 72%));
}
.social-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 6px rgba(20,23,31,0.25);
}
.social-badge svg { width: 12px; height: 12px; }
.social-badge--instagram { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.social-badge--facebook { background: #1877f2; }

/* ================= TWO-COL (news + standings + upcoming) =================
   Grid areas: mobile — vieno stulpelio eilė news → standings → games;
   desktop — news/games kairėje kolonoje, standings dešinėje per abi eilutes. */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "news" "standings" "games";
  gap: 28px;
}
.col-main   { grid-area: news; }
.col-side   { grid-area: standings; }
.col-games  { grid-area: games; }
.col-main, .col-side, .col-games { width: 100%; min-width: 0; }
.two-col > .section { margin-bottom: 0; }

/* ---------- NEWS CAROUSEL (viena plati, auto) ---------- */
.news-carousel { position: relative; }

.news-slide-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.news-track {
  display: flex;
  transition: transform 0.45s ease;
}

.news-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
}

.news-slide-media {
  height: 112px;
  background:
    linear-gradient(160deg, rgba(240,61,36,0.30), rgba(240,61,36,0.03)),
    linear-gradient(135deg, #efeff1, #dfe0e3);
  display: flex;
  align-items: flex-start;
  padding: 14px;
}

.news-tag {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
}

.news-slide-body { padding: 16px; }
.news-slide-date { font-size: 11.5px; color: var(--text-tertiary); font-weight: 600; margin-bottom: 6px; }
.news-slide-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.news-slide-excerpt { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }

.news-arrow {
  display: inline-flex;
  position: absolute;
  top: 80px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(20,23,31,0.12);
  font-size: 20px;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.news-arrow--prev { left: 10px; }
.news-arrow--next { right: 10px; }

/* ================= STANDINGS ================= */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.standings-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 340px; }
.standings-table th, .standings-table td { padding: 10px 8px; text-align: center; white-space: nowrap; }

.standings-table thead th {
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.standings-table tbody tr:nth-child(even) { background: var(--bg-elevated); }
.standings-table tbody tr.is-hidden-mobile { display: none; }

.standings-table .col-pos { width: 24px; color: var(--text-tertiary); font-weight: 700; }
.standings-table .col-team { text-align: left; display: flex; align-items: center; font-weight: 700; min-width: 130px; }
.standings-table .col-form { text-align: left; }
.standings-table .col-diff { font-weight: 700; }

.form-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  font-size: 9.5px;
  font-weight: 800;
  color: #fff;
  margin-right: 3px;
}
.form-dot.is-win  { background: var(--win); }
.form-dot.is-loss { background: var(--loss); }

/* mobile: hide Forma column + rows past 3rd to match reference density */
.standings-table .col-form { display: none; }
.standings-table tbody tr:nth-child(n+4) { display: none; }

/* ================= ARTIMIAUSIOS RUNGTYNĖS =================
   Ramesnis, informacinis sąrašas — NE antras Game Center. Naudoja tą
   pačią design-system kalbą (team-logo, badge spalvos, border/radius). */
.upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upcoming-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.upcoming-item:hover { border-color: var(--accent); }

.upcoming-date {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.upcoming-day { font-family: var(--font-heading); font-size: 15px; font-weight: 800; }
.upcoming-month { font-size: 9px; font-weight: 700; color: var(--text-tertiary); letter-spacing: 0.4px; }

.upcoming-body { flex: 1; min-width: 0; }
.upcoming-meta { font-size: 11.5px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 6px; }

.upcoming-teams { display: flex; align-items: center; gap: 8px; }
.upcoming-teams .team-logo--sm { margin-right: 0; }
.upcoming-team-name {
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.upcoming-teams .upcoming-team-name:last-of-type { text-align: right; }
.upcoming-score {
  flex: none;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.upcoming-arrow {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.upcoming-arrow svg { width: 13px; height: 13px; }

/* mobile: rodyti tik 2 artimiausias, likusias per "Žiūrėti visas" */
.upcoming-item:nth-child(n+3) { display: none; }

/* ================= TIKTOK ================= */
.tiktok-card {
  flex: none;
  width: 112px;
  height: 186px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #e9e9eb, #d3d3d6);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tiktok-play {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.45); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.tiktok-play svg { width: 16px; height: 16px; }
.tiktok-views {
  position: absolute; left: 8px; bottom: 8px;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; color: #fff;
  background: rgba(0,0,0,0.5); padding: 3px 6px; border-radius: var(--radius-sm);
}
.tiktok-views svg { width: 9px; height: 9px; }

/* ================= MOBILE BOTTOM NAV ================= */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--bottom-nav-h);
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  background: #fff;
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 30;
}
.bottom-nav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--text-tertiary);
}
.bottom-nav-item.is-active { color: var(--accent); }
.bottom-nav-icon svg { width: 20px; height: 20px; }
.bottom-nav-label { font-size: 9.5px; font-weight: 600; }

/* ================= FOOTER ================= */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 28px 16px;
  margin-top: 8px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-logo-chip { background: #fff; border-radius: var(--radius-sm); padding: 3px 6px; display: inline-flex; line-height: 0; }
.footer-logo-img { height: 24px; }
.footer-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.3); transform: skewX(-12deg); }
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 9.5px; font-weight: 800; line-height: 1.2; color: #fff;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-link { font-size: 13px; font-weight: 600; color: var(--footer-text); }
.footer-link:hover { color: #fff; }

.footer-social { display: flex; gap: 8px; }
.footer-social-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.footer-social-btn svg { width: 15px; height: 15px; }

.footer-copy { font-size: 12px; color: var(--footer-text); opacity: 0.8; }
.footer-tagline { font-size: 12.5px; font-weight: 600; color: #fff; }
.footer-tagline-slash { color: var(--accent); font-weight: 800; margin-right: 4px; }

/* =================================================================
   RESPONSIVE — desktop (~860px+, tikslinė plotmė ~1440px)
   ================================================================= */
@media (min-width: 860px) {
  :root { --content-max: 1240px; }

  .app .only-desktop { display: inline-flex; }
  .app .only-mobile { display: none; }

  .app {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding-bottom: 0;
    overflow: visible;
  }

  .topbar-row { padding: 16px 32px; }
  .topbar-row--filters { display: none; }
  .brand-logo-img { height: 42px; }
  .brand-name { font-size: 12px; }

  .desktop-nav { display: flex; gap: 26px; margin: 0 auto 0 40px; }
  .desktop-nav-link {
    font-family: var(--font-heading);
    font-size: 14px; font-weight: 700;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .desktop-nav-link.is-active,
  .desktop-nav-link:hover { color: var(--text-primary); }
  .desktop-nav-link.is-active { color: var(--accent); border-bottom-color: var(--accent); }
  .desktop-nav-more { color: var(--text-secondary); }

  .topbar-actions { gap: 10px; }
  .league-select-pill select {
    background-color: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 9px 28px 9px 16px;
    max-width: 200px;
    text-overflow: ellipsis;
  }

  .content { padding: 8px 32px 8px; }

  .hero-wrap {
    margin: 24px 32px 32px;
    display: flex;
    align-items: stretch;
    min-height: 170px;
    background: linear-gradient(105deg, var(--accent-2), var(--accent) 50%, var(--accent-deep));
  }

  .game-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    padding: 10px 24px;
  }
  .gc-title { font-size: 17px; }
  .gc-track { flex-wrap: nowrap; }
  .gc-card { flex: 0 0 200px; height: 114px; }
  .gc-arrow { display: inline-flex; }
  .gc-arrow--prev { left: -13px; }
  .gc-arrow--next { right: -13px; }

  .section { margin-bottom: 44px; }
  .section-title { font-size: 21px; }

  .hscroll { padding: 2px 32px 4px; margin: 0 -32px; flex-wrap: wrap; overflow: visible; }
  .social-post { width: 168px; height: 208px; }

  .two-col {
    grid-template-columns: 2fr 1fr;
    grid-template-areas: "news standings" "games standings";
    gap: 32px 32px;
    align-items: start;
  }
  .col-games { margin-top: 32px; }

  .news-slide-viewport { }
  .news-slide { flex-direction: row; }
  .news-slide-media { flex: 0 0 42%; height: auto; min-height: 220px; }
  .news-slide-body { flex: 1; min-width: 0; padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
  .news-slide-title { font-size: 22px; }
  .news-slide-excerpt { font-size: 14.5px; }
  .news-arrow { top: 50%; }

  .standings-table { min-width: 0; font-size: 13.5px; }
  .standings-table th, .standings-table td { padding: 13px 10px; }
  .standings-table .col-form { display: table-cell; }
  .standings-table tbody tr:nth-child(n+4) { display: table-row; }

  /* Artimiausios rungtynės: desktop'e rodom visas 3 (col-games po news kairėje) */
  .upcoming-item:nth-child(n+3) { display: flex; }
  .upcoming-item { padding: 14px 16px; }

  .tiktok-row { flex-wrap: nowrap; overflow-x: auto; }
  .tiktok-card { width: 168px; height: 280px; }

  .site-footer { padding: 32px; }
  .footer-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
  }
  .footer-copy { margin-left: auto; }
}

@media (min-width: 1280px) {
  :root { --content-max: 1360px; }
}

/* KKL2 integration: the approved reference structure with real API content. */
/* Homepage V1: editorial news and a compact competition pulse. */
.home-latest,.home-pulse,.home-upcoming{margin-bottom:28px}
.home-latest-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);grid-template-rows:repeat(4,minmax(0,1fr));gap:10px}
.home-news-item{display:flex;min-width:0;min-height:76px;align-items:center;gap:13px;padding:10px 13px;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;color:var(--text-primary);transition:border-color .18s,transform .18s}
.home-news-item:hover,.home-news-item:focus-visible{border-color:var(--accent);transform:translateY(-1px)}
.home-news-item--lead{grid-row:1/5;grid-column:1;min-height:340px;flex-direction:column;align-items:stretch;padding:0;overflow:hidden}
.home-news-image{display:block;flex:0 0 76px;width:96px;overflow:hidden;border-radius:6px;background:var(--bg-elevated)}
.home-news-image img{width:100%;height:100%;object-fit:cover}
.home-news-item--lead .home-news-image{flex:0 0 225px;width:100%;border-radius:0}
.home-news-copy{display:flex;min-width:0;flex:1;flex-direction:column;justify-content:center;gap:5px}
.home-news-item--lead .home-news-copy{padding:18px 22px 22px}
.home-news-category{font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--accent)}
.home-news-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.3;color:var(--text-primary)}
.home-news-item--lead .home-news-copy strong{font-size:24px;line-height:1.2}
.home-news-copy time{font-size:11px;color:var(--text-tertiary)}
.home-pulse>.section-head{margin-bottom:14px}
.home-pulse-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.home-pulse-panel{min-width:0;padding:18px 19px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff}
.home-pulse-panel .section-head{min-height:48px;margin-bottom:14px;align-items:flex-start}
.home-pulse-panel h3{font-size:17px;line-height:1.2}
.home-pulse-context{margin-top:4px;font-size:10px;color:var(--text-tertiary)}
.home-pulse-panel .see-all{white-space:nowrap}
.home-pulse-panel .table-scroll{border:0;border-radius:0}
.home-pulse-panel .standings-table{min-width:0;font-size:12px}
.home-pulse-panel .standings-table th,.home-pulse-panel .standings-table td{padding:8px 5px}
.home-pulse-panel .standings-table tbody tr:nth-child(n+4){display:table-row}
.home-pulse-panel .standings-table .col-team{min-width:0;width:auto}
.home-pulse-panel .standings-table .col-team a{gap:6px}
.home-pulse-panel .standings-table .team-logo--sm{width:28px;height:28px;flex:none}
.home-leaders{display:grid;gap:8px}
.home-leader{display:flex;align-items:center;gap:10px;min-width:0;min-height:70px;padding:9px 10px;background:var(--bg-elevated);border-radius:var(--radius-md)}
.home-leader-metric{width:43px;flex:none;font-size:12px;font-weight:800;color:var(--accent)}
.home-leader-portrait{display:grid;place-items:center;width:42px;height:48px;flex:none;border-radius:6px 6px 3px 3px;background:#e7e9ec;overflow:hidden}
.home-leader-portrait svg{width:34px;height:39px;fill:#a1a8b2;align-self:end}
.home-leader-portrait img{width:100%;height:100%;object-fit:contain}
.home-leader-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.home-leader-info>a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;color:var(--text-primary)}
.home-leader-info>a:hover,.home-leader-info>a:focus-visible{color:var(--accent)}
.home-leader-team{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;color:var(--text-secondary)}
.home-leader-team .team-logo--sm{width:19px;height:19px;flex:none}
.home-leader-value{flex:none;text-align:right;font-size:23px;line-height:1;font-variant-numeric:tabular-nums}
.home-leader-value small{display:block;margin-top:5px;font-size:9px;font-weight:600;color:var(--text-tertiary)}
.home-leader-empty{font-size:11px;color:var(--text-tertiary)}
.home-upcoming .upcoming-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-upcoming .upcoming-item{min-width:0;padding:12px}
.home-upcoming .upcoming-item:nth-child(n+3){display:flex}
.home-upcoming .upcoming-teams{gap:5px}
.home-upcoming .upcoming-team-name{font-size:11px}
@media(max-width:1023px){.home-pulse-grid{gap:12px}.home-upcoming .upcoming-list{grid-template-columns:1fr 1fr}.home-upcoming .upcoming-item:nth-child(n+3){display:none}}
@media(max-width:700px){.home-latest-grid,.home-pulse-grid,.home-upcoming .upcoming-list{grid-template-columns:1fr}.home-latest-grid{grid-template-rows:none}.home-news-item--lead{grid-row:auto;grid-column:auto;min-height:0}.home-news-item--lead .home-news-image{flex-basis:180px}.home-news-item--lead .home-news-copy strong{font-size:20px}.home-pulse-panel{padding:15px}.home-upcoming .upcoming-item:nth-child(n+3){display:none}.home-upcoming .upcoming-teams{display:grid;grid-template-columns:24px minmax(0,1fr);gap:3px 7px}.home-upcoming .upcoming-teams>.team-logo--sm{width:23px;height:23px}.home-upcoming .upcoming-teams>.team-logo--sm:last-child{grid-column:1;grid-row:2}.home-upcoming .upcoming-team-name{grid-column:2;text-align:left!important;font-size:12px}.home-upcoming .upcoming-team-name:nth-child(2){grid-row:1}.home-upcoming .upcoming-team-name:nth-child(4){grid-row:2}.home-upcoming .upcoming-score{display:none}}
@media(max-width:400px){.home-pulse-panel .section-head{gap:8px}.home-pulse-panel .see-all{font-size:10px}.home-pulse-panel .standings-table th,.home-pulse-panel .standings-table td{padding:8px 3px}.home-pulse-panel .standings-table .team-logo--sm{width:24px;height:24px}.home-leader{gap:7px}.home-leader-metric{width:35px}.home-leader-portrait{width:37px}}

/* Homepage news: one photographic lead, with selectors only for published stories. */
.home-latest .home-latest-grid{display:block}
.home-news-feature{position:relative;min-width:0;overflow:hidden;border-radius:12px;background:#15191e;isolation:isolate}
.home-news-hero{position:relative;display:block;min-height:540px;color:#fff;overflow:hidden}
.home-news-hero-media,.home-news-hero-media img{position:absolute;inset:0;width:100%;height:100%}
.home-news-hero-media img{object-fit:cover;object-position:center top;transition:transform .5s ease}
.home-news-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,11,15,.76) 0%,rgba(8,11,15,.23) 57%,rgba(8,11,15,.08) 100%),linear-gradient(0deg,rgba(5,8,12,.95) 0%,rgba(5,8,12,.55) 30%,transparent 74%)}
.home-news-feature:hover .home-news-hero-media img{transform:scale(1.025)}
.home-news-hero-cta:focus-visible,.home-news-selector:focus-visible{outline:3px solid #ff654d;outline-offset:3px}
.home-news-hero-copy{position:absolute;z-index:1;left:clamp(24px,4vw,52px);right:32px;bottom:34px;display:flex;align-items:flex-start;flex-direction:column;gap:12px;max-width:850px}
.home-news-feature:has(.home-news-selectors) .home-news-hero-copy{bottom:126px}
.home-news-hero-kicker{padding:6px 10px;border-radius:4px;background:#e93624;color:#fff;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.home-news-hero-copy strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:clamp(28px,2.95vw,44px);font-weight:750;line-height:1.1;letter-spacing:-.03em;text-wrap:balance;color:#fff}
.home-news-hero-copy time{font-size:12px;font-weight:600;color:#e9e9e9}
.home-news-hero-cta{display:inline-flex;align-items:center;gap:8px;min-height:38px;margin-top:2px;padding:6px 0;border-bottom:2px solid #ef3c29;font-size:12px;font-weight:750;color:#fff}
.home-news-hero-cta:hover{color:#fff;border-bottom-color:#ff765f}
.home-news-selectors{position:absolute;z-index:2;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:102px;background:rgba(9,12,16,.84);border-top:1px solid #ffffff30;backdrop-filter:blur(12px)}
.home-news-selector{position:relative;min-width:0;display:grid;grid-template-columns:26px minmax(0,1fr);grid-template-rows:1fr auto;gap:3px 9px;padding:18px 16px;text-align:left;color:#eee;border-right:1px solid #ffffff24}
.home-news-selector:last-child{border-right:0}
.home-news-selector:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:transparent}
.home-news-selector.is-active{background:#ffffff12}
.home-news-selector.is-active:before{background:#ef3c29}
.home-news-selector-number{grid-row:1/3;color:#ff6a59;font-size:12px;font-weight:800}
.home-news-selector-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;font-weight:700;line-height:1.3}
.home-news-selector time{font-size:10px;color:#c4c7cb}
.home-news-selector:hover{background:#ffffff1a}
@media(max-width:700px){
  .home-news-feature{border-radius:10px}
  .home-news-hero{min-height:390px}
  .home-news-hero-media img{object-position:center 30%}
  .home-news-hero:after{background:linear-gradient(0deg,rgba(5,8,12,.96) 0%,rgba(5,8,12,.69) 28%,rgba(5,8,12,.05) 72%)}
  .home-news-hero-copy,.home-news-feature:has(.home-news-selectors) .home-news-hero-copy{left:20px;right:20px;bottom:24px;gap:9px}
  .home-news-hero-copy strong{font-size:clamp(21px,6.4vw,28px);line-height:1.14}
  .home-news-hero-kicker{font-size:9px;padding:5px 7px}
  .home-news-hero-copy time,.home-news-hero-cta{font-size:10px}
  .home-news-selectors{position:relative;display:flex;min-height:0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;background:#171a1f;backdrop-filter:none}
  .home-news-selector{flex:0 0 78%;min-height:76px;padding:13px 14px;scroll-snap-align:start}
}
@media(prefers-reduced-motion:reduce){.home-news-hero-media img{transition:none}}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-ext-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-ext-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-ext-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-ext-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-ext-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-latin-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root { font-synthesis: none; }
.season-display {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: var(--radius-round);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.season-display:after { content: "⌄"; margin-left: 8px; }
.season-display[hidden], [hidden] { display: none !important; }
.brand-logo-img { width: 62px; height: 42px; object-fit: cover; object-position: center; }
.icon-btn:disabled { opacity: 1; cursor: default; }
.desktop-nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }
.bottom-nav-item[aria-current] { color: var(--accent); }
.team-logo { overflow: hidden; position: relative; background: #fff; }
.team-logo img { width: 100%; height: 100%; object-fit: contain; }
.team-logo--missing:before { content: ""; position: absolute; inset: 20%; border: 1px solid #cfd3da; border-radius: 50%; }
.team-logo--missing:after { content: ""; position: absolute; left: 50%; top: 14%; bottom: 14%; width: 1px; background: #cfd3da; transform: rotate(28deg); }
.badge { max-width: 58%; white-space: normal; line-height: 1.05; }
.gc-status { text-align: right; }
.news-slide-media { position: relative; overflow: hidden; }
.news-slide-media>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-slide-media>.news-tag { position: relative; z-index: 1; }
.news-slide--empty { min-height: 254px; }
.reference-empty {
  width: 100%; min-height: 110px; padding: 20px;
  border: 1px dashed var(--border); border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--text-secondary); background: var(--bg-elevated);
}
.reference-empty strong { font-family: var(--font-heading); font-size: 16px; color: var(--text-primary); }
.reference-empty span { margin-top: 5px; font-size: 12px; }
.reference-empty--light { min-width: 260px; min-height: 120px; background: #fff; color: var(--text-primary); }
.reference-empty--tiktok { min-height: 150px; }
.standings-table .col-team a { min-width: 0; display: flex; align-items: center; color: inherit; }
.standings-table .col-team a span:last-child { overflow: hidden; text-overflow: ellipsis; }
.upcoming-teams .team-logo--sm { margin-right: 0; }
#tiktok-row { width: 100%; }
.site-footer.footer { display: block; }
.site-footer .wrap { max-width: none; padding: 0; }
.site-footer .footer-brand { gap: 8px; }
.bottom-nav .bottom-nav-label { font-size: 9.5px; line-height: 1.2; }
.bottom-nav .bottom-nav-icon { font-size: 20px; line-height: 20px; }

@media (max-width: 859px) {
  .brand-logo-img { width: 52px; height: 36px; }
  .topbar-row--filters .season-display { flex: none; }
  .topbar-row--filters .league-select-pill { min-width: 0; }
  .hero-wrap { margin-top: 8px; }
  .gc-card { min-width: 0; }
  .news-slide--empty { min-height: 160px; }
  .reference-empty--tiktok { min-height: 112px; }
  .site-footer { display: none !important; }
  .content { padding-bottom: calc(var(--bottom-nav-h) + 18px); }
  .page-heading h1 { font-size: 22px; }
}

@media (min-width: 860px) {
  .brand-logo-img { width: 72px; height: 48px; }
  .gc-card { min-width: 0; }
  .news-slide--empty { min-height: 268px; }
  .col-side .reference-empty { min-height: 268px; }
  .reference-empty--tiktok { min-height: 170px; }
}

/* =================================================================
   PAGE HEADING + FILTER TABS — brought into the same Poppins system
   as the homepage (public-page routes only previously kept the
   legacy navy/Manrope styling from pages.css).
   ================================================================= */
.page-heading {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.page-heading .eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.page-heading h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 10px 0 6px;
  color: var(--text-primary);
}
.page-heading p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.filter-tabs { gap: 8px; margin-bottom: 20px; }
.filter-tabs button {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  border-radius: var(--radius-round);
  border-color: var(--border);
  background: #fff;
  color: var(--text-secondary);
}
.filter-tabs button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: none;
}

/* =================================================================
   /matches — rungtynių sąrašas (struktūros reference: laikas+arena /
   namų komanda+logo / VS-rezultatas / logo+svečių komanda / rodyklė).
   Naudoja tą pačią KKL dizaino sistemą (spalvos, radius, team-logo)
   kaip ir "Artimiausios rungtynės" widget'as pagrindiniame puslapyje —
   ne EuroLygos spalvos/stilius, tik analogiška eilutės struktūra.
   ================================================================= */
.match-day + .match-day { margin-top: 22px; }
.match-day-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.match-day-heading h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: capitalize;
}
.match-day-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
}
/* Explicit reset — pages.css's older .match-list still styles this class as a bordered
   white card; without this reset every match-row would sit nested inside that outer card,
   a "box within a box" look. No card anywhere here — just a plain list on the page
   background, rows separated by a hairline divider only. */
.match-list { display: flex; flex-direction: column; gap: 0; background: none; border: 0; border-radius: 0; padding: 0; }

.match-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "meta arrow" "matchup matchup";
  align-items: center;
  gap: 8px 12px;
  padding: 14px 4px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.match-list .match-row:last-child { border-bottom: 0; }
.match-row:hover { background: var(--bg-elevated); }
.match-row:hover .match-row-arrow { color: var(--accent); }
.match-row.is-live { box-shadow: inset 3px 0 0 var(--accent); }

.match-row-meta {
  grid-area: meta;
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.match-time {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}
.match-venue {
  font-size: 11px;
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The central "name / logo / VS-or-score / logo / name" cluster. Every track is a FIXED
   pixel width (not "auto") — the two outer name tracks are the only flexible (minmax(0,1fr))
   ones. This is deliberate: an "auto" logo/score column sizes itself to that ROW's own
   content, so two rows with a different score ("VS" vs "100:100") would get very slightly
   different column widths and the crests would drift a pixel or two between rows. Fixed
   widths make every row use the exact same grid, so logos/VS/arrow line up perfectly. */
.match-row-matchup {
  grid-area: matchup;
  min-width: 0;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px 56px 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.match-team-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.match-team-name:first-of-type { text-align: right; }
.match-team-name:last-of-type { text-align: left; }
.match-row-center { text-align: center; }
.match-score {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}
.match-vs {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-tertiary);
  letter-spacing: 0.4px;
}

/* Same uniform round slot as team-logo elsewhere, just a larger size
   for this component so the crests read clearly on a full match row. */
.team-logo--lg { width: 34px; height: 34px; font-size: 10px; }

.match-row-arrow {
  grid-area: arrow;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  font-size: 19px;
  line-height: 1;
}

@media (min-width: 860px) {
  /* Desktop uses the full row width: a fixed-width meta column pinned left, the
     centered matchup cluster given real room to breathe (not a tiny island), and
     the arrow pinned right — same fixed-grid logic, just larger tracks. */
  .match-row {
    grid-template-columns: 168px 1fr 24px;
    grid-template-areas: "meta matchup arrow";
    gap: 20px;
    padding: 16px 8px;
  }
  .match-row-meta { flex-direction: column; align-items: flex-start; gap: 3px; }
  .match-time { font-size: 15px; }
  .match-venue { max-width: 168px; font-size: 12px; }
  .match-row-matchup {
    max-width: 820px;
    grid-template-columns: minmax(0, 1fr) 46px 78px 46px minmax(0, 1fr);
    gap: 16px;
  }
  .match-team-name { font-size: 15px; }
  .match-score { font-size: 21px; }
  .match-vs { font-size: 13px; }
  .team-logo--lg { width: 46px; height: 46px; font-size: 13px; }
  .match-row-arrow { width: 24px; height: 24px; font-size: 21px; }
}

/* The hero owns game status; the pre-game content note stays secondary. */
.pg-status-card{padding:18px 22px}
.pg-status-note{font-size:13px;color:var(--text-secondary);margin:0}
