/* ============================================================
   XIII Braga Youth Rugby Cup 2026 — Main Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:       #5b2d8e;
  --purple-dark:  #3d1a63;
  --purple-light: #f0eaf8;
  --gold:         #e8a020;
  --gold-light:   #fef3dc;
  --red:          #c0392b;
  --blue-team:    #1a3a7a;
  --text:         #1a1a2e;
  --muted:        #6b7280;
  --border:       #e5e7eb;
  --bg:           #f8f6fc;
  --white:        #ffffff;
  --radius:       10px;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.6;
}

main { flex: 1; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Navbar ---- */
.navbar {
  background: var(--purple-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-admin { background: #1a3a7a; }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-logo-event {
  height: 42px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
}
.brand-logo-club {
  height: 42px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;   /* funde fundo branco com a navbar púrpura */
}

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

/* ---- Hamburger button ---- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: background 0.2s;
  text-decoration: none;
}
.nav-link:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.nav-link-primary {
  background: var(--gold);
  color: var(--purple-dark);
  font-weight: 700;
}
.nav-link-primary:hover { background: #f0b030; color: var(--purple-dark); }
.nav-link-outline {
  border: 1px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.9);
}

/* ---- Language toggle ---- */
.lang-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  overflow: hidden;
}
.lang-btn {
  padding: 0.25rem 0.6rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.15); text-decoration: none; }
.lang-btn.active { background: rgba(255,255,255,0.22); color: #fff; }

/* ---- Alerts ---- */
.alerts-container {
  max-width: 900px;
  margin: 1rem auto 0;
  padding: 0 1.5rem;
}
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert-danger  { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }
.alert-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; opacity: 0.92; transform: translateY(-1px); }
.btn-primary  { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-gold     { background: var(--gold); color: var(--purple-dark); border-color: var(--gold); font-weight: 700; }
.btn-gold:hover { background: #f0b030; }
.btn-outline  { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple-light); }
.btn-success  { background: #059669; color: #fff; border-color: #059669; }
.btn-sm       { padding: 0.3rem 0.75rem; font-size: 0.85rem; }
.btn-lg       { padding: 0.8rem 2rem; font-size: 1.05rem; }
.btn-full     { width: 100%; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 55%, #7b3faf 100%);
  color: white;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 2px,
    transparent 2px,
    transparent 40px
  );
}
.hero-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}
.hero-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
  border-radius: 8px;
}
.hero-content { max-width: 720px; margin: 0 auto; position: relative; }

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--purple-dark);
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.hero-edition {
  font-size: 1rem;
  opacity: 0.75;
  margin-bottom: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-sub {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 0.4rem;
}
.hero-date {
  font-size: 0.95rem;
  opacity: 0.75;
  margin-bottom: 0.25rem;
}
.hero-location {
  font-size: 0.88rem;
  opacity: 0.65;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.55);
}
.hero .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---- Age group pills on hero ---- */
.age-pills {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.age-pill {
  background: rgba(255,255,255,0.15);
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.3rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ---- Info cards ---- */
.info-cards {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.info-card {
  padding: 1.75rem;
  text-align: center;
}
.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--purple-dark);
}
.info-card ul { list-style: none; }
.info-card ul li {
  padding: 0.25rem 0;
  font-weight: 700;
  color: var(--text);
}
.info-card p { margin-bottom: 0.35rem; }

/* ---- Form page layout ---- */
.form-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 64px - 60px);
  padding: 2.5rem 1.5rem;
}
.form-card {
  width: 100%;
  max-width: 460px;
  padding: 2.25rem;
}
.form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--purple-dark);
}
.form-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.form-alt-link {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.admin-badge {
  display: inline-block;
  background: #1a3a7a;
  color: white;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ---- Form controls ---- */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.form-control {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91,45,142,0.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.textarea-players {
  font-family: monospace;
  font-size: 0.9rem;
  resize: vertical;
}

/* ---- Participation type selector ---- */
.participation-card { margin-bottom: 1.25rem; }
.participation-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.participation-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.participation-option:hover { border-color: var(--purple); background: var(--purple-light); }
.participation-option.selected { border-color: var(--purple); background: var(--purple-light); }
.participation-option input[type=radio] { margin-top: 3px; accent-color: var(--purple); flex-shrink: 0; }
.po-content { flex: 1; }
.po-title { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 0.2rem; }
.po-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 0.3rem;
}
.participation-option.selected .po-price { color: var(--purple); }
.po-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 560px) {
  .participation-choices { grid-template-columns: 1fr; }
}

/* ---- Checkbox group (age groups) ---- */
.checkbox-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: all 0.15s;
  user-select: none;
}
.checkbox-label:hover { border-color: var(--purple); background: var(--purple-light); }
.checkbox-label input[type=checkbox] { display: none; }
.checkbox-label:has(input:checked) {
  border-color: var(--purple);
  background: var(--purple);
  color: white;
}

/* ---- Players dynamic table ---- */
.players-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}
.players-form-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.players-form-table th {
  background: var(--purple-light);
  color: var(--purple-dark);
  padding: 0.55rem 0.7rem;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--purple);
}
.players-form-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.players-form-table tbody tr:hover { background: #f9f6ff; }
.col-num  { width: 32px; text-align: center; color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.col-name { min-width: 170px; }
.col-age  { width: 70px; }
.col-ag   { width: 100px; }
.col-shirt{ width: 90px; }
.col-food { min-width: 180px; }
.col-del  { width: 36px; }
.fc-sm { padding: 0.35rem 0.55rem; font-size: 0.87rem; }

.btn-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: background 0.15s;
}
.btn-remove:hover { background: #fee2e2; }
.btn-add-player { margin-top: 0.25rem; font-size: 0.9rem; }

/* ---- Dashboard ---- */
.status-bar {
  padding: 0.85rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.status-complete   { background: #d1fae5; color: #065f46; border-bottom: 2px solid #10b981; }
.status-incomplete { background: #fef3c7; color: #92400e; border-bottom: 2px solid #f59e0b; }
.status-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.dashboard-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.dashboard-inner h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--purple-dark);
}

.form-section {
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.form-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--purple-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.player-count {
  background: var(--purple);
  color: white;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.logo-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.logo-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  padding: 4px;
}
.logo-label { font-size: 0.82rem; color: var(--muted); }
.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* ---- Admin ---- */
.admin-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.stat-card {
  padding: 1.25rem;
  text-align: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--purple-dark);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.2rem;
}
.text-success { color: #059669 !important; }
.text-warning { color: #d97706 !important; }
.text-muted   { color: var(--muted); }
.text-center  { text-align: center; }

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.table-header h3 { font-size: 1.05rem; color: var(--purple-dark); }
.search-input { max-width: 260px; }

.table-wrapper { overflow-x: auto; padding: 1rem 0 0; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  background: var(--purple);
  color: white;
  padding: 0.65rem 0.9rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.admin-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tbody tr:hover { background: var(--purple-light); }

.table-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ---- Badges ---- */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-age        { background: #ede9fe; color: #5b21b6; }
.badge-complete   { background: #d1fae5; color: #065f46; }
.badge-incomplete { background: #fef3c7; color: #92400e; }

/* ---- Team detail ---- */
.team-detail { padding: 2rem; }
.team-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  flex-wrap: wrap;
}
.detail-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 8px;
}
.team-detail-header h2 { font-size: 1.6rem; color: var(--purple-dark); }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.detail-section h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; }
dt { font-weight: 600; color: var(--text); white-space: nowrap; }
dd { color: var(--text); }

.players-section { margin-top: 1.5rem; }
.players-list {
  columns: 3;
  column-gap: 2rem;
  padding-left: 1.25rem;
  font-size: 0.9rem;
}
.players-list li { margin-bottom: 0.3rem; break-inside: avoid; }

/* ---- Bank details ---- */
.bank-details {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.bank-row:last-child { border-bottom: none; }
.bank-row.highlight { background: var(--purple-light); }
.bank-label {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  min-width: 100px;
}
.bank-value { color: var(--text); }
.bank-value.mono {
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--purple-dark);
}

/* ---- Downloads ---- */
.downloads-section { margin-top: 1.25rem; }
.downloads-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  background: var(--white);
}
.download-item:hover {
  border-color: var(--purple);
  background: var(--purple-light);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.dl-icon { font-size: 1.6rem; flex-shrink: 0; }
.dl-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.dl-info strong { font-size: 0.95rem; color: var(--text); }
.dl-info span { font-size: 0.82rem; color: var(--muted); }
.dl-btn {
  background: var(--purple);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.download-item:hover .dl-btn { background: var(--purple-dark); }

/* ---- Team tabs secondary nav ---- */
.team-tabs {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  position: sticky;
  top: 64px;
  z-index: 90;
}
.team-tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.team-tabs-inner::-webkit-scrollbar { display: none; }

.team-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -2px;
}
.team-tab:hover { color: var(--purple); text-decoration: none; }
.team-tab.active {
  color: var(--purple);
  border-bottom-color: var(--purple);
  font-weight: 700;
}
.tab-icon { font-size: 1rem; }

/* ---- Tab page layout ---- */
.tab-page { min-height: calc(100vh - 130px); }
.tab-page-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.tab-page-inner h2 {
  font-size: 1.5rem;
  color: var(--purple-dark);
  margin-bottom: 1.5rem;
}

/* ---- Info block card ---- */
.info-block {
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.info-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--purple-light);
}
.info-block h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.25rem 0 0.6rem;
}
.info-block p { margin-bottom: 0.6rem; line-height: 1.65; }

/* ---- Empty state ---- */
.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}
.empty-icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }

/* ---- Coming soon grid ---- */
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.coming-soon-grid .info-block { text-align: center; }
.coming-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.map-btn { margin-top: 0.75rem; }
.map-embed { margin-top: 0.5rem; }

/* ---- Financial card ---- */
.fincard { padding: 1.75rem; margin-bottom: 1.25rem; }
.fincard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.fincard-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 0.2rem;
}

.payment-badge {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.payment-pending  { background: #fef3c7; color: #92400e; }
.payment-paid     { background: #d1fae5; color: #065f46; }
.payment-partial  { background: #dbeafe; color: #1e40af; }

.payment-summary {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--border);
}
.payment-row:last-child { border-bottom: none; }
.payment-row.extra { background: #fef9ee; }
.payment-row.total {
  background: var(--purple-light);
  font-weight: 700;
  font-size: 1rem;
  color: var(--purple-dark);
}

.payment-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--purple-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.87rem;
  color: var(--purple-dark);
}

/* ---- Regulation section ---- */
.reg-section { margin-bottom: 1.5rem; }
.reg-section:last-child { margin-bottom: 0; }
.reg-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.reg-list li {
  padding: 0.45rem 0.75rem;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.92rem;
}

.alert-box {
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.alert-warning-box { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }
.alert-info-box    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ---- Footer ---- */
footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 1.5rem 1rem 1rem;
  font-size: 0.85rem;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}
.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  border-radius: 4px;
}
.footer-logo:last-child {
  background: white;
  padding: 5px 8px;
  border-radius: 6px;
  opacity: 1;
}


/* ---- Results / Matches ---- */
.results-page { max-width: 860px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.results-header {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.results-header h1 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.35rem; }
.results-header p  { font-size: 0.95rem; opacity: 0.85; margin: 0.15rem 0; }
.results-inner { display: flex; flex-direction: column; gap: 2rem; }

.age-group-block {}
.age-group-header { margin-bottom: 0.75rem; }
.age-group-pill {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.results-card { padding: 0; overflow: hidden; margin-bottom: 0.85rem; }
.round-header {
  background: var(--purple-light);
  color: var(--purple-dark);
  font-weight: 700;
  font-size: 0.93rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
}

.matches-table { width: 100%; border-collapse: collapse; }
.match-row { border-bottom: 1px solid var(--border); }
.match-row:last-child { border-bottom: none; }
.match-row.played { background: #fff; }
.match-row.scheduled { background: #fafafa; }

.match-meta {
  padding: 0.65rem 0.75rem;
  width: 130px;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}
.match-time, .match-field { display: block; }

.match-team {
  padding: 0.65rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  width: 30%;
}
.team-home { text-align: right; }
.team-away { text-align: left; }

.match-score {
  padding: 0.65rem 0.5rem;
  text-align: center;
  white-space: nowrap;
  min-width: 90px;
}
.score-box {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  min-width: 32px;
  text-align: center;
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
}
.score-sep {
  display: inline-block;
  margin: 0 0.3rem;
  color: var(--muted);
  font-weight: 700;
}
.score-vs {
  display: inline-block;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}
.score-inline {
  font-weight: 800;
  color: var(--purple-dark);
  font-size: 0.95rem;
}

.match-status { padding: 0.65rem 0.75rem; text-align: center; width: 100px; }
.status-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-pill.played    { background: #d1fae5; color: #065f46; }
.status-pill.scheduled { background: #fef3c7; color: #92400e; }

/* ---- Section heading ---- */
.section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--purple-light);
}

/* ---- Format cards (escalões) ---- */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.format-card { padding: 0; overflow: hidden; }
.format-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
}
.u10-header { background: #e8f5e9; }
.u12-header { background: #e3f2fd; }
.u14-header { background: #fce4ec; }
.format-age-pill {
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
}
.format-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.format-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}
.format-table tr { border-top: 1px solid var(--border); }
.format-table td { padding: 0.45rem 0.85rem; vertical-align: top; }
.ft-label {
  font-weight: 600;
  color: var(--purple-dark);
  white-space: nowrap;
  width: 45%;
}

/* ---- Program grid ---- */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.program-day { padding: 1.25rem; }
.program-day-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  margin-bottom: 0.85rem;
  color: var(--purple-dark);
}
.program-day-icon { font-size: 1.2rem; }
.program-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.program-list li {
  padding: 0.4rem 0.75rem;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.9rem;
  border-left: 3px solid var(--purple);
}

@media (max-width: 768px) {
  .format-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
}

/* score unit label (Ensaios) */
.score-unit {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.1rem;
}

/* ---- Standings table ---- */
.round-block { margin-bottom: 1.5rem; }
.standings-card { padding: 0; overflow: hidden; margin-bottom: 0.5rem; }
.standings-header { background: var(--purple); color: #fff; }

.standings-table-wrap { overflow-x: auto; }
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.standings-table thead tr {
  background: var(--purple-light);
}
.standings-table th {
  padding: 0.55rem 0.6rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--purple-dark);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  cursor: default;
}
.standings-table th.st-team { text-align: left; min-width: 130px; }
.standings-table th.st-pos  { width: 32px; }
.standings-table th.st-pts  { color: var(--purple); }

.standings-table tbody tr { border-bottom: 1px solid var(--border); }
.standings-table tbody tr:last-child { border-bottom: none; }
.standings-table td {
  padding: 0.6rem 0.6rem;
  text-align: center;
  font-size: 0.9rem;
}
.st-pos { font-weight: 700; color: var(--muted); font-size: 0.82rem !important; }
.st-team-name { text-align: left !important; font-weight: 600; }
.st-pts-val {
  font-weight: 800;
  color: var(--purple-dark);
  font-size: 1rem !important;
}

.st-row.st-top { background: #fef9ee; }
.st-row.st-top .st-pts-val { color: var(--gold); }
.st-row.st-top .st-team-name::before {
  content: '🥇 ';
  font-size: 0.85rem;
}

.pos-dif { color: #065f46; font-weight: 600; }
.neg-dif { color: #991b1b; font-weight: 600; }

.standings-legend {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  padding: 0.4rem 0.75rem;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

/* results CTA on homepage */
.results-cta {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  margin: 0 1rem 2.5rem;
}
.results-cta h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.results-cta p  { font-size: 0.93rem; opacity: 0.85; margin-bottom: 1.1rem; }

/* admin form helpers */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }

/* ---- Schedule table ---- */
.schedule-table { font-size: 0.88rem; }
.schedule-head th {
  background: var(--purple-light);
  color: var(--purple-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.5rem 0.6rem;
  border-bottom: 2px solid var(--border);
  text-align: left;
}
.schedule-time {
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 0.9rem;
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
}
.schedule-field {
  color: var(--muted);
  font-size: 0.83rem;
  white-space: nowrap;
}

/* ---- Live results bar ---- */
.live-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.75rem;
  font-size: 0.83rem;
  opacity: 0.85;
  flex-wrap: wrap;
}
.live-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}
.live-refresh-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 5px;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s;
}
.live-refresh-btn:hover { background: rgba(255,255,255,0.25); }

/* ---- Quick-edit inputs ---- */
.qe-input {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.25rem 0.4rem;
  font-size: 0.82rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.qe-input:focus { outline: none; border-color: var(--purple); }
.qe-saving  { border-color: #94a3b8 !important; opacity: 0.6; }
.qe-saved   { border-color: #059669 !important; background: #f0fdf4; }
.qe-error   { border-color: #dc2626 !important; background: #fef2f2; }

/* ---- Unread badge & message states ---- */
.unread-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.msg-unread { background: #fffbeb !important; }
.msg-unread td:first-child { border-left: 3px solid var(--gold); }
.msg-preview { cursor: pointer; }

/* ---- Sorteio / Draw tool ---- */
.draw-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.draw-tab {
  padding: 0.55rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--muted);
}
.draw-tab:hover { border-color: var(--purple); color: var(--purple); }
.draw-tab.active { background: var(--purple); border-color: var(--purple); color: #fff; }

.draw-panel { display: none; }
.draw-card { padding: 1.5rem; }
.draw-section-title { font-size: 1.05rem; margin-bottom: 1rem; }

.draw-setup {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 1.5rem;
  align-items: start;
}
.draw-textarea { font-family: monospace; font-size: 0.88rem; resize: vertical; }
.draw-groups-btns { display: flex; gap: 0.5rem; margin-bottom: 0.25rem; }
.draw-ngroups-btn {
  flex: 1;
  padding: 0.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--muted);
}
.draw-ngroups-btn.active { background: var(--purple-light); border-color: var(--purple); color: var(--purple-dark); }

.draw-preview {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--border);
}
.draw-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.draw-preview-header h4 { font-size: 1rem; margin: 0; }

.preview-groups-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.preview-group-card {
  background: var(--purple-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-width: 160px;
}
.preview-group-name {
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.preview-group-card ol { margin: 0 0 0 1.1rem; padding: 0; font-size: 0.88rem; line-height: 1.9; }

.preview-fixtures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.preview-fixture-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.pf-group {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--purple);
  color: #fff;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  white-space: nowrap;
}
.pf-teams em { color: var(--muted); font-style: normal; }

/* Group standings in draw page */
.draw-group-block { margin-bottom: 1.5rem; }
.draw-group-name {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple-dark);
  background: var(--purple-light);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.finalist-row { background: #f0fdf4 !important; }
.finalist-badge {
  font-size: 0.7rem;
  background: #059669;
  color: #fff;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  margin-left: 0.4rem;
  font-weight: 600;
}

/* Finals generation section */
.draw-finals-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--gold-light);
  border-radius: var(--radius);
  border: 1px solid #f0d080;
}
.draw-finals-section h4 { margin-bottom: 0.75rem; font-size: 1rem; }
.draw-finals-done { background: #f0fdf4; border-color: #86efac; }
.draw-semis-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  cursor: pointer;
  margin-bottom: 0.25rem;
}

/* Finals bracket display */
.finals-bracket {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.bracket-match {
  background: #fff;
  border: 2px solid #059669;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-width: 200px;
  text-align: center;
}
.bracket-round {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #059669;
  margin-bottom: 0.5rem;
}
.bracket-teams {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}
.bracket-vs { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.bracket-winner { font-weight: 700; color: #059669; }
.bracket-status { font-size: 0.75rem; color: var(--muted); margin-top: 0.4rem; }

/* ---- Public Finals Bracket ---- */
.bracket-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.5rem 0 1rem;
}
.bracket-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-width: 220px;
}
.bracket-col-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.bracket-arrow {
  font-size: 1.6rem;
  color: #d1d5db;
  align-self: center;
  flex-shrink: 0;
  padding: 0 0.25rem;
}
.bracket-match {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.bracket-final {
  border-color: #a78bfa;
  box-shadow: 0 2px 12px #7c3aed18;
}
.bm-third { border-color: #fbbf24; }
.bm-played { border-color: #d1fae5; }
.bm-round-tag {
  background: #f3f4f6;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  padding: 0.3rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}
.bracket-final .bm-round-tag { background: #ede9fe; color: #6d28d9; border-color: #ddd6fe; }
.bm-third .bm-round-tag { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.bm-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.88rem;
  gap: 0.5rem;
}
.bm-team:last-of-type { border-bottom: none; }
.bm-winner {
  background: #f0fdf4;
  font-weight: 700;
}
.bracket-final .bm-winner { background: #f5f3ff; }
.bm-third .bm-winner { background: #fffbeb; }
.bm-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-score {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111;
  min-width: 24px;
  text-align: right;
}
.bm-trophy { font-size: 1rem; margin-left: 0.3rem; flex-shrink: 0; }
.bm-meta {
  font-size: 0.72rem;
  color: #9ca3af;
  padding: 0.25rem 0.75rem 0.4rem;
  background: #fafafa;
  border-top: 1px solid #f3f4f6;
}
.bm-pending .bm-score { color: #d1d5db; }
@media (max-width: 560px) {
  .bracket-arrow { display: none; }
  .bracket-col { min-width: 100%; }
}

/* ---- Como Chegar ---- */
.arrive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.arrive-card { padding: 1.5rem; }
.arrive-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.arrive-card h3 { font-size: 1rem; margin-bottom: 0.6rem; color: var(--purple-dark); }
.arrive-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.arrive-note {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  background: var(--purple-light);
  color: var(--purple-dark);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
}

/* ---- Check-in panel ---- */
.checkin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.checkin-stat-card {
  padding: 1.25rem;
  text-align: center;
}
.checkin-progress-wrap {
  height: 12px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.4rem 0 0;
}
.checkin-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), #059669);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.row-arrived td { background: #f0fdf4 !important; }
.row-arrived td:first-child { border-left: 3px solid #059669; }

/* ---- Countdown ---- */
.countdown-section {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  padding: 1.75rem 1rem;
  text-align: center;
  color: #fff;
}
.countdown-inner { max-width: 600px; margin: 0 auto; }
.countdown-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
}
.countdown-unit span {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  min-width: 68px;
  text-align: center;
}
.countdown-unit small {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.countdown-sep {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.5;
  padding: 0 0.1rem;
  margin-bottom: 1.2rem;
}

/* ---- Public teams page ---- */
.public-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.page-header {
  margin-bottom: 2rem;
}
.page-header h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.teams-total-badge {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin-top: 0.5rem;
}
.teams-group { margin-bottom: 2.5rem; }
.teams-group-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.badge-age-lg { font-size: 0.9rem; padding: 0.35rem 0.85rem; }
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.team-card-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.team-card-img { width: 100%; height: 100%; object-fit: cover; }
.team-card-placeholder { font-size: 2rem; }
.team-card-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text);
}
.team-card-country {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---- My matches ---- */
.my-match-row { background: var(--purple-light) !important; }
.my-match-row:hover { background: #e6ddf5 !important; }
.score-result {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}
.score-win  { background: #d1fae5; color: #065f46; }
.score-draw { background: #fef3c7; color: #92400e; }
.score-loss { background: #fee2e2; color: #991b1b; }

/* ---- Maintenance toggle ---- */
.maintenance-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.status-on  { background: #fee2e2; }
.status-off { background: #d1fae5; }
.maintenance-indicator {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-on  .maintenance-indicator { background: #dc2626; box-shadow: 0 0 6px #dc2626; }
.status-off .maintenance-indicator { background: #059669; box-shadow: 0 0 6px #059669; }

/* ---- Schedule day header ---- */
.schedule-day-header {
  background: var(--purple-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ---- Charts grid ---- */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.chart-card { padding: 1.25rem; }
.chart-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  text-align: center;
}

/* ---- Gallery ---- */
.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.filter-btn {
  padding: 0.4rem 1rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text);
}
.filter-btn:hover { border-color: var(--purple); color: var(--purple); }
.filter-btn.active { background: var(--purple); border-color: var(--purple); color: #fff; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.photo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #000;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s, opacity 0.25s;
  display: block;
}
.photo-item:hover img { transform: scale(1.04); opacity: 0.85; }
.photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 0.78rem;
  padding: 0.5rem 0.6rem 0.4rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.photo-item:hover .photo-caption { opacity: 1; }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  opacity: 0.7;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Admin gallery grid */
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.admin-photo-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.admin-photo-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.admin-photo-info {
  padding: 0.5rem 0.6rem;
  font-size: 0.78rem;
}
.admin-photo-info strong { display: block; margin-bottom: 0.2rem; font-size: 0.82rem; }
.admin-photo-actions {
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem 0.6rem;
}

/* Gallery empty state */
.gallery-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.gallery-empty p { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .charts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .nav-burger { display: flex; }
  .nav-inner { flex-wrap: nowrap; height: 60px; padding: 0 1rem; position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    z-index: 99;
  }
  .nav-links.nav-open { display: flex; }
  .nav-link { padding: 0.65rem 0.75rem; font-size: 0.95rem; }
  .lang-toggle { margin-top: 0.5rem; justify-content: flex-start; }
  .players-list { columns: 1; }
  .detail-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
  .charts-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-label { display: none; }
}

/* ---- Previous Editions section ---- */
.archive-section {
  background: #f3f0fb;
  padding: 4rem 1.25rem;
}
.archive-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.archive-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #3d1a63;
  margin-bottom: .5rem;
}
.archive-sub {
  text-align: center;
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1rem;
}
.archive-tabs {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.archive-tab {
  background: #fff;
  border: 2px solid #e5e7eb;
  color: #374151;
  padding: .55rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.archive-tab.active,
.archive-tab:hover {
  background: #5b2d8e;
  color: #fff;
  border-color: #5b2d8e;
}
.archive-panel { animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }

.archive-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

/* Edition history cards */
.edition-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.edition-history-card {
  background: #fff;
  border: 2px solid #e9d5ff;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow .2s;
}
.edition-history-card:hover { box-shadow: 0 4px 20px rgba(91,45,142,.15); }
.ehc-edition {
  font-size: 1.6rem;
  font-weight: 800;
  color: #5b2d8e;
  line-height: 1;
}
.ehc-year {
  font-size: 1.1rem;
  font-weight: 700;
  color: #374151;
  margin: .3rem 0;
}
.ehc-dates { font-size: .8rem; color: #6b7280; }

/* Archive gallery */
.archive-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.archive-photo {
  border-radius: 10px;
  overflow: hidden;
  background: #e9d5ff;
  position: relative;
}
.archive-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.archive-photo-caption {
  font-size: .8rem;
  color: #374151;
  padding: .4rem .6rem;
  background: rgba(255,255,255,.9);
}

/* Sponsors grid */
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.sponsor-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  min-width: 160px;
  max-width: 200px;
  border: 2px solid #e9d5ff;
  flex: 1 1 160px;
}
.sponsor-card-logo {
  height: 70px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto .75rem;
}
.sponsor-card-name { font-weight: 700; color: #3d1a63; font-size: .9rem; }
.sponsor-card-tier {
  font-size: .75rem;
  color: #6b7280;
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tier-ouro { border-color: #f59e0b; }
.tier-prata { border-color: #9ca3af; }
.tier-institucional { border-color: #5b2d8e; }

/* ---- Sponsor ticker ---- */
.sponsor-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  height: 96px;
  overflow: hidden;
}

.sponsor-label {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  padding: 0 1.25rem;
  border-right: 1px solid #e5e7eb;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
}

.sponsor-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  position: relative;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.sponsor-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: sponsor-scroll 16s linear infinite;
}

.sponsor-track:hover {
  animation-play-state: paused;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.5rem;
  height: 100%;
  flex-shrink: 0;
}

.sponsor-logo {
  max-height: 64px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}

.sponsor-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes sponsor-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Admin two-row navbar ────────────────────────────────────────── */
.navbar-admin-2row {
  height: auto !important;
  padding: 0;
}
.admin-nav2-inner {
  max-width: 100%;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
}
.admin-nav2-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 0;
}
.admin-nav2-row1 {
  border-bottom: 1px solid rgba(255,255,255,.12);
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .4rem;
}
.admin-nav2-row2 {
  background: rgba(0,0,0,.15);
  margin: 0 -1.25rem;
  padding: .3rem 1.25rem;
  flex-wrap: wrap;
}
.admin-nav2-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
}
.anav-link {
  color: rgba(255,255,255,.88);
  font-size: .78rem;
  font-weight: 500;
  padding: .3rem .55rem;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.anav-link:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.anav-tool {
  color: rgba(255,255,255,.82);
  font-size: .74rem;
  font-weight: 500;
  padding: .25rem .5rem;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .15s, border-color .15s;
}
.anav-tool:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.anav-tool-green { background: #059669; border-color: #059669; color: #fff; font-weight: 600; }
.anav-tool-green:hover { background: #047857; }
.anav-tool-red { background: #dc2626; border-color: #dc2626; color: #fff; font-weight: 600; }
.anav-tool-red:hover { background: #b91c1c; }
.anav-tool-outline { border-color: rgba(255,255,255,.5); }

/* ── Excel upload bar ────────────────────────────────────────────── */
.excel-upload-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
  padding: .65rem .85rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px dashed #d1d5db;
}
.excel-upload-label {
  display: flex !important;
  align-items: center;
}

/* ── Registration Wizard ──────────────────────────────────────────── */
.wizard-steps {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.wstep {
  flex: 1;
  min-width: 70px;
  text-align: center;
  padding: .45rem .3rem;
  border-radius: 8px;
  background: #f3f4f6;
  font-size: .75rem;
  font-weight: 600;
  color: #9ca3af;
  cursor: default;
  transition: background .2s, color .2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wstep.active {
  background: var(--purple);
  color: #fff;
}
.wstep.done {
  background: #d1fae5;
  color: #065f46;
}
.wizard-nav {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* ── Progress bar ─────────────────────────────────────────────────── */
.progress-wrap {
  background: #e5e7eb;
  border-radius: 999px;
  height: 8px;
  margin-bottom: .5rem;
}
.progress-fill {
  background: var(--purple);
  height: 8px;
  border-radius: 999px;
  transition: width .5s ease;
  min-width: 4px;
}
.progress-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  font-size: .78rem;
}
.progress-checklist li {
  color: #9ca3af;
}
.progress-checklist li::before {
  content: '○ ';
}
.progress-checklist li.ok {
  color: #059669;
}
.progress-checklist li.ok::before {
  content: '✓ ';
}

/* ── Registration summary (step 5) ───────────────────────────────── */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
}
@media (max-width: 480px) {
  .summary-grid { grid-template-columns: 1fr; }
}
.sum-row {
  display: flex;
  flex-direction: column;
  background: #f9fafb;
  border-radius: 6px;
  padding: .5rem .75rem;
}
.sum-label {
  font-size: .73rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: .15rem;
}
.sum-val {
  font-size: .9rem;
  font-weight: 600;
  color: #111827;
}

/* ============================================================
   Programme / Event Schedule page
   ============================================================ */

.page-hero {
  padding: 3rem 1rem 2.5rem;
  text-align: center;
}
.page-hero-sm { padding: 2rem 1rem 1.75rem; }
.page-hero-inner { max-width: 760px; margin: 0 auto; }

/* Day block */
.prog-day-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.prog-day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
}
.prog-day-icon { font-size: 1.6rem; line-height: 1; }
.prog-day-label { font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; }
.prog-day-date  { font-size: .82rem; opacity: .75; margin-top: .15rem; }

/* Timeline rows */
.prog-timeline {
  padding: .75rem 1.5rem 1rem;
  position: relative;
}
.prog-timeline::before {
  content: '';
  position: absolute;
  left: calc(1.5rem + 72px + 8px);   /* aligns with dot column */
  top: .75rem;
  bottom: 1rem;
  width: 2px;
  background: var(--purple-light);
}

.prog-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 0;
  position: relative;
}

.prog-time {
  width: 72px;
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--purple);
  text-align: right;
}

.prog-dot {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--purple);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--purple);
  position: relative;
  z-index: 1;
}

.prog-desc {
  font-size: .92rem;
  color: var(--text);
  flex: 1;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .prog-timeline::before { left: calc(1rem + 58px + 8px); }
  .prog-time { width: 58px; font-size: .76rem; }
  .prog-day-header { padding: .85rem 1rem; }
  .prog-timeline { padding: .5rem 1rem .75rem; }
}

/* ── Video section ──────────────────────────────────────────────────── */
.video-section {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1a4e 55%, #1a2a50 100%);
  padding: 4.5rem 1rem;
  text-align: center;
}
.video-inner {
  max-width: 820px;
  margin: 0 auto;
}
.video-eyebrow {
  color: #f59e0b;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.video-title {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 .75rem;
  line-height: 1.2;
}
.video-sub {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  margin: 0 0 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
}
.video-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── Team tabs — mobile grid layout ─────────────────────────────── */
@media (max-width: 660px) {
  .team-tabs-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: .3rem .5rem .4rem;
    gap: .25rem;
    overflow-x: unset;
  }
  .team-tab {
    flex-direction: column;
    gap: .15rem;
    padding: .55rem .2rem;
    font-size: .68rem;
    text-align: center;
    justify-content: center;
    border-bottom: 3px solid transparent;
    border-radius: 8px;
    white-space: normal;
    line-height: 1.2;
  }
  .team-tab.active {
    background: #f3f0fb;
    border-bottom-color: var(--purple);
  }
  .tab-icon { font-size: 1.25rem; }
  .tab-label { font-size: .67rem; }
}
