:root {
  --bg: #050d0a; --bg-2: #0a1913; --panel: rgba(10, 24, 18, 0.94);
  --line: rgba(243, 204, 115, 0.22); --line-strong: rgba(243, 204, 115, 0.48);
  --gold: #f3cc73; --gold-2: #fff3c4; --gold-dark: #b88628;
  --green: #2ed57e; --green-2: #0f8b55;
  --red: #ff6b6b; --text: #f7f8ef; --muted: #a8b7ad; --soft: #d6dfd7;
  --shadow: 0 22px 80px rgba(0,0,0,0.55); --radius: 10px; --max: 1180px;
  --font-display: 'Chakra Petch', Inter, sans-serif;
  --font-score: 'Teko', 'Chakra Petch', sans-serif;
  --font-sans: 'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh; color: var(--text);
  background:
    radial-gradient(ellipse 80% 42% at 50% -6%, rgba(46, 213, 126, 0.22), transparent 68%),
    radial-gradient(circle at 12% 18%, rgba(243, 204, 115, 0.10), transparent 36rem),
    radial-gradient(circle at 88% 18%, rgba(46, 213, 126, 0.10), transparent 36rem),
    linear-gradient(160deg, #030806 0%, var(--bg) 48%, #07150f 100%);
  font-family: var(--font-sans);
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(243, 204, 115, 0.018) 0px, rgba(243, 204, 115, 0.018) 1px, transparent 1px, transparent 14px),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.88), transparent 88%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.shell { position: relative; z-index: 1; width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: linear-gradient(180deg, rgba(6, 14, 10, 0.96) 0%, rgba(3, 8, 5, 0.94) 100%);
  border-bottom: 1px solid rgba(243, 204, 115, 0.22);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.7);
  padding: 8px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 20px 6px 14px;
  background: linear-gradient(180deg, rgba(38, 80, 58, 0.42) 0%, rgba(10, 26, 18, 0.78) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(243, 204, 115, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  /* Kemiringan aerodinamis identik dengan nav-links (-14 deg) */
  transform: skewX(-14deg);
  border-radius: 8px;
  position: relative;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand:hover {
  border-color: rgba(243, 204, 115, 0.75);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.75), 0 0 18px rgba(243, 204, 115, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: skewX(-14deg) translateY(-1px);
}
.brand-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Tegakkan kembali seluruh elemen logo, judul, & sub agar tegak lurus sempurna */
  transform: skewX(14deg);
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: radial-gradient(circle at 35% 35%, rgba(243, 204, 115, 0.45) 0%, rgba(15, 40, 29, 0.95) 75%);
  box-shadow: 0 0 16px rgba(243, 204, 115, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold-2);
  font-weight: 900;
  flex-shrink: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(243, 204, 115, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.brand-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 12px rgba(243, 204, 115, 0.35);
  white-space: nowrap;
}
.brand-sub {
  color: var(--gold-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-top: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.brand-live-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #2ed573;
  box-shadow: 0 0 8px #2ed573, 0 0 14px rgba(46, 213, 126, 0.6);
  display: inline-block;
  animation: pulseBeacon 2s ease-in-out infinite;
}
@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}
/* Glassmorphism Broadcast Navbar */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 18px;
  background: linear-gradient(180deg, rgba(38, 80, 58, 0.42) 0%, rgba(10, 26, 18, 0.78) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(243, 204, 115, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  /* Potongan sudut miring aerodinamis */
  transform: skewX(-14deg);
  border-radius: 8px;
  position: relative;
}
.nav-link, .tab-btn, .icon-btn, .btn { border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: var(--soft); transition: all .2s ease; }
.nav-link {
  position: relative;
  padding: 8px 18px 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #a8bfb2;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  /* Tegakkan kembali teks agar tidak miring */
  transform: skewX(14deg);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(243, 204, 115, 0.6);
  background: transparent;
}
.nav-link.active {
  color: #ffffff;
  font-weight: 900;
  background: transparent;
  border: 0;
  text-shadow: 0 0 14px rgba(255, 216, 102, 0.65), 0 2px 6px rgba(0, 0, 0, 0.9);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: 999px;
  background: #ffd866;
  box-shadow:
    0 0 12px #ffd866,
    0 0 4px #ffffff,
    0 2px 8px rgba(255, 216, 102, 0.85);
}
.tab-btn.active { color: var(--gold-2); background: rgba(243, 204, 115, 0.12); border-color: var(--gold); }
.actions { display: flex; align-items: center; gap: 8px; }
.btn { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--text); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.btn.primary { background: linear-gradient(135deg, var(--gold), #c8922e); color: #171007; border-color: transparent; font-weight: 800; }
.btn.green { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #031008; border-color: transparent; font-weight: 800; }
.btn.danger { background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.38); color: #ffd7d7; }
.btn.ghost { background: transparent; border-color: var(--line); }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, 0.04); border-color: var(--line); }
.admin-lock-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #0c160f;
  border: 2px solid #fff5cf;
  background: radial-gradient(circle at 35% 35%, #fff1b8 0%, #e5b94c 55%, #9e7518 100%);
  box-shadow: 0 0 16px rgba(243, 204, 115, 0.55), 0 4px 10px rgba(0, 0, 0, 0.6);
  display: inline-grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.admin-lock-btn svg {
  stroke: #0a140d;
  stroke-width: 2.5;
}
.admin-lock-btn:hover {
  transform: translateY(-1px) scale(1.08);
  box-shadow: 0 0 22px rgba(243, 204, 115, 0.85), 0 6px 14px rgba(0, 0, 0, 0.7);
}
.icon { width: 18px; height: 18px; display: inline-block; position: relative; }
.icon.lock::before { content: ""; position: absolute; left: 3px; right: 3px; bottom: 2px; height: 10px; border: 2px solid currentColor; border-radius: 2px; }
.icon.lock::after { content: ""; position: absolute; left: 5px; right: 5px; top: 1px; height: 8px; border: 2px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.icon.close::before, .icon.close::after { content: ""; position: absolute; left: 8px; top: 2px; width: 2px; height: 15px; background: currentColor; }
.icon.close::before { transform: rotate(45deg); }
.icon.close::after { transform: rotate(-45deg); }
.ticker {
  display: none;
  width: 100%;
  overflow: hidden;
  margin-top: 8px;
  border-top: 1px solid rgba(243, 204, 115, 0.22);
  background: linear-gradient(90deg, rgba(4, 12, 8, 0.94) 0%, rgba(14, 34, 24, 0.88) 50%, rgba(4, 12, 8, 0.94) 100%);
  position: relative;
}
.ticker.active {
  display: block;
}
.ticker-track {
  width: max-content;
  padding: 6px 0;
  color: #ffe082;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes marquee { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }
.hero-center-emblem { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin: 10px 0 28px; position: relative; }
.hero-emblem-glow { position: relative; width: 175px; height: 175px; max-width: 82vw; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.hero-emblem-glow::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; pointer-events: none; z-index: 1; filter: blur(12px); background: radial-gradient(circle, rgba(255, 255, 255, 0.44) 0%, rgba(46, 213, 126, 0.22) 42%, transparent 72%); }
.hero-emblem-glow img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 32px rgba(255, 255, 255, 0.35)); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hero-emblem-glow:hover img { transform: scale(1.08); }
.hero-emblem-title { font-size: 24px; font-weight: 900; letter-spacing: 1.5px; color: #1eb965; text-transform: uppercase; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,0.85); margin-top: 4px; }
.hero-emblem-year { font-size: 22px; font-weight: 950; letter-spacing: 1px; color: #e56717; line-height: 1.2; margin-top: 3px; text-shadow: 0 2px 12px rgba(0,0,0,0.85); }
.team-logo, .match-card-logo, .small-logo { position: relative; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; box-shadow: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)); flex-shrink: 0; }
.team-logo { width: 104px; height: 104px; font-size: 28px; }
.match-card-logo { width: 64px; height: 64px; min-width: 64px; font-size: 20px; }
.small-logo { width: 48px; height: 48px; font-size: 16px; }
.team-logo img, .match-card-logo img, .small-logo img { width: 100%; height: 100%; object-fit: contain; padding: 0; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.team-fallback-text { color: var(--gold-2); font-weight: 900; border: 1px solid var(--line); padding: 6px 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); }
.logo-silhouette-shimmer { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: var(--logo-mask); mask-image: var(--logo-mask); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; overflow: hidden; z-index: 2; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.logo-silhouette-shimmer::after { content: ""; position: absolute; top: -50%; left: -140%; width: 60%; height: 200%; background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.85) 50%, transparent 80%); transform: rotate(25deg); opacity: 0; pointer-events: none; transition: all 0.65s cubic-bezier(0.2, 0.8, 0.2, 1); }
.team-card:hover .logo-silhouette-shimmer::after, .team-logo:hover .logo-silhouette-shimmer::after, .team-block:hover .logo-silhouette-shimmer::after, .match-card:hover .logo-silhouette-shimmer::after, .match-card-logo:hover .logo-silhouette-shimmer::after { left: 150%; opacity: 1; }
.team-card:hover .team-logo img, .team-card:hover .logo-silhouette-shimmer, .team-block:hover .team-logo img, .team-block:hover .logo-silhouette-shimmer, .match-card:hover .match-card-logo img, .match-card:hover .logo-silhouette-shimmer { transform: scale(1.08); }
main { padding: 24px 0 56px; }
.view { display: none; }
.view.active { display: block; }
.hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr); gap: 18px; align-items: stretch; min-height: 490px; }
.scoreboard, .panel, .modal-card, .login-card, .admin-shell { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.scoreboard { position: relative; overflow: hidden; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.scoreboard::after { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: linear-gradient(90deg, var(--gold), var(--green)); }
.hero-meta, .section-head, .row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-pill, .chip { min-height: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); background: rgba(255, 255, 255, 0.04); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.status-live { color: #d9ffe9; border-color: rgba(46, 213, 126, 0.46); background: rgba(46, 213, 126, 0.12); }
.status-full { color: #fff2c9; border-color: rgba(243, 204, 115, 0.46); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 18px currentColor; }
.match-code { color: var(--gold); font-weight: 900; }

/* =====================================================================
   KONSEP V2: ULTRA-LUXURY & SPORTY TV BROADCAST CENTERPIECE
   ===================================================================== */
.broadcast-arena {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(243, 204, 115, 0.45);
  border-radius: 20px;
  padding: 34px 28px 24px;
  background-color: #050d09;
  background-image:
    linear-gradient(180deg, rgba(6, 16, 12, 0.15) 0%, rgba(4, 10, 7, 0.38) 50%, rgba(3, 8, 5, 0.86) 100%),
    url('/img/stadium-bg.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.82), 0 0 45px rgba(243, 204, 115, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-bottom: 26px;
}
.broadcast-arena::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ffe082, var(--gold), var(--green), var(--gold), #ffe082, transparent);
  box-shadow: 0 0 18px var(--gold);
  z-index: 3;
}

/* Stadium Floodlight Towers - Digantikan gambar latar stadion asli */
.arena-floodlight-tower {
  display: none !important;
}
.arena-floodlight-tower.left { left: 14px; }
.arena-floodlight-tower.right { right: 14px; }
.tower-rack {
  display: grid;
  grid-template-columns: repeat(3, 11px);
  gap: 4px;
  padding: 5px;
  background: rgba(8, 16, 12, 0.85);
  border: 1px solid rgba(243, 204, 115, 0.35);
  border-radius: 4px;
  transform: rotate(-18deg);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}
.arena-floodlight-tower.right .tower-rack { transform: rotate(18deg); }
.tower-rack i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.9), 0 0 22px 6px rgba(243, 204, 115, 0.5);
  animation: bulbGlow 2.8s ease-in-out infinite alternate;
}
.tower-rack i:nth-child(2) { animation-delay: 0.2s; }
.tower-rack i:nth-child(3) { animation-delay: 0.4s; }
.tower-rack i:nth-child(4) { animation-delay: 0.6s; }
.tower-rack i:nth-child(5) { animation-delay: 0.8s; }
.tower-rack i:nth-child(6) { animation-delay: 1.0s; }
@keyframes bulbGlow {
  0% { opacity: 0.85; filter: brightness(1); }
  100% { opacity: 1; filter: brightness(1.4); }
}
.tower-beam {
  position: absolute;
  width: 520px;
  height: 400px;
  pointer-events: none;
  filter: blur(26px);
  opacity: 0.5;
}
.tower-beam.left {
  top: -20px; left: 0;
  background: radial-gradient(ellipse at 8% 8%, rgba(255, 255, 255, 0.7) 0%, rgba(243, 204, 115, 0.35) 30%, rgba(46, 213, 126, 0.12) 55%, transparent 75%);
  transform: rotate(24deg);
  transform-origin: top left;
}
.tower-beam.right {
  top: -20px; right: 0;
  background: radial-gradient(ellipse at 92% 8%, rgba(255, 255, 255, 0.7) 0%, rgba(243, 204, 115, 0.35) 30%, rgba(46, 213, 126, 0.12) 55%, transparent 75%);
  transform: rotate(-24deg);
  transform-origin: top right;
}

.arena-top-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.arena-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  background: linear-gradient(135deg, rgba(243, 204, 115, 0.25) 0%, rgba(16, 42, 30, 0.85) 100%);
  color: var(--gold-2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 16px rgba(243, 204, 115, 0.25);
}
.arena-ribbon.is-live {
  border-color: var(--green);
  background: linear-gradient(135deg, rgba(46, 213, 126, 0.3) 0%, rgba(10, 32, 22, 0.9) 100%);
  color: #c7ffd8;
  box-shadow: 0 0 22px rgba(46, 213, 126, 0.45);
}
.arena-ribbon.is-up {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(243, 204, 115, 0.22) 0%, rgba(18, 38, 28, 0.9) 100%);
  color: var(--gold-2);
}
.arena-ribbon.is-ft {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: var(--soft);
}
.arena-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4757;
  box-shadow: 0 0 12px #ff4757;
  animation: arenaPulse 1.6s ease-in-out infinite alternate;
}
@keyframes arenaPulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}
.arena-subtitle {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2.8px;
  color: var(--gold);
  margin-top: 6px;
  text-transform: uppercase;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* =====================================================================
   SCOREBUG V2 (PITA SKOR GRAFIS RESMI): Template gambar transparan asli
   ===================================================================== */
.scorebug-stage.has-ribbon-graphic {
  position: relative;
  width: min(880px, 88%);
  aspect-ratio: 1004 / 180;
  margin: 20px auto 16px;
  display: block;
}
.scorebug-ribbon-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.85));
}
.scorebug-crest-shield {
  position: absolute;
  top: 46.5%;
  width: clamp(84px, 15.5vw, 150px);
  height: clamp(84px, 15.5vw, 150px);
  aspect-ratio: 1;
  z-index: 6;
  display: grid;
  place-items: center;
  /* Opsi 1: Rim-Light Emas Halus + Kedalaman 3D */
  filter:
    drop-shadow(0 0 2px rgba(255, 245, 210, 0.9))
    drop-shadow(0 0 12px rgba(243, 204, 115, 0.72))
    drop-shadow(0 14px 26px rgba(0, 0, 0, 0.95));
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.22s ease;
}
.scorebug-crest-shield.home {
  left: 3.2%;
  transform: translate(-50%, -50%);
}
.scorebug-crest-shield.away {
  left: 96.8%;
  transform: translate(-50%, -50%);
}
.scorebug-crest-shield:hover {
  transform: translate(-50%, -50%) scale(1.08);
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 18px rgba(243, 204, 115, 0.95))
    drop-shadow(0 16px 30px rgba(0, 0, 0, 0.98));
}
.scorebug-crest-shield .match-card-logo,
.scorebug-crest-shield .team-logo {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
}
.scorebug-crest-shield img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.scorebug-crest-shield .match-card-logo.placeholder {
  width: 80% !important;
  height: 80% !important;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a5a3a 0%, #0d2919 70%, #05140b 100%);
  border: 2.5px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 44px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8), inset 0 0 14px rgba(243, 204, 115, 0.35);
}
.scorebug-team-name {
  position: absolute;
  top: 22%;
  bottom: 29%;
  z-index: 3;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(13px, 2.1vw, 24px);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 12px rgba(243, 204, 115, 0.35);
  cursor: pointer;
  transition: filter 0.2s ease;
  overflow: hidden;
  word-break: break-word;
}
.scorebug-team-name:hover {
  filter: brightness(1.2);
}
.scorebug-team-name.home {
  left: 13.5%;
  right: 65.5%;
  justify-content: flex-start;
  text-align: left;
  padding-left: clamp(4px, 1.2vw, 16px);
}
.scorebug-team-name.away {
  left: 65.5%;
  right: 13.5%;
  justify-content: flex-end;
  text-align: right;
  padding-right: clamp(4px, 1.2vw, 16px);
}
.scorebug-center-slot {
  position: absolute;
  left: 35%;
  right: 35%;
  top: 4%;
  bottom: 4%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scorebug-center-slot:hover {
  transform: scale(1.05);
}
.shield-score-nums {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.2vw, 12px);
  font-family: var(--font-score);
  font-size: clamp(34px, 7.8vw, 84px);
  line-height: 0.85;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.65), 0 4px 14px rgba(0, 0, 0, 0.95);
}
.shield-score-dash {
  font-style: normal;
  color: #ffffff;
  font-size: clamp(24px, 5.5vw, 60px);
  margin: 0;
  opacity: 0.9;
}
.shield-vs-text {
  font-family: var(--font-score);
  font-size: clamp(30px, 6.8vw, 70px);
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 0 22px rgba(243, 204, 115, 0.7);
  line-height: 0.9;
}
.shield-sub-status {
  font-family: var(--font-score);
  font-size: clamp(11px, 2.1vw, 22px);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffd866;
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 14px rgba(255, 216, 102, 0.65);
}
.shield-sub-status.pen { color: #ffb0b0; }

/* Scorers row under stage */
.scorebug-scorers-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 6px auto 14px;
  width: min(880px, 88%);
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.scorebug-scorers-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.scorebug-scorers-col.home {
  align-items: flex-start;
}
.scorebug-scorers-col.away {
  align-items: flex-end;
}
.scorebug-scorers-spacer {
  width: clamp(140px, 28%, 290px);
  flex-shrink: 0;
}
.hero-goal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: transparent;
  border: 0;
  padding: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}
.hero-goal-tag svg {
  color: var(--gold);
}
.hero-goal-min {
  color: var(--gold-2);
  font-weight: 800;
}
.hero-goal-jersey {
  color: var(--green);
  font-weight: 800;
}

/* Arena Bottom Capsule */
/* Arena Bottom Capsule - Glassmorphism Sleek Pill */
.arena-bottom-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 10px 8px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(30, 68, 50, 0.48) 0%, rgba(8, 24, 16, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(243, 204, 115, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  margin: 14px auto 0;
  width: fit-content;
  max-width: 100%;
  position: relative;
  z-index: 2;
}
.arena-meta-items {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: #d1ded6;
  font-weight: 700;
  flex-wrap: wrap;
}
.arena-meta-items strong {
  color: #ffffff;
  font-weight: 700;
}
.arena-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.arena-meta-item svg {
  color: #ffd866;
  filter: drop-shadow(0 0 6px rgba(255, 216, 102, 0.5));
}
.arena-sep {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}
.arena-meta-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-arena-detail {
  min-height: 36px;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid rgba(243, 204, 115, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: #ffd866;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-arena-detail:hover {
  background: rgba(243, 204, 115, 0.2);
  border-color: #ffd866;
  transform: translateY(-1px);
}
.btn-wa {
  min-height: 36px;
  padding: 6px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #2fe675 0%, #20ba5a 50%, #169e4a 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}
.btn-wa:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 26px rgba(37, 211, 102, 0.88), 0 6px 16px rgba(0, 0, 0, 0.6);
  filter: brightness(1.08);
}

/* =====================================================================
   V2 SECTION HEADER BANNER
   ===================================================================== */
.v2-section-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  margin-bottom: 18px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(243, 204, 115, 0.18) 0%, rgba(46, 213, 126, 0.08) 50%, rgba(10, 24, 18, 0.6) 100%);
  border-left: 4px solid var(--gold);
  border-top: 1px solid rgba(243, 204, 115, 0.25);
  border-right: 1px solid rgba(243, 204, 115, 0.15);
  border-bottom: 1px solid rgba(243, 204, 115, 0.15);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.v2-section-banner h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.panel { padding: 18px; min-width: 0; }
.panel-title { margin: 0 0 14px; font-size: 18px; line-height: 1.2; }
.timeline { display: grid; gap: 10px; }
.timeline-item { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: rgba(255, 255, 255, 0.03); }
.minute { color: #08120d; background: var(--gold); border-radius: 999px; padding: 5px 8px; text-align: center; font-weight: 900; font-size: 12px; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; color: var(--muted); text-align: center; }
.stream-frame { aspect-ratio: 16 / 9; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #020403; }
.stream-frame iframe { width: 100%; height: 100%; border: 0; }
.spinner-wrap { display: flex; align-items: center; justify-content: center; min-height: 320px; width: 100%; }
.golden-spinner { width: 44px; height: 44px; border: 3px solid rgba(243, 204, 115, 0.16); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.section { padding: 34px 0 0; }
.section-head { margin-bottom: 14px; }
.section h2 { margin: 0; font-size: 24px; line-height: 1.15; }
.grid { display: grid; gap: 12px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-card, .sponsor-card, .result-card-wrap, .stat-card, .log-row { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.035); padding: 14px; min-width: 0; }
.result-card-wrap { display: grid; gap: 14px; padding: 16px; }
/* =====================================================================
   SCHEDULE FILTER BAR & ROUND PILLS
   ===================================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(16, 36, 24, 0.75) 0%, rgba(10, 24, 16, 0.85) 100%);
  border: 1px solid rgba(243, 204, 115, 0.2);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.filter-pill {
  font-family: var(--font-display, inherit);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted, #94a3b8);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  outline: none;
}
.filter-pill:hover {
  background: rgba(243, 204, 115, 0.14);
  border-color: rgba(243, 204, 115, 0.45);
  color: var(--gold-2, #fae6c8);
  transform: translateY(-1px);
}
.filter-pill.active {
  background: linear-gradient(135deg, rgba(243, 204, 115, 0.32) 0%, rgba(184, 134, 11, 0.32) 100%), rgba(20, 44, 30, 0.95);
  border: 1.5px solid var(--gold, #d4af37);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  font-weight: 950;
}

.schedule-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}
@media (max-width: 720px) {
  .schedule-search-wrap {
    flex: 1;
    min-width: 100%;
  }
}

.schedule-search-input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text, #ffffff);
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
}
.schedule-search-input::placeholder {
  color: var(--muted, #64748b);
  opacity: 0.85;
}
.schedule-search-input:focus {
  border-color: var(--gold, #d4af37);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.28);
  background: rgba(0, 0, 0, 0.65);
}

.schedule-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted, #94a3b8);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-list { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* =====================================================================
   V2 BROADCAST MATCH STRIPS (HORIZONTAL JADWAL & HASIL)
   ===================================================================== */
.match-card {
  border: 1.5px solid rgba(243, 204, 115, 0.25);
  border-radius: 14px;
  background: var(--panel);
  padding: 20px 24px;
  min-width: 0;
  display: grid;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.match-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
/* ==========================================================================
   BROADCAST MATCH STRIP (ALTERNATING A - B RIBBONS)
   ========================================================================== */
.match-card.broadcast-strip {
  position: relative;
  display: block;
  padding: 0;
  margin: 0 auto 16px;
  width: 100%;
  max-width: 1000px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.match-card.broadcast-strip:hover {
  transform: translateY(-2px) scale(1.004);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 16px rgba(243, 204, 115, 0.22));
}

.strip-ribbon-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 112;
  overflow: visible;
}

.strip-ribbon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.65));
}

.strip-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

/* TOP METADATA BAR (Inside black carbon strip of ribbon: y = 8% to 38%) */
.strip-top-bar {
  position: absolute;
  top: 7%;
  left: 8%;
  right: 2.5%;
  height: 31%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.strip-top-left {
  display: flex;
  align-items: center;
  font-size: clamp(11px, 1.25vw, 13px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}

.strip-code-badge {
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffd866;
  letter-spacing: 0.6px;
}

.strip-round {
  color: #ffd866;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.strip-dot {
  color: rgba(243, 204, 115, 0.55);
  margin: 0 5px;
  font-size: 11px;
}

.strip-meta-divider {
  color: rgba(243, 204, 115, 0.4);
  margin: 0 6px;
  font-weight: 300;
}

.strip-meta-info {
  color: #c5d8cc;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.strip-top-status {
  font-size: 10px;
  padding: 2px 7px;
  line-height: 1.2;
}

/* MAIN ROW (Inside green and pod area: y = 38% to 100%) */
.strip-main-bar {
  position: absolute;
  top: 38%;
  left: 0;
  width: 100%;
  bottom: 4%;
  pointer-events: auto;
}

/* 1. HOME TEAM ZONE (x = 5.5% to 42.5%) */
.strip-team-zone.home {
  position: absolute;
  left: 5.5%;
  width: 37%;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 1vw, 12px);
  min-width: 0;
  transition: transform 0.18s ease;
}

.strip-team-zone.home:hover {
  transform: scale(1.02);
}

/* 2. CENTER POD ZONE (Precisely calibrated for Ribbon A vs B) */
.strip-pod-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

/* Variant A: Dark Pod - Optical center at 50.45%, shifted down +4px into dark window */
.variant-a .strip-pod-zone {
  left: 50.45%;
  transform: translate(-50%, 4px);
}

/* Variant B: Gold Pod - Optical center at 50.10%, shifted down +1px */
.variant-b .strip-pod-zone {
  left: 50.10%;
  transform: translate(-50%, 1px);
}

/* 3. AWAY TEAM ZONE (x = 56.5% to 81.5%) */
.strip-team-zone.away {
  position: absolute;
  left: 56.5%;
  width: 25%;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(6px, 1vw, 12px);
  min-width: 0;
  transition: transform 0.18s ease;
}

.strip-team-zone.away:hover {
  transform: scale(1.02);
}

/* 4. ACTIONS ZONE (x = 81.5% to 97.8%) */
.strip-actions-zone {
  position: absolute;
  left: 81.5%;
  right: 2.2%;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

/* TEAM NAMES & CRESTS */
.strip-team-name {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.55vw, 16px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* TEAM CRESTS: 100% UNCUT SILHOUETTE WITH VIVID SOLID WHITE RIM-LIGHT */
.strip-team-zone .match-card-logo,
.strip-team-zone .team-logo {
  width: clamp(34px, 4.2vw, 44px);
  height: clamp(34px, 4.2vw, 44px);
  min-width: clamp(34px, 4.2vw, 44px);
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.strip-team-zone:hover .match-card-logo,
.strip-team-zone:hover .team-logo {
  transform: scale(1.08);
}

.strip-team-zone .match-card-logo img,
.strip-team-zone .team-logo img,
.fut-club-crest img,
.fut-card .match-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  filter:
    drop-shadow(0 0 1px #ffffff)
    drop-shadow(0 0 2.5px #ffffff)
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.95))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.85)) !important;
}

/* STRICT SYMMETRICAL SCORE GRID (Hyphen centered at exact 50%) */
.strip-shield-score {
  display: grid;
  grid-template-columns: 1fr 14px 1fr;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 96px;
  margin: 0 auto;
  line-height: 0.88;
}

.strip-shield-score span:first-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  padding-right: 3px;
}

.strip-shield-score i {
  font-style: normal;
  text-align: center;
  width: 14px;
  display: block;
  margin: 0 auto;
  line-height: 1;
}

.strip-shield-score span:last-child {
  text-align: left;
  font-variant-numeric: tabular-nums;
  padding-left: 3px;
}

/* VARIANT A: DARK CARBON POD (Crisp White Score, Gold Sub-text) */
.variant-a .strip-shield-score {
  font-family: var(--font-score);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}
.variant-a .strip-shield-score i {
  color: #ffd866;
  font-size: clamp(16px, 2.2vw, 22px);
}
.variant-a .strip-shield-sub {
  font-family: var(--font-display);
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 900;
  color: #ffd866;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  width: 100%;
}
.variant-a .strip-shield-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-score);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  text-align: center;
  width: 100%;
}
.variant-a .strip-time-big {
  font-family: var(--font-score) !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  text-align: center;
  display: block;
}
.variant-a .strip-shield-vs small {
  font-family: var(--font-display);
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 900;
  color: #ffd866;
  text-transform: uppercase;
  margin-top: 1px;
  text-align: center;
  display: block;
}

/* VARIANT B: SOLID METALLIC GOLD POD (Deep Charcoal Score, Dark Sub-text) */
.variant-b .strip-shield-score {
  font-family: var(--font-score);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: #111a13;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35);
}
.variant-b .strip-shield-score i {
  color: #111a13;
  font-size: clamp(16px, 2.2vw, 22px);
}
.variant-b .strip-shield-sub {
  font-family: var(--font-display);
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 900;
  color: #2b2005;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 1px;
  width: 100%;
}
.variant-b .strip-shield-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-score);
  font-weight: 700;
  color: #111a13;
  line-height: 1;
  text-align: center;
  width: 100%;
}
.variant-b .strip-time-big {
  font-family: var(--font-score) !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 700 !important;
  color: #111a13 !important;
  line-height: 0.9;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35);
  text-align: center;
  display: block;
}
.variant-b .strip-shield-vs small {
  font-family: var(--font-display);
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 900;
  color: #2b2005;
  text-transform: uppercase;
  margin-top: 1px;
  text-align: center;
  display: block;
}

/* BUTTONS */
.btn-strip-detail {
  height: clamp(28px, 3.2vw, 32px);
  padding: 0 clamp(8px, 1.1vw, 13px);
  border-radius: 999px;
  border: 1px solid rgba(243, 204, 115, 0.65);
  background: rgba(28, 22, 10, 0.55);
  color: #ffd866;
  font-family: var(--font-display);
  font-size: clamp(11px, 1.15vw, 12px);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.18s ease;
  backdrop-filter: blur(4px);
}
.btn-strip-detail:hover {
  background: rgba(243, 204, 115, 0.28);
  border-color: #ffd866;
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-strip-wa {
  width: clamp(28px, 3.2vw, 32px);
  height: clamp(28px, 3.2vw, 32px);
  border-radius: 50%;
  border: 1px solid #3be37c;
  background: #25D366;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.btn-strip-wa:hover {
  transform: scale(1.1);
  background: #2ee672;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.65);
}

.team-card { border: none; background: transparent; box-shadow: none; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 8px; gap: 12px; }
.team-card .team-logo { margin: 0 auto; }
.team-card strong { display: block; font-size: 15px; line-height: 1.3; margin-bottom: 3px; }
.bracket-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.026); padding: 60px 24px 24px; position: relative; -webkit-overflow-scrolling: touch; }
.bracket-container { display: flex; align-items: stretch; gap: 40px; width: max-content; min-width: 100%; margin: 0 auto; padding: 0 10px; }
.bracket-half { display: flex; gap: 40px; flex: 0 0 auto; }
.bracket-half.right { flex-direction: row-reverse; }
.round-col { display: flex; flex-direction: column; justify-content: space-around; width: 190px; min-width: 190px; flex: 0 0 190px; position: relative; }
.round-title-abs { position: absolute; top: -40px; left: 0; width: 100%; text-align: center; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: 1px; }
.bracket-pair, .bracket-single { display: flex; flex-direction: column; justify-content: space-around; position: relative; min-height: 250px; flex: 1; }
.bracket-single { justify-content: center; }
.bracket-match { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5, 12, 9, 0.88); padding: 12px; display: grid; gap: 8px; position: relative; z-index: 2; width: 100%; }
.bracket-team { display: flex; justify-content: space-between; gap: 8px; color: var(--soft); font-size: 13px; min-width: 0; }
.bracket-team.winner { color: var(--gold-2); font-weight: 900; }
.has-connector::after { content: ""; position: absolute; right: -20px; top: 25%; bottom: 25%; width: 20px; border: 2px solid var(--gold); border-left: 0; z-index: 1; }
.has-connector::before { content: ""; position: absolute; right: -40px; top: 50%; width: 20px; border-top: 2px solid var(--gold); z-index: 1; }
.bracket-half.right .has-connector::after { right: auto; left: -20px; border: 2px solid var(--gold); border-right: 0; }
.bracket-half.right .has-connector::before { right: auto; left: -40px; }
.has-straight-connector::after { content: ""; position: absolute; right: -40px; top: 50%; width: 40px; border-top: 2px solid var(--gold); z-index: 1; }
.bracket-half.right .has-straight-connector::after { right: auto; left: -40px; }
.round-final { display: flex; align-items: center; justify-content: center; position: relative; width: 290px; min-width: 290px; flex: 0 0 290px; }
.final-center-anchor { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; }
.final-match-box { width: 100%; padding: 20px; border: 2px solid var(--gold); border-radius: 12px; background: linear-gradient(145deg, rgba(20, 28, 22, 0.96), rgba(8, 15, 11, 0.96)); box-shadow: 0 0 30px rgba(243, 204, 115, 0.25), inset 0 0 15px rgba(243, 204, 115, 0.1); z-index: 5; }
.final-match-box .bracket-team { font-size: 15px; }

/* GRAND FINAL TROPHY EMBLEM & PEDESTAL */
.bracket-trophy-wrap {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 6;
  width: 100%;
}

.bracket-trophy-pedestal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  pointer-events: auto;
  cursor: default;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bracket-trophy-pedestal:hover {
  transform: translateY(-4px) scale(1.05);
}

.bracket-trophy-glow {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 90px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.45) 0%, rgba(245, 158, 11, 0.18) 50%, transparent 75%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

.bracket-trophy-img {
  max-width: 110px;
  max-height: 95px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 16px rgba(255, 215, 0, 0.85)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.85));
  position: relative;
  z-index: 1;
}

.bracket-trophy-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 14px rgba(255, 215, 0, 0.85)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.8));
  animation: trophyFloat 3.2s ease-in-out infinite alternate;
}

@keyframes trophyFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.bracket-trophy-title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ffd700;
  text-transform: uppercase;
  background: rgba(8, 18, 12, 0.94);
  border: 1.5px solid rgba(255, 215, 0, 0.65);
  padding: 3px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 215, 0, 0.3);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

/* =====================================================================
   V2 SPONSOR TIER LINE & ULTRA-LUXURY WHITE SPONSOR CARDS
   ===================================================================== */
.sponsor-groups { display: grid; gap: 20px; }
.sponsor-tier { margin-bottom: 24px; }
.sponsor-tier h3 { margin: 0 0 10px; color: var(--gold); }
.sponsor-tier-line {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 18px 0 16px;
}
.sponsor-tier-line::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 204, 115, 0.45), transparent);
}
.sponsor-tier-line span {
  position: relative;
  z-index: 2;
  padding: 5px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--gold-2);
  background: #081610;
  border: 1px solid rgba(243, 204, 115, 0.5);
  box-shadow: 0 0 14px rgba(243, 204, 115, 0.2);
  text-transform: uppercase;
}
.sponsor-grid { display: grid; gap: 16px; justify-content: center; }
.sponsor-grid.platinum { grid-template-columns: repeat(2, minmax(260px, 340px)); }
.sponsor-grid.gold { grid-template-columns: repeat(4, minmax(180px, 240px)); }
.sponsor-grid.silver { grid-template-columns: repeat(6, minmax(130px, 170px)); }
.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  background: #ffffff !important;
  color: #101610 !important;
  border: 2px solid rgba(243, 204, 115, 0.75);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(243, 204, 115, 0.18);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.26s ease, border-color 0.26s ease;
}
.sponsor-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 28px rgba(243, 204, 115, 0.42);
}
.sponsor-card strong {
  color: #101610;
  font-weight: 800;
}
.sponsor-logo-box { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px; }
.sponsor-logo-box img { object-fit: contain; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08)); }
.sponsor-card.platinum .sponsor-logo-box img { width: 220px; height: 86px; }
.sponsor-card.gold .sponsor-logo-box img { width: 160px; height: 70px; }
.sponsor-card.silver .sponsor-logo-box img { width: 120px; height: 55px; }
.sponsor-card:hover .sponsor-logo-box img { transform: translateY(-2px) scale(1.05); filter: drop-shadow(0 10px 18px rgba(16, 24, 20, 0.16)) drop-shadow(0 3px 6px rgba(16, 24, 20, 0.08)); }
.sponsor-logo-box::after { content: ""; position: absolute; top: -60%; left: -90%; width: 60%; height: 220%; background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.82) 50%, transparent 80%); transform: rotate(25deg); opacity: 0; pointer-events: none; transition: all 0.65s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sponsor-card:hover .sponsor-logo-box::after { left: 140%; opacity: 1; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 20px 14px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal.active {
  display: grid;
}
.modal-card {
  width: min(540px, 100%);
  padding: 22px;
  position: relative;
  max-height: calc(100vh - 40px);
}

/* =====================================================================
   ADMIN EDIT & DETAIL MODAL (SCROLLABLE, RESPONSIVE 2-COL GRID)
   ===================================================================== */
.admin-edit-modal-card {
  width: min(640px, calc(100% - 24px)) !important;
  max-width: 640px !important;
  max-height: min(90vh, 850px) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  border-radius: 18px !important;
  background: var(--panel, #0b1a11) !important;
  border: 1.5px solid var(--line, rgba(255, 255, 255, 0.15)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.6) !important;
  overflow: hidden !important;
  position: relative !important;
}

.admin-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}
.admin-modal-head-text {
  min-width: 0;
  flex: 1;
}
.admin-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
  color: var(--gold-2, #f5d77f);
  line-height: 1.3;
}
.admin-modal-sub {
  font-size: 12px;
  color: var(--muted, #94a3b8);
  margin-top: 3px;
}
.admin-modal-close-btn {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.admin-modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px 20px 20px;
  -webkit-overflow-scrolling: touch;
}
.admin-modal-body::-webkit-scrollbar {
  width: 6px;
}
.admin-modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.admin-modal-body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 999px;
}
.admin-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}

.admin-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 12px;
}
@media (max-width: 580px) {
  .admin-modal-grid {
    grid-template-columns: 1fr;
  }
}
.admin-modal-grid .field.span-2 {
  grid-column: 1 / -1;
}

.admin-modal-upload-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
}
.admin-modal-upload-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-modal-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 16px;
  margin-top: 10px;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  position: sticky;
  bottom: -20px;
  background: linear-gradient(180deg, rgba(11, 26, 17, 0.88) 0%, rgba(11, 26, 17, 0.98) 40%, rgba(11, 26, 17, 1) 100%);
  padding-bottom: 6px;
  z-index: 5;
}

/* =====================================================================
   VIP PARTNER SHOWCASE MODAL (3D MEDALLION & BRUSHED METAL PLATE)
   ===================================================================== */
.sponsor-vip-card {
  max-width: 520px !important;
  width: min(520px, calc(100% - 24px));
  text-align: center;
  border-radius: 26px !important;
  padding: 0 22px 24px !important; /* Zero top-padding so elements attach directly to inner line without gap */
  margin-top: 32px !important;
  position: relative !important;
  overflow: visible !important;
  background: radial-gradient(ellipse at 50% 10%, rgba(20, 52, 34, 0.98) 0%, rgba(8, 20, 13, 0.98) 60%, rgba(4, 11, 7, 0.99) 100%) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 2.5px solid #cbd5e1 !important;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 25px 75px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(200, 230, 215, 0.2),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6) !important;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

/* Tier Variations */
.sponsor-vip-card.tier-platinum {
  border-color: #93c5fd !important;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 25px 75px rgba(0, 0, 0, 0.95),
    0 0 45px rgba(147, 197, 253, 0.3),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6) !important;
}
.sponsor-vip-card.tier-gold {
  border-color: #d4af37 !important;
  box-shadow: 
    0 0 0 1px rgba(255, 230, 150, 0.35),
    0 25px 75px rgba(0, 0, 0, 0.95),
    0 0 45px rgba(212, 175, 55, 0.3),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6) !important;
}
.sponsor-vip-card.tier-silver {
  border-color: #cbd5e1 !important;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 25px 75px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(200, 230, 215, 0.2),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6) !important;
}

/* TOP-CENTER 3D EMBLEM / MEDALLION INTEGRATED WITH TOP BORDER */
.sponsor-medallion-wrap {
  position: absolute;
  top: -14px; /* Peaks gently above the border, deeply nestled in chassis */
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-medallion-bevel {
  width: 96px;
  height: 90px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #cbd5e1 25%, #64748b 60%, #334155 85%, #cbd5e1 100%);
  padding: 4px;
  border: 2px solid #cbd5e1;
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 20px rgba(226, 232, 240, 0.3),
    inset 0 1.5px 2px #ffffff,
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-vip-card.tier-gold .sponsor-medallion-bevel {
  background: linear-gradient(145deg, #ffffff 0%, #fef08a 25%, #eab308 55%, #854d0e 85%, #fde047 100%);
  border-color: #eab308;
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.8),
    0 0 22px rgba(234, 179, 8, 0.35),
    inset 0 1.5px 2px #ffffff;
}
.sponsor-vip-card.tier-platinum .sponsor-medallion-bevel {
  background: linear-gradient(145deg, #ffffff 0%, #e0f2fe 30%, #60a5fa 60%, #1e40af 85%, #93c5fd 100%);
  border-color: #60a5fa;
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.8),
    0 0 22px rgba(96, 165, 250, 0.35),
    inset 0 1.5px 2px #ffffff;
}

.sponsor-medallion-inner {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f8fafc 85%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.12),
    inset 0 -1px 1px rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.sponsor-medallion-logo {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  display: block;
}

/* TOP ROW: BRUSHED METALLIC ENGRAVED PLATE + CLOSE BUTTON */
.sponsor-modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10;
}

/* Plakat badge attached flush to the inner line ("nempel di line dalam tanpa jarak") */
.sponsor-plate-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 0 0 8px 8px; /* Square top docked to inner line, rounded bottom */
  margin: 0; /* Exactly 0px gap with top inner line */
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 35%, #cbd5e1 65%, #94a3b8 100%);
  border-left: 1.5px solid rgba(255, 255, 255, 0.95);
  border-right: 1.5px solid rgba(255, 255, 255, 0.95);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.95);
  border-top: none; /* Seamlessly joins the top frame line */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), inset 0 1px 1px #ffffff;
  line-height: 1.15;
  user-select: none;
}
.sponsor-vip-card.tier-gold .sponsor-plate-badge {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 30%, #eab308 65%, #a16207 100%);
  border-left: 1.5px solid rgba(255, 255, 255, 0.95);
  border-right: 1.5px solid rgba(255, 255, 255, 0.95);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.95);
  border-top: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 10px rgba(234, 179, 8, 0.3), inset 0 1px 1px #ffffff;
}
.sponsor-vip-card.tier-platinum .sponsor-plate-badge {
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 30%, #93c5fd 65%, #3b82f6 100%);
  border-left: 1.5px solid rgba(255, 255, 255, 0.95);
  border-right: 1.5px solid rgba(255, 255, 255, 0.95);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.95);
  border-top: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 10px rgba(147, 197, 253, 0.3), inset 0 1px 1px #ffffff;
}

.sponsor-plate-tier {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.2px;
  color: #0f172a;
  text-transform: uppercase;
}
.sponsor-vip-card.tier-gold .sponsor-plate-tier {
  color: #422006;
}
.sponsor-vip-card.tier-platinum .sponsor-plate-tier {
  color: #0c4a6e;
}

.sponsor-plate-sub {
  font-family: var(--font-display);
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.8px;
  color: #334155;
  text-transform: uppercase;
  margin-top: 2px;
}
.sponsor-vip-card.tier-gold .sponsor-plate-sub {
  color: #713f12;
}
.sponsor-vip-card.tier-platinum .sponsor-plate-sub {
  color: #0369a1;
}

.sponsor-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(226, 232, 240, 0.5);
  background: rgba(10, 20, 15, 0.7);
  color: #cbd5e1;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  margin-top: 6px;
  margin-right: 0;
}
.sponsor-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: rotate(90deg);
}

.sponsor-modal-body-content {
  margin-top: 36px; /* Title sits elegantly below the medallion with 12px gap */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Typography & Badges */
.sponsor-modal-name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff4e0 0%, #ecd09b 30%, #cfa65e 65%, #947132 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
  line-height: 1.25;
  text-align: center;
}

.sponsor-category-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.sponsor-category-pill {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.9), rgba(4, 47, 46, 0.9));
  border: 1px solid rgba(52, 211, 153, 0.6);
  color: #6ee7b7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Frosted Glassmorphism Pod (Description & Address inside) */
.sponsor-desc-pod {
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(10, 26, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35); /* Specular highlight rim */
  border-radius: 18px;
  padding: 16px 20px 14px;
  margin: 0 0 16px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 12px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sponsor-desc-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* Address Row inside the Glassmorphism Pod */
.sponsor-address-row {
  font-size: 12.5px;
  color: #cbd5e1;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.4;
  width: 100%;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
.sponsor-pin-icon {
  font-size: 14px;
  color: #f59e0b;
  flex-shrink: 0;
}

/* Action Buttons Wrap */
.sponsor-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Primary WhatsApp Button */
.sponsor-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #10b981 0%, #059669 60%, #047857 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.42), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  border: 1px solid #34d399;
  border-top: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: all 0.22s ease;
  user-select: none;
  width: 100%;
}
.sponsor-btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6);
  filter: brightness(1.08);
}

/* Secondary Supporting Channels Row */
.sponsor-channels-row {
  display: grid;
  gap: 10px;
  width: 100%;
}

.sponsor-channel-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%), rgba(12, 24, 18, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}
.sponsor-channel-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.8);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 0 12px rgba(212, 175, 55, 0.25);
  filter: brightness(1.1);
}
.sponsor-channel-btn .channel-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fae6c8;
}
.sponsor-channel-btn .channel-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fae6c8;
}

/* Specific Channel Accents */
.sponsor-channel-btn.channel-maps {
  border-color: rgba(243, 204, 115, 0.45);
}
.sponsor-channel-btn.channel-maps .channel-icon-wrap,
.sponsor-channel-btn.channel-maps .channel-label {
  color: #ffd700;
}
.sponsor-channel-btn.channel-maps:hover {
  border-color: #ffd700;
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.25);
}

.sponsor-channel-btn.channel-ig {
  border-color: rgba(225, 48, 108, 0.45);
}
.sponsor-channel-btn.channel-ig .channel-icon-wrap,
.sponsor-channel-btn.channel-ig .channel-label {
  color: #f472b6;
}
.sponsor-channel-btn.channel-ig:hover {
  border-color: #e1306c;
  box-shadow: 0 6px 18px rgba(225, 48, 108, 0.3);
}

.sponsor-channel-btn.channel-web {
  border-color: rgba(56, 189, 248, 0.45);
}
.sponsor-channel-btn.channel-web .channel-icon-wrap,
.sponsor-channel-btn.channel-web .channel-label {
  color: #7dd3fc;
}
.sponsor-channel-btn.channel-web:hover {
  border-color: #38bdf8;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.3);
}
.form, .field { display: grid; gap: 12px; }
.field { gap: 6px; }
.field label { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); color: var(--text); min-height: 40px; padding: 9px 10px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
input[type="password"]::-ms-reveal, input[type="password"]::-ms-clear { display: none; }
.password-input-wrap { position: relative; display: flex; align-items: center; width: 100%; }
.password-input-wrap input { padding-right: 44px !important; }
.password-toggle-btn { position: absolute; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; transition: color 0.18s ease, background 0.18s ease; }
.password-toggle-btn:hover { color: var(--gold-2); background: rgba(243, 204, 115, 0.12); }
.password-toggle-btn.showing { color: var(--gold); background: rgba(243, 204, 115, 0.14); }
option { color: #09120d; background: #f7f8ef; }
.role-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }
.role-super { background: rgba(243, 204, 115, 0.2); color: var(--gold-2); border: 1px solid var(--gold); }
.role-operator { background: rgba(46, 213, 126, 0.2); color: #b7ffd4; border: 1px solid var(--green); }
.jersey-tag { background: var(--gold); color: #0c1811; font-weight: 950; font-size: 11px; padding: 2px 6px; border-radius: 4px; display: inline-block; }
.pos-tag { font-size: 10px; padding: 1px 5px; border-radius: 4px; font-weight: 900; letter-spacing: 0.5px; margin-left: 4px; display: inline-block; }
.pos-gk { background: rgba(255, 107, 107, 0.25); color: #ff9b9b; border: 1px solid #ff6b6b; }
.pos-cap { background: rgba(243, 204, 115, 0.25); color: var(--gold-2); border: 1px solid var(--gold); }
.pos-player { background: rgba(255, 255, 255, 0.08); color: var(--soft); }
.admin-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 80vh; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; margin-top: 20px; }
.admin-side { border-right: 1px solid var(--line); padding: 18px; background: rgba(0, 0, 0, 0.16); min-height: 100%; display: flex; flex-direction: column; gap: 20px; }
.admin-main { padding: 24px; min-width: 0; }
.admin-tabs { display: flex; flex-direction: column; gap: 8px; }
.tab-btn { min-height: 44px; text-align: left; padding: 10px 14px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.03); font-weight: 600; border-radius: var(--radius); transition: 0.2s; }
.tab-btn.active { background: rgba(243, 204, 115, 0.12); border-color: var(--gold); color: var(--gold-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.025); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; font-size: 13px; }
th { color: var(--gold); text-transform: uppercase; font-size: 11px; }
.inline-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.inline-form .wide { grid-column: span 2; }
.inline-form .full { grid-column: 1 / -1; }
.score-stepper { display: flex; align-items: center; gap: 6px; }
.score-stepper input { text-align: center; font-weight: 900; font-size: 16px; }
.step-btn { min-width: 38px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); color: var(--gold-2); font-weight: 900; font-size: 16px; display: inline-grid; place-items: center; transition: 0.18s; }
.step-btn:hover { background: rgba(243, 204, 115, 0.18); border-color: var(--gold); }
/* =====================================================================
   V2 EA SPORTS FC / CHAMPIONS LEAGUE FUT GOLDEN PLAYER CARDS
   ===================================================================== */
.scorer-panel {
  border: 1.5px solid rgba(243, 204, 115, 0.35);
  border-radius: 18px;
  padding: 22px 24px 28px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(243, 204, 115, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #0d1a13 0%, #060e0a 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(243, 204, 115, 0.15);
}
.scorer-banner {
  margin-bottom: 22px;
}
.fut-scorer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nav {
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .brand { flex-shrink: 0; }
  .nav-links { flex-shrink: 0; }
  .fut-scorer-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 8px;
  }
  .fut-scorer-grid::-webkit-scrollbar {
    height: 4px;
  }
  .fut-scorer-grid::-webkit-scrollbar-thumb {
    background: rgba(243, 204, 115, 0.4);
    border-radius: 999px;
  }
  .fut-scorer-grid .fut-card {
    flex: 0 0 clamp(140px, 34vw, 175px);
    scroll-snap-align: start;
  }
}

.fut-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.24s ease;
  user-select: none;
  width: 100%;
}

.fut-card:hover {
  transform: translateY(-5px) scale(1.03);
  filter: brightness(1.08);
  z-index: 5;
}

/* 3D BEVEL BORDERS: DISTINCT PER PODIUM RANK */
.fut-card-bevel {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  background: linear-gradient(145deg, #ffffff 0%, #ffeaa7 15%, #ffd700 40%, #9e7512 70%, #fff0a8 100%);
  padding: 3px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), 0 0 20px rgba(243, 204, 115, 0.35);
  border-radius: 6px 6px 0 0;
}

.fut-card.gold-card .fut-card-bevel {
  background: linear-gradient(145deg, #ffffff 0%, #ffeaa7 15%, #ffd700 40%, #9e7512 70%, #fff0a8 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75), 0 0 24px rgba(255, 215, 0, 0.5);
}

.fut-card.silver-card .fut-card-bevel {
  background: linear-gradient(145deg, #ffffff 0%, #e2e8f0 30%, #94a3b8 65%, #f1f5f9 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 20px rgba(226, 232, 240, 0.45);
}

.fut-card.bronze-card .fut-card-bevel {
  background: linear-gradient(145deg, #ffd8b3 0%, #e69f65 35%, #8c4c1a 70%, #f7b988 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 20px rgba(230, 159, 101, 0.45);
}

/* RANK #4 & #5 (NON-PODIUM): TOURNAMENT EMERALD METALLIC BEVEL - DISTINCT FROM GOLD #1 */
.fut-card.standard-card .fut-card-bevel {
  background: linear-gradient(145deg, #e6fffa 0%, #6ee7b7 20%, #10b981 45%, #065f46 75%, #34d399 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 20px rgba(16, 185, 129, 0.45);
}

/* UNIFIED CARD BODY: IDENTICAL PREMIUM METALLIC GOLD ACROSS ALL 5 CARDS */
.fut-card-body {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.35) 0%, transparent 55%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 2px, transparent 2px, transparent 8px),
    linear-gradient(160deg, #ffeaa7 0%, #ffd700 25%, #d4af37 60%, #996e14 100%);
  padding: 10px 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 165px;
  gap: 6px;
}

/* TOP HEADER ROW: RANK + JERSEY + GOALS PILL */
.fut-card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(60, 40, 5, 0.22);
}

.fut-card-rank-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(14, 10, 4, 0.85);
  color: #ffd700;
  line-height: 1;
}

.fut-card.silver-card .fut-card-rank-tag {
  background: rgba(15, 23, 42, 0.88);
  color: #f1f5f9;
}

.fut-card.bronze-card .fut-card-rank-tag {
  background: rgba(36, 16, 6, 0.88);
  color: #ffd8b3;
}

.fut-card.standard-card .fut-card-rank-tag {
  background: rgba(4, 28, 16, 0.9);
  color: #6ee7b7;
}

.fut-card-jersey-tag {
  font-family: var(--font-score);
  font-size: 13px;
  font-weight: 700;
  color: rgba(20, 14, 4, 0.7);
}

.fut-goals-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(14, 20, 14, 0.9);
  border: 1.5px solid #d4af37;
  color: #ffeaa7;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.4px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.fut-card.silver-card .fut-goals-pill {
  border-color: #cbd5e1;
}

.fut-card.bronze-card .fut-goals-pill {
  border-color: #e69f65;
}

.fut-card.standard-card .fut-goals-pill {
  border-color: #10b981;
}

.fut-goals-pill svg {
  color: #ffeaa7;
}

/* CENTER: CLUB CREST (AMPLE HEIGHT, NO COLLISION WITH TEXT) */
.fut-card-crest-wrap {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 52px;
}

.fut-club-crest {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: visible;
  background: transparent;
  transition: transform 0.2s ease;
}

.fut-card:hover .fut-club-crest {
  transform: scale(1.1);
}

.fut-club-crest .match-card-logo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BOTTOM: PLAYER NAME & TEAM (SPACIOUS, NO OVERLAP) */
.fut-card-bottom {
  width: 100%;
  text-align: center;
  padding-top: 6px;
  border-top: 1.5px solid rgba(60, 40, 5, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.fut-player-name {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.35vw, 15px);
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #140e03;
  line-height: 1.2;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.fut-team-name {
  font-family: var(--font-display);
  font-size: 10.5px;
  color: #4a3507;
  margin-top: 2px;
  font-weight: 800;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* =====================================================================
   LIVE GOAL CELEBRATION OVERLAY BANNER
   ===================================================================== */
.goal-banner {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translate(-50%, -140%) scale(0.92);
  z-index: 999;
  width: min(520px, calc(100% - 24px));
  pointer-events: none;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}
.goal-banner.active {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.goal-banner-inner {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 18px 20px 22px;
  background: radial-gradient(circle at 50% 0%, rgba(46, 213, 126, 0.34), rgba(13, 27, 21, 0.98) 68%), linear-gradient(145deg, #071610, #0d2219);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.82), 0 0 42px rgba(46, 213, 126, 0.32), inset 0 0 24px rgba(243, 204, 115, 0.16);
  text-align: center;
}
.goal-banner-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: var(--soft);
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.goal-banner-close:hover { border-color: var(--gold); color: var(--gold-2); }
.goal-banner-top { display: flex; justify-content: center; margin-bottom: 6px; }
.goal-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  background: rgba(46, 213, 126, 0.18);
  border: 1px solid rgba(46, 213, 126, 0.5);
  color: #b7ffd4;
}
.goal-banner-headline { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px 0 12px; }
.goal-ball { font-size: 32px; display: inline-block; animation: goalBallBounce 0.65s ease-in-out infinite alternate; }
.goal-word {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 950;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff1b8, #f3cc73, #2ed57e, #fff1b8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goalShimmer 2s linear infinite;
}
.goal-banner-team-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  margin-bottom: 12px;
}
.goal-banner-team { font-size: 18px; font-weight: 950; color: var(--gold-2); line-height: 1.2; }
.goal-banner-scorer { font-size: 13px; font-weight: 700; color: #b7ffd4; margin-top: 3px; }
.goal-banner-scorebox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--soft);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--line);
  flex-wrap: wrap;
}
.goal-banner-score-num {
  font-size: 20px;
  font-weight: 950;
  color: var(--gold-2);
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(243, 204, 115, 0.16);
  border: 1px solid var(--gold);
}
.goal-banner-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.08); }
.goal-banner-bar-fill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); transform-origin: left center; }
@keyframes goalBallBounce { from { transform: translateY(0) rotate(0deg) scale(1); } to { transform: translateY(-6px) rotate(25deg) scale(1.12); } }
@keyframes goalShimmer { to { background-position: 200% center; } }
@keyframes goalBarCountdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* TOAST NOTIFICATION CONTAINER */
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 999; display: grid; gap: 8px; width: min(360px, calc(100% - 32px)); pointer-events: none; }
.toast-item { border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); background: rgba(5, 12, 9, 0.96); padding: 12px; box-shadow: var(--shadow); pointer-events: auto; }
.toast-item.error { border-left-color: var(--red); }

/* =====================================================================
   ADMIN UPLOAD FIELDS & PREVIEW THUMBNAILS
   ===================================================================== */
.upload-field-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.upload-field-wrap input[type="text"] {
  flex: 1 1 240px;
}
.upload-preview-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  max-height: 52px;
  border-radius: 10px;
  border: 1.5px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  position: relative;
}
.upload-preview-box.light-bg {
  background: #ffffff;
  color: #101610;
}
.upload-preview-box img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}
.upload-btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: rgba(243, 204, 115, 0.14);
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  user-select: none;
}
.upload-btn-label:hover {
  background: rgba(243, 204, 115, 0.25);
  transform: translateY(-1px);
}
.upload-btn-label.uploading {
  opacity: 0.65;
  pointer-events: none;
}

@media (max-width: 640px) {
  .score-grid { grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
  .score-number { order: -1; grid-template-columns: 62px 24px 62px; font-size: 58px; }
  .match-info, .inline-form, .admin-tabs { grid-template-columns: 1fr; }
  .match-teams-bar { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .match-team-side { flex-direction: column; gap: 6px; text-align: center; }
  .match-team-side.home, .match-team-side.away { justify-content: center; text-align: center; }
  .match-center-score { font-size: 22px; padding: 4px 10px; gap: 4px; }
  .match-center-vs { font-size: 15px; padding: 4px 10px; }
  .match-mid-box { min-width: 60px; }
  .meta-datetime { font-size: 13px; }
  .meta-location { font-size: 12px; }
  .brand { padding: 5px 12px 5px 10px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 14.5px; }
  .brand-sub { font-size: 9.5px; }
}

/* =====================================================================
   DATA-READY LOADING GATE (ZERO BLANK-SCREEN FLASH)
   ===================================================================== */
.loading-gate-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  width: 100%;
  padding: 40px 16px;
}
.loading-gate-box {
  width: min(440px, 100%);
  padding: 38px 28px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(243, 204, 115, 0.12) 0%, transparent 68%),
    linear-gradient(180deg, rgba(8, 22, 15, 0.92) 0%, rgba(4, 10, 7, 0.96) 100%);
  border: 1px solid rgba(243, 204, 115, 0.32);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  animation: loadingGatePulse 2.2s ease-in-out infinite alternate;
}
.loading-gate-box::before {
  content: "";
  position: absolute;
  top: 0; left: 15%; right: 15%; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.loading-gate-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.loading-gate-glow::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 204, 115, 0.32) 0%, transparent 70%);
  filter: blur(10px);
}
.loading-gate-brand {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-2);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.loading-gate-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.loading-gate-sub {
  font-size: 12.5px;
  color: var(--soft);
  line-height: 1.5;
}
@keyframes loadingGatePulse {
  from { opacity: 0.92; transform: scale(0.995); }
  to { opacity: 1; transform: scale(1); }
}
.app-fade-in {
  animation: appFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes appFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}


