/* fonts.css */
/* Local Cairo + Outfit — no Google Fonts DNS */

/* Cairo Arabic (variable weights) */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Cairo Latin Ext */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cairo Latin */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-latin.woff2") format("woff2");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit Latin Ext */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Outfit Latin */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* header.css */
/* Jadwal Live header — two-strip shell, wordmark brand, no motion */

.jl-header {
  --hdr-ink: #f1f5f9;
  --hdr-mute: rgba(241, 245, 249, 0.68);
  --hdr-teal: #14b8a6;
  --hdr-teal-dim: rgba(20, 184, 166, 0.16);
  --hdr-edge: rgba(255, 255, 255, 0.1);
  --hdr-surface: rgba(255, 255, 255, 0.05);
  --hdr-max: var(--header-max-width, 1200px);
  --hdr-gutter: var(--header-gutter, 20px);
  position: relative;
  z-index: 1000;
  color: var(--hdr-ink);
  background:
    linear-gradient(
      180deg,
      var(--header-gradient-1, #071018) 0%,
      var(--header-gradient-2, #0b1820) 55%,
      var(--header-gradient-3, #0e242c) 100%
    );
  border-bottom: 1px solid rgba(20, 184, 166, 0.32);
  box-shadow: 0 10px 28px rgba(2, 8, 14, 0.35);
}

.jl-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hdr-teal) 18%, #5eead4 50%, var(--hdr-teal) 82%, transparent);
  pointer-events: none;
  opacity: 0.9;
}

/* ── Sticky behaviour: الشريط العلوي (اللوجو/البحث) يختفي عند النزول،
      وشريط الأقسام يبقى معلّقًا في الأعلى ── */
.jl-header.is-sticky {
  position: fixed;
  inset-inline: 0;
  top: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.jl-header.is-sticky.is-condensed {
  transform: translate3d(0, calc(-1 * var(--jl-hdr-top, 68px)), 0);
}

.jl-header.is-sticky.is-condensed .jl-header__row--top {
  pointer-events: none;
}

.jl-header.is-sticky.is-condensed .jl-header__row--nav {
  background: rgba(3, 11, 17, 0.96);
  box-shadow: 0 10px 24px rgba(2, 8, 14, 0.4);
}

/* يحجز ارتفاع الهيدر في التدفق حتى لا يقفز المحتوى */
.jl-header-spacer {
  height: var(--jl-hdr-h, calc(var(--header-mainbar-height, 68px) + var(--header-topbar-height, 52px)));
  flex: 0 0 auto;
}

html {
  scroll-padding-top: calc(var(--jl-nav-h, 52px) + 12px);
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  .jl-header.is-sticky {
    transition: none;
  }
}

@media (max-width: 991px) {
  .jl-header-spacer {
    height: var(--jl-hdr-h, calc(var(--header-mobile-mainbar-height, 58px) + var(--header-topbar-height, 52px)));
  }
}

.jl-header__inner {
  position: relative;
  width: min(100%, var(--hdr-max));
  margin-inline: auto;
  padding-inline: var(--hdr-gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Top strip: brand + tools ── */
.jl-header__row--top {
  min-height: var(--header-mainbar-height, 68px);
  border-bottom: 1px solid var(--hdr-edge);
}

.jl-header__top-inner {
  min-height: var(--header-mainbar-height, 68px);
  justify-content: space-between;
}

.jl-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.jl-header__logo {
  display: block;
  height: auto;
  max-height: var(--header-logo-max-height, 46px);
  max-width: min(100%, var(--header-logo-max-width, 210px));
  width: auto;
  object-fit: contain;
}

.jl-header__mark {
  --mark-size: 2.45rem;
  width: var(--mark-size);
  height: var(--mark-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  border-radius: 0.7rem;
  background:
    linear-gradient(145deg, #2dd4bf 0%, #0f766e 55%, #0d5f5a 100%);
  border: 1px solid rgba(153, 246, 228, 0.45);
  color: #042f2e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.jl-header__mark::after {
  display: none;
}

.jl-header__mark-ico {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  position: relative;
  z-index: 1;
}

.jl-header__mark-letter {
  display: none;
}

.jl-header__wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1;
}

.jl-header__wordmark-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.jl-header__wordmark-main {
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: clamp(1.28rem, 2.6vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: none;
  background: linear-gradient(180deg, #ffffff 10%, #e2e8f0 55%, #94a3b8 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35));
}

.jl-header__wordmark-accent {
  position: relative;
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.42rem 0.22rem;
  border-radius: 0.3rem;
  color: #042f2e;
  background:
    linear-gradient(180deg, #99f6e4 0%, #2dd4bf 45%, #14b8a6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 0 1px rgba(15, 118, 110, 0.3);
}

.jl-header__wordmark-accent::before {
  content: "";
  display: inline-block;
  width: 0.3rem;
  height: 0.3rem;
  margin-inline-end: 0.22rem;
  border-radius: 50%;
  background: #be123c;
  vertical-align: 0.05em;
}

.jl-header__wordmark-tag {
  font-family: "Cairo", sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.82);
  letter-spacing: 0.08em;
  white-space: nowrap;
  line-height: 1;
  opacity: 0.92;
}

.jl-header__wordmark--panel .jl-header__wordmark-main {
  font-size: 1.25rem;
}

.jl-header__wordmark--panel .jl-header__wordmark-accent {
  font-size: 0.72rem;
  padding: 0.2rem 0.42rem;
}

.jl-header__panel-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.jl-header__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 1 auto;
  min-width: 0;
  margin-inline-start: auto;
}

.jl-header__datetime {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 0.7rem;
  background:
    linear-gradient(145deg, rgba(20, 184, 166, 0.12), rgba(0, 0, 0, 0.28));
  color: var(--hdr-mute);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.jl-header__datetime-ico {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(20, 184, 166, 0.18);
  color: #5eead4;
  flex-shrink: 0;
}

.jl-header__datetime-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.jl-header__weekday {
  font-size: 0.68rem;
  font-weight: 800;
  color: #99f6e4;
  white-space: nowrap;
}

.jl-header__date {
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.86);
  white-space: nowrap;
}

.jl-header__time {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--hdr-edge);
  min-width: 4.6rem;
  text-align: center;
}

.jl-header__tool-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--hdr-mute);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--hdr-edge);
  border-radius: 0.55rem;
  background: var(--hdr-surface);
  white-space: nowrap;
}

.jl-header__tool-link:hover,
.jl-header__tool-link:focus-visible {
  color: #5eead4;
  border-color: rgba(20, 184, 166, 0.45);
  outline: none;
}

.jl-header__follow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  color: var(--hdr-mute);
  padding-inline: 0.35rem;
}

.jl-header__follow-label {
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  color: rgba(241, 245, 249, 0.55);
  letter-spacing: 0.02em;
}

.jl-header__social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.jl-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.55rem;
}

.jl-header__social-link:hover,
.jl-header__social-link:focus-visible {
  outline: none;
}

.jl-header__social-link[data-net="facebook"]:hover { background: #1877f2; border-color: #1877f2; }
.jl-header__social-link[data-net="twitter"]:hover { background: #111; border-color: #333; }
.jl-header__social-link[data-net="telegram"]:hover { background: #229ed9; border-color: #229ed9; }
.jl-header__social-link[data-net="instagram"]:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af);
  border-color: transparent;
}
.jl-header__social-link[data-net="youtube"]:hover { background: #ff0000; border-color: #ff0000; }

.jl-header__search-btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.35rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(20, 184, 166, 0.4);
  border-radius: 0.55rem;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.22), rgba(20, 184, 166, 0.1));
  color: #99f6e4;
  font-size: 0.78rem;
  font-weight: 800;
}

.jl-header__search-btn:hover,
.jl-header__search-btn:focus-visible,
.jl-header.is-search-open .jl-header__search-btn {
  background: linear-gradient(180deg, #5eead4, #14b8a6);
  border-color: #99f6e4;
  color: #042f2e;
  outline: none;
}

.jl-header__icon-btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid var(--hdr-edge);
  background: var(--hdr-surface);
  color: #fff;
  border-radius: 0.45rem;
}

.jl-header__icon-btn:hover,
.jl-header__icon-btn:focus-visible {
  background: var(--hdr-teal-dim);
  border-color: rgba(20, 184, 166, 0.5);
  color: #5eead4;
  outline: none;
}

.jl-header__ico-sun { display: none; }
html[data-theme="dark"] .jl-header__ico-moon { display: none; }
html[data-theme="dark"] .jl-header__ico-sun { display: block; }

.jl-header .header-icon,
.jl-header .jl-ico {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  flex-shrink: 0;
}

/* ── Bottom nav strip ── */
.jl-header__row--nav {
  min-height: var(--header-topbar-height, 52px);
  background: rgba(2, 8, 14, 0.55);
}

.jl-header__nav-inner {
  min-height: var(--header-topbar-height, 52px);
  gap: 0.65rem;
}

.jl-header__nav {
  display: flex;
  align-items: stretch;
  gap: 0.3rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-block: 0.35rem;
}

.jl-header__nav::-webkit-scrollbar {
  display: none;
}

.jl-header__nav-sep {
  width: 1px;
  align-self: center;
  height: 1.2rem;
  background: var(--hdr-edge);
  flex: 0 0 auto;
  margin-inline: 0.25rem;
}

/* زر الرئيسية — أول عنصر في شريط الأقسام */
.jl-header__home {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  align-self: center;
  text-decoration: none;
  font-family: "Cairo", var(--jl-font, sans-serif);
  padding: 0.48rem 0.9rem 0.48rem 0.78rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  font-weight: 900;
  color: #d7fff6;
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.22), rgba(2, 8, 14, 0.55));
  border: 1px solid rgba(20, 184, 166, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.jl-header__home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.jl-header__home:hover::after,
.jl-header__home:focus-visible::after {
  transform: translateX(120%);
}

.jl-header__home:hover,
.jl-header__home:focus-visible {
  color: #fff;
  border-color: #5eead4;
  outline: none;
}

.jl-header__home.is-active {
  color: #042f2e;
  background: linear-gradient(180deg, #5eead4 0%, #14b8a6 100%);
  border-color: #99f6e4;
}

.jl-header__home-ico {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  background: rgba(2, 8, 14, 0.4);
  color: #5eead4;
}

.jl-header__home.is-active .jl-header__home-ico {
  background: rgba(4, 47, 46, 0.16);
  color: #042f2e;
}

.jl-header__home .jl-ico {
  width: 0.86rem;
  height: 0.86rem;
}

.jl-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--hdr-mute);
  font-family: "Cairo", var(--jl-font, sans-serif);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.015em;
  padding: 0.48rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 0.58rem;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.jl-header__nav-link:hover,
.jl-header__nav-link:focus-visible {
  color: #fff;
  background: var(--hdr-surface);
  border-color: var(--hdr-edge);
  transform: translateY(-1px);
  outline: none;
}

.jl-header__nav-link.is-active {
  color: #042f2e;
  background: linear-gradient(180deg, #5eead4 0%, #14b8a6 100%);
  border-color: #99f6e4;
}

.jl-header__nav-link--cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.58);
}

.jl-header__nav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.48rem;
  color: #5eead4;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.12);
  opacity: 0.92;
}

.jl-header__nav-link.is-active .jl-header__nav-ico {
  color: #042f2e;
  background: rgba(4, 47, 46, 0.13);
  border-color: rgba(4, 47, 46, 0.12);
  opacity: 1;
}

.jl-header__nav-link--videos .jl-header__nav-ico {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(251, 113, 133, 0.16);
}

.jl-header__nav-link--leagues .jl-header__nav-ico {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(251, 191, 36, 0.18);
}

.jl-header__nav-link--videos.is-active .jl-header__nav-ico,
.jl-header__nav-link--leagues.is-active .jl-header__nav-ico {
  color: #042f2e;
  background: rgba(4, 47, 46, 0.13);
  border-color: rgba(4, 47, 46, 0.12);
}

/* Left-side actions (visual left in RTL) */
.jl-header__nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  margin-inline-start: auto;
  padding-inline-start: 0.35rem;
}

.jl-header__rail-btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.jl-header__rail-btn--theme {
  color: #fde68a;
  background:
    linear-gradient(145deg, rgba(245, 158, 11, 0.2), rgba(15, 23, 42, 0.35));
  border-color: rgba(245, 158, 11, 0.4);
}

.jl-header__rail-btn--theme:hover,
.jl-header__rail-btn--theme:focus-visible {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.35), rgba(245, 158, 11, 0.15));
  border-color: #fbbf24;
  outline: none;
}

.jl-header__rail-btn--search {
  display: none;
  width: 2.25rem;
  padding: 0;
  justify-content: center;
  color: #5eead4;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--hdr-edge);
}

.jl-header.is-condensed .jl-header__rail-btn--search {
  display: inline-flex;
}

.jl-header__rail-btn--search:hover,
.jl-header__rail-btn--search:focus-visible {
  background: var(--hdr-teal-dim);
  border-color: rgba(20, 184, 166, 0.5);
  outline: none;
}

/* ── زر القائمة الجديد ── */
.jl-menu-btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0 0.85rem 0 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(20, 184, 166, 0.45);
  color: #d7fff6;
  font-size: 0.75rem;
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.24), rgba(2, 8, 14, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.jl-menu-btn:hover,
.jl-menu-btn:focus-visible {
  color: #fff;
  border-color: #5eead4;
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.4), rgba(2, 8, 14, 0.55));
  outline: none;
}

.jl-menu-btn__bars {
  display: inline-grid;
  gap: 4px;
  width: 1.05rem;
}

.jl-menu-btn__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.16s ease, width 0.24s ease;
}

.jl-menu-btn__bars i:nth-child(2) {
  width: 62%;
  margin-inline-start: auto;
}

.jl-menu-btn:hover .jl-menu-btn__bars i:nth-child(2) {
  width: 100%;
}

.jl-header.is-panel-open .jl-menu-btn {
  color: #042f2e;
  background: linear-gradient(180deg, #5eead4 0%, #14b8a6 100%);
  border-color: #99f6e4;
}

.jl-header.is-panel-open .jl-menu-btn__bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.jl-header.is-panel-open .jl-menu-btn__bars i:nth-child(2) {
  opacity: 0;
}

.jl-header.is-panel-open .jl-menu-btn__bars i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .jl-menu-btn__bars i,
  .jl-header__home::after {
    transition: none;
  }
}

.jl-header__rail-btn-ico {
  display: inline-flex;
}

/* Search */
.jl-header__search-panel {
  display: none;
  border-bottom: 1px solid var(--hdr-edge);
  background: rgba(4, 10, 16, 0.96);
  padding: 0.75rem 0;
}

.jl-header.is-search-open .jl-header__search-panel {
  display: block;
}

.jl-header__search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: 0.75rem;
  padding: 0.35rem 0.4rem 0.35rem 0.9rem;
}

.jl-header__search-ico {
  color: #5eead4;
  display: inline-flex;
  flex-shrink: 0;
}

.jl-header__search:focus-within {
  border-color: rgba(20, 184, 166, 0.7);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
}

.jl-header__search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}

.jl-header__search input[type="search"]::placeholder {
  color: rgba(248, 250, 252, 0.42);
}

.jl-header__search button {
  appearance: none;
  border: 0;
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(180deg, #5eead4, #14b8a6);
  color: #042f2e;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.jl-header__search button:hover,
.jl-header__search button:focus-visible {
  filter: brightness(1.06);
  outline: none;
}

/* Drawer — smooth right-side slide, modern & fast */
.jl-header__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 14, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--hdr-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.jl-header__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* الدرج يفتح دائمًا من يمين الشاشة */
.jl-header__panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: min(90vw, 380px);
  z-index: 1200;
  background:
    radial-gradient(130% 45% at 100% 0%, rgba(20, 184, 166, 0.22), transparent 62%),
    linear-gradient(180deg, #0b1620 0%, #060f16 100%);
  border-left: 1px solid rgba(20, 184, 166, 0.28);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
  padding: 1.1rem 1.05rem 1.6rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  color: #f8fafc;
  transform: translate3d(102%, 0, 0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.jl-header__panel::-webkit-scrollbar {
  width: 0;
}

.jl-header__panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--hdr-teal, #14b8a6), transparent 70%);
  pointer-events: none;
}

.jl-header__panel.is-open {
  transform: translate3d(0, 0, 0);
}

/* دخول متدرّج لمجموعات القائمة */
.jl-header__panel .jl-header__panel-head,
.jl-header__panel .jl-header__panel-group,
.jl-header__panel .jl-header__follow--panel {
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.24s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.jl-header__panel.is-open .jl-header__panel-head,
.jl-header__panel.is-open .jl-header__panel-group,
.jl-header__panel.is-open .jl-header__follow--panel {
  opacity: 1;
  transform: none;
}

.jl-header__panel.is-open .jl-header__panel-head { transition-delay: 0.04s; }
.jl-header__panel.is-open .jl-header__panel-group:nth-of-type(1) { transition-delay: 0.08s; }
.jl-header__panel.is-open .jl-header__panel-group:nth-of-type(2) { transition-delay: 0.12s; }
.jl-header__panel.is-open .jl-header__panel-group:nth-of-type(3) { transition-delay: 0.16s; }
.jl-header__panel.is-open .jl-header__panel-group:nth-of-type(n + 4) { transition-delay: 0.2s; }
.jl-header__panel.is-open .jl-header__follow--panel { transition-delay: 0.22s; }

.jl-header__panel[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .jl-header__panel,
  .jl-header__backdrop,
  .jl-header__panel .jl-header__panel-head,
  .jl-header__panel .jl-header__panel-group,
  .jl-header__panel .jl-header__follow--panel {
    transition: none;
  }

  .jl-header__panel .jl-header__panel-head,
  .jl-header__panel .jl-header__panel-group,
  .jl-header__panel .jl-header__follow--panel {
    opacity: 1;
    transform: none;
  }
}

.jl-header__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--hdr-edge);
}

.jl-header__panel-group {
  margin-bottom: 1.15rem;
}

.jl-header__panel-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--hdr-teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.jl-header__panel-label::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.35), transparent);
}

.jl-header__follow--panel {
  margin-top: 0.4rem;
  flex-wrap: wrap;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hdr-edge);
}

.jl-header__panel-nav {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.jl-header__panel-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #e2e8f0;
  padding: 0.7rem 0.8rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.035);
  position: relative;
  transition: background 0.16s var(--hdr-ease, ease), color 0.16s var(--hdr-ease, ease), padding-inline-start 0.16s var(--hdr-ease, ease), border-color 0.16s var(--hdr-ease, ease);
}

.jl-header__panel-nav a .jl-ico {
  flex: 0 0 auto;
  opacity: 0.85;
}

.jl-header__panel-nav a:hover,
.jl-header__panel-nav a:focus-visible,
.jl-header__panel-nav a.is-active {
  background: var(--hdr-teal-dim);
  border-color: rgba(20, 184, 166, 0.4);
  color: #5eead4;
  padding-inline-start: 1.05rem;
  outline: none;
}

.jl-header__panel-nav a.is-active::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.1rem;
  border-radius: 0 3px 3px 0;
  background: var(--hdr-teal, #14b8a6);
}

.jl-header__panel-nav a[data-hub="egypt"].is-active { color: #fda4af; border-color: rgba(244, 63, 94, 0.45); background: rgba(244, 63, 94, 0.12); }
.jl-header__panel-nav a[data-hub="saudi"].is-active { color: #6ee7b7; border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.12); }
.jl-header__panel-nav a[data-hub="world"].is-active { color: #93c5fd; border-color: rgba(59, 130, 246, 0.45); background: rgba(59, 130, 246, 0.12); }
.jl-header__panel-nav a[data-hub="transfers"].is-active { color: #fcd34d; border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.12); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html.jl-panel-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .jl-header__follow-label {
    display: none;
  }

  .jl-header__weekday {
    display: none;
  }
}

@media (max-width: 991px) {
  .jl-header {
    --hdr-gutter: var(--header-gutter-md, 16px);
  }

  .jl-header__datetime {
    display: none;
  }

  .jl-header__tool-link .jl-header__tool-label,
  .jl-header__search-btn span {
    /* Keep accessible name — do not use display:none (removes text from a11y tree). */
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .jl-header__search-btn {
    width: 2.35rem;
    padding: 0;
    justify-content: center;
  }

  .jl-header__follow {
    display: none;
  }

  .jl-header__top-inner,
  .jl-header__row--top {
    min-height: var(--header-mobile-mainbar-height, 58px);
  }

  .jl-header__rail-btn-label {
    display: none;
  }

  .jl-header__rail-btn {
    width: 2.25rem;
    padding: 0;
    justify-content: center;
  }

  .jl-menu-btn__label {
    display: none;
  }

  .jl-menu-btn {
    width: 2.35rem;
    padding: 0;
    justify-content: center;
  }

  .jl-header__nav-label {
    font-size: 0.74rem;
  }
}

@media (max-width: 575px) {
  .jl-header {
    --hdr-gutter: var(--header-gutter-sm, 12px);
  }

  .jl-header__wordmark-main {
    font-size: 1.28rem;
  }

  .jl-header__wordmark-accent {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }

  .jl-header__wordmark-tag {
    display: none;
  }

  .jl-header__mark {
    --mark-size: 2.15rem;
  }

  .jl-header__mark-ico {
    width: 1.15rem;
    height: 1.15rem;
  }

  .jl-header__nav-link {
    padding: 0.45rem 0.65rem;
  }

  .jl-header__home {
    padding: 0.42rem 0.55rem;
  }

  .jl-header__home-label {
    display: none;
  }

  .jl-header__nav-ico {
    width: 1.35rem;
    height: 1.35rem;
  }

  .jl-header__nav-link--cat {
    display: none;
  }

  .jl-header__nav-sep {
    display: none;
  }
}

html[data-theme="dark"] body.jl-body {
  --jl-bg: #0b1220;
  --jl-bg-soft: #0f172a;
  --jl-surface: #111827;
  --jl-ink: #e5e7eb;
  --jl-mute: #94a3b8;
  --jl-edge: #334155;
  --jl-accent-soft: rgba(20, 184, 166, 0.12);
  color-scheme: dark;
  background:
    radial-gradient(90% 60% at 100% -10%, rgba(20, 184, 166, 0.1), transparent 50%),
    linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
}

/* site.css */
/* Jadwal Live — light site system: soft surfaces, dark edges, sharp accents */

:root {
  --jl-bg: #f3f7fb;
  --jl-bg-soft: #f8fbfd;
  --jl-surface: #ffffff;
  --jl-ink: #0f172a;
  --jl-mute: #64748b;
  --jl-edge: #dbe4ee;
  --jl-accent: #0d9488;
  --jl-accent-soft: #ecfdf5;
  --jl-danger: #b91c1c;
  --jl-danger-soft: #fef2f2;
  --jl-ok: #047857;
  --jl-ok-soft: #ecfdf5;
  --jl-max: 1200px;
  --jl-gutter: 20px;
  --jl-radius: 0.85rem;
  --jl-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.05);
  --jl-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 3px 10px rgba(15, 23, 42, 0.04);
  --jl-font: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  --jl-font-display: "Outfit", "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
}

body.jl-body {
  margin: 0;
  font-family: var(--jl-font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(90% 60% at 100% -10%, rgba(15, 118, 110, 0.08), transparent 50%),
    radial-gradient(70% 50% at -5% 20%, rgba(15, 23, 42, 0.05), transparent 45%),
    linear-gradient(180deg, var(--jl-bg-soft) 0%, var(--jl-bg) 40%, #e8edf5 100%);
  background-attachment: fixed;
  color: var(--jl-ink);
  line-height: 1.65;
  min-height: 100vh;
}

body.jl-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

a {
  color: var(--jl-accent);
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  color: var(--jl-ink);
  outline: none;
}

/* —— Jadwal Live footer (matches header palette) —— */
.jl-footer {
  margin-top: auto;
  color: var(--header-text, #f8fafc);
  background:
    linear-gradient(
      165deg,
      var(--header-gradient-1, #071018) 0%,
      var(--header-gradient-2, #0b1820) 52%,
      var(--header-gradient-3, #0e242c) 100%
    );
  border-top: 1px solid var(--header-edge, rgba(255, 255, 255, 0.1));
}

.jl-footer__accent {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #14b8a6 18%,
    #5eead4 50%,
    #14b8a6 82%,
    transparent
  );
}

.jl-footer__inner {
  width: min(100%, var(--header-max-width, var(--jl-max, 1200px)));
  margin-inline: auto;
  padding: 2rem var(--header-gutter, var(--jl-gutter, 20px)) 1.15rem;
}

.jl-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

@media (max-width: 1080px) {
  .jl-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jl-footer__brand {
    grid-column: 1 / -1;
  }
}

.jl-footer__logo {
  display: inline-block;
  font-family: var(--jl-font-display, var(--jl-font));
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.65rem;
}

.jl-footer__logo:hover,
.jl-footer__logo:focus-visible {
  color: #5eead4;
}

.jl-footer__about {
  margin: 0 0 1rem;
  max-width: 34ch;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--header-text-muted, rgba(248, 250, 252, 0.68));
  font-weight: 500;
}

.jl-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.jl-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  color: #fff;
  background: var(--header-btn-bg, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--header-edge, rgba(255, 255, 255, 0.1));
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.jl-footer__social-link:hover,
.jl-footer__social-link:focus-visible {
  color: #042f2e;
  background: rgba(20, 184, 166, 0.92);
  border-color: transparent;
  outline: none;
}

.jl-footer__heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5eead4;
}

.jl-footer__heading-ico {
  width: 14px;
  height: 14px;
  opacity: 0.95;
  flex-shrink: 0;
}

.jl-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.jl-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.2rem;
  color: var(--header-text-muted, rgba(248, 250, 252, 0.78));
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.4rem;
  transition: color 0.12s ease, background 0.12s ease;
}

.jl-footer__list a:hover,
.jl-footer__list a:focus-visible {
  color: #fff;
  background: rgba(20, 184, 166, 0.12);
  outline: none;
}

.jl-footer__ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
  color: #14b8a6;
}

.jl-footer__list a:hover .jl-footer__ico,
.jl-footer__list a:focus-visible .jl-footer__ico {
  opacity: 1;
  color: #5eead4;
}

.jl-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--header-strip-border-top, rgba(255, 255, 255, 0.08));
}

.jl-footer__copy,
.jl-footer__tag {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--header-text-muted, rgba(248, 250, 252, 0.55));
}

.jl-footer__tag {
  letter-spacing: 0.02em;
}

@media (max-width: 960px) {
  .jl-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .jl-footer__brand {
    grid-column: 1 / -1;
  }

  .jl-footer__about {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .jl-footer__inner {
    padding: 1.5rem var(--header-gutter-sm, 12px) 1rem;
  }

  .jl-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .jl-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jl-footer__social-link,
  .jl-footer__list a {
    transition: none;
  }
}

/* legacy alias — keep shell layout stable if old class referenced */
.site-footer {
  display: none;
}

/* —— Shared primitives —— */
.jl-wrap {
  width: min(100%, var(--jl-max));
  margin-inline: auto;
  padding: 1.75rem var(--jl-gutter) 3rem;
}

.jl-wrap--narrow {
  width: min(100%, 860px);
}

.jl-wrap--mid {
  width: min(100%, 960px);
}

.jl-page-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--jl-edge);
  position: relative;
}

.jl-page-head::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 4.5rem;
  height: 3px;
  background: var(--jl-accent);
}

.jl-page-head h1,
.jl-page-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--jl-ink);
}

.jl-page-lead,
.jl-page-head p {
  margin: 0;
  color: var(--jl-mute);
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 48ch;
  line-height: 1.7;
}

.jl-eyebrow {
  display: inline-flex;
  margin: 0 0 0.55rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--jl-edge);
  background: var(--jl-accent-soft);
  color: var(--jl-accent);
}

.jl-panel {
  background: var(--jl-surface);
  border: 1.5px solid var(--jl-edge);
  box-shadow: var(--jl-shadow);
  padding: 1.15rem 1.2rem;
}

.jl-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.55rem 1.05rem;
  border: 1.5px solid var(--jl-edge);
  background: var(--jl-ink);
  color: #fff;
  box-shadow: var(--jl-shadow-sm);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.jl-btn:hover,
.jl-btn:focus-visible {
  background: var(--jl-accent);
  border-color: var(--jl-accent);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.jl-btn--ghost {
  background: var(--jl-surface);
  color: var(--jl-ink);
}

.jl-btn--ghost:hover,
.jl-btn--ghost:focus-visible {
  background: var(--jl-ink);
  color: #fff;
  border-color: var(--jl-edge);
}

.jl-btn--accent {
  background: var(--jl-accent);
  border-color: #115e59;
}

.jl-input,
.jl-select,
.jl-textarea {
  width: 100%;
  font: inherit;
  color: var(--jl-ink);
  background: var(--jl-surface);
  border: 1.5px solid var(--jl-edge);
  padding: 0.6rem 0.8rem;
  border-radius: 0;
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.jl-input:focus,
.jl-select:focus,
.jl-textarea:focus {
  border-color: var(--jl-accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}

.jl-alert {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--jl-edge);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.jl-alert--err {
  background: var(--jl-danger-soft);
  border-color: var(--jl-danger);
  color: #7f1d1d;
}

.jl-alert--ok {
  background: var(--jl-ok-soft);
  border-color: var(--jl-ok);
  color: #065f46;
}

.jl-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--jl-mute);
  font-weight: 700;
  border: 1.5px dashed #94a3b8;
  background: rgba(255, 255, 255, 0.65);
}

.jl-pager {
  margin-top: 2rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.jl-pager a {
  text-decoration: none;
  color: var(--jl-ink);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--jl-edge);
  background: var(--jl-surface);
  box-shadow: var(--jl-shadow-sm);
}

.jl-pager a:hover,
.jl-pager a:focus-visible,
.jl-pager a.is-current {
  background: var(--jl-ink);
  color: #fff;
  outline: none;
}

.jl-pager a.is-current {
  background: var(--jl-accent);
  border-color: #115e59;
}

/* —— Cards / lists —— */
.jl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}

.jl-card {
  display: flex;
  flex-direction: column;
  background: var(--jl-surface);
  border: 1.5px solid var(--jl-edge);
  box-shadow: var(--jl-shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.jl-card:hover,
.jl-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--jl-shadow);
  outline: none;
}

.jl-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1.5px solid var(--jl-edge);
  background: var(--jl-bg);
}

.jl-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jl-card__body {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.jl-card__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.jl-card__title a {
  color: inherit;
  text-decoration: none;
}

.jl-card__meta {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--jl-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.jl-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem;
  background: var(--jl-surface);
  border: 1.5px solid var(--jl-edge);
  box-shadow: var(--jl-shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jl-row:hover,
.jl-row:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--jl-shadow);
  outline: none;
}

.jl-row__thumb {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  object-fit: cover;
  border: 1.5px solid var(--jl-edge);
  background: var(--jl-bg);
}

.jl-row__body {
  flex: 1;
  min-width: 0;
}

.jl-row__title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.jl-row__title a {
  color: inherit;
  text-decoration: none;
}

.jl-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jl-chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--jl-ink);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  margin: 0.15rem;
  border: 1.5px solid var(--jl-edge);
  background: var(--jl-bg-soft);
}

.jl-chip:hover,
.jl-chip:focus-visible {
  background: var(--jl-ink);
  color: #fff;
  outline: none;
}

/* —— Home —— */
.jl-home {
  position: relative;
  overflow: hidden;
}

.jl-home__hero {
  width: min(100%, var(--jl-max));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--jl-gutter) clamp(2.75rem, 5vw, 4rem);
  display: grid;
  gap: 1.25rem;
  align-items: end;
}

.jl-home__copy {
  max-width: 34rem;
}

.jl-home__title {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--jl-ink);
}

.jl-home__lead {
  margin: 0 0 1.25rem;
  color: var(--jl-mute);
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 36ch;
  line-height: 1.7;
}

.jl-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.jl-home__board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(100%, 34rem);
}

.jl-home__tile {
  min-height: 5.5rem;
  padding: 0.85rem;
  background: var(--jl-surface);
  border: 1.5px solid var(--jl-edge);
  box-shadow: var(--jl-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.jl-home__tile:hover,
.jl-home__tile:focus-visible {
  background: var(--jl-ink);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}

.jl-home__tile strong {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;
}

.jl-home__tile span {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.7;
}

.jl-home__strip {
  border-top: 2px solid var(--jl-edge);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.jl-home__strip-inner {
  width: min(100%, var(--jl-max));
  margin: 0 auto;
  padding: 1.1rem var(--jl-gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* —— Stub sports pages —— */
.jl-stub {
  width: min(100%, var(--jl-max));
  margin: 0 auto;
  padding: 2.5rem var(--jl-gutter) 3.5rem;
}

.jl-stub__panel {
  max-width: 40rem;
  background: var(--jl-surface);
  border: 1.5px solid var(--jl-edge);
  box-shadow: var(--jl-shadow);
  padding: 1.5rem 1.35rem;
  position: relative;
}

.jl-stub__panel::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 4px;
  background: var(--jl-accent);
}

.jl-stub h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--jl-ink);
}

.jl-stub p {
  margin: 0 0 1.15rem;
  color: var(--jl-mute);
  font-weight: 600;
}

/* —— Article —— */
.post-page .post-content {
  line-height: 1.85;
  font-size: 1.05rem;
  overflow-wrap: break-word;
}

.post-page .post-content img {
  max-width: 100%;
  height: auto;
  border: 1.5px solid var(--jl-edge);
}

.post-page .post-content a {
  font-weight: 700;
}

.jl-article-meta {
  font-size: 0.85rem;
  color: var(--jl-mute);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.jl-article-meta a {
  color: inherit;
}

.jl-featured {
  margin: 0 0 1.35rem;
  border: 1.5px solid var(--jl-edge);
  box-shadow: var(--jl-shadow-sm);
  overflow: hidden;
  background: var(--jl-bg);
}

.jl-featured img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.jl-preview-banner {
  background: var(--jl-ink);
  color: #fff;
  padding: 0.55rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1.5px solid var(--jl-edge);
  box-shadow: var(--jl-shadow-sm);
}

.jl-preview-banner a {
  color: #99f6e4;
}

.jl-breadcrumb {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--jl-mute);
  margin-bottom: 1rem;
}

.jl-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.jl-breadcrumb a:hover,
.jl-breadcrumb a:focus-visible {
  color: var(--jl-accent);
}

.jl-sep {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 2px solid var(--jl-edge);
}

/* —— Static / contact pages —— */
.sp-page,
.spx-shell {
  width: min(100%, var(--jl-max));
  margin: 0 auto;
  padding: 1.75rem var(--jl-gutter) 3rem;
}

.sp-wrap--wide {
  width: 100%;
}

.sp-head {
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--jl-edge);
}

.sp-eyebrow {
  display: inline-flex;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--jl-edge);
  background: var(--jl-accent-soft);
  color: var(--jl-accent);
}

.sp-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sp-lead {
  margin: 0;
  color: var(--jl-mute);
  font-weight: 600;
  max-width: 48ch;
}

.sp-card {
  background: var(--jl-surface);
  border: 1.5px solid var(--jl-edge);
  box-shadow: var(--jl-shadow);
  padding: 1.2rem 1.15rem;
}

.spx-form-card,
.spx-frame {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* —— Legal / static info pages —— */
.jl-legal {
  --jl-legal-accent: #0d9488;
  --jl-legal-accent-soft: rgba(13, 148, 136, 0.1);
  --jl-legal-ink: var(--jl-ink, #0f172a);
  --jl-legal-mute: var(--jl-mute, #64748b);
  --jl-legal-line: rgba(15, 23, 42, 0.08);
  --jl-legal-surface: #ffffff;
  color: var(--jl-legal-ink);
  max-width: 920px;
  margin: 0 auto;
}

.jl-legal__hero {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.35rem 1.4rem;
  margin-bottom: 1.1rem;
  border: 1.5px solid var(--jl-legal-line);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(20, 184, 166, 0.16), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(14, 165, 233, 0.1), transparent 50%),
    linear-gradient(160deg, #f8fffd 0%, #ffffff 55%, #f0f9ff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(13, 148, 136, 0.06);
}

.jl-legal__hero--amber {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(245, 158, 11, 0.18), transparent 55%),
    linear-gradient(160deg, #fffbeb 0%, #ffffff 60%, #fff7ed 100%);
}

.jl-legal__hero--rose {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(244, 63, 94, 0.14), transparent 55%),
    linear-gradient(160deg, #fff1f2 0%, #ffffff 60%, #fff7ed 100%);
}

.jl-legal__hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.jl-legal__eyebrow {
  position: relative;
  display: inline-flex;
  margin: 0 0 0.65rem;
  padding: 0.22rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--jl-legal-accent);
  background: var(--jl-legal-accent-soft);
  border: 1px solid rgba(13, 148, 136, 0.22);
}

.jl-legal__title {
  position: relative;
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.jl-legal__lead {
  position: relative;
  margin: 0;
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 600;
  color: var(--jl-legal-mute);
}

.jl-legal__meta {
  position: relative;
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--jl-legal-mute);
}

.jl-legal__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
  padding: 0.75rem;
  border: 1.5px solid var(--jl-legal-line);
  background: rgba(240, 253, 250, 0.65);
}

.jl-legal__toc a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--jl-legal-ink);
  background: #fff;
  border: 1px solid var(--jl-legal-line);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.jl-legal__toc a:hover,
.jl-legal__toc a:focus-visible {
  color: var(--jl-legal-accent);
  border-color: rgba(13, 148, 136, 0.45);
  outline: none;
  transform: translateY(-1px);
}

.jl-legal__section {
  margin: 0 0 1.35rem;
  padding: 1.15rem 1.2rem;
  background: var(--jl-legal-surface);
  border: 1.5px solid var(--jl-legal-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.jl-legal__section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.35;
}

.jl-legal__section h3 {
  margin: 1rem 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 800;
}

.jl-legal__section p {
  margin: 0 0 0.75rem;
  line-height: 1.8;
  font-weight: 600;
}

.jl-legal__section p:last-child {
  margin-bottom: 0;
}

.jl-legal__section a {
  color: var(--jl-legal-accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.jl-legal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.jl-legal__card {
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1.5px solid var(--jl-legal-line);
}

.jl-legal__card--accent {
  background: linear-gradient(160deg, #f0fdfa, #ffffff);
  border-color: rgba(13, 148, 136, 0.22);
}

.jl-legal__card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.jl-legal__card p {
  margin: 0;
  line-height: 1.75;
  color: var(--jl-legal-mute);
  font-weight: 600;
}

.jl-legal__list {
  margin: 0.35rem 0 0.85rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.jl-legal__list li {
  position: relative;
  padding-inline-start: 1.15rem;
  line-height: 1.7;
  font-weight: 600;
}

.jl-legal__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--jl-legal-accent);
}

.jl-legal__steps {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.jl-legal__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  background: #f8fafc;
  border: 1px solid var(--jl-legal-line);
  font-weight: 600;
  line-height: 1.65;
}

.jl-legal__num {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.78rem;
  font-weight: 900;
  color: #fff;
  background: var(--jl-legal-accent);
}

.jl-legal__callout {
  margin: 0.85rem 0;
  padding: 0.9rem 1rem;
  border: 1.5px solid rgba(13, 148, 136, 0.25);
  background: var(--jl-legal-accent-soft);
}

.jl-legal__callout--soft {
  background: #f8fafc;
  border-color: var(--jl-legal-line);
}

.jl-legal__callout--warn {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(217, 119, 6, 0.28);
}

.jl-legal__callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.jl-legal__callout p,
.jl-legal__callout ul {
  margin: 0;
}

.jl-legal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.jl-legal__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.05rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: var(--jl-legal-accent);
  border: 1.5px solid #0f766e;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.jl-legal__btn:hover,
.jl-legal__btn:focus-visible {
  filter: brightness(1.05);
  outline: none;
}

.jl-legal__btn--ghost {
  color: var(--jl-legal-ink);
  background: #fff;
  border-color: var(--jl-legal-line);
}

.jl-legal__btn--rose {
  background: #e11d48;
  border-color: #be123c;
}

.jl-legal__hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.jl-legal__hub-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1.5px solid var(--jl-legal-line);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.jl-legal__hub-card:hover,
.jl-legal__hub-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.08);
  outline: none;
}

.jl-legal__hub-card--static {
  cursor: default;
}

.jl-legal__hub-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.15rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--jl-legal-accent);
  background: var(--jl-legal-accent-soft);
}

.jl-legal__hub-card strong {
  font-size: 1rem;
  font-weight: 900;
}

.jl-legal__hub-card span:last-child {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--jl-legal-mute);
  font-weight: 600;
}

.jl-legal__tags {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.jl-legal__tags li {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  background: #f8fafc;
  border: 1px solid var(--jl-legal-line);
}

.jl-legal__form-wrap {
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1.5px solid var(--jl-legal-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.jl-legal__form-wrap h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 900;
}

.jl-legal__aside {
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1.5px solid var(--jl-legal-line);
}

.jl-legal__aside h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.jl-legal__email {
  font-weight: 800;
  word-break: break-all;
}

@media (max-width: 860px) {
  .jl-legal__grid {
    grid-template-columns: 1fr;
  }

  .jl-legal__hero {
    padding: 1.25rem 1rem 1.15rem;
  }

  .jl-legal__section,
  .jl-legal__form-wrap,
  .jl-legal__aside {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jl-legal__toc a,
  .jl-legal__hub-card {
    transition: none;
  }
}

.sp-card__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.sp-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.jl-legal--contact {
  max-width: 980px;
  width: 100%;
  min-width: 0;
}

.jl-contact__form .sp-field:last-of-type {
  margin-bottom: 1rem;
}

.jl-contact__submit {
  width: auto;
  min-height: 2.75rem;
  min-width: 10rem;
}

.jl-contact__wa {
  display: flex;
  width: 100%;
  margin-top: 0.85rem;
  min-height: 2.75rem;
}

.sp-field {
  margin-bottom: 0.85rem;
  min-width: 0;
}

.sp-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.sp-field input,
.sp-field select,
.sp-field textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 1rem; /* avoid iOS zoom on focus */
  color: var(--jl-ink);
  background: #fff;
  border: 1.5px solid var(--jl-edge);
  border-radius: 0.55rem;
  padding: 0.7rem 0.8rem;
  min-height: 2.75rem;
  -webkit-appearance: none;
  appearance: none;
}

.sp-field textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.55;
}

.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
  outline: none;
  border-color: var(--jl-accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

.sp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sp-opt {
  color: var(--jl-mute);
  font-weight: 600;
}

.sp-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

.spx-btn,
.sp-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 800;
  padding: 0.6rem 1.1rem;
  border: 1.5px solid var(--jl-edge);
  background: var(--jl-ink);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--jl-shadow-sm);
}

.spx-btn--teal,
.sp-btn--teal {
  background: var(--jl-accent);
  border-color: #115e59;
}

.sp-btn--ghost {
  background: #fff;
  color: var(--jl-ink);
}

.sp-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--jl-mute);
  font-weight: 600;
  line-height: 1.55;
}

.sp-alert {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--jl-edge);
  margin-bottom: 1rem;
  font-weight: 700;
  border-radius: 0.55rem;
}

.sp-alert--ok {
  background: var(--jl-ok-soft);
  border-color: var(--jl-ok);
}

.sp-alert--err {
  background: var(--jl-danger-soft);
  border-color: var(--jl-danger);
}

.sp-mail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sp-mail {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.55rem;
  text-decoration: none;
  color: inherit;
  background: var(--jl-bg-soft);
  min-width: 0;
}

.sp-mail:hover,
.sp-mail:focus-visible {
  border-color: var(--jl-accent);
  outline: none;
}

.sp-mail__label {
  font-weight: 800;
  font-size: 0.85rem;
}

.sp-mail__addr {
  font-size: 0.78rem;
  color: var(--jl-mute);
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.sp-doc {
  line-height: 1.8;
}

.sp-doc h2,
.sp-doc h3 {
  margin-top: 1.4rem;
}

.spx-hours {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jl-accent);
}

/* —— Search form —— */
.jl-search-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.jl-search-form .jl-input {
  flex: 1 1 220px;
}

/* —— Error —— */
.error-page .jl-link-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.error-page .jl-latest {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.error-page .jl-latest a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  padding: 0.7rem 0.85rem;
  background: var(--jl-surface);
  border: 1.5px solid var(--jl-edge);
  box-shadow: var(--jl-shadow-sm);
}

.error-page .jl-latest a:hover,
.error-page .jl-latest a:focus-visible {
  background: var(--jl-ink);
  color: #fff;
  outline: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .sp-page--contact {
    padding: 1rem var(--jl-gutter) 2.25rem;
  }

  .sp-contact-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .sp-field-row {
    grid-template-columns: 1fr;
  }

  .jl-contact__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .jl-contact__actions .jl-legal__btn {
    width: 100%;
    min-height: 2.75rem;
  }

  .jl-contact__submit {
    width: 100%;
  }

  .jl-legal--contact .jl-legal__hero {
    padding: 1.15rem 0.95rem 1.05rem;
    margin-bottom: 0.85rem;
  }

  .jl-legal--contact .jl-legal__lead {
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: none;
  }

  .jl-legal--contact .jl-legal__section,
  .jl-legal--contact .jl-legal__form-wrap,
  .jl-legal--contact .jl-legal__aside {
    padding: 0.95rem;
  }

  .jl-home__board {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .sp-contact-grid {
    grid-template-columns: 1fr;
  }

  .jl-home__board {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .sp-field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  :root {
    --jl-gutter: 12px;
  }

  .jl-home__board {
    grid-template-columns: 1fr;
  }

  .sp-page--contact {
    padding-inline: 12px;
  }

  .jl-legal--contact .jl-legal__title {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jl-card,
  .jl-row,
  .jl-btn,
  .jl-home__tile,
  .jl-footer__social-link,
  .jl-footer__list a {
    transition: none;
  }
}

/* matches-ticker.css */
/* Jadwal Live — matches schedule strip (sharp scoreboard) */

.jl-schedule {
  --sch-blue: #0786bd;
  --sch-blue-dark: #046a96;
  --sch-ink: #0f172a;
  --sch-muted: #64748b;
  --sch-line: #dbe3ea;
  --sch-card: #ffffff;
  --sch-bg: #eef2f5;
  --sch-soft: #f7fafc;
  color: var(--sch-ink);
  background: linear-gradient(180deg, #f5f8fa 0%, var(--sch-bg) 100%);
  border-bottom: 1px solid #d3dde5;
  direction: rtl;
}

.jl-schedule__inner {
  width: min(100%, var(--header-max-width, 1200px));
  margin-inline: auto;
  padding: 0.55rem var(--header-gutter, 20px) 0.65rem;
}

/* ── Header ── */
.jl-schedule__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.jl-schedule__tabs {
  display: inline-flex;
  align-items: stretch;
  gap: 0.2rem;
  padding: 0.15rem;
  border-radius: 0.55rem;
  background: rgba(15, 55, 70, 0.06);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.jl-schedule__tabs::-webkit-scrollbar {
  display: none;
}

.jl-schedule__tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  color: #2b7fa0;
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.jl-schedule__tab em {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 900;
  min-width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(7, 134, 189, 0.12);
  color: var(--sch-blue);
}

.jl-schedule__tab:hover,
.jl-schedule__tab:focus-visible {
  color: var(--sch-blue-dark);
  background: rgba(255, 255, 255, 0.7);
  outline: none;
}

.jl-schedule__tab.is-active {
  color: #0f172a;
  background: #fff;
  border-color: rgba(7, 134, 189, 0.28);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.jl-schedule__tab.is-active em {
  background: var(--sch-blue);
  color: #fff;
}

.jl-schedule__all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.4rem;
  color: #fff;
  background: linear-gradient(180deg, #0f97d1 0%, var(--sch-blue) 100%);
  border: 1px solid var(--sch-blue-dark);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(7, 134, 189, 0.28);
}

.jl-schedule__all:hover,
.jl-schedule__all:focus-visible {
  color: #fff;
  background: var(--sch-blue-dark);
  outline: none;
}

.jl-schedule__all svg {
  width: 0.8rem;
  height: 0.8rem;
}

/* ── Stage ── */
.jl-schedule__stage {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) 2.1rem;
  gap: 0;
  min-width: 0;
  border: 1px solid var(--sch-line);
  border-radius: 0.55rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 55, 70, 0.06);
  direction: ltr;
}

.jl-schedule__panels {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  direction: rtl;
}

.jl-schedule__panel[hidden] {
  display: none !important;
}

.jl-schedule__note {
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid var(--sch-line);
  background: linear-gradient(90deg, rgba(7, 134, 189, 0.1), rgba(7, 134, 189, 0.02));
  color: var(--sch-blue-dark);
  font-size: 0.68rem;
  font-weight: 800;
}

.jl-schedule__track {
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.jl-schedule__track::-webkit-scrollbar {
  display: none;
}

.jl-schedule__arrow {
  appearance: none;
  width: 2.1rem;
  min-height: 7.2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: var(--sch-blue);
  cursor: pointer;
  z-index: 2;
}

.jl-schedule__arrow--next {
  background: #9fc9de;
  color: #fff;
}

.jl-schedule__arrow:hover,
.jl-schedule__arrow:focus-visible {
  color: #fff;
  background: var(--sch-blue-dark);
  outline: none;
}

.jl-schedule__arrow:disabled {
  color: rgba(255, 255, 255, 0.75);
  background: #c5d0d8;
  cursor: default;
}

.jl-schedule__arrow svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* ── Match card ── */
.jl-schedule__match {
  position: relative;
  flex: 0 0 20%;
  min-width: 200px;
  min-height: 7.2rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem 0.5rem;
  color: inherit;
  background: var(--sch-card);
  border-inline-start: 1px solid var(--sch-line);
  text-decoration: none;
  scroll-snap-align: start;
  transition: background 0.14s ease, box-shadow 0.14s ease;
}

.jl-schedule__match::after {
  content: "";
  position: absolute;
  inset-block: 0.55rem;
  inset-inline-start: 0;
  width: 2px;
  border-radius: 2px;
  background: #94a3b8;
  opacity: 0.55;
}

.jl-schedule__match[data-phase="live"]::after { background: #e11d48; opacity: 1; }
.jl-schedule__match[data-phase="ft"]::after { background: #0f766e; opacity: 1; }
.jl-schedule__match[data-phase="ns"]::after { background: var(--sch-blue); opacity: 1; }

.jl-schedule__match:hover,
.jl-schedule__match:focus-visible {
  color: inherit;
  background: var(--sch-soft);
  box-shadow: inset 0 0 0 1px rgba(7, 134, 189, 0.28);
  outline: none;
  z-index: 1;
}

.jl-schedule__league {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  color: #475569;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.2;
  padding-bottom: 0.2rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.45);
}

.jl-schedule__league img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
}

.jl-schedule__league span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jl-schedule__teams {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem;
}

.jl-schedule__club {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  text-align: center;
}

.jl-schedule__club img,
.jl-schedule__club i {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--sch-line);
  box-shadow: 0 1px 3px rgba(15, 55, 70, 0.08);
}

.jl-schedule__club i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sch-muted);
  background: #eef2f5;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
}

.jl-schedule__club b {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--sch-ink);
}

.jl-schedule__center {
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  min-width: 3.4rem;
}

.jl-schedule__score {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-family: "Outfit", "Cairo", sans-serif;
  color: #0f172a;
}

.jl-schedule__score strong {
  font-size: 1rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  min-width: 0.9rem;
  text-align: center;
}

.jl-schedule__score em {
  color: #94a3b8;
  font-size: 0.72rem;
  font-style: normal;
}

.jl-schedule__vs {
  font-size: 0.95rem;
  font-weight: 900;
  color: #94a3b8;
  line-height: 1;
}

.jl-schedule__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.15rem;
  padding: 0.12rem 0.4rem;
  border: 1px solid #b7d7e8;
  border-radius: 0.25rem;
  color: #1f7da3;
  background: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(15, 55, 70, 0.04);
}

.jl-schedule__kick {
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  color: #475569;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.jl-schedule__cd {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.28rem;
  min-height: 1.15rem;
  padding: 0.12rem 0.42rem;
  border-radius: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--sch-blue-dark);
  white-space: nowrap;
  line-height: 1;
}

.jl-schedule__cd-label {
  font-family: "Cairo", var(--jl-font, sans-serif);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #64748b;
}

.jl-schedule__cd-value {
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: #046a96;
}

.jl-schedule__cd.is-started {
  background: rgba(15, 118, 110, 0.1);
  border-radius: 999px;
  padding-inline: 0.45rem;
}

.jl-schedule__cd.is-started .jl-schedule__cd-label {
  color: #0f766e;
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
}

.jl-schedule__match[data-phase="live"] .jl-schedule__status {
  color: #fff;
  border-color: #e11d48;
  background: #e11d48;
}

.jl-schedule__match[data-phase="live"] .jl-schedule__score strong {
  color: #e11d48;
}

.jl-schedule__match[data-phase="ft"] .jl-schedule__status {
  color: #475569;
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.jl-schedule__empty {
  min-height: 7.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--sch-muted);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.jl-schedule__empty strong {
  color: var(--sch-ink);
}

.jl-schedule__empty a {
  color: var(--sch-blue);
  font-weight: 900;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .jl-schedule__match {
    flex-basis: 42%;
    min-width: 210px;
  }
}

@media (max-width: 640px) {
  .jl-schedule__inner {
    padding-inline: var(--header-gutter-sm, 12px);
  }

  .jl-schedule__head {
    flex-wrap: wrap;
  }

  .jl-schedule__tabs {
    order: 2;
    width: 100%;
  }

  .jl-schedule__all {
    order: 1;
    margin-inline-start: auto;
  }

  .jl-schedule__tab {
    flex: 1 1 auto;
    justify-content: center;
    padding-inline: 0.55rem;
    font-size: 0.68rem;
  }

  .jl-schedule__stage {
    grid-template-columns: 1.75rem minmax(0, 1fr) 1.75rem;
  }

  .jl-schedule__arrow {
    width: 1.75rem;
  }

  .jl-schedule__match {
    flex-basis: 78%;
    min-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jl-schedule__match,
  .jl-schedule__tab,
  .jl-schedule__track {
    transition: none;
    scroll-behavior: auto;
  }
}

/* ── Dark ── */
html[data-theme="dark"] .jl-schedule {
  --sch-ink: #e2e8f0;
  --sch-muted: #94a3b8;
  --sch-line: rgba(148, 163, 184, 0.16);
  --sch-card: #122430;
  --sch-bg: #0b1720;
  --sch-soft: #172c38;
  background: linear-gradient(180deg, #0e1d26 0%, #0b1720 100%);
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .jl-schedule__tabs {
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .jl-schedule__tab.is-active,
html[data-theme="dark"] .jl-schedule__panels,
html[data-theme="dark"] .jl-schedule__stage,
html[data-theme="dark"] .jl-schedule__empty,
html[data-theme="dark"] .jl-schedule__club img,
html[data-theme="dark"] .jl-schedule__status {
  background: #122430;
}

html[data-theme="dark"] .jl-schedule__club i {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .jl-schedule__league,
html[data-theme="dark"] .jl-schedule__kick,
html[data-theme="dark"] .jl-schedule__score {
  color: #e2e8f0;
}

html[data-theme="dark"] .jl-schedule__note {
  background: rgba(7, 134, 189, 0.12);
  color: #7dd3fc;
  border-color: rgba(148, 163, 184, 0.12);
}

html[data-theme="dark"] .jl-schedule__cd {
  background: transparent;
  color: #7dd3fc;
}

html[data-theme="dark"] .jl-schedule__cd-label {
  color: #94a3b8;
}

html[data-theme="dark"] .jl-schedule__cd-value {
  color: #7dd3fc;
}

html[data-theme="dark"] .jl-schedule__cd.is-started {
  background: rgba(45, 212, 191, 0.12);
}

html[data-theme="dark"] .jl-schedule__cd.is-started .jl-schedule__cd-label {
  color: #5eead4;
}

/* football.css */
﻿/* Jadwal Live ? football UI v3: light, mint/sky, Gen-Z sports editorial */

.fb-wrap,
.jl-football {
  --fb-live: #e11d48;
  --fb-live-soft: rgba(225, 29, 72, 0.08);
  --fb-ok: #059669;
  --fb-ok-soft: rgba(5, 150, 105, 0.1);
  --fb-warn: #d97706;
  --fb-warn-soft: rgba(217, 119, 6, 0.08);
  --fb-card: #ffffff;
  --fb-surface: #f0fdfa;
  --fb-surface-sky: #f0f9ff;
  --fb-wash: linear-gradient(135deg, #f0fdfa 0%, #f0f9ff 50%, #ffffff 100%);
  --fb-line: rgba(15, 23, 42, 0.06);
  --fb-line-strong: rgba(15, 23, 42, 0.11);
  --fb-ink: #0f172a;
  --fb-mute: #64748b;
  --fb-accent: #0d9488;
  --fb-accent-bright: #14b8a6;
  --fb-accent-soft: rgba(13, 148, 136, 0.08);
  --fb-radius: 14px;
  --fb-radius-sm: 10px;
  --fb-radius-lg: 16px;
  --fb-radius-pill: 999px;
  --fb-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.04);
  --fb-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.03);
  --fb-shadow-lift: 0 6px 20px rgba(13, 148, 136, 0.1), 0 2px 8px rgba(15, 23, 42, 0.06);
  --fb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--jl-font);
  color: var(--fb-ink);
}

.fb-wrap .fb-hero__title,
.fb-wrap .fb-section__title,
.fb-wrap .fb-match__team,
.fb-wrap .fb-standing__team,
.fb-wrap .fb-scorer__name,
.fb-wrap .lg-card__name,
.fb-wrap h1,
.fb-wrap h2,
.fb-wrap h3,
.jl-football .fb-hero__title,
.jl-football .fb-section__title,
.jl-football .fb-match__team,
.jl-football .fb-standing__team,
.jl-football .fb-scorer__name,
.jl-football .lg-card__name,
.jl-football h1,
.jl-football h2,
.jl-football h3 {
  font-family: var(--jl-font-display, var(--jl-font));
  letter-spacing: 0 !important;
  font-weight: 700;
  line-height: 1.35;
}

.fb-wrap .fb-match__team,
.fb-wrap .fb-standing__team,
.fb-wrap .fb-scorer__name,
.fb-wrap .lg-card__name,
.jl-football .fb-match__team,
.jl-football .fb-standing__team,
.jl-football .fb-scorer__name,
.jl-football .lg-card__name {
  font-weight: 700;
  line-height: 1.4;
}

@keyframes fb-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .jl-football { animation: none; }
  .fb-match__state--live,
  .fb-scoreboard__state.is-live,
  .lg-pill--live { animation: none !important; }
}

/* ?? Layout ?? */
.fb-wrap {
  width: min(100%, var(--jl-max));
  margin-inline: auto;
  padding: 1.35rem var(--jl-gutter) 3.75rem;
}

.fb-leagues .fb-wrap,
.fb-wrap.fb-leagues {
  padding-top: 1.15rem;
}

.fb-section {
  margin-bottom: 1.1rem;
}

.fb-section__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--fb-ink);
}

.fb-section__lead {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: var(--fb-mute);
  font-weight: 600;
  line-height: 1.55;
}

/* ?? Hero ?? */
.fb-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--fb-radius-lg);
  background: var(--fb-wash);
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow: var(--fb-shadow);
  color: var(--fb-ink);
  padding: 1.5rem 1.4rem 1.3rem;
  margin-bottom: 1.1rem;
}

.fb-hero__glow {
  position: absolute;
  inset: -30% 40% auto -20%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(20, 184, 166, 0.18), transparent 70%);
  pointer-events: none;
  filter: blur(2px);
}

.fb-hero::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: var(--fb-radius-lg) 0 0 var(--fb-radius-lg);
  background: linear-gradient(180deg, var(--fb-accent-bright), var(--fb-accent));
  pointer-events: none;
}

.fb-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -2rem;
  top: -2rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.14), transparent 70%);
  pointer-events: none;
}

.fb-hero > *,
.fb-hero__top {
  position: relative;
  z-index: 1;
}

.fb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid rgba(13, 148, 136, 0.2);
  background: rgba(20, 184, 166, 0.1);
  color: var(--fb-accent);
  margin-bottom: 0.65rem;
}

.fb-hero__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0 !important;
  line-height: 1.25;
  text-wrap: balance;
}

.fb-hero__lead {
  margin: 0.5rem 0 0;
  color: var(--fb-mute);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  max-width: 62ch;
}

.fb-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.fb-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 96px;
  padding: 0.6rem 0.85rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line-strong);
  border-radius: var(--fb-radius-sm);
  box-shadow: var(--fb-shadow-sm);
  transition: transform 0.2s var(--fb-ease), box-shadow 0.2s var(--fb-ease), border-color 0.2s var(--fb-ease);
}

.fb-hero__stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--fb-shadow-lift);
  border-color: rgba(13, 148, 136, 0.25);
}

.fb-hero__stat b {
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--fb-ink);
}

.fb-hero__stat span {
  font-size: 0.68rem;
  color: var(--fb-mute);
  font-weight: 700;
  letter-spacing: 0;
}

.fb-hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fb-line);
}

.fb-hero__nav a {
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--fb-mute);
  padding: 0.4rem 0.8rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid var(--fb-line-strong);
  background: var(--fb-card);
  transition: background 0.18s var(--fb-ease), color 0.18s var(--fb-ease), transform 0.18s var(--fb-ease), box-shadow 0.18s var(--fb-ease);
}

.fb-hero__nav a:hover {
  color: var(--fb-accent);
  border-color: rgba(13, 148, 136, 0.25);
  transform: translateY(-1px);
  box-shadow: var(--fb-shadow-sm);
}

.fb-hero__nav a.is-active {
  background: var(--fb-accent);
  border-color: var(--fb-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

/* ?? Toolbar & chips ?? */
.fb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  margin-bottom: 0.8rem;
}

.fb-bar__label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--fb-mute);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-inline-end: 0.1rem;
  flex: 0 0 auto;
}

.fb-chips {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.05rem;
  flex: 1 1 auto;
  min-width: 0;
}

.fb-chips::-webkit-scrollbar { display: none; }

.fb-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--fb-ink);
  background: var(--fb-surface);
  border: 1px solid var(--fb-line-strong);
  border-radius: var(--fb-radius-pill);
  padding: 0.38rem 0.75rem;
  transition: transform 0.16s var(--fb-ease), background 0.16s var(--fb-ease), box-shadow 0.16s var(--fb-ease);
}

.fb-chip:hover {
  transform: translateY(-2px);
  background: var(--fb-card);
  box-shadow: var(--fb-shadow-sm);
}

.fb-chip.is-active {
  background: var(--fb-accent);
  color: #fff;
  border-color: var(--fb-accent);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.22);
}

.fb-chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.fb-chip__n {
  font-size: 0.66rem;
  font-weight: 800;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.fb-chip.is-active .fb-chip__n { opacity: 0.9; }

.fb-chip--live {
  border-color: rgba(225, 29, 72, 0.3);
  color: var(--fb-live);
  background: var(--fb-live-soft);
}

.fb-chip--live.is-active {
  background: var(--fb-live);
  color: #fff;
  border-color: var(--fb-live);
}

/* ?? Date strip ?? */
.fb-dates {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.65rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  margin-bottom: 0.9rem;
}

.fb-dates::-webkit-scrollbar { display: none; }

.fb-date {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-width: 72px;
  padding: 0.55rem 0.6rem;
  text-decoration: none;
  color: var(--fb-ink);
  border: 1px solid var(--fb-line-strong);
  border-radius: var(--fb-radius-sm);
  background: var(--fb-surface-sky);
  transition: transform 0.16s var(--fb-ease), box-shadow 0.16s var(--fb-ease), background 0.16s var(--fb-ease);
}

.fb-date:hover {
  transform: translateY(-2px);
  box-shadow: var(--fb-shadow-sm);
  background: var(--fb-card);
}

.fb-date__day {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fb-mute);
  letter-spacing: 0;
}

.fb-date__num {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
}

.fb-date.is-active {
  background: var(--fb-accent);
  border-color: var(--fb-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.22);
}

.fb-date.is-active .fb-date__day { color: rgba(255, 255, 255, 0.75); }

.fb-date.is-today:not(.is-active) {
  border-color: var(--fb-accent-bright);
  box-shadow: inset 0 -2px 0 var(--fb-accent-bright);
}

/* ?? Competition group ?? */
.fb-group {
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  animation: none;
}

.fb-group__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--fb-line);
  background: linear-gradient(90deg, var(--fb-accent-soft), transparent 45%), var(--fb-surface);
}

.fb-group__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 0.15rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
}

.fb-group__name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--fb-ink);
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

.fb-group__name:hover { color: var(--fb-accent); }

.fb-group__count {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fb-mute);
  flex: 0 0 auto;
  padding: 0.18rem 0.45rem;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-pill);
}

.fb-group__more {
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid var(--fb-line-strong);
  color: var(--fb-accent);
  background: var(--fb-card);
  flex: 0 0 auto;
  transition: background 0.15s var(--fb-ease), color 0.15s var(--fb-ease);
}

.fb-group__more:hover {
  background: var(--fb-accent);
  color: #fff;
  border-color: var(--fb-accent);
}

/* Match row */
.fb-match {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--fb-line);
  text-decoration: none;
  color: var(--fb-ink);
  position: relative;
}

.fb-match:last-child { border-bottom: 0; }

.fb-match::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 0 2px 2px 0;
  background: var(--fb-accent);
}

.fb-match:hover {
  background: var(--fb-accent-soft);
}

.fb-match:hover::before { width: 3px; }

.fb-match--live {
  background: linear-gradient(90deg, var(--fb-live-soft), transparent 55%);
}

.fb-match--live::before {
  width: 3px;
  background: var(--fb-live);
}

.fb-match__league {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.14rem 0.5rem 0.14rem 0.3rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.12), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(13, 148, 136, 0.18);
  color: #0f5f5a;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-match__league img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}

.fb-match__row {
  display: grid;
  grid-template-columns: 1fr minmax(88px, 104px) 1fr;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.fb-match__side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.fb-match__side--away { flex-direction: row-reverse; }

.fb-match__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 0.12rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
}

.fb-match__logo--ph {
  display: grid;
  place-items: center;
  background: var(--fb-surface);
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--fb-mute);
}

.fb-match__team {
  font-size: 0.88rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

.fb-match__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  text-align: center;
  padding: 0.2rem 0.35rem;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
}

.fb-match__score {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.fb-match__time {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--fb-accent);
}

.fb-match__state {
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.14rem 0.45rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid var(--fb-line-strong);
  color: var(--fb-mute);
  white-space: nowrap;
  letter-spacing: 0;
  background: var(--fb-card);
}

.fb-match__state--live {
  color: #fff;
  background: var(--fb-live);
  border-color: var(--fb-live);
}

.fb-match__state--ft {
  color: var(--fb-ink);
  border-color: var(--fb-line-strong);
  background: #e2e8f0;
}

.fb-match__state--ns {
  color: var(--fb-accent);
  border-color: rgba(13, 148, 136, 0.25);
  background: var(--fb-accent-soft);
}

.fb-match__state--off {
  color: var(--fb-warn);
  border-color: rgba(217, 119, 6, 0.3);
  background: var(--fb-warn-soft);
}

.fb-match__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  min-width: 0;
}

.fb-match__meta em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fb-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ?? Cards & grid ?? */
.fb-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}

.fb-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.fb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.1rem 0.8rem 0.95rem;
  text-align: center;
  text-decoration: none;
  color: var(--fb-ink);
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--fb-ease), box-shadow 0.2s var(--fb-ease);
}

.fb-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fb-accent), var(--fb-accent-bright));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s var(--fb-ease);
}

.fb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fb-shadow-lift);
}

.fb-card:hover::before { transform: scaleX(1); }

.fb-card__crest {
  width: 60px;
  height: 60px;
  object-fit: contain;
  padding: 0.3rem;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
}

.fb-card__crest--ph {
  display: grid;
  place-items: center;
  background: var(--fb-surface-sky);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fb-mute);
  width: 60px;
  height: 60px;
  border-radius: var(--fb-radius-sm);
}

.fb-card__photo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--fb-line);
  box-shadow: 0 0 0 3px var(--fb-accent-soft);
}

.fb-card__name {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.fb-card__meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fb-mute);
}

.fb-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28rem;
  margin-top: 0.15rem;
}

.fb-tag {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.16rem 0.45rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid var(--fb-line-strong);
  color: var(--fb-mute);
  background: var(--fb-surface);
  letter-spacing: 0;
}

.fb-tag--accent {
  color: var(--fb-accent);
  border-color: rgba(13, 148, 136, 0.25);
  background: var(--fb-accent-soft);
}

/* ?? Profile ?? */
.fb-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  padding: 1.35rem 1.25rem;
  background: var(--fb-wash);
  color: var(--fb-ink);
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: var(--fb-radius-lg);
  box-shadow: var(--fb-shadow);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.fb-profile::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--fb-accent-bright), var(--fb-accent));
  border-radius: var(--fb-radius-lg) 0 0 var(--fb-radius-lg);
}

.fb-profile__crest {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  padding: 0.45rem;
  flex: 0 0 auto;
  box-shadow: var(--fb-shadow-sm);
}

.fb-profile__photo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(13, 148, 136, 0.2);
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px var(--fb-accent-soft);
}

.fb-profile__body {
  flex: 1 1 260px;
  min-width: 0;
}

.fb-profile__name {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0 !important;
  line-height: 1.2;
}

.fb-profile__sub {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: var(--fb-mute);
  font-weight: 600;
}

.fb-profile__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.fb-fact {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.32rem 0.65rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-pill);
  color: var(--fb-ink);
  transition: background 0.15s var(--fb-ease), border-color 0.15s var(--fb-ease);
}

a.fb-fact:hover {
  background: var(--fb-accent-soft);
  border-color: rgba(13, 148, 136, 0.3);
  color: var(--fb-accent);
}

.fb-profile__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.45rem;
  flex: 1 1 250px;
}

.fb-kpi {
  text-align: center;
  padding: 0.6rem 0.4rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
  box-shadow: var(--fb-shadow-sm);
}

.fb-kpi b {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.fb-kpi span {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--fb-mute);
  letter-spacing: 0;
}

/* ?? Layout / panels ?? */
.fb-cols {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
}

.fb-panel {
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  animation: none;
}

.fb-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--fb-line);
  background: linear-gradient(90deg, var(--fb-accent-soft), transparent 40%), var(--fb-surface);
}

.fb-panel__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.fb-panel__title::before {
  content: "";
  width: 3px;
  height: 1em;
  border-radius: 2px;
  background: var(--fb-accent);
  flex: 0 0 auto;
}

.fb-panel__title small {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--fb-accent);
  padding: 0.12rem 0.4rem;
  border-radius: var(--fb-radius-pill);
  background: var(--fb-accent-soft);
  border: 1px solid rgba(13, 148, 136, 0.18);
}

.fb-panel__link {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--fb-accent);
  text-decoration: none;
  white-space: nowrap;
}

.fb-panel__link:hover,
.fb-panel__link:focus-visible {
  color: var(--fb-ink);
  outline: none;
}

.fb-panel__body { padding: 0.9rem 0.95rem; }
.fb-panel__body--flush { padding: 0; }

/* ?? Tabs ?? */
.fb-tabs {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--fb-line);
  border-bottom: 0;
  border-radius: var(--fb-radius) var(--fb-radius) 0 0;
  background: var(--fb-card);
  padding: 0.5rem 0.55rem 0;
  box-shadow: var(--fb-shadow-sm);
}

.fb-tabs::-webkit-scrollbar { display: none; }

.fb-tab {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fb-mute);
  padding: 0.52rem 0.9rem;
  border-radius: var(--fb-radius-sm) var(--fb-radius-sm) 0 0;
  border: 1px solid transparent;
  border-bottom: 0;
  transition: color 0.15s var(--fb-ease), background 0.15s var(--fb-ease);
}

.fb-tab:hover { color: var(--fb-ink); }

.fb-tab.is-active {
  color: var(--fb-ink);
  background: var(--fb-surface);
  border-color: var(--fb-line);
  position: relative;
}

.fb-tab.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--fb-accent);
  border-radius: 2px 2px 0 0;
}

/* ?? Tables ?? */
.fb-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.fb-table th,
.fb-table td {
  padding: 0.58rem 0.55rem;
  text-align: center;
  border-bottom: 1px solid var(--fb-line);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fb-table th {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--fb-mute);
  background: var(--fb-surface);
  border-bottom: 1px solid var(--fb-line-strong);
  letter-spacing: 0;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 1;
}

.fb-table__team {
  text-align: start;
  white-space: nowrap;
  min-width: 180px;
}

.fb-table__team a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--fb-ink);
  font-weight: 700;
  transition: color 0.15s var(--fb-ease);
}

.fb-table__team a:hover { color: var(--fb-accent); }

.fb-table__team img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  padding: 0.1rem;
  border: 1px solid var(--fb-line);
  border-radius: 4px;
  background: var(--fb-card);
}

.fb-table__rank {
  font-weight: 800;
  width: 36px;
  color: var(--fb-mute);
}

.fb-table__pts {
  font-weight: 800;
  color: var(--fb-ink);
  background: var(--fb-accent-soft);
}

.fb-standing__team {
  font-weight: 700;
  letter-spacing: 0;
}

.fb-table tbody tr { transition: background 0.12s var(--fb-ease); }
.fb-table tbody tr:hover { background: var(--fb-accent-soft); }

.fb-table tr[data-zone="ucl"] .fb-table__rank {
  box-shadow: inset 3px 0 0 var(--fb-accent);
  color: var(--fb-accent);
}

.fb-table tr[data-zone="uel"] .fb-table__rank {
  box-shadow: inset 3px 0 0 #2563eb;
  color: #2563eb;
}

.fb-table tr[data-zone="down"] .fb-table__rank {
  box-shadow: inset 3px 0 0 var(--fb-live);
  color: var(--fb-live);
}

.fb-form {
  display: inline-flex;
  gap: 0.18rem;
}

.fb-form i {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 800;
  font-style: normal;
  color: #fff;
  background: var(--fb-mute);
  border-radius: 4px;
}

.fb-form i[data-r="W"] { background: var(--fb-ok); }
.fb-form i[data-r="D"] { background: #64748b; }
.fb-form i[data-r="L"] { background: var(--fb-live); }

/* ?? List rows ?? */
.fb-list {
  display: flex;
  flex-direction: column;
}

.fb-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--fb-line);
  text-decoration: none;
  color: var(--fb-ink);
  transition: background 0.14s var(--fb-ease);
}

.fb-row:last-child { border-bottom: 0; }
.fb-row:hover { background: var(--fb-accent-soft); }

.fb-row:nth-child(-n+3) .fb-row__rank {
  color: var(--fb-accent);
  background: var(--fb-accent-soft);
  border-color: rgba(13, 148, 136, 0.2);
}

.fb-row__rank {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--fb-mute);
  flex: 0 0 auto;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
  background: var(--fb-surface);
  font-variant-numeric: tabular-nums;
}

.fb-row__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--fb-line);
  flex: 0 0 auto;
  background: var(--fb-surface);
}

.fb-row__body {
  flex: 1 1 auto;
  min-width: 0;
}

.fb-row__name {
  font-size: 0.88rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

.fb-scorer__name {
  font-weight: 700;
  letter-spacing: 0;
}

.fb-row__meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fb-mute);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.1rem;
}

.fb-row__meta img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.fb-row__value {
  flex: 0 0 auto;
  text-align: center;
  min-width: 46px;
  padding: 0.22rem 0.35rem;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
}

.fb-row__value b {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.fb-row__value span {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--fb-mute);
  letter-spacing: 0;
}

/* ?? Scoreboard ?? */
.fb-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 1.2rem;
  background: var(--fb-wash);
  color: var(--fb-ink);
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: var(--fb-radius-lg);
  box-shadow: var(--fb-shadow);
  position: relative;
  overflow: hidden;
}

.fb-scoreboard::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fb-accent), var(--fb-accent-bright), var(--fb-accent));
}

.fb-scoreboard::after {
  content: "";
  position: absolute;
  inset-inline-end: -3rem;
  bottom: -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.1), transparent 70%);
  pointer-events: none;
}

.fb-scoreboard__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.2s var(--fb-ease);
}

.fb-scoreboard__team:hover {
  transform: translateY(-3px);
  color: var(--fb-accent);
}

.fb-scoreboard__team img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  padding: 0.35rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
}

.fb-scoreboard__team span {
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.3;
}

.fb-scoreboard__center {
  text-align: center;
  padding: 0.4rem 0.85rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.fb-scoreboard__follow {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
}

.fb-scoreboard__score {
  font-size: clamp(1.85rem, 6.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--fb-ink);
}

.fb-scoreboard__state {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-block;
  padding: 0.24rem 0.65rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid var(--fb-line-strong);
  letter-spacing: 0;
  background: var(--fb-card);
  color: var(--fb-mute);
}

.fb-scoreboard__state.is-live {
  background: var(--fb-live);
  border-color: var(--fb-live);
  color: #fff;
  animation: none;
}

.fb-countdown {
  width: fit-content;
  max-width: 100%;
  margin: 0.65rem auto 0;
  padding: 0.42rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--fb-radius-pill);
  background: var(--fb-accent-soft);
  color: var(--fb-accent);
  line-height: 1.35;
}

.fb-countdown__label {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--fb-mute);
}

.fb-countdown__value {
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fb-countdown.is-soon {
  border-color: rgba(217, 119, 6, 0.24);
  background: var(--fb-warn-soft);
  color: var(--fb-warn);
}

.fb-scoreboard__meta {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--fb-mute);
  font-weight: 600;
}

/* ?? Head-to-head under scoreboard ?? */
.fb-h2h {
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-lg);
  box-shadow: var(--fb-shadow-sm);
  overflow: hidden;
}

.fb-h2h__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.7rem;
  border-bottom: 1px solid var(--fb-line);
  background: linear-gradient(90deg, var(--fb-accent-soft), transparent 55%);
}

.fb-h2h__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--fb-accent);
  letter-spacing: 0;
}

.fb-h2h__head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fb-ink);
  line-height: 1.35;
}

.fb-h2h__count {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--fb-mute);
  padding: 0.28rem 0.6rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid var(--fb-line-strong);
  background: var(--fb-surface);
}

.fb-h2h__summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.65rem;
}

.fb-h2h__side {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--fb-ink);
}

.fb-h2h__side--away {
  justify-content: flex-end;
  text-align: end;
}

.fb-h2h__side img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 0.15rem;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
}

.fb-h2h__side span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fb-h2h__nums {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
}

.fb-h2h__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  padding: 0.4rem 0.55rem;
  border-radius: var(--fb-radius-sm);
  border: 1px solid var(--fb-line-strong);
  background: var(--fb-surface);
}

.fb-h2h__num b {
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--fb-accent);
  line-height: 1.1;
}

.fb-h2h__num small {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--fb-mute);
}

.fb-h2h__num--draw b {
  color: var(--fb-mute);
}

.fb-h2h__goals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  padding: 0 1rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--fb-mute);
}

.fb-h2h__goals b {
  color: var(--fb-ink);
  font-variant-numeric: tabular-nums;
}

.fb-h2h__table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--fb-line);
}

.fb-h2h__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.fb-h2h__table th,
.fb-h2h__table td {
  padding: 0.65rem 0.9rem;
  text-align: start;
  border-bottom: 1px solid var(--fb-line);
  font-size: 0.8rem;
}

.fb-h2h__table th {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--fb-mute);
  background: var(--fb-surface);
  white-space: nowrap;
}

.fb-h2h__table tbody tr:last-child td {
  border-bottom: 0;
}

.fb-h2h__table tbody tr:hover {
  background: var(--fb-accent-soft);
}

.fb-h2h__date a,
.fb-h2h__fixture a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.fb-h2h__date a:hover,
.fb-h2h__fixture a:hover {
  color: var(--fb-accent);
}

.fb-h2h__fixture span {
  margin-inline: 0.25rem;
  color: var(--fb-mute);
  font-weight: 600;
}

.fb-h2h__score {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  white-space: nowrap;
}

.fb-h2h__comp {
  color: var(--fb-mute);
  font-weight: 600;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fb-h2h__table tr.is-home-win .fb-h2h__score {
  color: var(--fb-accent);
}

.fb-h2h__table tr.is-away-win .fb-h2h__score {
  color: #0369a1;
}

.fb-h2h__table tr.is-draw .fb-h2h__score {
  color: var(--fb-mute);
}

@media (max-width: 640px) {
  .fb-h2h__summary {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.55rem;
  }

  .fb-h2h__side,
  .fb-h2h__side--away {
    justify-content: center;
    text-align: center;
  }

  .fb-h2h__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ?? Events timeline ?? */
.fb-events {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fb-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.fb-timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 58px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--fb-accent-bright), var(--fb-line-strong));
  opacity: 0.35;
  border-radius: 2px;
}

.fb-event {
  display: grid;
  grid-template-columns: 48px 26px 1fr;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.15rem;
  border-bottom: 1px dashed var(--fb-line);
  position: relative;
}

.fb-event:last-child { border-bottom: 0; }

.fb-event__min {
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  color: var(--fb-mute);
  font-variant-numeric: tabular-nums;
}

.fb-event__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  border: 1px solid var(--fb-line);
  border-radius: 50%;
  background: var(--fb-card);
  z-index: 1;
  box-shadow: var(--fb-shadow-sm);
}

.fb-event__icon[data-i="goal"] { background: var(--fb-ok); color: #fff; border-color: var(--fb-ok); }
.fb-event__icon[data-i="yellow"] { background: #facc15; border-color: #ca8a04; }
.fb-event__icon[data-i="red"] { background: var(--fb-live); color: #fff; border-color: var(--fb-live); }
.fb-event__icon[data-i="sub"] { background: var(--fb-surface); }
.fb-event__icon[data-i="var"] { background: #e0f2fe; border-color: #0284c7; color: #0369a1; }

.fb-event__text {
  font-size: 0.84rem;
  min-width: 0;
}

.fb-event__text b { font-weight: 800; }

.fb-event__text small {
  display: block;
  color: var(--fb-mute);
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.08rem;
}

/* ?? Stat lines ?? */
.fb-stat-line { margin-bottom: 0.75rem; }
.fb-stat-line:last-child { margin-bottom: 0; }

.fb-stat-line__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.28rem;
  font-variant-numeric: tabular-nums;
}

.fb-stat-line__label {
  color: var(--fb-mute);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.fb-stat-line__track {
  display: flex;
  height: 8px;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-pill);
  overflow: hidden;
}

.fb-stat-line__fill {
  background: linear-gradient(90deg, var(--fb-accent), var(--fb-accent-bright));
  border-radius: var(--fb-radius-pill);
  transition: width 0.45s var(--fb-ease);
}

.fb-stat-line__fill--away {
  background: linear-gradient(90deg, #64748b, var(--fb-ink));
}

/* ?? Lineup ?? */
.fb-lineup {
  display: grid;
  gap: 0.1rem;
}

.fb-lineup__player {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0;
  border-bottom: 1px dashed var(--fb-line);
  font-size: 0.82rem;
  font-weight: 600;
}

.fb-lineup__player:last-child { border-bottom: 0; }

.fb-lineup__num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
  color: var(--fb-mute);
  background: var(--fb-surface);
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

/* ?? Filters / forms ?? */
.fb-filters {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  align-items: end;
  padding: 0.9rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  margin-bottom: 0.95rem;
}

.fb-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.fb-field label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--fb-mute);
  letter-spacing: 0;
  text-transform: uppercase;
}

.fb-field input,
.fb-field select {
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--fb-ink);
  background: var(--fb-surface);
  border: 1px solid var(--fb-line-strong);
  border-radius: var(--fb-radius-sm);
  padding: 0.5rem 0.65rem;
  width: 100%;
  transition: border-color 0.15s var(--fb-ease), box-shadow 0.15s var(--fb-ease);
}

.fb-field input:focus,
.fb-field select:focus {
  outline: none;
  border-color: var(--fb-accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
  background: var(--fb-card);
}

.fb-filters__actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.fb-btn {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  color: #fff;
  background: var(--fb-accent);
  border: 1px solid var(--fb-accent);
  border-radius: var(--fb-radius-pill);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.2);
  transition: transform 0.16s var(--fb-ease), background 0.16s var(--fb-ease), box-shadow 0.16s var(--fb-ease);
}

.fb-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  background: #0f766e;
  box-shadow: var(--fb-shadow-lift);
}

.fb-btn--ghost {
  background: var(--fb-card);
  color: var(--fb-ink);
  border-color: var(--fb-line-strong);
  box-shadow: var(--fb-shadow-sm);
}

.fb-btn--ghost:hover {
  color: var(--fb-accent);
  background: var(--fb-surface);
  border-color: rgba(13, 148, 136, 0.25);
}

/* ?? Pager / empty / note ?? */
.fb-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.fb-pager a,
.fb-pager span {
  min-width: 36px;
  text-align: center;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.38rem 0.65rem;
  color: var(--fb-ink);
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
  transition: background 0.14s var(--fb-ease), color 0.14s var(--fb-ease), transform 0.14s var(--fb-ease);
}

.fb-pager a:hover {
  background: var(--fb-accent-soft);
  color: var(--fb-accent);
  transform: translateY(-1px);
}

.fb-pager .is-current {
  background: var(--fb-accent);
  border-color: var(--fb-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.2);
}

.fb-empty {
  text-align: center;
  padding: 2.75rem 1.25rem;
  background: var(--fb-surface);
  border: 1px dashed rgba(13, 148, 136, 0.2);
  border-radius: var(--fb-radius);
  position: relative;
}

.fb-empty__mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 16px;
  background: linear-gradient(145deg, #ecfdf5, #f0f9ff);
  position: relative;
  box-shadow: var(--fb-shadow-sm);
  display: grid;
  place-items: center;
  color: var(--fb-accent);
}

.fb-empty__mark svg {
  display: block;
}

.fb-empty__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: 0;
}

.fb-empty__text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--fb-mute);
  font-weight: 600;
  max-width: 42ch;
  margin-inline: auto;
  line-height: 1.55;
}

.fb-note {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--fb-mute);
  margin: 0.7rem 0 0;
  padding: 0.6rem 0.75rem;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
  border-inline-start: 3px solid var(--fb-accent);
}

/* ?? Leagues showcase ?? */
.lg-featured { margin-bottom: 1.15rem; }

.lg-featured__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.7rem;
}

.lg-featured__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.lg-featured__sub {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fb-mute);
}

.lg-featured__rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.7rem;
}

.lg-spotlight {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 0.7rem;
  row-gap: 0.4rem;
  padding: 0.85rem 0.9rem;
  text-decoration: none;
  color: var(--fb-ink);
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--fb-ease), box-shadow 0.2s var(--fb-ease);
}

.lg-spotlight::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--fb-accent);
  border-radius: var(--fb-radius) 0 0 var(--fb-radius);
}

.lg-spotlight.is-live::before { background: var(--fb-live); }

.lg-spotlight:hover {
  transform: translateY(-3px);
  box-shadow: var(--fb-shadow-lift);
}

.lg-spotlight__crest {
  grid-row: 1 / span 2;
  align-self: center;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
  flex-shrink: 0;
}

.lg-spotlight__crest img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.lg-spotlight__crest span {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fb-mute);
}

.lg-spotlight__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lg-spotlight__body strong {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.45;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  hyphens: none;
}

.lg-spotlight__body em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fb-mute);
  line-height: 1.35;
  white-space: normal;
}

.lg-spotlight__meta {
  grid-column: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
}

.lg-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.2rem 0.48rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid var(--fb-line-strong);
  background: var(--fb-surface);
  color: var(--fb-mute);
  white-space: nowrap;
  letter-spacing: 0;
}

.lg-pill img { display: block; }

.lg-pill--live {
  color: #fff;
  background: var(--fb-live);
  border-color: var(--fb-live);
  animation: none;
}

.lg-pill--ok {
  color: var(--fb-ok);
  border-color: rgba(5, 150, 105, 0.25);
  background: var(--fb-ok-soft);
}

.lg-pill--accent {
  color: var(--fb-accent);
  border-color: rgba(13, 148, 136, 0.25);
  background: var(--fb-accent-soft);
}

.lg-toolbar {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  align-items: end;
  padding: 0.9rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  margin-bottom: 0.8rem;
}

.lg-toolbar__search {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.lg-toolbar__search label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--fb-mute);
  letter-spacing: 0;
  text-transform: uppercase;
}

.lg-toolbar__search input {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fb-ink);
  background: var(--fb-surface);
  border: 1px solid var(--fb-line-strong);
  border-radius: var(--fb-radius-sm);
  padding: 0.55rem 0.75rem;
  width: 100%;
  transition: border-color 0.15s var(--fb-ease), box-shadow 0.15s var(--fb-ease);
}

.lg-toolbar__search input:focus {
  outline: none;
  border-color: var(--fb-accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
  background: var(--fb-card);
}

.lg-toolbar__types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.lg-chip {
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--fb-ink);
  background: var(--fb-surface);
  border: 1px solid var(--fb-line-strong);
  border-radius: var(--fb-radius-pill);
  padding: 0.42rem 0.75rem;
  transition: background 0.15s var(--fb-ease), transform 0.15s var(--fb-ease);
}

.lg-chip:hover {
  color: var(--fb-ink);
  background: var(--fb-card);
  transform: translateY(-1px);
}

.lg-chip.is-active {
  background: var(--fb-accent);
  color: #fff;
  border-color: var(--fb-accent);
}

.lg-toolbar__actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.lg-countries {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.6rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  margin-bottom: 0.8rem;
}

.lg-countries::-webkit-scrollbar { display: none; }

.lg-country {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--fb-ink);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--fb-line-strong);
  border-radius: var(--fb-radius-pill);
  background: var(--fb-surface);
  transition: transform 0.14s var(--fb-ease), box-shadow 0.14s var(--fb-ease);
}

.lg-country img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border: 1px solid var(--fb-line);
  border-radius: 2px;
}

.lg-country b {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--fb-mute);
  font-variant-numeric: tabular-nums;
}

.lg-country:hover {
  transform: translateY(-2px);
  background: var(--fb-card);
  box-shadow: var(--fb-shadow-sm);
}

.lg-country.is-active {
  background: var(--fb-accent);
  border-color: var(--fb-accent);
  color: #fff;
}

.lg-country.is-active b { color: rgba(255, 255, 255, 0.75); }

.lg-result {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fb-mute);
}

.lg-result strong {
  color: var(--fb-ink);
  font-weight: 800;
}

.lg-region { margin-bottom: 1.2rem; }

.lg-region__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--fb-line);
  position: relative;
}

.lg-region__head::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -1px;
  width: 3.5rem;
  height: 2px;
  background: var(--fb-accent);
  border-radius: 2px;
}

.lg-region__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.lg-region__count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fb-mute);
  padding: 0.18rem 0.48rem;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-pill);
  background: var(--fb-surface);
}

.lg-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.lg-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.95rem;
  text-decoration: none;
  color: var(--fb-ink);
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--fb-ease), box-shadow 0.2s var(--fb-ease);
}

.lg-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fb-accent), var(--fb-accent-bright));
  transform: scaleX(0);
  transition: transform 0.22s var(--fb-ease);
}

.lg-card.is-featured::before { transform: scaleX(1); }

.lg-card.is-live {
  background: linear-gradient(180deg, var(--fb-live-soft), var(--fb-card) 40%);
}

.lg-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fb-shadow-lift);
}

.lg-card:hover::before { transform: scaleX(1); }

.lg-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.lg-card__crest {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
}

.lg-card__crest img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.lg-card__ph {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fb-mute);
}

.lg-card__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.lg-card__name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
}

.lg-card__country {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--fb-mute);
}

.lg-card__country img {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border: 1px solid var(--fb-line);
  border-radius: 2px;
}

.lg-card__season {
  margin-inline-start: auto;
  font-weight: 700;
  color: var(--fb-accent);
}

.lg-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-top: 0.2rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--fb-line);
}

.lg-card__stats span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--fb-mute);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lg-card__stats b {
  font-weight: 800;
  color: var(--fb-ink);
  font-variant-numeric: tabular-nums;
}

.lg-card__cta {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--fb-accent);
  letter-spacing: 0;
}

/* ?? League detail ?? */
.lg-hero {
  background: var(--fb-wash);
  color: var(--fb-ink);
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: var(--fb-radius-lg);
  box-shadow: var(--fb-shadow);
  padding: 1.35rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.lg-hero::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--fb-accent-bright), var(--fb-accent));
  border-radius: var(--fb-radius-lg) 0 0 var(--fb-radius-lg);
}

.lg-hero__main {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lg-hero__crest {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  padding: 0.5rem;
  flex: 0 0 auto;
  box-shadow: var(--fb-shadow-sm);
}

.lg-hero__crest img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.lg-hero__copy {
  flex: 1 1 280px;
  min-width: 0;
}

.lg-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--fb-mute);
  margin-bottom: 0.45rem;
}

.lg-hero__crumb a {
  color: var(--fb-accent);
  text-decoration: none;
}

.lg-hero__crumb a:hover { color: #0f766e; }

.lg-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.lg-hero__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0 !important;
  line-height: 1.2;
}

.lg-hero__lead {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fb-mute);
  max-width: 56ch;
  line-height: 1.55;
}

.lg-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.lg-hero__links a {
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--fb-mute);
  padding: 0.34rem 0.68rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid var(--fb-line-strong);
  background: var(--fb-card);
  transition: background 0.15s var(--fb-ease), color 0.15s var(--fb-ease);
}

.lg-hero__links a:hover {
  background: var(--fb-accent);
  border-color: var(--fb-accent);
  color: #fff;
}

.lg-hero__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.lg-kpi {
  text-align: center;
  padding: 0.65rem 0.45rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-sm);
  box-shadow: var(--fb-shadow-sm);
}

.lg-kpi.is-live {
  border-color: rgba(225, 29, 72, 0.3);
  background: var(--fb-live-soft);
}

.lg-kpi b {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.lg-kpi span {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--fb-mute);
}

.lg-hero__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
  position: relative;
  z-index: 1;
}

.lg-hl {
  padding: 0.75rem 0.85rem;
  background:
    linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
  position: relative;
  overflow: hidden;
}

.lg-hl::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 4px;
  background: linear-gradient(180deg, #14b8a6, #0ea5e9);
}

.lg-hl:nth-child(2)::before {
  background: linear-gradient(180deg, #f59e0b, #ea580c);
}

.lg-hl__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 0.28rem;
  letter-spacing: 0;
}

.lg-hl:nth-child(2) .lg-hl__label {
  color: #b45309;
}

.lg-hl strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 900;
}

.lg-hl img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  padding: 2px;
  background: #fff;
  border: 1px solid var(--fb-line);
  border-radius: 50%;
}

.lg-tabs {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--fb-line);
  border-bottom: 0;
  border-radius: var(--fb-radius) var(--fb-radius) 0 0;
  background: var(--fb-card);
  padding: 0.5rem 0.55rem 0;
  box-shadow: var(--fb-shadow-sm);
}

.lg-tabs::-webkit-scrollbar { display: none; }

.lg-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fb-mute);
  padding: 0.55rem 0.9rem;
  border-radius: var(--fb-radius-sm) var(--fb-radius-sm) 0 0;
  border: 1px solid transparent;
  border-bottom: 0;
  transition: color 0.15s var(--fb-ease), background 0.15s var(--fb-ease);
}

.lg-tab b {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.38rem;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius-pill);
  color: var(--fb-mute);
  font-variant-numeric: tabular-nums;
}

.lg-tab:hover { color: var(--fb-ink); }

.lg-tab.is-active {
  color: var(--fb-ink);
  background: var(--fb-surface);
  border-color: var(--fb-line);
  position: relative;
}

.lg-tab.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--fb-accent);
}

.lg-tab.is-active b {
  background: var(--fb-accent);
  border-color: var(--fb-accent);
  color: #fff;
}

.lg-layout {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.9fr);
  align-items: start;
  border: 1px solid var(--fb-line);
  border-top: 0;
  border-radius: 0 0 var(--fb-radius) var(--fb-radius);
  background: var(--fb-card);
  box-shadow: var(--fb-shadow-sm);
  overflow: hidden;
}

.lg-main {
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.lg-side {
  padding: 0.8rem;
  border-inline-start: 1px solid var(--fb-line);
  background: var(--fb-surface);
}

.lg-side .fb-panel { margin-bottom: 0.8rem; }
.lg-side .fb-panel:last-child { margin-bottom: 0; }

.lg-fx-block {
  border-bottom: 1px solid var(--fb-line);
}

.lg-fx-block:last-child {
  border-bottom: 0;
}

.lg-fx-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.95rem 0.45rem;
  background: linear-gradient(180deg, #f8fffe, transparent);
}

.lg-fx-block__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 900;
  color: #0f766e;
}

.lg-fx-block__head b {
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: #0f766e;
  font-variant-numeric: tabular-nums;
}

/* ?? Responsive ?? */
@media (max-width: 980px) {
  .fb-cols { grid-template-columns: minmax(0, 1fr); }

  .lg-toolbar { grid-template-columns: 1fr; }
  .lg-layout { grid-template-columns: 1fr; }

  .lg-side {
    border-inline-start: 0;
    border-top: 1px solid var(--fb-line);
  }

  .lg-hero__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .fb-wrap {
    padding-inline: 12px;
    padding-top: 0.95rem;
  }

  .fb-hero { padding: 1.15rem 1rem; }
  .fb-hero__stat { min-width: 78px; padding: 0.48rem 0.6rem; }

  .fb-match {
    padding: 0.62rem 0.6rem;
    gap: 0.3rem;
  }

  .fb-match__row {
    grid-template-columns: 1fr 78px 1fr;
  }

  .fb-match__team { font-size: 0.8rem; }
  .fb-match__logo { width: 24px; height: 24px; }
  .fb-match__center { padding: 0.12rem; }

  .fb-profile { padding: 1rem 0.9rem; }
  .fb-profile__crest,
  .fb-profile__photo { width: 68px; height: 68px; }

  .fb-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.55rem;
  }

  .fb-scoreboard {
    grid-template-columns: minmax(0, 1fr) minmax(82px, 96px) minmax(0, 1fr);
    gap: 0.4rem;
    padding: 1rem 0.55rem 0.75rem;
  }

  .fb-scoreboard__team {
    gap: 0.4rem;
    align-self: start;
  }

  .fb-scoreboard__team img {
    width: 54px;
    height: 54px;
    padding: 0.25rem;
  }

  .fb-scoreboard__team span {
    display: -webkit-box;
    min-height: 2.5em;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .fb-scoreboard__center {
    width: 100%;
    max-width: 96px;
    padding: 0.2rem 0;
  }

  .fb-scoreboard__score {
    font-size: clamp(1.65rem, 8vw, 2rem);
    letter-spacing: 0.02em;
  }

  .fb-scoreboard__state {
    max-width: 100%;
    margin-top: 0.4rem;
    padding: 0.22rem 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fb-countdown {
    width: 100%;
    margin-top: 0.45rem;
    padding: 0.35rem 0.25rem;
    flex-direction: column;
    gap: 0.05rem;
    border-radius: 0.65rem;
  }

  .fb-countdown__label { font-size: 0.58rem; }
  .fb-countdown__value { font-size: 0.66rem; }

  .fb-scoreboard__meta {
    margin-top: 0.3rem;
    overflow: hidden;
    font-size: 0.64rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fb-scoreboard__meta:nth-of-type(n+4) {
    display: none;
  }

  .fb-scoreboard__follow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--fb-line);
  }

  .fb-scoreboard__follow .jl-follow--scoreboard {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0.38rem 0.45rem;
    overflow: hidden;
    justify-content: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fb-row__value:nth-of-type(n+3) { display: none; }
  .fb-timeline::before { inset-inline-start: 52px; }

  .lg-featured__rail { grid-template-columns: 1fr; }
  .lg-grid { grid-template-columns: 1fr; }
  .lg-hero { padding: 1rem 0.85rem; }
  .lg-hero__crest { width: 72px; height: 72px; }
  .lg-hero__crest img { width: 52px; height: 52px; }
}

/* ?? Dark mode ?? */
html[data-theme="dark"] .jl-football {
  --fb-card: #111827;
  --fb-surface: rgba(20, 184, 166, 0.06);
  --fb-surface-sky: rgba(56, 189, 248, 0.05);
  --fb-wash: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(56, 189, 248, 0.05) 50%, #111827 100%);
  --fb-line: rgba(226, 232, 240, 0.07);
  --fb-line-strong: rgba(226, 232, 240, 0.12);
  --fb-ink: #e8eef6;
  --fb-mute: #94a3b8;
  --fb-accent-soft: rgba(20, 184, 166, 0.12);
  --fb-live-soft: rgba(225, 29, 72, 0.14);
  --fb-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  --fb-shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.2);
  --fb-shadow-lift: 0 6px 20px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .fb-hero,
html[data-theme="dark"] .fb-profile,
html[data-theme="dark"] .fb-scoreboard,
html[data-theme="dark"] .fb-h2h,
html[data-theme="dark"] .lg-hero {
  border-color: rgba(20, 184, 166, 0.15);
}

html[data-theme="dark"] .fb-bar,
html[data-theme="dark"] .fb-dates,
html[data-theme="dark"] .fb-group,
html[data-theme="dark"] .fb-h2h,
html[data-theme="dark"] .fb-panel,
html[data-theme="dark"] .fb-card,
html[data-theme="dark"] .fb-filters,
html[data-theme="dark"] .fb-empty,
html[data-theme="dark"] .fb-tabs,
html[data-theme="dark"] .fb-pager a,
html[data-theme="dark"] .fb-pager span,
html[data-theme="dark"] .lg-spotlight,
html[data-theme="dark"] .lg-toolbar,
html[data-theme="dark"] .lg-countries,
html[data-theme="dark"] .lg-card,
html[data-theme="dark"] .lg-tabs,
html[data-theme="dark"] .lg-layout {
  background: var(--fb-card);
}

html[data-theme="dark"] .fb-chip,
html[data-theme="dark"] .fb-date,
html[data-theme="dark"] .fb-match__center,
html[data-theme="dark"] .fb-match__logo,
html[data-theme="dark"] .fb-match__logo--ph,
html[data-theme="dark"] .fb-group__logo,
html[data-theme="dark"] .fb-card__crest,
html[data-theme="dark"] .fb-card__crest--ph,
html[data-theme="dark"] .fb-field input,
html[data-theme="dark"] .fb-field select,
html[data-theme="dark"] .fb-row__rank,
html[data-theme="dark"] .fb-row__value,
html[data-theme="dark"] .fb-lineup__num,
html[data-theme="dark"] .fb-note,
html[data-theme="dark"] .fb-tag,
html[data-theme="dark"] .fb-group__count,
html[data-theme="dark"] .fb-group__more,
html[data-theme="dark"] .fb-btn--ghost,
html[data-theme="dark"] .fb-match__state,
html[data-theme="dark"] .fb-table__team img,
html[data-theme="dark"] .fb-event__icon,
html[data-theme="dark"] .fb-hero__nav a,
html[data-theme="dark"] .fb-hero__stat,
html[data-theme="dark"] .fb-kpi,
html[data-theme="dark"] .fb-scoreboard__team img,
html[data-theme="dark"] .fb-scoreboard__state,
html[data-theme="dark"] .lg-spotlight__crest,
html[data-theme="dark"] .lg-card__crest,
html[data-theme="dark"] .lg-chip,
html[data-theme="dark"] .lg-country,
html[data-theme="dark"] .lg-pill,
html[data-theme="dark"] .lg-region__count,
html[data-theme="dark"] .lg-toolbar__search input,
html[data-theme="dark"] .lg-kpi,
html[data-theme="dark"] .lg-hl,
html[data-theme="dark"] .lg-hero__crest,
html[data-theme="dark"] .lg-hero__links a {
  background: rgba(226, 232, 240, 0.05);
  color: var(--fb-ink);
}

html[data-theme="dark"] .fb-group__head,
html[data-theme="dark"] .fb-panel__head,
html[data-theme="dark"] .fb-h2h__head,
html[data-theme="dark"] .fb-h2h__table th,
html[data-theme="dark"] .fb-table th,
html[data-theme="dark"] .fb-tab.is-active,
html[data-theme="dark"] .lg-tab.is-active,
html[data-theme="dark"] .lg-side {
  background: rgba(226, 232, 240, 0.04);
}

html[data-theme="dark"] .fb-match:hover,
html[data-theme="dark"] .fb-row:hover,
html[data-theme="dark"] .fb-table tbody tr:hover {
  background: rgba(20, 184, 166, 0.08);
}

html[data-theme="dark"] .fb-chip.is-active,
html[data-theme="dark"] .fb-date.is-active {
  background: var(--fb-accent);
  color: #fff;
  border-color: var(--fb-accent);
}

html[data-theme="dark"] .fb-date.is-active .fb-date__day {
  color: rgba(255, 255, 255, 0.75);
}

html[data-theme="dark"] .fb-field input:focus,
html[data-theme="dark"] .fb-field select:focus,
html[data-theme="dark"] .lg-toolbar__search input:focus {
  background: rgba(226, 232, 240, 0.08);
}

html[data-theme="dark"] .fb-empty {
  background: rgba(20, 184, 166, 0.04);
  border-color: rgba(20, 184, 166, 0.15);
}

html[data-theme="dark"] .fb-empty__mark {
  background: rgba(226, 232, 240, 0.05);
  border-color: rgba(20, 184, 166, 0.2);
}

html[data-theme="dark"] .fb-stat-line__track {
  background: rgba(226, 232, 240, 0.06);
}

html[data-theme="dark"] .fb-table__pts {
  background: rgba(20, 184, 166, 0.12);
}

html[data-theme="dark"] .lg-chip.is-active,
html[data-theme="dark"] .lg-country.is-active {
  background: var(--fb-accent);
  color: #fff;
  border-color: var(--fb-accent);
}

html[data-theme="dark"] .lg-tab b {
  background: rgba(226, 232, 240, 0.08);
}

html[data-theme="dark"] .lg-tab.is-active b {
  background: var(--fb-accent);
  color: #fff;
}

html[data-theme="dark"] .fb-hero__nav a.is-active,
html[data-theme="dark"] .fb-btn {
  background: var(--fb-accent);
  border-color: var(--fb-accent);
  color: #fff;
}

html[data-theme="dark"] .fb-match__state--ft {
  background: rgba(226, 232, 240, 0.1);
  color: var(--fb-ink);
}

/* ?? Scorers / Assists redesign ?? */
.sc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1.25rem 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: var(--fb-radius-lg);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(14, 165, 233, 0.1), transparent 55%),
    linear-gradient(145deg, #f0fdfa 0%, #ffffff 55%, #f0f9ff 100%);
  box-shadow: var(--fb-shadow);
}

.sc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f766e;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.18);
  margin-bottom: 0.55rem;
}

.sc-hero__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--fb-ink);
}

.sc-hero__lead {
  margin: 0 0 0.75rem;
  color: var(--fb-mute);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 42rem;
}

.sc-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--fb-line);
  color: var(--fb-ink);
}

.sc-tag--accent {
  background: linear-gradient(180deg, #5eead4, #14b8a6);
  border-color: #0f766e;
  color: #042f2e;
}

.sc-tag img {
  width: 14px;
  height: 10px;
  object-fit: cover;
}

.sc-hero__leader {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.9rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--fb-radius);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #0b1f2a;
  color: #ecfeff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.sc-hero__leader-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #5eead4;
  letter-spacing: 0.02em;
}

.sc-hero__leader-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.sc-hero__leader-main img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(94, 234, 212, 0.45);
  background: #fff;
  flex: 0 0 auto;
}

.sc-hero__leader-main strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.sc-hero__leader-main em {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(236, 254, 255, 0.7);
}

.sc-hero__leader-main em img {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 0;
}

.sc-hero__leader-value {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sc-hero__leader-value b {
  font-size: 1.7rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.sc-hero__leader-value small {
  font-size: 0.75rem;
  font-weight: 700;
  color: #99f6e4;
}

.sc-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding: 0.85rem 0.95rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
}

.sc-toolbar__block {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.sc-toolbar__label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f766e;
  white-space: nowrap;
}

.sc-toolbar__chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.1rem;
}

.sc-toolbar__chips::-webkit-scrollbar { display: none; }

.sc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--fb-mute);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--fb-line);
  background: var(--fb-surface);
  white-space: nowrap;
}

.sc-chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.sc-chip:hover,
.sc-chip:focus-visible {
  color: var(--fb-ink);
  border-color: rgba(13, 148, 136, 0.35);
  outline: none;
}

.sc-chip.is-active {
  color: #042f2e;
  background: linear-gradient(180deg, #5eead4, #14b8a6);
  border-color: #0f766e;
}

.sc-chip--season {
  min-width: 3.4rem;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  background: #fff;
}

.sc-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem;
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow-sm);
}

.sc-tab {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--fb-mute);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.7rem 0.85rem;
  border-radius: var(--fb-radius-sm);
  border: 1px solid transparent;
}

.sc-tab b {
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  color: var(--fb-mute);
  font-variant-numeric: tabular-nums;
}

.sc-tab:hover,
.sc-tab:focus-visible {
  color: var(--fb-ink);
  background: var(--fb-surface);
  outline: none;
}

.sc-tab.is-active {
  color: #042f2e;
  background: linear-gradient(180deg, #ecfeff, #ccfbf1);
  border-color: rgba(13, 148, 136, 0.28);
}

.sc-tab.is-active b {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.sc-panel {
  background: var(--fb-card);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow);
  overflow: hidden;
}

.sc-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--fb-line);
  background: linear-gradient(180deg, #f8fffe, #fff);
}

.sc-panel__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.sc-panel__title small {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f766e;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.18);
}

.sc-panel__link {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
}

.sc-panel__link:hover,
.sc-panel__link:focus-visible {
  color: var(--fb-ink);
  outline: none;
}

.sc-panel__body {
  padding: 0.85rem;
}

.sc-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  align-items: end;
}

.sc-podium__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem 0.55rem 0.75rem;
  border-radius: var(--fb-radius);
  border: 1px solid var(--fb-line);
  background: #fff;
  min-width: 0;
}

.sc-podium__card.is-gold {
  padding-block: 1.15rem 0.85rem;
  background: linear-gradient(180deg, #fff7ed, #ffffff);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.12);
}

.sc-podium__card.is-silver {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border-color: rgba(100, 116, 139, 0.28);
}

.sc-podium__card.is-bronze {
  background: linear-gradient(180deg, #fff1e8, #ffffff);
  border-color: rgba(194, 120, 70, 0.28);
}

.sc-podium__place {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
  color: var(--fb-mute);
}

.sc-podium__card.is-gold .sc-podium__place {
  background: #f59e0b;
  border-color: #d97706;
  color: #fff;
}

.sc-podium__card.is-silver .sc-podium__place {
  background: #94a3b8;
  border-color: #64748b;
  color: #fff;
}

.sc-podium__card.is-bronze .sc-podium__place {
  background: #c27846;
  border-color: #9a5b32;
  color: #fff;
}

.sc-podium__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08);
  background: var(--fb-surface);
}

.sc-podium__card.is-gold .sc-podium__photo {
  width: 76px;
  height: 76px;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.45);
}

.sc-podium__photo--ph {
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--fb-mute);
}

.sc-podium__name {
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-podium__team {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fb-mute);
  max-width: 100%;
  overflow: hidden;
}

.sc-podium__team img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
}

.sc-podium__value {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f766e;
}

.sc-podium__value b {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--fb-ink);
  font-variant-numeric: tabular-nums;
}

.sc-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  overflow: hidden;
  background: #fff;
}

.sc-row {
  display: grid;
  grid-template-columns: 2.2rem 48px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--fb-line);
}

.sc-row:last-child { border-bottom: 0; }

.sc-row:hover,
.sc-row:focus-visible {
  background: rgba(13, 148, 136, 0.05);
  outline: none;
}

.sc-row__rank {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  font-size: 0.8rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--fb-mute);
  background: var(--fb-surface);
  border: 1px solid var(--fb-line);
}

.sc-row__rank[data-rank="1"],
.sc-row__rank[data-rank="2"],
.sc-row__rank[data-rank="3"] {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.22);
}

.sc-row__avatar {
 width: 48px;
 height: 48px;
 border-radius: 50%;
 object-fit: cover;
 border: 1px solid var(--fb-line);
 background: var(--fb-surface);
}

.sc-row__avatar--ph {
 display: grid;
 place-items: center;
 font-weight: 900;
 color: var(--fb-mute);
}

.sc-row__body {
 min-width: 0;
 display: flex;
 flex-direction: column;
 gap: 0.18rem;
}

.sc-row__name {
 font-size: 0.92rem;
 font-weight: 900;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

.sc-row__meta {
 display: inline-flex;
 align-items: center;
 gap: 0.28rem;
 min-width: 0;
 font-size: 0.7rem;
 font-weight: 700;
 color: var(--fb-mute);
}

.sc-row__meta img {
 width: 14px;
 height: 14px;
 object-fit: contain;
 flex: 0 0 auto;
}

.sc-row__meta em {
 font-style: normal;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
 max-width: 10rem;
}

.sc-row__meta i {
 font-style: normal;
 opacity: 0.5;
}

.sc-row__value {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 gap: 0.05rem;
 min-width: 3.4rem;
 padding: 0.35rem 0.5rem;
 border-radius: 0.5rem;
 background: linear-gradient(180deg, #f0fdfa, #ecfeff);
 border: 1px solid rgba(13, 148, 136, 0.18);
}

.sc-row__value b {
 font-size: 1.15rem;
 font-weight: 900;
 line-height: 1;
 font-variant-numeric: tabular-nums;
 color: var(--fb-ink);
}

.sc-row__value small {
 font-size: 0.62rem;
 font-weight: 800;
 color: #0f766e;
}

@media (max-width: 860px) {
 .sc-hero {
 grid-template-columns: 1fr;
 }

 .sc-toolbar__block {
 grid-template-columns: 1fr;
 gap: 0.35rem;
 }

 .sc-podium {
 gap: 0.45rem;
 }

 .sc-podium__name {
 font-size: 0.76rem;
 }

 .sc-row {
 grid-template-columns: 1.8rem 40px minmax(0, 1fr) auto;
 gap: 0.5rem;
 padding: 0.65rem 0.7rem;
 }

 .sc-row__avatar {
 width: 40px;
 height: 40px;
 }

 .sc-row__meta em:nth-of-type(n+2),
 .sc-row__meta i {
 display: none;
 }
}

@media (max-width: 520px) {
 .sc-podium__card.is-gold .sc-podium__photo,
 .sc-podium__photo {
 width: 52px;
 height: 52px;
 }

 .sc-tab span {
 font-size: 0.8rem;
 }
}

/* ===================================================================
   Matches page  bold youthful redesign (scoped to .fb-matches-page)
   =================================================================== */
.fb-matches-page {
  --mp-ink: #ecfdf8;
  --mp-teal: #14b8a6;
  --mp-teal-bright: #5eead4;
}

/* ?? Hero: dark stadium banner ?? */
.fb-matches-page .fb-hero {
  color: var(--mp-ink);
  border: 1px solid rgba(20, 184, 166, 0.28);
  background:
    radial-gradient(115% 120% at 88% -30%, rgba(45, 212, 191, 0.22), transparent 58%),
    radial-gradient(80% 90% at 0% 120%, rgba(13, 148, 136, 0.2), transparent 62%),
    linear-gradient(158deg, #04121a 0%, #072028 52%, #051820 100%);
  box-shadow: 0 18px 44px rgba(4, 18, 23, 0.32);
  padding: 1.7rem 1.5rem 1.4rem;
}

.fb-matches-page .fb-hero::before {
  width: 100%;
  height: 3px;
  inset: 0 0 auto 0;
  border-radius: var(--fb-radius-lg) var(--fb-radius-lg) 0 0;
  background: linear-gradient(90deg, transparent, var(--mp-teal-bright), transparent);
}

.fb-matches-page .fb-hero::after {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2), transparent 70%);
}

.fb-matches-page .fb-hero__glow {
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.3), transparent 70%);
  filter: blur(6px);
}

.fb-matches-page .fb-hero__eyebrow {
  color: var(--mp-teal-bright);
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(94, 234, 212, 0.3);
}

.fb-matches-page .fb-hero__title {
  color: #fff;
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  text-shadow: 0 12px 32px rgba(4, 18, 23, 0.5);
}

.fb-matches-page .fb-hero__lead {
  color: rgba(236, 253, 248, 0.72);
}

.fb-matches-page .fb-hero__stat {
  background: rgba(4, 18, 23, 0.45);
  border-color: rgba(94, 234, 212, 0.2);
  box-shadow: none;
}

.fb-matches-page .fb-hero__stat:hover {
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 8px 22px rgba(4, 18, 23, 0.4);
}

.fb-matches-page .fb-hero__stat b {
  color: var(--mp-teal-bright);
}

.fb-matches-page .fb-hero__stat span {
  color: rgba(236, 253, 248, 0.6);
}

.fb-matches-page .fb-hero__nav {
  border-top-color: rgba(236, 253, 248, 0.12);
}

.fb-matches-page .fb-hero__nav a {
  color: rgba(236, 253, 248, 0.75);
  background: rgba(236, 253, 248, 0.06);
  border-color: rgba(236, 253, 248, 0.12);
}

.fb-matches-page .fb-hero__nav a:hover {
  color: var(--mp-teal-bright);
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(45, 212, 191, 0.1);
}

.fb-matches-page .fb-hero__nav a.is-active {
  background: var(--mp-teal);
  border-color: var(--mp-teal);
  color: #042f2e;
  font-weight: 800;
}

/* ?? Date strip: chunky pill cards ?? */
.fb-matches-page .fb-dates {
  padding: 0.55rem;
  gap: 0.5rem;
  border-radius: var(--fb-radius-lg);
}

.fb-matches-page .fb-date {
  min-width: 78px;
  padding: 0.6rem 0.65rem;
  border-radius: 0.85rem;
  gap: 0.15rem;
  border-width: 1.5px;
}

.fb-matches-page .fb-date:hover {
  transform: translateY(-3px);
}

.fb-matches-page .fb-date__num {
  font-size: 0.95rem;
}

.fb-matches-page .fb-date.is-active {
  background: linear-gradient(160deg, var(--fb-accent-bright), var(--fb-accent));
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.32);
  transform: translateY(-2px);
}

/* ?? Filter/league bars ?? */
.fb-matches-page .fb-bar {
  border-radius: var(--fb-radius-lg);
}

.fb-matches-page .fb-chip {
  padding: 0.42rem 0.85rem;
  font-weight: 800;
}

.fb-matches-page .fb-chip.is-active {
  background: linear-gradient(160deg, var(--fb-accent-bright), var(--fb-accent));
}

/* ?? Competition groups & match cards ?? */
.fb-matches-page .fb-group {
  border-radius: var(--fb-radius-lg);
  overflow: hidden;
}

.fb-matches-page .fb-group__head {
  padding: 0.8rem 1rem;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.14), transparent 55%), var(--fb-surface);
}

.fb-matches-page .fb-group__name {
  font-size: 0.94rem;
}

.fb-matches-page .fb-match {
  padding: 0.9rem 1rem;
  transition: background 0.16s var(--fb-ease);
}

.fb-matches-page .fb-match::before {
  width: 0;
  background: linear-gradient(180deg, var(--fb-accent-bright), var(--fb-accent));
}

.fb-matches-page .fb-match:hover::before {
  width: 4px;
}

.fb-matches-page .fb-match__center {
  min-width: 78px;
  border-radius: 0.7rem;
  padding: 0.3rem 0.5rem;
  background: linear-gradient(160deg, var(--fb-surface), var(--fb-surface-sky));
  border-color: var(--fb-line-strong);
}

.fb-matches-page .fb-match__time {
  font-size: 1.02rem;
}

.fb-matches-page .fb-match--live .fb-match__center {
  background: linear-gradient(160deg, rgba(225, 29, 72, 0.12), rgba(225, 29, 72, 0.04));
  border-color: rgba(225, 29, 72, 0.28);
}

.fb-matches-page .fb-match__state--live {
  position: relative;
  padding-inline-start: 1.1rem;
}

.fb-matches-page .fb-match__state--live::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.42rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #fff;
  animation: mp-live-blink 1.2s ease-in-out infinite;
}

@keyframes mp-live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .fb-matches-page .fb-match__state--live::before {
    animation: none;
  }
}

.fb-matches-page .fb-note {
  margin-top: 1.1rem;
  text-align: center;
}

/* Dark theme: keep hero readable (it is already dark-on-dark, refine borders) */
html[data-theme="dark"] .fb-matches-page .fb-hero {
  border-color: rgba(20, 184, 166, 0.22);
}

@media (max-width: 560px) {
  .fb-matches-page .fb-hero {
    padding: 1.3rem 1.1rem 1.1rem;
  }

  .fb-matches-page .fb-date {
    min-width: 66px;
  }
}

/* ===== About this match — full-width SEO block ===== */
.fb-about {
  margin: 1.1rem 0 0.4rem;
  padding: clamp(1.1rem, 2.6vw, 1.8rem);
  border-radius: var(--fb-radius-lg);
  border: 1px solid var(--fb-line);
  background:
    radial-gradient(circle at 100% 0, rgba(20, 184, 166, 0.08), transparent 45%),
    var(--fb-card);
  box-shadow: var(--fb-shadow-sm);
}

.fb-about__head {
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--fb-line);
}

.fb-about__eyebrow {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--fb-radius-pill);
  background: var(--fb-accent-soft);
  color: var(--fb-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.fb-about__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--fb-ink);
}

.fb-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
  align-items: start;
}

.fb-about__lead {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--fb-ink);
}

.fb-about__lead strong { color: var(--fb-accent); font-weight: 800; }

.fb-about__p {
  margin: 0 0 0.85rem;
  font-size: 0.96rem;
  line-height: 1.95;
  color: var(--fb-mute);
}

.fb-about__p strong { color: var(--fb-accent); }

.fb-about__outro {
  margin-top: 0.4rem;
  padding: 0.85rem 1rem;
  border-radius: var(--fb-radius);
  border: 1px dashed var(--fb-line-strong);
  background: var(--fb-surface);
  color: var(--fb-ink);
}

.fb-about__subtitle {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--fb-ink);
}

.fb-about__faq { margin-top: 1.1rem; }

.fb-about__qa {
  margin-bottom: 0.55rem;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: var(--fb-card);
  overflow: hidden;
}

.fb-about__qa summary {
  padding: 0.75rem 0.95rem;
  cursor: pointer;
  font-weight: 800;
  color: var(--fb-ink);
  list-style: none;
  position: relative;
  padding-inline-start: 2rem;
  transition: background 0.2s var(--fb-ease);
}

.fb-about__qa summary::-webkit-details-marker { display: none; }

.fb-about__qa summary::before {
  content: "+";
  position: absolute;
  inset-inline-start: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fb-accent-soft);
  color: var(--fb-accent);
  font-weight: 900;
  line-height: 1;
}

.fb-about__qa[open] summary::before { content: "\2212"; }
.fb-about__qa summary:hover { background: var(--fb-accent-soft); }

.fb-about__qa p {
  margin: 0;
  padding: 0 0.95rem 0.85rem;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--fb-mute);
}

.fb-about__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 5rem;
}

.fb-about__facts,
.fb-about__links {
  padding: 1rem;
  border-radius: var(--fb-radius);
  border: 1px solid var(--fb-line);
  background: var(--fb-surface);
}

.fb-about__facts dl { margin: 0; }

.fb-about__fact {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--fb-line);
}

.fb-about__fact:last-child { border-bottom: 0; }

.fb-about__fact dt {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fb-mute);
  white-space: nowrap;
}

.fb-about__fact dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--fb-ink);
  text-align: end;
}

.fb-about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fb-about__chip {
  padding: 0.4rem 0.8rem;
  border-radius: var(--fb-radius-pill);
  border: 1px solid var(--fb-line-strong);
  background: var(--fb-card);
  color: var(--fb-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s var(--fb-ease);
}

.fb-about__chip:hover {
  border-color: var(--fb-accent);
  color: var(--fb-accent);
  transform: translateY(-1px);
}

.fb-about__kw {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--fb-line);
}

.fb-about__kw-item {
  padding: 0.25rem 0.6rem;
  border-radius: var(--fb-radius-sm);
  background: var(--fb-accent-soft);
  color: var(--fb-accent);
  font-size: 0.74rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .fb-about__grid { grid-template-columns: 1fr; }
  .fb-about__side { position: static; }
}

html[data-theme="dark"] .fb-about {
  background:
    radial-gradient(circle at 100% 0, rgba(20, 184, 166, 0.12), transparent 45%),
    var(--fb-card);
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .fb-about__qa,
html[data-theme="dark"] .fb-about__facts,
html[data-theme="dark"] .fb-about__links,
html[data-theme="dark"] .fb-about__outro,
html[data-theme="dark"] .fb-about__chip {
  background: rgba(226, 232, 240, 0.04);
  border-color: rgba(148, 163, 184, 0.16);
}

/* follow.css */
/* Follow button + personalized "For You" shelf */

.jl-follow {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 148, 136, 0.28);
  background: linear-gradient(180deg, #ffffff, #f0fdfa);
  color: #0f766e;
  font-family: "Cairo", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.jl-follow__ico {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  color: #f59e0b;
  background: radial-gradient(circle at 35% 30%, rgba(253, 224, 71, 0.55), rgba(245, 158, 11, 0.16) 70%);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.28) inset;
}

.jl-follow__ico svg {
  filter: drop-shadow(0 1px 1px rgba(180, 83, 9, 0.3));
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.jl-follow:hover .jl-follow__ico svg,
.jl-follow:focus-visible .jl-follow__ico svg {
  transform: rotate(-18deg) scale(1.12);
}

.jl-follow.is-on .jl-follow__ico {
  color: #fde047;
  background: radial-gradient(circle at 35% 30%, rgba(253, 224, 71, 0.9), rgba(245, 158, 11, 0.35) 72%);
  box-shadow:
    0 0 0 1px rgba(253, 224, 71, 0.5) inset,
    0 0 10px rgba(250, 204, 21, 0.55);
  animation: jl-star-pop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes jl-star-pop {
  0% { transform: scale(0.6) rotate(-40deg); }
  60% { transform: scale(1.25) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .jl-follow.is-on .jl-follow__ico {
    animation: none;
  }
  .jl-follow:hover .jl-follow__ico svg,
  .jl-follow:focus-visible .jl-follow__ico svg {
    transform: none;
  }
}

.jl-follow:hover,
.jl-follow:focus-visible {
  border-color: rgba(13, 148, 136, 0.5);
  background: #ecfdf5;
  outline: none;
}

.jl-follow.is-on {
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  border-color: transparent;
}

.jl-follow.is-on:hover,
.jl-follow.is-on:focus-visible {
  background: linear-gradient(135deg, #0f766e, #115e59);
}

.jl-follow--hero {
  margin-top: 0.65rem;
}

.fb-scoreboard__follow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.jl-follow--scoreboard {
  margin-top: 0;
  font-size: 0.74rem;
  padding: 0.4rem 0.7rem;
}

.fb-profile__body .jl-follow {
  margin-top: 0.7rem;
}

.lg-hero__links .jl-follow {
  border-radius: 999px;
}

/* —— For You shelf —— */
.fy {
  position: relative;
  margin: 0;
  padding: 1.1rem 0 1.25rem;
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(245, 158, 11, 0.14), transparent 50%),
    radial-gradient(80% 70% at 100% 100%, rgba(13, 148, 136, 0.12), transparent 48%),
    linear-gradient(180deg, #fff8eb 0%, #f3fbf9 55%, #eef7f5 100%);
  border-block: 1px solid rgba(13, 148, 136, 0.14);
  overflow: hidden;
}

.fy::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #14b8a6 45%, #0284c7);
}

.fy.is-empty,
.fy[hidden] {
  display: none !important;
}

.fy__shell {
  width: min(100%, var(--jl-max, 1200px));
  margin-inline: auto;
  padding-inline: var(--jl-gutter, 20px);
}

.fy__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.fy__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #b45309;
}

.fy__title {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  color: #0f172a;
  position: relative;
  padding-inline-start: 0.75rem;
}

.fy__title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f59e0b, #0d9488);
}

.fy__lead {
  margin: 0.35rem 0 0;
  max-width: 46ch;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.6;
  color: #64748b;
}

.fy__clear {
  appearance: none;
  flex: 0 0 auto;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.8);
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.fy__clear:hover,
.fy__clear:focus-visible {
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.35);
  outline: none;
}

.fy__body {
  display: grid;
  gap: 0.95rem;
}

.fy__loading,
.fy__hint {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(13, 148, 136, 0.25);
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

.fy__block-title {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 900;
  color: #0f172a;
}

.fy__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fy__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.4rem 0.7rem 0.4rem 0.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(13, 148, 136, 0.16);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.fy__chip img,
.fy__ph {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.95);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #0d9488;
}

.fy__chip span {
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
}

.fy__chip:hover,
.fy__chip:focus-visible {
  border-color: rgba(13, 148, 136, 0.4);
  background: #f0fdfa;
  outline: none;
}

.fy__matches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.fy__match {
  display: grid;
  gap: 0.4rem;
  padding: 0.75rem 0.8rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(13, 148, 136, 0.14);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.fy__match.is-live {
  border-color: rgba(225, 29, 72, 0.28);
  background: linear-gradient(180deg, #fff 0%, #fff5f7 100%);
}

.fy__match-league {
  font-size: 0.68rem;
  font-weight: 800;
  color: #0f766e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fy__match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.45rem;
  align-items: center;
}

.fy__side {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.fy__side--away {
  justify-content: flex-end;
  text-align: end;
}

.fy__side img,
.fy__side .fy__ph {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
}

.fy__side em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fy__mid {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  min-width: 3.4rem;
}

.fy__mid b {
  font-family: "Outfit", "Cairo", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
}

.fy__mid small {
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
}

.fy__match:hover,
.fy__match:focus-visible {
  border-color: rgba(13, 148, 136, 0.4);
  outline: none;
}

@media (max-width: 800px) {
  .fy__matches {
    grid-template-columns: 1fr;
  }

  .fy__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

html[data-theme="dark"] .fy {
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(245, 158, 11, 0.12), transparent 50%),
    radial-gradient(80% 70% at 100% 100%, rgba(13, 148, 136, 0.12), transparent 48%),
    linear-gradient(180deg, #14110c 0%, #0f1a22 100%);
  border-block-color: rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] .fy__title,
html[data-theme="dark"] .fy__block-title,
html[data-theme="dark"] .fy__side em,
html[data-theme="dark"] .fy__mid b {
  color: #e2e8f0;
}

html[data-theme="dark"] .fy__lead,
html[data-theme="dark"] .fy__mid small,
html[data-theme="dark"] .fy__loading,
html[data-theme="dark"] .fy__hint {
  color: #94a3b8;
}

html[data-theme="dark"] .fy__chip,
html[data-theme="dark"] .fy__match,
html[data-theme="dark"] .fy__clear,
html[data-theme="dark"] .fy__loading,
html[data-theme="dark"] .fy__hint {
  background: #0f1720;
  border-color: #1e293b;
  color: #e2e8f0;
}

html[data-theme="dark"] .jl-follow {
  background: #132430;
  border-color: rgba(94, 234, 212, 0.25);
  color: #5eead4;
}

html[data-theme="dark"] .jl-follow.is-on {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
}

