@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap");
:root {
  --bg-primary: #0D0D0D;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1E1E1E;
  --bg-glass: rgba(13, 13, 13, 0.88);
  --bg-glass-light: rgba(22, 22, 22, 0.65);
  --accent-gold: #BFFF00;
  --accent-gold-light: #D4FF1A;
  --accent-gold-dark: #A8E000;
  --accent-gold-glow: rgba(191, 255, 0, 0.14);
  --accent-blue: #3B82F6;
  --accent-blue-light: #60A5FA;
  --accent-blue-glow: rgba(59, 130, 246, 0.18);
  --accent-green: #22C55E;
  --accent-green-light: #4ADE80;
  --text-primary: #F5F5F5;
  --text-secondary: #888888;
  --text-muted: #555555;
  --text-inverse: #0D0D0D;
  --border-color: #222222;
  --border-light: #2E2E2E;
  --border-gold: color-mix(in srgb, var(--accent-gold) 12%, transparent);
  --border-blue: rgba(59, 130, 246, 0.15);
  --color-win: #22C55E;
  --color-draw: #BFFF00;
  --color-loss: #EF4444;
  --color-live: #EF4444;
  --color-upcoming: #BFFF00;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 0 40px color-mix(in srgb, var(--accent-gold) 12%, transparent);
  --shadow-gold-strong: 0 0 80px color-mix(in srgb, var(--accent-gold) 25%, transparent);
  --shadow-navbar: 0 4px 30px rgba(0, 0, 0, 0.7);
  --ticker-bg: #BFFF00;
  --ticker-text: #0D0D0D;
  --navbar-height: 72px;
  --ticker-height: 40px;
  --top-offset: 112px;
}

[data-theme=light] {
  --bg-primary: #F8F8F8;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F5F5;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-light: rgba(248, 248, 248, 0.75);
  --accent-gold: #6BBF00;
  --accent-gold-light: #88D400;
  --accent-gold-dark: #559900;
  --accent-gold-glow: rgba(107, 191, 0, 0.12);
  --accent-blue: #2563EB;
  --accent-blue-light: #3B82F6;
  --accent-blue-glow: rgba(37, 99, 235, 0.12);
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #888888;
  --text-inverse: #FFFFFF;
  --border-color: #E0E0E0;
  --border-light: #F0F0F0;
  --border-gold: color-mix(in srgb, var(--accent-gold) 15%, transparent);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.14);
  --shadow-gold: 0 0 40px color-mix(in srgb, var(--accent-gold) 10%, transparent);
  --shadow-gold-strong: 0 0 80px color-mix(in srgb, var(--accent-gold) 20%, transparent);
  --shadow-navbar: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

html {
  direction: rtl;
  lang: ar;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

a {
  color: inherit;
  text-decoration: none !important;
  transition: color 150ms ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

#app, main, header, footer, section, nav {
  position: relative;
  z-index: 1;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 9999px;
  box-shadow: 0 0 6px var(--accent-gold-glow);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-light);
  box-shadow: 0 0 12px var(--accent-gold-glow);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) transparent;
}

::-moz-selection {
  background: var(--accent-gold);
  color: var(--text-inverse);
}

::selection {
  background: var(--accent-gold);
  color: var(--text-inverse);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 767px) {
  .container {
    padding-inline: 16px;
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

h1, .h1 {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

h3, .h3 {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 1023px) {
  h1, .h1 {
    font-size: clamp(30px, 5vw, 64px);
  }
  h2, .h2 {
    font-size: clamp(20px, 3.4vw, 40px);
  }
  h3, .h3 {
    font-size: clamp(16px, 2.2vw, 24px);
  }
}
h4, .h4 {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

h5, .h5 {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-sm {
  font-size: 14px;
}

.text-xs {
  font-size: 12px;
}

.text-lg {
  font-size: 18px;
}

.text-xl {
  font-size: 20px;
}

.text-primary {
  color: var(--text-primary) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-gold {
  color: var(--accent-gold) !important;
}

.text-blue {
  color: var(--accent-blue) !important;
}

.text-green {
  color: var(--accent-green) !important;
}

.text-danger {
  color: var(--color-loss) !important;
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 1023px) {
  .section-title {
    font-size: clamp(20px, 3.4vw, 36px);
  }
}
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 9999px;
}
.section-title {
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .section-title {
    margin-bottom: 28px;
  }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
@media (max-width: 767px) {
  .section-header {
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
}

.navbar {
  position: fixed;
  top: var(--ticker-height);
  inset-inline: 0;
  z-index: 300;
  height: var(--navbar-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
  background: var(--bg-glass);
  box-shadow: var(--shadow-navbar);
  border-bottom-color: var(--border-gold);
}
@media (min-width: 1366px) {
  .navbar .container {
    max-width: 1400px;
  }
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  height: 100%;
  min-width: 0;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
  min-width: 0;
}
.navbar__logo-copy {
  min-width: 0;
  overflow: hidden;
}
.navbar__logo-crest {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.navbar__logo-crest--img {
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 6px;
}
.navbar__logo-crest--sm {
  width: 36px;
  height: 36px;
}
.navbar__logo-text {
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.navbar__logo-text--compact {
  display: none;
}
.navbar__logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  line-height: 1;
}
@media (max-width: 1365px) {
  .navbar__logo {
    flex-shrink: 1;
    gap: 8px;
  }
  .navbar__logo-crest {
    width: 36px;
    height: 36px;
  }
  .navbar__logo-text {
    font-size: 15px;
  }
  .navbar__logo-text--full {
    display: none;
  }
  .navbar__logo-text--compact {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
@media (max-width: 1365px) {
  .navbar__links {
    display: none;
  }
}
.navbar__link {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 12px;
  transition: color 150ms ease, background 150ms ease;
  white-space: nowrap;
}
.navbar__link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  inset-inline: 14px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 9999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar__link:hover, .navbar__link.active {
  color: var(--text-primary);
  background: var(--bg-glass-light);
}
.navbar__link:hover::after, .navbar__link.active::after {
  transform: scaleX(1);
}
.navbar__link.active {
  color: var(--accent-gold);
}
.navbar__link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-inline-end: 10px;
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-secondary);
}
.navbar__link--dropdown i {
  font-size: 10px;
  opacity: 0.75;
}
.navbar__link--dropdown:hover, .navbar__link--dropdown[aria-expanded=true] {
  color: var(--text-primary);
  background: var(--bg-glass-light);
}
.navbar__dropdown {
  position: relative;
}
@media (max-width: 1365px) {
  .navbar__dropdown {
    display: none;
  }
}
.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  min-width: 180px;
  padding: 6px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  z-index: 302;
}
.navbar__dropdown:hover .navbar__dropdown-menu, .navbar__dropdown:focus-within .navbar__dropdown-menu, .navbar__dropdown.is-open .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar__dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none !important;
  transition: background 150ms ease;
}
.navbar__dropdown-item:hover {
  background: var(--bg-glass-light);
}
.navbar__dropdown-item .competition-pill {
  margin-inline-end: 6px;
  vertical-align: middle;
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.navbar__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  transition: all 150ms ease;
}
.navbar__icon-btn i {
  font-size: 16px;
}
.navbar__icon-btn:hover {
  color: var(--text-primary);
  background: var(--bg-glass-light);
  border-color: var(--border-color);
}
.navbar__theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.navbar__theme-toggle:hover {
  border-color: var(--accent-gold);
}
.navbar__theme-toggle__track {
  position: absolute;
  inset: 3px;
  border-radius: 9999px;
}
.navbar__theme-toggle__thumb {
  position: absolute;
  top: 3px;
  inset-inline-end: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold-glow);
  transition: inset-inline-end 300ms cubic-bezier(0.4, 0, 0.2, 1), background 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-inverse);
}
.navbar__theme-toggle__thumb i {
  transition: opacity 150ms ease;
}
.navbar__theme-toggle.is-light .navbar__theme-toggle__thumb {
  inset-inline-end: calc(100% - 23px);
}
.navbar__user {
  position: relative;
}
.navbar__user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 6px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: var(--bg-glass-light);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.navbar__user-btn:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}
.navbar__user-btn[aria-expanded=true] {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}
.navbar__user-btn[aria-expanded=true] .navbar__user-caret {
  transform: rotate(180deg);
}
.navbar__user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #0D0D0D;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--accent-gold-glow);
  overflow: hidden;
  position: relative;
}
.navbar__user-avatar__img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.navbar__user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
@media (max-width: 1365px) {
  .navbar__user-name {
    display: none;
  }
}
.navbar__user-caret {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 150ms ease;
  flex-shrink: 0;
}
.navbar__user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  z-index: 100;
}
.navbar__user-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar__user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-secondary);
}
.navbar__user-dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #0D0D0D;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-gold-glow);
  overflow: hidden;
  position: relative;
}
.navbar__user-dropdown-avatar__img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.navbar__user-dropdown-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}
.navbar__user-dropdown-role {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.navbar__user-dropdown-divider {
  height: 1px;
  background: var(--border-color);
}
.navbar__user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none !important;
  transition: background 150ms ease, color 150ms ease;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  text-align: inherit;
}
.navbar__user-dropdown-item i {
  font-size: 13px;
  color: var(--text-muted);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  transition: color 150ms ease;
}
.navbar__user-dropdown-item:hover {
  background: var(--bg-glass-light);
  color: var(--text-primary);
}
.navbar__user-dropdown-item:hover i {
  color: var(--accent-gold);
}
.navbar__user-dropdown-item--danger {
  color: #EF4444;
}
.navbar__user-dropdown-item--danger i {
  color: #EF4444;
}
.navbar__user-dropdown-item--danger:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
}
.navbar__user-dropdown-item--danger:hover i {
  color: #EF4444;
}
.navbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  display: none;
  background: transparent;
  border: 1px solid transparent;
  transition: border-color 150ms ease;
}
@media (max-width: 1365px) {
  .navbar__hamburger {
    display: flex;
  }
}
.navbar__hamburger:hover {
  border-color: var(--border-color);
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 9999px;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms cubic-bezier(0.4, 0, 0.2, 1), width 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.navbar__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(320px, 85vw);
  z-index: 310;
  background: var(--bg-secondary);
  border-inline-start: 1px solid var(--border-color);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(0);
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
[data-theme=light] .nav-drawer {
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}
.nav-drawer.is-closed {
  transform: translateX(100%);
}
[dir=rtl] .nav-drawer.is-closed {
  transform: translateX(-100%);
}
.nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.nav-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--text-secondary);
  transition: all 150ms ease;
}
.nav-drawer__close:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.nav-drawer__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 12px;
  transition: all 150ms ease;
}
.nav-drawer__link i {
  width: 20px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  transition: color 150ms ease;
}
.nav-drawer__link:hover, .nav-drawer__link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav-drawer__link:hover i, .nav-drawer__link.active i {
  color: var(--accent-gold);
}
.nav-drawer__link.active {
  color: var(--accent-gold);
  background: var(--accent-gold-glow);
}
.nav-drawer__footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.nav-drawer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 16px;
  transition: all 150ms ease;
}
.nav-drawer__social:hover {
  background: var(--accent-gold);
  color: var(--text-inverse);
  border-color: var(--accent-gold);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 305;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}
.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.competition-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
}
.competition-pill--30 {
  background: rgba(191, 255, 0, 0.14);
  color: #bfff00;
  border: 1px solid rgba(191, 255, 0, 0.35);
}
.competition-pill--40 {
  /* Solid +40 chip (aligns with nav «الفرق» dropdown and standings tab) */
  background: linear-gradient(145deg, #5ac8fa 0%, #0ea5e9 52%, #0284c7 100%);
  color: #fff;
  border: 1px solid color-mix(in srgb, #fff 22%, #0284c7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}
.competition-pill--sm {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
}

.match-card__top .competition-pill {
  margin-inline-start: 8px;
}

.md-hero__comp-pill {
  margin-inline-end: 8px;
}

.ticker {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--ticker-height);
  background: var(--accent-gold);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 16px;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-inline-end: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.ticker__label i {
  font-size: 14px;
  animation: pulse 1.5s ease-in-out infinite;
}
.ticker__track-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to left, transparent 0%, black 48px, black 100%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 48px, black 100%);
}
.ticker__track {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 0;
  width: -moz-max-content;
  width: max-content;
  will-change: transform;
  --ticker-from: 0px;
  --ticker-to: 0px;
  animation: tickerScrollCl 86s linear infinite;
}
.ticker__track:hover {
  animation-play-state: paused !important;
}
.ticker__item {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-inverse);
  white-space: nowrap;
  border-inline-end: 1px solid rgba(0, 0, 0, 0.1);
}
.ticker__item .competition-pill {
  flex-shrink: 0;
}
.ticker__item .competition-pill--30 {
  background: rgba(0, 0, 0, 0.22);
  color: var(--ticker-text);
  border-color: rgba(0, 0, 0, 0.3);
}
.ticker__item:last-child {
  border-inline-end: none;
}
.ticker__separator {
  color: rgba(0, 0, 0, 0.3);
  font-size: 18px;
  line-height: 1;
}
.ticker__score {
  font-weight: 900;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.12);
  padding: 2px 8px;
  border-radius: 9999px;
}
.ticker__badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.2);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  min-inline-size: 4.75rem;
}
.ticker__badge--live {
  background: var(--color-live);
  color: #fff;
  animation: pulse 1s ease-in-out infinite;
}
.ticker__badge--upcoming {
  background: rgba(0, 0, 0, 0.15);
}
.ticker__badge--result {
  background: rgba(0, 0, 0, 0.18);
}
.ticker__comp-pill {
  min-inline-size: 40px;
  box-sizing: border-box;
}

@keyframes tickerScrollCl {
  from {
    transform: translate3d(var(--ticker-from, 0px), 0, 0);
  }
  to {
    transform: translate3d(var(--ticker-to, 0px), 0, 0);
  }
}
@keyframes tickerScrollStaticFallback {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 36px;
  padding-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 1023px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo-crest {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.footer__logo-crest--img {
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}
.footer__logo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer__logo-name {
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
@media (max-width: 1365px) {
  .footer__logo-name {
    font-size: 15px;
  }
}
.footer__logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  line-height: 1;
}
.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 16px;
  transition: all 150ms ease;
}
.footer__social-link:hover {
  background: var(--accent-gold);
  color: var(--text-inverse);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-gold-glow);
}
.footer__social-link--fb:hover {
  background: #1877F2;
  border-color: #1877F2;
}
.footer__social-link--ig:hover {
  background: #E1306C;
  border-color: #E1306C;
}
.footer__social-link--yt:hover {
  background: #FF0000;
  border-color: #FF0000;
}
.footer__col-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__col-title::before {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--accent-gold);
  border-radius: 9999px;
  flex-shrink: 0;
}
.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__col-link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-light);
  transition: background 150ms ease;
  flex-shrink: 0;
}
.footer__col-link:hover {
  color: var(--accent-gold);
}
.footer__col-link:hover::before {
  background: var(--accent-gold);
}
.footer__newsletter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__newsletter-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__newsletter-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.footer__newsletter-input::-moz-placeholder {
  color: var(--text-muted);
}
.footer__newsletter-input::placeholder {
  color: var(--text-muted);
}
.footer__newsletter-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copyright {
  font-size: 13px;
  color: var(--text-muted);
}
.footer__copyright span {
  color: var(--accent-gold);
  font-weight: 700;
}
.footer__bottom-links {
  display: flex;
  gap: 20px;
}
.footer__bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 150ms ease;
}
.footer__bottom-links a:hover {
  color: var(--accent-gold);
}

.footer__newsletter-status {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer__newsletter-status:not([hidden]) {
  display: block;
}

.footer__newsletter-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::after {
  transform: translateX(150%);
}
.btn--primary {
  background: var(--accent-gold);
  color: var(--text-inverse);
  border-color: var(--accent-gold);
}
.btn--primary:hover, .btn--primary:focus, .btn--primary:focus-visible {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  color: var(--text-inverse) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-gold-glow);
}
.btn--primary:active {
  color: var(--text-inverse) !important;
  transform: translateY(0);
}
.btn--secondary {
  background: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}
.btn--secondary:hover, .btn--secondary:focus, .btn--secondary:focus-visible, .btn--secondary:active {
  background: var(--accent-gold-glow);
  color: var(--accent-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-gold-glow);
}
.btn--ghost {
  background: var(--bg-glass-light);
  color: var(--text-primary);
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover, .btn--ghost:focus, .btn--ghost:focus-visible, .btn--ghost:active {
  border-color: var(--accent-gold);
  color: var(--accent-gold) !important;
  transform: translateY(-2px);
}
.btn--blue {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}
.btn--blue:hover, .btn--blue:focus, .btn--blue:focus-visible, .btn--blue:active {
  background: var(--accent-blue-light);
  border-color: var(--accent-blue-light);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-blue-glow);
}
.btn--sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 8px;
}
.btn--lg {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: 20px;
}
.btn--icon {
  padding: 10px;
  border-radius: 12px;
  aspect-ratio: 1;
}
.btn--full {
  width: 100%;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  transition: all 150ms ease;
}
.view-all i {
  transition: transform 150ms ease;
}
.view-all:hover {
  background: var(--accent-gold-glow);
}
.view-all:hover i {
  transform: translateX(-4px);
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.match-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.match-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-gold);
}
.match-card:hover::before {
  transform: scaleX(1);
}
.match-card:hover .team-badge {
  transform: scale(1.06);
}
.match-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
.match-card__comp {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.match-card__comp-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.match-card__comp-round {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}
.match-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.match-card__status--live {
  background: #EF4444;
  color: #fff;
}
.match-card__status--live .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 0.9s ease-in-out infinite;
  flex-shrink: 0;
}
.match-card__status--finished {
  background: var(--bg-card-hover);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  font-size: 10px;
  padding: 5px 10px;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: nowrap;
}
.match-card__status--upcoming {
  background: rgba(191, 255, 0, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(191, 255, 0, 0.2);
}
.match-card__status--postponed {
  background: rgba(239, 68, 68, 0.08);
  color: var(--color-loss);
  border: 1px solid rgba(239, 68, 68, 0.15);
}
.match-card__main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
}
.match-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-width: 0;
}
.match-card__team-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}
.match-card__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 80px;
}
.match-card__score {
  font-size: 30px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.match-card__live-min {
  font-size: 11px;
  font-weight: 700;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.12);
  padding: 2px 8px;
  border-radius: 9999px;
}
.match-card__finished-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: center;
  line-height: 1.2;
  max-width: 140px;
}
.match-card__kickoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.match-card__kickoff strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  text-shadow: 0 0 20px var(--accent-gold-glow);
}
.match-card__kickoff span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.match-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
.match-card__foot-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
}
.match-card__foot-item i {
  font-size: 10px;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.match-card--is-live {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.1), 0 4px 24px rgba(239, 68, 68, 0.08);
}
.match-card--is-live::before {
  background: #EF4444;
}
.match-card--is-live:hover {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 6px 32px rgba(239, 68, 68, 0.18);
}

.team-badge {
  --badge-color: var(--accent-blue);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--badge-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.team-badge--sm {
  width: 36px;
  height: 36px;
  font-size: 12px;
}
.team-badge--md {
  width: 48px;
  height: 48px;
  font-size: 14px;
}
.team-badge--lg {
  width: 72px;
  height: 72px;
  font-size: 22px;
}
.team-badge--xl {
  width: 96px;
  height: 96px;
  font-size: 28px;
}
.team-badge--has-logo {
  padding: 0;
  overflow: hidden;
  line-height: 0;
}
.team-badge--fallback .team-crest__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.team-badge--fallback i {
  color: #fff;
  opacity: 0.92;
  font-size: 0.7em;
}
.match-card:hover .team-badge {
  transform: scale(1.05);
}

.team-crest__img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-gold);
}
.news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.news-card--featured {
  flex-direction: row;
}
@media (max-width: 1023px) {
  .news-card--featured {
    flex-direction: column;
  }
}
.news-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.news-card--featured .news-card__image {
  width: 42%;
  aspect-ratio: unset;
}
@media (max-width: 1023px) {
  .news-card--featured .news-card__image {
    width: 100%;
    aspect-ratio: 16/9;
  }
}
.news-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-hover);
  color: var(--text-muted);
  font-size: 48px;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card--featured .news-card__image-placeholder {
  font-size: 72px;
}
.news-card:hover .news-card__image-placeholder {
  transform: scale(1.05);
}
.news-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.news-card--featured .news-card__content {
  padding: 28px 24px;
  justify-content: center;
}
.news-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.news-card__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}
.news-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 150ms ease;
}
.news-card--featured .news-card__title {
  font-size: clamp(20px, 2.2vw, 28px);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 1023px) {
  .news-card--featured .news-card__title {
    font-size: clamp(17px, 2vw, 28px);
  }
}
.news-card:hover .news-card__title {
  color: var(--accent-gold);
}
.news-card__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
  display: none;
}
.news-card--featured .news-card__excerpt {
  display: -webkit-box;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}
.news-card__date {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-card__date i {
  font-size: 11px;
  color: var(--accent-gold);
}
.news-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  color: var(--text-secondary);
  font-size: 12px;
  transition: all 150ms ease;
}
.news-card:hover .news-card__arrow {
  background: var(--accent-gold);
  color: var(--text-inverse);
  transform: translateX(-4px);
}

.standing-row {
  display: grid;
  grid-template-columns: 32px 1fr 36px 36px 36px 36px 36px 48px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 150ms ease;
}
@media (max-width: 767px) {
  .standing-row {
    grid-template-columns: 28px 1fr 36px 36px 48px;
  }
  .standing-row .hide-mobile {
    display: none;
  }
}
.standing-row:hover {
  background: var(--bg-card-hover);
}
.standing-row--header {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 4px;
}
.standing-row--header:hover {
  background: transparent;
}
.standing-row--zone-top {
  border-inline-start: 3px solid var(--accent-green);
}
.standing-row--zone-mid {
  border-inline-start: 3px solid transparent;
}
.standing-row--zone-danger {
  border-inline-start: 3px solid var(--color-loss);
}
.standing-row__pos {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
}
.standing-row__pos--gold {
  color: var(--accent-gold);
}
.standing-row__pos--silver {
  color: #94A3B8;
}
.standing-row__pos--bronze {
  color: #CD7C3A;
}
.standing-row__team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.standing-row__team-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.standing-row__stat {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}
.standing-row__points {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-primary);
  text-align: center;
}
.standing-row__form {
  display: flex;
  gap: 3px;
}
.standing-row__form-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.standing-row__form-dot--w {
  background: var(--color-win);
}
.standing-row__form-dot--d {
  background: var(--color-draw);
}
.standing-row__form-dot--l {
  background: var(--color-loss);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 15, 28, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme=light] .search-overlay {
  background: rgba(240, 244, 248, 0.97);
}
.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.search-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.search-overlay__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.search-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 18px;
  transition: all 150ms ease;
}
.search-overlay__close:hover {
  color: var(--text-primary);
  border-color: var(--accent-gold);
}
.search-overlay__input-wrapper {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  width: 100%;
}
.search-overlay__icon {
  position: absolute;
  inset-inline-start: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-overlay__input {
  width: 100%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 32px;
  padding: 18px 20px;
  padding-inline-start: 56px;
  font-size: 20px;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  color: var(--text-primary);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.search-overlay__input::-moz-placeholder {
  color: var(--text-muted);
}
.search-overlay__input::placeholder {
  color: var(--text-muted);
}
.search-overlay__input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px var(--accent-gold-glow);
}
@media (max-width: 1023px) {
  .search-overlay__input {
    font-size: 17px;
  }
}
.search-overlay__shortcut {
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}
.search-overlay__shortcut kbd {
  font-size: 12px;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-muted);
}
.search-overlay__results {
  max-width: 720px;
  margin-inline: auto;
  width: 100%;
  flex: 1;
  overflow-y: auto;
  margin-top: 24px;
}
.search-overlay__group {
  margin-bottom: 24px;
}
.search-overlay__group-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  padding-inline-start: 8px;
}
.search-overlay__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
}
.search-overlay__item:hover {
  background: var(--bg-card);
}
.search-overlay__item--link {
  text-decoration: none !important;
  color: inherit;
}
.search-overlay__item--link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0) 62%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.search-overlay__item--link > * {
  position: relative;
  z-index: 1;
}
.search-overlay__item--link:hover::before {
  transform: translateX(100%);
}
.search-overlay__item--link:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.search-overlay__item--link.search-overlay__item--team {
  border-color: color-mix(in srgb, var(--accent-gold) 32%, var(--border-color));
  background: color-mix(in srgb, var(--bg-primary) 100%, transparent);
}
.search-overlay__item--link.search-overlay__item--team:hover {
  background: color-mix(in srgb, var(--accent-gold) 9%, var(--bg-card));
  box-shadow: 0 4px 22px var(--accent-gold-glow);
  border-color: color-mix(in srgb, var(--accent-gold) 50%, var(--border-color));
}
.search-overlay__item--link.search-overlay__item--team .search-overlay__item-icon {
  background: linear-gradient(145deg, #1a1a0a 0%, #2d2a12 100%);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 45%, rgba(255, 255, 255, 0.1));
  color: var(--accent-gold-light);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--accent-gold) 20%, transparent) inset;
}
.search-overlay__item--link.search-overlay__item--player {
  border-color: color-mix(in srgb, #16a34a 30%, var(--border-color));
}
.search-overlay__item--link.search-overlay__item--player:hover {
  background: color-mix(in srgb, #16a34a 7%, var(--bg-card));
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.14);
  border-color: color-mix(in srgb, #22c55e 35%, var(--border-color));
}
.search-overlay__item--link.search-overlay__item--player .search-overlay__item-icon {
  background: linear-gradient(145deg, #14532d 0%, #166534 100%);
  border: 1px solid color-mix(in srgb, #4ade80 35%, rgba(255, 255, 255, 0.12));
  color: #ecfdf5;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.22);
}
.search-overlay__item--link.search-overlay__item--news {
  border-color: color-mix(in srgb, #0ea5e9 30%, var(--border-color));
}
.search-overlay__item--link.search-overlay__item--news:hover {
  background: color-mix(in srgb, #0ea5e9 8%, var(--bg-card));
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.12);
  border-color: color-mix(in srgb, #0ea5e9 40%, var(--border-color));
}
.search-overlay__item--link.search-overlay__item--news .search-overlay__item-icon {
  background: linear-gradient(145deg, #0c4a6e 0%, #0369a1 100%);
  border: 1px solid color-mix(in srgb, #7dd3fc 35%, rgba(255, 255, 255, 0.15));
  color: #e0f2fe;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.25);
}
.search-overlay__item--link.search-overlay__item--gallery-image {
  border-color: color-mix(in srgb, #15803d 32%, var(--border-color));
}
.search-overlay__item--link.search-overlay__item--gallery-image:hover {
  background: color-mix(in srgb, #0d6b4d 7%, var(--bg-card));
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.18);
  border-color: color-mix(in srgb, #22c55e 28%, var(--border-color));
}
.search-overlay__item--link.search-overlay__item--gallery-image .search-overlay__item-icon {
  background: linear-gradient(145deg, #0a3d2e 0%, #0d6b4d 50%, #11806a 100%);
  border: 1px solid color-mix(in srgb, #4ade80 40%, #fff 15%);
  color: #ecfdf5;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2) inset, 0 3px 12px rgba(5, 150, 105, 0.3);
}
.search-overlay__item--link.search-overlay__item--gallery-video {
  border-color: color-mix(in srgb, #d97706 30%, var(--border-color));
}
.search-overlay__item--link.search-overlay__item--gallery-video:hover {
  background: color-mix(in srgb, #b45309 6%, var(--bg-card));
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.2);
  border-color: color-mix(in srgb, #fbbf24 35%, var(--border-color));
}
.search-overlay__item--link.search-overlay__item--gallery-video .search-overlay__item-icon {
  background: linear-gradient(145deg, #7c2d12 0%, #b45309 45%, #d97706 100%);
  border: 1px solid color-mix(in srgb, #fbbf24 50%, #fff 10%);
  color: #fff7ed;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2) inset, 0 3px 12px rgba(234, 88, 12, 0.28);
}
.search-overlay__player-thumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: filter 0.2s ease;
}
.search-overlay__item--link:hover .search-overlay__player-thumb {
  filter: brightness(1.06);
}
.search-overlay__player-photo-wrap {
  width: 40px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #14532d 0%, #166534 100%);
  border: 1px solid color-mix(in srgb, #4ade80 35%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.22);
}
.search-overlay__player-photo {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  display: block;
}
.search-overlay__player-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, #4ade80 55%, #ecfdf5);
  font-size: 18px;
  background: linear-gradient(180deg, #1e1e1e 0%, #111 100%);
}
.search-overlay__player-num {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(14, 14, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-inline-start: 2px solid var(--accent-gold);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #ecfdf5;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}
.search-overlay__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--bg-card-hover);
  color: var(--text-muted);
  font-size: 15px;
  flex-shrink: 0;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.search-overlay__item--link:hover .search-overlay__item-icon {
  filter: brightness(1.05);
}
.search-overlay__item-icon .team-badge {
  width: 100%;
  height: 100%;
}
.search-overlay__item-text {
  flex: 1;
  min-width: 0;
}
.search-overlay__item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-overlay__item-sub {
  font-size: 12px;
  color: var(--text-muted);
}
.search-overlay__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 60px 0;
  color: var(--text-muted);
}
.search-overlay__empty i {
  font-size: 48px;
  opacity: 0.3;
}
.search-overlay__empty p {
  font-size: 16px;
}
.search-overlay__hint {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.search-overlay__hint span {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-overlay__hint span kbd {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

html.site-loader--active {
  overflow: hidden;
}

html.site-loader--skip .site-loader {
  display: none !important;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: grid;
  place-items: center;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  isolation: isolate;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear, filter 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}
.site-loader__grid {
  position: absolute;
  inset: -20%;
  background-image: linear-gradient(color-mix(in srgb, var(--accent-gold) 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--accent-gold) 12%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 55% 45% at 50% 45%, black 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 55% 45% at 50% 45%, black 0%, transparent 72%);
  opacity: 0.35;
  animation: siteLoaderGridPulse 4.5s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
.site-loader__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, transparent 42%, color-mix(in srgb, var(--accent-gold) 22%, transparent) 50%, transparent 58%, transparent 100%);
  background-size: 200% 100%;
  animation: siteLoaderSweep 3.2s ease-in-out infinite;
  opacity: 0.45;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
.site-loader__glow {
  position: absolute;
  width: min(140vw, 900px);
  height: min(140vw, 900px);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-gold) 28%, transparent) 0%, color-mix(in srgb, var(--accent-blue) 8%, transparent) 38%, transparent 62%);
  filter: blur(60px);
  opacity: 0.55;
  animation: siteLoaderGlow 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.site-loader__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem;
  animation: siteLoaderStageIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.site-loader__crest {
  width: clamp(72px, 14vw, 112px);
  height: auto;
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--accent-gold) 45%, transparent));
  animation: siteLoaderCrestFloat 3.2s ease-in-out infinite;
}
.site-loader__crest path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: siteLoaderCrestDraw 1.6s cubic-bezier(0.45, 0, 0.2, 1) 0.35s forwards;
}
.site-loader__crest path:nth-of-type(2) {
  animation-delay: 0.55s;
}
.site-loader__crest--img {
  height: clamp(72px, 14vw, 112px);
  width: auto;
  max-width: min(160px, 32vw);
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0;
  animation: siteLoaderCrestImgReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards, siteLoaderCrestFloat 3.2s ease-in-out 1.2s infinite;
}
.site-loader__brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow: hidden;
}
.site-loader__title {
  font-size: clamp(2.2rem, 8vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-bottom: 10px;
  color: var(--accent-gold);
}
@media (max-width: 1023px) {
  .site-loader__title {
    font-size: clamp(1.85rem, 6.5vw, 3.75rem);
  }
}
.site-loader__title {
  text-shadow: 0 0 40px color-mix(in srgb, var(--accent-gold) 35%, transparent), 0 0 80px color-mix(in srgb, var(--accent-gold) 18%, transparent);
  clip-path: inset(0 100% 0 0);
  animation: siteLoaderTitleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}
.site-loader__tag {
  font-size: clamp(0.7rem, 2.2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(10px);
  animation: siteLoaderTagIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}
.site-loader__progress {
  margin-top: 0.5rem;
  width: min(220px, 70vw);
  height: 3px;
  border-radius: 9999px;
  background: var(--border-color);
  overflow: hidden;
  opacity: 0;
  animation: siteLoaderTagIn 0.6s ease 0.9s forwards;
}
.site-loader__progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 30%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-light));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent-gold) 55%, transparent);
  animation: siteLoaderBar 1.35s ease-in-out infinite;
  transform-origin: 0 50%;
}
.site-loader__hint {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: siteLoaderTagIn 0.6s ease 1.2s forwards;
}
.site-loader.is-exiting {
  opacity: 0;
  pointer-events: none;
  filter: blur(12px) brightness(1.08);
  transform: scale(1.03);
  transition-duration: 0.82s;
}
.site-loader--reduced .site-loader__grid, .site-loader--reduced .site-loader__sweep, .site-loader--reduced .site-loader__glow, .site-loader--reduced .site-loader__crest, .site-loader--reduced .site-loader__progress::after {
  animation: none !important;
}
.site-loader--reduced .site-loader__crest path {
  stroke-dashoffset: 0 !important;
  animation: none !important;
}
.site-loader--reduced .site-loader__crest--img {
  opacity: 1 !important;
}
.site-loader--reduced .site-loader__title {
  clip-path: inset(0 0 0 0) !important;
  animation: none !important;
}
.site-loader--reduced .site-loader__tag, .site-loader--reduced .site-loader__progress, .site-loader--reduced .site-loader__hint {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.site-loader--reduced .site-loader__stage {
  animation: none !important;
}
.site-loader--reduced.is-exiting {
  filter: opacity(0);
  transform: none;
  transition-duration: 0.15s;
}

@keyframes siteLoaderGridPulse {
  0%, 100% {
    opacity: 0.28;
    transform: scale(1);
  }
  50% {
    opacity: 0.42;
    transform: scale(1.02);
  }
}
@keyframes siteLoaderSweep {
  0% {
    background-position: 130% 0;
  }
  100% {
    background-position: -130% 0;
  }
}
@keyframes siteLoaderGlow {
  0%, 100% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(1.06);
  }
}
@keyframes siteLoaderStageIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes siteLoaderCrestDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes siteLoaderCrestFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes siteLoaderCrestImgReveal {
  to {
    opacity: 1;
  }
}
@keyframes siteLoaderTitleReveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes siteLoaderTagIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes siteLoaderBar {
  0% {
    transform: translateX(-100%) scaleX(0.5);
  }
  50% {
    transform: translateX(40%) scaleX(1);
  }
  100% {
    transform: translateX(220%) scaleX(0.6);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader:not(.site-loader--reduced) .site-loader__grid,
  .site-loader:not(.site-loader--reduced) .site-loader__sweep,
  .site-loader:not(.site-loader--reduced) .site-loader__glow,
  .site-loader:not(.site-loader--reduced) .site-loader__crest,
  .site-loader:not(.site-loader--reduced) .site-loader__progress::after {
    animation: none !important;
  }
  .site-loader:not(.site-loader--reduced) .site-loader__crest path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .site-loader:not(.site-loader--reduced) .site-loader__title {
    clip-path: inset(0 0 0 0) !important;
    animation: none !important;
  }
  .site-loader:not(.site-loader--reduced) .site-loader__tag,
  .site-loader:not(.site-loader--reduced) .site-loader__progress,
  .site-loader:not(.site-loader--reduced) .site-loader__hint {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .site-loader:not(.site-loader--reduced) .site-loader__stage {
    animation: none !important;
  }
}
.cl-ad-holder {
  width: 100%;
  padding: 12px min(24px, 4vw);
  box-sizing: border-box;
}
.cl-ad-holder:not(.cl-ad-holder--bleed) {
  max-width: 1200px;
  margin-inline: auto;
}
.cl-ad-holder.cl-ad-holder--bleed .cl-ad--leaderboard {
  max-width: 100%;
}
.cl-ad-holder.cl-ad-holder--narrow {
  max-width: 860px;
}
.cl-ad-holder.cl-ad-holder--flush-top {
  padding-top: 0;
}
.cl-ad-holder.cl-ad-holder--flush-bottom {
  padding-bottom: 0;
}

.cl-ad {
  contain: layout style;
}

.cl-ad__inject {
  display: none;
}

.cl-ad__frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 90px;
  padding: 1rem min(24px, 4vw);
  text-align: center;
  border: 2px dashed color-mix(in srgb, var(--text-muted, #888) 55%, transparent);
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent-gold, #daa520) 12%, transparent) 0%, transparent 60%), color-mix(in srgb, var(--bg-secondary, #1a1a1a) 92%, transparent);
  color: var(--text-muted, #9ca3af);
  isolation: isolate;
}

.cl-ad--leaderboard .cl-ad__frame {
  min-height: min(108px, 22vw);
}
@media (max-width: 576px) {
  .cl-ad--leaderboard .cl-ad__frame {
    min-height: 70px;
  }
}

.cl-ad__cap {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.cl-ad__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent-gold, #daa520) 95%, white);
}

.cl-ad__badge i {
  font-size: 0.85rem;
  opacity: 0.95;
}

.cl-ad__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #f3f4f6);
}

.cl-ad__meta {
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 28rem;
  opacity: 0.92;
}

.cl-ad--rectangle .cl-ad__frame {
  min-height: 250px;
  min-width: 240px;
}
@media (max-width: 576px) {
  .cl-ad--rectangle .cl-ad__frame {
    min-height: 280px;
  }
}

.na__layout {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
}

.na__layout-main {
  min-width: 0;
}

.na__mid-ad {
  margin: clamp(16px, 3vw, 28px) 0;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--bg-primary);
  padding-top: var(--top-offset);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-primary);
  pointer-events: none;
}
.hero__bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.hero__bg-video--mobile {
  display: none;
}
@media (max-width: 1024px) {
  .hero__bg-video--desktop {
    display: none;
  }
  .hero__bg-video--mobile {
    display: block;
  }
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(ellipse 85% 65% at 50% 30%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 62%, rgba(0, 0, 0, 0.72) 100%), linear-gradient(180deg, rgba(2, 4, 3, 0.58) 0%, rgba(2, 4, 3, 0.72) 52%, rgba(2, 4, 3, 0.84) 100%);
  background-color: rgba(0, 0, 0, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg .hero__bg-video {
    display: none;
  }
  .hero__bg {
    background: var(--bg-primary) url("../../img/hero-bg.png") center/cover no-repeat;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1024px) {
  .hero__bg {
    background-image: url("../../img/hero-bg-ipad-mobile.png");
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(191, 255, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(191, 255, 0, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at center, transparent 38%, rgba(13, 13, 13, 0.52) 100%);
  pointer-events: none;
  z-index: 3;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero__orb--lime {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.1) 0%, transparent 70%);
  top: -10%;
  inset-inline-end: -5%;
  animation-delay: 0s;
}
.hero__orb--lime2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.07) 0%, transparent 70%);
  bottom: 10%;
  inset-inline-start: -5%;
  animation-delay: -6s;
}
.hero__orb--blue {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  top: 55%;
  inset-inline-end: 40%;
  animation-delay: -3s;
}
.hero__pitch-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(191, 255, 0, 0.05);
  pointer-events: none;
  z-index: 1;
}
.hero__pitch-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(191, 255, 0, 0.1);
}
.hero__stage {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 20px;
  gap: 24px;
  flex: 1;
  min-height: calc(100dvh - var(--top-offset) - 52px);
}
.hero__standings-card {
  position: absolute;
  inset-inline-start: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 12px;
  width: 230px;
  box-shadow: var(--shadow-card);
  animation: floatCard 5s ease-in-out infinite;
  animation-delay: -2s;
}
@media (max-width: 1199px) {
  .hero__standings-card {
    display: none;
  }
}
.hero__standings-card-title {
  font-size: 9px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__standings-card-title i {
  font-size: 8px;
}
.hero__standing-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-color);
}
.hero__standing-row:last-child {
  border-bottom: none;
}
.hero__standing-pos {
  font-size: 11px;
  font-weight: 900;
  color: var(--text-muted);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}
.hero__standing-pos.top {
  color: var(--accent-gold);
}
.hero__standing-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.hero__standing-badge--has-logo {
  padding: 0;
}
.hero__standing-badge--fallback i {
  font-size: 8px;
  color: #fff;
  opacity: 0.92;
}
.hero__standing-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero__standing-pts {
  font-size: 12px;
  font-weight: 900;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 40px 24px;
  max-width: 720px;
}
.hero__season-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-gold);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__season-badge i {
  font-size: 8px;
  animation: pulse 2s ease-in-out infinite;
}
.hero__crest {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 0 30px rgba(191, 255, 0, 0.35));
  animation: floatCard 5s ease-in-out infinite;
}
.hero__crest--img {
  width: auto;
  height: 100px;
  max-width: min(140px, 28vw);
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
.hero__title {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif !important;
  font-size: clamp(68px, 11vw, 128px);
  font-weight: 900;
  line-height: 0.88;
  color: var(--accent-gold);
  letter-spacing: -0.04em;
  text-shadow: 0 0 30px rgba(191, 255, 0, 0.5), 0 0 70px rgba(191, 255, 0, 0.25), 0 0 120px rgba(191, 255, 0, 0.1);
  animation: titleGlow 3s ease-in-out infinite;
}
@media (min-width: 1024px) and (max-width: 1920px) {
  .hero__title {
    font-size: clamp(42px, 3.9vw, 86px);
  }
}
@media (max-width: 1023px) {
  .hero__title {
    font-size: clamp(56px, 9vw, 110px);
  }
}
@media (max-width: 767px) {
  .hero__title {
    font-size: clamp(48px, 10vw, 64px);
  }
}
.hero__subtitle {
  font-size: clamp(13px, 2vw, 17px);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}
.hero__pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.hero__pill i {
  color: var(--accent-gold);
  font-size: 12px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__next-match {
  position: absolute;
  inset-inline-end: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 20px;
  width: 260px;
  box-shadow: var(--shadow-gold);
  animation: floatCard 4.5s ease-in-out infinite;
}
@media (max-width: 1199px) {
  .hero__next-match {
    display: none;
  }
}
.hero__next-match-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__next-match-label i {
  font-size: 8px;
  animation: pulse 1.5s ease-in-out infinite;
}
.hero__next-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 16px;
}
.hero__next-match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.hero__next-match-team span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.hero__next-match-vs {
  font-size: 13px;
  font-weight: 900;
  color: var(--text-muted);
  flex-shrink: 0;
}
.hero__next-match-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.hero__next-match-unit {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid var(--border-color);
}
.hero__next-match-unit strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
}
.hero__next-match-unit span {
  font-size: 8px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero__scorer-strip {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 767px) {
  .hero__scorer-strip {
    display: none;
  }
}
.hero__scorer-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.hero__scorer-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}
.hero__scorer-goals {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 900;
  color: var(--accent-gold);
}
.hero__scorer-goals i {
  font-size: 10px;
}
.hero__scorer-divider {
  width: 1px;
  height: 20px;
  background: var(--border-color);
}
.hero__scroll-hint {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
@media (min-width: 1024px) and (max-width: 1366px) {
  .hero__scroll-hint {
    bottom: 70px;
  }
}
@media (max-width: 1023px) {
  .hero__scroll-hint {
    bottom: 80px;
  }
}
@media (max-width: 767px) {
  .hero__scroll-hint {
    bottom: 15px;
  }
}
.hero__scroll-hint span {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__scroll-hint i {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0px 0px 0px 15px;
  color: var(--accent-gold);
  font-size: 18px;
  animation: scrollBounce 2s ease-in-out infinite;
}

html.site-loader-pending .hero .hero__content {
  animation: none !important;
  opacity: 0;
  transform: translateY(40px);
}

html.site-loader-pending .hero .hero__standings-card {
  animation: none !important;
  opacity: 0;
  transform: translateY(calc(-50% + 36px));
}

html.site-loader-pending .hero .hero__next-match {
  animation: none !important;
  opacity: 0;
  transform: translateY(calc(-50% + 36px));
}

html.site-loader-pending .hero .hero__scroll-hint {
  opacity: 0 !important;
  animation: none !important;
}
html.site-loader-pending .hero .hero__scroll-hint i {
  animation: none !important;
}

html.site-loader-pending .hero .hero__scorer-strip {
  opacity: 0;
  transform: translateY(16px);
  transition: none;
}

html:not(.site-loader-pending) .hero .hero__content {
  animation: heroEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stats-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  position: relative;
}
.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--border-gold) 50%, transparent);
}
.stats-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--border-gold) 50%, transparent);
}
.stats-section__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
}
@media (max-width: 1023px) {
  .stats-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .stats-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.stats-section__item {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}
.stats-section__item + .stats-section__item {
  border-inline-start: 1px solid var(--border-color);
}
@media (max-width: 767px) {
  .stats-section__item + .stats-section__item:nth-child(odd) {
    border-inline-start: none;
  }
}
.stats-section__number {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}
@media (max-width: 1023px) {
  .stats-section__number {
    font-size: clamp(34px, 5vw, 64px);
  }
}
.stats-section__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.05em;
  line-height: 1.35;
  padding-inline: 4px;
}
@media (max-width: 1023px) {
  .stats-section__label {
    font-size: 12px;
  }
}
.stats-section__icon {
  font-size: 28px;
  color: var(--accent-gold-glow);
  margin-bottom: 16px;
  display: block;
}

.upcoming-section {
  padding: 96px 0;
}
.upcoming-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) {
  .upcoming-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .upcoming-section__grid {
    grid-template-columns: 1fr;
  }
}
.upcoming-section__featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  min-height: 160px;
  transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 1023px) {
  .upcoming-section__featured {
    grid-column: span 2;
  }
}
@media (max-width: 767px) {
  .upcoming-section__featured {
    grid-column: span 1;
  }
}
.upcoming-section__featured:hover {
  border-color: var(--border-gold);
}
.upcoming-section__featured-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 32px;
}
.upcoming-section__featured-team:first-child {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
  border-inline-end: 1px solid var(--border-color);
}
@media (max-width: 1023px) {
  .upcoming-section__featured-team {
    padding: 32px 20px;
  }
}
@media (max-width: 767px) {
  .upcoming-section__featured-team {
    padding: 24px 12px;
    gap: 10px;
  }
  .upcoming-section__featured-team .team-badge--lg {
    width: 52px;
    height: 52px;
    font-size: 16px;
  }
}
.upcoming-section__featured-name {
  font-size: clamp(14px, 3vw, 26px);
  font-weight: 900;
  color: var(--text-primary);
  text-align: center;
}
@media (max-width: 1023px) {
  .upcoming-section__featured-name {
    font-size: clamp(13px, 2.6vw, 26px);
  }
}
.upcoming-section__featured-vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  box-shadow: var(--shadow-gold);
  transition: width 0.25s ease, height 0.25s ease, border-radius 0.25s ease, border-color 0.25s ease;
}
.upcoming-section__featured-vs span {
  font-size: 15px;
  font-weight: 900;
  color: var(--accent-gold);
}
.upcoming-section__featured-meta {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  flex-wrap: wrap;
  gap: 12px 20px;
}
.upcoming-section__featured-meta .competition-pill {
  flex-shrink: 0;
}
.upcoming-section__featured-meta span:not(.competition-pill) {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.upcoming-section__featured-meta span:not(.competition-pill) i {
  color: var(--accent-gold);
  font-size: 11px;
}
.upcoming-section .upcoming-cards {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) {
  .upcoming-section .upcoming-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .upcoming-section .upcoming-cards {
    grid-template-columns: 1fr;
  }
}
.upcoming-section .upcoming-cards .upcoming-live-header {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #EF4444;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0 2px;
}
.upcoming-section .upcoming-cards .upcoming-live-header .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  flex-shrink: 0;
  animation: pulse 0.9s ease-in-out infinite;
}

.standings-section {
  padding: 96px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.standings-section::before {
  content: "";
  position: absolute;
  bottom: -100px;
  inset-inline-start: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.standings-section__inner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  overflow: hidden;
  padding-top: clamp(14px, 2.2vw, 22px);
}
.standings-section__inner .standings-zones--compact {
  border-radius: 0;
  border-bottom: 1px solid var(--border-color);
}
.standings-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.mvp-poll-section {
  padding: 80px 0 96px;
  position: relative;
}
.mvp-poll-section .section-header {
  margin-bottom: 12px;
}
.mvp-poll-section__lede {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.mvp-poll__card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 28px 24px 20px;
  box-shadow: var(--shadow-sm);
}
.mvp-poll__head {
  margin-bottom: 20px;
}
.mvp-poll__round {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.mvp-poll__title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
}
.mvp-poll__title strong {
  color: var(--accent-gold);
  font-weight: 900;
}
.mvp-poll__comp {
  margin-bottom: 15px;
}
.mvp-poll__status {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text-muted);
}
.mvp-poll__status--closed {
  color: #F59E0B;
}
.mvp-poll__status--login a {
  color: var(--accent-gold);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mvp-poll__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mvp-poll__option {
  position: relative;
  display: flex;
  align-items: stretch;
  cursor: pointer;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-secondary);
  transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), background 300ms cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  padding: 0;
  text-align: start;
}
.mvp-poll__option:has(.mvp-poll__radio:checked) {
  border-color: var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 6%, var(--bg-secondary));
}
.mvp-poll__option:hover {
  border-color: var(--border-gold);
}
.mvp-poll__option--voting {
  display: block;
}
.mvp-poll__option-wrap {
  padding: 12px 14px 10px;
  width: 100%;
  box-sizing: border-box;
}
.mvp-poll__ind-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.mvp-poll__votes-n {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
  white-space: nowrap;
}
.mvp-poll__votes-num {
  font-weight: 800;
  color: var(--text-primary);
}
.mvp-poll__bar-track--option {
  margin-top: 8px;
}
.mvp-poll__radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  flex-shrink: 0;
}
.mvp-poll__radio:focus-visible + .mvp-poll__option-wrap, .mvp-poll__radio:focus-visible + .mvp-poll__option-body {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}
.mvp-poll__option-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  width: 100%;
  min-height: 56px;
}
.mvp-poll__opt-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mvp-poll__badge {
  flex-shrink: 0;
}
.mvp-poll__cand-photo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
}
.mvp-poll__countdown {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-gold) 12%, var(--bg-secondary)), var(--bg-secondary));
  border: 1px solid color-mix(in srgb, var(--accent-gold) 35%, var(--border-color));
}
.mvp-poll__countdown-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.mvp-poll__countdown-label i {
  color: var(--accent-gold);
}
.mvp-poll__countdown-segs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.mvp-poll__cd {
  min-width: 64px;
  padding: 10px 8px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  text-align: center;
}
.mvp-poll__cd-val {
  display: block;
  font-size: 20px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--accent-gold);
  line-height: 1.1;
}
.mvp-poll__cd-lbl {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}
.mvp-poll__winners {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 20px;
}
.mvp-poll__winners--tie {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.mvp-poll__winner {
  position: relative;
  text-align: center;
  padding: 28px 20px 22px;
  border-radius: 20px;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent-gold) 22%, transparent), var(--bg-secondary) 55%);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 45%, var(--border-color));
  box-shadow: 0 12px 40px color-mix(in srgb, #000 18%, transparent);
}
.mvp-poll__winner--compact {
  flex: 1 1 220px;
  max-width: 280px;
  padding: 22px 16px 18px;
}
.mvp-poll__winner-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 900;
  background: var(--accent-gold);
  color: #1a1408;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.mvp-poll__winner-ribbon i {
  opacity: 0.9;
}
.mvp-poll__winner-photo-wrap {
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid color-mix(in srgb, var(--accent-gold) 65%, transparent);
  box-shadow: 0 8px 24px color-mix(in srgb, #000 25%, transparent);
}
.mvp-poll__winner-photo-wrap--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
}
.mvp-poll__winner--compact .mvp-poll__winner-photo-wrap {
  width: 88px;
  height: 88px;
}
.mvp-poll__winner-photo {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.mvp-poll__winner-ph-initial {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent-gold);
}
.mvp-poll__winner--compact .mvp-poll__winner-ph-initial {
  font-size: 32px;
}
.mvp-poll__winner-name {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  color: var(--text-primary);
}
.mvp-poll__winner-team {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.mvp-poll__winner-votes {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--text-primary);
}
.mvp-poll__winner-votes strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-gold);
}
.mvp-poll__winner-profile {
  margin-top: 14px;
}
.mvp-poll__winner-empty {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed var(--border-color);
  background: var(--bg-secondary);
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.mvp-poll__winner-empty p {
  margin: 0;
}
.mvp-poll__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}
.mvp-poll__team {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}
.mvp-poll__actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}
.mvp-poll__thanks {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.mvp-poll__thanks i {
  color: #22C55E;
  margin-top: 2px;
}
.mvp-poll__foot {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}
.mvp-poll__n {
  font-weight: 800;
  color: var(--accent-gold);
}
.mvp-poll__result {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px 10px;
  background: var(--bg-secondary);
}
.mvp-poll__result--mine {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-gold) 35%, transparent);
}
.mvp-poll__result-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mvp-poll__result-text {
  flex: 1;
  min-width: 0;
}
.mvp-poll__pct {
  font-size: 15px;
  font-weight: 900;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.mvp-poll__bar-track {
  height: 6px;
  background: var(--bg-primary);
  border-radius: 99px;
  margin-top: 10px;
  overflow: hidden;
}
.mvp-poll__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), color-mix(in srgb, var(--accent-gold) 60%, #3B82F6));
  border-radius: 99px;
  transition: width 0.5s ease;
}

.scorer-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.scorer-section__bg-number {
  position: absolute;
  inset-inline-end: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(180px, 25vw, 320px);
  font-weight: 900;
  color: var(--accent-gold);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  z-index: 0;
}
@media (max-width: 1023px) {
  .scorer-section__bg-number {
    font-size: clamp(120px, 18vw, 320px);
  }
}
.scorer-section:has(#scorer-dual-wrap) .scorer-section__bg-number {
  display: none;
}
.scorer-section__bg-glow {
  position: absolute;
  inset-inline-start: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.scorer-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1023px) {
  .scorer-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
.scorer-section__inner:has(.scorer-dual) {
  display: block;
}
@media (max-width: 1023px) {
  .scorer-section__inner:has(.scorer-dual) {
    min-width: 0;
    max-width: 100%;
  }
}
.scorer-section__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 1023px) {
  .scorer-section__info {
    gap: 20px;
  }
}
.scorer-section__crown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  padding: 6px 16px;
  width: -moz-fit-content;
  width: fit-content;
}
.scorer-section__crown i {
  color: var(--accent-gold);
  font-size: 13px;
}
.scorer-section__crown span {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
}
.scorer-section__name {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
@media (max-width: 1023px) {
  .scorer-section__name {
    font-size: clamp(28px, 4.2vw, 68px);
  }
}
.scorer-section__team {
  display: flex;
  align-items: center;
  gap: 10px;
}
.scorer-section__team-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
}
.scorer-section__position {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: 9999px;
}
.scorer-section__stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  overflow: hidden;
}
.scorer-section__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  transition: background 150ms ease;
}
.scorer-section__stat:hover {
  background: var(--bg-glass-light);
}
.scorer-section__stat strong {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  text-shadow: 0 0 20px var(--accent-gold-glow);
}
.scorer-section__stat span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}
.scorer-section__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
  flex-shrink: 0;
}
.scorer-section__progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scorer-section__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.scorer-section__progress-pct {
  color: var(--accent-gold);
}
.scorer-section__progress-track {
  height: 6px;
  background: var(--bg-card);
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.scorer-section__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-light));
  border-radius: 9999px;
  box-shadow: 0 0 12px var(--accent-gold-glow);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.scorer-section__cta {
  width: -moz-fit-content;
  width: fit-content;
  gap: 10px;
}
.scorer-section__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.scorer-section__photo-wrap {
  position: relative;
  width: 340px;
  height: 400px;
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  .scorer-section__photo-wrap {
    width: 260px;
    height: 320px;
  }
}
@media (max-width: 767px) {
  .scorer-section__photo-wrap {
    width: 220px;
    height: 270px;
  }
}
.scorer-section__photo-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50% 50% 40% 40%;
  border: 2px solid rgba(191, 255, 0, 0.25);
  animation: scorerRing 4s ease-in-out infinite;
}
.scorer-section__photo-ring--2 {
  inset: -28px;
  border-color: rgba(191, 255, 0, 0.1);
  animation-delay: -2s;
}
.scorer-section__photo {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  border-radius: 50% 50% 40% 40%;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 3px var(--accent-gold), 0 0 60px rgba(191, 255, 0, 0.25), 0 24px 60px rgba(0, 0, 0, 0.4);
  filter: contrast(1.04) saturate(1.1);
}
.scorer-section__goals-badge {
  position: absolute;
  bottom: 16px;
  inset-inline-end: -16px;
  z-index: 3;
  background: var(--accent-gold);
  border-radius: 32px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(191, 255, 0, 0.35);
  animation: floatCard 3s ease-in-out infinite;
}
.scorer-section__goals-num {
  font-size: 32px;
  font-weight: 900;
  color: #0D0D0D;
  line-height: 1;
}
.scorer-section__goals-label {
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}
.scorer-section__rank-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: -16px;
  z-index: 3;
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  border-radius: 9999px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-gold);
  animation: floatCard 3s ease-in-out infinite;
  animation-delay: -1.5s;
}
.scorer-section__rank-badge i {
  color: var(--accent-gold);
  font-size: 13px;
}
.scorer-section__rank-badge span {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-primary);
}

@keyframes scorerRing {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.6;
  }
}
[data-theme=light] .scorer-section {
  background-color: #F0F9E6;
  background-image: radial-gradient(circle, rgba(107, 191, 0, 0.22) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.news-section {
  padding: 96px 0;
  background: var(--bg-secondary);
}

.gallery-section {
  position: relative;
  padding: 100px 0 88px;
  overflow: hidden;
  background: var(--bg-primary);
}
.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent-gold) 50%, transparent), transparent);
  opacity: 0.5;
}

.gallery-section__kicker {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.gallery-section__stage {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.gallery-section__swiper-wrap {
  position: relative;
  margin-top: 0.5rem;
  padding: 0 0 5.5rem;
  overflow: visible;
  overflow-x: clip;
}

.gallery-section .gallery-swiper {
  overflow: visible;
  padding: 28px 0 36px;
  position: relative;
  z-index: 1;
}
.gallery-section .gallery-swiper .swiper-wrapper {
  align-items: center;
}
.gallery-section .gallery-swiper .swiper-slide {
  width: min(100% - 2.5rem, 380px);
  height: auto;
}
.gallery-section .gallery-swiper .swiper-slide-active .gallery-slide {
  border-color: color-mix(in srgb, var(--accent-gold) 45%, var(--border-color));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px color-mix(in srgb, var(--accent-gold) 20%, transparent);
}

.gallery-section__chrome {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  z-index: 4;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.gallery-section__fraction-wrap {
  min-width: 5.5rem;
  text-align: center;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-variant-numeric: tabular-nums;
}

.gallery-section__pagination {
  position: static !important;
  width: auto !important;
  min-height: 1.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}
.gallery-section__pagination.swiper-pagination-fraction {
  position: static;
}

.gallery-section__nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--accent-gold) 40%, var(--border-color));
  background: var(--bg-card);
  color: var(--accent-gold);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: static;
  transform: none;
}
.gallery-section__nav:hover {
  background: var(--accent-gold);
  color: #0d0d0d;
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.06);
}
.gallery-section__nav:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.gallery-slide {
  position: relative;
  display: block;
  text-decoration: none !important;
  color: inherit;
  border-radius: 1.15rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  min-height: 12rem;
  background: #0e0e12;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.45s, border-color 0.3s;
  --g-h: 100;
  background: linear-gradient(155deg, hsl(var(--g-h), 32%, 14%) 0%, #08080c 100%);
}
.gallery-slide__mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 20% 10%, hsl(var(--g-h), 50%, 24%, 0.4), transparent 55%), radial-gradient(ellipse 60% 50% at 85% 80%, color-mix(in srgb, var(--accent-gold) 12%, transparent), transparent 60%), linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
  pointer-events: none;
}
.gallery-slide__frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.15rem;
  margin: 8px;
  pointer-events: none;
  z-index: 1;
}
.gallery-slide__no {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.75rem;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: 0.05em;
  z-index: 2;
  pointer-events: none;
}
.gallery-slide__icon-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.gallery-slide__icon {
  display: block;
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  line-height: 1;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
  transform: translateY(-6%);
}
@media (max-width: 1023px) {
  .gallery-slide__icon {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
  }
}
.gallery-slide__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.9rem 1.1rem 1.1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.gallery-slide__line {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  color: #f5f5f5;
}
.gallery-slide__cat {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent-gold) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 25%, transparent);
}
.gallery-slide__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, #0a0a0a 50%, transparent);
  backdrop-filter: blur(0);
  opacity: 0;
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease;
}
.gallery-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--accent-gold);
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 50%, var(--border-color));
}
.gallery-slide:hover {
  transform: scale(1.02);
}
.gallery-slide:hover .gallery-slide__veil {
  opacity: 1;
  backdrop-filter: blur(2px);
}

[data-theme=light] .gallery-slide {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
[data-theme=light] .gallery-slide .gallery-slide__no {
  color: rgba(0, 0, 0, 0.05);
}
[data-theme=light] .gallery-slide .gallery-slide__line {
  color: #fff;
}

.newsletter-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}
.newsletter-section__inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.newsletter-section__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 32px;
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-gold);
  font-size: 28px;
  color: var(--accent-gold);
}
.newsletter-section__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
}
@media (max-width: 1023px) {
  .newsletter-section__title {
    font-size: clamp(19px, 2.6vw, 32px);
  }
}
.newsletter-section__sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 400px;
}
.newsletter-section__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.newsletter-section__status {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  min-height: 1.25em;
}
.newsletter-section__status:not([hidden]) {
  display: block;
}
.newsletter-section__form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 480px;
}
@media (max-width: 767px) {
  .newsletter-section__form {
    flex-direction: column;
  }
}
.newsletter-section__input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.newsletter-section__input::-moz-placeholder {
  color: var(--text-muted);
}
.newsletter-section__input::placeholder {
  color: var(--text-muted);
}
.newsletter-section__input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

[data-theme=light] .hero {
  background: linear-gradient(160deg, #FFFFFF 0%, #F3F8F0 60%, #EEF5E8 100%);
}
[data-theme=light] .hero::before {
  background-image: linear-gradient(rgba(107, 191, 0, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 191, 0, 0.06) 1px, transparent 1px);
}
[data-theme=light] .hero::after {
  background: radial-gradient(ellipse 80% 80% at center, transparent 30%, rgba(238, 245, 232, 0.5) 100%);
}
[data-theme=light] .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(243, 248, 240, 0.74) 60%, rgba(238, 245, 232, 0.7) 100%);
  pointer-events: none;
}
[data-theme=light] .hero__scorer-strip {
  background-color: rgba(232, 248, 215, 0.94);
  background-image: radial-gradient(ellipse 50% 200% at 50% 50%, rgba(107, 191, 0, 0.1) 0%, transparent 70%), repeating-linear-gradient(45deg, rgba(107, 191, 0, 0.14) 0px, rgba(107, 191, 0, 0.14) 2px, transparent 2px, transparent 18px);
  background-size: auto, 20px 20px;
  border-top-color: rgba(107, 191, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: scorerStripeFlow 3s linear infinite;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 30px rgba(191, 255, 0, 0.5), 0 0 70px rgba(191, 255, 0, 0.25);
  }
  50% {
    text-shadow: 0 0 50px rgba(191, 255, 0, 0.7), 0 0 100px rgba(191, 255, 0, 0.35), 0 0 180px rgba(191, 255, 0, 0.15);
  }
}
@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -50px) scale(1.06);
  }
  66% {
    transform: translate(-30px, 25px) scale(0.96);
  }
}
@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@keyframes reelScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes scorerStripeFlow {
  from {
    background-position: auto, 0 0;
  }
  to {
    background-position: auto, 20px 20px;
  }
}
.back-to-top {
  position: fixed;
  bottom: 32px;
  inset-inline-end: 28px;
  z-index: 499;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--border-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  box-shadow: 0 8px 32px rgba(191, 255, 0, 0.3), 0 0 0 1px var(--accent-gold);
  transform: translateY(-3px) scale(1.06);
}
.back-to-top:hover .back-to-top__icon {
  color: var(--accent-gold);
}
.back-to-top:active {
  transform: translateY(0) scale(0.97);
}
.back-to-top__progress {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.back-to-top__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.back-to-top__track {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 2.5;
}
.back-to-top__fill {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 4px var(--accent-gold-glow));
  transition: stroke-dashoffset 0.1s linear;
}
.back-to-top__icon {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .back-to-top {
    bottom: 20px;
    inset-inline-end: 16px;
    width: 46px;
    height: 46px;
  }
}

.hero__standings-dual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.hero__standings-block-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.home-standings-tabs {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  margin: clamp(4px, 1vw, 8px) auto 22px;
  padding: 6px;
  gap: 6px;
  flex-wrap: nowrap;
  background: color-mix(in srgb, var(--bg-secondary) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--border-color) 85%, transparent);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 10px 40px rgba(0, 0, 0, 0.22);
}
.home-standings-tabs__btn {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.home-standings-tabs__btn:not(.is-active):hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.home-standings-tabs__btn:not(.is-active):active {
  transform: scale(0.98);
}
.home-standings-tabs__btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}
.home-standings-tabs__btn[data-home-st-tab="30plus"].is-active {
  color: #0d0d0d;
  background: linear-gradient(145deg, var(--accent-gold) 0%, color-mix(in srgb, var(--accent-gold) 78%, #fff) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 4px 18px rgba(191, 255, 0, 0.32);
}
.home-standings-tabs__btn[data-home-st-tab="40plus"].is-active {
  color: #061016;
  background: linear-gradient(145deg, #5ac8fa 0%, #0ea5e9 55%, #0284c7 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 4px 22px rgba(14, 165, 233, 0.38);
}

.mvp-poll-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 1023px) {
  .mvp-poll-grid {
    grid-template-columns: 1fr;
  }
}

.scorer-dual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
  min-width: 0;
}
@media (max-width: 1023px) {
  .scorer-dual {
    grid-template-columns: 1fr;
  }
}
.scorer-dual__panel {
  min-width: 0;
}
.scorer-dual__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
}
.scorer-dual__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(18px, 3vw, 26px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 1023px) {
  .scorer-dual__card {
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    padding-inline: clamp(14px, 4vw, 24px);
    padding-block: clamp(26px, 4.5vw, 36px);
    min-height: clamp(540px, 76dvh, 720px);
    row-gap: clamp(20px, 3vw, 28px);
  }
}
@media (max-width: 767px) {
  .scorer-dual__card {
    min-height: clamp(480px, 72dvh, 620px);
    padding-block: clamp(22px, 5vw, 32px);
    row-gap: clamp(18px, 4vw, 24px);
  }
}
.scorer-dual__card .scorer-section__stats {
  flex-wrap: wrap;
}
.scorer-dual__card .scorer-section__stat {
  flex: 1 1 18%;
  min-width: 0;
  padding-inline: 5px;
  padding-block: 14px;
}
.scorer-dual__card .scorer-section__stat strong {
  font-size: clamp(17px, 2.8vw, 24px);
}
.scorer-dual__card .scorer-section__stat span {
  font-size: 9px;
  line-height: 1.2;
  text-align: center;
}
.scorer-dual__card .scorer-section__info {
  flex: 1;
  min-width: 0;
  align-items: stretch;
}
@media (max-width: 1023px) {
  .scorer-dual__card .scorer-section__info {
    align-items: center;
  }
}
.scorer-dual__visual {
  flex-shrink: 0;
  align-self: flex-end;
}
@media (max-width: 1023px) {
  .scorer-dual__visual {
    align-self: center;
    flex-shrink: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding-inline: 6px;
    box-sizing: border-box;
  }
}
@media (max-width: 767px) {
  .scorer-dual__visual {
    padding-inline: 8px;
  }
}
.scorer-dual__photo-wrap {
  width: 172px;
  height: 203px;
}
.scorer-dual__photo-wrap .scorer-section__photo-ring {
  inset: -9px;
}
.scorer-dual__photo-wrap .scorer-section__photo-ring--2 {
  inset: -16px;
}
.scorer-dual__photo-wrap .scorer-section__goals-badge {
  padding: 8px 12px;
  bottom: 12px;
  inset-inline-end: -4px;
}
.scorer-dual__photo-wrap .scorer-section__goals-num {
  font-size: 26px;
}
.scorer-dual__photo-wrap .scorer-section__rank-badge {
  top: 10px;
  inset-inline-start: -4px;
  padding: 6px 10px;
}
.scorer-dual__photo-wrap .scorer-section__photo {
  box-shadow: 0 0 0 2px var(--accent-gold), 0 0 36px rgba(191, 255, 0, 0.18), 0 14px 36px rgba(0, 0, 0, 0.32);
}
@media (max-width: 1023px) {
  .scorer-dual__photo-wrap {
    width: min(180px, 100vw - 152px);
    height: auto;
    aspect-ratio: 340/400;
    max-width: 100%;
  }
  .scorer-dual__photo-wrap .scorer-section__photo-ring {
    inset: -3px;
  }
  .scorer-dual__photo-wrap .scorer-section__photo-ring--2 {
    inset: -6px;
  }
  .scorer-dual__photo-wrap .scorer-section__goals-badge {
    inset-inline-end: 6px;
    bottom: 8px;
    padding: 6px 10px;
  }
  .scorer-dual__photo-wrap .scorer-section__goals-num {
    font-size: 21px;
  }
  .scorer-dual__photo-wrap .scorer-section__rank-badge {
    inset-inline-start: 6px;
    top: 8px;
    padding: 5px 9px;
  }
  .scorer-dual__photo-wrap .scorer-section__photo {
    box-shadow: 0 0 0 1.5px var(--accent-gold), 0 0 22px rgba(191, 255, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.22);
  }
}
@media (max-width: 767px) {
  .scorer-dual__photo-wrap {
    width: min(125px, 100vw - 104px);
  }
  .scorer-dual__photo-wrap .scorer-section__photo-ring {
    inset: -2px;
  }
  .scorer-dual__photo-wrap .scorer-section__photo-ring--2 {
    inset: -4px;
  }
  .scorer-dual__photo-wrap .scorer-section__goals-badge {
    inset-inline-end: 5px;
    bottom: 6px;
    padding: 5px 8px;
  }
  .scorer-dual__photo-wrap .scorer-section__goals-num {
    font-size: 18px;
  }
  .scorer-dual__photo-wrap .scorer-section__rank-badge {
    inset-inline-start: 5px;
    top: 6px;
    padding: 4px 8px;
  }
  .scorer-dual__photo-wrap .scorer-section__photo {
    box-shadow: 0 0 0 1.5px var(--accent-gold), 0 0 16px rgba(191, 255, 0, 0.08), 0 6px 16px rgba(0, 0, 0, 0.2);
  }
}
.scorer-dual .scorer-section__name {
  font-size: clamp(26px, 3.2vw, 44px);
}
.scorer-dual__panel--40 .scorer-section__photo-ring {
  border-color: rgba(56, 189, 248, 0.35);
}
.scorer-dual__panel--40 .scorer-section__photo-ring--2 {
  border-color: rgba(56, 189, 248, 0.14);
}
.scorer-dual__panel--40 .scorer-section__photo {
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.8), 0 0 36px rgba(56, 189, 248, 0.16), 0 14px 36px rgba(0, 0, 0, 0.32);
}
.scorer-dual__panel--40 .scorer-section__goals-badge {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.3);
}
@media (max-width: 1023px) {
  .scorer-dual__panel--40 .scorer-section__photo {
    box-shadow: 0 0 0 1.5px rgba(56, 189, 248, 0.75), 0 0 22px rgba(56, 189, 248, 0.12), 0 8px 20px rgba(0, 0, 0, 0.22);
  }
  .scorer-dual__panel--40 .scorer-section__goals-badge {
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.22);
  }
}
@media (max-width: 767px) {
  .scorer-dual__panel--40 .scorer-section__photo {
    box-shadow: 0 0 0 1.5px rgba(56, 189, 248, 0.7), 0 0 16px rgba(56, 189, 248, 0.08), 0 6px 16px rgba(0, 0, 0, 0.2);
  }
  .scorer-dual__panel--40 .scorer-section__goals-badge {
    box-shadow: 0 3px 12px rgba(14, 165, 233, 0.18);
  }
}

.hero__next-match-sub {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}
.hero__next-match-sub .competition-pill {
  vertical-align: middle;
  margin-inline-end: 6px;
}

.standings-hero {
  padding-top: var(--top-offset);
  padding-bottom: 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.standings-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(191, 255, 0, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(191, 255, 0, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.standings-info {
  position: relative;
  z-index: 1;
  padding: 32px 0 0;
}
.standings-info__card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px 32px 0 0;
  padding: 24px 28px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  row-gap: 16px;
}
@media (max-width: 767px) {
  .standings-info__card {
    padding: 20px 20px 0;
  }
}
.standings-info__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}
.standings-info__crest {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(191, 255, 0, 0.3));
}
.standings-info__name {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
}
@media (max-width: 1023px) {
  .standings-info__name {
    font-size: 18px;
  }
}
.standings-info__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.standings-info__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.standings-info__counters {
  display: flex;
  align-items: center;
  gap: 32px;
}
@media (max-width: 767px) {
  .standings-info__counters {
    gap: 20px;
  }
}
.standings-info__counter {
  text-align: center;
}
.standings-info__counter strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
}
.standings-info__counter span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.standings-info__counter-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
  flex-shrink: 0;
}
.standings-info__legend {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0 0;
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
}
.standings-info__legend span {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-inline-end: 4px;
}
.standings-info__pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: default;
  white-space: nowrap;
}
.standings-info__pill strong {
  color: var(--accent-gold);
  font-weight: 900;
}

.standings-section {
  background: var(--bg-primary);
  padding-bottom: 80px;
}

.capital-leagues-page--standings .standings-section {
  padding-top: 48px;
}

.standings-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  padding-top: clamp(14px, 2.2vw, 22px);
}

.standings-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.standings-table-scroll .st {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
}

.standings-zones {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
.standings-zones--compact {
  padding: 10px 20px;
  gap: 14px;
}
.standings-zones__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.standings-zones__bar {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  flex-shrink: 0;
}
.standings-zones__bar--champion {
  background: var(--accent-gold);
}
.standings-zones__bar--playoff {
  background: var(--accent-blue);
}
.standings-zones__bar--danger {
  background: var(--color-loss);
}
.standings-zones__bar--neutral {
  background: var(--border-light);
}

.st {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.st__head {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}
.st__head th {
  padding: 10px 8px;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.st__head th.st__col-team {
  text-align: start;
  padding-inline-start: 16px;
}
.st__head th.st__col-pos {
  width: 52px;
}
.st__row {
  border-bottom: 1px solid var(--border-color);
  transition: background 150ms ease;
  position: relative;
}
.st__row:last-child {
  border-bottom: none;
}
.st__row:hover {
  background: var(--bg-card-hover);
}
.st__row td:first-child::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
}
.st__row--champion td:first-child::before {
  background: var(--accent-gold);
}
.st__row--playoff td:first-child::before {
  background: var(--accent-blue);
}
.st__row--danger td:first-child::before {
  background: var(--color-loss);
}
.st__row td {
  padding: 12px 8px;
  text-align: center;
  vertical-align: middle;
  color: var(--text-secondary);
}
.st__pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}
.st__pos--gold {
  background: rgba(245, 197, 24, 0.15);
  color: #F5C518;
  border: 1px solid rgba(245, 197, 24, 0.3);
}
.st__pos--silver {
  background: rgba(180, 180, 180, 0.12);
  color: #B0B0B0;
  border: 1px solid rgba(180, 180, 180, 0.25);
}
.st__pos--bronze {
  background: rgba(184, 115, 51, 0.12);
  color: #B87333;
  border: 1px solid rgba(184, 115, 51, 0.25);
}
.st__pos--plain {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}
.st__team-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
  padding-inline-start: 16px;
}
.st__badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.st__badge--has-logo {
  padding: 0;
}
.st__badge--fallback i {
  font-size: 10px;
  color: #fff;
  opacity: 0.92;
}
@media (max-width: 767px) {
  .st__badge {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
}
.st__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none !important;
  transition: color 150ms ease;
}
.st__name:hover {
  color: var(--accent-gold);
}
@media (max-width: 767px) {
  .st__name {
    font-size: 13px;
  }
}
.st__wins {
  color: var(--accent-green) !important;
  font-weight: 800;
}
.st__draws {
  color: var(--accent-gold) !important;
  font-weight: 800;
}
.st__losses {
  color: var(--color-loss) !important;
  font-weight: 800;
}
.st__gd-pos {
  color: var(--accent-green);
  font-weight: 700;
}
.st__gd-neg {
  color: var(--color-loss);
  font-weight: 700;
}
.st__gd-zer {
  color: var(--text-muted);
  font-weight: 600;
}
.st__pts {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-primary) !important;
}
.st__pts--leader {
  color: var(--accent-gold) !important;
}
.st__form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.st__form-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
}
.st__form-dot--w {
  background: var(--accent-green);
}
.st__form-dot--d {
  background: var(--accent-gold);
  color: #000;
}
.st__form-dot--l {
  background: var(--color-loss);
}
.st__form-dot--empty {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 8px;
}
.st__next-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.st__next-badge:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.st__next-badge--has-logo {
  padding: 0;
  overflow: hidden;
}
.st__next-badge--fallback i {
  font-size: 11px;
  color: #fff;
  opacity: 0.92;
}
.st__next-none {
  font-size: 11px;
  color: var(--text-muted);
}

.standings-scroll-hint {
  text-align: center;
  padding: 10px 0;
  font-size: 11px;
  color: var(--text-muted);
  display: none;
}
@media (max-width: 1023px) {
  .standings-scroll-hint {
    display: block;
  }
}
.standings-scroll-hint i {
  margin-inline-end: 4px;
}

.standings-comp-tabs {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  margin: clamp(4px, 1vw, 8px) auto 22px;
  padding: 6px;
  gap: 6px;
  flex-wrap: nowrap;
  background: color-mix(in srgb, var(--bg-secondary) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--border-color) 85%, transparent);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 10px 40px rgba(0, 0, 0, 0.22);
}
.standings-comp-tabs__btn {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.standings-comp-tabs__btn:not(.is-active):hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.standings-comp-tabs__btn:not(.is-active):active {
  transform: scale(0.98);
}
.standings-comp-tabs__btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}
.standings-comp-tabs__btn[data-standings-tab="30plus"].is-active {
  color: #0d0d0d;
  background: linear-gradient(145deg, var(--accent-gold) 0%, color-mix(in srgb, var(--accent-gold) 78%, #fff) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 4px 18px rgba(191, 255, 0, 0.32);
}
.standings-comp-tabs__btn[data-standings-tab="40plus"].is-active {
  color: #061016;
  background: linear-gradient(145deg, #5ac8fa 0%, #0ea5e9 55%, #0284c7 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 4px 22px rgba(14, 165, 233, 0.38);
}

.contact-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
}

.contact-hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  background: var(--bg-primary);
}
.contact-hero__mesh {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(191, 255, 0, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(191, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.contact-hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 65%);
  top: -120px;
  inset-inline-start: -80px;
  pointer-events: none;
}
.contact-hero__glow2 {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.06) 0%, transparent 70%);
  bottom: -80px;
  inset-inline-end: -40px;
  pointer-events: none;
}
.contact-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
}
.contact-hero__eyebrow::before, .contact-hero__eyebrow::after {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold));
  border-radius: 1px;
}
.contact-hero__eyebrow::after {
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}
.contact-hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text-primary);
  margin: 0 0 16px;
  text-shadow: 0 0 40px rgba(191, 255, 0, 0.12);
}
@media (max-width: 1023px) {
  .contact-hero__title {
    font-size: clamp(30px, 5vw, 64px);
  }
}
.contact-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.contact-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.contact-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.contact-hero__chip i {
  color: var(--accent-gold);
  font-size: 11px;
}
.contact-hero__chip:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 16px var(--accent-gold-glow);
}

.contact-body {
  padding: 0 0 96px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1023px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 32px 32px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}
.contact-form-card__head {
  margin-bottom: 28px;
}
.contact-form-card__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.contact-form-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
.contact-form-card__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.contact-form-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 767px) {
  .contact-form-card__grid {
    grid-template-columns: 1fr;
  }
}
.contact-form-card__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form-card__field--full {
  grid-column: 1/-1;
}
.contact-form-card label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.contact-form-card input::-moz-placeholder, .contact-form-card select::-moz-placeholder, .contact-form-card textarea::-moz-placeholder {
  color: var(--text-muted);
}
.contact-form-card input::placeholder,
.contact-form-card select::placeholder,
.contact-form-card textarea::placeholder {
  color: var(--text-muted);
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}
.contact-form-card textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form-card select optgroup {
  font-weight: 800;
  color: var(--text-secondary);
}
.contact-form-card__topic-hint {
  margin: 0 0 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--accent-gold) 6%, var(--bg-secondary));
  border: 1px solid color-mix(in srgb, var(--accent-gold) 16%, var(--border-color));
  border-radius: 8px;
  border-inline-start: 3px solid var(--accent-gold);
  min-height: 0;
}
.contact-form-card__topic-hint[hidden] {
  display: none !important;
}
.contact-form-card__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.contact-form-card__hint {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-form-card__hint i {
  color: var(--accent-gold);
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 22px 22px 24px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.contact-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card-hover);
}
.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 18px;
  margin-bottom: 14px;
}
.contact-card__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.contact-card__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 12px;
}
.contact-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 150ms ease;
}
.contact-card__link:hover {
  gap: 10px;
}

.contact-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.contact-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: pulse 1.2s ease-in-out infinite;
}
.contact-status__text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.contact-status__time {
  margin-inline-start: auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-gold);
}

.contact-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-social__btn {
  flex: 1;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.contact-social__btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 24px var(--accent-gold-glow);
}
.contact-social__btn--fb:hover {
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.4);
}
.contact-social__btn--ig:hover {
  color: #E4405F;
  border-color: rgba(228, 64, 95, 0.4);
}
.contact-social__btn--yt:hover {
  color: #FF0000;
  border-color: rgba(255, 0, 0, 0.4);
}

.contact-map {
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-secondary);
  position: relative;
  min-height: 220px;
}
.contact-map__canvas {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(191, 255, 0, 0.06) 1px, transparent 1px), linear-gradient(rgba(191, 255, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.85;
}
.contact-map__pin {
  position: absolute;
  top: 38%;
  inset-inline-start: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: var(--accent-gold);
  box-shadow: 0 8px 32px rgba(191, 255, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.contact-map__pin i {
  transform: rotate(45deg);
  color: #0D0D0D;
  font-size: 18px;
}
.contact-map__caption {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 20px;
  background: linear-gradient(0deg, var(--bg-card) 0%, rgba(13, 13, 13, 0) 100%);
}
.contact-map__addr {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.contact-map__note {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

[data-theme=light] .contact-hero__title {
  text-shadow: none;
}

.join-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
}

.join-hero {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  background: var(--bg-primary);
}
.join-hero__mesh {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(191, 255, 0, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(191, 255, 0, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
}
.join-hero__glow {
  position: absolute;
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 62%);
  top: -140px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.85;
}
.join-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.join-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-gold);
}
.join-hero__title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text-primary);
  margin: 0 0 14px;
  text-shadow: 0 0 36px rgba(191, 255, 0, 0.1);
}
@media (max-width: 1023px) {
  .join-hero__title {
    font-size: clamp(26px, 4.5vw, 56px);
  }
}
.join-hero__sub {
  font-size: clamp(14px, 1.9vw, 17px);
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
}
.join-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.join-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}
.join-hero__chip i {
  font-size: 10px;
  color: var(--accent-gold);
}

.join-stub {
  max-width: 900px;
  margin: -24px auto 0;
  padding: 0 20px 28px;
  position: relative;
  z-index: 2;
}
.join-stub__inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-blue) 12%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--accent-blue) 28%, var(--border-color));
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.join-stub__inner i {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-blue-light);
}
.join-stub__inner strong {
  color: var(--text-primary);
}

.join-steps {
  padding: 8px 0 40px;
}
.join-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 1023px) {
  .join-steps__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}
.join-steps__card {
  position: relative;
  padding: 22px 20px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-align: right;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.join-steps__card:hover {
  border-color: color-mix(in srgb, var(--accent-gold) 35%, var(--border-color));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.join-steps__num {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: var(--accent-gold);
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-gold);
}
.join-steps__title {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 8px;
  padding-inline-start: 36px;
}
.join-steps__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  padding-inline-start: 36px;
}

.join-body {
  padding-bottom: 80px;
}

.join-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1023px) {
  .join-layout {
    grid-template-columns: 1fr;
  }
}

.join-form-wrap {
  position: relative;
}

.join-form-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 28px 26px 32px;
  box-shadow: var(--shadow-card);
}
.join-form-card__head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.join-form-card__title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.join-form-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}
.join-form-card__section {
  margin-bottom: 26px;
}
.join-form-card__section:last-of-type {
  margin-bottom: 20px;
}
.join-form-card__section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 14px;
}
.join-form-card__section-title i {
  font-size: 14px;
  opacity: 0.9;
}
.join-form-card__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
}
@media (max-width: 767px) {
  .join-form-card__grid {
    grid-template-columns: 1fr;
  }
}
.join-form-card__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.join-form-card__field--full {
  grid-column: 1/-1;
}
.join-form-card__field label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
}
.join-form-card__field .join-field-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}
.join-form-card__field input,
.join-form-card__field select,
.join-form-card__field textarea {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.join-form-card__field input::-moz-placeholder, .join-form-card__field select::-moz-placeholder, .join-form-card__field textarea::-moz-placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.join-form-card__field input::placeholder,
.join-form-card__field select::placeholder,
.join-form-card__field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.join-form-card__field input:focus,
.join-form-card__field select:focus,
.join-form-card__field textarea:focus {
  border-color: color-mix(in srgb, var(--accent-gold) 45%, var(--border-color));
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}
.join-form-card__field textarea {
  min-height: 100px;
  resize: vertical;
}
.join-form-card__field--error input,
.join-form-card__field--error select,
.join-form-card__field--error textarea {
  border-color: rgba(239, 68, 68, 0.55);
}
.join-form-card__field--error .join-field-error {
  font-size: 11px;
  font-weight: 700;
  color: #f87171;
  margin: 0;
}
.join-form-card__consents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}
.join-form-card__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.join-form-card__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-gold);
  flex-shrink: 0;
}
.join-form-card__check strong {
  color: var(--text-primary);
}
.join-form-card__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.join-form-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.join-form-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.join-form-card__hint i {
  color: var(--accent-gold);
  font-size: 11px;
}

.join-success {
  display: none;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 35%, var(--border-color));
  border-radius: 32px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.join-success.is-visible {
  display: block;
  animation: joinSuccessIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.join-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold-glow);
  border: 2px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 28px;
}
.join-success__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.join-success__ref {
  display: inline-block;
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  margin: 12px 0 16px;
  letter-spacing: 0.04em;
}
.join-success__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 auto 22px;
  max-width: 420px;
}
.join-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.join-form-wrap.is-submitted .join-form-card {
  display: none;
}

@keyframes joinSuccessIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.join-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--top-offset) + 16px);
}
@media (max-width: 1023px) {
  .join-aside {
    position: static;
    order: -1;
  }
}

.join-aside-card {
  padding: 20px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}
.join-aside-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.join-aside-card__title i {
  color: var(--accent-gold);
}
.join-aside-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}
.join-aside-card__list li {
  position: relative;
  padding-inline-start: 18px;
  margin-bottom: 8px;
}
.join-aside-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: 0.7;
}
.join-aside-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-gold);
  text-decoration: none !important;
}

[data-theme=light] .join-form-card__consents {
  background: rgba(255, 255, 255, 0.5);
}
[data-theme=light] .join-stub__inner {
  background: color-mix(in srgb, var(--accent-blue) 8%, #fff);
}

.about-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  background: var(--bg-primary);
}

.about-hero {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  background: var(--bg-primary);
}
.about-hero__mesh {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(191, 255, 0, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(191, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.about-hero__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 65%);
  top: -100px;
  inset-inline-end: -60px;
  pointer-events: none;
}
.about-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.about-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
}
.about-hero__title {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 16px;
  text-shadow: 0 0 36px rgba(191, 255, 0, 0.1);
}
@media (max-width: 1023px) {
  .about-hero__title {
    font-size: clamp(26px, 4.6vw, 52px);
  }
}
.about-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}
.about-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.about-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}
.about-hero__chip i {
  color: var(--accent-gold);
  font-size: 11px;
}

.about-body {
  padding: 0 0 80px;
}

.about-block {
  margin-bottom: 56px;
}
.about-block--officials {
  margin-bottom: 40px;
}
.about-block__h {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 10px;
  text-align: center;
}
@media (max-width: 1023px) {
  .about-block__h {
    font-size: clamp(19px, 2.8vw, 30px);
  }
}
.about-block__lede {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-weight: 600;
}
.about-block__empty {
  margin: 0;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
}

.about-cards {
  display: grid;
  gap: 1.25rem;
}
.about-cards--founders {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 920px;
  margin-inline: auto;
}
.about-cards--officials {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-person-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.about-person-card:hover {
  border-color: color-mix(in srgb, var(--accent-gold) 25%, var(--border-color));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.about-person-card--founder .about-person-card__photo {
  aspect-ratio: 4/3;
}
.about-person-card--official .about-person-card__photo {
  height: 320px;
  min-height: 320px;
  flex-shrink: 0;
  aspect-ratio: auto;
}
.about-person-card__photo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  color: var(--text-muted);
  font-size: 48px;
  background: var(--bg-secondary);
}
.about-person-card__photo {
  position: relative;
  background: var(--bg-secondary);
}
.about-person-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.about-person-card__body {
  padding: 1.15rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.about-person-card__name {
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 0.2rem;
  line-height: 1.3;
}
.about-person-card__role {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 0 0 0.65rem;
  line-height: 1.4;
}
.about-person-card__contact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-gold) 5%, var(--bg-secondary));
  border: 1px solid color-mix(in srgb, var(--accent-gold) 12%, var(--border-color));
}
.about-person-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none !important;
  transition: color 150ms ease;
}
.about-person-card__link--phone {
  color: var(--text-primary);
}
.about-person-card__link--phone i {
  color: var(--accent-gold);
  font-size: 0.75rem;
}
.about-person-card__link--fb {
  color: var(--accent-gold);
}
.about-person-card__link--fb i {
  font-size: 0.85rem;
}
.about-person-card__link:hover {
  color: var(--text-primary);
}
.about-person-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.about-person-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.about-person-card__meta i {
  color: var(--accent-gold);
  opacity: 0.9;
}
.about-person-card__bio {
  margin-top: auto;
}
.about-person-card__p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.about-person-card__p:last-child {
  margin-bottom: 0;
}

.about-footnote {
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
}
.about-footnote i {
  color: var(--accent-gold);
  margin-inline-end: 0.35rem;
}
.about-footnote strong {
  color: var(--text-secondary);
}

.about-cta {
  text-align: center;
  margin-top: 0.5rem;
}

.capital-leagues-page--legal .contact-hero .contact-hero__inner {
  padding-top: 100px;
}
.capital-leagues-page--legal #privacy-policy,
.capital-leagues-page--legal #terms-of-use {
  scroll-margin-top: calc(var(--ticker-height) + var(--navbar-height) + 12px);
}
.capital-leagues-page--legal .about-block__h {
  text-align: start;
}
.capital-leagues-page--legal .legal-prose .about-block__lede {
  text-align: start;
  margin-inline: 0 auto;
}
.capital-leagues-page--legal .legal-prose {
  max-width: 720px;
  margin-inline: auto;
}
.capital-leagues-page--legal .legal-prose p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: start;
}
.capital-leagues-page--legal .legal-prose p:last-child {
  margin-bottom: 0;
}
.capital-leagues-page--legal .legal-prose a {
  color: var(--accent-gold);
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
}
.capital-leagues-page--legal .legal-prose a:hover {
  color: color-mix(in srgb, var(--accent-gold) 82%, var(--text-primary));
}

.matches-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  background: var(--bg-primary);
}

.fixtures-hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}
.fixtures-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 20% 0%, var(--accent-gold-glow) 0%, transparent 55%), radial-gradient(ellipse 50% 40% at 90% 100%, rgba(191, 255, 0, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.fixtures-hero__lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(191, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 80px 100%;
  opacity: 0.5;
  pointer-events: none;
}
.fixtures-hero .container {
  position: relative;
  z-index: 1;
}
.fixtures-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.fixtures-hero__title-wrap {
  flex: 1;
  min-width: 260px;
}
.fixtures-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.fixtures-hero__eyebrow i {
  font-size: 11px;
  opacity: 0.9;
}
.fixtures-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.05;
  margin: 0 0 10px;
}
@media (max-width: 1023px) {
  .fixtures-hero__title {
    font-size: clamp(26px, 4.2vw, 56px);
  }
}
.fixtures-hero__sub {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  max-width: 520px;
  line-height: 1.65;
}
.fixtures-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fixtures-hero__stat {
  min-width: 100px;
  padding: 14px 18px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.fixtures-hero__stat:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 20px var(--accent-gold-glow);
}
.fixtures-hero__stat strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  text-shadow: 0 0 20px var(--accent-gold-glow);
}
.fixtures-hero__stat span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}
.fixtures-hero__stat--pulse strong {
  animation: pulse 1.5s ease-in-out infinite;
}

.fixtures-spotlight {
  margin-top: -28px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.fixtures-spotlight__inner {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.fixtures-spotlight__inner::-webkit-scrollbar {
  height: 4px;
}
.fixtures-spotlight__inner::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 2px;
}
.fixtures-spotlight__inner .match-card {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
}
.fixtures-spotlight__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #EF4444;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.fixtures-spotlight__label .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  animation: pulse 0.9s ease-in-out infinite;
}
.fixtures-spotlight__empty {
  margin: 0;
  padding: 28px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 32px;
}

.fixtures-toolbar {
  position: sticky;
  top: calc(var(--ticker-height) + var(--navbar-height));
  z-index: 40;
  background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  margin-bottom: 32px;
}
.fixtures-toolbar__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fixtures-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fixtures-toolbar__filter {
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms ease;
}
.fixtures-toolbar__filter:hover {
  border-color: var(--border-gold);
  color: var(--text-primary);
}
.fixtures-toolbar__filter.is-active {
  background: var(--accent-gold-glow);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 16px var(--accent-gold-glow);
}
.fixtures-toolbar__nav-wrap {
  overflow-x: auto;
  padding-bottom: 4px;
  margin: 0 -8px;
  padding-inline: 8px;
}
.fixtures-toolbar__nav-wrap::-webkit-scrollbar {
  height: 3px;
}

.fixtures-round-nav {
  display: flex;
  gap: 8px;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
}
.fixtures-round-nav__pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px 8px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  text-decoration: none !important;
  color: var(--text-muted);
  transition: all 150ms ease;
  flex-shrink: 0;
}
.fixtures-round-nav__pill:hover {
  border-color: var(--border-gold);
  color: var(--text-primary);
}
.fixtures-round-nav__pill.is-active {
  background: var(--accent-gold-glow);
  border-color: var(--accent-gold);
  box-shadow: 0 0 22px var(--accent-gold-glow);
  color: var(--accent-gold);
}
.fixtures-round-nav__pill.is-active .fixtures-round-nav__lbl {
  color: var(--accent-gold);
}
.fixtures-round-nav__pill.is-active .fixtures-round-nav__n {
  color: var(--text-primary);
}
.fixtures-round-nav__pill--live:not(.is-active) {
  border-color: rgba(239, 68, 68, 0.45);
  color: #EF4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.12);
}
.fixtures-round-nav__pill--live:not(.is-active) .fixtures-round-nav__n {
  color: #EF4444;
}
.fixtures-round-nav__pill--done {
  opacity: 0.75;
  border-color: rgba(107, 191, 0, 0.25);
}
.fixtures-round-nav__pill--done.is-active {
  opacity: 1;
}
.fixtures-round-nav__lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  order: 0;
}
.fixtures-round-nav__n {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  order: 1;
}

.fixtures-rounds {
  padding-bottom: 96px;
}

.fixtures-round {
  margin-bottom: 48px;
  scroll-margin-top: calc(var(--ticker-height) + var(--navbar-height) + 100px);
}
.fixtures-round__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}
.fixtures-round__head::after {
  content: "";
  position: absolute;
  bottom: -2px;
  inset-inline-start: 0;
  width: 80px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 1px;
}
.fixtures-round__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--text-primary);
  margin: 0;
}
@media (max-width: 1023px) {
  .fixtures-round__title {
    font-size: clamp(19px, 2.6vw, 28px);
  }
}
.fixtures-round__meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.fixtures-round__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) {
  .fixtures-round__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .fixtures-round__grid {
    grid-template-columns: 1fr;
  }
}

.fixtures-cta {
  margin: 48px 0 0;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.fixtures-cta__text {
  max-width: 480px;
}
.fixtures-cta__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.fixtures-cta__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.fixtures-cta .btn {
  flex-shrink: 0;
}

[data-theme=light] .fixtures-toolbar {
  background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
}

.match-detail-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  background: var(--bg-primary);
  overflow-x: hidden;
}

.match-detail-app {
  position: relative;
}

.md-hero {
  position: relative;
  min-height: clamp(520px, 78vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 80px;
  overflow: hidden;
  --md-home: #BFFF00;
  --md-away: #3B82F6;
}
.md-hero__mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(191, 255, 0, 0.18) 0%, transparent 45%), radial-gradient(ellipse 60% 50% at 0% 50%, color-mix(in srgb, var(--md-home) 22%, transparent) 0%, transparent 55%), radial-gradient(ellipse 60% 50% at 100% 50%, color-mix(in srgb, var(--md-away) 22%, transparent) 0%, transparent 55%);
  pointer-events: none;
}
.md-hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(105deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, transparent 50%), repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255, 255, 255, 0.02) 80px, rgba(255, 255, 255, 0.02) 81px);
  opacity: 0.6;
  pointer-events: none;
  animation: md-hero-grid-drift 28s linear infinite;
}
.md-hero__ring {
  position: absolute;
  width: min(140vw, 900px);
  height: min(140vw, 900px);
  border-radius: 50%;
  border: 1px solid rgba(191, 255, 0, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  pointer-events: none;
  animation: md-hero-ring 20s ease-in-out infinite;
}
.md-hero__ring--2 {
  width: min(100vw, 620px);
  height: min(100vw, 620px);
  border-color: rgba(255, 255, 255, 0.05);
  animation-duration: 26s;
  animation-direction: reverse;
}
.md-hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.md-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.md-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.md-hero__crumbs a {
  color: var(--text-secondary);
  text-decoration: none !important;
  transition: color 150ms ease;
}
.md-hero__crumbs a:hover {
  color: var(--accent-gold);
}
.md-hero__crumbs span[aria-hidden=true] {
  opacity: 0.45;
}
.md-hero__league-row {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.md-hero__league-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  box-shadow: 0 0 32px var(--accent-gold-glow);
}
.md-hero__league-pill i {
  font-size: 11px;
  opacity: 0.85;
}
.md-hero__status {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.md-hero__status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.md-hero__status-badge--live {
  background: rgba(239, 68, 68, 0.15);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.2);
  animation: md-live-pulse 2s ease-in-out infinite;
}
.md-hero__status-badge--live .live-dot {
  animation: md-dot 1.2s ease-in-out infinite;
}
.md-hero__status-badge--finished {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-win);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.md-hero__status-badge--upcoming {
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid rgba(191, 255, 0, 0.35);
}
.md-hero__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 4vw, 40px);
  margin-bottom: 8px;
}
.md-hero__team {
  text-align: center;
}
.md-hero__team--home .md-hero__badge-wrap {
  margin-inline: auto;
}
.md-hero__team--away .md-hero__badge-wrap {
  margin-inline: auto;
}
.md-hero__badge-wrap {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 16px;
}
.md-hero__badge-wrap--glow::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--badge-c) 45%, transparent) 0%, transparent 70%);
  z-index: 0;
  opacity: 0.85;
  filter: blur(8px);
}
.md-hero__team-badge {
  position: relative;
  z-index: 1;
  width: clamp(88px, 18vw, 132px);
  height: clamp(88px, 18vw, 132px);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: var(--badge-c);
  transform: translateZ(0);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.md-hero__team-badge--has-logo {
  padding: 0;
}
.md-hero__team-badge--fallback i {
  font-size: clamp(20px, 3.2vw, 32px);
  color: #fff;
  opacity: 0.92;
}
.md-hero:hover .md-hero__team-badge {
  transform: scale(1.02);
}
.md-hero__team-name {
  display: block;
  font-size: clamp(18px, 3.2vw, 28px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  max-width: 280px;
  margin-inline: auto;
}
.md-hero__team-meta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.md-hero__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: min(100%, clamp(220px, 36vw, 340px));
}
.md-hero__score-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 420px;
}
.md-hero__scorers-below {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  -moz-column-gap: 0;
       column-gap: 0;
  row-gap: 12px;
  width: 100%;
  padding: 12px 14px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.md-hero__scorers-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.md-hero__scorers-col:first-child {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
  padding-inline-end: 10px;
}
.md-hero__scorers-col:last-child {
  padding-inline-start: 10px;
}
.md-hero__scorer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.md-hero__scorer-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.md-hero__scorer-list--home {
  text-align: start;
}
.md-hero__scorer-list--home li {
  justify-content: flex-start;
}
.md-hero__scorer-list--away {
  text-align: end;
}
.md-hero__scorer-list--away li {
  justify-content: flex-end;
}
.md-hero__scorer-min {
  font-size: 11px;
  font-weight: 900;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.md-hero__scorer-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.md-hero__scorers-empty, .md-hero__scorers-none {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 4px;
}
.md-hero__scorers-none {
  grid-column: 1/-1;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}
.md-hero__score-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 20px 28px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(191, 255, 0, 0.06) inset;
}
.md-hero__score-num {
  font-size: clamp(44px, 12vw, 96px);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(191, 255, 0, 0.15);
  animation: md-score-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.md-hero__score-sep {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.5;
}
.md-hero__vs {
  font-size: clamp(26px, 7vw, 56px);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-shadow: 0 0 30px var(--accent-gold-glow);
  animation: md-vs-glow 3s ease-in-out infinite;
}
.md-hero__live-min {
  font-size: 15px;
  font-weight: 900;
  color: #FCA5A5;
  letter-spacing: 0.06em;
}
.md-hero__kickoff {
  text-align: center;
}
.md-hero__kickoff strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-gold);
}
.md-hero__kickoff span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.md-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.md-hero__meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}
.md-hero__meta-chip i {
  color: var(--accent-gold);
  opacity: 0.85;
}
@media (max-width: 1023px) {
  .md-hero__team-badge {
    font-size: clamp(24px, 4.2vw, 40px);
  }
  .md-hero__team-badge--fallback i {
    font-size: clamp(17px, 2.8vw, 32px);
  }
  .md-hero__team-name {
    font-size: clamp(16px, 2.8vw, 28px);
  }
  .md-hero__score-num {
    font-size: clamp(36px, 10vw, 96px);
  }
  .md-hero__score-sep {
    font-size: clamp(22px, 5vw, 48px);
  }
  .md-hero__vs {
    font-size: clamp(22px, 6vw, 56px);
  }
  .md-hero__kickoff strong {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .md-hero__teams {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: "home away" "mid mid";
    align-items: start;
    gap: 12px 10px;
    margin-bottom: 4px;
  }
  .md-hero__team--home {
    grid-area: home;
  }
  .md-hero__team--away {
    grid-area: away;
  }
  .md-hero__mid {
    grid-area: mid;
    min-width: 0;
    width: 100%;
    max-width: none;
  }
  .md-hero__badge-wrap {
    margin-bottom: 10px;
  }
  .md-hero__team-badge {
    width: clamp(56px, 20vw, 88px);
    height: clamp(56px, 20vw, 88px);
    border-radius: 18px;
    font-size: clamp(16px, 5.2vw, 26px);
  }
  .md-hero__team-name {
    font-size: clamp(13px, 3.4vw, 20px);
    max-width: 100%;
    padding-inline: 4px;
  }
  .md-hero__score-stack {
    max-width: none;
    width: 100%;
    gap: 10px;
  }
  .md-hero__score-row {
    padding: 12px 18px;
    gap: 6px 12px;
  }
  .md-hero__score-num {
    font-size: clamp(26px, 9vw, 56px);
  }
  .md-hero__score-sep {
    font-size: clamp(16px, 4.2vw, 28px);
  }
  .md-hero__scorers-below {
    -moz-column-gap: 0;
         column-gap: 0;
    row-gap: 12px;
    padding: 12px 14px 14px;
  }
  .md-hero__scorers-col:first-child {
    border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
    padding-inline-end: 10px;
  }
  .md-hero__scorers-col:last-child {
    padding-inline-start: 10px;
  }
  .md-hero__scorer-list {
    gap: 8px;
  }
  .md-hero__scorer-list li {
    align-items: flex-start;
    gap: 6px;
  }
  .md-hero__scorer-list--home li {
    justify-content: flex-start;
  }
  .md-hero__scorer-list--away li {
    justify-content: flex-end;
  }
  .md-hero__scorer-min {
    font-size: 10px;
  }
  .md-hero__scorer-name {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}
.md-hero--live .md-hero__score-row {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 48px rgba(239, 68, 68, 0.12);
}
.md-hero--upcoming .md-hero__score-row {
  padding: 28px 36px;
}

.md-countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.md-countdown__unit {
  min-width: 64px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-align: center;
}
.md-countdown__unit strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
}
.md-countdown__unit span {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.md-body {
  position: relative;
  z-index: 3;
  margin-top: -48px;
  padding: 0 16px 80px;
}
.md-body .container {
  max-width: 1180px;
}

.md-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1024px) {
  .md-grid {
    grid-template-columns: 1fr;
  }
}

.md-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}
.md-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.md-panel__title i {
  color: var(--accent-gold);
  font-size: 15px;
}
.md-panel--tabbed {
  border-radius: 0 0 20px 20px;
  border-top: 1px solid var(--border-color);
  margin-top: 0;
}

.md-tabs {
  margin-bottom: 0;
}
.md-tabs__list {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 20px 20px 0 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-bottom: none;
  flex-wrap: wrap;
}
.md-tabs__tab {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}
.md-tabs__tab i {
  font-size: 14px;
  color: var(--accent-gold);
  opacity: 0.72;
}
.md-tabs__tab:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}
.md-tabs__tab.is-active {
  color: var(--text-primary);
  background: var(--bg-secondary);
  border-color: var(--border-color);
  box-shadow: inset 0 -2px 0 rgba(191, 255, 0, 0.35);
}
.md-tabs__tab.is-active i {
  opacity: 1;
}
.md-tabs__tab:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}
.md-tabs__panels {
  position: relative;
}
.md-tabs__panel[hidden] {
  display: none;
}
.md-tabs .md-lineups {
  margin-top: 0;
}
.md-tabs .md-lineups__note {
  margin: 0 0 18px;
}
@media (max-width: 768px) {
  .md-tabs__list {
    padding: 6px;
    gap: 6px;
  }
  .md-tabs__tab {
    font-size: 11px;
    padding: 10px 10px;
    gap: 6px;
  }
  .md-tabs__tab i {
    font-size: 12px;
  }
}

.md-lineups {
  margin-top: 20px;
}
.md-lineups__note {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin: -8px 0 18px;
  line-height: 1.55;
}
.md-lineups__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 768px) {
  .md-lineups__grid {
    grid-template-columns: 1fr;
  }
}
.md-lineups__team {
  padding: 18px 16px;
  border-radius: 12px;
  background: var(--bg-secondary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  border-block: 1px solid var(--border-color);
  border-inline-start: 4px solid var(--jersey-fill, var(--lineup-accent, var(--accent-gold)));
  border-inline-end: 4px solid var(--jersey-fill, var(--lineup-accent, var(--accent-gold)));
  --jersey-highlight: color-mix(in srgb, var(--jersey-fill, #666) 48%, #ffffff);
  --jersey-shadow-tone: color-mix(in srgb, var(--jersey-fill, #666) 55%, #0a0a0a);
  --jersey-ink: rgba(255, 255, 255, 0.94);
  --jersey-stroke: rgba(255, 255, 255, 0.22);
  --jersey-collar: rgba(255, 255, 255, 0.2);
}
.md-lineups__team--white-kit {
  --jersey-highlight: #ffffff;
  --jersey-shadow-tone: #c4c4c4;
  --jersey-ink: #121212;
}
.md-lineups__team--white-kit .md-lineups__jersey-body {
  stroke: rgba(0, 0, 0, 0.14) !important;
}
.md-lineups__team--white-kit .md-lineups__jersey-svg path[fill=none] {
  stroke: rgba(0, 0, 0, 0.2) !important;
}
.md-lineups__team--white-kit .md-lineups__jersey-badge {
  fill: rgba(0, 0, 0, 0.1);
  stroke: rgba(0, 0, 0, 0.16);
}
.md-lineups__team--white-kit .md-lineups__jersey-under {
  opacity: 0.2;
}
.md-lineups__team-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}
.md-lineups__team-head-text {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}
.md-lineups__jersey-wrap {
  position: relative;
  flex-shrink: 0;
  transform: translateZ(0);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.md-lineups__jersey-wrap:hover {
  transform: translateY(-2px);
}
.md-lineups__jersey-wrap:hover .md-lineups__jersey-halo {
  opacity: 0.5;
  transform: scale(1.02);
}
.md-lineups__jersey-wrap:hover .md-lineups__jersey-svg {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.38));
}
.md-lineups__jersey-halo {
  position: absolute;
  inset: -6% -10% -2% -10%;
  border-radius: 50%;
  background: radial-gradient(ellipse 65% 58% at 50% 38%, color-mix(in srgb, var(--jersey-fill, #666) 38%, transparent) 0%, transparent 68%);
  opacity: 0.38;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1), transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.md-lineups__jersey-svg {
  position: relative;
  z-index: 1;
  width: 76px;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.32));
  transition: filter 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.md-lineups__jersey-body {
  filter: saturate(1.12);
}
.md-lineups__jersey-badge {
  fill: rgba(13, 13, 13, 0.42);
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 0.9;
}
.md-lineups__team-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-primary);
}
.md-lineups__team-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}
.md-lineups__manager {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(191, 255, 0, 0.06) 0%, rgba(0, 0, 0, 0.2) 100%);
  border: 1px solid var(--border-color);
  border-inline-start: 4px solid var(--jersey-fill, var(--lineup-accent));
}
.md-lineups__team--white-kit .md-lineups__manager {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 100%);
}
.md-lineups__manager-lbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.md-lineups__manager-lbl i {
  font-size: 10px;
  color: var(--accent-gold);
  opacity: 0.9;
}
.md-lineups__manager-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.25;
}
.md-lineups__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.md-lineups__a11y {
  display: contents;
}
.md-lineups__player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 8px;
  transition: background 150ms ease;
}
.md-lineups__player:hover {
  background: rgba(191, 255, 0, 0.05);
}
.md-lineups__player--empty {
  cursor: default;
  background: rgba(0, 0, 0, 0.1);
}
.md-lineups__player--empty:hover {
  background: rgba(0, 0, 0, 0.1);
}
.md-lineups__player--empty .md-lineups__name {
  font-weight: 750;
}
.md-lineups__num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}
.md-lineups__num--sub {
  width: 28px;
  height: 28px;
  font-size: 11px;
  opacity: 0.9;
}
.md-lineups__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.md-lineups__name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}
.md-lineups__pos {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  opacity: 0.9;
}
.md-lineups__pos--muted {
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.38;
  max-width: 38ch;
}
.md-lineups__subs-wrap {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
}
.md-lineups__subs-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.md-lineups__subs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.md-lineups__subs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}
@media (max-width: 768px) {
  .md-lineups__team-name {
    font-size: 14px;
  }
  .md-lineups__manager-name {
    font-size: 13px;
  }
  .md-lineups__name {
    font-size: 12px;
  }
  .md-lineups__pos {
    font-size: 10px;
  }
  .md-lineups__subs-title {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .md-lineups__subs li {
    font-size: 11px;
    gap: 8px;
  }
  .md-lineups__player {
    padding: 8px 8px;
    gap: 10px;
  }
  .md-lineups__num {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-radius: 8px;
  }
  .md-lineups__num--sub {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
  .md-lineups__jersey-svg {
    width: 64px;
  }
  .md-lineups__manager {
    padding: 10px 12px;
    margin-bottom: 12px;
  }
  .md-lineups__team-head {
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .md-lineups__team {
    padding: 14px 12px;
  }
  .md-lineups__note {
    font-size: 11px;
  }
}

.md-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.md-timeline__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}
.md-timeline__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.md-timeline__min {
  font-size: 13px;
  font-weight: 900;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.md-timeline__body {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.55;
}
.md-timeline__body strong {
  color: var(--text-primary);
  font-weight: 800;
}
.md-timeline__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-inline-end: 8px;
  font-size: 12px;
  vertical-align: middle;
}
.md-timeline__icon--goal {
  background: rgba(191, 255, 0, 0.12);
  color: var(--accent-gold);
}
.md-timeline__icon--card {
  background: rgba(234, 179, 8, 0.12);
  color: #FBBF24;
}
.md-timeline__icon--red {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
}
.md-timeline__icon--whistle {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue-light);
}
.md-timeline__empty {
  text-align: center;
  padding: 28px 12px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .md-timeline__item {
    grid-template-columns: 44px 1fr;
    gap: 10px;
    padding: 10px 0;
  }
  .md-timeline__min {
    font-size: 11px;
  }
  .md-timeline__body {
    font-size: 12px;
    line-height: 1.5;
  }
  .md-timeline__icon {
    width: 24px;
    height: 24px;
    font-size: 11px;
    margin-inline-end: 6px;
  }
  .md-timeline__empty {
    font-size: 12px;
    padding: 20px 10px;
  }
}

.md-stats {
  margin-top: 20px;
}
.md-stats__row {
  margin-bottom: 18px;
}
.md-stats__row:last-child {
  margin-bottom: 0;
}
.md-stats__label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.md-stats__track {
  display: flex;
  height: 10px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.md-stats__fill {
  height: 100%;
  border-radius: inherit;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.md-stats__fill--home {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-home) 85%, white));
}
.md-stats__fill--away {
  background: linear-gradient(270deg, transparent, color-mix(in srgb, var(--md-away) 85%, white));
}

.md-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .md-extras {
    grid-template-columns: 1fr;
  }
}

.md-h2h {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(191, 255, 0, 0.04) 100%);
  border: 1px solid var(--border-color);
}
.md-h2h__title {
  font-size: 12px;
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.md-h2h__bar {
  display: flex;
  height: 12px;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.md-h2h__seg {
  height: 100%;
}
.md-h2h__seg--home {
  background: var(--md-home);
}
.md-h2h__seg--draw {
  background: var(--text-muted);
  opacity: 0.5;
}
.md-h2h__seg--away {
  background: var(--md-away);
}
.md-h2h__legend {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-secondary);
}
.md-h2h__legend-cell {
  min-width: 0;
  flex: 1 1 30%;
  text-align: center;
  line-height: 1.3;
}
.md-h2h__name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.md-motm {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  background: radial-gradient(ellipse 120% 80% at 100% 0%, var(--accent-gold-glow), transparent 55%), var(--bg-card);
  display: flex;
  align-items: center;
  gap: 16px;
}
.md-motm__star {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-gold-glow);
  border: 1px solid rgba(191, 255, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 22px;
  flex-shrink: 0;
}
.md-motm__name {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.md-motm__sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.md-motm__link {
  color: var(--accent-gold);
  font-weight: 900;
  text-decoration: none;
}
.md-motm__link:hover {
  text-decoration: underline;
}

.md-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.md-venue {
  position: relative;
  overflow: hidden;
}
.md-venue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.md-venue__map {
  height: 120px;
  border-radius: 12px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%), repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(255, 255, 255, 0.03) 12px, rgba(255, 255, 255, 0.03) 13px), repeating-linear-gradient(0deg, transparent, transparent 12px, rgba(255, 255, 255, 0.03) 12px, rgba(255, 255, 255, 0.03) 13px);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-gold);
  font-size: 32px;
  opacity: 0.9;
  text-decoration: none;
}
.md-venue__map--linked {
  transition: border-color 0.2s ease, background 0.2s ease;
}
.md-venue__map--linked:hover {
  border-color: rgba(191, 255, 0, 0.35);
  background: linear-gradient(180deg, rgba(191, 255, 0, 0.06) 0%, transparent 100%), repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(255, 255, 255, 0.03) 12px, rgba(255, 255, 255, 0.03) 13px), repeating-linear-gradient(0deg, transparent, transparent 12px, rgba(255, 255, 255, 0.03) 12px, rgba(255, 255, 255, 0.03) 13px);
}
.md-venue__map-cta {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.md-venue__empty {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 600;
  margin: 8px 0 0;
  position: relative;
}
.md-venue__name {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
  position: relative;
}
.md-venue__line {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  position: relative;
}
.md-venue__line i {
  width: 18px;
  color: var(--accent-gold);
  opacity: 0.85;
}

.md-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.md-share a,
.md-share button {
  flex: 1;
  min-width: calc(50% - 5px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-decoration: none !important;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.md-share a:hover,
.md-share button:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 20px var(--accent-gold-glow);
}

.md-back {
  margin-top: 28px;
  text-align: center;
}
.md-back a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-secondary);
  text-decoration: none !important;
  padding: 12px 22px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  transition: all 150ms ease;
}
.md-back a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.md-empty {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
}
.md-empty__icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--accent-gold);
  margin-bottom: 24px;
}
.md-empty h1 {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.md-empty p {
  color: var(--text-muted);
  font-weight: 600;
  max-width: 360px;
  line-height: 1.7;
  margin: 0 0 28px;
}

.md-loading {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 800;
  gap: 12px;
}
.md-loading i {
  animation: md-spin 0.9s linear infinite;
  color: var(--accent-gold);
}

@keyframes md-hero-grid-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-80px, -40px);
  }
}
@keyframes md-hero-ring {
  0%, 100% {
    transform: translate(-50%, -48%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -48%) scale(1.03);
    opacity: 0.75;
  }
}
@keyframes md-live-pulse {
  0%, 100% {
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.2);
  }
  50% {
    box-shadow: 0 0 36px rgba(239, 68, 68, 0.45);
  }
}
@keyframes md-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}
@keyframes md-score-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes md-vs-glow {
  0%, 100% {
    text-shadow: 0 0 20px var(--accent-gold-glow);
  }
  50% {
    text-shadow: 0 0 36px rgba(191, 255, 0, 0.45);
  }
}
@keyframes md-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .md-hero__grid,
  .md-hero__ring,
  .md-hero__ring--2,
  .md-hero__status-badge.md-hero__status-badge--live,
  .md-hero__vs,
  .md-hero__score-num,
  .md-hero .live-dot {
    animation: none !important;
  }
  .md-loading i {
    animation: none;
  }
  .md-lineups__jersey-wrap:hover {
    transform: none !important;
  }
  .md-lineups__jersey-wrap:hover .md-lineups__jersey-halo {
    transform: none !important;
    opacity: 0.65 !important;
  }
  .md-lineups__jersey-wrap:hover .md-lineups__jersey-svg {
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.32)) !important;
  }
  .md-lineups__jersey-wrap:hover .md-lineups__jersey-halo {
    opacity: 0.38 !important;
    transform: none !important;
  }
}
.teams-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  background: var(--bg-primary);
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  .teams-page .container {
    padding-inline: clamp(20px, 4.5vw, 32px);
  }
  .teams-page .teams-marquee {
    padding-inline: clamp(16px, 3vw, 24px);
  }
}
@media (max-width: 768px) {
  .teams-page .container {
    padding-inline: clamp(18px, 5vw, 26px);
  }
  .teams-page .teams-marquee {
    padding-inline: clamp(14px, 4vw, 22px);
  }
}
.teams-hero {
  position: relative;
  padding: clamp(40px, 8vw, 88px) 0 clamp(32px, 5vw, 56px);
  overflow: hidden;
}
.teams-hero__aurora {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse 55% 42% at 15% 20%, color-mix(in srgb, var(--accent-gold) 22%, transparent) 0%, transparent 58%), radial-gradient(ellipse 45% 38% at 85% 10%, rgba(99, 102, 241, 0.14) 0%, transparent 55%), radial-gradient(ellipse 50% 45% at 50% 100%, rgba(239, 68, 68, 0.08) 0%, transparent 50%);
  filter: blur(2px);
  pointer-events: none;
  animation: teams-aurora-shift 18s ease-in-out infinite alternate;
}
.teams-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(105deg, transparent 48%, rgba(191, 255, 0, 0.04) 49%, transparent 50%), repeating-linear-gradient(-12deg, transparent, transparent 100px, rgba(255, 255, 255, 0.02) 100px, rgba(255, 255, 255, 0.02) 101px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}
.teams-hero__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.teams-hero__rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(191, 255, 0, 0.06);
  animation: teams-ring-pulse 6s ease-in-out infinite;
}
.teams-hero__rings span:nth-child(1) {
  width: min(120vw, 720px);
  height: min(120vw, 720px);
  animation-delay: 0s;
}
.teams-hero__rings span:nth-child(2) {
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  border-color: rgba(255, 255, 255, 0.04);
  animation-delay: -2s;
}
.teams-hero__rings span:nth-child(3) {
  width: min(60vw, 360px);
  height: min(60vw, 360px);
  border-color: rgba(191, 255, 0, 0.05);
  animation-delay: -4s;
}
.teams-hero .container {
  position: relative;
  z-index: 2;
}
.teams-hero__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}
@media (max-width: 1024px) {
  .teams-hero__row {
    grid-template-columns: 1fr;
  }
}
.teams-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  background: rgba(191, 255, 0, 0.08);
  border: 1px solid rgba(191, 255, 0, 0.22);
  margin-bottom: 18px;
  box-shadow: 0 0 32px rgba(191, 255, 0, 0.08);
}
.teams-hero__eyebrow i {
  font-size: 12px;
  opacity: 0.9;
}
.teams-hero__title {
  margin: 0 0 10px;
  padding-bottom: 10px;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
@media (max-width: 1023px) {
  .teams-hero__title {
    font-size: clamp(1.75rem, 4.6vw, 3.6rem);
  }
}
.teams-hero__title {
  background: linear-gradient(120deg, var(--text-primary) 0%, var(--text-primary) 38%, var(--accent-gold) 52%, color-mix(in srgb, var(--accent-gold) 70%, #fff) 62%, var(--text-primary) 78%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: teams-title-shimmer 7s ease-in-out infinite;
}
.teams-hero__lead {
  margin: 0;
  max-width: 520px;
  font-size: clamp(14px, 2.1vw, 17px);
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.75;
}
.teams-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 1024px) {
  .teams-hero__stats {
    justify-content: flex-start;
  }
}
.teams-hero__stat {
  min-width: 108px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.teams-hero__stat strong {
  display: block;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--accent-gold);
  line-height: 1;
}
@media (max-width: 1023px) {
  .teams-hero__stat strong {
    font-size: clamp(22px, 3.4vw, 34px);
  }
}
.teams-hero__stat span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.teams-hero__bye-hint {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: clamp(18px, 2.8vw, 28px) 0 0;
  max-width: min(100%, 42rem);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: clamp(13px, 1.35vw, 15px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--text-primary) 88%, var(--accent-gold));
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent-gold) 16%, var(--bg-card)) 0%, color-mix(in srgb, var(--accent-gold) 5%, var(--bg-secondary)) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 45%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 10px 32px rgba(0, 0, 0, 0.35), 0 0 48px color-mix(in srgb, var(--accent-gold) 14%, transparent);
}
.teams-hero__bye-hint::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent-gold) 60%, transparent);
}
.teams-hero__bye-hint[hidden] {
  display: none !important;
}

.teams-marquee {
  position: relative;
  border-block: 1px solid var(--border-color);
  background: linear-gradient(90deg, var(--bg-secondary) 0%, var(--bg-card) 50%, var(--bg-secondary) 100%);
  overflow: hidden;
}
.teams-marquee::before, .teams-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}
.teams-marquee::before {
  inset-inline-start: 0;
  background: linear-gradient(to left, transparent, var(--bg-primary));
}
.teams-marquee::after {
  inset-inline-end: 0;
  background: linear-gradient(to right, transparent, var(--bg-primary));
}
.teams-marquee__inner {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  width: -moz-max-content;
  width: max-content;
  animation: teams-marquee-scroll 48s linear infinite;
}
.teams-marquee__chip {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 900;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c, var(--accent-gold)) 18%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .teams-marquee__chip {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teams-marquee__inner {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }
}
.teams-dock {
  position: sticky;
  top: calc(var(--ticker-height) + var(--navbar-height) - 1px);
  z-index: 8;
  padding: 14px 0 18px;
  margin-top: -1px;
  background: linear-gradient(to bottom, var(--bg-primary) 88%, transparent);
  backdrop-filter: blur(10px);
}
.teams-dock__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 14px 18px;
  border-radius: 32px;
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  border: 1px solid var(--border-color);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.teams-dock__search {
  flex: 1;
  min-width: min(100%, 220px);
  position: relative;
  display: flex;
  align-items: center;
}
.teams-dock__search i {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--accent-gold);
  opacity: 0.75;
  pointer-events: none;
}
.teams-dock__search input {
  width: 100%;
  padding: 12px 16px;
  padding-inline-start: 44px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.teams-dock__search input::-moz-placeholder {
  color: var(--text-muted);
}
.teams-dock__search input::placeholder {
  color: var(--text-muted);
}
.teams-dock__search input:focus {
  outline: none;
  border-color: rgba(191, 255, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(191, 255, 0, 0.12);
}
.teams-dock__sort {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.teams-dock__sort-label {
  font-size: 11px;
  font-weight: 900;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-inline-end: 4px;
}
.teams-dock__chip {
  padding: 9px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.teams-dock__chip:hover {
  color: var(--text-secondary);
  border-color: rgba(191, 255, 0, 0.25);
}
.teams-dock__chip.is-active {
  color: var(--bg-primary);
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 0 24px rgba(191, 255, 0, 0.25);
}
.teams-dock__chip:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.teams-constellation-wrap {
  padding: 8px 0 72px;
}

.teams-constellation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .teams-constellation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .teams-constellation {
    gap: 12px;
  }
}

.teams-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
  text-decoration: none !important;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.teams-card__orbit {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 210deg, transparent 0deg, color-mix(in srgb, var(--team) 35%, transparent) 55deg, transparent 120deg, transparent 360deg);
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1), transform 12s linear;
  pointer-events: none;
  animation: teams-orbit-spin 14s linear infinite;
}
.teams-card__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.teams-card__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px 18px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: inherit;
  box-shadow: var(--shadow-card);
  gap: 14px;
}
.teams-card__badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  background: var(--team);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  overflow: hidden;
}
.teams-card__badge--has-logo {
  padding: 0;
}
.teams-card__badge--fallback i {
  font-size: 18px;
  color: #fff;
  opacity: 0.92;
}
.teams-card__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.teams-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.teams-card__season {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.teams-card__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}
.teams-card__stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.teams-card__stats dt {
  margin: 0;
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.teams-card__stats dd {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.teams-card__chev {
  position: absolute;
  inset-inline-end: 14px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  opacity: 0.65;
  transition: opacity 150ms ease, color 150ms ease, background 150ms ease;
}
.teams-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px color-mix(in srgb, var(--team) 45%, transparent);
}
.teams-card:hover .teams-card__orbit {
  opacity: 0.55;
}
.teams-card:hover .teams-card__inner {
  border-color: color-mix(in srgb, var(--team) 35%, var(--border-color));
}
.teams-card:hover .teams-card__chev {
  opacity: 1;
  color: var(--accent-gold);
  background: rgba(191, 255, 0, 0.08);
}
.teams-card:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

.teams-empty {
  text-align: center;
  padding: 48px 20px;
  border-radius: 20px;
  border: 1px dashed var(--border-color);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  margin-top: 12px;
}
.teams-empty[hidden] {
  display: none;
}

.teams-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
}
.teams-meta strong {
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
}

.teams-competition-hint {
  margin: 0 0 8px;
  min-height: 1.4em;
}
.teams-competition-hint:empty {
  display: none;
}

.teams-meta__switch {
  font-weight: 800;
  color: var(--accent-gold);
  text-decoration: none !important;
  margin-inline: 4px;
}

.teams-cta {
  margin: 48px 0 0;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(191, 255, 0, 0.09) 0%, transparent 45%), var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.teams-cta__text {
  max-width: 480px;
}
.teams-cta__title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 900;
  color: var(--text-primary);
}
@media (max-width: 1023px) {
  .teams-cta__title {
    font-size: clamp(1.02rem, 2vw, 1.45rem);
  }
}
.teams-cta__sub {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
}
.teams-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes teams-aurora-shift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-4%, 2%) scale(1.04);
  }
}
@keyframes teams-ring-pulse {
  0%, 100% {
    opacity: 0.28;
  }
  50% {
    opacity: 0.52;
  }
}
@keyframes teams-title-shimmer {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}
@keyframes teams-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes teams-orbit-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.team-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  background: var(--bg-primary);
  overflow-x: hidden;
}

.team-detail-app {
  position: relative;
}

.team-hero {
  position: relative;
  padding: 0 0 clamp(32px, 5vw, 48px);
  margin-bottom: 0;
  overflow: hidden;
}
.team-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 55%, var(--bg-primary) 100%);
}
.team-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255, 255, 255, 0.02) 40px, rgba(255, 255, 255, 0.02) 41px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
          mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}
.team-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 32px) 0;
}
.team-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.team-hero__crumbs a {
  color: var(--text-secondary);
  text-decoration: none !important;
  transition: color 150ms ease;
}
.team-hero__crumbs a:hover {
  color: var(--accent-gold);
}
.team-hero__crumbs [aria-hidden=true] {
  opacity: 0.4;
}
.team-hero__row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 4vw, 40px);
  flex-wrap: wrap;
}
.team-hero__branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  flex-shrink: 0;
}
.team-hero__kit {
  --jersey-fill: var(--team);
  --lineup-accent: var(--team);
  --jersey-highlight: color-mix(in srgb, var(--team) 48%, #ffffff);
  --jersey-shadow-tone: color-mix(in srgb, var(--team) 55%, #0a0a0a);
  --jersey-ink: rgba(255, 255, 255, 0.94);
  --jersey-stroke: rgba(255, 255, 255, 0.22);
  --jersey-collar: rgba(255, 255, 255, 0.2);
}
.team-hero__kit .md-lineups__jersey-svg {
  width: clamp(72px, 14vw, 92px);
}
.team-hero__kit--white {
  --jersey-fill: #f4f4f4;
  --lineup-accent: var(--team);
  --jersey-highlight: #ffffff;
  --jersey-shadow-tone: #c4c4c4;
  --jersey-ink: #121212;
  --jersey-stroke: rgba(0, 0, 0, 0.14);
  --jersey-collar: rgba(0, 0, 0, 0.2);
}
.team-hero__kit--white .md-lineups__jersey-body {
  stroke: rgba(0, 0, 0, 0.14) !important;
}
.team-hero__kit--white .md-lineups__jersey-svg path[fill=none] {
  stroke: rgba(0, 0, 0, 0.2) !important;
}
.team-hero__kit--white .md-lineups__jersey-badge {
  fill: rgba(0, 0, 0, 0.1);
  stroke: rgba(0, 0, 0, 0.16);
}
.team-hero__kit--white .md-lineups__jersey-under {
  opacity: 0.2;
}
.team-hero__badge {
  width: clamp(88px, 13.5vw, 120px);
  height: clamp(88px, 13.5vw, 120px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.45rem, 3.1vw, 2.1rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  background: color-mix(in srgb, var(--team) 70%, #111);
  border: 2px solid color-mix(in srgb, var(--team) 50%, #fff 15%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 20px 50px color-mix(in srgb, var(--team) 45%, transparent);
  overflow: hidden;
}
.team-hero__badge--has-logo {
  padding: 0;
}
.team-hero__badge--fallback i {
  font-size: clamp(1rem, 2vw, 1.45rem);
  color: #fff;
  opacity: 0.92;
}
.team-hero__badge {
  flex-shrink: 0;
}
.team-hero__title-block {
  text-align: right;
  min-width: 0;
}
.team-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.team-hero__kicker i {
  color: var(--accent-gold);
  opacity: 0.9;
}
.team-hero__name {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
@media (max-width: 1023px) {
  .team-hero__name {
    font-size: clamp(1.45rem, 3.4vw, 2.5rem);
  }
}
.team-hero__tagline {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 520px;
}

.team-statbar {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: -20px auto 0;
  padding: 0 clamp(16px, 3vw, 24px) 32px;
}
.team-statbar__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  padding: clamp(16px, 2.5vw, 22px);
  border-radius: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}
.team-statbar__item {
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  min-width: 0;
}
.team-statbar__item--highlight {
  background: rgba(191, 255, 0, 0.06);
  border: 1px solid var(--border-gold);
}
.team-statbar__val {
  display: block;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  line-height: 1.2;
}
.team-statbar__lbl {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: none;
}

.team-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px) clamp(48px, 6vw, 72px);
}

.team-section {
  margin-top: clamp(36px, 5vw, 52px);
}
.team-section__head {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.team-section__title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 900;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-section__title i {
  color: var(--accent-gold);
  opacity: 0.9;
}
.team-section__sub {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.team-section h2#team-news-h {
  margin-bottom: 10px;
}

.team-form {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.team-form__label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
}
.team-form__pill {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}
.team-form__pill--W {
  background: var(--color-win);
}
.team-form__pill--D {
  background: color-mix(in srgb, var(--color-draw) 80%, #555);
  color: #0a0a0a;
}
.team-form__pill--L {
  background: var(--color-loss);
}

.team-matches {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-match {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.team-match:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.team-match__meta {
  text-align: center;
  min-width: 0;
}
.team-match__round {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-gold);
}
.team-match__date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.team-match__line {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.team-match__score {
  font-variant-numeric: tabular-nums;
}
.team-match__vs {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}
.team-match__badge {
  min-width: 40px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 8px;
}
.team-match__badge--W {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-win);
}
.team-match__badge--D {
  background: rgba(191, 255, 0, 0.1);
  color: var(--accent-gold);
}
.team-match__badge--L {
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-loss);
}
.team-match__badge--live {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
}
.team-match__badge--up {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
}
@media (max-width: 560px) {
  .team-match {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.team-manager {
  max-width: 640px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 2.5vw, 1.35rem);
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.team-manager__media {
  flex: 0 0 auto;
}
.team-manager__portrait {
  width: clamp(120px, 32vw, 160px);
  aspect-ratio: 3/4;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #141416;
  border: 1px solid color-mix(in srgb, var(--team) 35%, var(--border-color));
  box-shadow: 0 2px 0 color-mix(in srgb, var(--team) 22%, transparent), 0 10px 28px rgba(0, 0, 0, 0.3);
}
.team-manager__figure {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--team) 30%, #1a1a1e) 0%, #0c0c0e 100%);
}
.team-manager__silhouette {
  font-size: clamp(3rem, 9vw, 3.8rem);
  color: color-mix(in srgb, var(--team) 40%, #5a5a5e);
  opacity: 0.85;
}
@media (max-width: 1023px) {
  .team-manager__silhouette {
    font-size: clamp(2.5rem, 7.5vw, 3.8rem);
  }
}
.team-manager__body {
  flex: 1;
  min-width: 0;
  text-align: right;
}
.team-manager__kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
}
.team-manager__name {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-primary);
}
.team-manager__nat {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}
.team-manager__flag {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.team-manager__flag .nat-flag-img {
  display: block;
  width: 32px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}
.team-manager__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}
.team-manager li {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
}
.team-manager__meta-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.team-manager__meta-val {
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.team-manager__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  display: block;
}

.team-manager--has-photo .team-manager__portrait {
  width: clamp(200px, 42vw, 250px);
  aspect-ratio: 4/5;
}

@media (max-width: 768px) {
  .team-manager {
    flex-direction: column;
    text-align: center;
    max-width: 400px;
    margin-inline: auto;
  }
  .team-manager__body, .team-manager__nat {
    text-align: center;
    justify-content: center;
  }
  .team-manager__meta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
[data-theme=light] .team-manager__portrait {
  background: #f4f4f5;
}
[data-theme=light] .team-manager__figure {
  background: linear-gradient(160deg, color-mix(in srgb, var(--team) 18%, #f0f0f2) 0%, #e8e8ea 100%);
}
[data-theme=light] .team-manager__silhouette {
  color: color-mix(in srgb, var(--team) 35%, #6b7280);
}
[data-theme=light] .team-manager--has-photo .team-manager__portrait {
  background: #0a0a0a;
}

.team-squad {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .team-squad {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }
}

a.team-player--link {
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
a.team-player--link:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

.team-player {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.team-player--link:hover, .team-player--link:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--team) 45%, var(--border-color));
  box-shadow: var(--shadow-gold), 0 16px 40px rgba(0, 0, 0, 0.45);
}
.team-player__media {
  position: relative;
  flex: 0 0 auto;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border-color);
  min-height: 0;
}
.team-player__media-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #101010 0%, var(--bg-secondary) 100%);
}
.team-player__portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 200px;
  margin-inline: auto;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  background: #161616;
  border: 1px solid color-mix(in srgb, var(--team) 28%, var(--border-color));
  box-shadow: 0 2px 0 color-mix(in srgb, var(--team) 20%, transparent), 0 12px 28px rgba(0, 0, 0, 0.35);
}
.team-player__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.team-player__avatar {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1e1e1e 0%, #111 100%);
}
.team-player__silhouette {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(4rem, 12vw, 5.2rem);
  color: color-mix(in srgb, var(--team) 32%, #3a3a3a);
  opacity: 0.28;
}
@media (max-width: 1023px) {
  .team-player__silhouette {
    font-size: clamp(3.25rem, 9.5vw, 5.2rem);
  }
}
.team-player__jersey {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  min-width: 42px;
  height: 36px;
  padding: 0 12px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(14, 14, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--accent-gold);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.22);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f1f1f2;
  letter-spacing: 0.01em;
  line-height: 1;
}
.team-player__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  text-align: right;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--border-color);
  gap: 8px;
}
.team-player__name {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-primary);
}
.team-player__pos-line {
  margin: 0 0 6px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--text-primary) 82%, var(--accent-gold));
  background: linear-gradient(125deg, color-mix(in srgb, var(--accent-gold) 15%, var(--bg-primary)) 0%, color-mix(in srgb, var(--accent-gold) 5%, var(--bg-secondary)) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 32%, var(--border-color));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 4px 16px rgba(0, 0, 0, 0.2);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}
.team-player__nat {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}
.team-player__flag {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.team-player__flag .nat-flag-img {
  display: block;
  width: 26px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.team-player__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
}
.team-player__fact {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}
.team-player__fact--wide {
  grid-column: 1/-1;
}
.team-player__fact--height > dt,
.team-player__fact--height > dd {
  white-space: nowrap;
  flex-shrink: 0;
}
.team-player__fact dt {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  line-height: 1.25;
  text-align: right;
}
.team-player__fact dt i {
  font-size: 10px;
  opacity: 0.7;
  color: var(--accent-gold);
}
.team-player__fact dd {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

[data-theme=light] .team-player__media-bg {
  background: linear-gradient(180deg, #f3f3f3 0%, #e8e8e8 100%);
}
[data-theme=light] .team-player__portrait {
  background: #fafafa;
  border-color: color-mix(in srgb, var(--team) 30%, #d4d4d4);
  box-shadow: 0 2px 0 color-mix(in srgb, var(--team) 15%, #ccc), 0 8px 20px rgba(0, 0, 0, 0.08);
}
[data-theme=light] .team-player__avatar {
  background: linear-gradient(180deg, #f3f3f3, #e5e5e5);
}
[data-theme=light] .team-player__silhouette {
  color: color-mix(in srgb, var(--team) 28%, #94a3b8);
}
[data-theme=light] .team-player__jersey {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 3px solid var(--accent-gold);
  color: #0b1220;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.team-achv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.team-achv-card {
  padding: 18px 18px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(191, 255, 0, 0.07) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-color);
}
.team-achv-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(191, 255, 0, 0.1);
  color: var(--accent-gold);
  margin-bottom: 10px;
}
.team-achv-card__title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  margin: 0 0 4px;
}
.team-achv-card__name {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 2px;
}
.team-achv-card__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.team-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 1024px) {
  .team-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-gallery__item {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  display: block;
  text-decoration: none;
  color: inherit;
}
.team-gallery__item--linked:hover {
  border-color: color-mix(in srgb, var(--team) 40%, var(--border-color));
}
.team-gallery__item::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
.team-gallery__item-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.team-news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.team-news__card {
  display: block;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.team-news__card:hover {
  border-color: var(--border-gold);
}
.team-news__card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}
.team-news__card p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.45;
}
.team-news__card .team-news__date {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
}

.team-cta-standings {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.team-page .md-loading {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.player-page {
  --player-rad: 20px;
  /* يطابق .team-page: شريط الأخبار + شريط التنقل ثابتان فوق المحتوى */
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  background: var(--bg-primary);
  overflow-x: hidden;
}

.player-app {
  min-height: 40vh;
}

.player-page .md-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 40vh;
  font-weight: 800;
  color: var(--text-muted);
}

.player-hero {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
  --team: var(--accent-gold);
}
.player-hero__bg, .player-hero__mesh, .player-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.player-hero__bg {
  background-color: #0a0a0a;
  background-image: linear-gradient(160deg, color-mix(in srgb, var(--team) 18%, rgba(4, 4, 6, 0.94)) 0%, rgba(5, 5, 8, 0.9) 42%, rgba(2, 2, 4, 0.93) 100%), url("../img/player-profile.png");
  background-size: cover, cover;
  background-position: center center, center 58%;
  background-repeat: no-repeat, no-repeat;
}
.player-hero__glow {
  background: radial-gradient(70% 55% at 20% 20%, color-mix(in srgb, var(--team) 10%, #000000), rgba(0, 0, 0, 0) 70%);
}
.player-hero__mesh {
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath fill='%23fff' fill-opacity='.04' d='M0 0h48v1H0z'/%3E%3Cpath fill='%23fff' fill-opacity='.04' d='M0 0h1v48H0z'/%3E%3C/svg%3E");
}
.player-hero .container {
  position: relative;
  z-index: 1;
}
.player-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.player-hero__crumbs a {
  color: var(--text-secondary);
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.player-hero__crumbs a:hover {
  color: var(--text-primary);
  border-bottom-color: color-mix(in srgb, var(--team) 50%, #888);
}
.player-hero__crumbs > span[aria-hidden=true] {
  opacity: 0.45;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.player-hero__grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: end;
}
@media (min-width: 1024px) {
  .player-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 300px);
  }
}
@media (max-width: 1023px) {
  .player-hero__intro {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .player-hero__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.player-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.player-hero__kicker i {
  color: color-mix(in srgb, var(--team) 70%, #fff);
}
.player-hero__name {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 900;
  margin: 0 0 0.45rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (max-width: 1023px) {
  .player-hero__name {
    font-size: clamp(1.5rem, 3.8vw, 2.75rem);
  }
}
.player-hero__role-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  align-items: center;
  margin-bottom: 0.6rem;
}
.player-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--team) 12%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--team) 25%, var(--border-color));
  color: var(--text-primary);
}
.player-hero__team {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  text-decoration: none !important;
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
  padding: 0.15rem 0.2rem 0.15rem 0.25rem;
  margin: -0.15rem;
  border-radius: 8px;
  max-width: 100%;
}
.player-hero__team .player-hero__team-crest {
  width: clamp(2.65rem, 5.5vw, 3.35rem);
  height: clamp(2.65rem, 5.5vw, 3.35rem);
  flex-shrink: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--team) 30%, #333);
}
.player-hero__team:hover {
  color: var(--text-primary);
  border-bottom-color: color-mix(in srgb, var(--team) 50%, #888);
  background: color-mix(in srgb, var(--team) 6%, transparent);
}
.player-hero__pos-line {
  margin: 0 0 0;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.player-hero__nat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0 0 0.2rem;
}
.player-hero__intro > * {
  margin-block-end: 0;
}
.player-hero__flag {
  display: flex;
}
.player-hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .player-hero__media {
    width: 70%;
  }
}
@media (min-width: 1024px) {
  .player-hero__media {
    max-width: none;
  }
}
.player-hero__frame {
  position: relative;
  border-radius: var(--player-rad);
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(150deg, color-mix(in srgb, var(--team) 18%, #101014), #0c0c10 70%);
  border-left: 3px solid var(--team);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.player-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.player-hero__avatar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-hero__silhouette {
  font-size: clamp(4.5rem, 18vw, 6.5rem);
  color: color-mix(in srgb, var(--team) 32%, #94a3b8);
}
@media (max-width: 1023px) {
  .player-hero__silhouette {
    font-size: clamp(3.6rem, 14vw, 6.5rem);
  }
}
.player-hero__jersey {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  min-width: 42px;
  height: 36px;
  padding: 0 12px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(14, 14, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--team);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.22);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f1f1f2;
  letter-spacing: 0.01em;
  line-height: 1;
}

[data-theme=light] .player-hero__jersey {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 3px solid var(--team);
  color: #0b1220;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme=light] .player-hero__bg {
  background-image: linear-gradient(160deg, color-mix(in srgb, var(--team) 12%, rgba(255, 255, 255, 0.9)) 0%, rgba(241, 245, 249, 0.93) 100%), url("../img/player-profile.png");
}

.player-statbar {
  border-block: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 0.5rem 0;
  --team: var(--accent-gold);
}
.player-statbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
}
.player-statbar__item {
  min-width: 4.2rem;
  text-align: center;
}
.player-statbar__val {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.player-statbar__lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.player-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.25rem clamp(1rem, 3vw, 1.5rem) 3rem;
}

.player-section {
  margin-bottom: 2.25rem;
}
.player-section__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0 0 0.35rem;
}
.player-section__title i {
  color: color-mix(in srgb, var(--team) 80%, #fff);
}
.player-section__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.player-section__h3 {
  font-size: 0.95rem;
  font-weight: 900;
  margin: 1.25rem 0 0.65rem;
  color: var(--text-secondary);
}

.player-core-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}
@media (min-width: 640px) {
  .player-core-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.player-core-stats__item {
  position: relative;
  padding: 0.9rem 0.75rem 0.7rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-height: 5.2rem;
  justify-content: center;
}

.player-core-stats__icon {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
  opacity: 0.9;
}
.player-core-stats__icon svg {
  display: block;
  width: 1.35em;
  height: 1.35em;
}
.player-core-stats__icon .player-core-stats__goal-icon,
.player-core-stats__icon .player-core-stats__cleat-icon {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.player-core-stats__val {
  font-size: 1.55rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--text-primary);
}

.player-core-stats__lbl {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 11em;
}

.player-core-stats__item--goals .player-core-stats__icon {
  color: color-mix(in srgb, var(--team) 90%, #fff);
}

.player-core-stats__item--asst .player-core-stats__icon {
  color: #ea580c;
}

.player-core-stats__item--yellow .player-core-stats__icon {
  color: #facc15;
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.25));
}

.player-core-stats__item--red .player-core-stats__icon {
  color: #ef4444;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.2));
}

.player-core-stats__item--goals {
  border-color: color-mix(in srgb, var(--team) 25%, var(--border-color));
  background: linear-gradient(160deg, color-mix(in srgb, var(--team) 8%, var(--bg-card)) 0%, var(--bg-card) 100%);
}

.player-core-stats__item--yellow,
.player-core-stats__item--red {
  min-height: 5rem;
}

.player-info {
  display: grid;
  gap: 0.6rem 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 1.5rem;
}

.player-info__item {
  padding: 0.7rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.1rem;
  text-align: center;
}

.player-info__dt {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  width: 100%;
}

.player-info__dd {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  width: 100%;
  text-align: center;
}

.player-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
}

.player-bento__card {
  position: relative;
  padding: 0.9rem 0.85rem 0.75rem;
  border-radius: 12px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--team) 9%, var(--bg-card)) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-color);
  overflow: hidden;
  min-height: 3.2rem;
}

.player-bento__val {
  font-size: 1.2rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.player-bento__k {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1.35;
}

.player-bento__accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--team), transparent);
  opacity: 0.75;
}

.player-tactical-note {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--team) 25%, var(--border-color));
  background: color-mix(in srgb, var(--team) 5%, var(--bg-card));
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 600;
}

.player-analytics {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .player-analytics {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
  }
}

.player-chart {
  position: relative;
  padding: 1rem 0.5rem 0.25rem;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.player-chart__caption {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
  max-width: 20rem;
  line-height: 1.4;
}
.player-chart canvas {
  max-width: 100%;
}

.player-analytics__aside {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.player-analytics__pill {
  flex: 1;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
}

.player-analytics__pill-k {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
}

.player-analytics__pill-v {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.player-log-wrap {
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-card);
}

.player-log {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
@media (min-width: 640px) {
  .player-log {
    font-size: 0.82rem;
  }
}
.player-log th,
.player-log td {
  padding: 0.55rem 0.5rem;
  text-align: right;
}
.player-log thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-secondary);
  font-weight: 800;
}
.player-log tbody tr {
  border-top: 1px solid var(--border-color);
  transition: background 150ms ease;
}
.player-log tbody tr:hover {
  background: color-mix(in srgb, var(--team) 4%, var(--bg-card));
}

.player-log__round {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  white-space: nowrap;
}

.player-log__date {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.player-log__opp {
  font-weight: 800;
  max-width: 10rem;
}
@media (min-width: 640px) {
  .player-log__opp {
    max-width: 14rem;
  }
}

.player-log__sc {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: embed;
  text-align: center;
}

.player-log__min {
  font-weight: 800;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.player-log__note {
  color: var(--text-muted);
  font-weight: 600;
  max-width: 8rem;
}

.player-log__out {
  display: inline-flex;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.player-log__out--W {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.player-log__out--D {
  background: rgba(250, 204, 21, 0.1);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.player-log__out--L {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.player-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.player-hero__team-crest--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.player-hero__team-crest--icon i {
  font-size: clamp(1.35rem, 2.85vw, 1.75rem);
  color: #fff;
  opacity: 0.9;
}

.player-hero__team-crest--img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--team) 30%, #333);
}

.news-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  background: var(--bg-primary);
  overflow-x: hidden;
}

.news-app {
  min-height: 40vh;
}
.news-app [id^=n] {
  scroll-margin-top: calc(var(--ticker-height) + var(--navbar-height) + 0.75rem);
}

.news-page .md-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40vh;
  color: var(--text-muted);
  font-weight: 800;
}

.news-kicker {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem clamp(1rem, 3vw, 1.5rem) 0.5rem;
}

.news-kicker__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.35rem;
}

.news-kicker__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.news-kicker__eyebrow i {
  color: var(--accent-gold);
}

.news-kicker__count {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.news-kicker__title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 900;
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
@media (max-width: 1023px) {
  .news-kicker__title {
    font-size: clamp(1.45rem, 3.4vw, 2.4rem);
  }
}

.news-kicker__sub {
  margin: 0;
  max-width: 42rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-muted);
}

.news-toolbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 3vw, 1.5rem) 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
@media (min-width: 900px) {
  .news-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.news-toolbar__search {
  flex: 1;
  min-width: 0;
  max-width: 420px;
  position: relative;
}
.news-toolbar__search i {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 0.85rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.news-toolbar__input {
  width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.news-toolbar__input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent-gold) 45%, var(--border-color));
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}
.news-toolbar__input::-moz-placeholder {
  color: var(--text-muted);
}
.news-toolbar__input::placeholder {
  color: var(--text-muted);
}

.news-toolbar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
}

.news-toolbar__tag {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.news-toolbar__tag:hover, .news-toolbar__tag:focus-visible {
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--accent-gold) 50%, var(--border-color));
}
.news-toolbar__tag.is-active {
  background: color-mix(in srgb, var(--accent-gold) 12%, var(--bg-card));
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.news-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 3vw, 1.5rem) 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .news-row {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}

.news-spotlight {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none !important;
  color: inherit;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.news-spotlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.news-spotlight:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.news-spotlight__media {
  position: relative;
  flex: 1;
  min-height: 200px;
  background: var(--g1, #1a1a1e);
}

.news-spotlight__media--photo {
  overflow: hidden;
}
.news-spotlight__media--photo .news-spotlight__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}
.news-spotlight__media--photo .news-spotlight__glow {
  z-index: 1;
}

.news-spotlight__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 80% 20%, color-mix(in srgb, var(--accent-gold) 25%, transparent), transparent 55%);
  pointer-events: none;
}

.news-spotlight__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  opacity: 0.2;
  filter: grayscale(0.2);
}

.news-spotlight__body {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1.15rem 1.2rem;
  background: linear-gradient(180deg, transparent 0%, var(--bg-card) 28%);
  margin-top: -3rem;
}

.news-spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin-bottom: 0.4rem;
}

.news-spotlight__chip {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  padding: 0.1rem 0.35rem;
  border: 1px solid color-mix(in srgb, var(--accent-gold) 35%, transparent);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
}

.news-spotlight__h {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 900;
  margin: 0 0 0.45rem;
  line-height: 1.25;
  color: var(--text-primary);
}
@media (max-width: 1023px) {
  .news-spotlight__h {
    font-size: clamp(1.02rem, 2vw, 1.5rem);
  }
}

.news-spotlight__ex {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-spotlight__ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.news-spotlight__ft .fa-arrow-left {
  color: var(--accent-gold);
  transition: transform 150ms ease;
}
.news-spotlight__ft:hover .fa-arrow-left {
  transform: translateX(-3px);
}

.news-rail {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.25rem 0 0;
}

.news-rail__head {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.2rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-color);
}

.news-rail__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.55rem;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit;
  border: 1px solid transparent;
  background: var(--bg-secondary);
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.news-rail__item:hover {
  background: var(--bg-card);
  border-color: var(--border-color);
}
.news-rail__item:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 1px;
}

.news-rail__thumb {
  box-sizing: border-box;
  width: 72px;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: linear-gradient(140deg, color-mix(in srgb, var(--g, #2a2a2f) 80%, #111), #0e0e12);
  flex-shrink: 0;
  align-self: start;
}

.news-rail__thumb--photo {
  /* Override flex — as a flex item, <img> was keeping intrinsic height (~40–96px). */
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  flex-shrink: 0;
}
.news-rail__thumb--photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  pointer-events: none;
}

.news-rail__h {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 0.2rem;
  color: var(--text-primary);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  -moz-column-gap: 0.45rem;
       column-gap: 0.45rem;
  row-gap: 0.25rem;
}

.news-rail__tags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  max-width: 100%;
}

.news-rail__title {
  flex: 1 1 140px;
  min-width: 0;
  margin: 0;
  font: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-rail__d {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

.news-mosaic-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 1.5rem) 2.5rem;
}

.news-mosaic__title {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}

.news-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .news-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .news-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.news-mosaic__cell {
  position: relative;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  transition: transform 0.3s 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms ease;
}
.news-mosaic__cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: color-mix(in srgb, var(--accent-gold) 25%, var(--border-color));
}
.news-mosaic__cell:hover .news-mosaic__media {
  filter: brightness(1.06);
}

.news-mosaic__media {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 8.5rem;
  background: linear-gradient(150deg, #1c1c22, #111116);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  opacity: 0.9;
  transition: filter 150ms ease;
}
@media (max-width: 1023px) {
  .news-mosaic__media {
    font-size: clamp(1.45rem, 2.7vw, 2.5rem);
  }
}
.news-mosaic__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.news-mosaic__body {
  padding: 0.65rem 0.8rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-mosaic__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  margin-bottom: 0.3rem;
}

.news-mosaic__tag {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.news-mosaic__h {
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 0.4rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-mosaic__ex {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 0 0 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-mosaic__ft {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: auto;
}
.news-mosaic__ft .fa-chevron-left {
  font-size: 0.6rem;
  color: var(--accent-gold);
}

.news-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 0.95rem;
}
.news-empty.is-hidden {
  display: none;
}

[data-theme=light] .news-spotlight__body {
  background: linear-gradient(180deg, transparent 0%, var(--bg-card) 32%);
}
[data-theme=light] .news-rail__item:hover {
  background: #f8f8f8;
}

.news-article-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  background: var(--bg-primary);
}

.na-app {
  min-height: 40vh;
}

.news-article-page .md-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40vh;
  color: var(--text-muted);
  font-weight: 800;
}

.na {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem) 3.5rem;
}

.na__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 1.25rem 0 0.75rem;
}
.na__breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none !important;
}
.na__breadcrumb a:hover {
  color: var(--accent-gold);
}
.na__breadcrumb .fa-chevron-left {
  font-size: 0.55rem;
  opacity: 0.6;
}

.na__hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 0 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16/9;
  max-height: 56vh;
  background: #0a0a0c;
}

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

.na__hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.na__title {
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text-primary);
}
@media (max-width: 1023px) {
  .na__title {
    font-size: clamp(1.15rem, 3.4vw, 2rem);
  }
}

.na__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.na__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.na__meta-item i {
  color: var(--accent-gold);
  opacity: 0.85;
}

.na__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.na__tag {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 9999px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.na__prose {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.85;
  color: var(--text-secondary);
}
.na__prose p {
  margin: 0 0 1.15rem;
}
.na__prose p:last-child {
  margin-bottom: 0;
}

.na-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 2rem 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.na-share__label {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  width: 100%;
}
@media (min-width: 520px) {
  .na-share__label {
    width: auto;
    margin-inline-end: 0.35rem;
  }
}

.na-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-decoration: none !important;
  cursor: pointer;
  font-family: inherit;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.na-share__btn:hover {
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--accent-gold) 45%, var(--border-color));
  background: var(--bg-card);
}
.na-share__btn--print {
  margin-inline-start: auto;
}
.na-share__btn .fa-whatsapp {
  color: #25d366;
}
.na-share__btn .fa-facebook {
  color: #1877f2;
}
.na-share__btn .fa-x-twitter {
  color: #e7e7e7;
}
.na-share__btn .fa-telegram {
  color: #2aabee;
}

[data-theme=light] .na-share__btn .fa-x-twitter {
  color: #0f1419;
}

.na-com {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.na-com__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.na-com__h {
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0;
  color: var(--text-primary);
}

.na-com__count {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.na-com__odoo {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  margin-bottom: 1.25rem;
}
.na-com__odoo i {
  color: var(--accent-gold);
  margin-inline-end: 0.35rem;
}

.na-com__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.na-comment {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.75rem 0.9rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-color);
}
.na-comment:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.na-comment__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  overflow: hidden;
}
.na-comment__avatar i {
  font-size: 1.05rem;
  opacity: 0.85;
}
.na-comment__avatar--img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.na-comment__body {
  min-width: 0;
}

.na-comment__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.3rem;
}

.na-comment__name {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--text-primary);
}

.na-comment__time {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.na-comment__staff {
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent-gold) 15%, var(--bg-secondary));
  color: var(--accent-gold);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 30%, var(--border-color));
}

.na-comment__text {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--text-secondary);
}

.na-comment__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.na-comment__bar--sub {
  margin-top: 0.1rem;
}

.na-comment__like {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  border-radius: 9999px;
  transition: background 150ms ease, color 150ms ease;
}
.na-comment__like:hover, .na-comment__like.is-liked {
  color: var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 8%, transparent);
}

.na-comment__reply {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem 0.2rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  border-radius: 9999px;
  transition: background 150ms ease, color 150ms ease;
}
.na-comment__reply i {
  font-size: 0.65rem;
  opacity: 0.9;
}
.na-comment__reply:hover {
  color: var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 8%, transparent);
}

.na-comment__replies {
  list-style: none;
  margin: 0.75rem 0 0 0;
  padding: 0.75rem 0 0 0.65rem;
  border-inline-start: 2px solid color-mix(in srgb, var(--accent-gold) 30%, var(--border-color));
}

.na-comment--reply {
  grid-template-columns: 36px 1fr;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-color);
}
.na-comment--reply:last-child {
  border: none;
  margin: 0;
  padding: 0;
}
.na-comment--reply .na-comment__avatar {
  width: 36px;
  height: 36px;
}
.na-comment--reply .na-comment__avatar i {
  font-size: 0.9rem;
}

.na-form {
  padding: 1.1rem 1rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.na-form__h {
  font-size: 0.95rem;
  font-weight: 900;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.na-form__identity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.na-form__identity-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.na-form__identity-avatar--img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.na-form__identity-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.na-form__identity-label strong {
  color: var(--text-primary);
  font-weight: 900;
}

.na-form__replying {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.9rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.4;
  background: color-mix(in srgb, var(--accent-gold) 6%, var(--bg-secondary));
  border: 1px solid color-mix(in srgb, var(--accent-gold) 22%, var(--border-color));
  border-radius: 8px;
}
.na-form__replying i {
  color: var(--accent-gold);
  font-size: 0.75rem;
}
.na-form__replying strong {
  color: var(--text-primary);
  font-weight: 800;
}

.na-form__replying-cancel {
  margin-inline-start: auto;
  padding: 0.2rem 0.55rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: color 150ms ease, background 150ms ease;
}
.na-form__replying-cancel:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.na-form__row {
  margin-bottom: 0.75rem;
}
.na-form__row:last-of-type {
  margin-bottom: 0.65rem;
}

.na-form__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.na-form__input,
.na-form__textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.na-form__input:focus,
.na-form__textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent-gold) 40%, var(--border-color));
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}
.na-form__input::-moz-placeholder, .na-form__textarea::-moz-placeholder {
  color: var(--text-muted);
}
.na-form__input::placeholder,
.na-form__textarea::placeholder {
  color: var(--text-muted);
}

.na-form__textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}

.na-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.na-form__hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  flex: 1;
  min-width: 0;
}

.na-toast {
  margin-top: 0.75rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-secondary));
  border: 1px solid color-mix(in srgb, var(--accent-gold) 30%, var(--border-color));
  color: var(--text-primary);
  display: none;
}
.na-toast.is-visible {
  display: block;
}

.na-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  max-width: 1200px;
  margin-inline: auto;
}

.na-related__h {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.na-related__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .na-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.na-related__card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.na-related__card:hover {
  border-color: color-mix(in srgb, var(--accent-gold) 30%, var(--border-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.na-related__media {
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
}
.na-related__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.na-related__box {
  padding: 0.6rem 0.75rem 0.75rem;
}

.na-related__t {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.na-related__d {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.gallery-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  overflow-x: hidden;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, color-mix(in srgb, var(--accent-gold) 9%, transparent) 0%, transparent 55%), var(--bg-primary);
}
[data-theme=light] .gallery-page {
  background: radial-gradient(ellipse 100% 70% at 50% 0%, color-mix(in srgb, var(--accent-gold) 14%, transparent) 0%, transparent 50%), var(--bg-primary);
}

.gallery-app {
  min-height: 40vh;
}

.gallery-page .md-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40vh;
  color: var(--text-muted);
  font-weight: 800;
}

.gallery-kicker {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem clamp(1rem, 3vw, 1.5rem) 0.5rem;
}

.gallery-kicker__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.35rem;
}

.gallery-kicker__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.gallery-kicker__eyebrow i {
  color: var(--accent-gold);
}

.gallery-kicker__count {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.gallery-kicker__title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 900;
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
@media (max-width: 1023px) {
  .gallery-kicker__title {
    font-size: clamp(1.45rem, 3.4vw, 2.4rem);
  }
}

.gallery-kicker__sub {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-muted);
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color, #222);
  background: color-mix(in srgb, var(--bg-secondary, #111) 92%, transparent);
}

.gallery-toolbar__search {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
}
.gallery-toolbar__search i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

[dir=rtl] .gallery-toolbar__search i {
  left: auto;
  right: 0.9rem;
}

.gallery-toolbar__input {
  width: 100%;
  padding: 0.65rem 0.9rem 0.65rem 2.4rem;
  border-radius: 10px;
  border: 1px solid var(--border-color, #2a2a2a);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}
.gallery-toolbar__input:focus {
  outline: none;
  border-color: var(--accent-gold, #c9a227);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-gold) 25%, transparent);
}

[dir=rtl] .gallery-toolbar__input {
  padding: 0.65rem 2.4rem 0.65rem 0.9rem;
}

.gallery-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.gallery-toolbar__label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  width: 100%;
}
@media (min-width: 640px) {
  .gallery-toolbar__label {
    width: auto;
  }
}

.gallery-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gallery-chip {
  border: 1px solid var(--border-color, #2a2a2a);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.gallery-chip:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}
.gallery-chip.is-active {
  background: color-mix(in srgb, var(--accent-gold) 18%, var(--bg-primary));
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.gallery-toolbar__select-wrap {
  position: relative;
  min-width: 180px;
}

.gallery-toolbar__select {
  width: 100%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-color, #2a2a2a);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.gallery-toolbar__select:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.gallery-team-filter .gallery-toolbar__select.gallery-team-filter__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: right;
}
.gallery-team-filter .gallery-team-filter__btn-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}
.gallery-team-filter .gallery-team-filter__btn-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-team-filter .gallery-team-filter__btn-text-wrap,
.gallery-team-filter .gallery-team-filter__opt-text-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}
.gallery-team-filter .gallery-team-filter__btn-text-wrap .gallery-team-filter__btn-text,
.gallery-team-filter .gallery-team-filter__opt-text-wrap .gallery-team-filter__opt-text {
  flex: 1;
  min-width: 0;
}
.gallery-team-filter .gallery-team-filter__opt-text-wrap .gallery-team-filter__opt-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-team-filter .gallery-team-filter__btn-text-wrap .competition-pill,
.gallery-team-filter .gallery-team-filter__opt-text-wrap .competition-pill {
  flex-shrink: 0;
}
.gallery-team-filter .gallery-team-filter__mark {
  flex-shrink: 0;
}
.gallery-team-filter .gallery-team-filter__mark--all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.gallery-team-filter .gallery-team-filter__opt-mark--all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  min-height: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.gallery-team-filter .gallery-team-filter__opt-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.gallery-team-filter .gallery-team-filter__chev {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.55rem;
  transition: transform 0.2s ease;
}
.gallery-team-filter.is-open .gallery-team-filter__chev {
  transform: rotate(180deg);
}
.gallery-team-filter .gallery-team-filter__list {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.2rem);
  left: 0;
  right: 0;
  max-height: min(18rem, 50vh);
  overflow-y: auto;
  padding: 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--border-color, #2a2a2a);
  background: var(--bg-primary);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.gallery-team-filter .gallery-team-filter__opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: right;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.5rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.gallery-team-filter .gallery-team-filter__opt:hover {
  background: color-mix(in srgb, var(--text-primary) 6%, transparent);
}
.gallery-team-filter .gallery-team-filter__opt.is-active {
  background: color-mix(in srgb, var(--accent-gold) 16%, var(--bg-primary));
  color: var(--text-primary);
}

.gallery-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 1.5rem) 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}
@media (min-width: 520px) {
  .gallery-grid {
    gap: 1.25rem;
  }
}
@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  --card-team: var(--accent-gold);
  --g-accent-glow: rgba(5, 150, 105, 0.22);
  --g-border-mix: color-mix(in srgb, #22c55e 28%, var(--border-color));
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--g-border-mix);
  background: var(--bg-card);
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 4%, transparent), 0 18px 48px rgba(0, 0, 0, 0.22), 0 0 0 0 transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
  cursor: pointer;
  padding: 0;
  text-align: right;
  font: inherit;
  width: 100%;
  min-height: 0;
}
.gallery-card--is-video {
  --g-accent-glow: rgba(234, 88, 12, 0.28);
  --g-border-mix: color-mix(in srgb, #d97706 32%, var(--border-color));
}
[data-theme=light] .gallery-card {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.08);
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--card-team) 20%, transparent), 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 32px var(--g-accent-glow);
  border-color: color-mix(in srgb, var(--card-team) 45%, var(--g-border-mix));
}
.gallery-card:hover .gallery-card__media {
  transform: scale(1.05);
}
.gallery-card:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}
.gallery-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, #0a3d2e 0%, #11806a 50%, #0d6b4d 100%);
  pointer-events: none;
}
.gallery-card--is-video::after {
  background: linear-gradient(90deg, #7c2d12 0%, #d97706 50%, #b45309 100%);
}
.gallery-card--is-video .gallery-card__thumb {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #f97316 38%, rgba(0, 0, 0, 0.45));
}

.gallery-card__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0a0a0a;
  border-radius: 0;
}
.gallery-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 62%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-card__thumb::after {
  transform: translateX(100%);
}

.gallery-card__media {
  position: absolute;
  inset: 0;
  background: #0a0a0a center/cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.gallery-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 35%, transparent 55%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.gallery-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, #0f172a 55%, transparent);
  border: 2px solid color-mix(in srgb, #fff 55%, transparent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  padding-inline-start: 3px;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.gallery-card__badges {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  z-index: 4;
}

.gallery-badge {
  position: relative;
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.55rem;
  border-radius: 7px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 3px 10px rgba(0, 0, 0, 0.35);
  transform-origin: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}
.gallery-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 60%, transparent 100%);
  opacity: 0.55;
  transform: translateX(-80%);
  transition: transform 0.45s ease;
  pointer-events: none;
}
.gallery-badge--image {
  background: linear-gradient(145deg, #0a3d2e 0%, #0d6b4d 40%, #11806a 100%);
  border-color: color-mix(in srgb, #4ade80 45%, #fff 20%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 2px 0 rgba(0, 0, 0, 0.2), 0 4px 14px rgba(5, 150, 105, 0.35);
}
.gallery-badge--video {
  background: linear-gradient(145deg, #7c2d12 0%, #b45309 42%, #d97706 100%);
  border-color: color-mix(in srgb, #fbbf24 55%, #fff 10%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 2px 0 rgba(0, 0, 0, 0.2), 0 4px 14px rgba(217, 119, 6, 0.4);
}

.gallery-card:hover .gallery-badge {
  filter: brightness(1.1) saturate(1.1);
  transform: scale(1.06);
}
.gallery-card:hover .gallery-badge::before {
  transform: translateX(80%);
}

[data-theme=light] .gallery-card .gallery-badge {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
[data-theme=light] .gallery-card .gallery-badge--image {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 2px 0 rgba(0, 0, 0, 0.1), 0 3px 12px rgba(5, 120, 90, 0.25);
}
[data-theme=light] .gallery-card .gallery-badge--video {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 2px 0 rgba(0, 0, 0, 0.12), 0 3px 12px rgba(180, 83, 9, 0.28);
}

.gallery-card__footer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.85rem 0.9rem 0.95rem;
  text-align: right;
  background: var(--bg-card, var(--bg-secondary));
  border-top: 1px solid var(--border-color, #2a2a2a);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 5%, transparent);
}
[data-theme=light] .gallery-card__footer {
  background: var(--bg-card, #f8fafc);
  box-shadow: none;
}

.gallery-card__comp-tags {
  margin-bottom: 0.35rem;
}
.gallery-card__comp-tags .competition-pill {
  margin-inline-end: 4px;
}

.gallery-card__team-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  min-width: 0;
}

.gallery-card__team-row--multi {
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

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

.gallery-card__vs {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.9;
}

.gallery-card__team-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.gallery-card__team-mark .team-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  font-size: 0.45rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.gallery-card__team-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--text-muted) 12%, var(--bg-primary));
  border: 1px solid var(--border-color);
}

.gallery-card__team-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card__h {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.gallery-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 0.15rem;
}

.gallery-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--text-muted) 12%, var(--bg-primary));
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
}

.gallery-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-weight: 700;
}
.gallery-empty i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.gallery-lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: max(0.5rem, env(safe-area-inset-top)) 0.75rem max(0.5rem, env(safe-area-inset-bottom)) 0.75rem;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
@media (min-height: 700px) {
  .gallery-lightbox {
    justify-content: center;
  }
}
.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
}

.gallery-lightbox__inner {
  position: relative;
  z-index: 1;
  width: min(96vw, 1200px);
  max-width: 100%;
  max-height: min(92dvh, 100dvh - max(env(safe-area-inset-top), 0.5rem) - max(env(safe-area-inset-bottom), 0.5rem) - 1rem, 900px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.gallery-lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gallery-lightbox__counter {
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
}

.gallery-lightbox__close {
  margin-inline-start: auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.gallery-lightbox__stage {
  position: relative;
  margin-inline: auto;
  flex: 0 1 auto;
  width: min(100%, 138.6666666667vh);
  max-width: 100%;
  aspect-ratio: 16/9;
  max-height: 78vh;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (orientation: landscape) and (max-height: 500px) {
  .gallery-lightbox {
    padding: max(0.35rem, env(safe-area-inset-top)) 0.5rem max(0.35rem, env(safe-area-inset-bottom)) 0.5rem;
  }
  .gallery-lightbox__inner {
    width: min(98vw, 1200px);
    max-height: 100dvh;
    gap: 0.2rem;
  }
  .gallery-lightbox__stage {
    max-height: min(66dvh, calc(100dvh - 5rem));
    width: min(100%, calc(16 / 9 * min(66dvh, calc(100dvh - 5rem))));
  }
  .gallery-lightbox__close {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .gallery-lightbox__counter {
    font-size: 0.75rem;
  }
  .gallery-lightbox__caption {
    padding-top: 0.15rem;
  }
  .gallery-lightbox__title {
    font-size: 0.88rem;
    line-height: 1.3;
  }
  .gallery-lightbox__sub {
    font-size: 0.76rem;
    line-height: 1.25;
  }
  .gallery-lightbox__top {
    gap: 0.3rem;
  }
  .gallery-lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}
.gallery-lightbox__media-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.gallery-lightbox__media-wrap .gallery-lb-img,
.gallery-lightbox__media-wrap .gallery-lb-video,
.gallery-lightbox__media-wrap img,
.gallery-lightbox__media-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
.gallery-lightbox__media-wrap iframe.gallery-lb-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.gallery-lightbox__media-wrap .gallery-lb-video-missing {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s, transform 0.15s;
}
.gallery-lightbox__nav:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.7);
}
.gallery-lightbox__nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.gallery-lightbox__nav--prev {
  right: 0.5rem;
}
.gallery-lightbox__nav--next {
  left: 0.5rem;
}
@media (min-width: 900px) {
  .gallery-lightbox__nav--prev {
    right: 0.25rem;
  }
  .gallery-lightbox__nav--next {
    left: 0.25rem;
  }
}

.gallery-lightbox__caption {
  padding: 0.35rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
  width: 100%;
}

.gallery-lightbox__title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.gallery-lightbox__sub {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.gallery-lightbox__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.75rem;
  margin-top: 0.4rem;
}

.account-page {
  padding-top: calc(var(--ticker-height) + var(--navbar-height));
  min-height: 100dvh;
  background: var(--bg-primary);
}

.account-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
}
.account-hero__mesh, .account-hero__glow, .account-hero__glow2 {
  position: absolute;
  pointer-events: none;
}
.account-hero__mesh {
  inset: 0;
  background-image: linear-gradient(rgba(191, 255, 0, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(191, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.85;
}
.account-hero__glow {
  width: min(100vw, 520px);
  height: 400px;
  top: -180px;
  inset-inline-end: -100px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent-gold) 22%, transparent) 0%, transparent 70%);
  filter: blur(2px);
}
.account-hero__glow2 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  inset-inline-start: -80px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}
.account-hero .container {
  position: relative;
  z-index: 1;
}
.account-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.account-hero__crumbs a {
  color: var(--text-secondary);
  text-decoration: none !important;
  transition: color 150ms ease;
}
.account-hero__crumbs a:hover {
  color: var(--accent-gold);
}
.account-hero__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .account-hero__row {
    flex-direction: row;
    align-items: flex-end;
    text-align: start;
    justify-content: space-between;
    gap: 2rem;
  }
}
.account-hero__user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .account-hero__user {
    flex-direction: row;
    align-items: flex-end;
  }
}

.account-hero-avatar {
  position: relative;
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid color-mix(in srgb, var(--account-team) 55%, var(--border-color));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--text-primary);
}
.account-hero-avatar > i {
  position: relative;
  z-index: 1;
}
.account-hero-avatar__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.account-hero-avatar__ring {
  position: absolute;
  inset: -5px;
  z-index: 2;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--account-team) 40%, transparent);
  opacity: 0.6;
  animation: account-ring-pulse 4s ease-in-out infinite;
}

@keyframes account-ring-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.85;
  }
}
.account-hero-identity h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
}
@media (max-width: 1023px) {
  .account-hero-identity h1 {
    font-size: clamp(1.28rem, 2.8vw, 2rem);
  }
}
.account-hero-identity__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}
@media (min-width: 1024px) {
  .account-hero-identity__meta {
    justify-content: flex-start;
  }
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.account-pill--role {
  background: rgba(191, 255, 0, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(191, 255, 0, 0.25);
}
.account-pill--muted {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.account-hero-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: center;
}
@media (min-width: 1024px) {
  .account-hero-quick {
    justify-content: flex-end;
  }
}

.account-quick {
  min-width: 100px;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-align: center;
}
@media (min-width: 1024px) {
  .account-quick {
    text-align: start;
  }
}
.account-quick strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.account-quick span {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.account-shell {
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(20px, 3.5vw, 32px) 0 clamp(40px, 6vw, 80px);
}
@media (min-width: 900px) {
  .account-shell {
    grid-template-columns: 220px 1fr;
    align-items: start;
    gap: 2rem;
  }
}

@media (min-width: 900px) {
  .account-side {
    position: sticky;
    top: calc(var(--ticker-height) + var(--navbar-height) + 12px);
  }
}

.account-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
}
@media (min-width: 900px) {
  .account-nav {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}
.account-nav__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}
.account-nav__link i {
  font-size: 0.9rem;
  width: 1.1em;
  opacity: 0.85;
}
.account-nav__link:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}
.account-nav__link.is-active {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-card));
  border-color: color-mix(in srgb, var(--accent-gold) 32%, var(--border-color));
}

.account-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  padding: 0 15px;
}

.account-section {
  scroll-margin-top: calc(var(--ticker-height) + var(--navbar-height) + 16px);
}

.account-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.account-section__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-primary);
}
.account-section__head p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.account-note {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  max-width: 100%;
}
.account-note i {
  margin-inline-end: 0.35rem;
  color: var(--accent-gold);
}

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.account-form-grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 560px) {
  .account-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.account-form-grid__full {
  grid-column: 1/-1;
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.account-field label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.account-field input,
.account-field textarea,
.account-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 150ms ease;
}
.account-field input:hover:not(:focus),
.account-field textarea:hover:not(:focus),
.account-field select:hover:not(:focus) {
  border-color: color-mix(in srgb, var(--accent-gold) 20%, var(--border-color));
}
.account-field input:focus,
.account-field textarea:focus,
.account-field select:focus {
  outline: 2px solid color-mix(in srgb, var(--accent-gold) 50%, transparent);
  outline-offset: 1px;
}
.account-field textarea {
  min-height: 86px;
  resize: vertical;
}
.account-field--readonly input,
.account-field--readonly select {
  cursor: default;
}

.account-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

#account-save-status {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  min-height: 1.2em;
}

.account-empty {
  padding: 1.35rem 1rem;
  text-align: center;
  color: var(--text-muted);
}
.account-empty--inline {
  padding: 0.5rem 0;
  text-align: start;
}
.account-empty__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-secondary);
}
.account-empty__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
}
.account-empty__action {
  margin: 0.85rem 0 0;
}
.account-empty__action a {
  font-weight: 800;
  color: var(--accent-gold);
  text-decoration: none !important;
}
.account-empty__action a:hover {
  text-decoration: underline !important;
}

.account-identity-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.account-identity-list .account-identity + .account-identity {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.account-identity {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .account-identity {
    flex-direction: row;
    align-items: stretch;
  }
}

.account-identity-badge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 100px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--account-team) 18%, var(--bg-secondary));
  border: 1px solid color-mix(in srgb, var(--account-team) 35%, var(--border-color));
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.account-identity-badge--icon {
  font-size: inherit;
}
.account-identity-badge--icon i {
  font-size: 2.4rem;
  opacity: 0.95;
  color: color-mix(in srgb, var(--account-team) 88%, #fff);
}
.account-identity-badge--has-logo {
  padding: 0.65rem;
  background: var(--bg-card);
}
.account-identity-badge--has-logo .account-identity-badge__img {
  display: block;
  width: 72px;
  height: 72px;
  -o-object-fit: contain;
     object-fit: contain;
}

.account-identity-team__comp {
  display: inline-flex;
  vertical-align: middle;
  margin-inline-start: 0.35rem;
}

.account-identity-dl {
  flex: 1;
  display: grid;
  gap: 0.55rem 1.25rem;
  margin: 0;
}
@media (min-width: 480px) {
  .account-identity-dl {
    grid-template-columns: 1fr 1fr;
  }
}
.account-identity-dl div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.account-identity-dl dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.account-identity-dl dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}
.account-identity-dl a {
  color: var(--accent-gold);
  text-decoration: none !important;
  font-weight: 800;
}
.account-identity-dl__shirt {
  text-align: right;
}

.account-fav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-fav-block h3 {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.account-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem 0.45rem 0.5rem;
  border-radius: 9999px;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: border-color 150ms ease, transform 150ms ease;
}
.account-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  flex-shrink: 0;
}
.account-chip__name {
  line-height: 1.25;
}
.account-chip__comp {
  display: inline-flex;
  flex-shrink: 0;
}
.account-chip__comp .competition-pill {
  margin: 0;
}
.account-chip--team {
  color: color-mix(in srgb, var(--c) 12%, var(--text-primary));
  background: color-mix(in srgb, var(--c) 22%, var(--bg-card));
  border-color: color-mix(in srgb, var(--c) 42%, var(--border-color));
}
.account-chip--team .account-chip__name {
  color: color-mix(in srgb, var(--c) 35%, var(--text-primary));
  font-weight: 900;
}
.account-chip--player {
  background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-card));
  border-color: color-mix(in srgb, var(--accent-gold) 28%, var(--border-color));
}
.account-chip:hover {
  border-color: color-mix(in srgb, var(--accent-gold) 45%, var(--border-color));
  transform: translateY(-1px);
}
.account-chip--saved {
  padding-inline-end: 0.35rem;
}
.account-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-inline-start: 0.15rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
}
.account-chip__remove:hover {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--border-color) 60%, transparent);
}

.account-fav-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.65rem;
}
.account-fav-picker__select {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
}

.btn--sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .account-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.account-stat {
  padding: 0.9rem 0.75rem;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  text-align: center;
}
@media (min-width: 640px) {
  .account-stat {
    text-align: start;
  }
}
.account-stat__val {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--text-primary);
}
.account-stat__lbl {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
}

.account-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.account-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.account-toggle__text strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-primary);
}
.account-toggle__text span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.account-toggle__sw {
  flex-shrink: 0;
  position: relative;
  width: 48px;
  height: 28px;
  border: none;
  border-radius: 9999px;
  background: var(--border-color);
  cursor: pointer;
  padding: 0;
  transition: background 150ms ease;
}
.account-toggle__sw::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  right: 3px;
  left: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 150ms ease;
}
.account-toggle__sw[aria-checked=true] {
  background: color-mix(in srgb, var(--accent-gold) 70%, #4a4a1a);
}
.account-toggle__sw[aria-checked=true]::after {
  transform: translateX(-20px);
}

[dir=rtl] .account-toggle__sw::after {
  right: auto;
  left: 3px;
}

[dir=rtl] .account-toggle__sw[aria-checked=true]::after {
  transform: translateX(20px);
}

.account-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.account-activity li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.account-activity__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--accent-gold);
  flex-shrink: 0;
}
.account-activity__body {
  flex: 1;
  min-width: 0;
}
.account-activity__body p {
  margin: 0 0 0.2rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}
.account-activity__body time {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.account-security-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 500px) {
  .account-security-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.account-btn--signout {
  border-color: color-mix(in srgb, #ef4444 45%, var(--border-color)) !important;
  color: color-mix(in srgb, #fca5a5 40%, var(--text-secondary)) !important;
}
.account-btn--signout:hover {
  border-color: #ef4444 !important;
  color: #fecaca !important;
}

.capital-leagues-site:has(.capital-leagues-page--hub) {
  --navbar-height: 0px;
  --ticker-height: 0px;
}

.capital-leagues-site:has(.capital-leagues-page--hub) .ticker {
  display: none !important;
}

html.cl-hub-loader-active,
html.cl-hub-loader-active body {
  overflow: hidden;
}

.cl-hub-page-loader {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: grid;
  place-items: center;
  background: #030305;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.cl-hub-page-loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cl-hub-page-loader__ring {
  width: clamp(52px, 8vw, 72px);
  height: clamp(52px, 8vw, 72px);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(226, 250, 120, 0.85);
  animation: cl-hub-loader-spin 0.72s linear infinite;
  box-shadow: 0 0 48px rgba(200, 255, 120, 0.12);
}

@keyframes cl-hub-loader-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cl-hub-page-loader {
    transition-duration: 0.12s;
  }
  .cl-hub-page-loader__ring {
    animation: none;
    border-top-color: rgba(226, 250, 120, 0.55);
  }
}
.cl-hub {
  --hub-px: 0.5;
  --hub-py: 0.42;
  --vh: min(100dvh, 100svh);
  isolation: isolate;
  position: relative;
  overflow: clip;
  min-height: var(--vh);
  background: #050608;
}

.cl-hub__bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.cl-hub__ambient {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background: radial-gradient(ellipse 80% 50% at calc(var(--hub-px, 0.5) * 100%) 24%, rgba(255, 255, 255, 0.04) 0%, transparent 55%), radial-gradient(ellipse 50% 40% at 50% 100%, rgba(30, 40, 55, 0.35), transparent 60%);
}

.cl-hub__pattern-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.78;
  background: radial-gradient(ellipse 125% 75% at 50% -12%, rgba(218, 255, 138, 0.095), transparent 54%), radial-gradient(ellipse 70% 48% at 88% 96%, rgba(72, 118, 210, 0.09), transparent 60%), repeating-linear-gradient(107deg, transparent 0, transparent 112px, rgba(255, 255, 255, 0.038) 112px, rgba(255, 255, 255, 0.038) 114px), repeating-linear-gradient(-107deg, transparent 0, transparent 164px, rgba(255, 255, 255, 0.024) 164px, rgba(255, 255, 255, 0.024) 166px);
}

.cl-hub__pattern-dots {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mix-blend-mode: overlay;
}

.cl-hub__grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' opacity='0.12' fill='%23000' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cl-hub__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 45%, rgba(0, 0, 0, 0.5));
}

.cl-hub__spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle max(52vw, 320px) at 50% 44%, rgba(248, 250, 252, 0.012), transparent 70%);
}

.cl-hub__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 min(120px, 14vw) rgba(0, 0, 0, 0.45), inset 0 -60px min(100px, 12vw) rgba(0, 0, 0, 0.5);
}

.cl-hub__frame {
  position: relative;
  z-index: 2;
  min-height: var(--vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 2.5vw, 1.5rem) clamp(0.75rem, 2vw, 1.25rem);
  box-sizing: border-box;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.cl-hub__header {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.5rem, 1.35vw, 0.78rem);
  max-width: min(38rem, 93vw);
  margin-block-end: clamp(0.25rem, 1.5vw, 0.5rem);
}

.cl-hub__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-block-end: clamp(0.15rem, 0.9vw, 0.35rem);
}

.cl-hub__monogram {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0 0.38rem;
  border-radius: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(248, 250, 252, 0.94);
  text-transform: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.095);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cl-hub__eyebrow {
  margin: 0;
  padding: 0;
  font-size: clamp(0.78rem, 0.52vw + 0.62rem, 0.95rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(203, 213, 225, 0.66);
}

.cl-hub__title {
  margin: 0;
  font-size: clamp(1.85rem, 2.75vw + 1.12rem, 2.82rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: rgba(248, 250, 252, 0.98);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.cl-hub__title--dim {
  color: rgba(248, 250, 252, 0.72);
}

.cl-hub__subtitle {
  margin: 0;
  font-size: clamp(1.02rem, 1vw + 0.8rem, 1.22rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.72);
}

.cl-hub__trust {
  margin: 0;
  max-width: 30rem;
  font-size: clamp(0.84rem, 0.52vw + 0.68rem, 1rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.55);
}

.cl-hub:has(#cl-hub-page-loader):not(.cl-hub--entered) .cl-hub__header {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

@media (prefers-reduced-motion: no-preference) {
  .cl-hub.cl-hub--entered .cl-hub__header {
    animation: cl-hub-header-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.02s;
  }
}
@keyframes cl-hub-header-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cl-hub:has(#cl-hub-page-loader):not(.cl-hub--entered) .cl-hub__header {
    opacity: 1;
    transform: none;
  }
  .cl-hub.cl-hub--entered .cl-hub__header {
    animation: none;
  }
}
.cl-hub__stage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  width: 100%;
  max-width: min(100%, 1680px);
  margin-inline: auto;
  flex: 0 0 auto;
}

@media (min-width: 1200px) {
  .cl-hub__stage {
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(0.75rem, 1.8vw, 1.75rem);
    padding-inline: clamp(0.5rem, 1.5vw, 1.25rem);
  }
}
.cl-hub-pick {
  --hue: calc(200 + var(--pick-i, 0) * 42);
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  min-width: min(100%, 200px);
  max-width: 320px;
  padding: 0.35rem 0.25rem 0.5rem;
  text-decoration: none;
  color: inherit;
  outline: none;
  will-change: transform, opacity;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.35, 1), opacity 0.3s ease;
}

@media (min-width: 1200px) {
  .cl-hub-pick {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}
.cl-hub:has(#cl-hub-page-loader):not(.cl-hub--entered) .cl-hub-pick {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.945);
}

@media (prefers-reduced-motion: no-preference) {
  .cl-hub.cl-hub--entered .cl-hub-pick {
    animation: cl-hub-pick-enter 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.04s + min(var(--pick-i, 0), 14) * 0.074s);
  }
}
@keyframes cl-hub-pick-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(0.945);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
.cl-hub-pick__fig {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(100px, 14vw, 160px);
  width: 100%;
}

.cl-hub-pick__logo {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: clamp(100px, 13vw, 152px);
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.35, 1), filter 0.35s ease;
}

@media (min-width: 1200px) {
  .cl-hub-pick__fig {
    min-height: clamp(130px, 12.5vw, 200px);
  }
  .cl-hub-pick__logo {
    max-height: clamp(148px, 12vw, 208px);
  }
  .cl-hub-pick__name {
    font-size: clamp(1.14rem, 1.12vw + 0.88rem, 1.52rem);
  }
}
@media (min-width: 1400px) {
  .cl-hub-pick__fig {
    min-height: clamp(150px, 13vw, 228px);
  }
  .cl-hub-pick__logo {
    max-height: clamp(172px, 13vw, 236px);
  }
  .cl-hub-pick__name {
    font-size: clamp(1.22rem, 1.18vw + 0.94rem, 1.68rem);
  }
}
@media (min-width: 1600px) {
  .cl-hub-pick__fig {
    min-height: clamp(168px, 14vw, 252px);
  }
  .cl-hub-pick__logo {
    max-height: clamp(188px, 13.5vw, 268px);
  }
  .cl-hub-pick__name {
    font-size: clamp(1.28rem, 1.15vw + 1.02rem, 1.82rem);
  }
}
.cl-hub-pick__name {
  margin: 0;
  font-size: clamp(1.04rem, 1.62vw + 0.62rem, 1.38rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: rgba(248, 250, 252, 0.94);
  transition: color 0.25s ease;
}

.cl-hub-pick:hover,
.cl-hub-pick:focus-visible {
  transform: translateY(-4px);
}
.cl-hub-pick:hover .cl-hub-pick__logo,
.cl-hub-pick:focus-visible .cl-hub-pick__logo {
  transform: scale(1.05);
}
.cl-hub-pick:hover .cl-hub-pick__name,
.cl-hub-pick:focus-visible .cl-hub-pick__name {
  color: #fff;
}

.cl-hub-pick:focus-visible {
  box-shadow: 0 0 0 2px hsl(var(--hue), 80%, 58%);
  border-radius: 8px;
}

.cl-hub-pick--locked {
  position: relative;
  pointer-events: none;
  cursor: not-allowed;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  filter: grayscale(0.92);
  opacity: 0.62;
}
.cl-hub-pick--locked .cl-hub-pick__logo {
  filter: grayscale(1) brightness(0.72) drop-shadow(1px 2px 4px rgba(255, 255, 255, 0.35));
}
.cl-hub-pick--locked .cl-hub-pick__name {
  color: rgba(148, 163, 184, 0.72);
}

.cl-hub-pick__badge {
  position: absolute;
  top: 0;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: clamp(0.72rem, 0.42vw + 0.58rem, 0.84rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.92);
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.38);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.cl-hub__footer {
  flex: 0 0 auto;
  width: 100%;
  max-width: min(40rem, 94vw);
  margin-block-start: clamp(0.25rem, 1.8vw, 0.85rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.35, 1), transform 0.58s cubic-bezier(0.22, 1, 0.35, 1);
}

.cl-hub__footer-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  font-size: clamp(1.03rem, 0.52vw + 0.78rem, 1.2rem);
  letter-spacing: 0.045em;
}

.cl-hub__footer-wa {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.38rem;
}

.cl-hub__footer-wa-hint {
  margin: 0 0 10px;
  max-width: min(22rem, 90vw);
  text-align: center;
  font-size: clamp(0.86rem, 0.34vw + 0.7rem, 0.96rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.55);
}

.cl-hub__wa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0.46rem 1.05rem 0.46rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: clamp(0.9rem, 0.38vw + 0.75rem, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: rgba(248, 250, 252, 0.98) !important;
  background: linear-gradient(160deg, #2fe066 0%, #1ebe57 45%, #128c36 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 4px 22px rgba(18, 140, 54, 0.35), 0 2px 8px rgba(0, 0, 0, 0.45);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cl-hub__wa-button:hover {
  filter: brightness(1.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 6px 28px rgba(30, 190, 87, 0.45), 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  color: #fff !important;
}

.cl-hub__wa-button:focus-visible {
  outline: 2px solid rgba(226, 250, 120, 0.9);
  outline-offset: 3px;
}

.cl-hub__wa-button-icon {
  font-size: 1.22rem;
  line-height: 1;
  color: inherit !important;
}

.cl-hub__wa-button-text {
  color: inherit !important;
}

.cl-hub__footer-legal {
  font-size: clamp(1.03rem, 0.52vw + 0.78rem, 1.2rem);
  color: rgba(148, 163, 184, 0.42);
  font-weight: 500;
}

.cl-hub__footer-sep {
  color: rgba(148, 163, 184, 0.22);
}

.cl-hub__footer-link {
  font-size: clamp(1.03rem, 0.52vw + 0.78rem, 1.2rem);
  color: rgba(148, 163, 184, 0.4);
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.cl-hub__footer-link:hover {
  color: rgba(226, 232, 240, 0.7);
}

.cl-hub__footer-link--accent {
  letter-spacing: 0.025em;
  color: rgba(186, 230, 253, 0.45);
}
.cl-hub__footer-link--accent:hover {
  color: rgba(224, 242, 254, 0.88);
}

.cl-hub__footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.42rem 0.55rem;
  font-size: clamp(1rem, 0.48vw + 0.76rem, 1.12rem);
  letter-spacing: 0.025em;
  line-height: 1.58;
}

.cl-hub__footer-contact-label {
  color: rgba(148, 163, 184, 0.58);
  font-weight: 600;
}

.cl-hub:has(#cl-hub-page-loader):not(.cl-hub--entered) .cl-hub__footer {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

.cl-hub.cl-hub--entered .cl-hub__footer {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.45s;
}

.cl-hub__empty {
  padding: clamp(32px, 8vw, 56px) clamp(20px, 5vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 12, 14, 0.5);
  text-align: center;
  max-width: 26rem;
  border-radius: 8px;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 0.64s cubic-bezier(0.22, 1, 0.35, 1), transform 0.64s cubic-bezier(0.22, 1, 0.35, 1);
}

.cl-hub:has(#cl-hub-page-loader):not(.cl-hub--entered) .cl-hub__empty {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.98);
}

.cl-hub.cl-hub--entered .cl-hub__empty {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0.12s;
}

.cl-hub__empty-text {
  margin: 0 0 1rem;
  color: rgba(226, 232, 240, 0.78);
}

@media (prefers-reduced-motion: reduce) {
  .cl-hub:has(#cl-hub-page-loader):not(.cl-hub--entered) .cl-hub-pick,
  .cl-hub.cl-hub--entered .cl-hub-pick {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .cl-hub:has(#cl-hub-page-loader):not(.cl-hub--entered) .cl-hub__footer,
  .cl-hub.cl-hub--entered .cl-hub__footer,
  .cl-hub:has(#cl-hub-page-loader):not(.cl-hub--entered) .cl-hub__empty,
  .cl-hub.cl-hub--entered .cl-hub__empty {
    opacity: 1 !important;
    transform: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .cl-hub-pick:hover .cl-hub-pick__logo,
  .cl-hub-pick:focus-visible .cl-hub-pick__logo {
    transform: none;
  }
  .cl-hub__wa-button:hover {
    transform: none;
  }
}
@media (max-width: 480px) {
  .cl-hub__stage {
    flex-direction: column;
    align-items: center;
  }
  .cl-hub-pick {
    max-width: 280px;
  }
}
#wrapwrap.capital-leagues-site {
  direction: rtl;
  unicode-bidi: isolate;
  --bs-body-font-family: Cairo, Tajawal, system-ui, sans-serif;
  --bs-font-sans-serif: Cairo, Tajawal, system-ui, sans-serif;
  --bs-heading-font-family: Cairo, Tajawal, system-ui, sans-serif;
}
#wrapwrap.capital-leagues-site :is(h1, h2, h3, h4, h5, h6),
#wrapwrap.capital-leagues-site :is(.h1, .h2, .h3, .h4, .h5, .h6) {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif !important;
}
#wrapwrap.capital-leagues-site [class^=display-] {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif !important;
}
#wrapwrap.capital-leagues-site a,
#wrapwrap.capital-leagues-site a:hover,
#wrapwrap.capital-leagues-site a:focus,
#wrapwrap.capital-leagues-site a:focus-visible,
#wrapwrap.capital-leagues-site a:hover *,
#wrapwrap.capital-leagues-site a:focus *,
#wrapwrap.capital-leagues-site a:focus-visible * {
  text-decoration: none !important;
}/*# sourceMappingURL=main.css.map */