/* ============================================
   EMATCHES — Gaming Tournament Platform
   Design System & Component Styles
   ============================================ */

/* === Google Font === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Orbitron:wght@600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

/* === Design Tokens === */
:root {
  --bg-primary: #050510;
  --bg-secondary: #050510;
  --bg-card: #0d0d20;
  --bg-card-dark: #1a1a30;
  --bg-card-light: #f2f2f8;
  --bg-card-light-hover: #e8e8f0;
  --bg-overlay: rgba(6, 6, 14, 0.92);

  --accent-cyan: #00c8ff;
  --accent-cyan-dim: rgba(0, 200, 255, 0.15);
  --accent-cyan-glow: rgba(0, 200, 255, 0.4);
  --accent-blue: #0a1a5c;
  --accent-blue-deep: #060e3a;
  --accent-yellow: #ffc800;
  --accent-yellow-dim: rgba(255, 200, 0, 0.15);
  --accent-green: #3ecf4a;
  --accent-red: #ff4444;

  --text-primary: #ffffff;
  --text-secondary: #7a8da8;
  --text-muted: #4a5568;
  --text-dark: #1a1a2e;
  --text-cyan: #00c8ff;

  --gradient-btn: linear-gradient(135deg, #00c8ff 0%, #0070dd 100%);
  --gradient-btn-hover: linear-gradient(135deg, #00daff 0%, #0088ff 100%);
  --gradient-gold: linear-gradient(135deg, #ffc800 0%, #ff9500 100%);
  --gradient-v-bg: linear-gradient(180deg, #0a1a5c 0%, #060e3a 50%, transparent 100%);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 50%;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 20px rgba(0, 200, 255, 0.25);
  --shadow-glow-yellow: 0 0 15px rgba(255, 200, 0, 0.2);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow: 0.5s ease;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Orbitron', 'Inter', sans-serif;

  --topbar-height: 48px;
  --bottom-bar-height: 56px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: #000000;
}

body {
  font-family: var(--font-primary);
  background: #000000;
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* === App Container === */
.app {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  background: transparent;
  display: flex;
  flex-direction: column;
}

/* === Blue Geometric Background Decorations (Original Signature Look) === */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Top-left angular shape */
.bg-shape-1 {
  position: absolute;
  top: 70px;
  left: -50px;
  width: 160px;
  height: 200px;
  background: linear-gradient(135deg, #0000cc 0%, #000066 60%, transparent 100%);
  border-radius: 0 20px 20px 0;
  transform: rotate(-15deg);
  opacity: 0.85;
}

.bg-shape-2 {
  position: absolute;
  top: 110px;
  left: -60px;
  width: 140px;
  height: 180px;
  background: linear-gradient(135deg, #000088 0%, #000044 70%, transparent 100%);
  border-radius: 0 16px 16px 0;
  transform: rotate(-15deg);
  opacity: 0.8;
}

/* Center-right horizontal bar */
.bg-shape-3 {
  position: absolute;
  top: 55%;
  right: -40px;
  width: 280px;
  height: 50px;
  background: linear-gradient(90deg, transparent 0%, #000055 30%, #0000bb 100%);
  border-radius: 25px;
  transform: translateY(-50%);
  opacity: 0.85;
}

/* Bottom-right angular shape */
.bg-shape-4 {
  position: absolute;
  bottom: -20px;
  right: -30px;
  width: 150px;
  height: 160px;
  background: linear-gradient(315deg, #0000cc 0%, #000066 60%, transparent 100%);
  border-radius: 20px 0 0 0;
  transform: rotate(-10deg);
  opacity: 0.9;
}

/* === Screens === */
.screen {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  display: none;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.screen:not(.active) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.screen.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.screen.slide-out-left {
  opacity: 0;
  display: none !important;
}

/* ============================================
   TOP BAR — Floating Luxury Header Theme with Auto-Hide on Scroll
   ============================================ */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  height: 52px;
  margin: 8px 12px;
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  position: sticky;
  top: 8px;
  z-index: 1000;
  flex-shrink: 0;
  box-sizing: border-box;
  font-family: 'Space Grotesk', sans-serif;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.top-bar.header-hidden {
  transform: translateY(-80px);
  opacity: 0;
  pointer-events: none;
}

.premium-nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 !important;
  height: 100%;
}

/* Logo capsule - 11Hub Compact Box Style */
.logo-capsule {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.logo-capsule:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(214, 255, 0, 0.4);
  box-shadow: 0 4px 18px rgba(214, 255, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* ============================================
   HEADER COINS / WALLET PILL WIDGET (Image 2 Style)
   ============================================ */
.header-wallet-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d1117;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  height: 36px;
  padding: 2px 4px 2px 3px;
  gap: 8px;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin: 0 auto;
}

.header-wallet-pill:hover {
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.18), inset 0 1px 2px rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

.header-wallet-pill:active {
  transform: scale(0.97);
}

/* 11Coin Badge with Metallic Shine Sweep Effect */
.wallet-coin-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd700 0%, #ca8a04 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 229, 127, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.wallet-coin-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

/* Shining light sweep animation */
.wallet-coin-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -130%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: coinShine 2.8s infinite ease-in-out;
  z-index: 2;
  pointer-events: none;
}

@keyframes coinShine {
  0%, 25% {
    left: -130%;
  }
  60%, 100% {
    left: 170%;
  }
}

/* Wallet Balance Numeral */
.wallet-balance-num {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.3px;
  line-height: 1;
  padding: 0 2px;
  white-space: nowrap;
}

/* WhatsApp Green Circular Plus (+) Button (No Glow Effect) */
.wallet-plus-btn {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: #25D366; /* Official WhatsApp Green */
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); /* Solid subtle shadow, no glow */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
  padding: 0;
}

.wallet-plus-btn:hover {
  transform: scale(1.08);
  background: #20ba59;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.wallet-plus-btn:active {
  transform: scale(0.92);
}

.wallet-plus-btn svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-width: 3.5;
}

.logo-capsule:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(214, 255, 0, 0.4);
  box-shadow: 0 8px 30px rgba(214, 255, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.premium-logo {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
  text-transform: none !important;
  text-decoration: none !important;
}

.premium-logo-accent {
  color: #D6FF00;
  margin-left: 2px;
}

/* Nav Links Capsules */
.premium-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 999px;
  height: 42px;
}

.premium-nav-item {
  font-size: 0.8rem;
  font-weight: 500;
  color: #8A8F98;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.premium-nav-item:hover {
  color: #fff;
}

.premium-nav-item.active {
  color: #000 !important;
  background: #D6FF00 !important;
  font-weight: 700 !important;
}

/* Mobile Actions Pill (Hamburger Menu + User Profile Avatar) */
.premium-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 4px 3px 8px;
  border-radius: 999px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* 3-Line Hamburger Menu Toggle */
.menu-toggle.premium-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.hamburger-bar {
  width: 17px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-toggle.active-toggle .bar-1 {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active-toggle .bar-2 {
  opacity: 0;
}

.menu-toggle.active-toggle .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.hamburger-notif-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  background: #ff3333;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(255, 51, 51, 0.8);
  border: 1px solid #000;
  line-height: 1;
  pointer-events: none;
}

/* Header Profile button (Image 1 & 2 Blue Avatar) */
.header-profile-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #3888e8;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  transition: all 0.25s ease;
  cursor: pointer;
}

.header-profile-btn:hover {
  border-color: #D6FF00;
  transform: scale(1.08);
}

/* Inline search container */
.nav-inline-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 0px;
  max-width: 0;
  width: 0;
  height: 40px;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  min-width: 0;
  box-sizing: border-box;
  transition:
    flex 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s ease,
    padding 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    margin 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.3s ease,
    visibility 0.4s ease;
}

.nav-inline-search-icon {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.nav-inline-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0 !important;
  margin: 0 !important;
}

.nav-inline-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.nav-search-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.nav-search-close-btn:hover {
  color: #D6FF00;
}

/* Expanded state for search (Image 2) */
.top-bar.search-expanded .logo-capsule {
  flex: 0 0 0px !important;
  max-width: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  overflow: hidden !important;
  pointer-events: none;
  visibility: hidden !important;
}

.top-bar.search-expanded .nav-inline-search {
  flex: 1 1 auto;
  max-width: 500px;
  width: auto;
  opacity: 1;
  visibility: visible;
  padding: 0 14px;
  margin: 0 6px;
  border-color: rgba(255, 255, 255, 0.18);
  pointer-events: auto;
}

.top-bar.search-expanded .mobile-search-btn {
  max-width: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none;
}

.top-bar.search-expanded .premium-mobile-actions {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* ============================================
   PREMIUM EXPANDABLE MOBILE MENU
   ============================================ */
.premium-mobile-menu {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-15px);
  width: calc(100% - 24px);
  max-width: 440px;
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-mobile-menu.active-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-card:hover {
  background: rgba(214, 255, 0, 0.1);
  border-color: rgba(214, 255, 0, 0.3);
  color: #D6FF00;
}

/* ============================================
   BOTTOM NAVIGATION BAR (Footer Bar - Perfectly Balanced, No Overflows)
   ============================================ */
.footer-nav {
  position: fixed;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  min-width: 300px;
  max-width: 420px;
  background: rgba(18, 18, 22, 0.9) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 6px 10px !important;
  gap: 6px !important;
  z-index: 10000;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  overflow: visible;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.footer-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 4px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent !important;
  box-sizing: border-box;
}

.footer-link svg {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
  transition: transform 0.25s ease, color 0.25s ease, stroke 0.25s ease;
}

.footer-link.active {
  color: #D6FF00 !important;
}

.footer-link.active svg {
  color: #D6FF00 !important;
  stroke: #D6FF00 !important;
  transform: translateY(-1px) scale(1.1);
  filter: drop-shadow(0 0 6px rgba(214, 255, 0, 0.45));
}

/* Back Button in Footer Nav (compact, fixed size) */
.footer-back-btn {
  flex: 0 0 auto !important;
  padding: 2px !important;
  min-width: 32px !important;
}

.footer-back-inner {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform 0.2s ease;
}

.footer-back-inner:active {
  transform: scale(0.92);
}

.footer-back-inner svg {
  width: 18px !important;
  height: 18px !important;
  stroke: rgba(255, 255, 255, 0.7) !important;
}

/* Host Tournament Button (compact balanced pill) */
.footer-host-btn {
  flex: 1 1 0px !important;
  padding: 0 !important;
  min-width: 0 !important;
  text-decoration: none !important;
}

.footer-host-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px !important;
  border-radius: 20px;
  background: linear-gradient(135deg, #0070dd 0%, #0050aa 100%);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: none;
  transition: transform 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.footer-host-inner:active {
  transform: scale(0.95);
}

.footer-host-inner svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #fff;
  flex-shrink: 0;
}

.footer-host-inner span {
  font-size: 0.74rem;
}

/* Live Active Match Rejoin Capsule (Close button INSIDE blue border) */
.footer-rejoin-capsule {
  display: none !important;
  flex: 1 1 0px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  min-width: 0 !important;
  padding: 4px 6px 4px 14px !important;
  background: linear-gradient(135deg, #0070dd 0%, #0052b4 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}

.footer-rejoin-capsule:hover {
  background: linear-gradient(135deg, #007ceb 0%, #005cc4 100%) !important;
}

/* Active Match State for Bottom Bar: Show Rejoin, strictly hide Host & Wallet */
.footer-nav.has-active-rejoin .footer-rejoin-capsule {
  display: flex !important;
}

.footer-nav.has-active-rejoin .footer-host-btn,
.footer-nav.has-active-rejoin .footer-wallet-btn {
  display: none !important;
}

.footer-rejoin-action-area {
  flex: 1 1 0px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  color: #ffffff !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  min-width: 0 !important;
  user-select: none !important;
}

.footer-rejoin-action-area svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #ffffff !important;
  flex-shrink: 0 !important;
}

.footer-rejoin-close-btn {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
  box-shadow: none !important;
}

.footer-rejoin-close-btn:hover {
  background: rgba(239, 68, 68, 0.85) !important;
  border-color: rgba(239, 68, 68, 1) !important;
  color: #ffffff !important;
}

.footer-rejoin-close-btn:active {
  transform: scale(0.9) !important;
}

.footer-rejoin-close-btn svg {
  width: 11px !important;
  height: 11px !important;
  stroke: #ffffff !important;
  stroke-width: 2.6 !important;
}

/* Notification icon wrapper (docked right, protected from overflow) */
.footer-notif-link {
  flex: 0 0 auto !important;
  padding: 2px !important;
  min-width: 32px !important;
}

.footer-notif-wrap {
  width: 32px;
  height: 32px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-notif-wrap svg {
  width: 20px !important;
  height: 20px !important;
}

.footer-notif-badge {
  position: absolute;
  top: -3px !important;
  right: -3px !important;
  background: #ff4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: bold;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 10px;
  line-height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Expandable Menu */
.premium-mobile-menu {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-15px);
  width: calc(100% - 24px);
  max-width: 440px;
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-mobile-menu.active-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-card:hover {
  background: rgba(214, 255, 0, 0.1);
  border-color: rgba(214, 255, 0, 0.3);
  color: #D6FF00;
}

/* ============================================
   SCREEN 6: NOTIFICATIONS & UPDATES (FIXED UI/UX)
   ============================================ */
.screen-updates .updates-scroll-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 14px calc(var(--bottom-bar-height) + 24px) 14px;
  width: 100%;
  box-sizing: border-box;
}

.screen-updates .updates-scroll-content::-webkit-scrollbar {
  display: none;
}

.screen-updates .updates-scroll-content {
  scrollbar-width: none;
}

.screen-updates .section-header {
  text-align: center;
  margin-bottom: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0 4px;
}

.screen-updates .section-title {
  font-family: 'Space Grotesk', sans-serif !important;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  text-align: center;
}

.screen-updates .section-subtitle {
  color: #8A8F98;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 320px;
  text-align: center;
}

.notif-filters-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding: 4px 2px;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: none;
}

.notif-filters-pills::-webkit-scrollbar {
  display: none;
}

.notif-pill {
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #8A8F98;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.notif-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.notif-pill.active {
  background: #D6FF00 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-color: #D6FF00 !important;
  box-shadow: 0 0 12px rgba(214, 255, 0, 0.35);
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.update-item {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(25, 25, 32, 0.75) 0%, rgba(15, 15, 20, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3.5px solid #D6FF00;
  border-radius: 16px;
  padding: 16px 18px;
  text-align: left;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.update-item:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 255, 0, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.update-date {
  font-size: 0.72rem;
  color: #8A8F98;
  margin-bottom: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.update-title {
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.update-text {
  color: #cccccc;
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0 0 10px 0;
}

@media (max-width: 900px) {
  .desktop-only {
    display: none !important;
  }
}

/* ============================================
   BOTTOM BAR
   ============================================ */
.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 14px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  z-index: 20;
  box-sizing: border-box;
}

.bottom-bar > * {
  pointer-events: auto;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--gradient-btn);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 20px; /* Capsule shape */
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.4);
}

.btn-back:active {
  transform: scale(0.96);
}

.btn-back svg {
  width: 16px;
  height: 16px;
}

.btn-to-match {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #3a3a50;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px; /* Capsule shape */
  transition: all var(--transition-fast);
}

.btn-to-match.enabled {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: var(--shadow-glow-cyan);
}

.btn-to-match svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   SCREEN 1: HOME / TOURNAMENTS
   ============================================ */
.screen-home .home-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 4px 0 20px 0;
  width: 100%;
  box-sizing: border-box;
}

.tournaments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 14px;
}

/* --- Play Modes cards (single row below top bar) --- */
.home-modes-row {
  display: flex;
  gap: 8px;
  padding: 10px 14px 14px;
  width: 100%;
}

.mode-card {
  flex: 1;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.mode-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 112, 221, 0.22);
  border-color: rgba(0, 112, 221, 0.4);
}

.mode-card:active {
  transform: scale(0.96);
}

.mode-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0, 112, 221, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mode-card:hover .mode-card-icon {
  background: rgba(0, 112, 221, 0.14);
  transform: scale(1.05);
}

.mode-card-icon svg {
  width: 22px;
  height: 22px;
  color: #0070dd; /* eFootball Blue */
}

.mode-card-title {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 8px;
  line-height: 1.25;
  text-align: center;
  letter-spacing: -0.1px;
}

.mode-card-desc {
  font-size: 8.5px;
  color: #6c7a89;
  margin-top: 4px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

/* --- Tournament Card (eFootball Style) --- */
.tournament-card {
  background: #111115; /* eFootball text-area dark theme */
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(255,255,255,0.04);
}

.tournament-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.tournament-card:active {
  transform: scale(0.98);
}

.card-banner {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
}

.card-event-type {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   ENHANCED TOURNAMENT EVENT TAG & SLOTS PROGRESS BAR (IMAGE 2 UI/UX)
   ========================================================================== */

.card-tourney-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-bottom: 8px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* --- Premium Tour Event Tag (Exact Match to Stakes Tier Badge Animated Flow & Shimmer) --- */
.card-event-type.tourney-event-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  position: relative !important;
  overflow: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif !important;
  font-size: 9.5px !important;
  font-weight: 850 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  padding: 3.5px 9px !important;
  border-radius: 9999px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  user-select: none !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;

  /* Default starter gradient */
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.42) 0%, rgba(0, 210, 255, 0.20) 25%, rgba(14, 165, 233, 0.48) 60%, rgba(3, 105, 161, 0.35) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3.5s ease infinite !important;
  border: 1px solid rgba(0, 210, 255, 0.45) !important;
  color: #e0f2fe !important;
}

/* Shimmer beam passing through the badge */
.card-event-type.tourney-event-badge::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -130% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.28) 50%, 
    transparent 100%
  ) !important;
  transform: skewX(-20deg) !important;
  animation: tierInsideShimmer 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.tourney-badge-icon {
  width: 11px !important;
  height: 11px !important;
  stroke: currentColor !important;
  stroke-width: 2.3 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 3 !important;
}

.card-event-type.tourney-event-badge span {
  position: relative !important;
  z-index: 3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Specific Tier Color Gradients Exact to Image 2 */
.card-event-type.tourney-event-badge.starter {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.42) 0%, rgba(0, 210, 255, 0.20) 25%, rgba(14, 165, 233, 0.48) 60%, rgba(3, 105, 161, 0.35) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3.5s ease infinite !important;
  border: 1px solid rgba(0, 210, 255, 0.45) !important;
  color: #e0f2fe !important;
}

.card-event-type.tourney-event-badge.bronze {
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.45) 0%, rgba(249, 115, 22, 0.22) 25%, rgba(234, 88, 12, 0.50) 60%, rgba(154, 52, 18, 0.35) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3.5s ease infinite !important;
  border: 1px solid rgba(249, 115, 22, 0.45) !important;
  color: #ffedd5 !important;
}

.card-event-type.tourney-event-badge.silver {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.52) 0%, rgba(203, 213, 225, 0.24) 25%, rgba(148, 163, 184, 0.50) 60%, rgba(51, 65, 85, 0.38) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3.5s ease infinite !important;
  border: 1px solid rgba(226, 232, 240, 0.45) !important;
  color: #f8fafc !important;
}

.card-event-type.tourney-event-badge.gold {
  background: linear-gradient(135deg, rgba(161, 98, 7, 0.50) 0%, rgba(250, 204, 21, 0.24) 25%, rgba(234, 179, 8, 0.52) 60%, rgba(133, 77, 14, 0.38) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3s ease infinite !important;
  border: 1px solid rgba(250, 204, 21, 0.50) !important;
  color: #fef9c3 !important;
}

.card-event-type.tourney-event-badge.diamond {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.50) 0%, rgba(192, 132, 252, 0.24) 25%, rgba(244, 114, 182, 0.42) 60%, rgba(88, 28, 135, 0.38) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3s ease infinite !important;
  border: 1px solid rgba(192, 132, 252, 0.50) !important;
  color: #fae8ff !important;
}

.card-event-type.tourney-event-badge.pro {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.50) 0%, rgba(0, 242, 254, 0.24) 25%, rgba(99, 102, 241, 0.46) 60%, rgba(29, 78, 216, 0.38) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3.5s ease infinite !important;
  border: 1px solid rgba(0, 242, 254, 0.50) !important;
  color: #e0f2fe !important;
}

/* --- Slots Counter Pill (Authentic Esports Glass Pill - Single Line Balanced) --- */
.tourney-slots-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4.5px !important;
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  padding: 3.5px 8px !important;
  border-radius: 9999px !important; /* Fluid esports capsule pill */
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif !important;
  font-size: 9.5px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  letter-spacing: 0.1px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.tourney-slots-pill .slots-pill-icon {
  width: 11px !important;
  height: 11px !important;
  stroke: #38bdf8 !important;
  stroke-width: 2.1 !important;
  flex-shrink: 0 !important;
}

.tourney-slots-pill .slots-pill-main strong {
  color: #38bdf8 !important;
  font-weight: 750 !important;
}

.tourney-slots-pill .slots-pill-divider {
  width: 3px !important;
  height: 3px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.35) !important;
  margin: 0 1px !important;
  flex-shrink: 0 !important;
}

.tourney-slots-pill .slots-pill-pending {
  color: #cbd5e1 !important;
  font-weight: 550 !important;
  font-size: 9px !important;
  white-space: nowrap !important;
}

@media (max-width: 340px) {
  .tourney-slots-pill .slots-pill-divider,
  .tourney-slots-pill .slots-pill-pending {
    display: none !important;
  }
}

.tourney-slots-pill.is-warning {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
}
.tourney-slots-pill.is-warning .slots-pill-icon {
  stroke: #fbbf24;
}
.tourney-slots-pill.is-warning .slots-pill-main strong {
  color: #fbbf24;
}
.tourney-slots-pill.is-warning .slots-pill-pending {
  color: #fde68a;
}

.tourney-slots-pill.is-filled {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
}
.tourney-slots-pill.is-filled .slots-pill-icon {
  stroke: #ef4444;
}
.tourney-slots-pill.is-filled .slots-pill-main strong {
  color: #ef4444;
}
.tourney-slots-pill.is-filled .slots-pill-pending.is-full {
  color: #fca5a5;
  font-weight: 700;
}

/* --- Animated Gradient Slots Progress Bar (Exact Match for Image 2) --- */
.tourney-slots-progress-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 11px;
  width: 100%;
}

.tourney-slots-progress-track {
  width: 100%;
  height: 8px; /* Sleek minimal track, not chunky 12px */
  background: rgba(255, 255, 255, 0.08); /* Clean subtle dark track when 0 joined */
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 9999px; /* Pill-shaped track */
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.tourney-slots-progress-bar {
  height: 100%;
  border-radius: 9999px; /* Fully rounded caps */
  /* Royal blue to sky cyan gradient */
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 28%, #38bdf8 68%, #60a5fa 92%, #2563eb 100%);
  background-size: 200% 100%;
  animation: slotsGradientFlow 3.5s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.55), 0 0 4px rgba(56, 189, 248, 0.6);
  position: relative;
  transition: width 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 0;
  overflow: hidden; /* Ensures shimmer is clipped cleanly inside the blue fill */
}

.tourney-slots-progress-bar.is-full {
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 35%, #f97316 75%, #ef4444 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* Shimmer sweep animation across the gradient fill */
.tourney-slots-progress-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  animation: slotsShimmerSweep 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes slotsGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slotsShimmerSweep {
  0% {
    transform: translateX(-100%);
  }
  60%, 100% {
    transform: translateX(200%);
  }
}

/* Sub-row with live status and pending count */
.tourney-slots-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  line-height: 1;
  padding: 0 2px;
}

.slots-sub-filled {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 5.5px;
  font-weight: 600;
}

.slots-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
  animation: liveDotPulse 2s ease-in-out infinite;
}

.slots-live-dot.dot-filled {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.slots-sub-pending {
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.slots-sub-pending.text-filled {
  color: #ef4444;
}

.card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-timer {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.card-timer span {
  color: var(--accent-cyan);
  font-weight: 600;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.card-rewards {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-rewards-label {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.card-rewards-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-reward-coins {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-coin-icon {
  width: 19px;
  height: 19px;
  object-fit: contain;
  filter: drop-shadow(0 1.5px 3px rgba(0, 0, 0, 0.55)) brightness(1.12) contrast(1.08) !important;
  transition: transform 0.2s ease;
}

.card-coin-amount {
  font-size: 13px;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: 0.2px;
}

/* Circular Reward Badges */
.reward-circle-badge {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.reward-circle-badge.pitch {
  background: #3ecf4a;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.6);
}

.reward-circle-badge.pitch svg {
  width: 14px;
  height: 14px;
}

.reward-circle-badge.star4 {
  background: #ffc800;
  color: #111111;
  font-size: 13px;
}

.reward-circle-badge.gcoin {
  background: #3a5ccc;
  color: #ffc800;
}

.reward-circle-badge.token {
  background: #0080ff;
  color: #ffffff;
}

/* Enter Button (Minimal Small Pill Shape) */
.btn-enter {
  padding: 5px 14px;
  border: 1px solid rgba(0, 160, 252, 0.28);
  border-radius: 9999px;
  color: #00d2ff;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0, 160, 252, 0.1);
  transition: all var(--transition-fast);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.btn-enter:hover {
  background: #00d2ff;
  color: #050b14;
  border-color: #00d2ff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn-enter:active {
  transform: scale(0.95);
}

/* --- Action Button Variants (eFootball Mobile Style) --- */
.btn-enter.btn-join-white {
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 9999px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 8px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-enter.btn-join-white:hover {
  background: #f1f5f9 !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4) !important;
}

.btn-enter.btn-join-white:active {
  transform: scale(0.96) !important;
}

.btn-enter.btn-join-white .btn-coin-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  pointer-events: none;
}

/* Continue Button (eFootball Green for Already Joined Players - Clean, No Glowing Aura) */
/* ==========================================================================
   BLUE ACTION PILL BUTTON (Pixel-Perfect Match for Reference Image 2)
   Features: Pill shape, vertical rich blue gradient, Title Case, tactile white circle badge with 3D drop shadow
   ========================================================================== */
.btn-enter.btn-continue,
.btn-enter.btn-track-match,
.btn-enter.btn-current-match,
.btn-enter.btn-continue-match,
.btn-enter.btn-pill-action {
  background: linear-gradient(180deg, #4477fb 0%, #1c52eb 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  height: 30px !important; /* Decreased from 36px to 30px for sleek proportional fit */
  padding: 3px 3px 3px 13px !important; /* Compact padding */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important; /* Compact gap */
  box-shadow: 0 3px 10px rgba(27, 82, 235, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  text-transform: none !important; /* Preserves Title Case 'Current Match' */
}

.btn-enter.btn-continue:hover,
.btn-enter.btn-track-match:hover,
.btn-enter.btn-current-match:hover,
.btn-enter.btn-continue-match:hover,
.btn-enter.btn-pill-action:hover {
  background: linear-gradient(180deg, #4f82fc 0%, #2056ee 100%) !important;
  box-shadow: 0 4px 12px rgba(27, 82, 235, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-1px) !important;
}

.btn-enter.btn-continue:active,
.btn-enter.btn-track-match:active,
.btn-enter.btn-current-match:active,
.btn-enter.btn-continue-match:active,
.btn-enter.btn-pill-action:active {
  background: linear-gradient(180deg, #1c52eb 0%, #1542c5 100%) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  transform: scale(0.97) !important;
}

/* Detailed, Crisp Title Case Typography */
.pill-action-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif !important;
  font-size: 0.74rem !important; /* ~11.8px for sleek compact balance */
  font-weight: 600 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  text-transform: none !important;
  text-shadow: none !important;
}

/* Tactile Elevated Circular White Badge matching Image 2 with physical 3D drop shadow */
.pill-action-arrow {
  width: 23px !important;
  height: 23px !important;
  min-width: 23px !important;
  min-height: 23px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
}

.pill-action-arrow svg {
  width: 10px !important;
  height: 10px !important;
  display: block !important;
  stroke: #111827 !important;
  stroke-width: 2.6 !important;
}

.btn-enter:hover .pill-action-arrow {
  transform: translateX(1.5px) !important;
}

/* Sold Out Button */
.btn-enter.btn-sold-out {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ff4d4d !important;
  border: 1.5px solid rgba(239, 68, 68, 0.45) !important;
  border-radius: 9999px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 7px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-enter.btn-sold-out:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: rgba(239, 68, 68, 0.65) !important;
  transform: translateY(-1px) !important;
}

.btn-enter.btn-sold-out:active {
  transform: scale(0.96) !important;
}

/* Status Badges */
.btn-status-badge {
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-status-badge.btn-badge-finished {
  background: rgba(255, 255, 255, 0.06);
  color: #8A8F98;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ============================================
   SCREEN 1.5: 1 VS 1 MATCH STAKES SELECTION (eFootball Konami Theme)
   ============================================ */
.screen-match-stakes {
  background: transparent;
  padding-bottom: 0;
  min-height: auto;
}

.stakes-scroll-content {
  flex: 0 1 auto;
  overflow-y: visible;
  padding: 10px 14px 0 14px;
}

.stakes-header-banner {
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stakes-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 6px 18px;
  border-radius: 9999px;
  color: #00d2ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
}

.stakes-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  font-family: var(--font-display, sans-serif);
}

.stakes-subtitle {
  font-size: 0.84rem;
  color: #8A8F98;
  margin: 0;
  line-height: 1.4;
}

/* Stakes Cards Grid - Premium eFootball Esports Proportion */
.stakes-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 440px;
  margin: 0 auto;
  padding: 4px 6px 90px 6px;
}

.stake-card {
  position: relative;
  border-radius: 18px;
  padding: 16px 18px 15px 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-sizing: border-box;
}

/* Tier Specific Card Aesthetics (Ambient Gradient Fills & Sleek Border Tints) */
.stake-card.stake-card-starter {
  background: linear-gradient(145deg, rgba(14, 24, 46, 0.88) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.stake-card.stake-card-starter:hover {
  border-color: rgba(56, 189, 248, 0.48);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  transform: translateY(-2px);
}

.stake-card.stake-card-bronze {
  background: linear-gradient(145deg, rgba(28, 18, 14, 0.88) 0%, rgba(12, 9, 10, 0.98) 100%);
  border: 1px solid rgba(249, 115, 22, 0.22);
}
.stake-card.stake-card-bronze:hover {
  border-color: rgba(249, 115, 22, 0.48);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  transform: translateY(-2px);
}

.stake-card.stake-card-silver {
  background: linear-gradient(145deg, rgba(24, 30, 42, 0.88) 0%, rgba(10, 13, 20, 0.98) 100%);
  border: 1px solid rgba(226, 232, 240, 0.24);
}
.stake-card.stake-card-silver:hover {
  border-color: rgba(226, 232, 240, 0.52);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  transform: translateY(-2px);
}

.stake-card.stake-card-gold {
  background: linear-gradient(145deg, rgba(32, 26, 10, 0.88) 0%, rgba(14, 12, 8, 0.98) 100%);
  border: 1px solid rgba(250, 204, 21, 0.25);
}
.stake-card.stake-card-gold:hover {
  border-color: rgba(250, 204, 21, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  transform: translateY(-2px);
}

.stake-card.stake-card-diamond {
  background: linear-gradient(145deg, rgba(28, 14, 42, 0.88) 0%, rgba(12, 8, 20, 0.98) 100%);
  border: 1px solid rgba(192, 132, 252, 0.25);
}
.stake-card.stake-card-diamond:hover {
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  transform: translateY(-2px);
}

.stake-card.stake-card-pro {
  background: linear-gradient(145deg, rgba(14, 22, 50, 0.88) 0%, rgba(8, 11, 24, 0.98) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
}
.stake-card.stake-card-pro:hover {
  border-color: rgba(0, 242, 254, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  transform: translateY(-2px);
}

.stake-card:active {
  transform: scale(0.99);
}

/* Header Row */
.stake-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* Keyframes for Stakes Tier Badge Animated Inside Gradient & Shimmer */
@keyframes tierInsideFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes tierGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes tierInsideShimmer {
  0% {
    left: -130%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  45% {
    left: 170%;
    opacity: 0.8;
  }
  46%, 100% {
    left: 170%;
    opacity: 0;
  }
}

.stake-tier-badge {
  position: relative;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  padding: 4.5px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  user-select: none;
  box-shadow: none !important; /* NO GLOW OUTSIDE */
  text-shadow: none !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stake-tier-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.24) 50%, 
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: tierInsideShimmer 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 2;
}

.stake-tier-dot {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stake-tier-name {
  position: relative;
  z-index: 3;
  letter-spacing: 0.8px;
}

/* Tier Badge Gradient Colors */
.stake-tier-badge.starter {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.42) 0%, rgba(0, 210, 255, 0.20) 25%, rgba(14, 165, 233, 0.48) 60%, rgba(3, 105, 161, 0.35) 100%);
  background-size: 220% 220%;
  animation: tierInsideFlow 3.5s ease infinite;
  border: 1px solid rgba(0, 210, 255, 0.45);
  color: #e0f2fe;
}

.stake-tier-badge.bronze {
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.45) 0%, rgba(249, 115, 22, 0.22) 25%, rgba(234, 88, 12, 0.50) 60%, rgba(154, 52, 18, 0.35) 100%);
  background-size: 220% 220%;
  animation: tierInsideFlow 3.5s ease infinite;
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #ffedd5;
}

.stake-tier-badge.silver {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.52) 0%, rgba(203, 213, 225, 0.24) 25%, rgba(148, 163, 184, 0.50) 60%, rgba(51, 65, 85, 0.38) 100%);
  background-size: 220% 220%;
  animation: tierInsideFlow 3.5s ease infinite;
  border: 1px solid rgba(226, 232, 240, 0.45);
  color: #f8fafc;
}

.stake-tier-badge.gold {
  background: linear-gradient(135deg, rgba(161, 98, 7, 0.50) 0%, rgba(250, 204, 21, 0.24) 25%, rgba(234, 179, 8, 0.52) 60%, rgba(133, 77, 14, 0.38) 100%);
  background-size: 220% 220%;
  animation: tierInsideFlow 3s ease infinite;
  border: 1px solid rgba(250, 204, 21, 0.50);
  color: #fef9c3;
}

.stake-tier-badge.diamond {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.50) 0%, rgba(192, 132, 252, 0.24) 25%, rgba(244, 114, 182, 0.42) 60%, rgba(88, 28, 135, 0.38) 100%);
  background-size: 220% 220%;
  animation: tierInsideFlow 3s ease infinite;
  border: 1px solid rgba(192, 132, 252, 0.50);
  color: #fae8ff;
}

.stake-tier-badge.pro {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.50) 0%, rgba(0, 242, 254, 0.24) 25%, rgba(99, 102, 241, 0.46) 60%, rgba(29, 78, 216, 0.38) 100%);
  background-size: 220% 220%;
  animation: tierInsideFlow 3.5s ease infinite;
  border: 1px solid rgba(0, 242, 254, 0.50);
  color: #e0f2fe;
}

/* Profit Multiplier (No background box, clean vibrant typography) */
.stake-multiplier-pill {
  font-size: 0.85rem;
  font-weight: 850;
  color: #00ff88;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  letter-spacing: 0.4px;
  box-shadow: none !important;
}

/* Middle Row: Entry Fee vs Win Prize with Elegant Vertical Separator */
.stake-card-middle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent !important;
  border: none !important;
  padding: 0 2px 14px 2px;
  margin-bottom: 2px;
  box-shadow: none !important;
}

.stake-stat-col,
.stake-stat-tile {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stake-stat-col.entry-col,
.stake-stat-tile.entry-tile {
  align-items: flex-start;
  text-align: left;
}

.stake-stat-col.win-col,
.stake-stat-tile.win-tile {
  align-items: flex-end;
  text-align: right;
}

.stake-stat-divider-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
  flex-shrink: 0;
  margin: 0 16px;
}

.stake-stat-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #718096;
  margin-bottom: 4px;
}

.stake-stat-col.win-col .stake-stat-label,
.stake-stat-tile.win-tile .stake-stat-label {
  color: #718096;
}

.stake-stat-val {
  font-size: 1.15rem;
  font-weight: 850;
  font-family: 'Orbitron', var(--font-display), -apple-system, sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.01em;
}

.stake-stat-val img {
  width: 19px !important;
  height: 19px !important;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.stake-stat-val.entry-val {
  color: #ffffff;
}

.stake-stat-val.win-val {
  color: #00ff88;
  justify-content: flex-end;
}

/* Futuristic gaming digits font matching image 2 */
.stake-stat-val .stake-stat-digits {
  font-family: 'Orbitron', var(--font-display), sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  letter-spacing: 0.8px !important;
  line-height: 1;
}

.stake-stat-val .stake-stat-label-coin {
  font-family: var(--font-primary, -apple-system, sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-left: 2px;
  color: #cbd5e1;
}

.stake-stat-val.win-val .stake-stat-label-coin {
  color: rgba(0, 255, 136, 0.9);
}

/* Bottom Row */
.stake-card-bottom-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2px;
}

.btn-stake-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  max-width: 220px;
  height: 40px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-stake-action.btn-wallet-coins {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
}

.btn-stake-action.btn-wallet-coins:hover {
  background: linear-gradient(180deg, #4f82fc 0%, #2563eb 100%) !important;
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
}

.btn-stake-action.btn-continue-match {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  font-weight: 800 !important;
}

.btn-stake-action.btn-continue-match span {
  color: #000000 !important;
}

.btn-stake-action.btn-continue-match svg {
  stroke: #000000 !important;
  color: #000000 !important;
}

.btn-stake-action.btn-continue-match:hover {
  background: #f1f5f9 !important;
  color: #000000 !important;
  transform: translateY(-1px);
}

.btn-stake-action:active {
  transform: scale(0.97);
}

/* Ensure legacy/hidden elements stay hidden */
.stake-vs-divider,
.stake-vs-text {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
}

/* ============================================
   SCREEN 2: MATCHMAKING (Exact Home Page Background Graphics & Centered Progress)
   ============================================ */
.screen-matchmaking {
  position: relative !important;
  width: 100% !important;
  max-width: 480px !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  display: none;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  background: transparent !important; /* Inherits exact Home Page background graphics (.bg-shapes) */
  box-sizing: border-box !important;
  padding: calc(env(safe-area-inset-top, 14px) + 12px) 16px calc(74px + env(safe-area-inset-bottom, 20px)) 16px !important;
  overflow: hidden !important;
  z-index: 10 !important;
}

.screen-matchmaking.active {
  display: flex !important;
}

.screen-matchmaking:not(.active) {
  display: none !important;
}

/* Hide duplicate bg-shapes if present since global .bg-shapes from Home Page is used */
.screen-matchmaking .bg-shapes {
  display: none !important;
}

/* Top Controls Row: Back Button on Left, Countdown Badge on Right (Exact Older Layout) */
.matchmaking-top-controls {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 30 !important;
  padding: 6px 0 10px 0 !important;
  box-sizing: border-box !important;
}

.matchmaking-top-controls .btn-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 9px 22px !important;
  background: var(--gradient-btn, linear-gradient(135deg, #00d2ff 0%, #0066ff 100%)) !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  border-radius: 9999px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(0, 150, 255, 0.4) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  letter-spacing: 0.2px !important;
}

.matchmaking-top-controls .btn-back:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 22px rgba(0, 150, 255, 0.55) !important;
}

.matchmaking-top-controls .btn-back:active {
  transform: scale(0.96) !important;
}

.matchmaking-top-controls .countdown-pill-badge,
.matchmaking-top-controls .countdown-badge {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 34px !important;
  padding: 0 14px 0 10px !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

.matchmaking-content {
  flex: 1;
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Matchmaking Center (Exact Older Spinner + Text Centered) */
.matchmaking-center {
  position: relative;
  z-index: 10;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  text-align: center !important;
}

.spinner {
  width: 38px !important;
  height: 38px !important;
  border: 3.5px dotted #ffffff !important; /* Pure white rotating symbol */
  border-radius: 50% !important;
  animation: spin 2s linear infinite !important;
  flex-shrink: 0 !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.matchmaking-text {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #ffffff !important; /* Pure white progress text */
  letter-spacing: 0.3px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

/* Countdown Timer - eFootball Konami HUD Style (Image 2) */
.countdown-pill-badge,
.countdown-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 10px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.timer-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.timer-clock-icon {
  width: 16px;
  height: 16px;
  color: #1e293b;
  animation: clockRotate 2s linear infinite;
}

@keyframes clockRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.countdown-pill-badge .timer-value,
.countdown-badge .timer-value {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1;
}

.countdown-pill-badge.timer-urgent,
.countdown-badge.timer-urgent {
  background: #fff0f0;
  border-color: #ff4444;
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.4);
}

.countdown-pill-badge.timer-urgent .timer-value,
.countdown-badge.timer-urgent .timer-value {
  color: #dc2626;
}

.countdown-pill-badge.timer-urgent .timer-clock-icon,
.countdown-badge.timer-urgent .timer-clock-icon {
  color: #dc2626;
}

/* Match Room Header Countdown Timer (White Background, Black Digits, Compact Header Size) */
.match-room-header-countdown {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  height: 28px !important;
  padding: 0 10px 0 8px !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

.match-room-header-countdown.hidden,
.match-room-header-countdown[style*="display: none"] {
  display: none !important;
}

.match-room-header-countdown .timer-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 14px !important;
  height: 14px !important;
}

.match-room-header-countdown .timer-clock-icon {
  width: 13px !important;
  height: 13px !important;
  color: #000000 !important;
  stroke: #000000 !important;
}

.match-room-header-countdown .timer-value {
  font-size: 0.80rem !important;
  font-weight: 800 !important;
  color: #000000 !important; /* Pure black color digits */
  letter-spacing: 0.3px !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
}

.match-room-header-countdown.timer-urgent {
  background: #fff5f5 !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4) !important;
}

.match-room-header-countdown.timer-urgent .timer-value {
  color: #dc2626 !important;
}

.match-room-header-countdown.timer-urgent .timer-clock-icon {
  color: #dc2626 !important;
  stroke: #dc2626 !important;
}

/* Localhost / Dev Opponent Checking Option */
.match-room-dev-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 2px 0;
  width: 100%;
}

.btn-dev-dummy-opponent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px dashed rgba(0, 210, 255, 0.6);
  border-radius: 9999px;
  color: #00d2ff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-dev-dummy-opponent:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: #00d2ff;
  transform: translateY(-1px);
}

.btn-dev-dummy-opponent:active {
  transform: scale(0.97);
}

/* ============================================
   WALLET RECHARGE / DEPOSIT MODAL
   ============================================ */
.wallet-recharge-modal-overlay {
  z-index: 1500;
}

.wallet-recharge-card {
  position: relative;
  width: 92%;
  max-width: 440px;
  max-height: 90vh;
  background: #0c0f14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 215, 0, 0.1);
  -webkit-overflow-scrolling: touch;
  animation: modalPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wallet-recharge-body {
  padding: 24px 20px;
}

.wr-header {
  text-align: center;
  margin-bottom: 18px;
}

.wr-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  color: #ffd700;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wr-main-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px;
  font-family: var(--font-display, sans-serif);
}

.wr-subtitle {
  font-size: 0.78rem;
  color: #8892b0;
  margin: 0;
}

.wr-balance-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.wr-bb-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #8892b0;
  letter-spacing: 0.8px;
}

.wr-bb-amount-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wr-bb-amount {
  font-size: 1.15rem;
  font-weight: 900;
  color: #D6FF00;
  font-family: var(--font-display, sans-serif);
}

.wr-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #aaa;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Packages Grid */
.wr-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.wr-pkg-card {
  position: relative;
  background: #141722;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 8px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
  overflow: hidden;
}

.wr-pkg-card:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 255, 0, 0.4);
  background: #181d2c;
}

.wr-pkg-card.active {
  border-color: #D6FF00;
  background: linear-gradient(135deg, rgba(214, 255, 0, 0.12) 0%, rgba(20, 24, 38, 0.95) 100%);
  box-shadow: 0 0 16px rgba(214, 255, 0, 0.25);
}

.wr-pkg-tag {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
}

.wr-pkg-tag.starter { background: rgba(0, 229, 255, 0.15); color: #00e5ff; }
.wr-pkg-tag.popular { background: rgba(214, 255, 0, 0.18); color: #D6FF00; }
.wr-pkg-tag.best { background: rgba(0, 255, 136, 0.18); color: #00ff88; }
.wr-pkg-tag.champion { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.wr-pkg-tag.elite { background: rgba(255, 180, 0, 0.2); color: #ffb703; }
.wr-pkg-tag.legend { background: rgba(255, 77, 77, 0.2); color: #ff6b6b; }

.wr-pkg-amount {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 2px;
}

.wr-pkg-coins {
  font-size: 0.72rem;
  color: #8892b0;
  font-weight: 600;
}

/* Custom Input */
.wr-custom-wrap {
  margin-bottom: 16px;
}

.wr-custom-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #aaa;
  display: block;
  margin-bottom: 6px;
}

.wr-custom-input-box {
  display: flex;
  align-items: center;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0 14px;
}

.wr-currency-symbol {
  color: #D6FF00;
  font-weight: 800;
  font-size: 1.1rem;
}

.wr-custom-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 8px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  outline: none;
}

/* Payment Box */
.wr-payment-box {
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
}

.wr-pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  color: #aaa;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.wr-amount-highlight {
  font-size: 1.3rem;
  font-weight: 900;
  color: #D6FF00;
}

.wr-dealer-row {
  font-size: 0.78rem;
  color: #ccc;
  margin-bottom: 14px;
}

.wr-dealer-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.wr-verified-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #D6FF00;
  font-weight: 700;
  font-size: 0.7rem;
}

.wr-qr-container {
  width: 140px;
  height: 140px;
  margin: 0 auto 14px;
  position: relative;
}

.wr-qr-spinner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px dashed rgba(214, 255, 0, 0.4);
  font-size: 0.75rem;
  color: #aaa;
  gap: 8px;
}

.wr-qr-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #fff;
  display: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.wr-qr-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wr-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 255, 0, 0.12);
  border: 1px solid rgba(214, 255, 0, 0.4);
  color: #D6FF00;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wr-btn-download:hover {
  background: rgba(214, 255, 0, 0.22);
}

.wr-btn-upi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #00ff88, #00b894);
  border: none;
  color: #000;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.3);
}

.wr-form-group {
  display: flex;
  flex-direction: column;
}

.wr-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.wr-input {
  width: 100%;
  padding: 11px 14px;
  background: #1c2030;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.wr-input:focus {
  border-color: #D6FF00;
}

.wr-error-msg {
  color: #ff4444;
  font-size: 0.74rem;
  margin-top: 5px;
}

.wr-file-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ccc;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wr-file-upload-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #D6FF00;
}

.wr-btn-confirm {
  width: 100%;
  margin-top: 16px;
  padding: 13px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #D6FF00, #00ff88);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 25px rgba(214, 255, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wr-btn-confirm:hover {
  transform: scale(1.01);
  box-shadow: 0 0 35px rgba(214, 255, 0, 0.45);
}

/* ============================================
   MATCH PAYMENT MODAL (Anzil Rahman Escrow Style)
   ============================================ */
.match-payment-modal-overlay {
  z-index: 1500;
}

.match-payment-card {
  position: relative;
  width: 92%;
  max-width: 440px;
  max-height: 90vh;
  background: #0f0f14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(214, 255, 0, 0.08);
  -webkit-overflow-scrolling: touch;
  animation: modalPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.match-payment-body {
  padding: 24px 20px;
}

.mp-header {
  text-align: center;
  margin-bottom: 18px;
}

.mp-main-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.mp-subtitle {
  font-size: 0.78rem;
  color: #8892b0;
  margin: 0;
}

.mp-summary-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #16161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.mp-summary-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(214, 255, 0, 0.1);
  border: 1px solid rgba(214, 255, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-match-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.mp-dealer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #aaa;
}

.mp-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #D6FF00;
  font-weight: 700;
  font-size: 0.72rem;
}

.mp-price-breakdown {
  background: #16161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.mp-pb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 800;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.mp-escrow-badge {
  color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
}

.mp-pb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 8px;
}

.mp-win-green {
  color: #00ff88;
  font-weight: 800;
}

.mp-pb-total {
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.mp-total-accent {
  color: #D6FF00;
  font-size: 1.15rem;
}

.mp-how-it-works {
  background: #16161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid #D6FF00;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.mp-hiw-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 8px;
}

.mp-hiw-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.4;
}

.mp-hiw-steps strong {
  color: #fff;
}

.mp-qr-section {
  text-align: center;
  background: #16161f;
  border: 1px solid rgba(214, 255, 0, 0.3);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 16px;
  box-shadow: 0 0 25px rgba(214, 255, 0, 0.05);
}

.mp-qr-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.mp-qr-title strong {
  color: #D6FF00;
  font-size: 1.1rem;
}

.mp-qr-container {
  width: 160px;
  height: 160px;
  margin: 0 auto 14px;
  position: relative;
}

.mp-qr-spinner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px dashed rgba(214, 255, 0, 0.4);
  font-size: 0.75rem;
  color: #aaa;
  gap: 8px;
}

.mp-qr-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #fff;
  display: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.mp-qr-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mp-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 255, 0, 0.12);
  border: 1px solid rgba(214, 255, 0, 0.4);
  color: #D6FF00;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mp-btn-download:hover {
  background: rgba(214, 255, 0, 0.22);
}

.mp-btn-upi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #00ff88, #00b894);
  border: none;
  color: #000;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.3);
}

.mp-btn-upi:hover {
  transform: scale(1.02);
}

.mp-form-section {
  background: #16161f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 16px;
}

.mp-form-group {
  display: flex;
  flex-direction: column;
}

.mp-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.mp-input {
  width: 100%;
  padding: 12px 14px;
  background: #1e1e2a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.mp-input:focus {
  border-color: #D6FF00;
}

.mp-error-msg {
  color: #ff4444;
  font-size: 0.74rem;
  margin-top: 5px;
}

.mp-file-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ccc;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mp-file-upload-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #D6FF00;
}

.mp-btn-confirm {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #D6FF00, #00ff88);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 25px rgba(214, 255, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mp-btn-confirm:hover {
  transform: scale(1.01);
  box-shadow: 0 0 35px rgba(214, 255, 0, 0.45);
}

/* Ambient particles disabled - matches Home Page clean background graphics */
.matchmaking-content::before,
.matchmaking-content::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(20px) scale(1.05); }
}

/* ============================================
   SCREEN 3: MATCH ROOM
   ============================================ */
.match-room-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 12px;
  padding-bottom: calc(var(--bottom-bar-height) + 8px);
  overflow-y: auto;
}

/* Sleek Cards below room panel (Side-by-Side in Single Row) */
.options-row-cards {
  display: flex;
  gap: 12px;
  width: 100%;
  order: 2;
}

.option-card {
  flex: 1;
  background: #ffffff; /* Pure white button */
  border-radius: 20px; /* Exact rounded look */
  padding: 14px 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  border: none;
}

.option-card:hover {
  background: #f8f8fa;
  transform: translateY(-2px);
}

.option-card:active {
  transform: scale(0.97);
}

.option-card-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-card-icon svg {
  width: 24px;
  height: 24px;
  color: #0070dd; /* Blue icon color */
}

.option-card-label {
  font-size: 13px;
  font-weight: 800;
  color: #111111; /* Dark text inside white button */
  line-height: 1.3;
}

/* Room Panel — Top (eFootball Konami Solid Sleek Stadium Slate) */
.room-panel {
  width: 100%;
  background: #15151b; /* Solid dark grey matching coop room aesthetic */
  border-radius: var(--radius-lg, 20px);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  position: relative;
  order: 1;
  box-sizing: border-box;
}

.room-header {
  margin-bottom: 16px;
}

.room-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  color: #ffee00; /* Vivid eFootball Yellow */
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.room-number {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffee00; /* Vivid eFootball Yellow */
  margin-top: 3px;
}

.btn-copy-room {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: #0070dd;
}

.btn-copy-room:hover {
  background: rgba(0, 112, 221, 0.15);
  color: var(--accent-cyan);
}

.btn-copy-room svg {
  width: 16px;
  height: 16px;
}

/* Premium eFootball Action Launcher Button */
.btn-open-efootball {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0b0e14;
  border: none;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 18px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.22s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-open-efootball:hover {
  background: #ffee00;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 238, 0, 0.35);
}

.btn-open-efootball:active {
  transform: scale(0.97);
}

/* ============================================
   AUTHENTIC eFOOTBALL / KONAMI MATCH HOST UI
   ============================================ */
.efootball-host-card,
.efootball-opponent-card {
  width: 100%;
  background: #15151b; /* Exact Konami stadium dark slate */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.host-card-top,
.opp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.host-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display, sans-serif);
  font-size: 0.84rem;
  font-weight: 900;
  color: #ffee00; /* Vivid eFootball Yellow */
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.host-dot {
  width: 7px;
  height: 7px;
  background: #ffee00;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffee00;
}

.host-role-pill {
  font-family: var(--font-display, sans-serif);
  font-size: 0.7rem;
  font-weight: 900;
  color: #111111;
  background: #ffee00;
  padding: 3px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.host-card-instruction {
  font-size: 0.78rem;
  font-weight: 500;
  color: #8a9bb5;
  line-height: 1.4;
  margin-bottom: 14px;
}

.host-card-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* eFootball Signature Pure White Launcher Pill Button */
.btn-efootball-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  background: #ffffff; /* Signature pure white */
  color: #111111;
  border: none;
  border-radius: 9999px; /* Complete sleek pill shape */
  font-family: var(--font-display, sans-serif);
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: capitalize;
}

.btn-efootball-launch svg {
  color: #0070dd; /* Matching eFootball blue launcher icon */
}

.btn-efootball-launch:hover {
  background: #f4f5f8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-efootball-launch:active {
  transform: scale(0.98);
}

.host-input-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.efootball-id-input {
  flex: 1 1 0px !important;
  min-width: 0 !important;
  width: 0 !important;
  height: 42px !important;
  box-sizing: border-box !important;
  background: #0e0f14 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important; /* Sleek pill shape */
  padding: 0 14px !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.efootball-id-input:focus {
  border-color: #ffee00 !important;
  box-shadow: 0 0 10px rgba(255, 238, 0, 0.2) !important;
}

.efootball-id-input::placeholder {
  color: #555e6d !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
}

/* Save Pill Action Button */
.btn-efootball-save {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  height: 42px !important;
  padding: 0 18px !important;
  background: #ffee00 !important; /* Vivid eFootball Yellow */
  color: #111111 !important;
  border: none !important;
  border-radius: 9999px !important; /* Matching pill shape */
  font-family: var(--font-display, sans-serif) !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(255, 238, 0, 0.25) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.btn-efootball-save:hover {
  background: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
}

.btn-efootball-save:active {
  transform: scale(0.96) !important;
}

/* Opponent Card */
.opp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display, sans-serif);
  font-size: 0.84rem;
  font-weight: 900;
  color: #00d2ff;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.opp-dot {
  width: 7px;
  height: 7px;
  background: #00d2ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00d2ff;
}

.opp-role-pill {
  font-family: var(--font-display, sans-serif);
  font-size: 0.7rem;
  font-weight: 900;
  color: #111111;
  background: #00d2ff;
  padding: 3px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.opp-code-box {
  background: #0e0f14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px 16px;
  margin-top: 6px;
}

.opp-code-label {
  font-size: 0.68rem;
  color: #8a9bb5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.opp-code-val-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.opp-code-number {
  font-family: var(--font-display, sans-serif);
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffee00;
  letter-spacing: 1.5px;
}

.btn-copy-mini-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 14px;
  border-radius: 9999px;
  font-family: var(--font-display, sans-serif);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-mini-pill:hover {
  background: #ffffff;
  color: #111111;
}

.btn-copy-code-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-copy-code-pill:hover {
  background: #ffffff;
  color: #000000;
}

/* In-Game Room ID Input for Room Creator */
.host-room-input-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 238, 0, 0.4);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  box-sizing: border-box;
  width: 100%;
}

.toss-input-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.ingame-room-input {
  flex: 1 1 0px !important;
  min-width: 0 !important;
  width: 0 !important;
  box-sizing: border-box !important;
  background: #111116 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  outline: none !important;
}

.ingame-room-input:focus {
  border-color: #ffee00 !important;
}

.btn-sync-room-id {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  background: #ffee00 !important;
  color: #000 !important;
  border: none !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.btn-sync-room-id:hover {
  background: #fff;
}

/* Live Match Running HUD */
.live-match-timer-hud {
  background: linear-gradient(135deg, rgba(13, 34, 88, 0.9) 0%, rgba(6, 14, 40, 0.95) 100%);
  border: 1.5px solid #ffee00;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin: 12px 0;
  box-shadow: 0 0 25px rgba(255, 238, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffee00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hud-timer-display {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-display, sans-serif);
  margin: 6px 0 2px 0;
  text-shadow: 0 0 20px rgba(255, 238, 0, 0.4);
}

.hud-subtext {
  font-size: 11px;
  color: #aaa;
  margin: 0 0 12px 0;
}

.btn-submit-result-action {
  width: 100%;
  background: #ffffff;
  color: #000000;
  border: none;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-submit-result-action:hover {
  background: #ffee00;
}

/* ==========================================================
   POST-MATCH RESULT SUBMISSION (FULL-SCREEN BLACK THEME)
   ========================================================== */
.result-fullscreen-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #000000 !important;
  z-index: 100005 !important;
  display: none !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.result-fullscreen-overlay.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.result-fullscreen-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
}

/* Sticky Top Navigation Bar */
.result-screen-top-bar {
  height: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #000000;
  border-bottom: 1px solid #1a1a24;
  position: relative;
  z-index: 20;
}

.result-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #121218;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-shadow: none !important;
}

.result-back-btn:hover,
.result-back-btn:active {
  background: #1c1c24;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.result-screen-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
  text-align: center;
}

.result-top-spacer {
  width: 70px;
}

/* Scrollable Body */
.result-fullscreen-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 16px 48px;
  background: #000000;
}

.result-content-wrap {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

/* Hero Header */
.result-hero-header {
  text-align: center;
  margin-bottom: 24px;
}

.result-header-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.result-hero-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.result-hero-desc {
  font-size: 13px;
  color: #8e8e99;
  line-height: 1.5;
  margin: 0;
}

/* Form Container Card */
.result-form-card {
  background: #0b0b10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 16px;
  box-shadow: none !important;
}

.result-section-group {
  margin-bottom: 20px;
}

.result-field-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}

.result-req-dot {
  color: #f59e0b;
}

/* Outcome Buttons (Won / Lost) - Standard, Non-Glowing */
.result-outcome-toggle-group {
  display: flex;
  gap: 10px;
}

.result-outcome-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  background: #14141c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #8e8e99;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none !important;
  text-shadow: none !important;
}

.result-outcome-btn:hover {
  background: #1a1a24;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.result-outcome-btn.active-won {
  background: #062b1b !important;
  border: 1.5px solid #10b981 !important;
  color: #34d399 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.result-outcome-btn.active-lost {
  background: #2b0b10 !important;
  border: 1.5px solid #ef4444 !important;
  color: #f87171 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Score Input Grid */
.result-score-grid {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-score-field {
  flex: 1;
}

.result-score-sublabel {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.result-score-input {
  width: 100%;
  height: 52px;
  background: #121218;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease;
  box-shadow: none !important;
}

.result-score-input:focus {
  border-color: #ffffff;
  box-shadow: none !important;
}

.result-score-divider {
  font-size: 24px;
  font-weight: 700;
  color: #475569;
  padding-top: 18px;
}

/* Screenshot Upload Dropzone */
.result-upload-zone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #121218;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.result-upload-zone:hover {
  background: #161622;
  border-color: rgba(255, 255, 255, 0.35);
}

.result-upload-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #1c1c26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-upload-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}

.result-upload-main-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-upload-sub-text {
  font-size: 11px;
  color: #64748b;
}

/* Preview Image */
.result-preview-wrap {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000000;
  text-align: center;
}

.result-preview-img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

/* Verification Status Alert */
.result-status-alert {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  box-shadow: none !important;
}

.result-status-alert.status-submitting {
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #38bdf8;
}

.result-status-alert.status-submitted {
  background: #052e16;
  border: 1px solid #14532d;
  color: #86efac;
}

/* Main Submit Button - Standard, Sleek, NO GLOW */
.result-btn-submit-standard {
  width: 100%;
  background: #ffffff;
  color: #000000;
  border: none;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease, opacity 0.15s ease;
  box-shadow: none !important;
  text-shadow: none !important;
}

.result-btn-submit-standard:hover:not(:disabled) {
  background: #e2e8f0;
}

.result-btn-submit-standard:disabled,
.result-btn-submit-standard.is-disabled {
  background: #181822 !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

.result-btn-close-secondary {
  width: 100%;
  background: transparent;
  color: #64748b;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 12px;
  margin-top: 6px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.result-btn-close-secondary:hover {
  color: #ffffff;
}

.spin-icon {
  animation: resultSpin 1s linear infinite;
}

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

/* Player Entry — 1vs1 eFootball Layout */
.player-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

/* Premium circular avatar frame with Konami Gold gradient rim */
.player-avatar-gold-frame {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  min-height: 44px;
  max-height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 180deg at 50% 50%, #ffd700 0deg, #ffae19 70deg, #fff3a8 140deg, #e5a00d 210deg, #ffd700 280deg, #fff 340deg, #ffd700 360deg);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.player-avatar-gold-frame .player-avatar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid #06060e !important;
  display: block !important;
  box-sizing: border-box;
}

.player-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

.player-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-role {
  font-size: 11px;
  font-weight: 700;
  color: #888899;
  text-transform: capitalize;
}

/* Ready badge (vivid green checkmark + text, Image 3 clean style) */
.player-ready-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #00e676;
  font-size: 14px;
  font-weight: 800;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  animation: none;
}

.player-ready-badge svg {
  width: 18px;
  height: 18px;
  fill: #00e676;
  flex-shrink: 0;
}

/* Room Panel Top Actions (Ready Pill & Copy Button, Image 5 style) */
.room-panel-top-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.room-panel-top-actions .btn-copy-room {
  position: static;
  top: auto;
  right: auto;
}

/* Room Ready Counter Pill (Image 5 white capsule style) */
.room-ready-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #ffffff;
  border-radius: 20px;
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.1px;
}

.room-ready-pill svg {
  width: 14px;
  height: 14px;
  fill: #00c853;
  flex-shrink: 0;
}

/* Invite Button */
.btn-invite {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-invite:hover .invite-text {
  color: #fff;
}

.invite-plus {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-secondary);
  border: 2px dashed rgba(255,255,255,0.15);
  transition: all var(--transition-fast);
}

.btn-invite:hover .invite-plus {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
}

.invite-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: color var(--transition-fast);
}

/* Status Message */
.room-status {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.room-status.status-enough {
  color: #c0c6d2;
}

/* ============================================
   WAITING FOR OPPONENT MODAL (Image 5 Crisp Style)
   ============================================ */
.waiting-dialog-card {
  position: relative;
  z-index: 10;
  width: calc(100% - 44px);
  max-width: 350px;
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 24px 24px 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.waiting-dialog-title {
  font-family: var(--font-primary);
  font-size: 19px;
  font-weight: 900;
  color: #111111;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.waiting-dialog-desc {
  font-size: 13px;
  line-height: 1.45;
  color: #222222;
  margin-bottom: 22px;
  max-width: 270px;
  font-weight: 600;
}

.waiting-spinner-container {
  width: 50px;
  height: 50px;
  margin: 0 auto 26px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waiting-dots-spinner-svg {
  width: 46px;
  height: 46px;
  display: block;
}

.spinner-dot {
  fill: #8c8c9e;
  opacity: 0.18;
}

.sd1  { animation: dotFade 1.2s infinite ease-in-out 0.0s; }
.sd2  { animation: dotFade 1.2s infinite ease-in-out 0.1s; }
.sd3  { animation: dotFade 1.2s infinite ease-in-out 0.2s; }
.sd4  { animation: dotFade 1.2s infinite ease-in-out 0.3s; }
.sd5  { animation: dotFade 1.2s infinite ease-in-out 0.4s; }
.sd6  { animation: dotFade 1.2s infinite ease-in-out 0.5s; }
.sd7  { animation: dotFade 1.2s infinite ease-in-out 0.6s; }
.sd8  { animation: dotFade 1.2s infinite ease-in-out 0.7s; }
.sd9  { animation: dotFade 1.2s infinite ease-in-out 0.8s; }
.sd10 { animation: dotFade 1.2s infinite ease-in-out 0.9s; }
.sd11 { animation: dotFade 1.2s infinite ease-in-out 1.0s; }
.sd12 { animation: dotFade 1.2s infinite ease-in-out 1.1s; }

@keyframes dotFade {
  0%, 39%, 100% { opacity: 0.18; }
  40% { opacity: 1; }
}

.btn-waiting-cancel {
  width: 100%;
  max-width: 300px;
  padding: 13px 24px;
  background: #c8e1f5;
  color: #0070dd;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}

.btn-waiting-cancel:hover {
  background: #b6daf7;
}

.btn-waiting-cancel:active {
  transform: scale(0.98);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Screen entrance */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.screen.active .tournament-card {
  animation: fadeSlideIn 0.4s ease both;
}

.screen.active .tournament-card:nth-child(2) {
  animation-delay: 0.08s;
}

.screen.active .tournament-card:nth-child(3) {
  animation-delay: 0.16s;
}

.screen.active .tournament-card:nth-child(4) {
  animation-delay: 0.24s;
}

.screen.active .room-panel {
  animation: fadeSlideIn 0.4s ease 0.12s both;
}

/* Option Cards stagger */
.screen.active .option-card {
  animation: fadeSlideIn 0.35s ease both;
}

.screen.active .option-card:nth-child(2) {
  animation-delay: 0.08s;
}

/* ============================================
   SCREEN 4: MATCH SETTINGS SCREEN
   ============================================ */
.settings-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  overflow-y: auto;
  padding-bottom: calc(var(--bottom-bar-height) + 12px);
}

.settings-title-header {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-yellow);
  text-shadow: var(--shadow-glow-yellow);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 200, 255, 0.15);
}

.settings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-item-row {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.04);
}

.settings-item-row[onclick] {
  cursor: pointer;
}

.settings-item-row[onclick]:hover {
  background: var(--bg-secondary);
  border-color: rgba(0, 200, 255, 0.2);
}

.settings-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.settings-item-value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.settings-item-value span {
  color: var(--text-primary);
  font-weight: 600;
}

.settings-item-value .chevron-icon {
  width: 14px;
  height: 14px;
}

/* Toggle Switch Styling */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #3a3a50;
  border-radius: 24px;
  transition: .25s ease;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--accent-green);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Reset Button */
.btn-reset {
  padding: 8px 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  transition: all var(--transition-fast);
}

.btn-reset:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.btn-reset:active {
  transform: scale(0.95);
}

/* ============================================
   BOTTOM SHEET / SELECTION DIALOG (eFootball Style)
   ============================================ */
.bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-fast) ease, visibility var(--transition-fast) ease;
}

.bottom-sheet.open {
  visibility: visible;
  opacity: 1;
}

.bottom-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.bottom-sheet-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px 18px 24px;
  transform: translateY(100%);
  transition: transform var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 80%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
}

.bottom-sheet.open .bottom-sheet-content {
  transform: translateY(0);
}

.bottom-sheet-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
}

.bottom-sheet-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #000000;
  text-align: center;
  width: 100%;
}

.btn-close-sheet {
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 24px;
  color: #888888;
  line-height: 1;
}

.bottom-sheet-options {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  max-height: 280px;
}

.bottom-sheet-option-item {
  padding: 14px 10px;
  background: transparent;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  text-align: left;
  border: none;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  transition: background var(--transition-fast);
}

.bottom-sheet-option-item:hover {
  background: #f8f8f8;
}

.bottom-sheet-option-item.selected {
  color: #0070dd;
}

/* Blue checkmark icon */
.sheet-checkmark {
  width: 16px;
  height: 16px;
  color: #0070dd;
  stroke-width: 3;
}

/* Blue Done Button */
.btn-sheet-done {
  background: #0070dd;
  color: #ffffff;
  border-radius: 24px;
  padding: 12px 0;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  width: 100%;
  margin-top: 18px;
  box-shadow: 0 4px 12px rgba(0, 112, 221, 0.25);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-sheet-done:hover {
  background: #0080ff;
  box-shadow: 0 4px 16px rgba(0, 112, 221, 0.35);
}

.btn-sheet-done:active {
  transform: scale(0.97);
}


/* Toast notification consolidated in luxury notification system (see line 6470) */

/* ============================================
   NOTIFICATION BELL IN HEADER
   ============================================ */
.btn-notification {
  background: transparent;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition-fast) ease;
  margin-right: 8px;
  border-radius: 50%;
}

.btn-notification:hover {
  color: var(--accent-cyan);
  background: rgba(255,255,255,0.05);
}

/* ============================================
   CO-OP MATCH ROOM SLOT LAYOUTS (6 SLOTS)
   ============================================ */
.room-panel-coop {
  width: 100%;
  background: #15151b; /* Solid dark grey background */
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
  order: 1;
  box-sizing: border-box;
}

.coop-slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
  row-gap: 0;
  margin-top: 12px;
  width: 100%;
  box-sizing: border-box;
}

.coop-row-item {
  display: flex;
  align-items: center;
  min-height: 52px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Row dividers for Row 1 and Row 2 (first 4 items in a 2x3 grid) */
.coop-row-item:nth-child(1),
.coop-row-item:nth-child(2),
.coop-row-item:nth-child(3),
.coop-row-item:nth-child(4) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

/* Player Slot Card */
.coop-player-slot {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.slot-avatar-container {
  width: 36px;
  height: 36px;
  min-width: 36px;
  max-width: 36px;
  min-height: 36px;
  max-height: 36px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 180deg at 50% 50%, #ffd700 0deg, #ffae19 70deg, #fff3a8 140deg, #e5a00d 210deg, #ffd700 280deg, #fff 340deg, #ffd700 360deg);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.slot-avatar-container .player-avatar,
.slot-avatar-container img,
.slot-avatar-container svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  border: 1px solid #06060e !important;
}

.slot-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.coop-player-slot .player-name {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
  line-height: 1.2;
}

.btn-side-capsule {
  background: #55555e; /* grey capsule */
  color: #ffffff;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  width: fit-content;
  text-transform: capitalize;
  line-height: 1.3;
  transition: background var(--transition-fast) ease;
}

.btn-side-capsule:hover {
  background: #666672;
}

/* Invite flat slot */
.coop-invite-slot {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  transition: opacity var(--transition-fast) ease;
}

.coop-invite-slot:hover {
  opacity: 0.8;
}

.coop-plus {
  width: 32px;
  height: 32px;
  min-width: 32px;
  max-width: 32px;
  min-height: 32px;
  max-height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #0070dd;
  font-weight: 800;
  border: 1.5px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  box-sizing: border-box;
}

.coop-invite-text {
  font-size: 12px;
  font-weight: 800;
  color: #0070dd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   SEARCH MATCH ROOM DIALOG STYLING
   ============================================ */
.search-dialog-card {
  position: relative;
  z-index: 10;
  width: 85%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .search-dialog-card {
  transform: scale(1);
}

.search-dialog-title {
  font-size: 17px;
  font-weight: 900;
  color: #000000;
  margin-bottom: 8px;
}

.search-dialog-desc {
  font-size: 12px;
  color: #4a4a58;
  margin-bottom: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.search-error-msg {
  color: #ff3b30;
  font-size: 11.5px;
  font-weight: bold;
  margin-bottom: 14px;
  display: none;
}

.search-input-container {
  width: 100%;
  margin-bottom: 16px;
}

.search-room-input {
  width: 100%;
  border: 1.5px solid #dcdce2;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  background: #fafafa;
  text-align: center;
  color: #111111;
  transition: all 0.2s ease;
}

.search-room-input:focus {
  border-color: #0070dd;
  background: #ffffff;
}

.btn-search-cancel {
  flex: 1;
  background: #e3effd;
  color: #0070dd;
  border-radius: var(--radius-md);
  padding: 11px 0;
  font-size: 13.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-search-cancel:hover {
  background: #d0e5fc;
}

.btn-search-submit {
  flex: 1;
  border-radius: var(--radius-md);
  padding: 11px 0;
  font-size: 13.5px;
  font-weight: 800;
  border: none;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-search-submit.disabled {
  background: #f0f0f2;
  color: #a2a2b0;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-search-submit:not(.disabled) {
  background: #e3effd;
  color: #0070dd;
  cursor: pointer;
  pointer-events: auto;
}

.btn-search-submit:not(.disabled):hover {
  background: #d0e5fc;
}

/* Bottom Controls */
.coop-bottom-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-coop-control {
  background: #1a1a2e;
  color: #4a5568;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.04);
}

.btn-coop-control.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   MODALS OVERLAY AND COMMON LAYOUTS
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast) ease, visibility var(--transition-fast) ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.modal-card {
  position: relative;
  z-index: 10;
}

.modal-overlay > *:not(.modal-overlay-bg) {
  position: relative;
  z-index: 10 !important;
}

/* Close Confirmation Room Alert Card */
.confirm-dialog-card {
  position: relative;
  z-index: 10;
  width: 85%;
  max-width: 320px;
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .confirm-dialog-card {
  transform: scale(1);
}

.confirm-dialog-title {
  font-size: 16px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.confirm-dialog-desc {
  font-size: 13px;
  color: #4a4a58;
  margin-bottom: 22px;
  line-height: 1.4;
  font-weight: 500;
}

.confirm-dialog-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-confirm-cancel {
  flex: 1;
  background: #e3effd;
  color: #0070dd;
  border-radius: var(--radius-md);
  padding: 11px 0;
  font-size: 13.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-confirm-cancel:hover {
  background: #d0e5fc;
}

.btn-confirm-close {
  flex: 1;
  background: #f0f0f2;
  color: #ff3b30;
  border-radius: var(--radius-md);
  padding: 11px 0;
  font-size: 13.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-confirm-close:hover {
  background: #e4e4e7;
}

/* ============================================
   NOTIFICATION ALERT CARD (eFootball Festival)
   ============================================ */
.notification-modal-card {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 375px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  max-height: 85%;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .notification-modal-card {
  transform: translateY(0);
}

.notification-header-banner {
  background: #0070dd;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.notification-header-banner.orange-banner {
  background: #f58200;
}

.notification-header-banner svg {
  width: 46px;
  height: 46px;
}

.notification-body {
  padding: 20px 18px;
  overflow-y: auto;
  color: #000000;
}

.notification-title {
  font-size: 20px;
  font-weight: 900;
  color: #000000;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.notification-text {
  font-size: 13px;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 16px;
  font-weight: 500;
}

.notification-section {
  margin-top: 14px;
}

.notification-section-title {
  font-size: 13px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.notification-section-text {
  font-size: 12.5px;
  color: #444444;
  line-height: 1.4;
  font-weight: 500;
}

.btn-close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: #ffffff;
  transition: background var(--transition-fast);
  z-index: 15;
}

.btn-close-modal:hover {
  background: rgba(255,255,255,0.4);
}

.btn-close-modal svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   SCROLLBAR (for match room)
   ============================================ */
.match-room-content::-webkit-scrollbar {
  width: 4px;
}

.match-room-content::-webkit-scrollbar-track {
  background: transparent;
}

.match-room-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* ============================================
   RESPONSIVE — Larger viewports
   ============================================ */
@media (min-width: 768px) {
  .app {
    border-left: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 60px rgba(0, 200, 255, 0.05);
  }
}

/* ============================================
   CO-OP BOTTOM CONTROLS & DISABLED ACTIONS
   ============================================ */
.coop-bottom-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* Disabled pills (Leader / Side / To Match) */
.btn-coop-control {
  background: #23232d; /* dark capsule */
  color: #5a5a64; /* muted text */
  border-radius: 20px; /* pill shape */
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  border: none;
  text-align: center;
  transition: all var(--transition-fast) ease;
  width: fit-content;
  min-width: 76px;
  cursor: not-allowed;
  opacity: 0.85;
}

.btn-to-match.disabled {
  background: #23232d !important; /* dark capsule */
  color: #5a5a64 !important; /* muted text */
  box-shadow: none !important;
  border: none !important;
  border-radius: 20px;
  cursor: not-allowed;
}

.btn-to-match.disabled svg {
  color: #5a5a64 !important;
}

/* ============================================
   WALLET RECHARGE MODAL (Amount Selection)
   ============================================ */
.wallet-recharge-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wallet-recharge-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.wallet-recharge-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 400px;
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(214, 255, 0, 0.08);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wallet-recharge-modal-overlay.open .wallet-recharge-card {
  transform: translateY(0) scale(1);
}

.wallet-recharge-body {
  padding: 24px 20px;
  overflow-y: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wr-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wr-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 255, 0, 0.08);
  border: 1px solid rgba(214, 255, 0, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #D6FF00;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.wr-main-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0;
}

.wr-subtitle {
  font-size: 0.8rem;
  color: #8A8F98;
  margin: 0;
}

.wr-balance-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wr-bb-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8A8F98;
  letter-spacing: 0.5px;
}

.wr-bb-amount-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wr-bb-amount {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #D6FF00;
}

.wr-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #8A8F98;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Clean Amount Selection Grid (No tags!) */
.wr-clean-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wr-clean-amount-card {
  background: linear-gradient(145deg, #18181f 0%, #121216 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.wr-clean-amount-card:hover {
  transform: translateY(-3px);
  border-color: #D6FF00;
  box-shadow: 0 8px 24px rgba(214, 255, 0, 0.18);
}

.wr-clean-amount-card.highlight {
  border-color: rgba(214, 255, 0, 0.5);
  background: linear-gradient(145deg, rgba(214, 255, 0, 0.08) 0%, #14141a 100%);
}

.wr-card-amount {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.wr-clean-amount-card:hover .wr-card-amount {
  color: #D6FF00;
}

.wr-card-coins {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #a0aec0;
}

.wr-coin-mini-img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)) brightness(1.1) contrast(1.06) !important;
}

.wr-view-history-link {
  background: transparent;
  border: none;
  color: #8A8F98;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.wr-view-history-link:hover {
  color: #25D366;
}

/* Custom Input */
.wr-custom-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wr-custom-label {
  font-size: 0.75rem;
  color: #8A8F98;
  font-weight: 600;
}

.wr-custom-input-box {
  display: flex;
  align-items: center;
  background: #18181f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4px 6px 4px 12px;
  gap: 6px;
}

.wr-currency-symbol {
  font-weight: 800;
  color: #D6FF00;
  font-size: 1rem;
}

.wr-custom-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.wr-custom-proceed-btn {
  background: #D6FF00;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.wr-custom-proceed-btn:hover {
  transform: scale(1.04);
  background: #e0ff33;
}

/* ============================================
   SCREEN 8: DEDICATED DEPOSIT PAYMENT PAGE
   ============================================ */
.screen-wallet-payment {
  background: #000000;
  color: #ffffff;
  min-height: 100vh;
  min-height: 100dvh;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.screen-wallet-payment.active {
  display: flex;
}

.payment-header-title-wrap {
  display: flex;
  align-items: center;
  margin-left: 6px;
}

.payment-screen-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 0.2px;
}

.payment-screen-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #25D366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.screen-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.screen-back-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.wallet-payment-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 40px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Hero Payable Amount Card */
.wp-hero-card {
  background: linear-gradient(135deg, #181822 0%, #0d0d12 100%);
  border: 1px solid rgba(214, 255, 0, 0.2);
  border-radius: 20px;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.wp-hero-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #8A8F98;
  letter-spacing: 1px;
}

.wp-hero-amount-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.wp-hero-currency {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #D6FF00;
}

.wp-hero-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: #D6FF00;
  letter-spacing: -1px;
  line-height: 1;
}

.wp-hero-coins-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: #ccc;
}

.wp-hero-coins-badge strong {
  color: #fff;
}

/* Payment Apps in Single Row (GPay, Paytm, UPI Pay) */
.wp-payment-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.wp-app-btn {
  background: linear-gradient(145deg, #181b2e 0%, #0d0f1f 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 12px 6px 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.wp-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.65);
}

.wp-app-btn:active {
  transform: scale(0.95);
}

.wp-app-btn.gpay-btn:hover {
  border-color: rgba(66, 133, 244, 0.7);
  box-shadow: 0 6px 22px rgba(66, 133, 244, 0.3);
}

.wp-app-btn.paytm-btn:hover {
  border-color: rgba(0, 186, 242, 0.7);
  box-shadow: 0 6px 22px rgba(0, 186, 242, 0.3);
}

.wp-app-btn.upi-btn:hover {
  border-color: rgba(0, 200, 255, 0.7);
  box-shadow: 0 6px 22px rgba(0, 200, 255, 0.3);
}

.wp-app-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 3px 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
  overflow: hidden;
}

.wp-app-btn:hover .wp-app-icon-wrap {
  transform: scale(1.06);
}

.wp-app-img-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wp-gpay-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.wp-paytm-img {
  width: 36px;
  height: 18px;
  object-fit: contain;
}

.wp-upi-img {
  width: 36px;
  height: 22px;
  object-fit: contain;
}

.wp-app-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

/* Recipient Box */
.wp-recipient-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wp-recipient-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wp-recipient-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wp-recipient-name {
  font-size: 0.82rem;
  color: #fff;
}

.wp-recipient-name strong {
  color: #D6FF00;
}

.wp-recipient-meta {
  font-size: 0.7rem;
  color: #8A8F98;
}

.wp-status-shield {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #25D366;
}

/* Action Group */
.wp-action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wp-btn-direct-pay {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  border-radius: 16px;
  padding: 14px 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-btn-direct-pay:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

.wp-direct-pay-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.wp-btn-subtext {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.wp-btn-view-scanner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 11px 16px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wp-btn-view-scanner:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Expandable QR Scanner Card */
.wp-scanner-card {
  background: #141419;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeInDown 0.3s ease;
}

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

.wp-scanner-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #8A8F98;
  font-weight: 600;
}

.wp-download-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #D6FF00;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 8px;
  background: rgba(214, 255, 0, 0.08);
  border: 1px solid rgba(214, 255, 0, 0.2);
  border-radius: 6px;
  transition: all 0.15s ease;
}

.wp-download-link:hover {
  background: rgba(214, 255, 0, 0.18);
}

.wp-qr-frame {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.wp-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Verification Card */
.wp-verification-card {
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wp-form-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.wp-form-desc {
  font-size: 0.8rem;
  color: #8A8F98;
  margin: 0 0 4px 0;
  line-height: 1.45;
  text-wrap: balance;
}

.wp-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wp-field-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #ccc;
}

.wp-field-label .required {
  color: #D6FF00;
}

.wp-input-wrapper {
  background: #18181f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 2px 10px;
}

.wp-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 0;
  font-family: inherit;
}

.wp-upload-dropzone {
  background: #18181f;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.wp-upload-dropzone:hover {
  border-color: #D6FF00;
  background: rgba(214, 255, 0, 0.03);
}

.wp-upload-dropzone span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.wp-upload-dropzone small {
  font-size: 0.68rem;
  color: #8A8F98;
}

.wp-error-text {
  font-size: 0.7rem;
  color: #ff4444;
  font-weight: 600;
}

.wp-btn-submit {
  background: linear-gradient(135deg, #D6FF00 0%, #99cc00 100%);
  border: none;
  border-radius: 14px;
  padding: 13px 16px;
  color: #000;
  font-size: 0.95rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 4px 18px rgba(214, 255, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(214, 255, 0, 0.4);
}

/* ============================================
   SCREEN 9: MY TRANSACTIONS (Top-Tier Standard Fintech UI/UX)
   ============================================ */
.screen-transactions {
  background: #000000 !important; /* Pure OLED Black */
  color: #ffffff !important;
  min-height: 100vh;
  min-height: 100dvh;
  display: none;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif !important;
}

.screen-transactions.active {
  display: flex !important;
}

/* Header */
.txn-header {
  background: rgba(0, 0, 0, 0.94) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.txn-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0d0e14 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.txn-back-btn:hover {
  background: #181924 !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  transform: translateX(-1px);
}

.txn-header-title-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.txn-page-title {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif !important;
  font-size: 1.18rem !important;
  font-weight: 850 !important;
  color: #ffffff !important;
  margin: 0;
  letter-spacing: -0.025em !important;
  line-height: 1.2;
}

.txn-page-subtitle {
  font-size: 0.68rem;
  color: #71717a;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.txn-help-btn {
  cursor: pointer;
  flex-shrink: 0;
}

.txn-mascot-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0d0e14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.txn-mascot-icon:hover {
  border-color: rgba(34, 197, 94, 0.35);
  background: #12141c;
}

.txn-help-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fbbf24;
  color: #000000;
  font-size: 0.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #000000;
}

/* Content Wrapper */
.txn-content-wrapper {
  flex: 1;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 16px 16px calc(64px + env(safe-area-inset-bottom, 0px)) 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Hero Balance Summary Card (Standard Fintech Dashboard Card) */
.txn-hero-balance-card {
  background: linear-gradient(180deg, #0e0e14 0%, #06060a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}

.txn-hero-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.txn-hero-label {
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #71717a;
  white-space: nowrap;
}

.txn-hero-val {
  font-size: 1.5rem;
  font-weight: 850;
  color: #00ff88 !important; /* Electric Fintech Green */
  letter-spacing: -0.6px;
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.28);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.txn-hero-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.txn-hero-btn {
  height: 32px;
  padding: 0 11px;
  border-radius: 9999px;
  font-size: 0.73rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}

.txn-hero-btn svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.txn-hero-btn-add {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(29, 78, 216, 0.45);
}

.txn-hero-btn-add:hover {
  background: linear-gradient(180deg, #4f82fc 0%, #2563eb 100%);
  transform: translateY(-1px);
}

.txn-hero-btn-wdr {
  background: #14151f;
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.txn-hero-btn-wdr:hover {
  background: #1d1e2c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

@media (max-width: 380px) {
  .txn-hero-balance-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .txn-hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .txn-hero-btn {
    width: 100%;
    justify-content: center;
    height: 34px;
  }
}

/* Category Tabs (Segmented Control Pattern) */
.txn-category-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.txn-tab-pill {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 0.78rem;
  font-weight: 650;
  color: #8e9cae;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.txn-tab-pill:hover {
  color: #ffffff;
}

.txn-tab-pill.active {
  background: #181924 !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

/* Unified Filter Ribbon (Status + Time in One Sleek Row) */
.txn-filter-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.txn-filter-ribbon::-webkit-scrollbar {
  display: none;
}

.txn-sub-filters {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.txn-filter-pill {
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 4.5px 11px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a9bb5;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.txn-filter-pill:hover {
  background: #12141c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.txn-filter-pill.active {
  background: rgba(59, 130, 246, 0.16) !important;
  border-color: #3b82f6 !important;
  color: #60a5fa !important;
  font-weight: 700;
}

.txn-filter-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.txn-time-filters {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.txn-time-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #090a0f;
  border-radius: 9999px;
  padding: 4.5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #71717a;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.txn-time-pill:hover {
  background: #12141c;
  color: #ffffff;
}

.txn-time-pill.active {
  background: #181924 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  font-weight: 700;
}

/* Slim Notice Banner */
.txn-notice-banner {
  background: rgba(245, 158, 11, 0.07) !important;
  border: 1px solid rgba(245, 158, 11, 0.18) !important;
  border-radius: 11px;
  padding: 8px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #fbbf24 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.txn-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  flex-shrink: 0;
}

.txn-notice-text {
  flex: 1;
}

/* Transactions Feed */
.txn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

/* Standard Fintech Card (Clean List Item Pattern) */
.txn-card {
  background: linear-gradient(180deg, #0e0e14 0%, #07070a 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
  transition: transform 0.18s ease, border-color 0.18s ease !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  width: 100% !important;
}

.txn-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.txn-card.txn-card-withdrawal {
  border-color: rgba(59, 130, 246, 0.22) !important;
}

.txn-card.txn-card-withdrawal:hover {
  border-color: rgba(59, 130, 246, 0.38) !important;
}

.txn-card-main,
.txn-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.txn-card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

/* Left Avatar Glyph */
.txn-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.txn-avatar.avatar-wdr {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #60a5fa;
}

.txn-avatar.avatar-dep {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #00ff88;
}

.txn-title-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.txn-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.txn-main-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Status Badges */
.txn-status-badge {
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.txn-status-badge.succeed {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #00ff88 !important;
  border: 1px solid rgba(34, 197, 94, 0.28) !important;
}

.txn-status-badge.pending {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
}

.txn-status-badge.failed {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.28) !important;
}

/* Right Amount Column */
.txn-amount-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  text-align: right;
}

/* CRITICAL USER REQUIREMENT: AMOUNT ALWAYS IN GREEN COLOR */
.txn-amount-val,
.txn-amount-val.txn-amount-withdrawal,
.txn-amount-val.txn-amount-deposit {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Outfit", sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 850 !important;
  color: #00ff88 !important; /* VIBRANT ELECTRIC GREEN */
  letter-spacing: -0.4px !important;
  text-shadow: 0 0 16px rgba(0, 255, 136, 0.25) !important;
  line-height: 1.1;
  white-space: nowrap;
}

.txn-type-label {
  font-size: 0.62rem;
  font-weight: 650;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.txn-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.txn-date-text {
  font-size: 0.68rem;
  color: #71717a;
  font-weight: 500;
  white-space: nowrap;
}

.txn-id-pill {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.67rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Mono", Menlo, monospace;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.txn-id-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Meta Line (UPI ID) */
.txn-card-meta-line {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
}

.txn-meta-label {
  color: #71717a;
  font-weight: 600;
}

.txn-meta-val {
  color: #cbd5e1;
  font-weight: 500;
}

/* Empty State */
.txn-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: #7a8da8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.txn-empty-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
}

.txn-empty-btn {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border-radius: 9999px !important;
  border: none !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.4) !important;
  transition: all 0.2s ease !important;
}

.txn-empty-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.55) !important;
}

/* ============================================
   ELEVEN AI SUPPORT CHATBOT MODAL (eMatch UI/UX)
   ============================================ */
.eleven-ai-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.eleven-ai-chat-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.eleven-ai-chat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eleven-ai-chat-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 90vh;
  height: 90dvh;
  max-height: 740px;
  background: linear-gradient(180deg, #0f1329 0%, #080a16 100%);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 200, 255, 0.15);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

.eleven-ai-chat-modal.open .eleven-ai-chat-card {
  transform: translateY(0);
}

/* Chat Header */
.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(16, 20, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.ai-chat-back-btn,
.ai-chat-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ai-chat-back-btn:hover,
.ai-chat-close-btn:hover {
  background: rgba(0, 200, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.ai-chat-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.ai-chat-avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c8ff 0%, #0070dd 100%);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
}

.ai-chat-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0d0f1e;
}

.ai-chat-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3ecf4a;
  border: 2px solid #0f1329;
  box-shadow: 0 0 8px #3ecf4a;
}

.ai-chat-title {
  font-family: var(--font-display, 'Orbitron', 'Inter', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.3px;
}

.ai-chat-status {
  font-size: 0.68rem;
  color: #00c8ff;
  font-weight: 600;
  margin: 2px 0 0 0;
}

/* Chat Messages */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
}

.ai-msg-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 90%;
  animation: aiMsgFadeIn 0.25s ease-out;
}

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

.ai-msg-row.bot {
  align-self: flex-start;
}

.ai-msg-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(0, 200, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ai-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-msg-bubble {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.48;
  position: relative;
  word-break: break-word;
}

.ai-msg-bubble.bot {
  background: linear-gradient(135deg, #141833 0%, #0d1024 100%);
  border: 1px solid rgba(0, 200, 255, 0.16);
  color: #e2e8f0;
  border-top-left-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ai-msg-bubble.user {
  background: linear-gradient(135deg, #0070dd 0%, #00c8ff 100%);
  color: #ffffff;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 200, 255, 0.3);
}

.ai-msg-bot-tag {
  font-size: 0.64rem;
  font-weight: 800;
  color: #00c8ff;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-msg-text strong {
  color: #00c8ff;
  font-weight: 700;
}

.ai-msg-text code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: #ffc800;
  font-family: monospace;
}

/* Quick Action Suggestion Pills */
.ai-quick-action-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.ai-quick-pill {
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.22);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #00c8ff;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-quick-pill:hover {
  background: rgba(0, 200, 255, 0.18);
  border-color: #00c8ff;
  transform: translateX(3px);
  color: #ffffff;
}

/* Bot CTA Action Button inside Message */
.ai-cta-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.ai-cta-action-btn:hover {
  background: #20ba59;
  transform: translateY(-1px);
}

.ai-cta-action-btn.cyan {
  background: var(--gradient-btn);
  box-shadow: 0 4px 14px rgba(0, 200, 255, 0.35);
}

/* Typing indicator */
.ai-typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: #141833;
  border: 1px solid rgba(0, 200, 255, 0.16);
  border-radius: 16px;
  border-top-left-radius: 4px;
  width: fit-content;
}

.ai-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: aiDotBounce 1.2s infinite ease-in-out;
}

.ai-typing-dot:nth-child(1) { animation-delay: 0s; }
.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiDotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* Chat Input Bar */
.ai-chat-input-bar {
  padding: 12px 14px 16px 14px;
  background: #0a0d1e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-chat-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 4px 8px 4px 16px;
  transition: all 0.2s ease;
}

.ai-chat-input-wrapper:focus-within {
  border-color: var(--accent-cyan);
  background: rgba(0, 200, 255, 0.04);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.2);
}

.ai-chat-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
  min-width: 0;
}

.ai-chat-input-wrapper input::placeholder {
  color: #64748b;
  font-size: 0.8rem;
}

.ai-chat-upload-btn {
  background: transparent;
  border: none;
  color: #8a9bb5;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease;
}

.ai-chat-upload-btn:hover {
  color: var(--accent-cyan);
}

.ai-chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-btn);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 200, 255, 0.35);
  transition: all 0.2s ease;
}

.ai-chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 200, 255, 0.5);
}

.ai-chat-send-btn:active {
  transform: scale(0.95);
}

/* ============================================
   TOAST NOTIFICATION (REPLACED BY WHITE MODAL DIALOG - IMAGE 2 STYLE)
   ============================================ */
.toast {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================
   REJOIN / RECONNECT MATCH FLOATING NOTIFICATION (REMOVED FROM TOP AREA PER USER REQUEST)
   ============================================ */
.rejoin-match-banner {
  display: none !important;
}

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

.rejoin-banner-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}

.rejoin-pulsing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rejoin-dot {
  width: 6px;
  height: 6px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: none !important;
  flex-shrink: 0;
}

.rejoin-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.rejoin-room-text {
  font-size: 0.76rem;
  color: #e2e8f0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rejoin-room-name {
  color: #ffffff;
  font-weight: 700;
}

.rejoin-separator {
  color: #64748b;
  font-size: 0.7rem;
}

.rejoin-timer-text {
  color: #fbbf24;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

.rejoin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-rejoin-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0070dd;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.btn-rejoin-action:hover {
  background: #0060c0;
  transform: none;
  box-shadow: none !important;
}

.btn-rejoin-action:active {
  background: #004da0;
  transform: scale(0.98);
}

.btn-rejoin-leave {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none !important;
}

.btn-rejoin-leave:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.btn-rejoin-leave:active {
  transform: scale(0.95);
}

/* Disconnected / Greyed-out Opponent Slot */
.player-entry.disconnected {
  opacity: 0.55;
  filter: grayscale(85%);
  border-color: rgba(255, 68, 68, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.player-disconnected-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 68, 68, 0.15);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 999px;
  padding: 2px 8px;
}

/* ============================================
   3D ESPORTS COIN TOSS ANIMATION & MODAL
   ============================================ */
.coin-toss-modal-overlay {
  z-index: 9999;
}

.coin-toss-modal-card {
  position: relative;
  width: 90%;
  max-width: 400px;
  background: #0d1017;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 215, 0, 0.15);
  animation: modalPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-sizing: border-box;
}

.toss-live-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.toss-modal-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  font-family: var(--font-display, sans-serif);
  margin-bottom: 20px;
}

.coin-3d-stage {
  perspective: 1000px;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px auto;
}

.coin-3d-flipper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 3.5s cubic-bezier(0.2, 0.9, 0.1, 1);
}

.coin-3d-flipper.flipping {
  animation: coinSpin3D 2.8s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
}

@keyframes coinSpin3D {
  0% { transform: rotateY(0deg) translateY(0); }
  30% { transform: rotateY(1080deg) translateY(-40px) scale(1.15); }
  70% { transform: rotateY(2160deg) translateY(-20px) scale(1.08); }
  100% { transform: rotateY(2880deg) translateY(0) scale(1); }
}

.coin-3d-flipper.winner-p2 {
  animation: coinSpinToP2 2.8s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
}

@keyframes coinSpinToP2 {
  0% { transform: rotateY(0deg) translateY(0); }
  30% { transform: rotateY(1080deg) translateY(-40px) scale(1.15); }
  70% { transform: rotateY(2160deg) translateY(-20px) scale(1.08); }
  100% { transform: rotateY(3060deg) translateY(0) scale(1); }
}

.coin-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #ffe600 0%, #d4a000 100%);
  border: 4px solid #fff566;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.5), inset 0 0 15px rgba(0, 0, 0, 0.4);
}

.coin-front {
  transform: rotateY(0deg);
}

.coin-back {
  transform: rotateY(180deg);
  background: radial-gradient(circle, #00e5ff 0%, #0070dd 100%);
  border-color: #70f0ff;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5), inset 0 0 15px rgba(0, 0, 0, 0.4);
}

.coin-img-inner {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.coin-face-text {
  font-size: 0.65rem;
  font-weight: 900;
  color: #0b0f19;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

.toss-contestants-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 16px;
}

.toss-contestant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.toss-contestant-card.winner {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid #ffd700;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
  transform: scale(1.06);
}

.toss-p-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.toss-contestant-card.winner .toss-p-avatar {
  border-color: #ffd700;
}

.toss-p-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toss-vs-divider {
  font-size: 0.85rem;
  font-weight: 900;
  color: #64748b;
  font-style: italic;
}

.toss-status-display {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
  min-height: 20px;
}

/* ============================================
   TOURNAMENT FILTER PILLS
   ============================================ */
.tourney-filter-bar-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  padding: 10px 8px 14px 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
}

.tourney-filter-bar-container::-webkit-scrollbar {
  display: none !important;
}

.tourney-filter-pill,
button.tourney-filter-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 24px !important;
  font-size: 0.8rem !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #a0aec0 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  letter-spacing: 0.3px !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.tourney-filter-pill:hover,
button.tourney-filter-pill:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: none;
}

.tourney-filter-pill.active,
button.tourney-filter-pill.active {
  background: #00e5ff !important;
  border-color: #00e5ff !important;
  color: #050b14 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  transform: none;
}

@media (max-width: 480px) {
  .tourney-filter-bar-container {
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 4px 12px 4px !important;
  }
  .tourney-filter-pill,
  button.tourney-filter-pill {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    flex-shrink: 0 !important;
  }
}

.home-content {
  width: 100%;
  padding-bottom: 90px;
}

/* ============================================
   TOURNAMENT BRACKET — ESPORTS LAYOUT SYSTEM
   ============================================ */

/* Hero Card */
.bkt-hero-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 22, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bkt-hero-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bkt-hero-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bkt-hero-trophy {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.bkt-hero-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: inherit;
}

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

.bkt-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.bkt-meta-pill.format-pill {
  border-color: rgba(0, 229, 255, 0.25);
  color: #38bdf8;
  background: rgba(0, 229, 255, 0.08);
}

.bkt-meta-pill.prize-pill {
  border-color: rgba(255, 215, 0, 0.3);
  color: #ffd700;
  background: rgba(255, 215, 0, 0.08);
}

.bkt-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bkt-btn-share {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.bkt-btn-share:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.bkt-btn-enter {
  background: linear-gradient(135deg, #00e5ff 0%, #00b4d8 100%);
  color: #030712 !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}

.bkt-btn-enter:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.6);
}

.bkt-btn-enter:active {
  transform: scale(0.97);
}

/* Stage Tabs Bar */
.bkt-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.bkt-tabs-bar::-webkit-scrollbar { display: none; }

.bkt-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.bkt-tab-btn.active, .bkt-tab-btn:hover {
  background: #00e5ff;
  color: #030712;
  border-color: #00e5ff;
  font-weight: 800;
  box-shadow: 0 2px 12px rgba(0, 229, 255, 0.35);
}

/* Round Section */
.bkt-round {
  width: 100%;
  margin-bottom: 14px;
}

.bkt-round-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.bkt-round-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.bkt-round-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.bkt-round--qf .bkt-round-header {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  border-left: 3px solid #64748b;
}

.bkt-round--sf .bkt-round-header {
  background: rgba(0, 229, 255, 0.08);
  color: #00e5ff;
  border-left: 3px solid #00e5ff;
}

.bkt-round--gf .bkt-round-header {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  border-left: 3px solid #ffd700;
}

.bkt-round-count {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.85;
  text-transform: none;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
}

.bkt-round-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 680px) {
  .bkt-round-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .bkt-round--gf .bkt-round-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Match Card */
.bkt-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(11, 15, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.bkt-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6);
}

.bkt-card--live {
  border-color: rgba(0, 229, 255, 0.65) !important;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.2), 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  background: linear-gradient(145deg, rgba(14, 27, 46, 0.95), rgba(9, 16, 28, 0.98)) !important;
}

.bkt-card--done {
  border-color: rgba(255, 255, 255, 0.07);
}

.bkt-card--upcoming {
  border-color: rgba(255, 255, 255, 0.05);
  opacity: 0.75;
}

.bkt-card-header {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bkt-match-id {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
}

/* Status Chips */
.bkt-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.bkt-chip--live {
  background: rgba(0, 229, 255, 0.16);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.45);
}

.bkt-chip--done {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.bkt-chip--upcoming {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bkt-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 6px #00e5ff;
  animation: bkt-pulse 1.2s infinite;
  flex-shrink: 0;
}

@keyframes bkt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* Player Rows */
.bkt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  transition: background 0.15s;
}

.bkt-row--win {
  background: rgba(0, 229, 255, 0.05);
}

.bkt-row--lost {
  opacity: 0.45;
}

.bkt-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #38bdf8;
  flex-shrink: 0;
  text-transform: uppercase;
}

.bkt-row--win .bkt-avatar {
  border-color: #34d399;
  color: #34d399;
}

.bkt-name {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bkt-row--me .bkt-name {
  color: #38bdf8 !important;
}

.bkt-you-badge {
  background: rgba(0, 229, 255, 0.16);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #00e5ff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.bkt-score {
  font-size: 1.05rem;
  font-weight: 900;
  color: #64748b;
  min-width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bkt-score--win {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

.bkt-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0 14px;
}

/* Card Action Button for Live Matches */
.bkt-card-action {
  padding: 8px 12px;
  background: rgba(0, 229, 255, 0.06);
  border-top: 1px solid rgba(0, 229, 255, 0.18);
  display: flex;
  justify-content: flex-end;
}

.bkt-card-play-btn {
  background: #00e5ff;
  color: #030712;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 229, 255, 0.35);
}

.bkt-card-play-btn:hover {
  background: #38bdf8;
  transform: translateY(-1px);
}

/* Connector Arrow */
.bkt-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  color: rgba(0, 229, 255, 0.35);
}

/* Trophy card */
.bkt-trophy {
  margin-top: 16px;
  padding: 22px 18px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 160, 0, 0.06));
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.bkt-trophy-icon {
  font-size: 3rem;
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.6));
  animation: bkt-bounce 2.2s ease-in-out infinite;
  line-height: 1;
  margin-bottom: 8px;
}

@keyframes bkt-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.bkt-trophy-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 4px;
}

.bkt-trophy-prize {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
}

/* ============================================
   EFOOTBALL KONAMI TOURNAMENT SYSTEM (IMAGE 1 & 2)
   ============================================ */

.efb-tournament-screen {
  min-height: 100vh;
  min-height: 100dvh;
  background: #000000;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  position: relative;
  overflow-x: hidden;
  display: none;
  flex-direction: column;
}

.efb-tournament-screen.active {
  display: flex !important;
}

/* Background ribbons (eFootball theme) */
.efb-bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.efb-bg-ribbon {
  position: absolute;
  transform: skewX(-24deg);
  opacity: 0.65;
  filter: blur(1px);
}

.efb-bg-ribbon-1 {
  top: -15%;
  left: -12%;
  width: 320px;
  height: 130%;
  background: linear-gradient(135deg, rgba(16, 42, 110, 0.45) 0%, rgba(8, 20, 60, 0.05) 100%);
}

.efb-bg-ribbon-2 {
  top: -10%;
  right: -10%;
  width: 380px;
  height: 125%;
  background: linear-gradient(135deg, rgba(20, 55, 140, 0.4) 0%, rgba(10, 26, 75, 0.05) 100%);
}

.efb-bg-ribbon-3 {
  bottom: -20%;
  left: 25%;
  width: 450px;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
}

/* Top Navigation Bar - Old Rounded Header Pill */
.top-bar.efb-top-bar {
  width: calc(100% - 24px) !important;
  max-width: 480px !important;
  margin: 8px auto 6px auto !important;
  position: sticky;
  top: 8px !important;
  z-index: 1000;
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding: 0 12px !important;
  height: 52px !important;
  background: rgba(18, 18, 24, 0.88) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7) !important;
}

.top-bar.efb-top-bar .header-back-capsule,
.top-bar.efb-top-bar .logo-capsule {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 6px 0 0 !important;
}

.top-bar.efb-top-bar .header-back-capsule:hover,
.top-bar.efb-top-bar .logo-capsule:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.8;
}

.top-bar.efb-top-bar .premium-nav-container {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 !important;
}

.efb-view-subnav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 480px;
  gap: 8px;
  padding: 0 2px;
  margin-bottom: 8px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.efb-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  position: relative;
  z-index: 10;
  background: rgba(9, 14, 26, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.efb-top-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.efb-view-toggle-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px;
}

.efb-view-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.efb-view-btn.active {
  background: #00b4d8;
  color: #030712;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.5);
}


.efb-header-timer-badge {
  background: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: #080d1a !important;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px !important;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: none !important;
  flex-shrink: 0;
  box-sizing: border-box;
  cursor: pointer;
  outline: none !important;
  font-variant-numeric: tabular-nums;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.efb-header-timer-badge svg {
  width: 12px;
  height: 12px;
  color: #080d1a !important;
  stroke: #080d1a !important;
  flex-shrink: 0;
}

.efb-header-timer-badge:hover {
  background: #f1f5f9 !important;
  transform: translateY(-1px);
}

.efb-header-timer-badge:active {
  transform: scale(0.96);
}

.efb-live-badge {
  width: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
  height: 32px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px;
  white-space: nowrap;
  box-shadow: none !important;
  flex-shrink: 0;
  box-sizing: border-box;
  cursor: pointer;
  outline: none !important;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* State 1: LIVE (Red background, white text) */
.efb-live-badge.state-live {
  background: #dc2626 !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}

.efb-live-badge.state-live:hover {
  background: #b91c1c !important;
  transform: translateY(-1px);
}

/* State 2: TIMER (White background, black/dark digits) */
.efb-live-badge.state-timer {
  background: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: #080d1a !important;
}

.efb-live-badge.state-timer:hover {
  background: #f1f5f9 !important;
  transform: translateY(-1px);
}

.efb-live-badge.state-timer svg {
  width: 12px;
  height: 12px;
  color: #080d1a !important;
  stroke: #080d1a !important;
  flex-shrink: 0;
}

.efb-live-badge:active {
  transform: scale(0.96);
}

.efb-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff !important;
  box-shadow: none !important;
  animation: efb-live-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* Main Content Wrapper */
.efb-main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 4px 6px 36px;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 5;
}

.efb-main-wrapper:has(.efb-fixture-twoside-wrapper),
.efb-main-wrapper.has-twoside-bracket {
  max-width: 98% !important;
  width: 98% !important;
}

.efb-view-container {
  display: none;
  width: 100%;
  animation: efbFadeIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.efb-view-container.active {
  display: block;
}

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

/* ============================================
   IMAGE 1: TOURNAMENT LOBBY / SLOTS SELECTION CARD
   ============================================ */

.efb-lobby-card {
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  padding: 22px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(10, 40, 110, 0.25);
  margin-bottom: 20px;
}

.efb-lobby-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.efb-header-line-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  box-sizing: border-box;
  min-height: 32px;
}

.efb-tourney-id-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.32);
  cursor: pointer;
  user-select: none;
  width: fit-content;
  max-width: calc(100% - 80px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  flex-shrink: 0;
}

.efb-tourney-id-wrap:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(56, 189, 248, 0.2);
}

.efb-tourney-id-wrap:active {
  transform: scale(0.97);
}

.efb-id-label {
  color: #94a3b8;
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
}

.efb-id-dot {
  color: #475569;
  font-size: 0.65rem;
  flex-shrink: 0;
  line-height: 1;
}

.efb-id-val {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', monospace;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.efb-copy-icon {
  color: #38bdf8;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-left: 2px;
  opacity: 0.85;
  display: block;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.efb-tourney-id-wrap:hover .efb-copy-icon {
  opacity: 1;
  transform: scale(1.08);
}

.efb-tourney-id-wrap:active .efb-copy-icon {
  transform: scale(0.9);
}

.efb-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.efb-circle-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #94a3b8 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  padding: 0 !important;
  box-sizing: border-box;
}

.efb-circle-btn svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
  flex-shrink: 0;
  stroke: #94a3b8 !important;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.efb-circle-btn:hover {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  transform: none !important;
}

.efb-circle-btn:hover svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
  transform: scale(1.12);
}

.efb-circle-btn:active {
  transform: scale(0.92);
}

/* Slots Grid: 2 Columns of 4 */
.efb-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  padding: 20px 4px 6px;
}

@media (max-width: 600px) {
  .efb-lobby-card {
    padding: 14px 10px;
    border-radius: 20px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .efb-header-line-1 {
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
  }
  .efb-tourney-id-wrap {
    height: 30px;
    padding: 0 9px;
    gap: 5px;
    border-radius: 8px;
    max-width: calc(100% - 74px);
  }
  .efb-id-label {
    font-size: 0.58rem;
    letter-spacing: 0.4px;
  }
  .efb-id-val {
    font-size: 0.76rem;
    letter-spacing: 0.3px;
  }
  .efb-copy-icon {
    width: 12px;
    height: 12px;
  }
  .efb-header-actions {
    gap: 6px;
  }
  .efb-circle-btn {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .efb-circle-btn svg {
    width: 17px !important;
    height: 17px !important;
  }
  .efb-header-actions {
    gap: 6px;
  }
  .efb-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 8px;
    padding: 10px 0 4px;
  }
  .efb-slot-item {
    gap: 10px;
    padding: 4px 2px;
    min-height: 40px;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .efb-slot-avatar-wrap {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .efb-slot-name {
    font-size: 0.74rem;
    letter-spacing: -0.2px;
    line-height: 1.15;
  }
}

.efb-slot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-width: 0;
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.efb-slot-item:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.85;
}

.efb-slot-item:active {
  transform: none;
}

.efb-slot-item.is-me {
  background: transparent !important;
  border: none !important;
}

.efb-slot-idx {
  display: none !important;
}

.efb-slot-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
  min-width: 0;
  width: 100%;
  cursor: pointer;
  box-sizing: border-box;
}

.efb-empty-plus-circle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
}

.efb-empty-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}

.efb-slot-avatar-wrap {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.efb-slot-avatar-img,
.efb-slot-avatar-img.ring-gold,
.efb-slot-avatar-img.ring-cyan,
.efb-slot-avatar-img.ring-blue,
.efb-slot-avatar-img.ring-red,
.efb-slot-avatar-img.ring-gray,
.efb-slot-avatar-img.ring-white {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.8px solid #ffffff !important;
  box-shadow: none !important;
}

.efb-slot-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  gap: 2.5px;
}

.efb-slot-name {
  font-size: 0.74rem;
  font-weight: 800;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
  line-height: 1.15;
  width: 100%;
  display: block;
}

.efb-pitch-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border: 1.5px solid #38bdf8;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.efb-you-pill {
  background: rgba(0, 229, 255, 0.18);
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: #00e5ff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* Empty Slot */
/* Empty Slot (Clean & Borderless, matching .efb-slot-item) */
.efb-slot-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
  border: none !important;
  background: transparent !important;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.efb-slot-empty:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.efb-slot-empty:active {
  transform: scale(0.98);
}

.efb-empty-plus-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: none;
}

.efb-slot-empty:hover .efb-empty-plus-circle {
  background: #38bdf8;
  color: #030712;
  border-color: #38bdf8;
  border-style: solid;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.efb-empty-label-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.efb-empty-label {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.1px;
  transition: color 0.15s ease;
}

.efb-slot-empty:hover .efb-empty-label {
  color: #38bdf8;
}

.efb-empty-hint {
  color: #38bdf8;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  opacity: 0.95;
  line-height: 1.2;
  letter-spacing: -0.15px;
}

/* Matchmaking Countdown Banner (Directly under Room Card) */
.efb-matchmaking-banner-wrap {
  width: 100%;
  max-width: 500px;
  margin: 14px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0 4px;
}

.efb-matchmaking-banner-wrap .efb-btn-matchmaking {
  width: 100%;
  max-width: 420px;
  justify-content: center;
}

/* Pinned Navigation Footer Bar (Styled like Image 2 sticky action footer) */
.efb-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #000000 !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 10px 14px;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
  z-index: 999;
  box-shadow: none !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.efb-bottom-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

/* Top full-width button: SEE OVERVIEW (styled like REQUEST DISCOUNT in Image 2) */
.efb-btn-overview {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.15), rgba(0, 180, 255, 0.05)) !important;
  border: 1px solid rgba(0, 180, 255, 0.4) !important;
  color: #00b4ff !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.efb-btn-overview:hover {
  background: rgba(0, 180, 255, 0.22) !important;
  border-color: rgba(0, 180, 255, 0.65) !important;
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.25);
  color: #38bdf8 !important;
  transform: translateY(-1px);
}

.efb-btn-overview:active {
  transform: scale(0.98);
}

/* Bottom secondary row: BACK + CLOSE TOURNAMENT */
.efb-bottom-secondary {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
  box-sizing: border-box !important;
}

/* BACK button (High Contrast Sleek Box Type Esports Styling - Zero Glow) */
.efb-btn-back {
  flex: 1;
  height: 50px;
  border-radius: 12px !important;
  background: #141822 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.90rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  white-space: nowrap;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  min-width: 0;
}

.efb-btn-back:hover {
  background: #1e2638 !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.efb-btn-back:active {
  transform: scale(0.97);
  box-shadow: none !important;
}

/* CLOSE TOURNAMENT button (High Contrast Danger Box Action Button - Zero Glow) */
.efb-btn-close {
  flex: 1.35;
  height: 50px;
  border-radius: 12px !important;
  background: #1e1316 !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #f87171 !important;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  min-width: 0;
}

.efb-btn-close:hover {
  background: #2a151b !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.efb-btn-close:active {
  transform: scale(0.97);
  box-shadow: none !important;
}

#tournamentSlotsView,
#tournamentKnockoutView {
  padding-bottom: 96px;
}

.efb-matchmaking-banner-wrap {
  width: 100%;
  max-width: 480px;
  margin: 12px auto 0 auto;
  box-sizing: border-box;
}

.efb-btn-matchmaking.waiting,
.efb-btn-matchmaking.timer-mode {
  height: 46px;
  width: 100%;
  border-radius: 12px !important;
  background: rgba(15, 23, 42, 0.88) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  color: #f8fafc !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  box-sizing: border-box;
}

.efb-btn-matchmaking.waiting:hover,
.efb-btn-matchmaking.timer-mode:hover {
  background: rgba(22, 34, 60, 0.95) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5) !important;
}

.efb-btn-matchmaking.waiting:active,
.efb-btn-matchmaking.timer-mode:active {
  transform: scale(0.98);
  background: rgba(15, 23, 42, 0.98) !important;
}

.efb-timer-btn-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.efb-timer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 1.05rem;
  line-height: 1;
}

.efb-timer-text {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
  text-transform: uppercase;
  font-family: inherit;
}

.efb-timer-digits {
  font-size: 0.88rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 10px;
  border-radius: 7px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace;
  letter-spacing: 0.5px;
}

.efb-timer-digits {
  font-size: 0.92rem;
  font-weight: 900;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', monospace;
  color: #0284c7;
  background: #e0f2fe;
  border: 1.5px solid #7dd3fc;
  padding: 2.5px 9px;
  border-radius: 8px;
  letter-spacing: 0.6px;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.15);
}

.efb-btn-matchmaking {
  background: #ffffff;
  color: #080d1a;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 10px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
}

.efb-btn-matchmaking:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
}

.efb-btn-matchmaking:active {
  transform: scale(0.97);
  background: #e2e8f0;
}

@media (max-width: 380px) {
  .efb-timer-text {
    font-size: 0.78rem;
    letter-spacing: 0.4px;
  }
  .efb-timer-digits {
    font-size: 0.85rem;
    padding: 2px 5px;
  }
}

/* ── WHITE BACKGROUND MODAL & ALERT DIALOGS (IMAGE 2 UI/UX) ── */
.efb-white-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 16px;
  animation: efbFadeIn 0.18s ease;
  box-sizing: border-box;
}

#efbWhiteAlertModal {
  align-items: flex-end !important;
  padding: 0 14px 24px 14px !important;
}

.efb-white-dialog-card {
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 24px 24px 18px 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  animation: efbSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  border: none;
}

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

.efb-white-dialog-title {
  margin: 0 0 12px 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
}

.efb-white-dialog-msg {
  font-size: 0.98rem;
  line-height: 1.48;
  color: #374151;
  margin: 0 0 20px 0;
  word-break: break-word;
  white-space: pre-line;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
}

.efb-white-dialog-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.efb-white-dialog-ok-btn {
  background: transparent;
  border: none;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  padding: 10px 42px;
  border-radius: 999px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  transition: background 0.15s ease, transform 0.1s ease;
}

.efb-white-dialog-ok-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.efb-white-dialog-ok-btn:active {
  transform: scale(0.95);
  background: rgba(0, 0, 0, 0.1);
}

/* ============================================
   IMAGE 2: KNOCKOUT STAGE BRACKET GRID
   ============================================ */

.efb-knockout-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.efb-knockout-top-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.efb-knockout-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.efb-knockout-title {
  color: #ffd700;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: left;
  margin: 0;
  letter-spacing: 0.6px;
  text-shadow: none;
}

.efb-knockout-action-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.efb-tree-scroll-wrap {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  box-sizing: border-box;
  padding: 4px 0;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch !important;
}

.efb-tree-layout,
.efb-bracket-svg-container,
.efb-knockout-card {
  touch-action: pan-y !important;
}

.efb-tree-layout {
  position: relative;
  width: 580px;
  height: 335px;
  margin: 0 auto;
  overflow: visible;
}

.efb-bottom-bar-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.efb-grid-btn-col {
  display: flex;
}

.efb-grid-btn-col.left { justify-content: flex-start; }
.efb-grid-btn-col.center { justify-content: center; flex: 1; }
.efb-grid-btn-col.right { justify-content: flex-end; }

.efb-bracket-svg-container {
  position: relative;
  width: 580px;
  height: 335px;
  margin: 0 auto;
  user-select: none;
}

.efb-player-pill-abs {
  position: absolute;
  width: 146px;
  height: 38px;
  background: #172030;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 3px 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  z-index: 2;
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.efb-player-pill-abs:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.25);
}

.efb-player-pill-abs.is-me {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: none !important;
}

.efb-pill-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.8px solid #ef4444;
  flex-shrink: 0;
}

.efb-pill-avatar.ring-gold { border-color: #f59e0b; }
.efb-pill-avatar.ring-cyan { border-color: #38bdf8; }
.efb-pill-avatar.ring-blue { border-color: #3b82f6; }

.efb-pill-name {
  font-size: 0.60rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  letter-spacing: -0.2px;
}

.efb-you-tag {
  font-size: 0.46rem;
  font-weight: 900;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.55);
  border-radius: 3px;
  padding: 1px 2px;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: 0.2px;
}

.efb-champion-ribbon {
  position: absolute;
  left: 195px;
  top: 118px;
  width: 190px;
  text-align: center;
  background: #171c26 !important;
  border: 1.2px solid rgba(245, 158, 11, 0.6) !important;
  color: #fbbf24 !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  border-radius: 8px !important;
  padding: 3px 8px !important;
  box-shadow: none !important;
  z-index: 4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.efb-badge-step-abs {
  position: absolute;
  background: #172030;
  color: #cbd5e1;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.efb-badge-step-abs.badge-final {
  background: #172030;
  color: #eab308;
  font-size: 0.85rem;
  font-weight: 800;
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  box-shadow: none !important;
}

.efb-badge-step-abs:hover {
  background: #1e293b;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

.efb-badge-step-abs.is-ready {
  border-color: rgba(56, 189, 248, 0.7);
  color: #38bdf8;
  box-shadow: none !important;
  animation: none;
}

.efb-badge-step-abs.is-winner-badge {
  background: linear-gradient(135deg, #162235 0%, #0d1522 100%);
  border: 1.5px solid #38bdf8;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2px 4px;
  box-sizing: border-box;
  overflow: hidden;
}

.efb-badge-step-abs.badge-final.is-winner-badge {
  border-color: #ffd700;
  box-shadow: none !important;
}

.efb-badge-step-abs.is-winner-badge:hover {
  transform: scale(1.03);
  border-color: #38bdf8;
  box-shadow: none !important;
}

.efb-adv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  line-height: 1;
  margin-bottom: 2px;
}

.efb-adv-stage {
  font-size: 0.50rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.efb-adv-score {
  font-size: 0.52rem;
  font-weight: 900;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.15);
  padding: 1px 3px;
  border-radius: 3px;
  line-height: 1;
}

.efb-adv-winner {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  min-width: 0;
}

.efb-adv-avatar {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #ffd700;
}

.efb-adv-name {
  font-size: 0.52rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  letter-spacing: -0.3px;
  text-align: left;
}

@keyframes efbPulseGlow {
  0%, 100% { border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 0 6px rgba(0, 229, 255, 0.2); }
  50% { border-color: rgba(0, 229, 255, 0.95); box-shadow: 0 0 14px rgba(0, 229, 255, 0.5); }
}

.efb-player-pill-abs.is-winner {
  background: #151f2e !important;
  border: 1.5px solid #f59e0b !important;
  box-shadow: none !important;
}

.efb-player-pill-abs.is-loser {
  opacity: 0.52;
  filter: grayscale(35%);
}

.efb-pill-score {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 1px 5px;
  color: #cbd5e1;
  margin-left: auto;
  line-height: 1.2;
}

.efb-pill-score.is-winner-score {
  background: #f59e0b !important;
  color: #0b0f19 !important;
  border: none !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

/* Match Grid Box for SF 1 & SF 2 */
.efb-sf-box-abs {
  flex-direction: column !important;
  padding: 3px 5px !important;
  gap: 2px !important;
  border-radius: 8px !important;
  height: auto !important;
  min-height: 46px !important;
  box-sizing: border-box !important;
  cursor: pointer;
}

.efb-sf-title {
  font-size: 0.56rem;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.efb-sf-slot {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
  border-radius: 3px;
  padding: 1px 2px;
  box-sizing: border-box;
}

.efb-sf-slot.is-adv-winner {
  color: #ffd700;
  font-weight: 800;
  background: rgba(255, 215, 0, 0.15);
}

.efb-sf-slot.is-adv-loser {
  opacity: 0.45;
}

.efb-sf-avatar {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.efb-sf-name {
  font-size: 0.58rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 44px;
}

/* Match Grid Box for Final */
.efb-final-box-abs {
  flex-direction: column !important;
  padding: 3px 6px !important;
  gap: 2px !important;
  border-radius: 10px !important;
  height: auto !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  cursor: pointer;
}

.efb-final-title {
  font-size: 0.60rem;
  color: #ffd700;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.efb-final-contestants {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 4px;
}

.efb-final-player {
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: 42px;
  overflow: hidden;
}

.efb-final-player.is-champ {
  color: #ffd700;
  font-weight: 800;
}

.efb-final-avatar {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.efb-final-name {
  font-size: 0.56rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.efb-final-vs {
  font-size: 0.58rem;
  font-weight: 900;
  color: #94a3b8;
}

.efb-champion-banner-abs {
  position: absolute;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.28), rgba(245, 158, 11, 0.16));
  border: 1.5px solid #ffd700;
  border-radius: 999px;
  padding: 3px 10px;
  color: #ffd700;
  font-size: 0.66rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.4);
  z-index: 5;
  text-transform: uppercase;
}

/* 4-Player Championship Finals Tree (32-member stage) */
.efb-finals-4p-pill {
  position: absolute;
  width: 140px;
  height: 42px;
  background: #172030;
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  border-radius: 12px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  z-index: 2;
  cursor: pointer;
  transition: all 0.2s ease;
}

.efb-finals-4p-pill:hover {
  transform: translateY(-1px);
  border-color: #ffd700;
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.35);
}

.efb-finals-4p-pill.is-winner {
  border-color: #ffd700;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), #172030);
}

.efb-finals-4p-pill.is-loser {
  opacity: 0.52;
  filter: grayscale(35%);
}

.efb-finals-4p-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.efb-finals-4p-sub {
  font-size: 0.56rem;
  color: #fbbf24;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Knockout Bottom Action Bar (Image 2 - Box Type UI/UX) */
.efb-knockout-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #000000 !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 12px));
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.efb-knockout-bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

.efb-knockout-bottom-bar .efb-btn-back {
  flex: 1;
  height: 48px;
}

.efb-btn-toggle-display {
  flex: 1.25;
  height: 48px;
  padding: 0 12px;
  border-radius: 12px !important;
  background: #141824 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  min-width: 0;
}

.efb-btn-toggle-display svg {
  width: 14px;
  height: 14px;
  color: #ffffff !important;
  stroke: #ffffff !important;
  flex-shrink: 0;
}

.efb-btn-toggle-display:hover {
  background: #1e2638 !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.efb-btn-toggle-display:active {
  transform: scale(0.97);
  box-shadow: none !important;
}

/* Solid White Box Button UI/UX for Next */
.efb-btn-next,
.efb-btn-play {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px !important;
  background: #16a34a !important;
  border: 1px solid #22c55e !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  min-width: 0;
}

.efb-btn-next svg,
.efb-btn-play svg {
  width: 15px;
  height: 15px;
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: none !important;
  flex-shrink: 0;
}

.efb-btn-next:hover,
.efb-btn-play:hover {
  background: #15803d !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}

.efb-btn-next:active,
.efb-btn-play:active {
  transform: scale(0.97);
  box-shadow: none !important;
}

.efb-btn-play.is-continue {
  background: #15803d !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

.efb-knockout-status-pill {
  margin: 24px auto 0 auto;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 36px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

/* ============================================
   HOST TOURNAMENT MODAL — PREMIUM DARK THEME
   ============================================ */
.host-tournament-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.host-tournament-modal-overlay.open {
  display: flex !important;
}

.host-tournament-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  background: #0a0a0a;
  border: none;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  overflow: hidden;
  animation: hostModalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hostModalSlideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Fixed Header */
.host-modal-header {
  position: relative;
  flex-shrink: 0;
  background: #0a0a0a;
  padding: 22px 20px 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 20;
}

.host-modal-header .btn-close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.host-modal-header .btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: rotate(90deg);
}

.host-modal-header .btn-close-modal:active {
  transform: scale(0.92) rotate(90deg);
}

.host-tournament-body {
  padding: 4px 20px 28px 20px;
  overflow-y: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.host-tournament-body::-webkit-scrollbar {
  width: 3px;
}
.host-tournament-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.host-main-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  line-height: 1.15;
}

.host-subtitle {
  margin: 2px 0 0 0;
  font-size: 0.78rem;
  color: #666;
  line-height: 1.4;
  font-weight: 400;
}

/* Host Identity Banner */
.host-profile-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 16px;
}

.host-banner-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.host-banner-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.host-avatar-crown {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c8ff, #0070dd);
  border: 1.5px solid #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.host-banner-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.host-banner-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.host-banner-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-banner-role-tag {
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.25);
  color: #00c8ff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.host-banner-email {
  font-size: 0.72rem;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-profile-seal {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.host-profile-seal svg {
  stroke: #00c8ff !important;
}

/* Field Groups */
.host-field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0;
}

.host-field-group:first-child {
  border-top: none;
  padding-top: 16px;
}

.host-field-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.host-field-label svg {
  color: #ffffff;
  stroke: #ffffff;
  flex-shrink: 0;
}

.host-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.host-field-hint {
  font-size: 0.68rem;
  color: #666;
  font-weight: 600;
}

.host-input-wrap {
  width: 100%;
  box-sizing: border-box;
}

.host-text-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s ease;
}

.host-text-input::placeholder {
  color: #444;
}

.host-text-input:focus {
  border-color: rgba(0, 200, 255, 0.4);
  background: rgba(0, 200, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.08);
}

/* Banner Image Upload & Preset Choices */
.host-banner-upload-box {
  position: relative;
  width: 100%;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}

.host-banner-upload-box:hover {
  border-color: rgba(0, 200, 255, 0.35);
}

.host-banner-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.host-banner-upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: all 0.2s ease;
}

.host-banner-upload-box:hover .host-banner-upload-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.host-banner-upload-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  color: #ccc;
  font-size: 0.76rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.host-banner-upload-box:hover .host-banner-upload-pill {
  transform: scale(1.03);
  border-color: rgba(0, 200, 255, 0.4);
  color: #00c8ff;
}

.host-preset-banners {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  margin-top: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.host-preset-banners::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.host-preset-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  position: relative !important;
  overflow: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif !important;
  font-size: clamp(8.5px, 2.3vw, 9.5px) !important;
  font-weight: 750 !important;
  letter-spacing: 0.1px !important;
  padding: 6.5px 4px !important;
  border-radius: 9999px !important;
  box-sizing: border-box !important;
  user-select: none !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  white-space: nowrap !important;
  min-width: 0 !important;
  cursor: pointer !important;
  outline: none !important;
  opacity: 0.72 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease !important;
}

/* Inner Light Beam Shimmer Passing Through the Preset Tags */
.host-preset-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -130% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.32) 50%, 
    transparent 100%
  ) !important;
  transform: skewX(-20deg) !important;
  animation: tierInsideShimmer 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.host-preset-btn svg {
  flex-shrink: 0 !important;
  width: 11.5px !important;
  height: 11.5px !important;
  position: relative !important;
  z-index: 3 !important;
  transition: transform 0.2s ease !important;
}

.host-preset-btn span {
  position: relative !important;
  z-index: 3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}

.host-preset-btn:hover {
  opacity: 0.90 !important;
  transform: translateY(-0.5px) !important;
}

.host-preset-btn.active {
  opacity: 1 !important;
  transform: translateY(-1px) scale(1.02) !important;
  font-weight: 800 !important;
}

.host-preset-btn.active svg {
  transform: scale(1.08) !important;
}

/* Preset 1: Champions Cup (Gold Tier Animated Gradient) */
.host-preset-btn.preset-gold,
#presetBanner1 {
  background: linear-gradient(135deg, rgba(161, 98, 7, 0.45) 0%, rgba(250, 204, 21, 0.24) 25%, rgba(234, 179, 8, 0.48) 60%, rgba(133, 77, 14, 0.35) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3s ease infinite !important;
  border: 1px solid rgba(250, 204, 21, 0.42) !important;
  color: #fef9c3 !important;
}

.host-preset-btn.preset-gold svg,
#presetBanner1 svg {
  color: #fef08a !important;
  stroke: #fef08a !important;
}

.host-preset-btn.preset-gold.active,
#presetBanner1.active {
  background: linear-gradient(135deg, rgba(180, 110, 8, 0.65) 0%, rgba(250, 204, 21, 0.35) 25%, rgba(245, 190, 12, 0.68) 60%, rgba(161, 98, 7, 0.50) 100%) !important;
  background-size: 220% 220% !important;
  border: 1.5px solid #fde047 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.38), 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.host-preset-btn.preset-gold.active svg,
#presetBanner1.active svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Preset 2: Arena Clash (Cyan / Starter Tier Animated Gradient) */
.host-preset-btn.preset-cyan,
#presetBanner2 {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.42) 0%, rgba(0, 210, 255, 0.20) 25%, rgba(14, 165, 233, 0.48) 60%, rgba(3, 105, 161, 0.35) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3.5s ease infinite !important;
  border: 1px solid rgba(0, 210, 255, 0.42) !important;
  color: #e0f2fe !important;
}

.host-preset-btn.preset-cyan svg,
#presetBanner2 svg {
  color: #38bdf8 !important;
  stroke: #38bdf8 !important;
}

.host-preset-btn.preset-cyan.active,
#presetBanner2.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.65) 0%, rgba(0, 210, 255, 0.35) 25%, rgba(14, 165, 233, 0.68) 60%, rgba(3, 105, 161, 0.50) 100%) !important;
  background-size: 220% 220% !important;
  border: 1.5px solid #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.40), 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.host-preset-btn.preset-cyan.active svg,
#presetBanner2.active svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Preset 3: Elite Showdown (Diamond / Amethyst Tier Animated Gradient) */
.host-preset-btn.preset-diamond,
#presetBanner3 {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.45) 0%, rgba(192, 132, 252, 0.24) 25%, rgba(244, 114, 182, 0.40) 60%, rgba(88, 28, 135, 0.35) 100%) !important;
  background-size: 220% 220% !important;
  animation: tierInsideFlow 3s ease infinite !important;
  border: 1px solid rgba(192, 132, 252, 0.42) !important;
  color: #fae8ff !important;
}

.host-preset-btn.preset-diamond svg,
#presetBanner3 svg {
  color: #c084fc !important;
  stroke: #c084fc !important;
}

.host-preset-btn.preset-diamond.active,
#presetBanner3.active {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.65) 0%, rgba(192, 132, 252, 0.35) 25%, rgba(244, 114, 182, 0.65) 60%, rgba(107, 33, 168, 0.50) 100%) !important;
  background-size: 220% 220% !important;
  border: 1.5px solid #e879f9 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(232, 121, 249, 0.40), 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.host-preset-btn.preset-diamond.active svg,
#presetBanner3.active svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Tournament Players Bracket Grid */
.host-players-val-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #00c8ff;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  padding: 2px 10px;
  border-radius: 999px;
}

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

.host-player-count-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  color: #666;
  transition: all 0.18s ease;
  outline: none;
  box-shadow: none !important;
}

.host-player-count-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ccc;
}

.host-player-count-btn:active {
  transform: scale(0.96);
}

.host-player-count-btn.active {
  background: rgba(0, 200, 255, 0.08) !important;
  border: 1.5px solid rgba(0, 200, 255, 0.4) !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.1) !important;
}

.hpc-count {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  color: #888;
  letter-spacing: -0.5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.host-player-count-btn.active .hpc-count {
  color: #00c8ff !important;
  font-weight: 900;
}

.host-player-count-btn:hover .hpc-count {
  color: #ccc;
}

.hpc-sub {
  font-size: 0.58rem;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.host-player-count-btn.active .hpc-sub {
  color: rgba(0, 200, 255, 0.7) !important;
}

/* ====== Room Slots Section ====== */
.host-room-slots-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px dashed rgba(0, 200, 255, 0.15);
  animation: hostSlotsFadeIn 0.35s ease;
}

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

.host-slots-val-badge {
  font-size: 0.62rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.host-slots-hint {
  font-size: 0.68rem;
  color: #666;
  line-height: 1.4;
  margin: -2px 0 4px 0;
  padding: 0;
}

.host-room-slots-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual Slot Card */
.host-slot-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.host-slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #00c8ff 0%, #0ea5e9 50%, transparent 100%);
  border-radius: 0 3px 3px 0;
  opacity: 0.5;
}

.host-slot-card:hover {
  border-color: rgba(0, 200, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

/* Slot Header */
.host-slot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.host-slot-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.host-slot-number-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.15) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(0, 200, 255, 0.25);
  font-size: 0.78rem;
  font-weight: 800;
  color: #38bdf8;
  flex-shrink: 0;
}

.host-slot-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #ddd;
  letter-spacing: 0.02em;
}

.host-slot-players-pill {
  font-size: 0.58rem;
  font-weight: 700;
  color: #888;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Slot Fields Row */
.host-slot-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.host-slot-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.host-slot-field-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: #777;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.host-slot-field-label svg {
  color: #38bdf8;
  flex-shrink: 0;
}

/* Moderator Input */
.host-slot-mod-input {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #eee;
  outline: none;
  transition: all 0.18s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.host-slot-mod-input::placeholder {
  color: #555;
  font-weight: 500;
}

.host-slot-mod-input:focus {
  border-color: rgba(0, 200, 255, 0.35);
  background: rgba(0, 200, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.06);
}

/* Room ID Input */
.host-slot-roomid-input {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fbbf24;
  outline: none;
  transition: all 0.18s ease;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.06em;
  width: 100%;
  box-sizing: border-box;
}

.host-slot-roomid-input::placeholder {
  color: #555;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: normal;
}

.host-slot-roomid-input:focus {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.04);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.06);
}

/* Slot card collapse/expand on small screens */
.host-slot-card.collapsed .host-slot-fields {
  display: none;
}

.host-slot-toggle-btn {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.host-slot-toggle-btn:hover {
  color: #38bdf8;
}

.host-slot-card.collapsed .host-slot-toggle-btn {
  transform: rotate(-90deg);
}

/* Entry Fee Selector */
.host-entry-val-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 2px 10px;
  border-radius: 999px;
}

.host-fee-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.host-fee-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 4px;
  color: #777;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
  outline: none;
  box-shadow: none !important;
}

.host-fee-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ccc;
}

.host-fee-chip:active {
  transform: scale(0.96);
}

.host-fee-chip.active {
  background: rgba(251, 191, 36, 0.08) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.4) !important;
  color: #fbbf24 !important;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.06) !important;
}

/* Custom Fee Input */
.host-custom-fee-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.host-custom-fee-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

.host-custom-fee-input-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 8px;
  padding: 5px 10px;
  flex: 1;
  max-width: 175px;
}

.host-mini-coin {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.host-custom-fee-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 700;
}

.host-fee-unit {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(251, 191, 36, 0.6);
}

/* Prize Pool Card */
.host-prize-calc-hint {
  font-size: 0.66rem;
  color: #666;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.host-prize-calc-hint svg {
  color: #00c8ff !important;
}

.host-prize-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}

.host-prize-coin-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.host-prize-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 800;
}

/* Tournament Schedule Control Center */
.host-schedule-live-badge {
  font-size: 0.66rem;
  font-weight: 700;
  color: #00c8ff;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.22);
  padding: 2px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.host-schedule-live-badge svg {
  color: #00c8ff !important;
}

.host-schedule-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.host-schedule-item-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: none !important;
}

.host-schedule-item-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hsc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.hsc-type-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hsc-type-icon {
  flex-shrink: 0;
}

.hsc-type-icon.date-icon {
  color: #00c8ff;
}

.hsc-type-icon.time-icon {
  color: #fbbf24;
}

.hsc-type-label {
  font-size: 0.64rem;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hsc-status-pill {
  font-size: 0.62rem;
  font-weight: 700;
  color: #00c8ff;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.22);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.hsc-status-pill.time-pill {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.06);
  border-color: rgba(251, 191, 36, 0.18);
}

.hsc-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.hsc-value-text {
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  white-space: nowrap;
  line-height: 1.2;
}

.hsc-change-btn {
  font-size: 0.7rem;
  font-weight: 600;
  color: #666;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: none !important;
}

.host-schedule-item-card:hover .hsc-change-btn {
  color: #ccc;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.hsc-change-btn:active {
  transform: scale(0.96);
}

.hsc-native-picker-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
  color-scheme: dark;
}

.host-schedule-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.72rem;
}

.hss-clean-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00c8ff;
  box-shadow: 0 0 6px rgba(0, 200, 255, 0.6);
  flex-shrink: 0;
}

.hss-schedule-text {
  color: #888;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Host Live Summary Preview */
.host-summary-preview {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 600;
  color: #999;
}

.hsp-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.hsp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00c8ff;
  flex-shrink: 0;
}

.hsp-dot {
  color: #333;
  font-weight: 900;
}

/* Actions */
.host-actions {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-host-launch {
  width: 100%;
  background: var(--gradient-btn, linear-gradient(135deg, #00c8ff 0%, #0070dd 100%));
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 15px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 22px rgba(0, 200, 255, 0.35);
  transition: all 0.2s ease;
  outline: none;
  text-shadow: none !important;
}

.btn-host-launch svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.btn-host-launch:hover {
  background: var(--gradient-btn-hover, linear-gradient(135deg, #00daff 0%, #0088ff 100%));
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 200, 255, 0.5);
}

.btn-host-launch:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(0, 200, 255, 0.25);
}

/* Dedicated Host Organizer Banner in Tournament Lobby - Compact & Sleek (No Vibe Glow) */
.efb-host-organizer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 2px 0 4px 0;
  margin: 2px 0 6px 0;
  box-shadow: none !important;
  box-sizing: border-box;
  width: 100%;
}

.efb-host-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.efb-host-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.efb-host-org-avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  flex-shrink: 0;
}

.efb-host-org-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  display: block;
}

.efb-host-crown-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f59e0b;
  border: 1.5px solid #0f172a;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.efb-host-crown-badge svg {
  width: 8px;
  height: 8px;
}

.efb-host-org-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.efb-host-badge-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.efb-host-label-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(245, 158, 11, 0.14);
  border: none !important;
  color: #f59e0b;
  font-size: 0.54rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: none !important;
}

.efb-room-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(56, 189, 248, 0.12);
  border: none !important;
  color: #38bdf8;
  font-size: 0.54rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: none !important;
}

.efb-host-org-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.1px;
  line-height: 1.25;
  max-width: 100%;
}

@media (max-width: 600px) {
  .efb-host-org-name {
    font-size: 0.80rem;
    max-width: 100%;
  }
}

.efb-host-org-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

/* WhatsApp Button: Authentic Logo Icon Only (Zero Border / Background / Glow) */
.efb-host-wa-btn {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #ffffff;
  border: none !important;
  cursor: pointer;
  padding: 0 !important;
  box-shadow: none !important;
  transition: transform 0.15s ease, filter 0.15s ease;
  vertical-align: middle;
  flex-shrink: 0;
}

.efb-host-wa-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.efb-host-wa-btn:hover {
  background: transparent !important;
  transform: scale(1.14);
  filter: brightness(1.15);
  box-shadow: none !important;
}

.efb-host-wa-btn:active {
  transform: scale(0.95);
}

.efb-slot-item {
  cursor: pointer;
  transition: all 0.2s ease;
}

.efb-slot-item:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.85;
}

.efb-slot-item:active {
  transform: scale(0.98);
}

/* Player Profile & Contact Modal */
.player-profile-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-profile-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.player-profile-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  background: #0f1422;
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 20px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 200, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
  box-sizing: border-box;
}

.player-profile-modal-overlay.open .player-profile-card {
  transform: translateY(0) scale(1);
}

.player-profile-card .btn-close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.player-profile-card .btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: rotate(90deg);
}

.player-profile-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.player-profile-avatar-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin-top: 4px;
  margin-bottom: 12px;
}

.player-profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00c8ff;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
}

.player-profile-slot-badge {
  position: absolute;
  bottom: -4px;
  right: -6px;
  background: #00c8ff;
  color: #000;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  border: 2px solid #0f1422;
  letter-spacing: 0.02em;
}

.player-profile-name {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.player-profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 4px;
  margin-bottom: 16px;
}

.player-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  display: inline-block;
}

.player-status-dot.me {
  background: #00c8ff;
  box-shadow: 0 0 6px #00c8ff;
}

/* Info Card (Email) */
.player-info-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  box-sizing: border-box;
  text-align: left;
}

.player-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 200, 255, 0.1);
  color: #00c8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.player-info-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.player-info-label {
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.player-info-val {
  font-size: 0.82rem;
  color: #f1f5f9;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* WhatsApp Contact Button */
.btn-player-whatsapp {
  width: 100%;
  background: #25D366;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.btn-player-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.btn-player-whatsapp:active {
  transform: scale(0.98);
}


/* Knockout Host Scores Bar & Controls */
.efb-btn-update-scores {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000000;
  border: none;
  border-radius: 9px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.efb-btn-update-scores:hover {
  transform: translateY(-1px);
  box-shadow: none !important;
}

/* Host Score Modal Styling */
.host-score-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: efbFadeIn 0.18s ease forwards;
}

.host-score-modal-overlay.open {
  display: flex !important;
}

/* ========================================================
   HOST SCORE MODAL - PROFESSIONAL BROADCAST EDITION
   (Clean, Executive, Matte Dark, Strictly No Neon Glow)
   ======================================================== */
.host-score-card.efb-pro-scorecard,
.host-score-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 410px;
  background: #0d1424;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  overflow: hidden;
  animation: hostModalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-sizing: border-box;
}

/* Top Sheet Pull Bar */
.efb-sheet-pull-bar {
  width: 36px;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  margin: 10px auto 0 auto;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.efb-sheet-pull-bar:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Professional Header */
.efb-pro-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 18px 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 12px;
  background: transparent;
}

.efb-pro-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.efb-pro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.efb-pro-kicker svg {
  color: #fbbf24;
}

.efb-pro-main-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.efb-pro-subtitle {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

/* Professional Close Button */
.efb-pro-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.efb-pro-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.efb-pro-close-btn:active {
  transform: scale(0.94);
}

/* Modal Body */
.host-score-body.efb-pro-body,
.host-score-body {
  padding: 14px 18px 18px 18px;
  overflow-y: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

/* Fixture / Match Selector */
.efb-pro-field-group,
.host-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.efb-pro-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.host-field-label {
  font-size: 0.66rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.efb-pro-field-hint {
  font-size: 0.65rem;
  color: #475569;
  font-weight: 600;
}

.efb-select-wrapper {
  position: relative;
  width: 100%;
}

.host-match-select.efb-pro-select,
.host-match-select {
  width: 100%;
  height: 40px;
  background: #111a2d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0 34px 0 12px;
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.host-match-select.efb-pro-select:hover,
.host-match-select:hover {
  background: #141f36;
  border-color: rgba(255, 255, 255, 0.16);
}

.host-match-select.efb-pro-select:focus,
.host-match-select:focus {
  border-color: #3b82f6;
  background: #141f36;
  box-shadow: none !important;
}

.efb-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
}

/* Professional Broadcast Scoreboard */
.host-scoreboard-box.efb-pro-scoreboard,
.host-scoreboard-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111a2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px;
  gap: 8px;
  box-sizing: border-box;
  box-shadow: none !important;
}

/* Symmetrical Player Match Cards */
.host-score-player.efb-pro-player-side,
.host-score-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
  min-width: 0;
  padding: 12px 6px 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  transition: all 0.18s ease;
}

/* Winner Selection Highlight (Crisp Solid Border, No Glow) */
.host-score-player.winner-highlight {
  background: rgba(16, 185, 129, 0.08);
  border-color: #10b981;
  box-shadow: none !important;
}

.host-avatar-wrap.efb-pro-avatar-wrap,
.host-avatar-wrap {
  position: relative;
  width: 50px;
  height: 50px;
}

.host-score-avatar.efb-pro-avatar,
.host-score-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: none !important;
  transition: border-color 0.15s ease;
}

.host-score-player.winner-highlight .host-score-avatar {
  border-color: #10b981;
  box-shadow: none !important;
}

/* Solid Minimal Winner Pill (No Glow) */
.host-lead-indicator.efb-pro-lead-pill,
.host-lead-indicator {
  display: none;
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.52rem;
  font-weight: 800;
  background: #10b981;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: none !important;
}

.host-score-player.winner-highlight .host-lead-indicator {
  display: block;
}

.host-score-pname.efb-pro-pname,
.host-score-pname {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* Center Stage & Status Column */
.efb-pro-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 2px;
}

.efb-pro-status-pill {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.efb-pro-status-pill.neutral {
  background: #182236;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.efb-pro-status-pill.tie {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.efb-pro-status-pill.lead {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.host-vs-badge.efb-pro-vs-badge,
.host-vs-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #182236;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none !important;
}

/* Hardware-Style Stepper Control */
.efb-score-stepper.efb-pro-stepper,
.efb-score-stepper {
  display: inline-flex;
  align-items: center;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
  box-shadow: none !important;
}

.efb-step-btn.efb-pro-step-btn,
.efb-step-btn {
  width: 32px;
  height: 34px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
  user-select: none;
  touch-action: manipulation;
  box-shadow: none !important;
}

.efb-step-btn.efb-pro-step-btn:hover,
.efb-step-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.efb-step-btn.efb-pro-step-btn:active,
.efb-step-btn:active {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(0.92);
}

.host-score-input.efb-pro-score-val,
.host-score-input {
  width: 38px;
  height: 34px;
  background: transparent;
  border: none;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #ffffff;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
}

.host-score-input::-webkit-outer-spin-button,
.host-score-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Winner Selection Section */
.efb-pro-winner-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.efb-pro-winner-sub {
  font-size: 0.64rem;
  color: #64748b;
  font-weight: 600;
}

.efb-tie-prompt {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 7px 10px;
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.35;
}

.efb-tie-prompt svg {
  flex-shrink: 0;
  color: #f59e0b;
}

.host-winner-selection.efb-pro-winner-grid,
.host-winner-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.host-winner-card.efb-pro-winner-card,
.host-winner-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111a2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 10px;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-align: left;
  outline: none;
  min-width: 0;
  user-select: none;
  box-shadow: none !important;
}

.host-winner-card.efb-pro-winner-card:hover,
.host-winner-card:hover {
  background: #141f36;
  border-color: rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
}

.host-winner-card .host-winner-check.efb-pro-radio-dot,
.host-winner-card .host-winner-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  transition: all 0.12s ease;
  box-shadow: none !important;
}

.host-winner-card .host-winner-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.host-winner-card .host-winner-name.efb-pro-wname,
.host-winner-card .host-winner-name {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f1f5f9;
}

.host-winner-card .host-winner-badge.efb-pro-wbadge,
.host-winner-card .host-winner-badge {
  font-size: 0.58rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
}

/* Active State (Solid Matte Emerald, Strictly No Glow) */
.host-winner-card.active {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.host-winner-card.active .host-winner-check {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.host-winner-card.active .host-winner-badge {
  color: #10b981 !important;
}

/* Professional 2-Column Action Footer */
.efb-score-actions.efb-pro-actions,
.efb-score-actions {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.efb-btn-cancel-score.efb-pro-btn-cancel,
.efb-btn-cancel-score {
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  box-shadow: none !important;
}

.efb-btn-cancel-score.efb-pro-btn-cancel:hover,
.efb-btn-cancel-score:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.efb-btn-cancel-score:active {
  transform: scale(0.98);
}

.efb-btn-save-score.efb-pro-btn-confirm,
.efb-btn-save-score {
  height: 42px;
  border-radius: 10px;
  background: #10b981 !important;
  color: #ffffff !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}

.efb-btn-save-score.disabled-standby {
  background: #182236 !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.efb-btn-save-score.disabled-standby:hover {
  background: #1e2a42 !important;
  color: #f1f5f9 !important;
}

.efb-btn-save-score:hover {
  background: #059669 !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}

.efb-btn-save-score:active {
  transform: scale(0.98);
}

/* ========================================================
   KNOCKOUT BRACKET ZOOM & STAGE NAVIGATION CONTROLS
   ======================================================== */
.efb-bracket-zoom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 4px 6px;
  margin: 6px 0 2px;
  gap: 6px;
  box-sizing: border-box;
}

.efb-zoom-btn-group {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 2px 4px;
  gap: 2px;
}

.efb-zoom-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.efb-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.efb-zoom-fit-btn {
  width: auto;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #38bdf8;
}

.efb-quarter-jump-group {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.efb-quarter-jump-group::-webkit-scrollbar {
  display: none;
}

.efb-quarter-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  font-family: inherit;
}

.efb-quarter-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.efb-quarter-pill.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #38bdf8;
  font-weight: 800;
}

/* Match Score Tag in Knockout Tree */
.efb-match-score-pill {
  position: absolute;
  background: #111827;
  border: 1.5px solid #10b981;
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ============================================
   MULTI-ROOM TOURNAMENT SLOTS (16, 32, 64, 128 PLAYERS)
   ============================================ */

/* Room Selector Tab Bar */
.efb-room-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  margin-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.efb-room-nav-tabs::-webkit-scrollbar {
  display: none;
}

.efb-room-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 6px 14px;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-family: inherit;
}

.efb-room-tab-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #f1f5f9;
  transform: translateY(-1px);
}

.efb-room-tab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.1));
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.efb-room-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
}

.efb-room-tab-btn.active .efb-room-tab-dot {
  background: #38bdf8;
  box-shadow: none;
}

/* View More Slots Button Bar (Directly below Room 1) */
.efb-view-more-slots-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 4px 0 16px 0;
  box-sizing: border-box;
}

.efb-btn-view-more-slots {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  height: 46px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(30, 58, 138, 0.4));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 0 16px;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  box-sizing: border-box;
}

.efb-btn-view-more-slots:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(30, 58, 138, 0.55));
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.efb-btn-view-more-slots:active {
  transform: scale(0.98);
}

.efb-btn-view-more-slots.is-expanded {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
  border-color: rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.efb-btn-view-more-slots.is-expanded:hover {
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.35);
}

.efb-vms-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.efb-vms-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.efb-btn-view-more-slots.is-expanded .efb-vms-icon {
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.efb-vms-text {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

.efb-btn-view-more-slots.is-expanded .efb-vms-text {
  color: #cbd5e1;
}

.efb-vms-badge {
  background: rgba(56, 189, 248, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.efb-btn-view-more-slots.is-expanded .efb-vms-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #94a3b8;
}

/* Additional Rooms Container */
.efb-additional-rooms-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  animation: efbFadeSlideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Room 2+ Room Card (Identical aesthetic to efb-lobby-card) */
.efb-room-card {
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  padding: 22px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(10, 40, 110, 0.25);
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 600px) {
  .efb-room-card {
    padding: 16px 12px;
    border-radius: 20px;
  }
}

.efb-room-title {
  font-size: 1.05rem !important;
  white-space: nowrap !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

.efb-room-slot-range {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
}

.efb-room-badge-num {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  color: #38bdf8;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.efb-room-size-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #94a3b8;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Room ID Toolbar (Clean, non-colliding layout on all screens) */
.efb-room-id-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 4px 0 10px 0;
  box-sizing: border-box;
}

.efb-room-id-toolbar .efb-tourney-id-wrap {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 82px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 0 !important;
}

.efb-room-id-toolbar .efb-id-label {
  font-size: 0.64rem;
  letter-spacing: 0.5px;
  color: #94a3b8;
  flex-shrink: 0;
}

.efb-room-id-toolbar .efb-id-dot {
  font-size: 0.65rem;
  color: #64748b;
  flex-shrink: 0;
}

.efb-room-id-toolbar .efb-id-val {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  flex-shrink: 1;
}

.efb-room-id-toolbar .efb-copy-icon {
  flex-shrink: 0;
  color: #38bdf8;
  margin-left: auto;
}

.efb-edit-id-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 8px;
  padding: 4px 10px;
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.efb-edit-id-pill:hover {
  background: rgba(56, 189, 248, 0.24);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Moderator Organizer Banner (Room 2+) */
.efb-host-organizer-banner.efb-mod-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 0 4px 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 2px 0 6px 0;
  border-radius: 0;
}

.efb-mod-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.efb-mod-banner .efb-host-org-details {
  min-width: 0;
  flex: 1;
}

.efb-mod-banner .efb-host-org-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  line-height: 1.25;
}

.efb-mod-badges-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
  flex-wrap: nowrap;
}

.efb-host-label-tag.mod-tag {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  font-size: 0.56rem;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.efb-room-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.56rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.efb-host-org-avatar.mod-ring {
  border-color: #38bdf8;
}

.efb-host-crown-badge.mod-badge {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #ffffff;
}

.efb-mod-email-sub {
  font-size: 0.64rem;
  color: #38bdf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
  display: block;
  margin-top: 1px;
  letter-spacing: -0.01em;
  opacity: 0.9;
}

.efb-mod-wa-btn {
  padding: 5px 8px !important;
  font-size: 0.68rem !important;
  border-radius: 999px !important;
  gap: 4px !important;
}

.efb-mod-edit-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.74rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.efb-mod-edit-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  transform: scale(1.08);
}

/* =========================================================
   TWO-SIDED CONNECTED FIXTURE TREE (IMAGE 3 - WORLD CUP / MULTI-ROOM)
   ========================================================= */
.efb-tree-scroll-wrap.is-horizontal-bracket,
.efb-tree-layout.is-horizontal-bracket {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

.efb-btn-test-case {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 9px;
  padding: 6px 13px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  white-space: nowrap;
}
.efb-btn-test-case:hover {
  transform: translateY(-1px);
  box-shadow: none !important;
  background: linear-gradient(135deg, #0369a1, #0284c7);
}

/* Knockout Grid Zoom and Size Adjuster Toolbar */
.efb-grid-zoom-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 2px;
  box-sizing: border-box;
}

.efb-zoom-label {
  font-size: 0.60rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.efb-zoom-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.efb-zoom-btn:hover,
.efb-zoom-btn.active {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.efb-zoom-step-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.efb-zoom-step-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.65rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s ease;
  line-height: 1;
}

.efb-zoom-step-btn:hover {
  color: #38bdf8;
}

.efb-zoom-val {
  font-size: 0.60rem;
  font-weight: 800;
  color: #38bdf8;
  min-width: 32px;
  text-align: center;
}

/* Stage Navigation Tabs (Championship Finals vs 8-Slot Rooms) */
.efb-stage-nav-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 2px 8px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
}
.efb-stage-nav-bar::-webkit-scrollbar {
  display: none;
}

.efb-stage-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  flex-shrink: 0;
}
.efb-stage-tab-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #e2e8f0;
  border-color: rgba(56, 189, 248, 0.4);
}
.efb-stage-tab-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45), rgba(3, 105, 161, 0.35));
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.efb-stage-tab-btn.tab-finals {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.18), rgba(245, 158, 11, 0.08));
  border-color: rgba(234, 179, 8, 0.4);
  color: #ffd700;
}
.efb-stage-tab-btn.tab-finals:hover {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.35), rgba(245, 158, 11, 0.2));
  border-color: #ffd700;
  color: #ffffff;
}
.efb-stage-tab-btn.tab-finals.active {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.45), rgba(245, 158, 11, 0.25));
  border-color: #ffd700;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Room Grid Breadcrumb Banner */
.efb-room-grid-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  margin-bottom: 8px;
  box-sizing: border-box;
}
.efb-room-grid-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.efb-room-badge {
  font-size: 0.60rem;
  font-weight: 900;
  color: #0b111e;
  background: #38bdf8;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.efb-room-banner-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.efb-btn-view-finals {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #ffd700;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.efb-btn-view-finals:hover {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.45), rgba(245, 158, 11, 0.3));
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.efb-fixture-twoside-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.efb-fixture-top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 10px 10px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
}
.efb-fixture-top-nav::-webkit-scrollbar {
  display: none;
}

.efb-fx-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  flex-shrink: 0;
  box-shadow: none !important;
}
.efb-fx-nav-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
}
.efb-fx-nav-pill.active {
  background: #1e293b !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  font-weight: 800;
  box-shadow: none !important;
}
.efb-fx-nav-pill.pill-final {
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
  font-weight: 800;
  box-shadow: none !important;
}
.efb-fx-nav-pill.pill-final:hover,
.efb-fx-nav-pill.pill-final.active {
  background: #f59e0b !important;
  color: #020617 !important;
  border-color: #f59e0b !important;
  box-shadow: none !important;
}

.efb-fixture-scroll-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 78vh;
  padding: 8px 10px 24px 10px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.3) rgba(15, 23, 42, 0.6);
  width: 100%;
}
.efb-fixture-scroll-container::-webkit-scrollbar {
  height: 4px;
  width: 4px;
}
.efb-fixture-scroll-container::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 4px;
}
.efb-fixture-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 4px;
}

.efb-fixture-main-tree {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-width: max-content;
  margin: 0 auto;
  transition: zoom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.efb-fixture-wing {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-shrink: 0;
}

/* Professional broadcast esports column width */
.efb-fx-round-col {
  display: flex;
  flex-direction: column;
  width: 156px;
  flex-shrink: 0;
}

.efb-fx-round-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 8px;
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  height: 28px;
  box-sizing: border-box;
}
.efb-fx-round-title {
  font-size: 0.62rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.efb-fx-round-badge {
  font-size: 0.54rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 1.5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  white-space: nowrap;
}

.efb-fx-matches-col {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.efb-fx-slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Broadcast Esports Match Card: Height 58px, Solid Matte Dark Aesthetic (No Glow) */
.efb-fx-card {
  width: 100%;
  height: 58px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.efb-fx-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.efb-fx-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.52rem;
  color: #64748b;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}
.efb-fx-card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75%;
}
.efb-fx-card-hint {
  font-size: 0.48rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.efb-fx-card-hint.is-finished {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.efb-fx-card-hint.is-pending {
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.efb-fx-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  transition: all 0.12s ease;
  height: 20px;
  box-sizing: border-box;
}
.efb-fx-team-row.is-winner {
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-left: 2.5px solid #10b981 !important;
}
.efb-fx-team-row.is-me {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
}

.efb-fx-team-left {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.efb-fx-avatar {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.efb-fx-avatar.ring-gold { border-color: #f59e0b; }
.efb-fx-avatar.ring-cyan { border-color: #38bdf8; }
.efb-fx-avatar.ring-blue { border-color: #0284c7; }
.efb-fx-team-row.is-winner .efb-fx-avatar {
  border-color: #10b981;
}

.efb-fx-name {
  font-size: 0.62rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 104px;
}
.efb-fx-team-row.is-winner .efb-fx-name {
  color: #ffffff;
  font-weight: 700;
}
.efb-fx-score {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  padding-left: 4px;
  flex-shrink: 0;
  min-width: 14px;
  text-align: right;
}
.efb-fx-team-row.is-winner .efb-fx-score {
  color: #10b981;
  font-weight: 900;
}

/* Connector Columns with SVG */
.efb-fx-connector-col {
  width: 22px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.efb-fx-connector-unit {
  width: 22px;
  position: relative;
}
.efb-fx-connector-unit svg {
  display: block;
  overflow: visible;
}

/* Center Grand Final Column */
.efb-fx-center-col {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  box-sizing: border-box;
}

.efb-fx-trophy-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
  text-align: center;
}
.efb-fx-trophy-img,
.efb-center-trophy-img {
  width: 36px;
  height: 42px;
  object-fit: contain;
  filter: none !important;
  box-shadow: none !important;
  background: transparent !important;
  margin-bottom: 3px;
}
.efb-fx-emblem-text {
  font-size: 0.58rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.efb-fx-center-matches {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
}

.efb-fx-final-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.efb-fx-final-card {
  width: 100%;
  height: 66px;
  background: #141b29;
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  border-radius: 9px;
  padding: 4px 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.15s ease;
}
.efb-fx-final-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6) !important;
  transform: translateY(-1px);
}
.efb-fx-final-title {
  font-size: 0.60rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 6px;
  padding: 2px 10px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: inline-block;
  box-shadow: none !important;
}

.efb-fx-champion-badge {
  margin-top: 6px;
  background: #f59e0b;
  color: #020617;
  font-size: 0.64rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  border: none;
}

.efb-fx-third-place-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.efb-fx-third-card {
  width: 92%;
  height: 54px;
  background: #131722;
  border: 1px solid rgba(205, 127, 50, 0.45);
  border-radius: 7px;
  padding: 3px 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.efb-fx-third-title {
  color: #cd7f32;
  font-size: 0.50rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.efb-fx-bridge {
  width: 16px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.efb-fx-bridge svg {
  display: block;
}

/* Unassigned Moderator Banner */
.efb-host-organizer-banner.efb-mod-unassigned-banner {
  border: 1.5px dashed rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 16, 32, 0.98));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
}

.efb-mod-unassigned-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.efb-mod-unassigned-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 1.5px dashed rgba(56, 189, 248, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.efb-mod-unassigned-banner .efb-host-org-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.efb-host-label-tag.mod-tag.unassigned {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.35);
  color: #94a3b8;
}

.efb-mod-unassigned-text {
  font-size: 0.69rem;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.efb-assign-mod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 0.69rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.efb-assign-mod-btn:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.efb-assign-mod-btn:active {
  transform: scale(0.97);
}

@media (max-width: 380px) {
  .efb-host-organizer-banner.efb-mod-unassigned-banner {
    padding: 7px 10px;
    gap: 6px;
  }
  .efb-mod-unassigned-icon {
    width: 30px;
    height: 30px;
  }
  .efb-mod-unassigned-text {
    font-size: 0.68rem;
  }
  .efb-assign-mod-btn {
    padding: 5px 9px;
    font-size: 0.67rem;
    gap: 4px;
  }
}

/* ============================================
   ASSIGN MODERATOR & ROOM ID MODAL
   ============================================ */
.assign-mod-modal-overlay {
  z-index: 10000;
}

.assign-mod-card {
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 24px;
  width: 92%;
  max-width: 440px;
  padding: 22px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.2);
  box-sizing: border-box;
  animation: efbModalPopIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes efbModalPopIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.assign-mod-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.assign-mod-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.assign-mod-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.assign-mod-title {
  color: #f1f5f9;
  font-size: 1.12rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.2px;
}

.assign-mod-sub {
  color: #94a3b8;
  font-size: 0.74rem;
  margin: 3px 0 0 0;
}

.assign-mod-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.assign-mod-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.assign-mod-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.assign-mod-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.assign-mod-tag {
  font-size: 0.68rem;
  color: #38bdf8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.assign-mod-tag .status-verified {
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.assign-mod-tag .status-not-found {
  color: #f43f5e;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.assign-mod-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.assign-mod-input-inner {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.assign-mod-input-icon {
  position: absolute;
  left: 12px;
  color: #64748b;
  pointer-events: none;
}

.assign-mod-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 34px 10px 34px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.2s ease;
}

.assign-mod-input:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.assign-mod-clear-btn {
  position: absolute;
  right: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.assign-mod-clear-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.assign-mod-gen-btn {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.assign-mod-gen-btn:hover {
  background: #38bdf8;
  color: #030712;
}

.assign-mod-paste-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(14, 165, 233, 0.28));
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 12px;
  padding: 10px 14px;
  color: #38bdf8;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
  flex-shrink: 0;
}

.assign-mod-paste-btn:hover {
  background: #38bdf8;
  color: #030712;
  transform: translateY(-1px);
}

.assign-mod-verified-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 10px 14px;
  margin-top: 8px;
  box-sizing: border-box;
  animation: efbFadeSlideDown 0.2s ease;
}

.assign-mod-verified-card.is-verified {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.assign-mod-verified-card.is-not-found {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(244, 63, 94, 0.45);
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.1);
}

.assign-mod-user-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.assign-mod-verified-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #10b981;
}

.assign-mod-verified-check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assign-mod-notfound-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.assign-mod-verified-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.assign-mod-verified-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.assign-mod-verified-meta {
  font-size: 0.70rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  gap: 5px;
  align-items: center;
}

.assign-mod-verified-meta .meta-dot {
  color: #64748b;
  font-size: 0.8rem;
}

.assign-mod-verified-sub {
  font-size: 0.68rem;
  color: #10b981;
  font-weight: 700;
  margin-top: 1px;
}

.assign-mod-notfound-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f43f5e;
  margin-bottom: 2px;
}

.assign-mod-notfound-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
}

.assign-mod-notfound-desc strong {
  color: #cbd5e1;
}

.assign-mod-verified-tag {
  font-size: 0.62rem;
  font-weight: 900;
  color: #10b981;
  background: rgba(16, 185, 129, 0.18);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}

.assign-mod-btn-save.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.8);
}

/* Quick Pick from Room Players */
.assign-mod-quick-players {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 110px;
  overflow-y: auto;
  padding: 4px 2px;
}

.assign-player-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px 10px;
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.assign-player-pill:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-1px);
}

.assign-player-pill img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.assign-mod-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.assign-mod-btn-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.assign-mod-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.assign-mod-btn-save {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  font-family: inherit;
}

.assign-mod-btn-save:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* Host Delete Room Match Button (Between WhatsApp & View Grid) - Exact Matched Size */
.efb-btn-host-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 82px;
  min-width: 82px;
  max-width: 82px;
  height: 29px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.38);
  color: #f87171;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  flex-shrink: 0;
}

.efb-btn-host-delete svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: block;
}

.efb-btn-host-delete:hover {
  background: rgba(239, 68, 68, 0.26);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.35);
}

.efb-btn-host-delete:active {
  transform: scale(0.97);
}

/* View Grid Action Buttons inside Cards - Exact Matched Size with Delete Button */
.efb-btn-card-grid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 82px;
  min-width: 82px;
  max-width: 82px;
  height: 29px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  flex-shrink: 0;
}

.efb-btn-card-grid .efb-grid-btn-icon {
  color: #38bdf8;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.efb-btn-card-grid .efb-grid-btn-text {
  line-height: 1;
}

.efb-btn-card-grid .efb-grid-btn-arrow {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease;
}

.efb-btn-card-grid:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.efb-btn-card-grid:hover .efb-grid-btn-icon {
  color: #7dd3fc;
}

.efb-btn-card-grid:hover .efb-grid-btn-arrow {
  color: #38bdf8;
  transform: translateX(1px);
}

.efb-btn-card-grid:active {
  transform: scale(0.97);
}

.efb-btn-card-grid.efb-btn-finals-grid {
  border-color: rgba(234, 179, 8, 0.35);
  color: #fef08a;
}

.efb-btn-card-grid.efb-btn-finals-grid .efb-grid-btn-icon {
  color: #eab308;
}

.efb-btn-card-grid.efb-btn-finals-grid:hover {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.65);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.efb-btn-card-grid.efb-btn-finals-grid:hover .efb-grid-btn-icon {
  color: #ffd700;
}

.efb-btn-card-grid.efb-btn-finals-grid:hover .efb-grid-btn-arrow {
  color: #ffd700;
}

/* Championship Finals Lobby Card */
.efb-finals-lobby-card {
  border-color: rgba(234, 179, 8, 0.35) !important;
  background: linear-gradient(180deg, #131a2c 0%, #0e1422 100%) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
}

.efb-finals-badge-trophy {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(234, 179, 8, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.35);
}

.efb-finals-lobby-title {
  color: #ffd700 !important;
}

.efb-finals-info-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 0 2px 0;
}

.efb-finals-stage-badge {
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(234, 179, 8, 0.5);
  color: #ffd700;
  font-size: 0.58rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.efb-finals-stage-desc {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Finals Slot Items */
.efb-finals-slot-item {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.efb-finals-slot-item:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.efb-finals-slot-item.is-winner-decided {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.efb-finals-slot-sub {
  font-size: 0.60rem;
  color: #38bdf8;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block;
}

.efb-finals-slot-pill {
  font-size: 0.60rem;
  font-weight: 900;
  color: #0b111e;
  background: #ffd700;
  padding: 1px 6px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  margin-left: auto;
  flex-shrink: 0;
}

.efb-room-tab-btn.tab-finals-nav {
  color: #ffd700 !important;
  border-color: rgba(234, 179, 8, 0.4) !important;
  background: rgba(234, 179, 8, 0.08) !important;
}

.efb-room-tab-btn.tab-finals-nav:hover {
  background: rgba(234, 179, 8, 0.22) !important;
  border-color: #ffd700 !important;
}

.efb-room-tab-btn.tab-finals-nav.active {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(245, 158, 11, 0.15)) !important;
  border-color: #ffd700 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

/* Localhost Dev Quick Action Row under Matchmaking / Timer Banner */
.efb-dev-timer-action-row {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  max-width: 480px;
}

.efb-dev-timer-action-row.active-dev {
  display: flex !important;
}

.efb-dev-quick-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 24, 38, 0.88);
  color: #94a3b8;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  text-decoration: none;
}

.efb-dev-quick-pill:hover {
  transform: translateY(-1px);
}

.efb-dev-quick-pill:active {
  transform: scale(0.97);
}

.efb-dev-quick-pill.btn-start-match {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22) 0%, rgba(16, 185, 129, 0.12) 100%);
  border-color: rgba(34, 197, 94, 0.5);
  color: #4ade80;
}

.efb-dev-quick-pill.btn-start-match:hover {
  background: rgba(34, 197, 94, 0.32);
  color: #86efac;
  border-color: #22c55e;
}

.efb-dev-quick-pill.btn-end-time {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.12) 100%);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

.efb-dev-quick-pill.btn-end-time:hover {
  background: rgba(245, 158, 11, 0.32);
  color: #fde68a;
  border-color: #f59e0b;
}





/* ==========================================================================
   SPOTIFY-STYLE LIVE MATCH PLAYER & HOST ACTIVE FIXTURE CONTROLLER
   ========================================================================== */

@keyframes efbSpSlideUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 30px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes efbPulseGlow {
  0% {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  }
  100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.8), 0 0 2px #22c55e;
  }
}

@keyframes efbWaveShimmer {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 40; }
}

/* Floating Spotify Player Bar - Hidden inside app per user request; shown in phone Status Bar */
.efb-spotify-player-bar {
  display: none !important;
  position: fixed;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 440px;
  background: rgba(16, 17, 24, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: 13px 16px 12px 16px;
  z-index: 9999;
  box-sizing: border-box;
  animation: efbSpSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.25s ease;
}

.efb-sp-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Top Header Row */
.efb-sp-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.efb-sp-device-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.efb-sp-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: efbPulseGlow 1.4s infinite alternate;
}

.efb-sp-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.efb-sp-open-game-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 14px;
  padding: 3px 9px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.efb-sp-open-game-btn:hover {
  background: rgba(56, 189, 248, 0.28);
  color: #7dd3fc;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.efb-sp-open-game-btn:active {
  transform: scale(0.96);
}

.efb-sp-minimize-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.efb-sp-minimize-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Track Row */
.efb-sp-track-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.efb-sp-logo-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.82rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  letter-spacing: -0.5px;
}

.efb-sp-logo-text {
  color: #fbbf24;
}

.efb-sp-track-details {
  min-width: 0;
  flex: 1;
}

.efb-sp-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.efb-sp-subtitle {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.efb-sp-sep {
  opacity: 0.5;
}

.efb-sp-score-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 6px;
  padding: 1px 6px;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.4px;
}

/* Waveform Seeker (Matching Spotify's wave slider in user screenshots) */
.efb-sp-wave-container {
  position: relative;
  height: 24px;
  width: 100%;
  margin: 3px 0 2px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.efb-sp-wave-track {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
}

.efb-sp-wave-fill-bar {
  display: none;
}

.efb-sp-wave-svg {
  width: 100%;
  height: 20px;
  overflow: visible;
}

.efb-sp-wave-bg-path {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 3.2;
}

.efb-sp-wave-active-path {
  stroke: #f59e0b;
  stroke-width: 3.6;
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.65));
}

.efb-sp-wave-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.9);
  pointer-events: none;
  transition: transform 0.1s ease;
}

.efb-sp-wave-container:hover .efb-sp-wave-thumb {
  transform: translate(-50%, -50%) scale(1.15);
}

.efb-sp-thumb-core {
  width: 3px;
  height: 3px;
  background: #f59e0b;
  border-radius: 50%;
  margin: auto;
}

/* Timestamps Row */
.efb-sp-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace;
  padding: 0 2px;
  margin-bottom: 7px;
}

.efb-sp-status-tag {
  color: #22c55e;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.6px;
  font-family: inherit;
}

/* Bottom Controls Row (5 buttons matching Spotify) */
.efb-sp-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.efb-sp-ctrl-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  border-radius: 50%;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 6px;
}

.efb-sp-ctrl-btn:hover {
  color: #ffffff;
  transform: scale(1.12);
}

.efb-sp-ctrl-btn:active {
  transform: scale(0.92);
}

.efb-sp-ctrl-btn.btn-action-small {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.efb-sp-ctrl-btn.btn-action-small:hover {
  background: rgba(255, 255, 255, 0.14);
}

.efb-sp-ctrl-btn.btn-skip {
  width: 38px;
  height: 38px;
}

.efb-sp-ctrl-btn.btn-play-pause {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #090d16;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
}

.efb-sp-ctrl-btn.btn-play-pause:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.5);
  background: #f8fafc;
}

.efb-sp-ctrl-btn.btn-play-pause:active {
  transform: scale(0.94);
}

/* Minimized Floating Live Match Pill - Hidden inside app per user request; shown in phone Status Bar */
.efb-sp-toggle-pill {
  display: none !important;
  position: fixed;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  background: rgba(18, 20, 28, 0.94);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 28px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  animation: efbSpSlideUp 0.3s ease;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.efb-sp-toggle-pill:hover {
  background: rgba(28, 30, 42, 0.98);
  border-color: #f59e0b;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.75), 0 0 12px rgba(245, 158, 11, 0.3);
}

.efb-sp-toggle-pill:active {
  transform: translateX(-50%) scale(0.97);
}


/* ==========================================================================
   HOST SEEDING BUTTON & EMPTY KNOCKOUT BRACKET SLOTS
   ========================================================================== */
.efb-btn-seed-lobby {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.14) 100%);
  border: 1px solid rgba(56, 189, 248, 0.55);
  color: #38bdf8;
  border-radius: 9px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
}
.efb-btn-seed-lobby:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35) 0%, rgba(14, 165, 233, 0.25) 100%);
  border-color: #38bdf8;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Empty Bracket Slot Pill */
.efb-player-pill-abs.efb-slot-empty {
  background: linear-gradient(135deg, rgba(23, 32, 48, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1.5px dashed rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(56, 189, 248, 0.06);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
}
.efb-player-pill-abs.efb-slot-empty:hover {
  background: linear-gradient(135deg, rgba(30, 48, 78, 0.95) 0%, rgba(20, 34, 60, 0.98) 100%);
  border: 1.5px dashed #38bdf8 !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45) !important;
  transform: translateY(-2px) scale(1.02);
}
.efb-empty-slot-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1.5px dashed #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.efb-player-pill-abs.efb-slot-empty:hover .efb-empty-slot-icon {
  background: #38bdf8;
  color: #0b0f19;
  border-style: solid;
  transform: rotate(90deg);
}
.efb-pill-name.efb-empty-name {
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.efb-player-pill-abs.efb-slot-empty:hover .efb-empty-name {
  color: #e0f2fe;
}
.efb-empty-slot-badge {
  font-size: 0.58rem;
  font-weight: 800;
  color: #64748b;
  background: rgba(0, 0, 0, 0.45);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.efb-player-pill-abs.efb-slot-empty:hover .efb-empty-slot-badge {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

.efb-slot-edit-indicator {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  margin-left: auto;
  padding: 0 3px;
  transition: color 0.2s;
}
.efb-player-pill-abs:hover .efb-slot-edit-indicator {
  color: #38bdf8;
}

/* ==========================================================================
   LUXURY ESPORTS DOCK: HOST ACTIVE FIXTURE SELECTOR (IMAGE 4 REDESIGN)
   ========================================================================== */
.efb-active-fixture-bar {
  position: relative;
  background: linear-gradient(145deg, rgba(13, 20, 36, 0.94) 0%, rgba(18, 30, 56, 0.96) 100%);
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 20px;
  padding: 14px 16px;
  margin: 14px auto 18px auto;
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.efb-fixture-dock-beam {
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
  opacity: 0.9;
  pointer-events: none;
}

.efb-fixture-bar-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
  padding: 0 2px !important;
}

.efb-fixture-bar-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.efb-fixture-status-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}

.efb-fixture-title-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

.efb-fixture-bar-title {
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.efb-fixture-bar-badge {
  display: inline-block !important;
  width: fit-content !important;
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 4px !important;
  padding: 1px 6px !important;
  font-size: 0.58rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

/* ZERO GLOW SOLID MATTE UPDATE SCORE BUTTON */
.efb-fixture-update-quick {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.38) !important;
  color: #fbbf24 !important;
  border-radius: 8px !important;
  padding: 4px 9px !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  outline: none !important;
  transition: all 0.15s ease !important;
}

.efb-fixture-update-quick:hover {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: rgba(245, 158, 11, 0.55) !important;
  color: #fde68a !important;
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}

.efb-fixture-update-quick:active {
  transform: scale(0.97) !important;
  box-shadow: none !important;
}

.efb-fixture-chips-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.efb-fixture-chips-row::-webkit-scrollbar {
  display: none;
}

/* Fixture Card */
.efb-fixture-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  min-width: 220px;
  max-width: 250px;
  background: rgba(22, 33, 56, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  position: relative;
}

.efb-fixture-card:hover {
  background: rgba(30, 45, 76, 0.95);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}

.efb-fixture-card:active {
  transform: scale(0.98);
}

.efb-fixture-card.is-active-live {
  background: linear-gradient(135deg, rgba(16, 36, 72, 0.96) 0%, rgba(14, 46, 76, 0.96) 100%);
  border: 1.8px solid #00e5ff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35), inset 0 0 12px rgba(0, 229, 255, 0.12);
}

.efb-fixture-card.is-completed {
  opacity: 0.85;
  border-color: rgba(148, 163, 184, 0.25);
}

.efb-fcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.efb-fcard-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.efb-fixture-card.is-active-live .efb-fcard-label {
  color: #00e5ff;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.efb-fcard-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 900;
  background: #22c55e;
  color: #042f1a;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.efb-fcard-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #042f1a;
  animation: efbPulseGlow 1.2s infinite alternate;
}

.efb-fcard-badge-score {
  font-size: 0.68rem;
  font-weight: 900;
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.efb-fcard-badge-pending {
  font-size: 0.60rem;
  font-weight: 800;
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

/* Versus Row */
.efb-fcard-versus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 2px 0;
}

.efb-fcard-player {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.efb-fcard-player.is-right {
  justify-content: flex-end;
}

.efb-fcard-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: #0f172a;
  flex-shrink: 0;
}

.efb-fcard-player.is-empty .efb-fcard-avatar {
  border: 1.5px dashed #38bdf8;
  opacity: 0.6;
}

.efb-fcard-pname {
  font-size: 0.74rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 72px;
}

.efb-fcard-player.is-empty .efb-fcard-pname {
  color: #64748b;
  font-style: italic;
}

.efb-fcard-vs-pill {
  font-size: 0.60rem;
  font-weight: 900;
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 6px;
  padding: 2px 5px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.efb-fcard-bottom {
  font-size: 0.64rem;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 6px;
}

.efb-fcard-sub-active {
  color: #4ade80;
  font-weight: 700;
}

.efb-fcard-sub-idle {
  color: #64748b;
}

/* ==========================================================================
   HOST BRACKET SEEDING / SLOT PICKER MODAL
   ========================================================================== */
.efb-slot-picker-card {
  max-width: 440px !important;
  width: 100% !important;
  background: #0d1527 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.8) !important;
  border-radius: 20px !important;
  padding: 18px 18px 16px 18px !important;
  color: #f8fafc;
}

.efb-sheet-pull-bar {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 14px auto;
  cursor: pointer;
}

.efb-pro-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.efb-pro-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}

.efb-pro-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.25;
}

.efb-pro-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.35;
}

.efb-pro-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  box-shadow: none !important;
}

.efb-pro-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Quick Action Toolbar: Clean Segmented Standard UI */
.efb-slot-picker-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.28);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.efb-picker-quick-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none !important;
  text-shadow: none !important;
}

.efb-picker-quick-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: none !important;
  box-shadow: none !important;
}

.efb-picker-quick-btn.btn-clear-all {
  color: #cbd5e1;
}

.efb-picker-quick-btn.btn-clear-all:hover {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.efb-slot-picker-body {
  margin-bottom: 12px;
}

.efb-picker-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.efb-picker-count-badge {
  font-size: 0.66rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 9999px;
}

.efb-lobby-players-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 290px;
  overflow-y: auto;
  padding-right: 2px;
}

.efb-lobby-player-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 9px 12px;
  transition: all 0.15s ease;
  box-shadow: none !important;
}

.efb-lobby-player-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.efb-lobby-player-row.is-in-current-slot {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
}

.efb-lobby-player-row.is-in-other-slot {
  opacity: 0.82;
}

/* Minimalist #1, #2 slot badge */
.efb-lp-slot-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 24px;
  text-align: center;
}

.efb-lp-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.efb-lp-avatar.ring-gold { border-color: #f59e0b; }
.efb-lp-avatar.ring-cyan { border-color: #38bdf8; }
.efb-lp-avatar.ring-blue { border-color: #3b82f6; }

.efb-lp-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.efb-lp-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.efb-lp-me-tag {
  font-size: 0.58rem;
  font-weight: 700;
  background: #2563eb;
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
}

.efb-lp-meta {
  font-size: 0.68rem;
  margin-top: 2px;
}

.efb-lp-status-tag.available {
  color: #94a3b8;
  font-weight: 500;
}

.efb-lp-status-tag.current {
  color: #38bdf8;
  font-weight: 600;
}

.efb-lp-status-tag.assigned {
  color: #fbbf24;
  font-weight: 500;
}

.efb-lp-actions {
  flex-shrink: 0;
}

.efb-lp-btn-action {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  outline: none;
}

/* SOLID EXECUTIVE BLUE FOR SELECT - NO GLOW */
.efb-lp-btn-action.is-pick {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

.efb-lp-btn-action.is-pick:hover {
  background: #1d4ed8 !important;
  border-color: #2563eb !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

/* NEUTRAL AMBER FOR SWAP - NO GLOW */
.efb-lp-btn-action.is-swap {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #fbbf24 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.efb-lp-btn-action.is-swap:hover {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

/* NEUTRAL RED FOR CLEAR - NO GLOW */
.efb-lp-btn-action.is-current {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.efb-lp-btn-action.is-current:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Modal Footer */
.efb-slot-picker-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  margin-top: 12px;
}

.efb-btn-clear-slot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none !important;
}

.efb-btn-clear-slot:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
  box-shadow: none !important;
}

.efb-btn-done-picking {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none !important;
}

.efb-btn-done-picking:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: none !important;
}

/* Bracket Tree Live Match Highlight Ring */
.efb-player-pill-abs.is-active-live-match,
.efb-match-badge-box.is-active-live-match {
  border: 1.5px solid #22c55e !important;
  box-shadow: none !important;
  animation: none !important;
}

/* START MATCH (Open eFootball) Button Mode */
.efb-btn-matchmaking.start-efootball-mode {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}

.efb-btn-matchmaking.start-efootball-mode:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.65) !important;
}

/* ==========================================================================
   TOP STATUS BAR LIVE MATCH SCORE & TIMER BANNER (NO AUDIO / NO VIDEO)
   ========================================================================== */
.efb-live-score-banner {
  display: none !important;
  width: 100%;
  max-width: 560px;
  margin: 6px auto 10px auto;
  padding: 0 8px;
  box-sizing: border-box;
}

.efb-lsb-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 22, 0.98));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 8px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.efb-lsb-player {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.efb-lsb-left {
  justify-content: flex-start;
}

.efb-lsb-right {
  justify-content: flex-end;
}

.efb-lsb-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 85px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.efb-lsb-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 8px;
  background: #0f172a;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.efb-lsb-score-p1 {
  border: 1.5px solid #f59e0b;
  color: #ffd700;
}

.efb-lsb-score-p2 {
  border: 1.5px solid #38bdf8;
  color: #38bdf8;
}

.efb-lsb-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.efb-lsb-status-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.efb-lsb-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: efbPulseGlow 1.2s infinite alternate;
}

.efb-lsb-live-text {
  font-size: 0.7rem;
  font-weight: 900;
  color: #ef4444;
  letter-spacing: 0.5px;
}

.efb-lsb-sep {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
}

.efb-lsb-timer {
  font-size: 0.84rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: monospace;
  letter-spacing: 0.5px;
}

.efb-lsb-room {
  font-size: 0.62rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.2px;
}

.efb-lsb-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}

.efb-lsb-app-btn:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-1px);
}



/* ==========================================================================
   CLEAN MATTE ESPORTS STYLES (NO NEON GLOWS)
   ========================================================================== */
.efb-player-pill-abs.efb-slot-empty {
  background: #141c2c !important;
  border: 1px dashed rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
}
.efb-player-pill-abs.efb-slot-empty:hover {
  background: #1e293b !important;
  border-color: #38bdf8 !important;
  box-shadow: none !important;
  transform: none !important;
}
.efb-empty-slot-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
  transition: none !important;
}
.efb-player-pill-abs.efb-slot-empty:hover .efb-empty-slot-icon {
  background: #38bdf8;
  color: #0b0f19;
  border-color: #38bdf8;
  transform: none !important;
}
.efb-pill-name.efb-empty-name {
  color: #94a3b8;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.efb-empty-slot-badge {
  font-size: 0.58rem;
  font-weight: 800;
  color: #64748b;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* Active Match Controller Dock: Solid Matte Executive Esports UI */
.efb-active-fixture-bar {
  position: relative !important;
  background: #0b1120 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin: 14px auto 16px auto !important;
  width: 100% !important;
  max-width: 560px !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6) !important;
  overflow: hidden;
}
.efb-fixture-dock-beam {
  display: none !important;
}
.efb-live-radar-ping {
  display: none !important;
}
.efb-live-pulse-dot {
  box-shadow: none !important;
}
.efb-fixture-card {
  box-shadow: none !important;
}
.efb-fixture-card:hover {
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}
.efb-fixture-card.is-active-live {
  background: #142038 !important;
  border: 1.5px solid #38bdf8 !important;
  box-shadow: none !important;
}
.efb-fixture-card.is-active-live .efb-fcard-label {
  color: #38bdf8 !important;
  text-shadow: none !important;
}
.efb-fcard-badge-live {
  box-shadow: none !important;
}
.efb-fcard-live-dot {
  animation: none !important;
}

/* Room Status Cards in Dock */
.efb-room-status-card {
  min-width: 220px !important;
  max-width: 240px !important;
  background: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
}
.efb-room-status-card:hover {
  background: #162032 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}
.efb-room-status-card.is-active-live {
  background: #13223f !important;
  border: 1.5px solid #38bdf8 !important;
  box-shadow: none !important;
}
.efb-room-status-card .efb-fcard-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}
.efb-room-status-card .efb-fcard-label {
  font-size: 0.70rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
}
.efb-room-status-card .efb-fcard-badge-pending {
  font-size: 0.60rem !important;
  font-weight: 800 !important;
  background: rgba(148, 163, 184, 0.12) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
}
.efb-room-status-card .efb-fcard-badge-live {
  font-size: 0.60rem !important;
  font-weight: 800 !important;
  background: rgba(34, 197, 94, 0.16) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  box-shadow: none !important;
}
.efb-room-status-card .efb-fcard-badge-score {
  font-size: 0.60rem !important;
  font-weight: 800 !important;
  background: rgba(245, 158, 11, 0.16) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
}

/* Modal Explicit Visibility Override */
#hostSlotPickerModal {
  z-index: 100005 !important;
}
#hostSlotPickerModal.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}


/* Explicit removal of Seed from Lobby and Quarter Jump Group */
.efb-btn-seed-lobby {
  display: none !important;
}
.efb-quarter-jump-group {
  display: none !important;
}
.efb-bracket-zoom-bar {
  justify-content: flex-start !important;
}

/* ==========================================================================
   USER FIX: ZERO GLOW ACTIVE MATCH CONTROLLER & UPGRADED BOTTOM BAR UI/UX
   ========================================================================== */
.efb-live-pulse-dot {
  background: #22c55e !important;
  box-shadow: none !important;
  animation: none !important;
}

.efb-live-radar-ping {
  display: none !important;
  animation: none !important;
}

.efb-fixture-update-quick {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.38) !important;
  border-radius: 8px !important;
  padding: 4px 9px !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

.efb-fixture-update-quick:hover {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: rgba(245, 158, 11, 0.55) !important;
  color: #fde68a !important;
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}

.efb-btn-toggle-display {
  background: #141c2c !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #f8fafc !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.efb-btn-toggle-display svg {
  color: #38bdf8 !important;
}

.efb-btn-toggle-display:hover {
  background: #1e293b !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* ==========================================================================
   MULTI-ROOM MATCH STATUS CONTROLLER STYLES (FOR > 1 ROOM: 16, 32, 64 PL)
   ========================================================================== */
.efb-room-status-card {
  min-width: 220px !important;
  max-width: 240px !important;
  cursor: pointer;
  background: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.efb-room-status-card:hover {
  background: #162032 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}

.efb-room-status-card.is-active-live {
  border-color: #38bdf8 !important;
  background: #13223f !important;
  box-shadow: none !important;
}

.efb-room-status-mid {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 6px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  margin: 2px 0 !important;
  text-align: left;
}

.efb-room-state-indicator {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
}

.efb-room-state-indicator.started {
  color: #4ade80 !important;
}

.efb-room-state-indicator.not-started {
  color: #94a3b8 !important;
}

.efb-room-state-indicator.completed {
  color: #ffd700 !important;
}

.efb-room-state-sub {
  font-size: 0.63rem !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
}

/* Quick Timer Adjust Buttons */
.efb-timer-quick-btn {
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 8px 4px;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.efb-timer-quick-btn:hover {
  background: #1e2638;
  border-color: rgba(255, 255, 255, 0.3);
  color: #38bdf8;
  transform: translateY(-1px);
}

.efb-timer-quick-btn:active {
  transform: scale(0.96);
}


    /* Multi-Room Slide Navigation Arrows - REMOVED PER USER REQUEST */
    .efb-bracket-slide-arrow {
      display: none !important;
      pointer-events: none !important;
      visibility: hidden !important;
    }

    .efb-slide-arrow-left,
    .efb-slide-arrow-right {
      display: none !important;
    }

    /* Upgraded Room Match Status Dock UI/UX: Pro Esports Executive Cards (ZERO GLOW & MINIMAL BOX) */
    .efb-active-fixture-bar {
      position: relative !important;
      background: #0b1120 !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 16px !important;
      padding: 10px 12px !important;
      margin: 12px auto 14px auto !important;
      width: 100% !important;
      max-width: 560px !important;
      box-sizing: border-box !important;
      box-shadow: none !important;
      filter: none !important;
      overflow: hidden !important;
    }

    .efb-fixture-dock-beam {
      display: none !important;
    }

    .efb-fixture-bar-header {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 8px !important;
      margin-bottom: 9px !important;
      padding: 0 2px !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    .efb-fixture-bar-header-left {
      display: flex !important;
      align-items: center !important;
      gap: 7px !important;
      min-width: 0 !important;
      flex: 1 1 auto !important;
      overflow: hidden !important;
    }

    .efb-fixture-status-dot {
      width: 7px !important;
      height: 7px !important;
      border-radius: 50% !important;
      background: #22c55e !important;
      flex-shrink: 0 !important;
      box-shadow: none !important;
      animation: none !important;
    }

    .efb-fixture-title-col {
      display: flex !important;
      flex-direction: column !important;
      gap: 1px !important;
      min-width: 0 !important;
      overflow: hidden !important;
    }

    .efb-fixture-bar-title {
      font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif !important;
      font-size: 0.78rem !important;
      font-weight: 900 !important;
      letter-spacing: 0.5px !important;
      color: #ffffff !important;
      text-transform: uppercase !important;
      line-height: 1.1 !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      text-shadow: none !important;
    }

    .efb-fixture-bar-badge {
      display: inline-block !important;
      width: fit-content !important;
      background: rgba(56, 189, 248, 0.12) !important;
      color: #38bdf8 !important;
      border: 1px solid rgba(56, 189, 248, 0.28) !important;
      border-radius: 4px !important;
      padding: 1px 5px !important;
      font-size: 0.54rem !important;
      font-weight: 800 !important;
      letter-spacing: 0.3px !important;
      text-transform: uppercase !important;
      white-space: nowrap !important;
      line-height: 1.2 !important;
      box-shadow: none !important;
    }

    /* HOST REFEREE SCORE BUTTON: COMPACT, SOLID EXECUTIVE DARK GOLD */
    .efb-fixture-update-quick {
      display: inline-flex !important;
      align-items: center !important;
      gap: 5px !important;
      background: rgba(245, 158, 11, 0.12) !important;
      border: 1px solid rgba(245, 158, 11, 0.38) !important;
      color: #fbbf24 !important;
      border-radius: 8px !important;
      padding: 4px 9px !important;
      font-size: 0.65rem !important;
      font-weight: 800 !important;
      letter-spacing: 0.4px !important;
      text-transform: uppercase !important;
      cursor: pointer !important;
      white-space: nowrap !important;
      flex-shrink: 0 !important;
      box-shadow: none !important;
      text-shadow: none !important;
      filter: none !important;
      outline: none !important;
      transition: all 0.15s ease !important;
    }

    .efb-fixture-update-quick:hover {
      background: rgba(245, 158, 11, 0.22) !important;
      border-color: rgba(245, 158, 11, 0.55) !important;
      color: #fde68a !important;
      box-shadow: none !important;
      transform: none !important;
    }

    .efb-fixture-update-quick:active {
      transform: scale(0.97) !important;
    }

    .efb-fixture-chips-row {
      display: flex !important;
      gap: 10px !important;
      overflow-x: auto !important;
      padding: 2px 2px 6px 2px !important;
      scroll-snap-type: x mandatory !important;
      scrollbar-width: none !important;
      -webkit-overflow-scrolling: touch !important;
    }

    .efb-fixture-chips-row::-webkit-scrollbar {
      display: none !important;
    }

    /* Pro Esports Room Status Card: SOLID MATTE, ZERO GLOW */
    .efb-room-status-card {
      min-width: 230px !important;
      max-width: 250px !important;
      background: #0f172a !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 13px !important;
      padding: 9px 11px !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 5px !important;
      box-shadow: none !important;
      filter: none !important;
      transition: border-color 0.15s ease, background 0.15s ease !important;
      cursor: pointer !important;
      flex-shrink: 0 !important;
      scroll-snap-align: start !important;
      text-align: left !important;
      box-sizing: border-box !important;
    }

    .efb-room-status-card:hover {
      background: #142036 !important;
      border-color: rgba(56, 189, 248, 0.3) !important;
      box-shadow: none !important;
      transform: none !important;
    }

    /* Active Card: Clean crisp solid border, STRICTLY ZERO GLOW */
    .efb-room-status-card.is-active-live {
      background: #101c36 !important;
      border: 1.5px solid #38bdf8 !important;
      box-shadow: none !important;
      text-shadow: none !important;
      filter: none !important;
    }

    /* Top Row: Room badge, entered players occupancy, status pill */
    .efb-fcard-top-row {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 6px !important;
    }

    .efb-fcard-title-group {
      display: flex !important;
      align-items: center !important;
      gap: 6px !important;
      min-width: 0 !important;
    }

    .efb-fcard-room-badge {
      font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif !important;
      font-size: 0.72rem !important;
      font-weight: 900 !important;
      color: #38bdf8 !important;
      letter-spacing: 0.5px !important;
      text-transform: uppercase !important;
      white-space: nowrap !important;
      text-shadow: none !important;
    }

    .efb-fcard-room-badge.finals-badge {
      color: #ffd700 !important;
    }

    .efb-fcard-occupancy-pill {
      display: inline-flex !important;
      align-items: center !important;
      gap: 3px !important;
      background: rgba(255, 255, 255, 0.06) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      color: #cbd5e1 !important;
      border-radius: 4px !important;
      padding: 1px 5px !important;
      font-size: 0.55rem !important;
      font-weight: 700 !important;
      letter-spacing: 0.2px !important;
      white-space: nowrap !important;
      box-shadow: none !important;
    }

    .efb-fcard-occupancy-pill.is-full {
      background: rgba(34, 197, 94, 0.12) !important;
      border-color: rgba(34, 197, 94, 0.28) !important;
      color: #4ade80 !important;
    }

    .efb-fcard-status-pill {
      display: inline-flex !important;
      align-items: center !important;
      gap: 3px !important;
      font-size: 0.54rem !important;
      font-weight: 800 !important;
      padding: 1px 5px !important;
      border-radius: 4px !important;
      letter-spacing: 0.3px !important;
      text-transform: uppercase !important;
      white-space: nowrap !important;
      flex-shrink: 0 !important;
      box-shadow: none !important;
      text-shadow: none !important;
    }

    .efb-fcard-status-pill.is-pending {
      background: rgba(148, 163, 184, 0.1) !important;
      color: #94a3b8 !important;
      border: 1px solid rgba(148, 163, 184, 0.2) !important;
    }

    .efb-fcard-status-pill.is-live {
      background: rgba(34, 197, 94, 0.16) !important;
      color: #4ade80 !important;
      border: 1px solid rgba(34, 197, 94, 0.35) !important;
    }

    .efb-fcard-status-pill.is-completed {
      background: rgba(245, 158, 11, 0.16) !important;
      color: #fbbf24 !important;
      border: 1px solid rgba(245, 158, 11, 0.35) !important;
    }

    .efb-fcard-live-dot {
      width: 5px !important;
      height: 5px !important;
      border-radius: 50% !important;
      background: #22c55e !important;
      flex-shrink: 0 !important;
      box-shadow: none !important;
      animation: none !important;
    }

    /* MINIMAL Mid Box: Clean flat micro-row (ZERO clunky nested boxes, ZERO padding waste) */
    .efb-fcard-details-box {
      display: flex !important;
      flex-direction: column !important;
      gap: 3px !important;
      padding: 4px 6px !important;
      background: rgba(255, 255, 255, 0.03) !important;
      border: 1px solid rgba(255, 255, 255, 0.06) !important;
      border-radius: 7px !important;
      margin: 1px 0 !important;
      box-shadow: none !important;
    }

    .efb-fcard-detail-line {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 6px !important;
      font-size: 0.60rem !important;
      line-height: 1.2 !important;
    }

    .efb-fcard-detail-label {
      color: #64748b !important;
      font-weight: 700 !important;
      text-transform: uppercase !important;
      letter-spacing: 0.3px !important;
      font-size: 0.54rem !important;
      flex-shrink: 0 !important;
    }

    .efb-fcard-detail-val {
      color: #cbd5e1 !important;
      font-weight: 700 !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 3px !important;
      font-size: 0.59rem !important;
    }

    .efb-fcard-detail-val.is-started {
      color: #4ade80 !important;
      font-weight: 800 !important;
    }

    .efb-fcard-detail-val.is-waiting {
      color: #fbbf24 !important;
      font-weight: 700 !important;
    }

    .efb-fcard-detail-val.is-live {
      color: #38bdf8 !important;
      font-weight: 800 !important;
    }

    .efb-fcard-detail-val.is-completed {
      color: #fbbf24 !important;
      font-weight: 800 !important;
    }

    .efb-fcard-detail-val.is-full {
      color: #4ade80 !important;
    }

    .efb-fcard-detail-val.is-open {
      color: #94a3b8 !important;
    }

    .efb-fcard-detail-val svg {
      color: #38bdf8 !important;
      flex-shrink: 0 !important;
    }

    /* 4 QF mini chips track */
    .efb-fcard-match-track {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 4px !important;
      margin: 2px 0 1px 0 !important;
    }

    .efb-fcard-match-chip {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 1px !important;
      padding: 4px 2px !important;
      border-radius: 6px !important;
      font-size: 0.54rem !important;
      font-weight: 800 !important;
      cursor: pointer !important;
      transition: background 0.15s ease !important;
      text-align: center !important;
      line-height: 1.1 !important;
      box-shadow: none !important;
      text-shadow: none !important;
    }

    .efb-fcard-match-chip:hover {
      filter: brightness(1.2) !important;
    }

    .efb-fcard-match-chip.is-pending {
      background: rgba(255, 255, 255, 0.04) !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      color: #64748b !important;
    }

    .efb-fcard-match-chip.is-live {
      background: rgba(34, 197, 94, 0.16) !important;
      border: 1px solid rgba(34, 197, 94, 0.35) !important;
      color: #4ade80 !important;
    }

    .efb-fcard-match-chip.is-done {
      background: rgba(56, 189, 248, 0.14) !important;
      border: 1px solid rgba(56, 189, 248, 0.3) !important;
      color: #38bdf8 !important;
    }

    .efb-fchip-label {
      font-size: 0.50rem !important;
      opacity: 0.75 !important;
      text-transform: uppercase !important;
    }

    .efb-fchip-score {
      font-size: 0.58rem !important;
      font-weight: 900 !important;
      letter-spacing: 0.2px !important;
    }

    .efb-fchip-status {
      font-size: 0.50rem !important;
      margin-left: 1px !important;
    }

    /* Card Bottom Row: Action tag or switch */
    .efb-fcard-bottom-row {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      margin-top: 2px !important;
    }

    .efb-fcard-viewing-tag {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px !important;
      color: #38bdf8 !important;
      font-size: 0.57rem !important;
      font-weight: 800 !important;
      letter-spacing: 0.4px !important;
      text-transform: uppercase !important;
      text-shadow: none !important;
    }

    .efb-fcard-viewing-dot {
      width: 5px !important;
      height: 5px !important;
      border-radius: 50% !important;
      background: #38bdf8 !important;
      flex-shrink: 0 !important;
      box-shadow: none !important;
    }

    .efb-fcard-switch-btn {
      color: #94a3b8 !important;
      font-size: 0.57rem !important;
      font-weight: 700 !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 3px !important;
      transition: color 0.15s ease !important;
      text-shadow: none !important;
    }

    .efb-room-status-card:hover .efb-fcard-switch-btn {
      color: #38bdf8 !important;
    }

    /* Slide Transition Keyframes */
    @keyframes efbSlideInRight {
      from { opacity: 0.2; transform: translateX(35px) scale(0.98); }
      to { opacity: 1; transform: translateX(0) scale(1); }
    }

    @keyframes efbSlideInLeft {
      from { opacity: 0.2; transform: translateX(-35px) scale(0.98); }
      to { opacity: 1; transform: translateX(0) scale(1); }
    }

    .efb-slide-right-anim {
      animation: efbSlideInRight 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .efb-slide-left-anim {
      animation: efbSlideInLeft 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    /* Championship Stage Locked Overlay with Fade Gradient */
    .efb-finals-lock-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(180deg, rgba(8, 12, 24, 0.55) 0%, rgba(8, 12, 24, 0.94) 100%);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      z-index: 12;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 16px;
      pointer-events: none;
    }

    .efb-finals-lock-banner {
      background: rgba(18, 24, 38, 0.96);
      border: 1px solid rgba(245, 158, 11, 0.45);
      box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7);
      border-radius: 16px;
      padding: 16px 22px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      max-width: 360px;
      margin: 0 16px;
      pointer-events: auto;
    }

    .efb-finals-lock-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(245, 158, 11, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f59e0b;
      margin-bottom: 2px;
    }

    .efb-finals-lock-title {
      font-size: 0.84rem;
      font-weight: 900;
      letter-spacing: 0.6px;
      color: #f59e0b;
      text-transform: uppercase;
    }

    .efb-finals-lock-sub {
      font-size: 0.72rem;
      font-weight: 600;
      color: #94a3b8;
      line-height: 1.35;
    }

    .efb-finals-unlocked-banner {
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(14, 20, 36, 0.92);
      border: 1px solid rgba(34, 197, 94, 0.4);
      padding: 5px 14px;
      border-radius: 20px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.72rem;
      font-weight: 800;
      color: #4ade80;
      z-index: 10;
      white-space: nowrap;
    }

    .efb-unlocked-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #22c55e;
      animation: efb-live-pulse 1.4s infinite;
    }

    /* 2-Player Grand Finals (16 Players / 2 Rooms) Slots */
    .efb-finals-2p-slot {
      position: absolute;
      width: 175px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 10px;
      box-sizing: border-box;
      z-index: 5;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .efb-finals-2p-slot.is-locked {
      background: rgba(15, 23, 42, 0.85);
      border: 1px dashed rgba(245, 158, 11, 0.35);
      color: #94a3b8;
    }

    .efb-finals-2p-slot.is-unlocked {
      background: #141f36;
      border: 1px solid rgba(56, 189, 248, 0.45);
      color: #ffffff;
    }

    .efb-finals-2p-slot.is-unlocked:hover {
      background: #1a2a4a;
      border-color: #38bdf8;
      transform: translateY(-1px);
    }

    .efb-finals-2p-slot.is-winner {
      border-color: #ffd700 !important;
      background: #1e2840 !important;
    }

    .efb-finals-2p-info {
      display: flex;
      flex-direction: column;
      gap: 2px;
      overflow: hidden;
      text-align: left;
    }

    .efb-finals-2p-sub {
      font-size: 0.65rem;
      font-weight: 700;
      color: #64748b;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .efb-finals-2p-slot.is-unlocked .efb-finals-2p-sub {
      color: #38bdf8;
    }

    .efb-slot-lock-icon-wrap {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(245, 158, 11, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f59e0b;
      flex-shrink: 0;
    }

    .efb-slot-tag-lock {
      font-size: 0.58rem;
      font-weight: 800;
      background: rgba(245, 158, 11, 0.2);
      color: #f59e0b;
      padding: 2px 5px;
      border-radius: 4px;
      margin-left: auto;
      flex-shrink: 0;
    }

    .efb-slot-tag-unlocked {
      font-size: 0.58rem;
      font-weight: 800;
      background: rgba(34, 197, 94, 0.2);
      color: #22c55e;
      padding: 2px 5px;
      border-radius: 4px;
      margin-left: auto;
      flex-shrink: 0;
    }

    /* Finals Center Trophy & Match Badge */
    .efb-finals-trophy-wrap {
      position: absolute;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 4;
      pointer-events: none;
    }

    .efb-finals-trophy-img {
      width: 38px;
      height: 38px;
      object-fit: contain;
      filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
    }

    .efb-finals-center-match {
      position: absolute;
      width: 90px;
      height: 34px;
      border-radius: 10px;
      background: #141824;
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0.6px;
      z-index: 6;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .efb-finals-center-match.is-ready {
      border-color: #38bdf8;
      color: #38bdf8;
      background: #162238;
    }

    .efb-finals-center-match.is-complete {
      border-color: #ffd700;
      color: #ffd700;
      background: #1c1c14;
    }

    .efb-finals-center-match.is-locked {
      opacity: 0.6;
      cursor: default;
    }

/* Guarantee Transparent Settings/Info Icon Buttons & White Avatar Circle Borders */
.efb-circle-btn,
button.efb-circle-btn {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.efb-circle-btn:hover,
button.efb-circle-btn:hover {
  background: transparent !important;
  border: none !important;
}

.efb-slot-avatar-img,
.efb-slot-avatar-img.ring-gold,
.efb-slot-avatar-img.ring-cyan,
.efb-slot-avatar-img.ring-blue,
.efb-slot-avatar-img.ring-red,
.efb-slot-avatar-img.ring-gray,
.efb-slot-avatar-img.ring-white {
  border: 1.8px solid #ffffff !important;
  box-shadow: none !important;
}

/* ============================================================
   DIRECT INLINE ROOM ID & HEADER UI/UX (NO POPUP MODAL, NO GLOW)
   ============================================================ */
.efb-header-line-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  box-sizing: border-box;
  min-height: 34px;
}

.efb-tourney-id-container {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
  max-width: calc(100% - 66px);
  overflow: hidden;
}

.efb-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.efb-direct-id-box {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  transition: all 0.18s ease;
  user-select: none;
}

.efb-direct-id-box.is-editing {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 0 10px;
}

.efb-direct-id-box.is-posted {
  cursor: pointer;
}

.efb-direct-id-box.is-posted:hover {
  background: rgba(26, 38, 66, 0.9);
  border-color: rgba(56, 189, 248, 0.5);
}

.efb-direct-id-box.is-waiting {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.efb-direct-id-box.is-waiting:hover {
  background: rgba(255, 255, 255, 0.07);
}

.efb-direct-id-val-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.efb-direct-id-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  width: 125px;
  max-width: 135px;
  padding: 0;
  line-height: 1;
}

.efb-direct-id-input::placeholder {
  color: #64748b;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2px;
}

.efb-direct-id-btn {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
  background: transparent;
  color: #94a3b8;
  flex-shrink: 0;
}

.efb-direct-id-btn.btn-save {
  display: none !important;
}

.efb-direct-id-btn.btn-cancel {
  display: none !important;
}

.efb-direct-id-btn.btn-edit:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.efb-id-waiting-text {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Backward compatibility aliases */
.efb-tourney-id-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.28);
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
}

.efb-edit-id-pill {
  display: none !important;
}

/* Ensure no borders on host or room tags across all views */
.efb-host-label-tag,
.efb-host-label-tag.mod-tag,
.efb-host-label-tag.mod-tag.unassigned,
.efb-room-tag {
  border: none !important;
  box-shadow: none !important;
}

/* ============================================================
   ANTI-GLOW ESPORTS MODERNIZATION FOR KNOCKOUT BRACKET
   ============================================================ */
#efbKnockoutTreeStage,
#efbKnockoutTreeStage *,
.efb-bracket-svg-container,
.efb-bracket-svg-container *,
.efb-player-pill-abs,
.efb-player-pill-abs *,
.efb-badge-step-abs,
.efb-badge-step-abs *,
.efb-champion-ribbon,
.efb-champion-ribbon *,
.efb-champion-banner-abs,
.efb-finals-4p-pill,
.efb-finals-4p-pill *,
.efb-fx-card,
.efb-fx-card * {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  animation-name: none !important;
}

.efb-player-pill-abs {
  background: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 9px !important;
}

.efb-player-pill-abs.is-winner {
  background: #151f2e !important;
  border: 1.5px solid #f59e0b !important;
  box-shadow: none !important;
}

.efb-player-pill-abs.is-winner .efb-pill-name {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.efb-player-pill-abs.is-winner .efb-pill-score,
.efb-pill-score.is-winner-score {
  background: #f59e0b !important;
  color: #0b0f19 !important;
  border: none !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

.efb-player-pill-abs.is-loser {
  opacity: 0.42 !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.efb-player-pill-abs.is-me {
  border-color: #38bdf8 !important;
  box-shadow: none !important;
}

.efb-pill-avatar,
.efb-adv-avatar {
  border: 1.5px solid #ffffff !important;
  box-shadow: none !important;
}

.efb-badge-step-abs {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

.efb-badge-step-abs.is-winner-badge {
  background: #0f172a !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: none !important;
}

.efb-badge-step-abs.badge-final.is-winner-badge {
  border: 1.2px solid rgba(245, 158, 11, 0.65) !important;
  box-shadow: none !important;
}

.efb-champion-ribbon {
  background: #171c26 !important;
  border: 1.2px solid rgba(245, 158, 11, 0.6) !important;
  color: #fbbf24 !important;
  box-shadow: none !important;
}

/* ==========================================================================
   ELEVENHUB HERO SLIDER BANNER — 100% Parity with ElevenHub Home Page
   Uses same API banners, same canonical renderer, same auto-rotation
   No dots, no manual nav, fully admin-controlled
   ========================================================================== */

.ematch-hero-banner-section {
  width: 100%;
  padding: 4px 14px 6px 14px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.ematch-hero-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 165px;
  max-height: 195px;
  border-radius: 18px;
  background: #080a12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .ematch-hero-card {
    min-height: 220px;
    max-height: 260px;
    border-radius: 20px;
  }
}

.ematch-banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Uses same canonical-hero-slide from banner-system.css OR legacy fallback */
.ematch-banner-slides .canonical-hero-slide,
.ematch-banner-slides .hero-banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #06080e;
}

.ematch-banner-slides .canonical-hero-slide.active,
.ematch-banner-slides .hero-banner-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Fallback slide styling (for when ElevenBannerEngine is loading) */
.ematch-banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  background-color: #06080e;
}

.ematch-banner-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.ematch-banner-backlight {
  position: absolute;
  inset: -15px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.ematch-backlight-gold {
  background: radial-gradient(circle at 80% 45%, rgba(245, 158, 11, 0.28) 0%, rgba(180, 83, 9, 0.12) 40%, transparent 70%);
}

.ematch-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(8, 10, 18, 0.96) 0%,
    rgba(8, 10, 18, 0.86) 42%,
    rgba(8, 10, 18, 0.35) 75%,
    transparent 100%
  );
}

.ematch-banner-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.22;
}

.ematch-banner-content {
  position: relative;
  z-index: 3;
  width: 64%;
  max-width: 440px;
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.ematch-banner-title {
  font-family: var(--font-heading, 'Orbitron', -apple-system, sans-serif);
  font-size: clamp(0.90rem, 3.2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.ematch-banner-sub {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(0.63rem, 2.2vw, 0.76rem);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 8px 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.ematch-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading, 'Orbitron', -apple-system, sans-serif);
  font-size: clamp(0.62rem, 2.1vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.ematch-banner-cta .ematch-cta-arrow {
  color: #00e5ff;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.ematch-banner-coins-art {
  position: absolute;
  right: -6px;
  top: 0;
  bottom: 0;
  width: 52%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.ematch-coin-float {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.75));
}

.ematch-coin-1 {
  width: 90px; height: 90px; top: 6px; right: 16px; transform: rotate(-16deg);
}
.ematch-coin-2 {
  width: 68px; height: 68px; bottom: 12px; right: 64px; transform: rotate(24deg);
}
.ematch-coin-3 {
  width: 52px; height: 52px; top: 48px; right: 6px; transform: rotate(8deg);
}
.ematch-coin-stack {
  position: absolute; bottom: -12px; right: 14px; width: 125px; height: auto; opacity: 0.95;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.85));
}

.ematch-banner-media-art {
  position: absolute;
  right: 8px; top: 0; bottom: 0;
  width: 45%;
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

.ematch-player-cutout {
  max-height: 115%; width: auto; object-fit: contain;
  transform: translateY(6px);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75));
}

/* Hide dots entirely — banner is admin-controlled via API */
.ematch-banner-dots {
  display: none !important;
}


/* ==========================================================================
   MY WALLET & WITHDRAWAL MODAL STYLING (PURPLE CIRCLE IN USER REQUEST)
   ========================================================================== */
.footer-wallet-btn {
  flex: 1 1 0px !important;
  padding: 0 !important;
  min-width: 0 !important;
  text-decoration: none !important;
}

.footer-wallet-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px !important;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: none;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.footer-wallet-inner:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-wallet-inner:active {
  transform: scale(0.95);
}

.footer-wallet-inner svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #fbbf24; /* warm coin gold */
  flex-shrink: 0;
}

/* Modal Overlay (High Priority, 100% Viewport Coverage) */
.my-wallet-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  background: #000000 !important; /* Pure OLED Black Full Screen */
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden !important;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
}

.my-wallet-modal-overlay.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Full Screen Wallet Page Container */
.my-wallet-card {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  max-width: 480px !important; /* Full width on mobile (<=480px), centered shell on desktop */
  height: 100% !important;
  height: 100dvh !important;
  max-height: 100% !important;
  max-height: 100dvh !important;
  margin: 0 auto !important;
  border-radius: 0 !important; /* Edge-to-edge full screen */
  border: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #000000 !important; /* Pure OLED Black */
  color: #fff !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: none !important;
  transform: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif !important;
}

.my-wallet-modal-overlay.open .my-wallet-card {
  transform: none !important;
}

.my-wallet-body {
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(36px + env(safe-area-inset-bottom, 0px)) 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Full-Screen Page Header (Sticky with smooth frosted glass) */
.mw-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: rgba(0, 0, 0, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 -20px 18px -20px !important;
  padding: 16px 20px 14px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mw-header-center {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0 10px;
}

.mw-back-btn {
  background: #0c0c10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mw-back-btn:hover {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(-1px);
}

.mw-title {
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

.mw-subtitle {
  font-size: 0.72rem !important;
  color: #71717a !important;
  margin: 2px 0 0 0 !important;
  font-weight: 500 !important;
}

.mw-close-btn {
  background: #0c0c10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mw-close-btn:hover {
  background: #18181b;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

/* Advanced Hero Balance Card (Pure Black OLED + Neon Green Amount) */
.mw-balance-card {
  background: linear-gradient(180deg, #0e0e12 0%, #060608 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.7);
}

.mw-balance-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mw-balance-label {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #71717a;
}

.mw-instant-badge {
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #00ff88;
  font-size: 0.67rem;
  font-weight: 750;
  padding: 2.5px 8px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}

.mw-instant-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 6px #00ff88;
}

.mw-balance-val-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* AMOUNT COLOR: VIBRANT NEON/FINTECH GREEN */
.mw-balance-val {
  font-size: 2.25rem;
  font-weight: 850;
  color: #00ff88 !important; /* Electric/Neon Fintech Green */
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: 0 0 24px rgba(0, 255, 136, 0.28);
}

.mw-balance-val span {
  color: #00ff88 !important;
}

.mw-balance-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.mw-coin-capsule {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 4px 11px;
  color: #e4e4e7;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.mw-coin-icon {
  width: 13px;
  height: 13px;
  object-fit: contain;
  flex-shrink: 0;
}

.mw-deposit-shortcut-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 6.5px 15px !important;
  font-size: 0.76rem !important;
  font-weight: 750 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mw-deposit-shortcut-btn:hover {
  background: #f4f4f5 !important;
  transform: translateY(-1px);
}

.mw-deposit-shortcut-btn:active {
  transform: scale(0.96);
}

/* Withdraw Section (Black Theme) */
.mw-section {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
}

.mw-section-heading {
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.5px;
  color: #a1a1aa;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mw-heading-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  color: #e4e4e7;
  font-weight: 800;
}

.mw-min-badge {
  background: rgba(255, 200, 0, 0.1);
  border: 1px solid rgba(255, 200, 0, 0.25);
  color: #ffc800;
  font-size: 0.67rem;
  font-weight: 750;
  padding: 2.5px 8.5px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.mw-input-group {
  margin-bottom: 12px;
}

.mw-input-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 650;
  color: #71717a;
  margin-bottom: 6px;
  letter-spacing: 0.1px;
}

.mw-amount-box {
  display: flex;
  align-items: center;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0 14px;
  transition: all 0.2s ease;
}

.mw-amount-box:focus-within {
  border-color: #00ff88;
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.2);
}

.mw-currency-symbol {
  font-size: 1.2rem;
  font-weight: 850;
  color: #00ff88; /* Green currency symbol */
  margin-right: 6px;
}

.mw-input-icon-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  margin-right: 8px;
}

.mw-amount-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #00ff88; /* Green typed amount */
  caret-color: #00ff88;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 11px 0;
  font-family: inherit;
}

.mw-amount-input::placeholder {
  color: #3f3f46;
  font-weight: 500;
  font-size: 0.88rem;
}

/* 4-Chip Equal Balanced Grid (Black Theme) */
.mw-quick-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.mw-chip-btn {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 0;
  text-align: center;
  color: #d4d4d8;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.mw-chip-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.mw-chip-btn.active,
.mw-chip-btn:active {
  background: rgba(0, 255, 136, 0.12) !important;
  border-color: #00ff88 !important;
  color: #00ff88 !important;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.25) !important;
}

.mw-chip-btn.mw-chip-max {
  color: #00ff88;
  border-color: rgba(0, 255, 136, 0.25);
}

.mw-chip-btn.mw-chip-max:hover {
  background: rgba(0, 255, 136, 0.16);
  border-color: #00ff88;
  color: #00ff88;
}

.mw-required-tag {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f87171;
  font-size: 0.62rem;
  font-weight: 750;
  padding: 1.5px 6.5px;
  border-radius: 9999px;
  margin-left: 6px;
  letter-spacing: 0.2px;
  display: inline-block;
  vertical-align: middle;
}

.mw-qr-hint-text {
  font-size: 0.68rem;
  color: #52525b;
  margin-top: 3px;
  font-weight: 500;
}

/* QR Upload Viewfinder Card */
.mw-qr-upload-box {
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, #0b0b0e 0%, #040406 100%);
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mw-qr-upload-box:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: #111116;
}

.mw-qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mw-qr-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ff88;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mw-qr-main-text {
  font-size: 0.82rem;
  font-weight: 750;
  color: #ffffff;
}

.mw-qr-sub-text {
  font-size: 0.7rem;
  color: #71717a;
  font-weight: 500;
}

.mw-qr-preview-wrap {
  display: none;
  width: 100%;
}

.mw-qr-preview-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 4px 2px;
  box-sizing: border-box;
}

.mw-qr-thumb-box {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 11px;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mw-qr-preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.mw-qr-thumb-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.mw-qr-preview-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.mw-qr-selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #00ff88;
  font-size: 0.68rem;
  font-weight: 750;
  padding: 2px 7px;
  border-radius: 9999px;
  width: fit-content;
}

.mw-qr-filename {
  font-size: 0.78rem;
  font-weight: 650;
  color: #f4f4f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.mw-qr-verified-text {
  font-size: 0.68rem;
  color: #71717a;
  font-weight: 500;
}

.mw-qr-remove-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e4e4e7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.mw-qr-remove-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Security Line */
.mw-security-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.68rem;
  color: #52525b;
  font-weight: 600;
  margin-bottom: 12px;
}

.mw-security-line svg {
  stroke: #71717a;
}

/* Error Banner */
.mw-error-msg {
  display: none;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #fca5a5;
  font-size: 0.74rem;
  padding: 7px 11px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
}

/* Submit Withdrawal Request Pill Button */
.mw-submit-btn {
  width: 100%;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  height: 44px !important;
  padding: 3px 4px 3px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 18px rgba(29, 78, 216, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  user-select: none;
}

.mw-submit-btn:hover {
  background: linear-gradient(180deg, #4f82fc 0%, #2563eb 100%) !important;
  box-shadow: 0 6px 22px rgba(29, 78, 216, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
}

.mw-submit-btn:active {
  transform: scale(0.98);
}

.mw-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.mw-submit-btn-text {
  font-size: 0.85rem;
  font-weight: 650;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.mw-submit-btn-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

/* Recent Withdrawals Processing Cards (Pure Black Theme) */
.mw-processing-card {
  background: linear-gradient(180deg, #0e0e12 0%, #060608 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.mw-processing-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.mw-processing-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 750;
  padding: 2.5px 7.5px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.mw-completed-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #00ff88;
  font-size: 0.68rem;
  font-weight: 750;
  padding: 2.5px 7.5px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

/* My Transactions Screen: Amount Always Green */
.txn-amount-val.txn-amount-withdrawal,
.txn-amount-val.txn-amount-deposit {
  color: #00ff88 !important; /* Green */
}


/* Strictly hide footer-nav when .footer-nav-hidden class is present */
.footer-nav.footer-nav-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transform: translateY(100px) !important;
}


/* Continue Match Button State (White Background, Black Text) */
.btn-stake-action.btn-continue-match {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  font-weight: 800 !important;
}

.btn-stake-action.btn-continue-match span {
  color: #000000 !important;
}

.btn-stake-action.btn-continue-match svg {
  stroke: #000000 !important;
  color: #000000 !important;
}

.btn-stake-action.btn-continue-match:hover {
  background: #f1f5f9 !important;
  color: #000000 !important;
  transform: translateY(-1px);
}


/* ============================================
   MATCH ENTRY CONFIRMATION MODAL (CLEAN NOTIFICATION UI/UX MATCHING IMAGE 2 - CENTERED)
   ============================================ */
#matchEntryConfirmModal {
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}

.modal-confirm-entry-card {
  max-width: 360px !important;
  width: calc(100% - 32px) !important;
  text-align: left !important;
  padding: 24px 24px 20px 24px !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: none !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65) !important;
  box-sizing: border-box !important;
  margin: auto !important;
  color: #000000 !important;
  animation: efbFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hide coin avatar - No boxes */
.confirm-modal-coin-avatar {
  display: none !important;
}

/* Header title - Pure black text */
.confirm-modal-title {
  color: #000000 !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif !important;
}

/* Description / Message - Pure black text, no colors */
.confirm-modal-desc {
  color: #000000 !important;
  font-size: 0.98rem !important;
  line-height: 1.48 !important;
  margin: 0 0 20px 0 !important;
  text-align: left !important;
  font-weight: 500 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif !important;
}

.confirm-deduct-highlight {
  color: #000000 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-weight: 800 !important;
  display: inline !important;
}

/* Remove all columns and boxes */
.confirm-modal-stats-box,
.confirm-stat-item,
.confirm-stat-label,
.confirm-stat-value,
.confirm-stat-divider {
  display: none !important;
}

/* Flat text buttons - No button boxes, pure black text matching Image 2 */
.confirm-modal-actions {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  margin-top: 6px !important;
}

.btn-confirm-cancel,
.btn-confirm-enter {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #000000 !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif !important;
  transition: opacity 0.15s ease, transform 0.1s ease !important;
  margin: 0 !important;
  height: auto !important;
  flex: none !important;
  line-height: normal !important;
}

.btn-confirm-cancel:hover,
.btn-confirm-enter:hover {
  opacity: 0.75 !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

.btn-confirm-cancel:active,
.btn-confirm-enter:active {
  opacity: 0.5 !important;
  transform: scale(0.95) !important;
  background: rgba(0, 0, 0, 0.1) !important;
}

/* ============================================
   SCREEN 3: MATCH ROOM — Full-Height & Bottom Pinned Controls
   ============================================ */
.screen-match-room,
.screen-coop-match-room {
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: none;
  flex-direction: column !important;
  box-sizing: border-box !important;
  padding-bottom: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

.screen-match-room.active,
.screen-coop-match-room.active {
  display: flex !important;
}

.screen-match-room .match-room-content,
.screen-coop-match-room .match-room-content {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 10px 12px 100px 12px !important; /* Extra bottom clearance for pinned bottom bar */
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

/* Pinned strictly to bottom of screen matching User Image 3 */
#screen-match-room .bottom-bar,
#screen-coop-match-room .bottom-bar,
.screen-match-room .bottom-bar,
.screen-coop-match-room .bottom-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 480px !important;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 12px)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  z-index: 100 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.98) 100%) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
