/* ══════════════════════════════════════════════════════════════
   BOLÃO COPA 2026 — STYLES
   Design System: Dark (#03030f), Gold (#FFD600), Bebas Neue + DM Sans
   ══════════════════════════════════════════════════════════════ */

/* ── Sub-Navigation (Palpites | Ranking | Desempenho) ── */
.bolao-header {
  text-align: center;
  margin-bottom: 32px;
}

.bolao-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.bolao-participants-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dim);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bolao-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

.bolao-user-badge .avatar-mini {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #FFA000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #03030f;
  flex-shrink: 0;
}

.bolao-user-badge .logout-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 4px;
  margin-left: 4px;
  transition: color 0.2s;
}

.bolao-user-badge .logout-btn:hover {
  color: var(--red);
}

.bolao-sub-nav {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 20px;
}

.bolao-sub-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 18px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.35s var(--ease-out);
}

.bolao-sub-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.bolao-sub-pill.active {
  background: linear-gradient(135deg, var(--gold), #FFA000);
  color: #03030f;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 214, 0, 0.3);
}

.bolao-sub-pill i { font-size: 14px; }

.bolao-sub-content {
  display: none;
  animation: fadeSlideIn 0.5s var(--ease-out);
}

.bolao-sub-content.active { display: block; }

/* ── Copa Countdown Banner ── */
.bolao-countdown-banner {
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.08), rgba(255, 160, 0, 0.04));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.bolao-countdown-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 214, 0, 0.06));
  pointer-events: none;
}

.bolao-countdown-banner h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
}

.bolao-countdown-banner p {
  font-size: 15px;
  color: var(--text-secondary);
}

.bolao-countdown-banner .countdown-days {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold);
  letter-spacing: 2px;
}

/* ── Login Modal ── */
.bolao-login-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  width: 100%;
}

.bolao-login-overlay.visible {
  display: flex;
}

.bolao-login-card {
  background: rgba(15, 15, 35, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: modalSlideUp 0.4s var(--ease-spring);
  position: relative;
}

.bolao-login-card h2 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--gold) 0%, #FFA000 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.bolao-login-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.bolao-login-card .login-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.bolao-login-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.5px;
}

.bolao-login-input::placeholder {
  color: var(--text-muted);
}

.bolao-login-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.15);
}

.bolao-login-error {
  color: var(--red);
  font-size: 12px;
  margin-bottom: 12px;
  min-height: 18px;
}

.bolao-login-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), #FFA000);
  color: #03030f;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.5px;
}

.bolao-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 214, 0, 0.35);
}

.bolao-login-btn:active {
  transform: scale(0.97);
}

.bolao-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.bolao-login-divider::before,
.bolao-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.bolao-login-google {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s var(--ease-out);
  opacity: 0.4;
  pointer-events: none;
}

.bolao-login-google .google-icon {
  font-size: 18px;
}

.bolao-login-google-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Phase Filter Bar ── */
.bolao-phase-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.bolao-phase-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.bolao-phase-btn:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
}

.bolao-phase-btn.active {
  background: var(--gold);
  color: #03030f;
  border-color: var(--gold);
}

.bolao-phase-btn .badge-count {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 11px;
  margin-left: 6px;
}

.bolao-phase-btn.active .badge-count {
  background: rgba(0, 0, 0, 0.2);
}

/* ── Group Header ── */
.bolao-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.bolao-group-header:first-child {
  margin-top: 0;
}

.bolao-group-label {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--gold);
}

.bolao-group-progress {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
}

/* ── Prediction Cards ── */
.bolao-matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.bolao-match-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.bolao-match-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bolao-match-card.saved {
  border-color: var(--gold) !important;
  box-shadow: 0 0 20px rgba(255, 214, 0, 0.08);
}

.bolao-match-card.saved::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #FFA000);
}

.bolao-match-card.locked {
  opacity: 0.7;
}

.bolao-match-card.locked .bolao-prediction-row {
  pointer-events: none;
}

.bolao-match-card.result-correct {
  border-color: var(--green);
}

.bolao-match-card.result-exact {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(255, 214, 0, 0.12);
}

.bolao-match-card.result-wrong {
  border-color: rgba(255, 64, 96, 0.3);
}

/* Card Meta Row */
.bolao-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.bolao-card-group {
  background: var(--gold-dim);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bolao-card-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.bolao-card-status.saved {
  color: var(--gold);
}

.bolao-card-status.locked {
  color: var(--red);
}

.bolao-card-status.pending {
  color: var(--text-muted);
}

/* Teams Row */
.bolao-teams-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bolao-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  text-align: center;
}

.bolao-team img {
  width: 42px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bolao-team-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Prediction Inputs */
.bolao-prediction-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bolao-score-input {
  width: 52px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 24px;
  text-align: center;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -moz-appearance: textfield;
}

.bolao-score-input::-webkit-outer-spin-button,
.bolao-score-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bolao-score-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.15);
}

.bolao-score-input.saved {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 214, 0, 0.06);
}

.bolao-score-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bolao-score-x {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.bolao-confirm-btn {
  background: linear-gradient(135deg, var(--gold), #FFA000);
  color: #03030f;
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.bolao-confirm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 214, 0, 0.35);
}

.bolao-confirm-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.bolao-confirm-btn.saved-state {
  background: rgba(255, 214, 0, 0.1);
  color: var(--gold);
  border: 1px solid var(--gold);
}

/* Card Info Row */
.bolao-card-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
}

.bolao-card-info i {
  color: var(--gold);
  margin-right: 3px;
  font-size: 10px;
}

/* Real Result Overlay */
.bolao-real-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.bolao-real-result .result-label {
  color: var(--text-muted);
  font-weight: 600;
}

.bolao-real-result .result-score {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.bolao-real-result .result-points {
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.bolao-real-result .points-exact {
  background: var(--gold-dim);
  color: var(--gold);
}

.bolao-real-result .points-winner {
  background: var(--green-dim);
  color: var(--green);
}

.bolao-real-result .points-draw {
  background: rgba(79, 195, 247, 0.15);
  color: #4FC3F7;
}

.bolao-real-result .points-wrong {
  background: var(--red-dim);
  color: var(--red);
}

/* ── Ranking Section ── */
.bolao-ranking-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Podium */
.bolao-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  padding: 40px 20px 20px;
}

.bolao-podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s var(--ease-spring);
}

.bolao-podium-item:hover {
  transform: translateY(-6px);
}

.bolao-podium-avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #03030f;
  font-family: var(--font-display);
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
}

.bolao-podium-item.gold .bolao-podium-avatar {
  width: 80px;
  height: 80px;
  font-size: 28px;
  background: linear-gradient(135deg, #FFD700, #FFA000, #FFD700);
  box-shadow: 0 0 30px rgba(255, 214, 0, 0.4);
}

.bolao-podium-item.silver .bolao-podium-avatar {
  width: 68px;
  height: 68px;
  font-size: 24px;
  background: linear-gradient(135deg, #C0C0C0, #E8E8E8, #C0C0C0);
}

.bolao-podium-item.bronze .bolao-podium-avatar {
  width: 62px;
  height: 62px;
  font-size: 22px;
  background: linear-gradient(135deg, #CD7F32, #E8A862, #CD7F32);
}

.bolao-podium-medal {
  position: absolute;
  bottom: -6px;
  right: -6px;
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.bolao-podium-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.bolao-podium-points {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold);
  letter-spacing: 1px;
}

.bolao-podium-pedestal {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  width: 100%;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
}

.bolao-podium-item.gold .bolao-podium-pedestal {
  background: linear-gradient(180deg, rgba(255, 214, 0, 0.15), rgba(255, 214, 0, 0.05));
  height: 120px;
  border: 1px solid rgba(255, 214, 0, 0.2);
  border-bottom: none;
}

.bolao-podium-item.silver .bolao-podium-pedestal {
  background: linear-gradient(180deg, rgba(192, 192, 192, 0.12), rgba(192, 192, 192, 0.04));
  height: 90px;
  border: 1px solid rgba(192, 192, 192, 0.15);
  border-bottom: none;
}

.bolao-podium-item.bronze .bolao-podium-pedestal {
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.12), rgba(205, 127, 50, 0.04));
  height: 70px;
  border: 1px solid rgba(205, 127, 50, 0.15);
  border-bottom: none;
}

/* Ranking Table */
.bolao-ranking-table-wrapper {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bolao-ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.bolao-ranking-table thead {
  background: rgba(255, 214, 0, 0.06);
}

.bolao-ranking-table th {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--gold);
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.bolao-ranking-table th:nth-child(2) {
  text-align: left;
}

.bolao-ranking-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 14px;
}

.bolao-ranking-table td:nth-child(2) {
  text-align: left;
}

.bolao-ranking-table td:first-child {
  font-family: var(--font-display);
  font-size: 18px;
  width: 50px;
  color: var(--text-muted);
}

.bolao-ranking-table tbody tr {
  transition: background 0.2s;
}

.bolao-ranking-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.bolao-ranking-table tbody tr.current-user {
  background: rgba(255, 214, 0, 0.06) !important;
  border-left: 3px solid var(--gold);
}

.bolao-ranking-table tbody tr.current-user td:first-child {
  color: var(--gold);
}

.bolao-ranking-cell-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bolao-ranking-cell-name .avatar-sm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 214, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.bolao-ranking-pts {
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
}

.bolao-no-data {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.bolao-no-data i {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  color: rgba(255, 214, 0, 0.15);
}

.bolao-no-data p {
  font-size: 15px;
  margin-bottom: 4px;
}

.bolao-no-data .hint {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Performance Section ── */
.bolao-perf-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Summary Cards */
.bolao-perf-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.bolao-perf-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.bolao-perf-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.bolao-perf-card .perf-value {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.bolao-perf-card .perf-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bolao-perf-card .perf-icon {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--gold);
  opacity: 0.6;
}

/* Chart */
.bolao-chart-wrapper {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}

.bolao-chart-wrapper h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}

.bolao-chart-canvas {
  width: 100%;
  height: 200px;
}

/* Predictions History List */
.bolao-history-wrapper {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.bolao-history-wrapper h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}

.bolao-history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
}

.bolao-history-item:last-child {
  border-bottom: none;
}

.bolao-history-result-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.bolao-history-result-icon.exact {
  background: var(--gold-dim);
  color: var(--gold);
}

.bolao-history-result-icon.correct {
  background: var(--green-dim);
  color: var(--green);
}

.bolao-history-result-icon.wrong {
  background: var(--red-dim);
  color: var(--red);
}

.bolao-history-teams {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bolao-history-teams img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

.bolao-history-scores {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.bolao-history-scores .your-score {
  font-weight: 600;
  color: var(--text-primary);
}

.bolao-history-scores .real-score {
  font-weight: 600;
  color: var(--gold);
}

.bolao-history-points {
  font-family: var(--font-display);
  font-size: 16px;
  min-width: 40px;
  text-align: right;
}

.bolao-history-points.positive {
  color: var(--gold);
}

.bolao-history-points.zero {
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .bolao-matches-grid {
    grid-template-columns: 1fr;
  }

  .bolao-perf-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .bolao-podium {
    gap: 10px;
    padding: 20px 10px;
  }

  .bolao-podium-item.gold .bolao-podium-avatar {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .bolao-podium-item.silver .bolao-podium-avatar {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .bolao-podium-item.bronze .bolao-podium-avatar {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .bolao-podium-pedestal { min-width: 70px; }

  .bolao-sub-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .bolao-sub-pill {
    padding: 8px 14px;
    font-size: 12px;
  }

  .bolao-sub-pill span {
    display: none;
  }

  .bolao-login-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .bolao-perf-summary {
    grid-template-columns: 1fr 1fr;
  }

  .bolao-podium-item.gold .bolao-podium-pedestal { height: 80px; }
  .bolao-podium-item.silver .bolao-podium-pedestal { height: 60px; }
  .bolao-podium-item.bronze .bolao-podium-pedestal { height: 50px; }

  .bolao-score-input {
    width: 44px;
    height: 42px;
    font-size: 20px;
  }
}
