@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Prompt:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   COLOR SPORTS DAY - PIXEL-ACCURATE DESIGN SYSTEM (SHARP GEOMETRIC & CUT CORNERS)
   ========================================================================== */

:root {
  /* Brand Team Colors - Deep Athletic Yellow with Enhanced Contrast */
  --team-red: #FA3E3E;
  --team-green: #40BD56;
  --team-blue: #3F7BFE;
  --team-yellow: #ffb200;
  --team-pink: #FF3FC5;
  --team-purple: #8F3FFC;

  /* Neutrals & UI Accents */
  --color-dark: #070707;
  --color-gray-pill: #878787;
  --color-white: #FFFFFF;
  --color-win: #44A72B;
  --color-loss: #FF0000;
  --color-neutral: #878787;

  /* Liquid Glass Theme (Nav & Tools) */
  --glass-bg: rgba(135, 135, 135, 0.22);
  --glass-pill-active: rgba(135, 135, 135, 0.38);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), inset 0 1px 2px rgba(255, 255, 255, 0.55);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-pill: 0 6px 18px rgba(0, 0, 0, 0.22);

  /* Typography: Outfit for English/Numbers + Prompt for Thai Glyph Fallback */
  --font-main: 'Outfit', 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-outfit: 'Outfit', 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-prompt: 'Prompt', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font-main);
  background-color: #FFFFFF;
  color: var(--color-dark);
  line-height: 1.5;
  font-weight: 500;
  overflow-x: hidden;
  position: relative;
}

button,
input,
select,
textarea {
  font-family: var(--font-main);
  border: none;
  outline: none;
  background: none;
  border-radius: 0;
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent !important;
}

button, input, select, textarea, a, div[role="button"] {
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
}


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

a {
  color: inherit;
  text-decoration: none;
}

/* Black Navbar Icons */
.nav-icon-black {
  filter: brightness(0) !important;
}

/* ==========================================================================
   SIGNATURE GEOMETRIC CUT-CORNER (CHAMFER) STYLING - NO BORDER RADIUS
   ========================================================================== */
.chamfer-cut-lg {
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 21.5px) 0, 100% 21.5px, 100% 100%, 0 100%) !important;
}

.chamfer-cut-md {
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 13.5px) 0, 100% 13.5px, 100% 100%, 0 100%) !important;
}

.chamfer-cut-sm {
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%) !important;
}

/* ==========================================================================
   PHYSICS CANVAS & COLLIDING BACKGROUND
   ========================================================================== */
.physics-decor-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   APP CONTAINER & LAYOUT
   ========================================================================== */
.app-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 100px;
}

@media (min-width: 1024px) {
  .app-container {
    padding: 36px 48px 60px;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.crest-badge {
  width: 52px;
  height: 52px;
  border-radius: 50% !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
  object-fit: contain;
}

.header-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-dark);
}

@media (min-width: 1024px) {
  .crest-badge {
    width: 64px;
    height: 64px;
  }

  .header-title {
    font-size: 2.25rem;
  }
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   APPLE LIQUID GLASS LANGUAGE SWITCHER ([TH | EN]) WITH ANIMATION
   ========================================================================== */
.lang-switcher-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 4px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  user-select: none;
  cursor: pointer;
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switcher-pill:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.lang-switcher-pill:active {
  transform: scale(0.95);
}

.lang-active-slider {
  position: absolute;
  top: 3px;
  left: 4px;
  width: calc(50% - 5.5px);
  height: calc(100% - 6px);
  background: #111111;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 1;
}

.lang-switcher-pill[data-active-lang="en"] .lang-active-slider {
  transform: translateX(calc(100% + 3px));
}

.lang-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border-radius: 9999px;
  border: none;
  background: transparent !important;
  color: #555555;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.lang-btn.is-active {
  color: #FFFFFF !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ==========================================================================
   THEME SWITCHER BUTTON (LIGHT / DARK THEME)
   ========================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  min-height: 34px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  cursor: pointer;
  color: var(--color-dark);
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.theme-toggle-btn:active {
  transform: scale(0.94);
}

.theme-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle-btn:hover .theme-icon-wrap {
  transform: rotate(20deg);
}

/* ==========================================================================
   DARK THEME STYLES (THEME BLACK)
   ========================================================================== */
html[data-theme="dark"] {
  --color-dark: #F4F4F6;
  --color-white: #121316;
  --glass-bg: rgba(18, 19, 24, 0.90);
  --glass-card: rgba(24, 25, 30, 0.94);
  --glass-pill-active: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background-color: #08090C;
  color: #F4F4F6;
}

html[data-theme="dark"] .header-title,
html[data-theme="dark"] .today-title,
html[data-theme="dark"] .desktop-nav .nav-tab-btn,
html[data-theme="dark"] .mobile-nav .nav-tab-btn,
html[data-theme="dark"] .filter-pill-btn,
html[data-theme="dark"] .match-versus-team,
html[data-theme="dark"] .match-score-text,
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3 {
  color: #F4F4F6 !important;
}

html[data-theme="dark"] .nav-icon-black,
html[data-theme="dark"] .search-icon,
html[data-theme="dark"] .filter-chevron {
  filter: brightness(0) invert(1) !important;
}

html[data-theme="dark"] .search-pill-box,
html[data-theme="dark"] .filter-pill-btn,
html[data-theme="dark"] .liquid-glass-input {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #F4F4F6 !important;
}

html[data-theme="dark"] .search-pill-box input {
  color: #F4F4F6 !important;
}

html[data-theme="dark"] .search-pill-box input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

html[data-theme="dark"] .match-card,
html[data-theme="dark"] .match-card-chamfer,
html[data-theme="dark"] .match-filter-dropdown,
html[data-theme="dark"] .match-item-card {
  background: rgba(22, 24, 30, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #F4F4F6 !important;
}

html[data-theme="dark"] .filter-chip {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #E2E8F0 !important;
}

html[data-theme="dark"] .filter-chip.is-active {
  background: #3F7BFE !important;
  border-color: #3F7BFE !important;
  color: #FFFFFF !important;
}

html[data-theme="dark"] .crest-badge,
html[data-theme="dark"] .crest,
html[data-theme="dark"] .header-logo,
html[data-theme="dark"] .login-crest,
html[data-theme="dark"] .h2h-crest,
html[data-theme="dark"] .obs-mvp-crest {
  border-radius: 50% !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  filter: none !important;
}

html[data-theme="dark"] .lang-switcher-pill,
html[data-theme="dark"] .theme-toggle-btn {
  background: rgba(28, 30, 36, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .lang-active-slider {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

html[data-theme="dark"] .lang-btn {
  color: #AAAAAA;
}

html[data-theme="dark"] .lang-btn.is-active {
  color: #000000 !important;
  background: transparent !important;
}

html[data-theme="dark"] .physics-decor-canvas {
  filter: invert(1) opacity(0.32);
}

@media (max-width: 767px) {
  .lang-switcher-pill {
    padding: 2px 3px;
    gap: 2px;
  }
  .lang-btn {
    min-width: 28px;
    height: 24px;
    padding: 0 5px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   LIQUID GLASS NAVIGATION BARS (SVG Pill rx=28 / rx=22)
   ========================================================================== */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }
}

.liquid-glass-track {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1.5px solid var(--glass-border);
  border-radius: 28px;
  padding: 6px;
  box-shadow: var(--glass-shadow);
}

.liquid-glass-pill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  border-radius: 22px;
  background: var(--glass-pill-active);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.7);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 1;
}

.desktop-nav .nav-pill-track {
  min-width: 540px;
  height: 56px;
}

.desktop-nav .nav-tab-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  color: #070707;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 22px;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.9;
}

.desktop-nav .nav-tab-btn.is-active {
  opacity: 1;
  color: #070707;
}

.desktop-nav .tab-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Mobile Floating Liquid Glass Navigation */
.mobile-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, calc(100vw - 36px));
  height: 56px;
  z-index: 100;
}

.mobile-nav .nav-pill-track {
  width: 100%;
  height: 100%;
}

.mobile-nav .nav-tab-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 22px;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.2s;
}

.mobile-nav .nav-tab-btn.is-active {
  opacity: 1;
  transform: scale(1.05);
}

.mobile-nav .tab-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.mobile-tab-credit {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted, rgba(0, 0, 0, 0.55));
  margin-top: 6px;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .mobile-tab-credit {
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.app-footer-credit {
  max-width: 1360px;
  margin: 40px auto 24px;
  padding: 16px 24px;
  background: var(--glass-bg, rgba(255, 255, 255, 0.85));
  border: 1px solid var(--glass-border, rgba(0, 0, 0, 0.08));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0;
  box-shadow: var(--shadow-card);
}

.app-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.app-footer-copy {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted, rgba(0, 0, 0, 0.65));
  letter-spacing: 0.02em;
  margin: 0;
}

.app-design-credit {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--color-dark, #121316);
  letter-spacing: 0.02em;
  margin: 0;
}

html[data-theme="dark"] .app-footer-credit {
  background: rgba(18, 19, 25, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="dark"] .app-footer-copy {
  color: #94A3B8 !important;
}

html[data-theme="dark"] .app-design-credit {
  color: #FFFFFF !important;
}

@media (max-width: 1023px) {
  .app-footer-credit {
    margin-bottom: 96px;
  }
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   MAIN VIEW PANELS
   ========================================================================== */
.app-main {
  flex: 1;
  width: 100%;
}

.view-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.view-panel.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   VIEW 1: MATCH SCHEDULE & COLLAPSIBLE FILTER DROPDOWN
   ========================================================================== */
.match-tools-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.liquid-glass-input {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 23.5px;
}

.search-pill-box {
  position: relative;
  flex: 1;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .search-pill-box {
    max-width: 420px;
  }
}

.search-pill-box input {
  width: 100%;
  height: 47px;
  color: var(--color-dark);
  border-radius: 23.5px;
  padding: 0 18px 0 46px;
  font-size: 1rem;
  font-weight: 800;
  transition: background-color 0.2s;
}

.search-pill-box input::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.search-pill-box .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  filter: brightness(0);
  opacity: 0.8;
  pointer-events: none;
}

/* Filter Toggle Button (Matching 138px SVG Pill) */
.filter-pill-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 47px;
  padding: 0 18px;
  min-width: 118px;
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s, background-color 0.2s;
}

.filter-pill-btn:hover {
  transform: translateY(-1px);
  background-color: rgba(135, 135, 135, 0.28);
}

.filter-chevron {
  width: 14px;
  height: 14px;
  filter: brightness(0);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.filter-pill-btn.is-open .filter-chevron {
  transform: rotate(180deg);
}

/* Collapsible Liquid Glass Filter Dropdown Panel */
.match-filter-dropdown {
  display: none;
  flex-direction: column;
  gap: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 24px;
}

.match-filter-dropdown.is-open {
  display: flex;
  animation: dropdownSlideIn 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-group-label {
  font-size: 0.85rem;
  font-weight: 900;
  color: #555555;
  min-width: 65px;
  letter-spacing: 0.05em;
}

.filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #FFFFFF;
  color: #222222;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 20px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.filter-chip:hover {
  transform: translateY(-1px);
  border-color: #070707;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.filter-chip.is-active {
  background: #070707;
  color: #FFFFFF;
  border-color: #070707;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: scale(1.04);
}

.filter-team-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--chip-color, #FA3E3E);
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.filter-chip.is-active .filter-team-dot {
  box-shadow: 0 0 0 2px #FFFFFF;
}

.today-heading-bar {
  margin-bottom: 16px;
}

.today-title {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-dark);
}

.match-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .match-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.match-row-card {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 0;
  padding: 12px 16px;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 768px) {
  .match-row-card {
    grid-template-columns: 160px 1fr 160px;
    padding: 14px 20px;
  }
}

.match-row-card:hover {
  transform: translateY(-2px);
  background: rgba(135, 135, 135, 0.28);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16), inset 0 1px 2px rgba(255, 255, 255, 0.65);
}

.match-team-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 47px;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  padding: 0 14px;
}

.match-center-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.match-time-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #555555;
}

.match-vs-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-dark);
  line-height: 1;
}

.match-score-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-dark);
}

.match-sport-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   VIEW 2: LIVE SCORE LEADERBOARD (SHARP BOXES & CUT CORNERS)
   ========================================================================== */
.leaderboard-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media (min-width: 1024px) {
  .leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
  }
}

.leaderboard-team-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

/* Header Row with 56px Square Sharp Rank Box & Chamfered Team Pill */
.leaderboard-header-row {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s;
}

.leaderboard-header-row:hover {
  transform: translateY(-2px);
}

.rank-square-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 900;
  border-radius: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.team-pill-cut-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  height: 56px;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  padding: 0 20px 0 16px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.team-name-label {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
}

.points-label-box {
  font-size: 1.3rem;
  font-weight: 900;
}

.accordion-chevron-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.leaderboard-team-item.is-open .accordion-chevron-icon {
  transform: rotate(180deg);
}

/* Accordion Body in Solid Team Color (w=322px sharp box matching SVG) */
.team-accordion-body {
  display: none;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  border-radius: 0;
  padding: 16px 18px 14px;
  box-shadow: var(--shadow-card);
  animation: accordionFade 0.3s ease;
  min-height: 238px;
  max-height: 380px;
  height: auto;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes accordionFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leaderboard-team-item.is-open .team-accordion-body {
  display: flex;
}

/* On Desktop: All 6 cards are permanently displayed in 3x2 grid matching home-dasktop.svg */
@media (min-width: 1024px) {
  .leaderboard-team-item .team-accordion-body {
    display: flex;
    min-height: 238px;
    max-height: 380px;
    height: auto;
  }

  .leaderboard-header-row .accordion-chevron-icon {
    display: none;
  }
}

.mini-match-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: flex-start;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.mini-match-list::-webkit-scrollbar {
  width: 4px;
}

.mini-match-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}

.mini-match-row {
  display: grid;
  grid-template-columns: 28px 80px 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 10px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
}

.match-wl-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #FFFFFF;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 900;
  flex-shrink: 0;
}

.match-wl-badge.win {
  color: var(--color-win);
}

.match-wl-badge.loss {
  color: var(--color-loss);
}

.match-wl-badge.draw,
.match-wl-badge.neutral {
  color: var(--color-neutral);
}

.mini-sport-tag {
  font-size: 0.75rem;
  font-weight: 900;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-team-home {
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-score-tag {
  font-size: 1.15rem;
  font-weight: 900;
  text-align: center;
  padding: 0 4px;
}

.mini-team-away {
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.accordion-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: auto;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.winrate-text {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.more-pill-btn {
  background-color: rgba(255, 255, 255, 0.95);
  color: #111111;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 7px 20px;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}

.more-pill-btn:hover {
  transform: scale(1.06);
  background-color: #070707;
  color: #FFFFFF;
  border-color: #070707;
}


/* ==========================================================================
   VIEW 3: TEAM DASHBOARD & COLOR SELECTOR (SHARP & CHAMFERED)
   ========================================================================== */
.dashboard-top-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .dashboard-top-section {
    display: grid;
    grid-template-columns: 353px 1fr;
    gap: 24px;
    align-items: start;
  }
}

.team-picker-wrapper {
  position: relative;
  width: 100%;
}

.team-selector-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  padding: 0 24px;
  border-radius: 0;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 1024px) {
  .team-selector-card-btn {
    height: 101px;
    padding: 0 32px;
  }
}

.team-selector-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.selected-team-text {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .selected-team-text {
    font-size: 2rem;
  }
}

.selector-chevron {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.team-picker-wrapper.is-open .selector-chevron {
  transform: rotate(180deg);
}

.color-options-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
  animation: dropdownSlideIn 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-picker-wrapper.is-open .color-options-dropdown {
  display: flex;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.color-option-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background-color: var(--team-color);
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s;
}

.color-option-pill:hover {
  transform: scale(1.01);
}

/* Stats Banner Card (Sharp Rectangle x=495, y=154, w=855, h=101) */
.dashboard-stats-banner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  border-radius: 0;
  padding: 18px 24px;
  box-shadow: var(--shadow-card);
  min-height: 101px;
}

@media (min-width: 1024px) {
  .dashboard-stats-banner {
    padding: 0 36px;
  }
}

.banner-rank-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-rank-number {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.banner-trend-tag {
  font-size: 1.2rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.25);
  padding: 3px 12px;
  border-radius: 0;
}

.banner-points-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.banner-points-number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.banner-winrate-tag {
  font-size: 1.05rem;
  font-weight: 900;
  opacity: 0.9;
  margin-top: 4px;
}

/* 6 Dashboard Cards Grid (Sharp Rectangles w=353, h=280 matching score-dasktop.svg) */
.dashboard-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .dashboard-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.dash-feature-card {
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  border-radius: 0;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.dash-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 10px;
  position: relative;
}

.dash-card-points {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.1rem;
  font-weight: 900;
  opacity: 0.95;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

.dash-header-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Performance Meter Rows (Sharp Bars) */
.performance-meter-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 16px;
}

.meter-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.5rem;
  font-weight: 900;
}

.meter-bar-track {
  width: 100%;
  height: 14px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0;
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background-color: #FFFFFF;
  border-radius: 0;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.meter-note-text {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* ==========================================================================
   ADMIN, DISPLAY, & FOOTBALL LIVE CONTROL
   ========================================================================== */
.control-shell,
.display-stage,
.football-control {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  min-height: 100vh;
}

.control-shell,
.football-control {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

.control-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #1E1E1E;
  color: #FFF;
  padding: 24px;
  border-radius: 18px;
  height: fit-content;
}

.control-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.control-logo .crest {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.control-side a {
  padding: 10px 14px;
  border-radius: 8px;
  background: #2A2A2A;
  transition: background 0.2s;
}

.control-side a:hover {
  background: #3A3A3A;
}

.control-side button {
  margin-top: 16px;
  padding: 12px;
  background: #E53935;
  color: #FFF;
  font-weight: 800;
  border-radius: 8px;
}

.control-main,
.football-main {
  background: #F4F5F7;
  padding: 32px;
  border-radius: 20px;
}

.control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

/* ==========================================================================
   ADMIN CONTROL CENTER - LIQUID GLASS & SIGNATURE CHAMFER STYLING
   ========================================================================== */
.admin-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 28px 20px 80px;
  position: relative;
  z-index: 1;
}

.liquid-glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.liquid-glass-pill-static {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.admin-brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-subtitle {
  font-size: 0.8rem;
  font-weight: 900;
  color: #666666;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-title {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-dark);
}

.admin-top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 900;
  color: #2E7D1C;
  background: rgba(68, 167, 43, 0.12);
  border: 1.5px solid rgba(68, 167, 43, 0.4);
}

.sync-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #44A72B;
  box-shadow: 0 0 8px #44A72B;
}

.admin-quick-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, background-color 0.2s;
}

.admin-link-btn:hover {
  transform: translateY(-2px);
  background-color: rgba(135, 135, 135, 0.32);
}

.admin-reset-btn {
  background: #FA3E3E;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 9px 18px;
  border-radius: 0;
  box-shadow: 0 4px 14px rgba(250, 62, 62, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.admin-reset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(250, 62, 62, 0.45);
}

.admin-main-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.admin-card-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-formula-banner {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
  border-radius: 0;
}

.formula-label {
  font-size: 0.8rem;
  font-weight: 900;
  color: #666666;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.formula-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 6px;
  line-height: 1.4;
}

.admin-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .admin-dual-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-action-btn {
  background: #070707;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 10px 20px;
  border-radius: 0;
  transition: transform 0.2s, background-color 0.2s;
  cursor: pointer;
}

.admin-action-btn:hover {
  transform: translateY(-2px);
  background-color: #2A2A2A;
}

.admin-add-btn {
  background: #070707;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 8px 16px;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.2s;
}

.admin-add-btn:hover {
  transform: translateY(-1px);
}

.config-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.config-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-dark);
}

.config-chip-del {
  background: #FA3E3E;
  color: #FFFFFF;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.15s;
}

.config-chip-del:hover {
  transform: scale(1.15);
}

.config-drawer-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--glass-border);
  padding: 16px 20px;
  border-radius: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: dropdownSlideIn 0.25s ease;
}

.team-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 800;
  color: #555555;
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 12px;
  border-radius: 0;
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-wrap h2 {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-dark);
}

.section-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.section-badge {
  font-size: 0.85rem;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
}

.admin-add-match-btn {
  background: #070707;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 8px 18px;
  border-radius: 0;
  transition: transform 0.2s;
}

.admin-add-match-btn:hover {
  transform: translateY(-1px);
}

/* 6 Teams Grid in Admin */
.admin-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.team-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  border-radius: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 12px;
}

.team-form-rank-tag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-rank-square {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: var(--team, #FA3E3E);
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 900;
}

.team-form-name {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-form-points-badge {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-dark);
}

.quick-boost-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.boost-btn {
  flex: 1;
  padding: 5px 0;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 900;
  color: #333333;
  transition: all 0.15s;
}

.boost-btn:hover {
  background: #070707;
  color: #FFFFFF;
  border-color: #070707;
}

.admin-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 900;
}

.admin-input-box {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  padding: 6px 12px;
  border-radius: 0;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: right;
  width: 100px;
}

.performance-inputs-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.4);
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.perf-title {
  font-size: 0.8rem;
  font-weight: 900;
  color: #666666;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.perf-inputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.perf-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 800;
}

.perf-field input {
  width: 100%;
  text-align: center;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  padding: 4px 6px;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 900;
}

.admin-team-save-btn {
  background-color: var(--team, #FA3E3E);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 900;
  padding: 10px 0;
  width: 100%;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s, box-shadow 0.2s;
}

.admin-team-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Match Schedule List in Admin */
.admin-matches-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.match-edit-row {
  display: grid;
  grid-template-columns: 110px 80px 140px 65px 140px 65px 110px auto;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 12px 18px;
  border-radius: 0;
  transition: transform 0.2s;
}

@media (max-width: 900px) {
  .match-edit-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.match-edit-row input,
.match-edit-row select {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  padding: 8px 10px;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 900;
}

.admin-match-save-btn {
  background: #070707;
  color: #FFFFFF;
  padding: 9px 18px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 0.2s, background-color 0.2s;
}

.admin-match-save-btn:hover {
  transform: translateY(-1px);
  background: #333333;
}

/* New Match Drawer Form */
.new-match-form {
  padding: 20px 24px;
  border-radius: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: dropdownSlideIn 0.25s ease;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 900;
  color: #444444;
}

.admin-field input,
.admin-field select {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  padding: 8px 12px;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 900;
}

.form-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-submit-btn {
  background: #070707;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 10px 24px;
  border-radius: 0;
}

.admin-cancel-btn {
  background: rgba(0, 0, 0, 0.08);
  color: #444444;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 0;
}

/* Football live control */
.football-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.football-panel {
  background: #FFF;
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.live-panel {
  grid-column: span 2;
}

.football-picker {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.football-pick {
  padding: 12px 16px;
  background: #EFEFEF;
  border-radius: 10px;
  text-align: left;
}

.football-pick.is-active {
  background: #000;
  color: #FFF;
}

.live-score-board {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 24px;
  background: #222;
  color: #FFF;
  border-radius: 16px;
}

.score-number {
  font-size: 3.5rem;
  font-weight: 900;
}

.control-team {
  text-align: center;
}

.control-team-name {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.score-buttons {
  display: flex;
  gap: 8px;
}

.score-buttons button {
  background: #444;
  color: #FFF;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 900;
}

.period-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.period-buttons button {
  padding: 8px 12px;
  background: #EFEFEF;
  border-radius: 8px;
  font-weight: 800;
}

.period-buttons button.is-active {
  background: #000;
  color: #FFF;
}

.half-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

/* Display screen */
.display-stage {
  background: #111;
  color: #FFF;
  min-height: 100vh;
}

.display-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #333;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.display-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.display-brand .crest {
  width: 60px;
  height: 60px;
}

.display-clock {
  font-size: 2.5rem;
  font-weight: 900;
}

.display-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.display-card {
  background: #1E1E1E;
  border-radius: 16px;
  padding: 20px;
}

.display-card-head {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.display-team-row {
  display: grid;
  grid-template-columns: 40px 1fr 80px;
  align-items: center;
  padding: 12px 16px;
  background: var(--team);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 900;
}

.display-football-score {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #292929;
  padding: 24px;
  border-radius: 14px;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.result-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: #252525;
  border-left: 4px solid var(--team);
  border-radius: 8px;
  margin-bottom: 8px;
}

.display-ticker {
  margin-top: 24px;
  background: #FA3E3E;
  color: #FFF;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  gap: 16px;
}

/* ==========================================================================
   OBS BROADCASTING GRAPHICS & LIVESCORE / LIVEMATCH OVERLAYS
   ========================================================================== */
.obs-transparent-body {
  background: transparent !important;
  background-color: transparent !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

/* 1. OBS LIVESCORE (OVERALL STANDINGS / LEADERBOARD OVERLAY) */
.obs-livescore-stage {
  position: fixed;
  top: 40px;
  left: 40px;
  width: 480px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
  animation: obsSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.obs-livescore-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border-radius: 0;
}

.obs-brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.obs-crest-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.obs-title-block {
  display: flex;
  flex-direction: column;
}

.obs-mini-tag {
  font-size: 0.7rem;
  font-weight: 900;
  color: #555555;
  letter-spacing: 0.08em;
}

.obs-main-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-dark);
  line-height: 1.1;
}

.obs-live-badge-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FA3E3E;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(250, 62, 62, 0.4);
}

.obs-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #FFFFFF;
  animation: livePulse 1.2s infinite ease-in-out;
}

.obs-teams-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.obs-team-row {
  display: grid;
  grid-template-columns: 46px 1fr 90px;
  align-items: center;
  gap: 8px;
  animation: obsCardEntrance 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.obs-rank-square {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.obs-team-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  padding: 0 16px;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.obs-points-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: #FFFFFF;
  color: var(--color-dark);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 2. OBS LIVEMATCH (SCORE BUG EXACTLY BASED ON score.svg) */
.obs-livematch-wrapper {
  position: fixed;
  top: 36px;
  left: 36px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.obs-match-bugs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

/* Single Score Bug Structure Reconstructing score.svg */
.obs-score-bug {
  position: relative;
  width: 366px;
  height: 142px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

/* Left 94px Crest Box */
.obs-bug-crest-box {
  position: absolute;
  left: 10px;
  top: 6px;
  width: 94px;
  height: 94px;
  background: #FFFFFF;
  border-radius: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.obs-bug-crest-img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

/* Score Rows Container */
.obs-bug-scores-wrap {
  position: absolute;
  left: 109px;
  top: 6px;
  width: 247px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.obs-bug-row {
  display: flex;
  align-items: center;
  height: 47px;
}

.obs-bug-team-pill {
  flex: 1;
  height: 47px;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.obs-bug-score-box {
  width: 47px;
  height: 47px;
  background: #FFFFFF;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s, color 0.25s;
}

.obs-bug-score-box.score-popped {
  animation: scoreNumberPop 0.6s cubic-bezier(0.18, 0.9, 0.2, 1.3);
  color: #FA3E3E;
}

/* Row Divider from SVG */
.obs-bug-row-divider {
  position: absolute;
  left: 116px;
  top: 52px;
  width: 33px;
  height: 2px;
  background: #000000;
  z-index: 4;
}

/* Bottom Status & Time Bar from score.svg */
.obs-bug-bottom-bar {
  position: absolute;
  left: 10px;
  top: 104px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.obs-bug-time-box {
  width: 94px;
  height: 35px;
  background: #FFFFFF;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.obs-bug-period-box {
  width: 47px;
  height: 35px;
  background: #FFFFFF;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.obs-bug-sport-box {
  height: 35px;
  background: #070707;
  color: #FFFFFF;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* 3. DYNAMIC OVERLAY POPUPS (GOAL, CARDS, HALF-TIME, FULL-TIME) */
.obs-alert-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Goal Popup Banner */
.obs-goal-popup {
  position: relative;
  background: linear-gradient(135deg, #111111 0%, #1e1e1e 100%);
  border: 3px solid #FFB200;
  box-shadow: 0 16px 60px rgba(255, 178, 0, 0.45), 0 0 30px rgba(255, 178, 0, 0.3);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 0;
  animation: goalCelebration 0.7s cubic-bezier(0.18, 0.9, 0.2, 1.25) forwards;
}

.obs-goal-ball {
  width: 80px;
  height: 80px;
  animation: spinBall 2s linear infinite;
}

.obs-goal-text-group {
  display: flex;
  flex-direction: column;
}

.obs-goal-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #FFB200;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 16px rgba(255, 178, 0, 0.6);
}

.obs-goal-player {
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-top: 6px;
}

.obs-goal-team-pill {
  display: inline-block;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 900;
  padding: 4px 14px;
  margin-top: 8px;
}

/* Card Penalty Popup */
.obs-card-popup {
  background: #111111;
  border: 2.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  padding: 20px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 0;
  animation: cardFlyIn 0.5s cubic-bezier(0.2, 0.9, 0.2, 1.1) forwards;
}

.obs-card-rect {
  width: 44px;
  height: 60px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.obs-card-rect.yellow {
  background: #FFD600;
  box-shadow: 0 0 20px rgba(255, 214, 0, 0.6);
}

.obs-card-rect.red {
  background: #FA3E3E;
  box-shadow: 0 0 20px rgba(250, 62, 62, 0.6);
}

.obs-card-info-group {
  display: flex;
  flex-direction: column;
}

.obs-card-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFFFFF;
}

.obs-card-player {
  font-size: 1.25rem;
  font-weight: 800;
  color: #DDDDDD;
}

/* Half-time / Full-time Broadcast Card */
.obs-summary-overlay {
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-width: 520px;
  border-radius: 0;
  animation: summaryDropIn 0.65s cubic-bezier(0.18, 0.9, 0.2, 1.15) forwards;
}

.obs-summary-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid #FFB200;
  padding-bottom: 8px;
}

.obs-summary-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.obs-summary-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 900;
  color: #FFFFFF;
}

.obs-summary-score-digit {
  font-size: 4rem;
  font-weight: 900;
  color: #FFB200;
}

/* 4. OBS DIRECTOR COCKPIT & CONTROLLER STYLES */
.obs-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.obs-link-card {
  padding: 22px 24px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.obs-card-info h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-dark);
}

.obs-card-info p {
  font-size: 0.9rem;
  color: #555555;
  margin: 6px 0 14px;
}

.obs-url-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.obs-url-input {
  flex: 1;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #333333;
}

.obs-copy-btn {
  background: #070707;
  color: #FFFFFF;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 900;
}

.obs-open-btn {
  background: rgba(0, 0, 0, 0.08);
  color: #070707;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 900;
}

.obs-match-mode-box {
  padding: 20px 24px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.obs-mode-selector {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 900;
  font-size: 0.95rem;
}

.obs-mode-btn {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  padding: 8px 18px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s;
}

.obs-mode-btn.is-active {
  background: #070707;
  color: #FFFFFF;
  border-color: #070707;
}

.obs-match-picker-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.obs-triggers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.obs-trigger-card {
  padding: 20px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.obs-trigger-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-dark);
}

.trigger-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trigger-fields input,
.trigger-fields select,
.obs-select {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  padding: 8px 12px;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 900;
}

.obs-trigger-btn {
  padding: 10px;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s;
}

.obs-trigger-btn.goal-btn {
  background: #FFB200;
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 178, 0, 0.4);
}

.obs-trigger-btn.card-btn {
  background: #070707;
  color: #FFFFFF;
}

.obs-trigger-btn.summary-btn {
  background: rgba(0, 0, 0, 0.08);
  color: #070707;
}

.trigger-actions-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes obsSlideDown {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes obsCardEntrance {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes obsBugEnter {
  0% { transform: translateY(-80px) scale(0.85); opacity: 0; }
  70% { transform: translateY(8px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes scoreNumberPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

@keyframes goalCelebration {
  0% { transform: scale(0.5) rotate(-4deg); opacity: 0; }
  60% { transform: scale(1.08) rotate(1deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes spinBall {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes cardFlyIn {
  from { transform: translateY(60px) scale(0.8); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

/* ==========================================================================
   TOURNAMENT MATCH SCHEDULE & OPERATIONS (/matches)
   ========================================================================== */
.tournament-day-tabs-wrapper {
  position: relative;
  width: 100%;
}

.tournament-day-tabs-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 12px;
  width: 48px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(240, 243, 248, 0.95));
  pointer-events: none;
  z-index: 5;
  border-radius: 0 8px 8px 0;
}

html[data-theme="dark"] .tournament-day-tabs-wrapper::after {
  background: linear-gradient(to right, rgba(13, 14, 18, 0), rgba(13, 14, 18, 0.95));
}

.tournament-day-tabs-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 24px 14px 2px;
  scrollbar-width: thin;
}


.day-tab-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--color-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.day-tab-pill:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.4);
}

.day-tab-pill.is-active {
  background: #070707;
  color: #FFFFFF;
  border-color: #070707;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.day-tab-date-tag {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.8;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.day-tab-pill.is-active .day-tab-date-tag {
  background: rgba(255, 255, 255, 0.2);
}

.match-stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.match-stat-card {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 0;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 900;
  color: #666666;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.matches-toolbar-panel {
  padding: 18px 22px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.toolbar-left-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.toolbar-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 900;
}

.toolbar-field select,
.toolbar-field input {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  padding: 7px 12px;
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 800;
}

.new-detailed-match-drawer {
  padding: 24px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: dropdownSlideIn 0.25s ease;
}

.form-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 12px;
}

.form-drawer-header h3 {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detailed-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.detailed-matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

/* Individual Detailed Match Operations Card */
.detailed-match-card {
  padding: 20px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.detailed-match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.detailed-match-card.is-live {
  border-color: #44A72B;
  box-shadow: 0 0 20px rgba(68, 167, 43, 0.25);
}

.match-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 900;
}

.meta-badges-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.badge-sport {
  background: #070707;
  color: #FFFFFF;
  padding: 3px 8px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.badge-stage {
  background: rgba(0, 0, 0, 0.08);
  color: #333333;
  padding: 3px 8px;
}

.badge-venue {
  background: rgba(0, 0, 0, 0.05);
  color: #555555;
  padding: 3px 6px;
}

.match-card-score-zone {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.4);
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.score-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-pill-name {
  flex: 1;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-score-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.score-stepper-btn {
  width: 30px;
  height: 38px;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s;
}

.score-stepper-btn:hover {
  background: #070707;
  color: #FFFFFF;
}

.score-stepper-val {
  width: 44px;
  height: 38px;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #000000;
}

.match-card-status-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.status-toggles-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-toggle-btn {
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s;
}

.status-toggle-btn.is-active {
  background: #070707;
  color: #FFFFFF;
  border-color: #070707;
}

.status-toggle-btn.is-live-active {
  background: #44A72B;
  color: #FFFFFF;
  border-color: #44A72B;
}

.match-card-notes-row {
  font-size: 0.85rem;
  color: #555555;
  font-style: italic;
  padding-top: 6px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.match-card-bottom-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.card-tool-btn {
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.card-tool-btn:hover {
  background: rgba(0, 0, 0, 0.12);
}

.card-tool-btn.del-btn:hover {
  background: #FA3E3E;
  color: #FFFFFF;
}

/* ==========================================================================
   FOOTBALL REFEREE & CLOCK CONTROLLER (/football)
   ========================================================================== */
.football-scoreboard-deck {
  padding: 24px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.football-team-side {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.football-team-banner {
  width: 100%;
  height: 48px;
  background-color: var(--team-color, #FA3E3E);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.football-score-stepper-big {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-stepper-btn {
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: 2px solid rgba(0, 0, 0, 0.15);
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s;
}

.fb-stepper-btn:hover {
  background: #070707;
  color: #FFFFFF;
}

.fb-stepper-val {
  width: 64px;
  height: 48px;
  background: #FFFFFF;
  border: 2px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  font-weight: 900;
  color: #000000;
}

.football-clock-control-panel,
.football-period-panel {
  padding: 20px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.digital-clock-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #070707;
  color: #FFFFFF;
  padding: 16px 24px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.clock-digits {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-family: 'Outfit', monospace, sans-serif;
  color: #44A72B;
}

.extra-time-tag {
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFB200;
  padding: 2px 8px;
  background: rgba(255, 178, 0, 0.15);
  border: 1px solid #FFB200;
}

.clock-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.clock-btn {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 900;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.15s;
}

.clock-btn:hover {
  background: #070707;
  color: #FFFFFF;
}

.clock-play-btn {
  background: #44A72B;
  color: #FFFFFF;
  border-color: #44A72B;
}

.clock-play-btn:hover {
  background: #368a21;
}

.ctrl-subhead {
  font-size: 0.8rem;
  font-weight: 900;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.extra-time-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.extra-time-pill {
  width: 44px;
  height: 38px;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s;
}

.extra-time-pill:hover {
  background: #FFB200;
  color: #000000;
  border-color: #FFB200;
}

.extra-time-pill.is-active {
  background: #070707;
  color: #FFFFFF;
  border-color: #070707;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-extra-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 900;
  margin-top: 8px;
}

.period-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.period-btn {
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.period-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

.period-btn.is-active {
  background: #070707;
  color: #FFFFFF;
  border-color: #070707;
}

.period-graphic-triggers-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.football-event-form {
  padding: 20px;
  border-radius: 0;
}

.event-form-grid {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.football-events-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 0;
  max-height: 280px;
  overflow-y: auto;
}

.football-event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #FFFFFF;
  border-left: 4px solid var(--team-color, #070707);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  font-size: 0.88rem;
  font-weight: 800;
}

/* ==========================================================================
   VCT PACIFIC & PREMIER LEAGUE ESPORTS BROADCAST OVERLAY GRAPHICS
   ========================================================================== */
.on-air-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.on-air-badge.off-air {
  background: rgba(255, 255, 255, 0.1);
  color: #AAA;
}
.on-air-badge.is-on-air {
  background: #E22B2B;
  color: #FFF;
  box-shadow: 0 0 16px rgba(226, 43, 43, 0.6);
}
.on-air-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.on-air-badge.is-on-air .on-air-dot {
  animation: pulse 1s infinite;
}

/* 1. Tale of the Tape / H2H Lower Third */
.obs-h2h-overlay {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 980px;
  background: rgba(10, 10, 15, 0.94);
  color: #FFF;
  padding: 20px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.obs-h2h-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #FFB200;
}
.obs-h2h-teams-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.obs-h2h-side {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.obs-h2h-side.right {
  justify-content: flex-end;
}
.obs-h2h-team-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--team-color, #333);
  color: #FFF;
  padding: 10px 22px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.h2h-crest {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.obs-h2h-stats-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #DDD;
}
.obs-h2h-stats-col strong {
  color: #FFF;
  font-size: 1.05rem;
}
.obs-h2h-vs-badge {
  font-size: 1.8rem;
  font-weight: 900;
  color: #777;
  padding: 0 10px;
}

/* 2. MVP / Player Spotlight Card */
.obs-mvp-card {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  background: rgba(12, 12, 18, 0.94);
  color: #FFF;
  border-left: 6px solid var(--team-color, #2A60F2);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  padding: 18px 24px;
  gap: 20px;
  max-width: 620px;
}
.obs-mvp-left-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.obs-mvp-crest {
  width: 50px;
  height: 50px;
}
.obs-mvp-star-tag {
  font-size: 0.65rem;
  font-weight: 900;
  background: #FFB200;
  color: #000;
  padding: 2px 6px;
}
.obs-mvp-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.obs-mvp-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.obs-mvp-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.obs-mvp-team-pill {
  background: var(--team-color, #333);
  color: #FFF;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 900;
}
.obs-mvp-role {
  font-size: 0.9rem;
  font-weight: 800;
  color: #AAA;
  letter-spacing: 1px;
}
.obs-mvp-stats-bar {
  font-size: 0.95rem;
  font-weight: 900;
  color: #FFB200;
  margin-top: 4px;
}

/* 3. Tactical Timeout HUD */
.obs-timeout-hud {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 15, 0.95);
  color: #FFF;
  border-top: 4px solid var(--team-color, #FFB200);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  padding: 14px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.timeout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #FFB200;
}
.timeout-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFB200;
  animation: pulse 1s infinite;
}
.timeout-body {
  display: flex;
  align-items: center;
  gap: 20px;
}
.timeout-team-name {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.timeout-countdown-digit {
  font-size: 2rem;
  font-weight: 900;
  color: #FFF;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 12px;
}

/* Auto-Save & Visual Feedback */
.input-saved-flash {
  border-color: #44A72B !important;
  background-color: rgba(68, 167, 43, 0.08) !important;
  transition: all 0.3s ease;
}

/* ==========================================================================
   LOGIN PAGE STYLES
   ========================================================================== */
.login-page {
  overflow: hidden;
}

.login-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 32px;
}

.login-header {
  text-align: center;
  animation: fadeInDown 0.6s ease;
}

.login-crest {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50% !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.login-event-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 0%, var(--team-color, rgba(255, 255, 255, 0.7)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.login-subtitle {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.login-main-card {
  width: 100%;
  max-width: 480px;
  padding: 48px 40px;
  animation: fadeInUp 0.6s ease 0.2s both;
  background: var(--theme-color, rgba(63, 123, 254, 100))20;
  border: 2px solid var(--theme-color, rgba(255, 255, 255, 0.2))40;
  box-shadow: 0 20px 60px var(--theme-color, rgba(0, 0, 0, 0.3))40,
              inset 0 1px 0 var(--theme-color, rgba(255, 255, 255, 0.1))20;
}

.login-error-banner {
  background: rgba(250, 62, 62, 0.12);
  border: 1px solid rgba(250, 62, 62, 0.3);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #ff6b6b;
  text-align: center;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  50% { transform: translateX(8px); }
  75% { transform: translateX(-8px); }
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.label-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

.form-field-input {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-field-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

.form-field-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--team-color, rgba(255, 255, 255, 0.25));
  box-shadow: 0 4px 16px var(--team-color-shadow, rgba(255, 255, 255, 0.08));
}

.login-submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--team-gradient, linear-gradient(135deg, #3F7BFE 0%, #2d5bc7 100%));
  border: none;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.login-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.login-submit-btn:hover:not(:disabled)::before {
  left: 100%;
}

.login-submit-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--team-color-shadow, rgba(63, 123, 254, 0.4));
}

.login-submit-btn:active:not(:disabled) {
  transform: translateY(-1px);
}

.login-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.login-back-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.login-back-link:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(-4px);
}

.login-info-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.info-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: var(--team-color, rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(10px);
  border: 1px solid var(--team-color, rgba(255, 255, 255, 0.2));
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--team-gradient, linear-gradient(135deg, #40BD56 0%, #2d8a3f 100%));
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 12px var(--team-color, #40BD56);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .login-wrapper {
    padding: 24px 16px;
    gap: 24px;
  }

  .login-main-card {
    padding: 32px 24px;
  }

  .login-crest {
    width: 80px;
    height: 80px;
  }

  .login-event-title {
    font-size: 28px;
  }

  .login-card-title {
    font-size: 20px;
  }

  .login-info-pills {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .info-pill {
    justify-content: center;
  }
}
