.games-app {
  --g-bg: #09081a;
  --g-card: #100e28;
  --g-line: rgba(217, 70, 239, 0.25);
  --g-accent: #00ff87;
  --g-cyan: #00d2ff;
  --g-magenta: #d946ef;
  color: #edf5ff;
  background: 
    radial-gradient(circle at 85% 15%, rgba(0, 210, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(217, 70, 239, 0.1) 0%, transparent 45%),
    var(--g-bg);
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border-radius: 22px;
  padding: 22px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 70vh;
}

.games-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center
}

.games-head h2 {
  font-size: 2rem;
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 2px 0
}

.games-head p,
.games-card p {
  color: #9eb0c9;
  margin: 0
}

.games-kicker {
  color: var(--g-cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.games-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.games-head-actions .btn-fullscreen {
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: #00f2fe;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.games-head-actions .btn-fullscreen:hover {
  background: rgba(0, 210, 255, 0.25);
  border-color: #00ff87;
  color: #ffffff;
  transform: translateY(-1px);
}

.games-head-actions .btn-fullscreen.is-fullscreen {
  background: rgba(255, 75, 110, 0.2);
  border-color: rgba(255, 75, 110, 0.5);
  color: #ff859c;
}

.games-head-actions .btn-fullscreen.is-fullscreen:hover {
  background: rgba(255, 75, 110, 0.35);
  color: #ffffff;
}

.games-head-actions .fs-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* Relógio alinhado à direita no cabeçalho ao lado de Tela Cheia */
.games-head-clock {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(10, 20, 36, 0.65);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.head-clock-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.head-clock-time {
  font-family: 'Rajdhani', 'Chakra Petch', monospace;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

/* MODO TELA CHEIA EXCLUSIVO DO APP (Sem cabeçalho, sem menu inferior, tela 100% limpa) */
body.bcl-games-fullscreen,
html.bcl-games-fullscreen {
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.bcl-games-fullscreen .ea-topbar,
body.bcl-games-fullscreen #bcl-bottom-nav,
body.bcl-games-fullscreen .ea-bottom-nav,
body.bcl-games-fullscreen .ea-fc-sidebar,
body.bcl-games-fullscreen #ea-fc-searchbar-container {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  pointer-events: none !important;
}

body.bcl-games-fullscreen #app {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh !important;
}

body.bcl-games-fullscreen .ea-app-wrap {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh !important;
}

body.bcl-games-fullscreen .ea-fc-content,
body.bcl-games-fullscreen main.ea-fc-content,
.ea-content-games-fs {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  max-width: 100vw !important;
  width: 100% !important;
  min-height: 100vh !important;
}

body.bcl-games-fullscreen .games-app {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  border: none !important;
  min-height: 100vh !important;
  padding-top: max(8px, env(safe-area-inset-top, 0px)) !important;
  padding-right: max(12px, calc(env(safe-area-inset-right, 0px) + 8px)) !important;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
  padding-left: max(12px, calc(env(safe-area-inset-left, 0px) + 8px)) !important;
  margin: 0 !important;
  box-shadow: none !important;
}

body.bcl-games-fullscreen .pitch-vertical {
  min-height: 400px !important;
  max-height: 60vh !important;
  aspect-ratio: 1/1.52 !important;
}

.games-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin: 22px 0;
  padding-bottom: 4px;
}

.games-tabs button,
.event-types button,
.match-controls button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 14, 40, 0.7);
  backdrop-filter: blur(8px);
  color: #c9d6e7;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.games-tabs button:hover,
.event-types button:hover,
.match-controls button:hover {
  border-color: rgba(0, 210, 255, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.games-tabs button.active,
.event-types button.active {
  background: linear-gradient(135deg, #00d2ff, #00ff87);
  color: #06130e;
  border-color: #00ff87;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(0, 255, 135, 0.35);
}

.games-error,
.games-warning {
  padding: 12px;
  border-radius: 10px;
  background: #59252b;
  color: #ffd7da;
  margin: 12px 0
}

.games-warning {
  background: #5a421c;
  color: #ffe1a3
}

.games-grid>.games-warning {
  grid-column: 1/-1;
  margin: 0
}

/* ============== SCOREBOARD V2 REDESIGN (Fiel ao Mockup media_1791236383044.png) ============== */
.scoreboard-v2 {
  display: flex !important;
  flex-direction: column !important;
  background: linear-gradient(135deg, rgba(16, 14, 40, 0.98), rgba(9, 8, 26, 0.98)) !important;
  border: 1.5px solid transparent !important;
  position: relative !important;
  border-radius: 20px !important;
  padding: 14px 18px !important;
  gap: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(0, 210, 255, 0.15) !important;
}

.scoreboard-v2::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, #00d2ff 0%, #00ff87 40%, #d946ef 100%);
  z-index: -1;
  pointer-events: none;
}

.scoreboard-v2 .sb-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
}

.scoreboard-v2 .sb-league-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Rajdhani', "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #edf5ff;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
}

.scoreboard-v2 .sb-live-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #ff5555;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.scoreboard-v2 .sb-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3333;
  box-shadow: 0 0 8px #ff3333;
  animation: liveBlink 1.4s infinite ease-in-out;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.scoreboard-v2 .sb-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.scoreboard-v2 .sb-team-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.scoreboard-v2 .sb-crest-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid;
  background: radial-gradient(circle, rgba(16, 25, 45, 0.95) 0%, rgba(9, 14, 28, 0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.scoreboard-v2 .sb-crest-ring:hover {
  transform: scale(1.08);
}

.scoreboard-v2 .sb-crest-icon {
  width: 32px;
  height: 32px;
}

.scoreboard-v2 .sb-team-label {
  font-size: clamp(0.75rem, 1.2vw + 0.5rem, 1.05rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.scoreboard-v2 .sb-center-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}

.scoreboard-v2 .sb-clock-display {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #00d2ff;
  font-size: clamp(1.1rem, 1.8vw + 0.6rem, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 0 14px rgba(0, 210, 255, 0.65);
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease;
}

.scoreboard-v2 .sb-clock-display:hover {
  transform: scale(1.05);
}

.scoreboard-v2 .sb-stoppage-badge {
  font-size: 0.72rem;
  color: #00ff87;
  font-weight: 800;
}

.scoreboard-v2 .sb-score-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.scoreboard-v2 .sb-score-num {
  font-family: 'Rajdhani', "Montserrat", monospace;
  font-size: clamp(2.4rem, 6vw + 0.8rem, 3.8rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 210, 255, 0.35);
}

.scoreboard-v2 .sb-score-separator {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
}

/* SUBHEADER: FORMAÇÕES TÁTICAS */
.tactical-formations-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 14, 40, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 14px;
  padding: 8px 16px;
  margin: 12px 0 16px 0;
  backdrop-filter: blur(10px);
}

.tactical-formations-bar .tact-side {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
}

.tactical-formations-bar .tact-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.tactical-formations-bar .tact-name {
  color: #edf5ff;
  text-transform: uppercase;
}

.tactical-formations-bar .tact-role {
  color: #94a3b8;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.tactical-formations-bar .tact-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tactical-formations-bar .tact-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-transform: uppercase;
}

.tactical-formations-bar .tact-system {
  font-size: 0.75rem;
  font-weight: 800;
  color: #00d2ff;
}
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-clock {
  text-align: center;
  display: flex;
  flex-direction: column
}

.match-clock strong {
  font: 800 3.2rem/1 monospace;
  color: var(--g-accent)
}

.match-clock small {
  text-transform: uppercase;
  color: #9eb0c9
}

.match-clock em {
  color: #ffd166
}

.match-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0
}

.match-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.match-controls button svg {
  flex-shrink: 0;
}

.match-controls button:disabled {
  opacity: .35
}

.match-controls .danger {
  background: #9e3340;
  border-color: #c44
}

.quick-actions .btn-own-goal {
  border-color: rgba(239, 68, 68, 0.4);
}

.quick-actions .btn-own-goal.active {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.pitch-stat .own-goal-count,
.list-card-stats .st-own-goal {
  color: #f87171;
  font-style: normal;
  font-weight: 800;
}

/* ============== VIEW CONTROLS & COMPACT TOGGLES ============== */
.view-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 12px 0;
}

.view-toggle {
  display: inline-flex;
  justify-content: center;
  gap: 0;
}

.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #0d1829;
  border: 1px solid var(--g-line);
  color: #9eb0c9;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.view-toggle button:first-child {
  border-radius: 10px 0 0 10px;
}

.view-toggle button:last-child {
  border-radius: 0 10px 10px 0;
  border-left: 0;
}

.view-toggle button:hover {
  color: #eaf2ff;
  background: #122035;
}

.view-toggle button.active {
  background: linear-gradient(180deg, var(--g-accent), #2fb87b);
  color: #06130e;
  border-color: var(--g-accent);
  box-shadow: 0 4px 14px rgba(66, 211, 146, 0.25);
}

.view-toggle button.active svg {
  stroke: #06130e;
}

.size-toggles {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-size-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #0d1829;
  border: 1px solid var(--g-line);
  border-radius: 8px;
  color: #9eb0c9;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.btn-size-toggle:hover {
  color: #edf5ff;
  background: #14233a;
  border-color: rgba(66, 211, 146, 0.4);
}

.btn-size-toggle.active {
  background: rgba(66, 211, 146, 0.15);
  border-color: var(--g-accent);
  color: #42d392;
  box-shadow: 0 0 10px rgba(66, 211, 146, 0.2);
}

.btn-size-toggle svg {
  flex-shrink: 0;
}

/* ============== COMPACT SCOREBOARD (DESKTOP & BASE) ============== */
.scoreboard-v2.compact-scoreboard {
  padding: 12px 18px;
  gap: 12px;
}

.scoreboard-v2.compact-scoreboard .scoreboard-team {
  gap: 4px;
}

.scoreboard-v2.compact-scoreboard .sb-clock-wrap {
  padding: 6px 14px;
  gap: 2px;
  min-width: 130px;
}

.scoreboard-v2.compact-scoreboard .sb-clock {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.scoreboard-v2.compact-scoreboard .sb-score {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.scoreboard-v2.compact-scoreboard .sb-team-name {
  font-size: clamp(0.9rem, 1.1vw + 0.4rem, 1.2rem);
}

/* ============== TACTICAL PITCH - MOBILE FIRST (VERTICAL 90°) ============== */
.pitch-stage-v2 {
  margin-top: 14px;
  background: #0b1626;
  border: 1px solid var(--g-line);
  border-radius: 18px;
  padding: 18px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  position: relative;
  transition: padding 0.2s ease, gap 0.2s ease;
}

/* Compact Pitch Base */
.pitch-stage-v2.compact-pitch {
  padding: 10px 8px;
  gap: 6px;
  margin-top: 8px;
}

.pitch-vertical.compact-pitch {
  min-height: 440px;
  aspect-ratio: 1/1.75;
}

.pitch-stage-v2.compact-pitch .pitch-side-label {
  padding: 6px 10px;
  font-size: 0.78rem;
}

.pitch-vertical.compact-pitch .game-fut-card {
  width: 62px;
}

.pitch-vertical.compact-pitch .game-fut-card > strong {
  font-size: 0.58rem;
  bottom: 5px;
}

/* Labels inline do DESKTOP — no mobile: OCULTOS */
.pitch-team-label-dt {
  display: none
}

/* Labels mobile vertical (top/bottom) - visíveis no mobile */
.pitch-stage-v2 .pitch-side-label {
  width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: .9rem;
  color: #eaf2ff;
  backdrop-filter: blur(3px)
}

.pitch-stage-v2 .pitch-side-label h4 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.05em
}

.pitch-stage-v2 .pitch-side-label.top.away {
  background: linear-gradient(180deg, color-mix(in srgb, var(--awayColor) 22%, transparent), rgba(255, 255, 255, .02));
  border-top: 3px solid var(--awayColor);
  box-shadow: inset 0 2px 12px color-mix(in srgb, var(--awayColor) 18%, transparent)
}

.pitch-stage-v2 .pitch-side-label.bottom.home {
  background: linear-gradient(0deg, color-mix(in srgb, var(--homeColor) 22%, transparent), rgba(255, 255, 255, .02));
  border-bottom: 3px solid var(--homeColor);
  box-shadow: inset 0 -2px 12px color-mix(in srgb, var(--homeColor) 18%, transparent)
}

/* ---------- MOBILE: CAMPO VERTICAL (perfeito atualmente, mantido) ---------- */
.pitch-vertical {
  clear: none;
  position: relative;
  width: 100%;
  aspect-ratio: 1/2.15;
  min-height: 620px;
  border: 2px solid rgba(0, 255, 135, 0.75);
  border-radius: 14px;
  overflow: hidden;
  background-color: #0d291e;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .65), 0 0 24px rgba(0, 255, 135, 0.25), 0 18px 40px rgba(0, 0, 0, .4);
}

.pitch-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 255, 135, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, rgba(8, 28, 18, .3), rgba(8, 28, 18, .15) 50%, rgba(8, 28, 18, .3)),
    url("../../background/campo-futebol-aereo.jpg?v=20261006") center/cover no-repeat;
  pointer-events: none;
}

/* Glow MOBILE (vertical - top away / bottom home) */
.pitch-glow {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit
}

.pitch-glow.top {
  top: -1px;
  left: 0;
  right: 0;
  height: 22%;
  background: radial-gradient(ellipse 90% 100% at 50% 0, color-mix(in srgb, var(--awayColor) 72%, transparent) 0%, color-mix(in srgb, var(--awayColor) 40%, transparent) 40%, transparent 78%)
}

.pitch-glow.bottom {
  bottom: -1px;
  left: 0;
  right: 0;
  height: 22%;
  background: radial-gradient(ellipse 90% 100% at 50% 100%, color-mix(in srgb, var(--homeColor) 72%, transparent) 0%, color-mix(in srgb, var(--homeColor) 40%, transparent) 40%, transparent 78%)
}

.pitch-glow.left,
.pitch-glow.right {
  display: none
}

/* Bordas finas MOBILE (vertical: top away / bottom home) */
.pitch-vertical::before,
.pitch-vertical::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 3;
  pointer-events: none
}

.pitch-vertical::before {
  top: -1px;
  background: linear-gradient(90deg, transparent, var(--awayColor), transparent);
  box-shadow: 0 0 16px 3px color-mix(in srgb, var(--awayColor) 80%, transparent)
}

.pitch-vertical::after {
  bottom: -1px;
  background: linear-gradient(90deg, transparent, var(--homeColor), transparent);
  box-shadow: 0 0 16px 3px color-mix(in srgb, var(--homeColor) 80%, transparent)
}

/* Marcações do campo */
.pitch-markings {
  display: none
}

.pitch-player {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 4;
  transition: transform .18s ease, filter .18s ease
}

.pitch-player:not(:disabled):hover,
.pitch-player:not(:disabled):focus {
  transform: translate(-50%, -53%) scale(1.08);
  filter: brightness(1.15);
  z-index: 6;
  outline: none
}

.pitch-player:disabled {
  cursor: default
}

/* ==========================================================================
   TACTICAL PLAYER TILES (QUADRADOS TÁTICOS FIÉIS AO MOCKUP media_1791236383044.png)
   ========================================================================== */
.tactical-tile-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.tactical-tile {
  position: relative;
  width: 58px;
  height: 68px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(13, 23, 44, 0.96) 0%, rgba(6, 11, 24, 0.98) 100%);
  border: 1.5px solid var(--tileNeon, #00d2ff);
  box-shadow: 0 0 12px color-mix(in srgb, var(--tileNeon, #00d2ff) 75%, transparent), 
              inset 0 0 8px color-mix(in srgb, var(--tileNeon, #00d2ff) 25%, transparent),
              0 6px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tactical-tile-btn:hover .tactical-tile,
.tactical-tile-btn:focus .tactical-tile {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 20px var(--tileNeon, #00d2ff), 0 8px 22px rgba(0, 0, 0, 0.7);
}

/* Canto Superior Esquerdo: OVR & Posição */
.tactical-tile .tile-corner-badge {
  position: absolute;
  top: 3px;
  left: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 3;
  line-height: 1;
}

.tactical-tile .tile-ovr {
  font-size: 0.82rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  letter-spacing: -0.02em;
}

.tactical-tile .tile-pos {
  font-size: 0.52rem;
  font-weight: 800;
  color: var(--tileNeon, #00d2ff);
  letter-spacing: 0.05em;
  margin-top: 1px;
}

/* Indicadores de Eventos (Gols, Assistências, etc.) */
.tactical-tile .tile-event-indicators {
  position: absolute;
  top: 2px;
  right: 2px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 4;
}

.tactical-tile .ev-badge {
  font-size: 0.55rem;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 4px;
  padding: 1px 3px;
  color: #fff;
  line-height: 1.1;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Foto do Jogador / Fallback Letra Inicial */
.tactical-tile .tile-photo-wrap {
  position: absolute;
  inset: 5px 3px 17px 3px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.tactical-tile .tile-player-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.7));
}

.tactical-tile .tile-fallback-letter {
  font-size: 1.5rem;
  font-weight: 900;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  user-select: none;
}

/* Nome na Base: Grande, Maiúsculo e Super Legível */
.tactical-tile .tile-name-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(2, 6, 16, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 2px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 3;
}

.tactical-tile .tile-name-label span {
  font-size: 0.62rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* No desktop: tiles ligeiramente maiores para visual imersivo */
@media (min-width: 768px) {
  .tactical-tile {
    width: 68px;
    height: 78px;
    border-radius: 12px;
  }
  .tactical-tile .tile-ovr {
    font-size: 0.92rem;
  }
  .tactical-tile .tile-pos {
    font-size: 0.58rem;
  }
  .tactical-tile .tile-name-label span {
    font-size: 0.7rem;
  }
}

/* ============ PLAYER CARD (MOBILE/BASE) - AUMENTADO ============== */
.game-fut-card {
  position: relative;
  width: 112px;
  aspect-ratio: 2/3;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent center/contain no-repeat;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08);
  text-align: center;
  transition: box-shadow 0.18s ease;
}

.pitch-player:hover .game-fut-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5), 0 0 0 2px rgba(66, 211, 146, 0.4), 0 0 20px rgba(66, 211, 146, 0.2);
}

.game-fut-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 8, 16, .92));
  pointer-events: none;
  border-radius: 10px;
}

.game-fut-photo-wrap {
  position: absolute;
  inset: 7% 5% 30%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.game-fut-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .5));
}

.game-fut-photo-wrap span {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffd76a;
  text-shadow: 0 3px 8px rgba(0, 0, 0, .85);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  user-select: none;
  margin-bottom: 4px;
}

.game-fut-card>strong {
  position: absolute;
  z-index: 2;
  left: 3px;
  right: 3px;
  bottom: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .95), 0 0 3px rgba(0, 0, 0, .9);
  line-height: 1.1;
}

/* Slots MOBILE (VERTICAL): visitante CIMA, casa BAIXO */
.slot-vert-away-gk {
  left: 50%;
  top: 8%
}

.slot-vert-away-d1 {
  left: 22%;
  top: 20%
}

.slot-vert-away-d2 {
  left: 50%;
  top: 26%
}

.slot-vert-away-d3 {
  left: 78%;
  top: 20%
}

.slot-vert-away-a1 {
  left: 20%;
  top: 40%
}

.slot-vert-away-a2 {
  left: 50%;
  top: 44%
}

.slot-vert-away-a3 {
  left: 80%;
  top: 40%
}

.slot-vert-home-gk {
  left: 50%;
  top: 92%
}

.slot-vert-home-d1 {
  left: 22%;
  top: 80%
}

.slot-vert-home-d2 {
  left: 50%;
  top: 74%
}

.slot-vert-home-d3 {
  left: 78%;
  top: 80%
}

.slot-vert-home-a1 {
  left: 20%;
  top: 60%
}

.slot-vert-home-a2 {
  left: 50%;
  top: 56%
}

.slot-vert-home-a3 {
  left: 80%;
  top: 60%
}

/* Pitch badges / roles */
.pitch-role,
.pitch-stat {
  position: absolute;
  z-index: 6;
  border-radius: 12px;
  font-weight: 900;
  font-size: .78rem;
  line-height: 1;
  padding: 6px 9px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
  white-space: nowrap
}

.pitch-role {
  left: -8px;
  top: -8px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #052813;
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: .72rem;
  letter-spacing: 0.08em
}

.pitch-stat.goals {
  left: 50%;
  transform: translateX(-50%);
  top: 1px;
  background: linear-gradient(180deg, #07121f, #0f1e33);
  color: #fff;
  display: flex;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .12);
  align-items: center
}

.pitch-stat.goals .goal-count {
  color: #4ade80;
  font-weight: 900
}

.pitch-stat.goals .assist-count {
  color: #fbbf24;
  font-weight: 900
}

.pitch-stat.goals .tackle-count {
  color: #60a5fa;
  font-weight: 900
}

.pitch-stat.goals .save-count {
  color: #c084fc;
  font-weight: 900
}

.pitch-stat.cards {
  right: -10px;
  bottom: 8px;
  background: linear-gradient(180deg, #07121f, #0f1e33);
  display: flex;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 5px 7px
}

.yellow-card,
.red-card {
  display: block;
  width: 9px;
  height: 13px;
  border-radius: 2px;
  background: #facc15;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .5)
}

.red-card {
  background: #ef4444
}

/* Benches */
.pitch-benches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
  width: 100%
}

.pitch-benches article {
  min-width: 0
}

.bench-toggle {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--g-line);
  border-radius: 10px;
  background: #111f33;
  color: #dce8f8;
  text-transform: capitalize;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all 0.18s ease
}

.bench-toggle:hover {
  background: #172740;
  border-color: rgba(66, 211, 146, 0.3)
}

.bench-toggle span {
  background: linear-gradient(180deg, #263a55, #1a2b42);
  border-radius: 20px;
  padding: 3px 10px;
  font-weight: 800;
  color: var(--g-accent);
  font-size: .8rem
}

.bench-cards {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 4px 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--g-line) transparent
}

.bench-cards::-webkit-scrollbar {
  height: 6px
}

.bench-cards::-webkit-scrollbar-thumb {
  background: var(--g-line);
  border-radius: 3px
}

.bench-cards button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer
}

.bench-cards .game-fut-card {
  width: 74px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3)
}

.bench-cards .game-fut-card>strong {
  font-size: .66rem;
  bottom: 10px
}

/* ===================================================== */
/* ======= SOMENTE DESKTOP (>=901px): HORIZONTAL ======= */
/* ===================================================== */
@media(min-width:901px) {
  .pitch-stage-v2 {
    max-width: 960px;
    margin: 12px auto 0;
    padding: 20px 22px 18px;
    gap: 8px;
    align-items: stretch;
  }

  /* Mostrar labels inline do desktop */
  .pitch-team-label-dt {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #eaf2ff;
    position: absolute;
    top: 18px;
    z-index: 5;
    backdrop-filter: blur(3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  }

  .pitch-team-label-dt i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .1);
  }

  .pitch-team-label-dt.home {
    left: 20px;
    border-left: 4px solid var(--homeColor);
    background: linear-gradient(90deg, color-mix(in srgb, var(--homeColor) 20%, transparent), rgba(255, 255, 255, .02));
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 0 24px color-mix(in srgb, var(--homeColor) 22%, transparent);
  }

  .pitch-team-label-dt.away {
    right: 20px;
    flex-direction: row-reverse;
    border-right: 4px solid var(--awayColor);
    background: linear-gradient(270deg, color-mix(in srgb, var(--awayColor) 20%, transparent), rgba(255, 255, 255, .02));
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 0 24px color-mix(in srgb, var(--awayColor) 22%, transparent);
  }

  /* Ocultar labels mobile no desktop */
  .pitch-side-label {
    display: none !important;
  }

  /* ======= CAMPO HORIZONTAL (DESKTOP) ======= */
  .pitch-vertical {
    margin-top: 28px;
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 2.15/1;
    min-height: 350px;
    max-height: 480px;
    background-color: #1c7248;
  }

  /* Background layer DESKTOP: imagem rotacionada proporcionalmente sem zoom excessivo */
  .pitch-bg-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% / 2.15);
    height: calc(100% * 2.15);
    background:
      linear-gradient(180deg, rgba(10, 42, 25, .22), rgba(10, 42, 25, .12) 50%, rgba(10, 42, 25, .22)),
      url("../../background/campo-futebol-aereo.jpg?v=20261006") center/cover no-repeat;
    background-color: #1c7248;
    border-radius: inherit;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center center;
  }

  /* Glow DESKTOP: 75% MAIS FRACO + decay de "forte na borda -> invisível no meio"
     Antigo: 70/38% cor | Novo: 18/8% cor (cortar ~75% da intensidade)
     Largura reduzida: 22% → 14% (começa mais estreito e some antes do meio) */
  .pitch-glow.top,
  .pitch-glow.bottom {
    display: none
  }

  .pitch-glow.left,
  .pitch-glow.right {
    display: block;
    top: 0;
    bottom: 0;
    width: 14%;
    height: auto
  }

  .pitch-glow.left {
    left: -1px;
    background: radial-gradient(ellipse 80% 90% at 0 50%,
        color-mix(in srgb, var(--homeColor) 18%, transparent) 0%,
        color-mix(in srgb, var(--homeColor) 8%, transparent) 35%,
        transparent 65%);
    box-shadow: inset 10px 0 26px -14px color-mix(in srgb, var(--homeColor) 20%, transparent);
  }

  .pitch-glow.right {
    right: -1px;
    background: radial-gradient(ellipse 80% 90% at 100% 50%,
        color-mix(in srgb, var(--awayColor) 18%, transparent) 0%,
        color-mix(in srgb, var(--awayColor) 8%, transparent) 35%,
        transparent 65%);
    box-shadow: inset -10px 0 26px -14px color-mix(in srgb, var(--awayColor) 20%, transparent);
  }

  /* Bordas finas DESKTOP: também ~75% mais suaves (espessura 5→3px + shadow reduzido) */
  .pitch-vertical::before {
    top: 0;
    bottom: 0;
    left: -1px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--homeColor) 70%, transparent), transparent);
    box-shadow: 0 0 7px 1px color-mix(in srgb, var(--homeColor) 30%, transparent);
    right: auto
  }

  .pitch-vertical::after {
    top: 0;
    bottom: 0;
    right: -1px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--awayColor) 70%, transparent), transparent);
    box-shadow: 0 0 7px 1px color-mix(in srgb, var(--awayColor) 30%, transparent);
    left: auto
  }

  /* Marcações — ocultas (campo na foto já tem linhas) */

  /* Cards: proporcionais ao campo horizontal */
  .game-fut-card {
    width: 80px;
  }

  .game-fut-card>strong {
    font-size: .68rem;
    bottom: 8px;
  }

  .game-fut-photo-wrap span {
    font-size: 1.45rem;
  }

  .pitch-role,
  .pitch-stat {
    font-size: .7rem;
    padding: 5px 7px;
    border-radius: 11px
  }

  .pitch-role {
    font-size: .66rem;
    padding: 4px 6px;
    top: -7px;
    left: -7px
  }

  .pitch-stat.goals {
    top: 1px;
    padding: 5px 7px;
    font-size: .66rem
  }

  .pitch-stat.cards {
    right: -8px;
    bottom: 6px;
    padding: 4px 5px
  }

  /* Slots HORIZONTAL: home ESQUERDA, away DIREITA */
  /* HOME (time da esquerda - goleiro em left:8%, def ~19%, ata ~37%) */
  .slot-vert-home-gk {
    left: 8%;
    top: 50%
  }

  .slot-vert-home-d1 {
    left: 20%;
    top: 24%
  }

  .slot-vert-home-d2 {
    left: 19%;
    top: 50%
  }

  .slot-vert-home-d3 {
    left: 20%;
    top: 76%
  }

  .slot-vert-home-a1 {
    left: 38%;
    top: 30%
  }

  .slot-vert-home-a2 {
    left: 37%;
    top: 50%
  }

  .slot-vert-home-a3 {
    left: 38%;
    top: 70%
  }

  /* AWAY (time da direita - goleiro em right:8%, def ~81%, ata ~63%) */
  .slot-vert-away-gk {
    left: 92%;
    top: 50%
  }

  .slot-vert-away-d1 {
    left: 80%;
    top: 24%
  }

  .slot-vert-away-d2 {
    left: 81%;
    top: 50%
  }

  .slot-vert-away-d3 {
    left: 80%;
    top: 76%
  }

  .slot-vert-away-a1 {
    left: 62%;
    top: 30%
  }

  .slot-vert-away-a2 {
    left: 63%;
    top: 50%
  }

  .slot-vert-away-a3 {
    left: 62%;
    top: 70%
  }
}

/* ============== LIST VIEW V2 - IGUAL EM DESKTOP E MOBILE (flex colunar, SEM VS) ============== */
.list-stage-v2 {
  display: flex;
  gap: 0;
  margin-top: 14px;
  background: linear-gradient(180deg, #0b1626, #0a1422);
  border: 1px solid var(--g-line);
  border-radius: 18px;
  padding: 0;
  overflow: hidden
}

.list-col {
  min-width: 0;
  display: flex;
  flex-direction: column
}

.home-list {
  background: linear-gradient(90deg, rgba(255, 255, 255, .025), transparent)
}

.away-list {
  background: linear-gradient(270deg, rgba(255, 255, 255, .025), transparent)
}

.list-middle {
  display: none !important
}

.list-card-btn {
  padding: 0;
  margin: 6px
}

.list-team-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-left: 5px solid #42d392;
  font-weight: 900;
  background: rgba(255, 255, 255, .03);
  position: sticky;
  top: 0;
  z-index: 2
}

.list-team-title.away {
  flex-direction: row-reverse;
  border-left: 0;
  border-right: 5px solid #42d392
}

.list-team-title h4 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eaf2ff
}

.vs-label {
  display: none
}

.vs-sep {
  display: none
}

.list-cards-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 16px;
  padding: 18px 10px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--g-line) transparent
}

.list-cards-wrap.away {
  align-items: center
}

.list-cards-wrap::-webkit-scrollbar {
  width: 5px
}

.list-cards-wrap::-webkit-scrollbar-thumb {
  background: var(--g-line);
  border-radius: 3px
}

.list-card-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  outline: none;
  display: block;
  width: fit-content
}

.list-card-btn:not(:disabled):hover {
  transform: translateY(-3px) scale(1.04);
  transition: transform 0.2s ease
}

.list-card-btn:not(:disabled):hover .game-fut-card {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .55), 0 0 0 2px rgba(66, 211, 146, 0.5), 0 0 24px rgba(66, 211, 146, 0.25)
}

.list-card {
  position: relative;
  display: block
}

.list-card .game-fut-card {
  width: 132px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1);
  border-radius: 12px
}

.list-card .game-fut-card>strong {
  bottom: 16px;
  font-size: 1rem;
  font-weight: 900;
  left: 4px;
  right: 4px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .95)
}

.list-card .game-fut-photo-wrap {
  inset: 8% 6% 32%
}

.list-card .game-fut-photo-wrap span {
  font-size: 2.4rem
}

.list-card-badge {
  position: absolute;
  z-index: 5;
  border-radius: 10px;
  font-weight: 900;
  padding: 6px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .55);
  white-space: nowrap;
  font-size: .78rem
}

.list-card-badge.role {
  top: -10px;
  left: -10px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #052813;
  border: 1px solid rgba(255, 255, 255, .25);
  letter-spacing: 0.08em
}

.list-card-stats {
  position: absolute;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  top: -16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #07121f, #0f1e33);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .55);
  font-weight: 900;
  font-size: .85rem
}

.list-card-stats .st-goal {
  color: #4ade80
}

.list-card-stats .st-assist {
  color: #fbbf24
}

.list-card-stats .st-tackle {
  color: #60a5fa
}

.list-card-stats .st-save {
  color: #c084fc
}

.list-card-stats .yellow-card,
.list-card-stats .red-card {
  width: 10px;
  height: 14px
}

/* ============== QUICK ACTION SHEET ============== */
.quick-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10020;
  background: rgba(2, 8, 18, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(4px)
}

.quick-sheet {
  position: relative;
  width: min(480px, 100%);
  background: #101d30;
  border: 1px solid #37506e;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6)
}

.quick-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #223650;
  color: #fff;
  font-size: 1.5rem
}

.quick-player-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px
}

.quick-player-head .game-fut-card {
  width: 88px;
  border-radius: 10px
}

.quick-player-head small {
  color: var(--g-accent);
  text-transform: uppercase;
  font-weight: 800
}

.quick-player-head h3 {
  font-size: 1.5rem;
  margin: 3px 0
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.quick-actions button {
  min-height: 48px;
  border: 1px solid var(--g-line);
  border-radius: 10px;
  background: #0b1626;
  color: #eaf2ff;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease
}

.quick-actions button:hover {
  background: #13223b;
  border-color: rgba(255, 255, 255, .15)
}

.quick-actions button.active {
  background: var(--g-accent);
  color: #062016;
  border-color: var(--g-accent);
  box-shadow: 0 4px 12px rgba(66, 211, 146, .3)
}

.quick-sheet label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
  color: #adbed2
}

.quick-sheet select {
  padding: 11px;
  background: #081321;
  color: #fff;
  border: 1px solid var(--g-line);
  border-radius: 9px
}

/* ============== GRID / CARDS / TIMELINE ============== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px
}

.games-card {
  background: var(--g-card);
  border: 1px solid var(--g-line);
  border-radius: 16px;
  padding: 18px;
  overflow: auto
}

.games-card h3 {
  margin: 0 0 14px
}

.games-card label,
.setup-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #adbed2;
  margin: 10px 0
}

.games-card input,
.games-card select,
.setup-form input,
.setup-form select {
  background: #081321;
  border: 1px solid var(--g-line);
  border-radius: 9px;
  color: white;
  padding: 10px
}

.games-card .check,
.setup-form .check {
  flex-direction: row;
  align-items: center
}

.games-primary {
  width: 100%;
  background: linear-gradient(180deg, var(--g-accent), #2fb87b);
  color: #062016;
  border: 0;
  border-radius: 10px;
  padding: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(66, 211, 146, .25);
  transition: all 0.15s ease;
  font-size: 0.95rem;
  letter-spacing: 0.02em
}

.games-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(66, 211, 146, .35)
}

.timeline>div {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  border-bottom: 1px solid var(--g-line);
  padding: 12px 0;
  align-items: center
}

.timeline time {
  color: var(--g-accent);
  font-weight: 800;
  font-size: 0.95rem;
  font-family: ui-monospace, monospace;
  background: rgba(66, 211, 146, .08);
  padding: 3px 8px;
  border-radius: 6px;
  text-align: center
}

.timeline small {
  display: block;
  color: #e47b84;
  margin-top: 3px
}

.timeline .voided {
  opacity: .45;
  text-decoration: line-through
}

.timeline button,
.history-row button {
  background: transparent;
  color: #ff8e96;
  border: 1px solid #80404a;
  border-radius: 7px;
  padding: 5px 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease
}

.timeline button:hover {
  background: rgba(255, 142, 150, .1)
}

.queue-list {
  list-style: none;
  padding: 0
}

.queue-list li,
.history-row,
.team-roster {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-bottom: 1px solid var(--g-line);
  border-radius: 6px;
  margin: 2px 0;
  transition: background 0.15s ease
}

.queue-list li:hover,
.history-row:hover,
.team-roster:hover {
  background: rgba(255, 255, 255, .02)
}

.queue-list i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .15)
}

.queue-list span,
.history-row>span,
.team-roster span {
  margin-left: auto;
  color: #9eb0c9;
  font-weight: 700
}

.history-row div {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.history-row small {
  color: #91a5bf;
  font-size: .8rem
}

.queue-list button {
  background: #172740;
  color: #dce8f8;
  border: 1px solid var(--g-line);
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease
}

.queue-list button:hover {
  background: #1f3556
}

.finish-night {
  margin-top: 22px;
  background: linear-gradient(180deg, #d4a348, #b8862f) !important;
  color: #1a1200 !important;
  border: 1px solid rgba(255, 209, 102, .3) !important;
  box-shadow: 0 4px 14px rgba(212, 163, 72, .25) !important
}

.cancel-night {
  margin-top: 9px !important;
  background: linear-gradient(180deg, #8f2d3a, #7a2531) !important;
  color: #fff !important;
  border: 1px solid #d55b68 !important;
  box-shadow: 0 4px 14px rgba(143, 45, 58, .25) !important
}

.games-card table {
  width: 100%;
  border-collapse: collapse
}

.games-card th,
.games-card td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--g-line)
}

.games-card th {
  color: #8fa5c0;
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, .02)
}

.games-card td {
  font-size: .92rem;
  color: #eaf2ff
}

.starter-box {
  border-top: 1px solid var(--g-line);
  padding-top: 12px;
  margin-top: 14px
}

.games-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px;
  color: #9eb0c9;
  gap: 8px
}

.games-empty strong {
  color: white;
  font-size: 1.4rem;
  font-weight: 800
}

.player-ranking-card {
  overflow: hidden
}

.player-ranking-scroll {
  max-height: 260px;
  overflow-y: auto;
  scrollbar-gutter: stable
}

.player-ranking-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--g-card)
}

.ranking-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  cursor: pointer
}

.ranking-sort span {
  color: var(--g-accent);
  font-size: .8rem;
  font-weight: 900
}

.ranking-sort:focus-visible {
  outline: 2px solid var(--g-accent);
  outline-offset: 3px;
  border-radius: 2px
}

.starter-player {
  cursor: pointer;
  user-select: none
}

.games-card .starter-player input {
  appearance: auto !important;
  width: 18px;
  height: 18px;
  padding: 0;
  pointer-events: auto;
  cursor: pointer;
  accent-color: var(--g-accent)
}

.starter-player input:disabled {
  cursor: not-allowed
}

.starter-count {
  float: right;
  color: var(--g-accent);
  font-weight: 900;
  font-size: .9rem
}

.starter-auto {
  width: 100%;
  margin: 10px 0 4px;
  padding: 10px;
  border: 1px solid var(--g-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #172740, #121f34);
  color: #dce8f8;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.15s ease
}

.starter-auto:hover {
  background: linear-gradient(180deg, #1d3152, #172740);
  border-color: rgba(66, 211, 146, .3)
}

/* Draw decision */
.draw-decision-live strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem
}

.draw-decision-live div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.draw-decision-live button {
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #0d1829, #0a1320);
  color: #eaf2ff;
  border: 1px solid var(--g-line);
  cursor: pointer;
  transition: all 0.15s ease
}

.draw-decision-live button:hover {
  border-color: var(--g-accent);
  color: var(--g-accent)
}

/* Quick sheet sticky button */
.quick-backdrop {
  overflow: hidden
}

.quick-sheet {
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain
}

.quick-sheet>.games-primary {
  position: sticky;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 -10px 18px #101d30;
  margin-top: 8px
}

/* ============== RESPONSIVO ============== */
@media(max-width:1100px) {
  .game-fut-card {
    width: 96px
  }

  .game-fut-card>strong {
    font-size: .82rem
  }

  .list-card .game-fut-card {
    width: 116px
  }

  .list-card .game-fut-card>strong {
    font-size: .9rem
  }

  .list-card-stats {
    font-size: .78rem;
    padding: 5px 8px;
    gap: 5px
  }

  .list-card-badge.role {
    font-size: .72rem
  }

  .pitch-vertical {
    min-height: 560px
  }
}

/* Tablet */
@media(max-width:900px) {

  /* Campo vertical: reduzir um pouco */
  .game-fut-card {
    width: 84px
  }

  .game-fut-card>strong {
    font-size: .72rem
  }

  .game-fut-photo-wrap span {
    font-size: 1.7rem
  }

  .pitch-vertical {
    min-height: 540px
  }

  .pitch-stat.goals {
    font-size: .72rem;
    padding: 5px 7px
  }
}

/* MOBILE */
@media(max-width:760px) {
  .games-app {
    padding: 10px;
    border-radius: 12px
  }

  .games-grid {
    grid-template-columns: 1fr
  }

  /* Scoreboard mobile stack */
  .scoreboard,
  .scoreboard-v2 {
    padding: 14px 12px;
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .scoreboard-v2 {
    position: relative
  }

  /* Compact Scoreboard Mobile */
  .scoreboard-v2.compact-scoreboard {
    padding: 8px 10px;
    gap: 6px;
  }

  .scoreboard-v2.compact-scoreboard .sb-clock-wrap {
    padding: 4px 10px;
    min-width: 120px;
  }

  .scoreboard-v2.compact-scoreboard .sb-clock {
    font-size: 1.7rem;
  }

  .scoreboard-v2.compact-scoreboard .sb-score {
    font-size: 1.6rem;
  }

  .scoreboard-v2.compact-scoreboard .sb-team-name {
    font-size: 0.76rem;
    max-width: 105px;
  }

  .scoreboard-v2 .scoreboard-center {
    grid-column: 1/-1;
    grid-row: 1;
    order: 1
  }

  .scoreboard-v2 .scoreboard-team.home {
    grid-column: 1;
    grid-row: 2;
    order: 2
  }

  .scoreboard-v2 .scoreboard-team.away {
    grid-column: 2;
    grid-row: 2;
    order: 3;
    align-items: flex-start
  }

  .scoreboard-v2 .scoreboard-team.home,
  .scoreboard-v2 .scoreboard-team.away {
    align-items: center;
    gap: 6px
  }

  .scoreboard-v2 .scoreboard-team.away .sb-team-header {
    flex-direction: row;
    justify-content: flex-end
  }

  .scoreboard-v2 .sb-team-header {
    gap: 6px
  }

  .scoreboard-v2 .sb-team-name {
    font-size: 0.85rem;
    max-width: 120px
  }

  .scoreboard-v2 .sb-score {
    font-size: 2.2rem;
    align-self: auto !important
  }

  .scoreboard-v2 .scoreboard-team.away .sb-score {
    align-self: auto !important
  }

  .scoreboard-v2 .sb-clock-wrap {
    padding: 8px 14px;
    gap: 4px;
    min-width: 150px
  }

  .scoreboard-v2 .sb-clock {
    font-size: 2.4rem
  }

  .scoreboard-v2 .sb-status-text {
    font-size: 0.65rem
  }

  .scoreboard-v2 .sb-period {
    font-size: 0.7rem
  }

  .scoreboard-v2 .team-dot {
    width: 12px;
    height: 12px;
    border-width: 1.5px
  }

  .team-side,
  .team-side.away {
    justify-content: center
  }

  .team-side b {
    font-size: 2.2rem
  }

  .match-clock strong {
    font-size: 2.6rem
  }

  .games-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px
  }

  .games-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .games-head h2 {
    font-size: 1.5rem
  }

  .games-tabs button {
    white-space: nowrap;
    font-size: .85rem;
    padding: 8px 12px
  }

  .view-controls-bar {
    justify-content: center;
    gap: 8px;
    margin: 10px 0 8px 0;
  }

  .view-toggle {
    margin: 0;
  }

  .view-toggle button {
    padding: 7px 12px;
    font-size: .8rem
  }

  .view-toggle button svg {
    width: 15px;
    height: 15px
  }

  .btn-size-toggle {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  /* ====== CAMPO VERTICAL MOBILE ====== */
  .pitch-stage-v2 {
    padding: 10px 8px;
    gap: 8px
  }

  .pitch-stage-v2 .pitch-side-label {
    padding: 8px 10px;
    font-size: .8rem;
    border-radius: 9px
  }

  .pitch-stage-v2 .pitch-side-label h4 {
    font-size: .88rem
  }

  .pitch-vertical {
    aspect-ratio: 1/1.82;
    min-height: 490px;
    border-width: 2px;
  }

  .pitch-stage-v2.compact-pitch {
    padding: 6px 4px;
    gap: 5px;
  }

  .pitch-stage-v2.compact-pitch .pitch-side-label {
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .pitch-vertical.compact-pitch {
    aspect-ratio: 1/1.65;
    min-height: 410px;
  }

  .pitch-vertical.compact-pitch .game-fut-card {
    width: 58px;
  }

  .pitch-vertical.compact-pitch .game-fut-card > strong {
    font-size: 0.58rem;
    bottom: 5px;
  }

  .game-fut-card {
    width: 68px;
    border-radius: 7px;
  }

  .game-fut-card>strong {
    bottom: 8px;
    font-size: .68rem;
    left: 2px;
    right: 2px;
    letter-spacing: 0;
    font-weight: 900;
    line-height: 1.05;
  }

  .game-fut-photo-wrap {
    inset: 6% 5% 30%
  }

  .game-fut-photo-wrap span {
    font-size: 1.2rem
  }

  /* Slots mobile verticais */
  .slot-vert-away-gk {
    left: 50%;
    top: 10%
  }

  .slot-vert-away-d1 {
    left: 18%;
    top: 18%
  }

  .slot-vert-away-d2 {
    left: 50%;
    top: 28%
  }

  .slot-vert-away-d3 {
    left: 82%;
    top: 18%
  }

  .slot-vert-away-a1 {
    left: 12%;
    top: 38%
  }

  .slot-vert-away-a2 {
    left: 35%;
    top: 44%
  }

  .slot-vert-away-a3 {
    left: 86%;
    top: 39%
  }

  .slot-vert-home-gk {
    left: 50%;
    top: 91%
  }

  .slot-vert-home-d1 {
    left: 82%;
    top: 82%
  }

  .slot-vert-home-d2 {
    left: 50%;
    top: 72%
  }

  .slot-vert-home-d3 {
    left: 18%;
    top: 82%
  }

  .slot-vert-home-a1 {
    left: 88%;
    top: 62%
  }

  .slot-vert-home-a2 {
    left: 59%;
    top: 55%
  }

  .slot-vert-home-a3 {
    left: 14%;
    top: 61%
  }

  /* Badges mobile — .pitch-stat.goals top:1px */
  .pitch-role,
  .pitch-stat {
    font-size: .58rem;
    padding: 4px 6px;
    border-radius: 9px
  }

  .pitch-role {
    font-size: .52rem;
    letter-spacing: 0.04em;
    padding: 3px 5px;
    top: -5px;
    left: -5px
  }

  .pitch-stat.goals {
    top: 1px;
    gap: 3px;
    padding: 3px 6px;
    font-size: .6rem
  }

  .pitch-stat.cards {
    bottom: 5px;
    right: -6px;
    gap: 3px;
    padding: 4px 5px
  }

  .pitch-stat.cards .yellow-card,
  .pitch-stat.cards .red-card {
    width: 6px;
    height: 9px
  }

  /* ====== Lista MOBILE ====== */
  .list-card .game-fut-photo-wrap {
    inset: 15% 6% 32%
  }

  .list-cards-wrap {
    gap: 22px 14px;
    padding: 16px 8px
  }

  .list-card .game-fut-card {
    width: 96px
  }

  .list-card .game-fut-card>strong {
    font-size: .76rem;
    bottom: 12px
  }

  .list-card-stats {
    top: -13px;
    font-size: .72rem;
    padding: 5px 7px;
    gap: 4px
  }

  .list-team-title {
    padding: 12px 14px
  }

  .list-team-title h4 {
    font-size: .92rem
  }

  .list-team-title .team-dot {
    width: 13px;
    height: 13px
  }

  /* Benches */
  .pitch-benches {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px
  }

  .bench-cards {
    display: none;
    gap: 6px
  }

  .bench-cards.open {
    display: flex
  }

  .bench-cards .game-fut-card {
    width: 56px
  }

  .bench-cards .game-fut-card>strong {
    font-size: .5rem;
    bottom: 7px
  }

  .bench-toggle {
    min-height: 42px;
    padding: 8px 12px;
    font-size: .82rem
  }

  .match-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px
  }

  .match-controls button {
    min-height: 46px;
    font-size: .85rem;
    padding: 8px
  }

  .quick-backdrop {
    align-items: flex-end;
    padding: 0
  }

  .quick-sheet {
    border-radius: 22px 22px 0 0;
    padding: 18px 16px max(18px, env(safe-area-inset-bottom));
    max-height: 88vh;
    overflow: auto
  }

  .quick-actions button {
    min-height: 52px;
    font-size: .9rem
  }

  .quick-player-head h3 {
    font-size: 1.2rem
  }

  .quick-player-head .game-fut-card {
    width: 76px
  }
}

/* Telas muito pequenas */
@media(max-width:520px) {
  .pitch-vertical {
    min-height: 460px;
    aspect-ratio: 1/1.82;
  }

  .pitch-vertical.compact-pitch {
    min-height: 380px;
    aspect-ratio: 1/1.62;
  }

  .pitch-vertical.compact-pitch .game-fut-card {
    width: 52px;
  }

  .pitch-vertical.compact-pitch .game-fut-card > strong {
    font-size: 0.52rem;
    bottom: 4px;
  }

  .scoreboard-v2.compact-scoreboard .sb-clock-wrap {
    min-width: 105px;
    padding: 3px 8px;
  }

  .scoreboard-v2.compact-scoreboard .sb-clock {
    font-size: 1.45rem;
  }

  .scoreboard-v2.compact-scoreboard .sb-score {
    font-size: 1.4rem;
  }

  /* .game-fut-card{width:56px;border-radius:6px} */
  .game-fut-card>strong {
    font-size: .62rem;
    bottom: 6px;
    font-weight: 900
  }

  .game-fut-photo-wrap span {
    font-size: 1.05rem
  }

  .pitch-stage-v2 .pitch-side-label {
    padding: 7px 8px
  }

  .pitch-stage-v2 .pitch-side-label h4 {
    font-size: .8rem
  }

  .scoreboard-v2 .sb-clock-wrap {
    min-width: 130px
  }

  .scoreboard-v2 .sb-clock {
    font-size: 2rem
  }

  .scoreboard-v2 .sb-score {
    font-size: 1.9rem
  }

  .scoreboard-v2 .sb-team-name {
    font-size: 0.78rem;
    max-width: 100px
  }

  .view-toggle button {
    padding: 7px 11px;
    font-size: .78rem;
    gap: 5px
  }

  .view-toggle button svg {
    width: 14px;
    height: 14px
  }

  .pitch-stat.goals {
    top: 1px;
    font-size: .52rem;
    padding: 2px 5px
  }

  /* Lista */
  .list-card .game-fut-card {
    width: 86px
  }

  .list-card .game-fut-card>strong {
    font-size: .72rem;
    bottom: 9px
  }

  .list-cards-wrap {
    gap: 22px 10px;
    padding: 14px 6px
  }

  .list-team-title {
    padding: 10px 12px
  }

  .list-team-title h4 {
    font-size: .85rem
  }
}

/* Muito pequeno (<= 380px) */
@media(max-width:380px) {
  .pitch-vertical {
    min-height: 440px;
    aspect-ratio: 1/1.85;
  }

  .pitch-vertical.compact-pitch {
    min-height: 350px;
    aspect-ratio: 1/1.62;
  }

  /*.game-fut-card{width:48px}*/
  .game-fut-card>strong {
    font-size: .55rem;
    bottom: 5px;
    font-weight: 900
  }

  .pitch-stat.goals {
    top: 1px;
    font-size: .52rem;
    padding: 2px 5px
  }

  .quick-player-head .game-fut-card {
    width: 66px
  }

  .quick-player-head h3 {
    font-size: 1.05rem
  }

  .scoreboard-v2 .sb-clock {
    font-size: 1.8rem
  }

  .scoreboard-v2 .sb-score {
    font-size: 1.7rem
  }

  .list-card .game-fut-card {
    width: 76px
  }

  .list-card .game-fut-card>strong {
    font-size: .62rem;
    bottom: 9px
  }

  .list-cards-wrap {
    gap: 20px 8px
  }

  .list-team-title h4 {
    font-size: .8rem
  }
}

@media(max-width:760px) {
  .quick-sheet {
    max-height: calc(100dvh - env(safe-area-inset-top) - 8px)
  }
}

/* ============== EXPORT MODAL & NIGHT STATS ENHANCEMENTS ============== */
.night-head-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: linear-gradient(135deg, rgba(14, 27, 47, 0.9), rgba(9, 17, 31, 0.95));
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden
}

.night-head-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d2ff, transparent)
}

.night-head-info h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 0 4px 0;
  color: #fff;
  letter-spacing: 0.02em
}

.night-head-info p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0
}

.night-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.btn-export-night {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00f59b, #00b875);
  color: #041c12;
  font-weight: 900;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 245, 155, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  letter-spacing: 0.02em
}

.btn-export-night.btn-export-destaques {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000000;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-export-night.btn-export-destaques:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.55);
}

.btn-export-night:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 245, 155, 0.45)
}

.btn-export-night:active {
  transform: translateY(0)
}

/* Champion Highlight Card */
.champion-highlight-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(15, 23, 42, 0.92));
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px -10px rgba(251, 191, 36, 0.25)
}

.champion-highlight-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.06), transparent 60%);
  pointer-events: none
}

.champ-trophy-icon {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(251, 191, 36, 0.4))
}

.champ-details {
  flex: 1;
  min-width: 0
}

.champ-badge-label {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fbbf24;
  color: #000;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px
}

.champ-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 4px 0;
  text-align: left !important;
}

.champ-stats-line {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.champ-pts-tag {
  color: #00f59b;
  font-weight: 900;
  font-size: 1.05rem
}

/* Standings V2 Table with Tiebreakers */
.standings-v2-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px
}

.standings-v2-card h3 {
  margin: 0 0 6px 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #00d2ff;
  display: flex;
  align-items: center;
  gap: 8px
}

.standings-tiebreaker-note {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0 0 14px 0
}

.table-responsive-v2 {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

.table-v2 {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem
}

.table-v2 th {
  padding: 10px 12px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

.table-v2 td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  vertical-align: middle;
  font-variant-numeric: tabular-nums
}

.table-v2 tr:last-child td {
  border-bottom: none
}

.table-v2 tr.champion-row {
  background: rgba(251, 191, 36, 0.08);
  border-left: 3px solid #fbbf24
}

.table-v2 tr.champion-row td {
  font-weight: 700
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700
}

.team-color-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor
}

.pts-badge-v2 {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  background: rgba(0, 210, 255, 0.15);
  color: #00d2ff;
  font-weight: 900;
  font-size: 1rem
}

.champion-row .pts-badge-v2 {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24
}

/* Subtabs for stats categories */
.stats-subtabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px
}

.stats-subtabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap
}

.stats-subtabs button.active {
  background: rgba(0, 210, 255, 0.15);
  border-color: #00d2ff;
  color: #00d2ff
}

/* Individual Stat Cards Grid */
.stat-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px
}

.stat-leader-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px
}

.stat-leader-box h4 {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px
}

.stat-leader-box.scorers h4 {
  color: #00f59b
}

.stat-leader-box.assists h4 {
  color: #00d2ff
}

.stat-leader-box.tackles h4 {
  color: #f59e0b
}

.stat-leader-box.saves h4 {
  color: #a855f7
}

.stat-leader-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.stat-leader-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.88rem
}

.stat-leader-list li:last-child {
  border-bottom: none
}

.stat-val-pill {
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.88rem
}

.scorers .stat-val-pill {
  background: rgba(0, 245, 155, 0.15);
  color: #00f59b
}

.assists .stat-val-pill {
  background: rgba(0, 210, 255, 0.15);
  color: #00d2ff
}

.tackles .stat-val-pill {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b
}

.saves .stat-val-pill {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7
}

/* EXPORT MODAL */
.export-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px
}

.export-modal-window {
  background: linear-gradient(180deg, #0e172a, #090d16);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  overflow: hidden
}

.export-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08)
}

.export-modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px
}

.export-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px
}

.export-modal-close:hover {
  color: #fff
}

.export-modal-body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px
}

.export-preview-container {
  width: 100%;
  max-width: 380px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #070a12
}

.export-preview-img {
  width: 100%;
  height: auto;
  display: block
}

.export-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2)
}

.btn-export-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.16s ease
}

.btn-export-action.download {
  background: linear-gradient(135deg, #00f59b, #00b875);
  color: #041c12;
  box-shadow: 0 4px 14px rgba(0, 245, 155, 0.3)
}

.btn-export-action.share {
  background: linear-gradient(135deg, #00d2ff, #0092bf);
  color: #031422;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.3)
}

.btn-export-action.copy {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15)
}

.btn-export-action.copy:hover {
  background: rgba(255, 255, 255, 0.14)
}

.btn-export-action:hover {
  transform: translateY(-1px)
}

.btn-export-action:active {
  transform: translateY(0)
}

.export-toast {
  color: #00f59b;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center
}

/* ========================================================
   DISPUTA DE PÊNALTIS MODAL
   ======================================================== */
.penalties-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.penalties-window {
  background: linear-gradient(145deg, #0d1829, #14233a);
  border: 2px solid rgba(234, 179, 8, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  color: #fff;
}

.penalties-header {
  text-align: center;
  margin-bottom: 20px;
}

.penalties-header h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fbbf24;
  margin: 0;
}

.penalties-score-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.penalties-team-side {
  text-align: center;
  flex: 1;
}

.penalties-team-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.penalties-big-score {
  font-size: 3rem;
  font-weight: 900;
  color: #00f59b;
}

.penalties-kicks-track {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.penalty-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.penalty-dot.scored {
  background: #00f59b;
  box-shadow: 0 0 8px #00f59b;
}

.penalty-dot.missed {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.penalties-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.penalty-btn-kick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
}

.penalty-btn-kick.score {
  background: #10b981;
  color: #042f2e;
}

.penalty-btn-kick.miss {
  background: #ef4444;
  color: #fff;
}

/* ========================================================
   TOTW (SELEÇÃO DA SEMANA) TAB
   ======================================================== */
/* ========================================================
   TOTW (SELEÇÃO DA SEMANA) TAB - EA FC SHOWCASE
   ======================================================== */
.totw-container {
  padding: 10px 0;
}

.totw-banner {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(234, 179, 8, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(234, 179, 8, 0.1);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

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

.totw-player-card-box {
  background: radial-gradient(circle at 50% 20%, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.totw-player-card-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(115deg, transparent 40%, rgba(234, 179, 8, 0.15) 50%, transparent 60%);
  pointer-events: none;
  transition: transform 0.6s ease;
}

.totw-player-card-box:hover::before {
  transform: translateX(50%);
}

.totw-player-card-box:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #fbbf24;
  box-shadow: 0 18px 36px rgba(234, 179, 8, 0.25);
}

.totw-card-wrapper {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.totw-badge-tag {
  position: absolute;
  top: -8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 900;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 5;
}

.totw-info-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.totw-player-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.totw-player-team {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.totw-stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.totw-stat-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #e2e8f0;
}

.totw-stat-pill b {
  color: #00d2ff;
}

.totw-score-highlight {
  margin-top: 6px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(234, 179, 8, 0.05));
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 10px;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 900;
  color: #fbbf24;
}

/* ========================================================
   FUT DRAFT AO VIVO TAB - EA FC DRAFT BOARD
   ======================================================== */
.draft-container {
  padding: 16px 0;
}

.draft-header-live {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(59, 130, 246, 0.1);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 24px;
}

.draft-captains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.draft-captain-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.draft-captain-card.is-active-turn {
  border-color: #22c55e;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.4);
  animation: draftTurnGlow 2s infinite ease-in-out;
}

@keyframes draftTurnGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.6); }
}

.draft-team-deck {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.draft-deck-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  margin: -6px -8px;
}

.draft-pool-section-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin: 24px 0 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.draft-pool-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.draft-pool-card-interactive {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.draft-pool-card-interactive:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: #00f59b;
  box-shadow: 0 14px 28px rgba(0, 245, 155, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

.draft-pool-card-interactive.disabled {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.5);
}

.draft-pick-btn-overlay {
  width: 100%;
  background: linear-gradient(135deg, #00d2ff, #00f59b);
  color: #000;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 6px;
  border-radius: 8px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 245, 155, 0.3);
}

/* ========================================================
   EA FC FUT RADIAL ACTION WHEEL (FIFA 21 VOLTA VIBRANT)
   ======================================================== */
.quick-radial-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 18, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10050;
  padding: 16px;
  animation: radialFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes radialFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.quick-radial-modal {
  position: relative;
  background: radial-gradient(circle at 50% 40%, #0d122b 0%, #050714 100%);
  border: 1.5px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 210, 255, 0.12);
  border-radius: 32px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 440px;
  width: 100%;
}

.radial-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(30, 41, 69, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.radial-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.08);
}

.radial-wheel-wrapper {
  position: relative;
  width: 370px;
  height: 380px;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-center-card {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.radial-center-card .bcl-player-card {
  transform: scale(0.95);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
}

.radial-player-title {
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(7, 10, 24, 0.85);
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 210, 255, 0.35);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* BOTOES FLUTUANTES CIRCULARES (POLAR WHEEL) */
.radial-action-item {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  color: #fff;
  transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  z-index: 4;
}

.radial-action-item:hover {
  transform: scale(1.16);
  z-index: 6;
}

.radial-action-item:active {
  transform: scale(0.94);
}

.radial-action-item .radial-icon {
  font-size: 1.7rem;
  line-height: 1;
}

.radial-action-item .radial-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* POSICOES POLARES (6 ACOES: GOL, ASSIST, DESARME, DEFESA, GOL CONTRA, MVP) */
/* 1. GOL (TOPO CENTRO) - Verde Neon com halo */
.radial-pos-goal {
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, #00ffaa, #00b468);
  color: #032014;
  border-color: #55ffc0;
  box-shadow: 0 0 30px rgba(0, 255, 170, 0.7), inset 0 0 12px rgba(255, 255, 255, 0.4);
}
.radial-pos-goal:hover {
  transform: translateX(-50%) scale(1.16);
  box-shadow: 0 0 45px rgba(0, 255, 170, 0.95);
}

/* 2. ASSIST (SUPERIOR DIREITA) - Ciano Neon com halo */
.radial-pos-assist {
  top: 40px;
  right: 4px;
  background: radial-gradient(circle at 35% 35%, #2de2ff, #0099e6);
  color: #022033;
  border-color: #85eeff;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.7), inset 0 0 12px rgba(255, 255, 255, 0.4);
}
.radial-pos-assist:hover {
  box-shadow: 0 0 45px rgba(0, 210, 255, 0.95);
}

/* 3. DESARME (INFERIOR DIREITA) - Roxo / Violeta Neon com halo */
.radial-pos-tackle {
  bottom: 30px;
  right: 4px;
  background: radial-gradient(circle at 35% 35%, #b666ff, #7e22ce);
  color: #ffffff;
  border-color: #d8b4fe;
  box-shadow: 0 0 30px rgba(182, 102, 255, 0.7), inset 0 0 12px rgba(255, 255, 255, 0.4);
}
.radial-pos-tackle:hover {
  box-shadow: 0 0 45px rgba(182, 102, 255, 0.95);
}

/* 4. DEFESA (INFERIOR ESQUERDA) - Âmbar / Laranja Neon com halo */
.radial-pos-save {
  bottom: 30px;
  left: 4px;
  background: radial-gradient(circle at 35% 35%, #ffb703, #d97706);
  color: #ffffff;
  border-color: #fde047;
  box-shadow: 0 0 30px rgba(255, 183, 3, 0.7), inset 0 0 12px rgba(255, 255, 255, 0.4);
}
.radial-pos-save:hover {
  box-shadow: 0 0 45px rgba(255, 183, 3, 0.95);
}

/* 5. GOL CONTRA (SUPERIOR ESQUERDA) - Coral / Vermelho Neon com halo */
.radial-pos-owngoal {
  top: 40px;
  left: 4px;
  background: radial-gradient(circle at 35% 35%, #ff4b60, #dc2626);
  color: #ffffff;
  border-color: #fca5a5;
  box-shadow: 0 0 30px rgba(255, 75, 96, 0.75), inset 0 0 12px rgba(255, 255, 255, 0.4);
}
.radial-pos-owngoal:hover {
  box-shadow: 0 0 45px rgba(255, 75, 96, 0.95);
}

/* 6. CRAQUE DO JOGO / MVP (EMBAIXO NO CENTRO) - Ouro / Amarelo Brilhante com halo */
.radial-pos-mvp {
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, #ffe600, #f59e0b);
  color: #381e00;
  border-color: #fef08a;
  box-shadow: 0 0 35px rgba(255, 230, 0, 0.8), inset 0 0 12px rgba(255, 255, 255, 0.5);
}
.radial-pos-mvp:hover {
  transform: translateX(-50%) scale(1.16);
  box-shadow: 0 0 50px rgba(255, 230, 0, 1);
}

/* SELETOR RAPIDO DE ASSISTENCIA DENTRO DO RADIAL */
.radial-assist-picker {
  margin-top: 14px;
  width: 100%;
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: radialFadeIn 0.2s ease;
}

.radial-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  color: #00d2ff;
}

.radial-picker-cancel {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}

.radial-assist-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.radial-assist-pill {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.radial-assist-pill:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: #00d2ff;
  transform: translateX(4px);
}

.radial-assist-pill.solo {
  background: rgba(0, 245, 155, 0.15);
  border-color: rgba(0, 245, 155, 0.4);
  color: #00f59b;
}

/* ========================================================
   MODAIS GENERICOS MODERNOS (EDICAO DE ASSIST / EVENTOS)
   ======================================================== */
.modal-backdrop-generic {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10060;
  padding: 16px;
  animation: radialFadeIn 0.2s ease;
}

.modal-box-generic {
  background: linear-gradient(135deg, #10162f, #080c1d);
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 210, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  max-width: 480px;
  width: 100%;
  color: #fff;
}

/* ========================================================
   RESPONSIVIDADE MOBILE DO RADIAL WHEEL
   ======================================================== */
@media (max-width: 480px) {
  .radial-wheel-wrapper {
    width: 310px;
    height: 310px;
  }
  .radial-action-item {
    width: 66px;
    height: 66px;
  }
  .radial-action-item .radial-icon {
    font-size: 1.38rem;
  }
  .radial-action-item .radial-label {
    font-size: 0.60rem;
  }
  .radial-pos-assist {
    right: 0px;
    top: 40px;
  }
  .radial-pos-owngoal {
    left: 0px;
    top: 40px;
  }
  .radial-pos-tackle {
    right: 4px;
    bottom: 35px;
  }
  .radial-pos-save {
    left: 4px;
    bottom: 35px;
  }
}

/* ========================================================
   CONTROLES COMPACTOS STREAMLINED & EXCLUIR PARTIDA NO FIM
   ======================================================== */
.match-controls-streamlined {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 10px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.match-controls-streamlined button {
  flex: 1 !important;
  max-width: 240px !important;
  min-height: 44px !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  font-size: 0.92rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.match-controls-streamlined .btn-ctrl-start {
  background: linear-gradient(135deg, #00f59b, #00b875) !important;
  color: #041c12 !important;
  border: 1px solid #00f59b !important;
  box-shadow: 0 4px 16px rgba(0, 245, 155, 0.3) !important;
}

.match-controls-streamlined .btn-ctrl-pause {
  background: linear-gradient(135deg, #fbbf24, #d97706) !important;
  color: #261600 !important;
  border: 1px solid #fbbf24 !important;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3) !important;
}

.match-controls-streamlined .btn-ctrl-resume {
  background: linear-gradient(135deg, #00d2ff, #0088cc) !important;
  color: #051824 !important;
  border: 1px solid #00d2ff !important;
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.3) !important;
}

.match-controls-streamlined .btn-ctrl-finish {
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
  color: #fff !important;
  border: 1px solid #ef4444 !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3) !important;
}

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

.btn-delete-match-discrete {
  background: transparent !important;
  border: 1px dashed rgba(239, 68, 68, 0.4) !important;
  color: #f87171 !important;
  padding: 8px 18px !important;
  border-radius: 10px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-delete-match-discrete:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: #ef4444 !important;
  color: #fff !important;
}

/* Otimização de Altura da Tela Mobile (Tudo na mesma tela sem rolagem) */
@media (max-width: 768px) {
  .pitch-vertical {
    min-height: 375px !important;
    max-height: 54vh !important;
    aspect-ratio: 1/1.48 !important;
  }

  .scoreboard-v2 {
    padding: 8px 10px !important;
    gap: 4px !important;
    margin-bottom: 6px !important;
  }

  .scoreboard-v2 .sb-score-num {
    font-size: 2.2rem !important;
  }

  .scoreboard-v2 .sb-timer-digits {
    font-size: 1.1rem !important;
  }

  .scoreboard-v2 .sb-crest-ring {
    width: 42px !important;
    height: 42px !important;
  }

  .tactical-tile {
    min-width: 52px !important;
    height: 62px !important;
    padding: 3px !important;
  }

  .tactical-tile .tile-name-label {
    font-size: 0.58rem !important;
    max-width: 50px !important;
  }

  .tactical-tile .tile-photo-wrap {
    /* width: 32px !important; */
    /* height: 32px !important; */
    padding-left: 11px;
  }

  .tactical-tile .tile-corner-badge {
    font-size: 0.52rem !important;
  }
}