/* =========================================================
   PRO CLUBS HUB - DESIGN SYSTEM & ESPORTS BROADCAST THEME
   ========================================================= */

:root {
  /* Paleta de Cores eSports / EA FC */
  --bg-dark: #07090e;
  --bg-surface: rgba(14, 19, 31, 0.85);
  --bg-card: rgba(19, 26, 43, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.15);

  /* Acentos vibrantes */
  --accent-neon: #00ff87;        /* Verde gramado neon EA FC */
  --accent-green: #4cd964;       /* Verde de status (janela aberta) */
  --accent-cyan: #00e5ff;        /* Ciano elétrico */
  --accent-indigo: #6366f1;      /* Roxo / Índigo */
  --accent-yellow: #ffd54f;      /* Amarelo (valor FC) */
  --accent-glow: rgba(0, 255, 135, 0.25);

  /* Cores de Posição de Futebol */
  --pos-attack: #ef4444;         /* ATA / PE / PD - Vermelho */
  --pos-mid: #10b981;            /* MEI / MC / MD - Verde */
  --pos-def: #3b82f6;            /* VOL / ZAG / LD / LE - Azul */
  --pos-gk: #f59e0b;             /* GL - Dourado */

  /* Textos */
  --text-pure: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Dimensões e Transições */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Teko', sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   ILUMINAÇÃO DE FUNDO (AMBIENT GLOWS)
   ========================================================= */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00ff87 0%, rgba(0, 255, 135, 0) 70%);
  top: -150px;
  left: -100px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4f46e5 0%, rgba(79, 70, 229, 0) 70%);
  bottom: -150px;
  right: -100px;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #00e5ff 0%, rgba(0, 229, 255, 0) 70%);
  top: 40%;
  right: 25%;
  opacity: 0.15;
}

/* =========================================================
   TELA DE LOGIN / AUTENTICAÇÃO
   ========================================================= */
.auth-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: cardFadeUp 0.4s ease-out forwards;
}

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

.card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--accent-neon);
  padding: 0;
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.brand-badge.mini {
  padding: 0;
  margin-bottom: 0;
  justify-content: center;
  background: transparent;
  border: none;
}

.brand-badge .brand-logo {
  height: 96px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(0, 255, 135, 0.55)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.brand-badge.mini .brand-logo {
  height: 42px;
}

.card-header h1 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Aviso de Modo Demo */
.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.25);
  color: #a7f3d0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.notice-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-neon);
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-text strong {
  display: block;
  color: var(--accent-neon);
  margin-bottom: 2px;
}

.google-btn-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  min-height: 44px;
}

.btn-google-demo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #ffffff;
  color: #0f172a;
  border: none;
  padding: 0.78rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1.25rem;
}

.btn-google-demo:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.google-icon {
  width: 20px;
  height: 20px;
}

/* Fallback de login via redirect (WebView / popup bloqueado) */
.btn-google-redirect {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-strong);
  border: 1px solid var(--border-subtle);
  padding: 0.68rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}
.btn-google-redirect:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-highlight);
}

.auth-hint {
  margin: -0.35rem 0 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.4;
}
.auth-hint strong {
  color: var(--text-muted);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.divider span {
  padding: 0 0.85rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.forgot-link {
  font-size: 0.8rem;
  color: var(--accent-neon);
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  pointer-events: none;
}

.input-wrapper input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem 0.75rem 2.65rem;
  color: var(--text-pure);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group select,
.form-group textarea {
  padding-left: 1rem;
}

/* Inputs "puros" (fora do .input-wrapper) com o mesmo visual escuro do cadastro */
.form-group > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.profile-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]) {
  width: 100%;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-pure);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group > input:disabled,
.profile-form input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-group input::placeholder,
.profile-form input::placeholder {
  color: var(--text-dim);
}

.input-wrapper input:focus,
.profile-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):focus,
.form-group > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.toggle-pwd-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
}

.toggle-pwd-btn:hover {
  color: var(--text-pure);
}

.eye-icon {
  width: 18px;
  height: 18px;
}

/* Abas Entrar / Criar Conta */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.35rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  background: transparent;
  border: none;
  border-radius: calc(var(--radius-md) - 4px);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab:hover {
  color: var(--text-pure);
}

.auth-tab.is-active {
  background: linear-gradient(135deg, #00ff87 0%, #059669 100%);
  color: #07090e;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.auth-view {
  animation: cardFadeUp 0.25s ease-out forwards;
}

/* Mensagens de formulário (erro / sucesso) */
.form-alert {
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.form-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
}

.form-alert-success {
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid rgba(0, 255, 135, 0.4);
  color: #a7f3d0;
}

/* Erro inline por campo */
.field-error {
  color: #f87171;
  font-size: 0.75rem;
  min-height: 0.9rem;
  line-height: 1.2;
}

/* Dica/helper abaixo de um campo */
.field-hint {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.35;
}

/* Duas colunas no cadastro (plataforma / posição) */
.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

/* Acessos rápidos de troca de view */
.auth-switch-hint {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-switch-hint a {
  color: var(--accent-neon);
  text-decoration: none;
  font-weight: 700;
}

.auth-switch-hint a:hover {
  text-decoration: underline;
}

/* Ícone de status das views (confirmação / reset) */
.auth-status-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.3);
  color: var(--accent-neon);
}

.auth-status-icon svg {
  width: 26px;
  height: 26px;
}

.auth-subheading {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.6rem;
}

.auth-subtext {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

.auth-subtext strong {
  color: var(--text-pure);
}

#auth-confirm-view .btn,
#auth-reset-view .btn {
  width: 100%;
  margin-top: 0.6rem;
}

/* =========================================================
   BOTÕES GERAIS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  padding: 0.8rem 1.25rem;
  font-size: 0.92rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, #00ff87 0%, #059669 100%);
  color: #07090e;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 135, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-highlight);
}

.btn-action-glow {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #07090e;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-action-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* =========================================================
   PLATAFORMA LOGADA: TOP NAVBAR
   ========================================================= */
.app-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-navbar {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  line-height: 1;
}

.nav-brand .brand-title {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.nav-brand:hover {
  opacity: 0.85;
}

/* Botão voltar ao topo */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 6.5rem;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-highlight);
  background: rgba(10, 15, 26, 0.9);
  color: var(--text-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-neon);
  color: #07090e;
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.35);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-pure);
}

.brand-title span {
  color: var(--accent-neon);
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(19, 26, 43, 0.5);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn svg {
  width: 17px;
  height: 17px;
}

.tab-btn:hover {
  color: var(--text-pure);
}

.tab-btn.active {
  background: var(--accent-neon);
  color: #07090e;
  font-weight: 700;
  box-shadow: 0 2px 10px var(--accent-glow);
}

.user-nav-dropdown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: var(--text-pure);
  transition: var(--transition);
}

.user-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-highlight);
}

.user-pill-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.profile-edit-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.55rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.profile-edit-btn svg {
  width: 17px;
  height: 17px;
}

.profile-edit-btn:hover {
  background: rgba(0, 255, 135, 0.12);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  transform: scale(1.05);
}

.user-pill img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-neon);
}

.user-pill-info {
  display: flex;
  flex-direction: column;
}

.user-pill-info .name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-pure);
}

.user-pill-info .tag {
  font-size: 0.72rem;
  color: var(--accent-neon);
}

/* Header compacto: exibe apenas a foto do usuário */
.user-pill {
  padding: 0.35rem;
}

.user-pill-info,
.user-pill-chevron {
  display: none;
}

.logout-icon-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  padding: 0.55rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.logout-icon-btn svg {
  width: 18px;
  height: 18px;
}

.logout-icon-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  transform: scale(1.05);
}

/* =========================================================
   CONTEÚDO PRINCIPAL (DASHBOARD)
   ========================================================= */
.dashboard-content {
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: 1.1rem 1.5rem 4rem;
  flex: 1;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

/* =========================================================
   ABA 1: COPA DO MUNDO
   ========================================================= */
.tournament-hero {
  background: linear-gradient(135deg, rgba(20, 29, 48, 0.9) 0%, rgba(10, 14, 24, 0.95) 100%),
              url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?w=1200&auto=format&fit=crop&q=80') center/cover;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 1.9rem 2rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.tournament-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.3);
  color: var(--accent-neon);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-neon);
}

.tournament-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.tournament-hero p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 650px;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

/* Stepper de progresso da competição */
.tournament-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.4rem 0 1.4rem;
}

.tournament-stepper .step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
}

.tournament-stepper .step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
}

.tournament-stepper .step.is-done {
  border-color: rgba(0, 255, 135, 0.4);
  background: rgba(0, 255, 135, 0.09);
  color: var(--accent-neon);
}

.tournament-stepper .step.is-done .step-dot {
  background: rgba(0, 255, 135, 0.18);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

.tournament-stepper .step.is-active {
  border-color: var(--accent-neon);
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.16) 0%, rgba(0, 229, 255, 0.16) 100%);
  color: var(--text-pure);
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.15);
}

.tournament-stepper .step.is-active .step-dot {
  background: var(--accent-neon);
  border-color: var(--accent-neon);
  color: #06120d;
}

.tournament-stepper .step-connector {
  width: 18px;
  height: 1px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* Card "SEU PRÓXIMO JOGO" */
.next-match-card {
  grid-column: 1 / -1;
  border: 1px solid rgba(0, 255, 135, 0.35);
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.09) 0%, rgba(20, 26, 40, 0.9) 60%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(0, 255, 135, 0.25);
  margin-bottom: 0.6rem;
}

.next-match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 1.1rem;
  background: rgba(0, 255, 135, 0.06);
  border-bottom: 1px solid rgba(0, 255, 135, 0.18);
}

.next-match-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-neon);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.next-match-round {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.next-match-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.1rem;
}

.next-match-team {
  flex: 1;
  min-width: 120px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-pure);
}

.next-match-team-right {
  text-align: right;
}

.next-match-score {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--accent-neon);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Rodadas com expandir/recolher nas partidas */
.match-group-header {
  cursor: pointer;
  user-select: none;
}

.match-group-header:hover .group-letter {
  color: var(--accent-neon);
}

.match-group-arrow {
  display: inline-block;
  width: 1.1rem;
  color: var(--accent-cyan);
  font-size: 0.7rem;
}

/* Badge de súmula pendente */
.pending-sumula-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(255, 184, 77, 0.16);
  border: 1px solid rgba(255, 184, 77, 0.4);
  color: #ffd277;
  font-size: 0.68rem;
  font-weight: 700;
  animation: pulse-glow 1.8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 184, 77, 0); }
  50% { box-shadow: 0 0 10px rgba(255, 184, 77, 0.45); }
}

/* Legenda e medalhas da classificação */
.standings-legend {
  padding: 0.45rem 1rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pos-medal {
  font-size: 0.95rem;
}

.tournament-badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.tournament-deadline-badge {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tournament-format-pills {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 1.5rem;
}

.format-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.format-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-pure);
  border-color: var(--border-highlight);
}

.format-pill.active {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.15) 0%, rgba(0, 229, 255, 0.15) 100%);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

.tournament-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-switch-pills {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.switch-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.switch-btn svg {
  width: 17px;
  height: 17px;
}

.switch-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-pure);
}

/* Sub-views */
.subview-content {
  display: none;
}

.subview-content.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

.groups-header, .bracket-intro {
  margin-bottom: 2.1rem;
}

.groups-header h2, .bracket-intro h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.3rem;
}

/* Grade de Grupos (A a H) */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.85rem;
}

/* Classificação dos grupos — lado a lado e compacta */
#live-standings-panel {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
@media (min-width: 720px) {
  #live-standings-panel { grid-template-columns: repeat(3, 1fr); }
}

#live-standings-panel .group-card-header {
  padding: 0.72rem 1rem;
}
#live-standings-panel .group-table {
  font-size: 0.76rem;
}
#live-standings-panel .group-table th {
  font-size: 0.66rem;
  padding: 0.55rem 0.3rem;
}
#live-standings-panel .group-table td {
  padding: 0.55rem 0.3rem;
}
#live-standings-panel .team-cell {
  padding-left: 0.45rem;
}
#live-standings-panel .team-flag {
  width: 15px;
  height: 15px;
}

.group-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.group-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.group-card-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

.group-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-neon);
}

.group-status {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

/* Cabeçalhos dos painéis ao vivo (classificação/partidas por grupo) */
.group-letter {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.group-matchday {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.group-card-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.group-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  table-layout: fixed;
}

.group-table th {
  padding: 0.65rem 0.3rem;
  text-align: center;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--border-subtle);
}

.group-table th.th-pos { width: 26px; }
.group-table th.th-team { width: auto; text-align: left; padding-left: 0.65rem; }
.group-table th.th-stat { width: 28px; }
.group-table th.th-sg { width: 38px; }

.group-table td {
  padding: 0.65rem 0.3rem;
  text-align: center;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
}

.group-table td.team-cell {
  text-align: left;
  padding-left: 0.65rem;
  overflow: hidden;
}

.team-cell-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.team-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-pure);
  font-size: 0.84rem;
}

.team-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.row-qualified td {
  background: rgba(0, 255, 135, 0.04);
}

.row-qualified .pos-indicator {
  color: var(--accent-neon);
  font-weight: 800;
}

.pos-indicator {
  font-weight: 700;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.pts-val {
  font-weight: 800;
  color: var(--text-pure);
}

.stat-val {
  color: var(--text-dim);
}

/* Saldo de Gols Padronizado e Destaque */
.sg-cell {
  font-weight: 800;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.sg-pos {
  color: var(--accent-neon);
}

.sg-neg {
  color: #f87171;
}

.sg-zero {
  color: var(--text-dim);
}


/* =========================================================
   MATA-MATA DA COPA (TOURNAMENT BRACKET)
   ========================================================= */

/* Container com scroll horizontal em telas pequenas */
.bracket-scroll-container {
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 2rem;
  /* Scrollbar estilizada */
  scrollbar-width: thin;
  scrollbar-color: var(--border-highlight) transparent;
}
.bracket-scroll-container::-webkit-scrollbar { height: 6px; }
.bracket-scroll-container::-webkit-scrollbar-track { background: transparent; }
.bracket-scroll-container::-webkit-scrollbar-thumb {
  background: var(--border-highlight);
  border-radius: 3px;
}

/* Linha horizontal de rodadas */
.bracket-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  min-width: 980px;
  padding: 0.5rem 0.25rem 1rem;
}

/* Cada coluna de rodada */
.bracket-round {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  padding: 0 0.75rem;
}

/* Separador vertical entre rodadas */
.bracket-round + .bracket-round::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--border-subtle) 20%,
    var(--border-subtle) 80%,
    transparent 100%
  );
}

/* Cabeçalho de cada rodada */
.round-header {
  text-align: center;
  padding: 0.5rem 0.25rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}
.round-header h3 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}
.round-header span {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Área de jogos — distribui cards verticalmente */
.bracket-round .matches-column {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  flex: 1;
  gap: 0.65rem;
}

/* Card de jogo */
.match-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  min-width: 0;
}
.match-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 6px 20px rgba(0, 255, 135, 0.12);
  transform: translateY(-2px);
}

/* Time dentro do card */
.match-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 0.4rem;
  min-width: 0;
}
.match-team:last-child { border-bottom: none; }

.team-ident {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}
.team-ident span {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-score {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dim);
  flex-shrink: 0;
  margin-left: 0.4rem;
}

/* Time vencedor destaque */
.match-team.winner {
  background: rgba(0, 255, 135, 0.07);
}
.match-team.winner .team-ident span {
  color: var(--accent-neon);
  font-weight: 800;
}
.match-team.winner .team-score {
  color: var(--accent-neon);
}

/* Coluna da Final — estilo ouro */
.desempate-chip {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: .4px;
  font-weight: 800;
  color: #fbbf24;
  padding: 0.15rem 0 0.3rem;
}
.bracket-round.is-final .round-header h3 {
  color: #fbbf24;
}
.bracket-round.is-final .match-card {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.18);
}
.bracket-round.is-final .match-card:hover {
  border-color: rgba(245, 158, 11, 0.65);
}

/* Espinha de peixe: conectores em Y + cards de altura igual */
.bracket-wrapper,
.knockout-wrap {
  position: relative;
}

.bracket-bones {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  max-width: none !important;
}

.bracket-round .matches-column .match-card,
.knockout-wrap .matches-column > .match-card {
  flex: 0 1 auto;
  align-self: stretch;
}

.knockout-wrap .bracket-round {
  flex: 1;
  padding: 0 0.4rem;
}

.knockout-wrap .matches-column {
  gap: 0.9rem;
  justify-content: space-evenly;
}

/* Carrossel do bracket no mobile (rodada por rodada) */
.bracket-carousel-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 1rem;
}

.bracket-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-highlight);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-pure);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bracket-arrow:hover {
  background: rgba(0, 255, 135, 0.14);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

.bracket-dots {
  display: flex;
  gap: 0.5rem;
}

.bracket-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.bracket-dot.active {
  background: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon);
}

@media (max-width: 900px) {
  .bracket-carousel-nav {
    display: flex;
  }

  .bracket-bones {
    display: none;
  }

  .bracket-scroll-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .bracket-scroll-container::-webkit-scrollbar {
    display: none;
  }

  .bracket-wrapper {
    min-width: 0;
    flex-wrap: nowrap;
    padding: 0.5rem 0 1rem;
  }

  .bracket-round {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 0 0.35rem;
  }

  .bracket-round + .bracket-round::before {
    display: none;
  }
}

/* Card de troféu do campeão */
.final-trophy-card {
  text-align: center;
  padding: 1.2rem 0.75rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(20, 26, 40, 0.85) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}
.final-trophy-card .trophy-icon {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
  display: block;
}
.final-trophy-card h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cartão dourado do campeão (aba Competições — Final do bracket) */
.champion-crest-card {
  position: relative;
  align-self: center;
  flex: 0 0 auto;
  width: clamp(190px, 92%, 250px);
  margin-left: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.1rem 0.9rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255, 214, 89, 0.32) 0%, rgba(245, 158, 11, 0.1) 46%, rgba(10, 14, 24, 0.92) 100%),
    var(--bg-surface);
  border: 1px solid rgba(250, 204, 21, 0.45);
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.22), inset 0 0 18px rgba(250, 204, 21, 0.08);
  overflow: hidden;
  text-align: center;
}
.champion-crest-card::before {
  content: '';
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 230, 140, 0.55) 45%, transparent 60%);
  pointer-events: none;
  animation: champ-gleam 3.2s ease-in-out infinite;
}
@keyframes champ-gleam {
  0%, 100% { opacity: 0; transform: translateX(-30%); }
  50% { opacity: 1; transform: translateX(30%); }
}
.champion-crest-emoji {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.6));
}
.champion-crest-frame {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, #facc15, #fde68a, #f59e0b, #facc15);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.45);
}
.champion-crest-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #0b1220;
  display: block;
}
.champion-crest-frame-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0b1220;
  font-size: 1.9rem;
}
.champion-crest-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.15rem;
}
.champion-crest-label {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #fde68a;
  text-transform: uppercase;
}
.champion-crest-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.2;
}



/* =========================================================
   ABA 2: MEU CLUBE & ELENCO
   ========================================================= */
.club-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
}

.club-badge-large {
  position: relative;
  width: 100px;
  height: 100px;
}

.club-badge-large img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid var(--accent-neon);
}

.club-tier-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: #fbbf24;
  color: #07090e;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.club-info-block {
  flex: 1;
  min-width: 280px;
}

.club-tag-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.badge-accent {
  background: rgba(0, 255, 135, 0.15);
  color: var(--accent-neon);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge-server {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.club-info-block h1 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.club-motto {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.club-quick-stats {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.c-stat {
  display: flex;
  flex-direction: column;
}

.c-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-pure);
}

.c-stat-val.highlight {
  color: var(--accent-neon);
}

.c-stat-val.trophy {
  color: #fbbf24;
}

.c-stat-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.roster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.roster-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
}

.roster-count {
  font-size: 0.85rem;
  color: var(--accent-neon);
  font-weight: 700;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.roster-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.roster-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.player-avatar-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.player-avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-highlight);
}

.online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: var(--accent-neon);
  border: 2px solid var(--bg-dark);
  border-radius: 50%;
}

.player-details {
  flex: 1;
}

.p-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.p-gamertag {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-pure);
}

.p-overall {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fbbf24;
}

.p-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.p-sec-pos-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

/* Badges de Posição */
.badge-pos {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pos-ata { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.pos-mei { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.pos-def { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
.pos-gk  { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }

/* Badge discreto para posições secundárias no elenco */
.badge-pos-sec {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-dim);
  border: 1px solid rgba(148, 163, 184, 0.28);
  text-transform: none;
  letter-spacing: 0.03em;
}

.btn-roster-chat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-roster-chat svg {
  width: 15px;
  height: 15px;
}

.btn-roster-chat:hover {
  background: rgba(0, 255, 135, 0.15);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  transform: scale(1.1);
}

/* =========================================================
   PRANCHETA TÁTICA VISUAL (TACTICAL PITCH)
   ========================================================= */
.tactical-board-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.tactical-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tactical-formation-selector {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn-tactical-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  justify-content: center;
}

.tactical-formation-selector label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

.tactical-formation-selector select {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  color: var(--accent-neon);
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  outline: none;
  font-family: inherit;
  font-size: 0.85rem;
}

/* Campo de Futebol */
.football-pitch {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 480px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #11361e 0%, #0d2b17 100%);
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6), 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Linhas do Campo */
.pitch-center-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
}

.pitch-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pitch-penalty-box-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 220px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: none;
  transform: translateX(-50%);
}

.pitch-penalty-box-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 220px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: none;
  transform: translateX(-50%);
}

/* Camada de Jogadores em Campo */
.pitch-players-layer {
  position: absolute;
  inset: 0;
}

.pitch-player-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: grab;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pitch-player-node:active {
  cursor: grabbing;
}

.pitch-player-node.is-dragging {
  opacity: 0.4;
  pointer-events: none;
}

.pitch-ghost {
  pointer-events: none;
  z-index: 50;
  opacity: 0.92;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
}

body.pitch-dragging {
  user-select: none;
  -webkit-user-select: none;
}

body.pitch-dragging .pitch-player-node {
  cursor: grabbing;
}

.pitch-player-node:hover {
  transform: translate(-50%, -50%) scale(1.15);
  z-index: 10;
}

.pitch-jersey.is-captain {
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.75);
}

.pitch-player-vacancy .pitch-jersey {
  background: rgba(255, 255, 255, 0.16);
}

/* Banco de Reservas da Prancheta */
.pitch-bench {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.4);
}

.pitch-bench-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.pitch-bench-header h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-pure);
}

.pitch-bench-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-neon);
}

.pitch-bench-hint {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  color: var(--text-dim);
}

.pitch-bench-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bench-player-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  cursor: grab;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-family: inherit;
  font-size: 0.78rem;
  transition: var(--transition);
}

.bench-player-item:active {
  cursor: grabbing;
}

.bench-player-item:hover {
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

.bench-player-item.is-dragging {
  opacity: 0.4;
}

.bench-player-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bench-player-meta {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.pitch-bench-empty {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
}

.captain-only-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.55rem;
  white-space: nowrap;
}

.pitch-jersey {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-neon) 0%, #059669 100%);
  color: #0d1117;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  border: 2px solid #ffffff;
  position: relative;
}

.pitch-jersey.gk {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #1f2937;
}

.pitch-captain-band {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff;
}

.pitch-player-label {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 3px;
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================
   PROPOSTAS DE TRANSFERÊNCIA & MERCADO
   ========================================================= */
.filter-separator {
  color: var(--border-highlight);
  margin: 0 4px;
  align-self: center;
  font-size: 0.9rem;
}

.proposals-banner-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(17, 24, 39, 0.8) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.proposals-banner-header {
  margin-bottom: 1rem;
}

.proposals-badge {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.sent-banner {
  background: linear-gradient(135deg, rgba(255, 184, 77, 0.1) 0%, rgba(17, 24, 39, 0.8) 100%);
  border-color: rgba(255, 184, 77, 0.3);
}

.proposals-badge.sent {
  background: rgba(255, 184, 77, 0.18);
  color: #ffd277;
}

.prop-history-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 184, 77, 0.08);
  border: 1px solid rgba(255, 184, 77, 0.25);
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.prop-history-toggle:hover {
  background: rgba(255, 184, 77, 0.16);
  color: var(--text-pure);
}

.prop-history-toggle.open {
  border-color: rgba(255, 184, 77, 0.45);
  color: var(--text-pure);
}

.prop-history-list {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0.85;
}

.proposal-item-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.proposal-target-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.proposal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.proposal-modal-card {
  max-width: 480px;
}

/* ---- Modal: remover inscrição (ferramenta da moderação) ---- */
.remove-reg-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.25rem;
  max-height: 55vh;
  overflow-y: auto;
}

.remove-reg-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-highlight);
  border-radius: 10px;
}

.remove-reg-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* =========================================================
   ABA 3: MERCADO & RECRUTAMENTO
   ========================================================= */
.market-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.market-header h1 {
  font-size: 1.75rem;
  font-weight: 800;
}

.market-filters {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill.active {
  background: var(--accent-neon);
  color: #07090e;
  font-weight: 700;
  border-color: var(--accent-neon);
}

.market-feed-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.market-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
}

.market-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.market-card-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.market-card-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-pure);
}

.author-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.market-card-body {
  flex: 1;
}

.market-card-body p {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.45;
}

.badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.tag-free-agent {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
}

.tag-recruiting {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* =========================================================
   ABA 4: MEU PERFIL (ESTILO CARTA FIFA)
   ========================================================= */
.profile-page-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Carta Estilo Ultimate Team / Pro Clubs */
.fifa-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #fbbf24;
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.2);
  position: relative;
  overflow: hidden;
}

.fifa-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: -1rem;
}

.card-pos-primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-pos-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.sec-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.sec-badges {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 110px;
}

.badge-sec-pos {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--accent-neon);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.ovr-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}

.ovr-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fbbf24;
  opacity: 0.75;
  margin-top: 0.15rem;
}

.pos-badge {
  font-size: 1rem;
  font-weight: 800;
  color: #f8fafc;
}

/* Posições Secundárias no Formulário */
.sec-positions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.pos-check-chip {
  cursor: pointer;
  user-select: none;
}

.pos-check-chip input[type="checkbox"] {
  display: none;
}

.pos-check-chip span {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition);
}

.pos-check-chip:hover span {
  border-color: var(--border-highlight);
  color: var(--text-pure);
}

.pos-check-chip input[type="checkbox"]:checked + span {
  background: rgba(0, 255, 135, 0.15);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.field-help-text {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  display: block;
}

.player-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.75rem;
  position: relative;
}

.player-photo-edit {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg-deep, #0a0f1a);
  background: rgba(10, 15, 26, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.player-photo-edit svg {
  width: 16px;
  height: 16px;
}

.player-photo-edit:hover {
  background: var(--accent-neon);
  color: #07090e;
  transform: scale(1.08);
}

.player-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fbbf24;
}

.player-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.player-subinfo {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.player-discord-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #a5aed4;
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}

.card-stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.85rem;
}

.stat-col {
  display: flex;
  flex-direction: column;
}

.stat-col span {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-pure);
}

.stat-col label {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 700;
}

/* Formulário de Perfil */
.profile-settings-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
}

.profile-settings-card h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.profile-modal-card {
  max-width: 1080px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* =========================================================
   SISTEMA DE PREMIAÇÕES, MEDALHAS E TROFÉUS (RETURN CLUBS FC)
   ========================================================= */

.btn-captain-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #07090e;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-captain-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.55);
}

.awards-section {
  margin-top: 3.5rem;
  background: linear-gradient(180deg, rgba(19, 26, 43, 0.6) 0%, rgba(10, 14, 24, 0.9) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Abas do Quadro de Honra */
.awards-tabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0.4rem 0 0.9rem;
}

.award-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.award-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-pure);
}

.award-tab.active {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.15) 0%, rgba(0, 229, 255, 0.15) 100%);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

.awards-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.awards-title-group h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.awards-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.award-honors-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.award-honors-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.award-honors-card.gold-award {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(14, 19, 31, 0.9) 100%);
}

.award-honors-card.silver-award {
  border-color: rgba(148, 163, 184, 0.3);
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.08) 0%, rgba(14, 19, 31, 0.9) 100%);
}

.award-trophy-symbol {
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.3));
}

.award-badge-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fbbf24;
  margin-bottom: 0.35rem;
}

.award-honors-card.silver-award .award-badge-title {
  color: #cbd5e1;
}

.award-winner-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.2rem;
}

.award-winner-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.award-prize-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.award-prize-label.highlight-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.award-prize-label.highlight-silver {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Ranking do Torneio (artilheiros & assistências) */
.ranking-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.ranking-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 0.75rem;
}

.ranking-col-head {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fbbf24;
  padding: 0.25rem 0.25rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
}

.rank-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-card:last-child {
  border-bottom: none;
}

.rank-card.rank-leader {
  background: rgba(245, 158, 11, 0.1);
  border-radius: 10px;
  margin: 0 -0.2rem;
  padding: 0.6rem 0.55rem;
}

.rank-num {
  min-width: 1.9rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-dim);
}

.rank-card.rank-leader .rank-num {
  color: #fbbf24;
}

.rank-player {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.rank-player b {
  font-size: 0.9rem;
  color: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-player small {
  font-size: 0.72rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-stat {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-pure);
}

.rank-empty {
  padding: 1rem 0.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Sala de Troféus do Clube */
.club-trophy-room {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  margin-bottom: 2.5rem;
}

.trophy-room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.trophy-room-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trophy-icon-gold {
  font-size: 1.6rem;
}

.trophies-count {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.trophies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.trophy-display-card {
  background: rgba(10, 14, 24, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.trophy-display-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.trophy-display-card.gold-border {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(10, 14, 24, 0.8) 100%);
}

.trophy-display-card.trophy-gold-card {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(10, 14, 24, 0.85) 100%);
}

.trophy-display-card.silver-border {
  border-color: rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.08) 0%, rgba(10, 14, 24, 0.8) 100%);
}

.trophy-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.trophy-3d {
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.trophy-details h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.2rem;
}

.trophy-edition {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.2rem;
}

.trophy-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Vitrine de Conquistas do Jogador & Selos na Carta */
.card-awards-strip {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.award-chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.award-chip-badge.silver {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

.award-chip-badge.ballon-dor {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(217, 119, 6, 0.3) 100%);
  border-color: #fbbf24;
  color: #fef08a;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.award-chip-badge.neutral {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}

.player-trophy-cabinet {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.35rem;
  margin-top: 1.5rem;
}

.cabinet-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cabinet-header h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-pure);
}

.medals-shelf {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.shelf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
}

.shelf-item-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.shelf-emoji {
  font-size: 1.3rem;
}

.shelf-medal {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.shelf-item.earned {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(10, 14, 24, 0.7) 100%);
}

.shelf-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.shelf-badge-count {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Filtro de partidas (Todas / Só do meu clube) */
.matches-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2.7rem 0 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.matches-filter-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filter-pill {
  background: rgba(19, 26, 43, 0.5);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover {
  color: var(--text-pure);
  border-color: var(--border-highlight);
}

.filter-pill.active {
  background: var(--accent-neon);
  color: #07090e;
  border-color: var(--accent-neon);
  box-shadow: 0 6px 16px rgba(0, 255, 135, 0.3);
}

/* Modal do Painel do Capitão */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  width: 100%;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8);
  position: relative;
  animation: cardFadeUp 0.25s ease-out forwards;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.modal-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-pure);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.award-select-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(10, 14, 24, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  transition: var(--transition);
}

.award-select-card:focus-within {
  border-color: #fbbf24;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.award-icon-box {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.12);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.award-select-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.award-select-info label {
  font-size: 0.85rem;
  color: var(--text-pure);
}

.award-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.award-dropdown {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  color: var(--text-pure);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}

.award-dropdown:focus {
  border-color: #fbbf24;
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* =========================================================
   MODAL DE SÚMULA E PLACAR DE PARTIDA
   ========================================================= */
.match-modal-card {
  max-width: 520px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
}

.match-score-board {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  margin-top: 0.5rem;
}

.score-team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.score-team-flag {
  font-size: 2.2rem;
}

.score-team-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-pure);
  text-align: center;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-input {
  width: 70px;
  height: 55px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--accent-neon);
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  outline: none;
  transition: var(--transition);
}

.score-input:focus {
  border-color: var(--accent-neon);
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.35);
}

.score-versus-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 1rem;
}

.score-versus-box span {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-dim);
  font-style: italic;
}

.score-versus-box small {
  font-size: 0.68rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.wo-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffb4b4;
  background: rgba(255, 87, 87, 0.14);
  border: 1px solid rgba(255, 87, 87, 0.4);
  border-radius: 6px;
  padding: 0.12rem 0.45rem;
  white-space: nowrap;
}

/* Gols & Assistências da súmula */
.goals-cols {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.goals-col {
  flex: 1 1 210px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.7rem 0.7rem 0.85rem;
}
.goals-team-head {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-cyan, #53e3ff);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 0.55rem;
}
.goals-rows { display: flex; flex-direction: column; gap: 0.45rem; }
.goal-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.goal-chip {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-amber, #ffd66b);
  background: rgba(255, 214, 107, 0.12);
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
  align-self: flex-start;
}
.goal-row select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(18, 26, 38, 0.95);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
}
.goal-row select option {
  background: #0d1520;
  color: #f2f5f7;
  font-size: 0.9rem;
  padding: 0.35rem;
}
.goal-row select:focus { border-color: var(--accent-cyan, #53e3ff); }
.goal-row select:disabled { opacity: 0.5; }
.goal-static {
  font-size: 0.76rem;
  color: var(--text-primary, #f2f5f7);
  background: rgba(83, 227, 255, 0.06);
  border: 1px solid rgba(83, 227, 255, 0.14);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.goal-assist-tag {
  font-size: 0.68rem;
  color: var(--text-dim, #9aa7b0);
}
.goals-placeholder {
  font-size: 0.72rem;
  color: var(--text-dim, #9aa7b0);
  font-style: italic;
  text-align: center;
  padding: 0.6rem 0.2rem;
}

.match-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-danger-subtle {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-weight: 700;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  margin-right: auto;
}

.btn-danger-subtle:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

/* =========================================================
   WIDGET DE CHAT EM TEMPO REAL (REALTIME FLOATING CHAT)
   ========================================================= */
.chat-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Botão Flutuante */
.btn-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-cyan) 100%);
  color: #0d1117;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 255, 135, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.btn-chat-toggle:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 255, 135, 0.6);
}

.btn-chat-toggle svg {
  width: 28px;
  height: 28px;
  transition: transform 0.2s;
}

.chat-unread-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6);
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Janela Popup do Chat */
.chat-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 380px;
  height: 520px;
  background: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpFade 0.25s ease-out;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-subview {
  display: none;
  flex-direction: column;
  height: 100%;
}

.chat-subview.active {
  display: flex;
}

/* Cabeçalho do Chat */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.chat-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-pure);
}

/* Barra de Busca de Jogador no Chat */
.chat-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-subtle);
}

.chat-search-bar svg {
  width: 16px;
  height: 16px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.chat-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-size: 0.82rem;
  outline: none;
}

.chat-search-bar input::placeholder {
  color: var(--text-dim);
}

.chat-search-results {
  max-height: 180px;
  overflow-y: auto;
  background: rgba(14, 19, 32, 0.98);
  border-bottom: 1px solid var(--border-highlight);
}

.chat-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.chat-search-item:hover {
  background: rgba(0, 255, 135, 0.08);
}

.chat-search-item img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-search-item-info {
  flex: 1;
  min-width: 0;
}

.chat-search-item-gt {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-pure);
}

.chat-search-item-sub {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.btn-chat-icon {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-chat-icon:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.08);
}

.btn-block-user:hover {
  color: #ef4444;
}

.btn-chat-back {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-chat-back svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-chat-back:hover {
  color: var(--accent-cyan);
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  margin-left: 6px;
}

.chat-avatar-mini {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-highlight);
}

.chat-active-gamertag {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.1;
}

.chat-active-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.chat-active-tag {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.05rem 0.4rem;
  letter-spacing: 0.04em;
}

.chat-active-status {
  font-size: 0.72rem;
  color: var(--accent-neon);
  font-weight: 500;
}

/* Lista de Conversas */
.chat-conversations-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.chat-conversation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  margin-bottom: 4px;
}

.chat-conversation-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
}

.chat-conversation-item.unread {
  background: rgba(0, 255, 135, 0.05);
  border-color: rgba(0, 255, 135, 0.2);
}

.conv-avatar-box {
  position: relative;
  flex-shrink: 0;
}

.conv-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.conv-info {
  flex: 1;
  min-width: 0;
}

.conv-top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3px;
}

.conv-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv-time {
  font-size: 0.7rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.conv-last-msg {
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-conversation-item.unread .conv-last-msg {
  color: var(--text-pure);
  font-weight: 600;
}

.chat-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-dim);
}

.chat-empty-state span {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.chat-empty-state small {
  font-size: 0.78rem;
  line-height: 1.4;
  display: block;
}

/* Corpo das Mensagens */
.chat-messages-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.chat-msg-row {
  display: flex;
  flex-direction: column;
  max-width: 78%;
  animation: fadeInMsg 0.15s ease-out;
}

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

.chat-msg-row.sent {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-msg-row.received {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.4;
  word-break: break-word;
}

.chat-msg-row.sent .chat-bubble {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.25) 0%, rgba(0, 229, 255, 0.25) 100%);
  border: 1px solid rgba(0, 255, 135, 0.4);
  color: #f0fdf4;
  border-bottom-right-radius: 2px;
}

.chat-msg-row.received .chat-bubble {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-pure);
  border-bottom-left-radius: 2px;
}

.chat-msg-time {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 2px;
  padding: 0 4px;
}

/* Botões/banners de proposta dentro do chat */
.prop-chat-banner {
  margin-top: 10px;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.prop-chat-banner.ok {
  color: #7dffb1;
  border-color: rgba(0, 255, 135, 0.45);
  background: rgba(0, 255, 135, 0.12);
}
.prop-chat-banner.no {
  color: #ffa3a3;
  border-color: rgba(255, 80, 80, 0.45);
  background: rgba(255, 80, 80, 0.12);
}
.prop-chat-banner.wait {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
}
.prop-chat-banner + .btn {
  font-size: 0.75rem;
}

/* Input do Chat */
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
}

.chat-input-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem;
  color: var(--text-pure);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.chat-input-row input:focus {
  border-color: var(--accent-neon);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.btn-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-neon);
  color: #0b0f19;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.4);
}

.btn-chat-send svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

/* =========================================================
   CRIAÇÃO E GESTÃO DE CLUBES (RETURN CLUBS FC)
   ========================================================= */

/* --- Estado "Sem Clube" (Agente Livre) --- */
.club-empty-state {
  display: flex;
  justify-content: center;
  padding: 2rem 0 3rem;
}

.club-empty-card {
  max-width: 720px;
  width: 100%;
  background: linear-gradient(180deg, rgba(19, 26, 43, 0.7) 0%, rgba(10, 14, 24, 0.95) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.club-empty-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(128, 255, 219, 0.15) 0%, rgba(128, 255, 219, 0.03) 70%);
  border: 1px solid var(--border-highlight);
  color: var(--accent-neon);
}

.club-empty-icon svg {
  width: 40px;
  height: 40px;
}

.club-empty-badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(128, 255, 219, 0.1);
  border: 1px solid rgba(128, 255, 219, 0.35);
  color: var(--accent-neon);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.club-empty-card h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.6rem;
}

.club-empty-card .subtitle {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.club-empty-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.club-empty-actions .btn svg {
  width: 16px;
  height: 16px;
}

.club-empty-steps {
  display: grid;
  gap: 0.6rem;
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: rgba(8, 12, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
}

.step-item strong {
  color: var(--accent-neon);
}

/* --- Selo de cargo no cabeçalho do clube --- */
.badge-role {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.badge-role.role-manager {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.badge-role.role-captain {
  background: rgba(128, 255, 219, 0.1);
  border: 1px solid rgba(128, 255, 219, 0.4);
  color: var(--accent-neon);
}

.badge-role.role-member {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-dim);
}

/* --- Ações do Manager no cabeçalho do clube --- */
.club-header-actions-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
}

.club-manager-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
}

.club-captain-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid var(--border-highlight);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
}

.club-captain-picker label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
}

.club-captain-picker select {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  color: var(--text-pure);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
}

.club-role-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}

.club-danger-zone {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* --- Formulário de clube (modal) --- */
.club-modal-card {
  max-width: 560px;
  width: 100%;
}

.field-note {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
}

.club-crest-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(8, 12, 22, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem;
}

.club-crest-upload #club-form-crest-preview {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border-highlight);
  background: var(--bg-card);
  flex-shrink: 0;
}

.club-crest-upload-fields {
  display: grid;
  gap: 0.4rem;
}

.club-crest-upload input[type="file"] {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.club-crest-hint {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* --- Estados vazios (elenco / taças) --- */
.roster-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-dim);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(8, 12, 22, 0.4);
}

.roster-empty strong {
  color: var(--accent-neon);
}

.trophy-empty-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-dim);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(8, 12, 22, 0.4);
}

/* --- Vaga de jogador na prancheta --- */
.pitch-player-vacancy {
  opacity: 0.55;
  cursor: default;
}

.pitch-player-vacancy:hover {
  transform: none !important;
}

.pitch-player-vacancy .pitch-jersey {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: var(--text-dim);
}

/* --- Chip de cargo no elenco --- */
.badge-role-chip {
  padding: 0.15rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 999px;
}

.badge-role-chip.role-manager {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.badge-role-chip.role-captain {
  background: rgba(128, 255, 219, 0.1);
  border: 1px solid rgba(128, 255, 219, 0.4);
  color: var(--accent-neon);
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */
@media (max-width: 960px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .nav-tabs {
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }

  .profile-page-grid {
    grid-template-columns: 1fr;
  }

  .fifa-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .market-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tournament-hero h1 {
    font-size: 1.85rem;
  }

  .club-empty-card {
    padding: 2rem 1.25rem;
  }

  .club-empty-card h1 {
    font-size: 1.55rem;
  }

  .club-header-actions-inner {
    justify-content: flex-start;
  }
}

/* =========================================================
   PÁGINA DE REGRAS & REGULAMENTO
   ========================================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rules-hero {
  background: linear-gradient(135deg, rgba(20, 29, 48, 0.9) 0%, rgba(10, 14, 24, 0.95) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.rules-hero-badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.rules-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.rules-hero p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 720px;
  line-height: 1.6;
}

.rules-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.rules-nav {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
}

.rules-nav-item {
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.rules-nav-item:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
}

.rules-nav-item.active {
  background: rgba(0, 255, 135, 0.12);
  color: var(--accent-neon);
  font-weight: 700;
  border: 1px solid rgba(0, 255, 135, 0.3);
}

.rules-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rules-block {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  animation: fadeIn 0.25s ease;
}

.rules-block.active {
  display: block;
}

.rules-block h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.rules-list li {
  color: var(--text-main);
  font-size: 0.92rem;
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}

.rules-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-neon);
}

.rules-list li strong {
  color: var(--accent-neon);
}

.rules-ordered {
  margin-top: 0.4rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.rules-ordered li {
  padding-left: 0.25rem;
}

.rules-ordered li::before {
  display: none;
}

.rules-ordered li::marker {
  color: var(--accent-cyan);
  font-weight: 700;
}

@media (max-width: 900px) {
  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rules-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .rules-nav-item {
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
  }
}

@media (max-width: 640px) {
  .rules-hero {
    padding: 1.75rem 1.25rem;
  }

  .rules-hero h1 {
    font-size: 1.6rem;
  }

  .rules-block {
    padding: 1.25rem 1.25rem;
  }
}

/* =========================================================
   HOME (ABA DE ENTRADA)
   ========================================================= */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 26, 44, 0.95) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 3rem 3rem 2.25rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.home-hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 135, 0.22) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.home-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  position: relative;
}

.home-hero-title {
  font-size: 3.1rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  margin-bottom: 1.1rem;
  position: relative;
}

.home-hero-title span {
  background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  position: relative;
}

.home-hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  position: relative;
}

.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.home-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-pure);
  font-variant-numeric: tabular-nums;
}

.home-stat-val.highlight {
  color: #fbbf24;
}

.home-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* CTA Inteligente */
.home-smart-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.1) 0%, rgba(19, 26, 43, 0.85) 60%);
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.smart-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.smart-copy {
  flex: 1;
}

.smart-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-neon);
  letter-spacing: 0.1em;
}

.smart-copy h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-pure);
  margin: 0.2rem 0 0.3rem;
}

.smart-copy p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.smart-buttons {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Grade de cards */
.home-feature-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.home-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  transition: var(--transition);
}

.home-card:hover {
  border-color: var(--border-highlight);
}

.home-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.card-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}

.home-card-header h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-top: 0.2rem;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
}

/* Posts de recrutamento na Home */
.home-markets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-post-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  transition: var(--transition);
}

.home-post-card:hover {
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.05);
}

.home-post-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.home-post-info {
  flex: 1;
  min-width: 0;
}

.home-post-info h4 {
  font-size: 0.88rem;
  color: var(--text-pure);
}

.home-post-info span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.home-post-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.35;
}

/* Mini card clube / jogador */
.home-club-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-club-crest {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--accent-neon);
  flex-shrink: 0;
}

.home-club-crest.persona {
  border-radius: 50%;
  border-color: #fbbf24;
}

.home-club-row h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-pure);
}

.home-club-motto {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.2rem;
}

.home-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.home-mini-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-mini-stats span {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-neon);
}

.home-mini-stats small {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.home-free-tip {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 0.9rem;
}

/* Cartões de valor */
.home-value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.home-value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.home-value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.home-value-card.featured {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, var(--bg-surface) 70%);
}

.home-value-icon {
  font-size: 2.3rem;
  margin-bottom: 0.7rem;
}

.home-value-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
}

.home-value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Faixa de comunidade */
.home-community-strip {
  text-align: center;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 0.9rem 1.5rem;
  color: var(--accent-cyan);
}

.home-community-strip span {
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .home-hero-title {
    font-size: 2.4rem;
  }

  .home-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.25rem;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-value-cards {
    grid-template-columns: 1fr;
  }

  .home-smart-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 2rem 1.25rem;
  }

  .home-hero-title {
    font-size: 1.85rem;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .smart-buttons {
    width: 100%;
    flex-direction: column;
  }

  .smart-buttons .btn {
    width: 100%;
  }
}

/* =========================================================
   AVISO DE NAVEGADOR INTERNO (ex.: WhatsApp WebView)
   ========================================================= */
.inapp-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, rgba(20, 29, 48, 0.97), rgba(10, 14, 24, 0.97));
  border-bottom: 1px solid rgba(255, 183, 64, 0.35);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.7);
  font-size: 0.85rem;
  color: var(--text-soft);
}

.inapp-banner-msg {
  flex: 1;
  min-width: 220px;
}

.inapp-banner-msg strong {
  color: #fbbf24;
}

.inapp-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.inapp-banner-hint {
  opacity: 0.85;
  font-size: 0.8rem;
}

.inapp-banner-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.3rem;
}

.inapp-banner-close:hover {
  color: var(--text-pure);
}

@media (max-width: 640px) {
  .inapp-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   SÚMULA CONFIÁVEL & MODERAÇÃO (FASE 4)
   ========================================================= */

/* Badge de papel na navbar */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
  width: fit-content;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.role-badge.role-mod {
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.role-badge.role-master {
  color: var(--accent-neon);
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.45);
}

/* Box de status da súmula dentro do modal */
.report-info-box {
  margin-top: 1.1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.08);
  color: var(--text-soft);
}

.report-info-box.report-info-warn {
  border-color: rgba(255, 183, 64, 0.4);
  background: rgba(255, 183, 64, 0.09);
}

.report-info-box.report-info-success {
  border-color: rgba(0, 255, 135, 0.4);
  background: rgba(0, 255, 135, 0.09);
}

/* Seletor de comprovante (anexar/colar print) */
.proof-picker {
  margin-top: 0.5rem;
  border: 2px dashed rgba(0, 229, 255, 0.35);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.proof-picker:hover {
  border-color: rgba(0, 229, 255, 0.7);
  background: rgba(0, 229, 255, 0.05);
}

.proof-picker-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.proof-picker-icon {
  font-size: 1.6rem;
}

.proof-picker-copy b {
  color: var(--text);
}

.proof-preview-img {
  max-width: 100%;
  max-height: 16rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.proof-picker-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.6rem;
}

.proof-thumb {
  max-width: 100%;
  max-height: 18rem;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
}

/* Seção de contestação dentro do modal */
.report-contest-box {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 87, 87, 0.35);
  background: rgba(255, 87, 87, 0.08);
}

.contest-title {
  font-weight: 800;
  color: #ffb4b4;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.contest-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

/* Botão de confirmação do placar */
.btn-confirm-match {
  background: linear-gradient(135deg, var(--accent-neon) 0%, #059669 100%);
  border: none;
  color: #04140b;
}

.btn-confirm-match:hover {
  filter: brightness(1.1);
}

/* Painel de Moderação */
.mod-bootstrap-card {
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 183, 64, 0.4);
  background: linear-gradient(135deg, rgba(255, 183, 64, 0.12), rgba(255, 183, 64, 0.04));
}

.mod-bootstrap-card h3 {
  color: #fbbf24;
  margin-bottom: 0.4rem;
}

.mod-bootstrap-card p {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.mod-block-header {
  margin-bottom: 1.2rem;
}

.mod-block-header h2 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dispute-card {
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.dispute-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.dispute-top strong {
  font-size: 1rem;
}

.dispute-stage {
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.dispute-status {
  flex-shrink: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.dispute-status.open {
  color: #ffd488;
  background: rgba(255, 183, 64, 0.15);
  border: 1px solid rgba(255, 183, 64, 0.4);
}

.dispute-status.decided {
  color: var(--accent-neon);
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.4);
}

.dispute-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.7rem;
  font-size: 0.83rem;
  color: var(--text-soft);
}

.dispute-meta a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.dispute-decision {
  margin-top: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  font-size: 0.83rem;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.25);
}

.dispute-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.dispute-note {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  font-size: 0.8rem;
}

.correct-box {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.correct-box label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.correct-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.correct-inputs input {
  width: 4.5rem;
  text-align: center;
  padding: 0.45rem;
  border-radius: 10px;
}

.mod-role-manage {
  margin-top: 1.8rem;
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.mod-role-manage h3 {
  color: var(--accent-indigo);
  margin-bottom: 0.3rem;
}

.role-manage-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.role-manage-row input {
  flex: 1;
  min-width: 200px;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
}

.role-input-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.role-input-wrap input {
  width: 100%;
  min-width: 0;
  flex: none;
}

.role-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #0b1220;
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 10px;
  max-height: 220px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 4px;
}

.role-suggest-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-pure);
  font-size: 0.82rem;
}

.role-suggest-item:hover {
  background: rgba(99, 102, 241, 0.14);
}

.role-suggest-tag {
  font-weight: 700;
  color: var(--accent-cyan);
}

.role-suggest-name {
  color: var(--text-dim);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-manage-row select {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
}

.role-list {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.84rem;
}

.role-list li {
  padding: 0.4rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.role-list li b {
  color: var(--accent-cyan);
}

.btn-sm {
  padding: 0.45rem 0.85rem !important;
  font-size: 0.78rem !important;
}

@media (max-width: 560px) {
  .dispute-top {
    flex-direction: column;
  }
}

/* ====================================================================
   MERCADO DE TRANSFERÊNCIAS — Janela, Vitrine de Elencos e Histórico
   ==================================================================== */

.market-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.transfer-window-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  transition: var(--transition);
}

.transfer-window-badge.open {
  color: var(--accent-green, #4cd964);
  background: rgba(76, 217, 100, 0.1);
  border-color: rgba(76, 217, 100, 0.35);
}

.transfer-window-badge.closed {
  color: #ff5f6d;
  background: rgba(255, 95, 109, 0.1);
  border-color: rgba(255, 95, 109, 0.35);
}

.market-history-block {
  margin-top: 2.75rem;
  padding-top: 0.25rem;
}

.th-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.btn-action-glow {
  background: linear-gradient(135deg, var(--accent-green, #4cd964), var(--accent-cyan));
  color: #0b0f17;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(79, 195, 247, 0.35), 0 4px 14px rgba(79, 195, 247, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.btn-action-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(79, 195, 247, 0.55), 0 6px 20px rgba(76, 217, 100, 0.35);
}

.transfer-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.transfer-history-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.transfer-history-item:hover {
  border-color: var(--accent-green, #4cd964);
}

.th-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.th-main strong {
  color: var(--text-pure);
  font-size: 0.9rem;
}

.th-route {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.th-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  flex-shrink: 0;
}

.th-kind {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.th-amount {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-yellow, #ffd54f);
}

.th-date {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.roster-card-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.p-loan-row {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: var(--accent-yellow, #ffd54f);
}

.rule-highlight {
  color: var(--accent-yellow, #ffd54f);
  font-weight: 800;
}

/* ====================================================================
   INFO ADICIONAL DA PROPOSTA + MODAL DE PUBLICAÇÃO + TOAST
   ==================================================================== */

.proposal-target-meta {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.mp-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.post-type-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.post-type-pill {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.post-type-pill.active {
  color: #0b0f17;
  background: linear-gradient(135deg, var(--accent-neon), var(--accent-cyan));
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(0, 255, 135, 0.35), 0 4px 14px rgba(0, 229, 255, 0.2);
}

.post-type-pill:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: saturate(0.4);
}

.post-preview-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px dashed var(--border-highlight);
  margin-bottom: 1rem;
}

.post-preview-crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.post-preview-crest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-preview-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.post-preview-info strong {
  color: var(--text-pure);
  font-size: 0.92rem;
}

.post-preview-info span {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.app-toast {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0e131f;
  border: 1px solid var(--accent-neon);
  color: var(--text-pure);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 255, 135, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9000;
}

.app-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ====================================================================
   ABA BUSCAR (DIRETÓRIO PÚBLICO)
   ==================================================================== */
.search-hero {
  padding: 2.4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.search-hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-neon);
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.25);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

.search-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.search-hero p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto;
}

.search-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  margin: 1.8rem auto 1.4rem;
  max-width: 860px;
  padding: 0 1rem;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: 14px;
  padding: 0 1rem;
  transition: var(--transition);
}

.search-input-wrap:focus-within {
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.15);
}

.search-input-wrap svg {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-pure);
  font-size: 0.95rem;
  padding: 0.85rem 0;
}

.search-type-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.search-type-pill {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-type-pill.active {
  color: #0b0f17;
  background: linear-gradient(135deg, var(--accent-neon), var(--accent-cyan));
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(0, 255, 135, 0.35), 0 4px 14px rgba(0, 229, 255, 0.2);
}

.search-results {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0 1rem 3rem;
}

.search-loading {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 2.5rem 0;
}

.search-group-title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0.75rem 0 0.4rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.search-group-title:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.search-empty {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 2.5rem 1rem;
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
}

.search-result-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-result-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

.search-result-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-result-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-avatar.crest {
  border-radius: var(--radius-md);
}

.search-result-avatar .crest-fallback {
  font-size: 1.3rem;
}

.crest-fallback {
  position: absolute;
}

.search-result-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.search-result-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.search-result-name strong {
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.search-result-sub {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.search-result-sub b {
  color: var(--accent-cyan);
}

.search-result-side {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.search-result-club {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.search-result-club.muted {
  color: var(--text-dim);
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.18);
}

.club-tag-chip {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.22);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

.btn-xs {
  padding: 0.32rem 0.7rem;
  font-size: 0.72rem;
}

/* ====================================================================
   MODAIS DE PERFIL PÚBLICO
   ==================================================================== */
.view-user-modal-card,
.view-club-modal-card {
  width: min(560px, 94vw);
  max-height: 86vh;
  overflow-y: auto;
}

.view-user-header,
.view-club-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.06), rgba(0, 229, 255, 0.04));
  border-bottom: 1px solid var(--border-subtle);
}

.view-user-face {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-surface);
  border: 2px solid var(--accent-neon);
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-user-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-user-face.crest {
  border-radius: var(--radius-md);
  border-color: #fbbf24;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.2);
}

.view-user-face.crest .crest-fallback {
  font-size: 2rem;
}

.view-user-id h4 {
  font-size: 1.15rem;
  color: var(--text-pure);
  margin-bottom: 0.15rem;
}

.view-user-gt {
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.view-user-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 1rem 1.2rem 0;
}

.view-user-section {
  padding: 0.9rem 1.2rem 0;
}

.view-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
}

.view-empty-line {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 0.4rem 0;
}

.view-medals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.view-medal-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fcd34d;
}

.view-club-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.view-club-badge:hover {
  background: rgba(245, 158, 11, 0.2);
}

.view-club-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 0.85rem 1.2rem 0;
}

.view-roster-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-bottom: 0.5rem;
}

.view-roster-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.8rem;
}

.view-roster-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.view-roster-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-roster-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.view-roster-info strong {
  color: var(--text-pure);
  font-size: 0.85rem;
}

.view-roster-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.view-roster-ovr {
  font-size: 0.72rem;
  color: var(--accent-yellow, #ffd54f);
  white-space: nowrap;
}

/* =========================================================
   RESPONSIVO / MOBILE — BOTTOM-NAV
   ========================================================= */
.bottom-nav,
.bottom-more-sheet {
  display: none;
}

@media (max-width: 720px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    align-items: stretch;
    justify-content: space-around;
    gap: 0.1rem;
    padding: 0.4rem 0.35rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
  }

  .bottom-nav .tab-btn,
  .bottom-nav .bottom-more-btn {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.35rem 0.1rem;
    font-size: 0.58rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    white-space: nowrap;
  }
  .bottom-nav .tab-btn svg,
  .bottom-nav .bottom-more-btn svg {
    width: 20px;
    height: 20px;
  }
  .bottom-nav .tab-btn:hover,
  .bottom-nav .bottom-more-btn:hover {
    color: var(--text-pure);
  }
  .bottom-nav .tab-btn.active,
  .bottom-nav .bottom-more-btn.active {
    background: var(--accent-neon);
    color: #07090e;
    font-weight: 700;
    box-shadow: 0 2px 10px var(--accent-glow);
  }

  /* Header vira linha única: marca + usuário (abas somem no topo) */
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
  }
  .top-navbar .nav-tabs {
    display: none;
  }
  .nav-brand .brand-title {
    font-size: 1.02rem;
  }

  /* Conteúdo não fica escondido atrás da bottom-nav */
  .dashboard-content {
    padding-bottom: calc(4rem + 4.6rem);
  }
  .back-to-top {
    right: 1.1rem;
    bottom: calc(4.6rem + 5.4rem);
  }

  /* Chat flutuante: sobe acima da bottom-nav e o popup cabe na tela */
  .chat-container {
    bottom: calc(4.6rem + 0.8rem);
    right: 0.9rem;
  }
  .btn-chat-toggle {
    width: 54px;
    height: 54px;
  }
  .btn-chat-toggle svg {
    width: 24px;
    height: 24px;
  }
  .chat-popup {
    width: min(380px, calc(100vw - 1.6rem));
    height: min(520px, calc(100vh - 14.5rem));
    right: 0;
  }
}

/* Folha "Mais" (Regras / Moderação) — aberta acima da bottom-nav */
.bottom-more-sheet {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
  z-index: 119;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem;
  background: rgba(14, 19, 32, 0.97);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.bottom-more-sheet.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.bottom-more-sheet .bottom-more-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  color: var(--text-strong);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.bottom-more-sheet .bottom-more-item svg {
  width: 18px;
  height: 18px;
}
.bottom-more-sheet .bottom-more-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.bottom-more-sheet .bottom-more-item.active {
  background: var(--accent-neon);
  color: #07090e;
}

/* =========================================================
   LEGAL / LGPD — Termos, Privacidade, Consentimento, Exclusão
   ========================================================= */
.legal-consent-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 1rem 0 0.25rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
}
.legal-consent-row input[type="checkbox"] {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--accent-neon);
  cursor: pointer;
}
.legal-consent-row a {
  color: var(--accent-neon);
  text-decoration: underline;
  font-weight: 600;
}
.legal-consent-row strong {
  color: var(--text-strong);
}

.legal-modal-card {
  max-width: 760px;
  max-height: min(620px, 86vh);
  display: flex;
  flex-direction: column;
}
.legal-tabs {
  display: flex;
  gap: 0.45rem;
  margin: -0.4rem 0 1.1rem;
}
.legal-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.legal-tab.active {
  background: rgba(0, 255, 135, 0.12);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}
.legal-doc-scroll {
  overflow-y: auto;
  padding-right: 0.4rem;
  min-height: 200px;
}
.legal-doc { display: none; }
.legal-doc.active { display: block; }
.legal-doc h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-pure);
  margin: 1.1rem 0 0.35rem;
}
.legal-doc h4:first-child { margin-top: 0.2rem; }
.legal-doc p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.consent-gate-card {
  max-width: 520px;
}
.consent-gate-body { margin-bottom: 1.5rem; }
.consent-gate-body > p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.consent-gate-list {
  list-style: none;
  margin: 0.7rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.consent-gate-list li {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-strong);
  padding-left: 1.4rem;
  position: relative;
}
.consent-gate-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-neon);
  font-weight: 900;
}
.consent-gate-list a {
  color: var(--accent-neon);
  text-decoration: underline;
}
.consent-gate-note {
  font-size: 0.78rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
}

.delete-confirm-input {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid #7f1d1d;
  background: rgba(127, 29, 29, 0.12);
  color: var(--text-pure);
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.delete-confirm-input:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}
.btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border: none;
  padding: 0.72rem 1.3rem;
  border-radius: var(--radius-md);
  font-size: 0.87rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -6px rgba(220, 38, 38, 0.55);
}

.profile-account-card {
  margin-top: 1.5rem;
}
.profile-account-card h2 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.6rem;
}
.profile-account-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.btn-account-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-account-link span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-strong);
}
.btn-account-link small {
  font-size: 0.72rem;
  color: var(--text-dim);
}
.btn-account-link:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-highlight);
}
.btn-account-danger span { color: #f87171; }
.btn-account-danger small { color: #f87171; }
.btn-account-danger {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(220, 38, 38, 0.07);
}
.btn-account-danger:hover {
  border-color: #ef4444;
  background: rgba(220, 38, 38, 0.14);
}

/* Onboarding leve (1º login) */
.onboarding-card {
  max-width: 520px;
  padding: 1.6rem 1.4rem 1.2rem;
}
.onboarding-hero {
  text-align: center;
  margin-bottom: 1.2rem;
}
.onboarding-emoji {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 0.3rem;
}
.onboarding-hero h3 {
  margin: 0 0 0.3rem;
  color: var(--text-pure);
  font-size: 1.15rem;
}
.onboarding-hero p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.onboarding-tips {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.onboarding-tip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border-highlight);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.onboarding-tip:hover {
  border-color: var(--accent);
  background: rgba(34, 197, 94, 0.07);
  transform: translateY(-1px);
}
.onboarding-tip-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.onboarding-tip-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}
.onboarding-tip-body strong {
  color: var(--text-pure);
  font-size: 0.92rem;
}
.onboarding-tip-body span {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.3;
}
.onboarding-tip-arrow {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Dica de free agent no Mercado */
.onboarding-freeagent-hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  border: 1px dashed var(--border-highlight);
  background: rgba(34, 197, 94, 0.05);
  color: var(--text-soft);
  font-size: 0.82rem;
}
.onboarding-freeagent-hint em {
  color: var(--accent);
  font-style: normal;
}
.onboarding-freeagent-hint .btn {
  margin-left: auto;
}

/* Temporada (chip público + controles da moderação) */
.tournament-season-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.35rem 0 0.9rem;
}
.tournament-season-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-highlight);
  background: rgba(16, 185, 129, 0.1);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tournament-season-chip.is-finished {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
}
.tournament-mod-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.tournament-mod-tools .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Reveal do campeão (fim de temporada) */
#champion-reveal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(212, 175, 55, 0.35), transparent 60%),
    radial-gradient(ellipse at 50% -20%, rgba(34, 197, 94, 0.25), transparent 55%),
    rgba(5, 8, 8, 0.965);
  backdrop-filter: blur(6px);
  animation: revealFade 0.4s ease both;
}
.champion-reveal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  animation: revealPop 0.5s cubic-bezier(0.22, 1.2, 0.36, 1) 0.1s both;
}
.champion-reveal-badge {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: #d4af37;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
}
.champion-reveal-crest-frame {
  width: 150px;
  height: 150px;
  margin: 0.7rem auto 0.2rem;
  border-radius: 50%;
  padding: 0.55rem;
  background: linear-gradient(160deg, #d4af37, #fff3c4 45%, #b8860b);
  box-shadow: 0 0 0 6px rgba(255, 215, 0, 0.12), 0 0 60px rgba(212, 175, 55, 0.35), 0 12px 34px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.champion-reveal-crest-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
}
.champion-reveal-crest-fallback {
  font-size: 4.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
}
.champion-reveal-title {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  color: #d4af37;
  font-weight: 800;
}
.champion-reveal-name {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.1;
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.35);
}
.champion-reveal-runnerup {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}
@keyframes revealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes revealPop {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Painel "Temporada encerrada → só o campeão" (aba Competições) */
.season-champion-panel {
  margin-top: 1.2rem;
}
.season-champion-card {
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background:
    radial-gradient(ellipse at 50% 130%, rgba(212, 175, 55, 0.22), transparent 65%),
    rgba(255, 255, 255, 0.02);
  padding: 2.2rem 1.2rem;
  text-align: center;
}
.season-champion-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  max-width: 460px;
  margin: 0 auto;
}
.season-champion-badge {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: #d4af37;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
}
.season-champion-format {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  font-weight: 700;
}
.season-champion-crest {
  width: 128px;
  height: 128px;
  margin: 0.9rem auto 0.4rem;
  border-radius: 50%;
  padding: 0.5rem;
  background: linear-gradient(160deg, #d4af37, #fff3c4 45%, #b8860b);
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.1), 0 0 46px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.season-champion-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
}
.season-champion-crest-fallback {
  font-size: 3.6rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
}
.season-champion-title {
  font-size: 0.76rem;
  letter-spacing: 0.4em;
  color: #d4af37;
  font-weight: 800;
  margin-top: 0.3rem;
}
.season-champion-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.15;
  text-shadow: 0 0 26px rgba(212, 175, 55, 0.3);
}
.season-champion-runnerup {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.season-champion-note {
  margin-top: 0.9rem;
  color: var(--text-dim);
  font-size: 0.78rem;
}
.season-champion-crest.clickable,
.season-champion-name.clickable,
.champion-crest-card.clickable,
.team-name.clickable,
.team-cell.clickable,
.champion-reveal-name.clickable {
  cursor: pointer;
}
.season-champion-crest.clickable:hover,
.champion-crest-card.clickable:hover {
  transform: translateY(-2px);
}
.team-name.clickable:hover,
.team-cell.clickable:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Cloudflare Turnstile (captcha anti-bot) — invisível enquanto não renderizado */
.turnstile-box {
  display: flex;
  justify-content: center;
  margin: 0.2rem 0 0.6rem;
}
.turnstile-box:empty {
  display: none;
  margin: 0;
}
