/* ═══════════════════════════════════════════════
   E-FUTEBOL.NET — DASHBOARD PAGE
   ═══════════════════════════════════════════════ */

/* ── PAGE GRID ── */

.dashboard-page {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
  align-items: start;
}

.dashboard-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 1rem;
}

/* ── HEADER (full width) ── */

.dashboard-header {
  grid-column: 1 / -1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-header-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.dashboard-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.dashboard-header-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0;
  line-height: 1.5;
}

/* ── CONTENT (uses arena-card from arena.css) ── */

.dashboard-content {
  display: contents;
}

/* ── SIDEBAR: Player ── */

.dashboard-player {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
}

.dashboard-player-info {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.dashboard-player-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard-player-username {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.dashboard-player-team {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.3rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-primary);
}

/* ── SIDEBAR: Club ── */

.dashboard-club-display {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
}

.dashboard-club-link {
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  margin: -0.1rem -0.5rem;
  transition: background 0.15s ease;
}

.dashboard-club-link:hover {
  background: var(--bg-card-hover);
}

.dashboard-club-link:hover .dashboard-club-name {
  color: var(--green-primary);
}

.dashboard-club-info {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.dashboard-club-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard-club-fans {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.dashboard-strength {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

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

.dashboard-strength-label {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.dashboard-strength-percent {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-primary);
}

.dashboard-strength-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
}

.dashboard-strength-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  border-radius: 2px;
  transition: width 0.8s ease;
}

.dashboard-strength-hint {
  display: block;
  font-size: 0.58rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ── SIDEBAR: No team ── */

.dashboard-no-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
}

.dashboard-no-team-icon {
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.4;
}

.dashboard-no-team-text {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── SIDEBAR: Links ── */

.dashboard-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dashboard-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.dashboard-link:hover {
  background: var(--bg-card);
  color: var(--green-primary);
}

.dashboard-link svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.dashboard-link:hover svg {
  color: var(--green-primary);
}

/* ── BANNER DE CONTEXTO ── */

.dashboard-banner {
  grid-column: 1 / -1;
  border-radius: 12px;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.dashboard-banner-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-banner-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.dashboard-banner-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.dashboard-inline-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--green-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
}

.dashboard-inline-pill:hover {
  background: var(--green-wash);
  border-color: var(--green-pale);
  color: var(--green-deep);
}

.dashboard-banner-winning {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(34, 197, 94, 0.08) 100%);
  border-color: rgba(34, 197, 94, 0.25);
  color: var(--green-primary);
}

.dashboard-banner-losing {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(220, 38, 38, 0.06) 100%);
  border-color: rgba(220, 38, 38, 0.2);
  color: var(--red-warning);
  animation: banner-urgency 3s ease-in-out infinite;
}

@keyframes banner-urgency {
  0%, 100% { border-color: rgba(220, 38, 38, 0.2); }
  50% { border-color: rgba(220, 38, 38, 0.4); }
}

.dashboard-banner-draw {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(212, 160, 23, 0.06) 100%);
  border-color: rgba(212, 160, 23, 0.2);
  color: var(--gold);
}

.dashboard-banner-victory {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(34, 197, 94, 0.06) 100%);
  border-color: rgba(34, 197, 94, 0.2);
  color: var(--green-primary);
}

.dashboard-banner-defeat {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(220, 38, 38, 0.04) 100%);
  border-color: rgba(220, 38, 38, 0.15);
  color: var(--text-secondary);
}

.dashboard-banner-upcoming,
.dashboard-banner-past_draw,
.dashboard-banner-neutral {
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--text-secondary);
}

.dashboard-banner-cup_final {
  background: linear-gradient(135deg, #92400E 0%, #B45309 50%, #CA8A04 100%);
  border-color: transparent;
  animation: final-dashboard-shimmer 3s ease-in-out infinite;
}

.dashboard-banner-cup_final .dashboard-banner-icon {
  color: #FDE68A;
}

.dashboard-banner-cup_final .dashboard-banner-text {
  color: #FEF3C7;
}

.dashboard-banner-cup_final .dashboard-banner-text strong {
  color: #fff;
}

@keyframes final-dashboard-shimmer {
  0%, 100% { box-shadow: 0 0 12px rgba(202, 138, 4, 0.15); }
  50% { box-shadow: 0 0 24px rgba(202, 138, 4, 0.35); }
}

[data-theme="dark"] .dashboard-banner-cup_final {
  background: linear-gradient(135deg, #78350F 0%, #92400E 50%, #B45309 100%);
}

/* ── CUP FINAL SIDEBAR CARD ── */

.dashboard-cup-final-card {
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.04) 0%, rgba(202, 138, 4, 0.06) 100%);
  border: 2px solid rgba(202, 138, 4, 0.3);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  animation: final-card-shimmer 3s ease-in-out infinite;
}

@keyframes final-card-shimmer {
  0%, 100% { box-shadow: 0 0 8px rgba(202, 138, 4, 0.08); }
  50% { box-shadow: 0 0 20px rgba(202, 138, 4, 0.18); }
}

.dashboard-cup-final-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CA8A04;
}

.dashboard-cup-final-header svg {
  color: #CA8A04;
}

.dashboard-cup-final-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dashboard-cup-final-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  text-align: center;
}

.dashboard-cup-final-team span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard-cup-final-vs {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.dashboard-cup-final-vs strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: #CA8A04;
}

.dashboard-cup-final-actions {
  display: flex;
  justify-content: center;
}

.dashboard-cup-final-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: #FEF3C7;
  background: linear-gradient(135deg, #92400E, #CA8A04);
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.dashboard-cup-final-btn:hover {
  background: linear-gradient(135deg, #B45309, #EAB308);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(202, 138, 4, 0.3);
}

[data-theme="dark"] .dashboard-cup-final-card {
  background: linear-gradient(135deg, rgba(202, 138, 4, 0.06) 0%, rgba(234, 179, 8, 0.03) 100%);
}

/* ── PULSE (dries against team) ── */

.dashboard-pulse {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.45rem 0.7rem;
  background: rgba(220, 38, 38, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.12);
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  animation: pulse-border 2.5s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(220, 38, 38, 0.12); }
  50% { border-color: rgba(220, 38, 38, 0.28); }
}

.dashboard-pulse svg {
  color: var(--red-warning);
  flex-shrink: 0;
  opacity: 0.7;
}

.dashboard-pulse strong {
  color: var(--red-warning);
  font-weight: 700;
}


/* ── CARD TITLE LINK ── */

.arena-card-title-link {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  transition: color 0.15s ease;
}

.arena-card-title-link:hover {
  color: var(--green-primary);
}

/* ── SIDEBAR: Streak ── */

.dashboard-streak {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.dashboard-streak svg {
  color: var(--accent);
  flex-shrink: 0;
}

.dashboard-streak-hot svg {
  filter: drop-shadow(0 0 3px var(--accent-glow));
  animation: streak-glow 2s ease-in-out infinite;
}

@keyframes streak-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(232, 98, 26, 0.3)); }
  50% { filter: drop-shadow(0 0 6px rgba(244, 123, 53, 0.6)); }
}

.dashboard-streak strong {
  font-weight: 700;
  color: var(--accent);
}

/* ── SIDEBAR: Next Achievement ── */

.dashboard-achievement-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-achievement-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.06);
}

.dashboard-achievement {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.2rem 0;
}

.dashboard-achievement-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--green-wash);
  color: var(--green-primary);
  border: 1px solid var(--green-pale);
}

.dashboard-achievement-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard-achievement-desc {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 0.1rem;
}

.dashboard-achievement-date {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.dashboard-achievement-progress {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dashboard-achievement-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
}

.dashboard-achievement-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  border-radius: 2px;
  transition: width 0.8s ease;
}

.dashboard-achievement-count {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── SIDEBAR: Club Meta ── */

.dashboard-club-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
}

.dashboard-club-online {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.dashboard-club-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-online 2s ease-in-out infinite;
}

@keyframes pulse-online {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.dashboard-club-rank {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.dashboard-club-rank svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.dashboard-club-rank strong {
  color: var(--text-primary);
  font-weight: 700;
}

.dashboard-club-copa-tag {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.2);
  padding: 0.08rem 0.25rem;
  border-radius: 3px;
}

/* ── ONLINE PLAYERS LIST ── */

.dashboard-online-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dashboard-online-player {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem;
  margin: 0 -0.5rem;
  border-bottom: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.dashboard-online-player:last-child {
  border-bottom: none;
}

.dashboard-online-player:hover {
  background: var(--bg-card);
}

.dashboard-online-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.dashboard-online-player:hover .dashboard-online-name {
  color: var(--green-primary);
}

.dashboard-online-goals {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-primary);
  flex-shrink: 0;
}

/* ── MARGIN INFO ── */

.dashboard-margin-info {
  margin-top: 0.5rem;
  padding: 0.4rem 0.7rem;
  background: var(--bg-card);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
}

.dashboard-margin-winning { color: var(--green-primary); }
.dashboard-margin-losing { color: var(--red-warning); }
.dashboard-margin-draw_zone { color: var(--gold); }
.dashboard-margin-even { color: var(--text-muted); }

.dashboard-margin-hint {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── CLUB ACTIVITY ── */

.dashboard-club-activity {
  display: flex;
  flex-direction: column;
}

.dashboard-club-activity-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.3rem 0;
}

.dashboard-club-activity-item + .dashboard-club-activity-item {
  border-top: 1px solid var(--border);
}

.dashboard-club-activity-text {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.dashboard-club-activity-time {
  font-size: 0.6rem;
  color: var(--text-muted);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── MINI STANDINGS TABLE ── */

.dashboard-mini-standings {
  display: flex;
  flex-direction: column;
}

.dashboard-mini-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.4rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.dashboard-mini-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.4rem;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--bg-card);
  transition: background 0.15s ease;
}

.dashboard-mini-row:last-child {
  border-bottom: none;
}

.dashboard-mini-row-mine {
  background: rgba(45, 106, 79, 0.06);
  font-weight: 700;
  border-radius: 6px;
}

.dashboard-mini-row-promo .dashboard-mini-pos {
  color: var(--green-primary);
  font-weight: 700;
}

.dashboard-mini-row-relegation .dashboard-mini-pos {
  color: var(--red-warning);
  font-weight: 700;
}

.dashboard-mini-pos {
  width: 20px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.dashboard-mini-team {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-mini-stat {
  width: 28px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.dashboard-mini-stat strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ── MATCHES GRID (two columns) ── */

.dashboard-matches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

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

/* ── MODERN MATCH LIST (stacked cards) ── */

.dashboard-match-list-modern {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dashboard-match-item {
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
}

.dashboard-match-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.05);
  background: var(--bg-surface);
  transform: translateY(-1px);
}

.dashboard-match-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed var(--border);
  min-height: 1.2rem;
}

.dashboard-match-item-header-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex-wrap: wrap;
}

.dashboard-match-item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


.dashboard-match-item-comp {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  line-height: 1;
}

.dashboard-match-item-date {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1;
}

.dashboard-match-item-teams {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dashboard-match-item-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.6rem;
}

.dashboard-match-item-team span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.dashboard-match-item-mine {
  font-weight: 700 !important;
  color: var(--green-deep) !important;
}

.dashboard-match-item-score {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  line-height: 1;
}

.dashboard-match-item-score-winner {
  font-weight: 800 !important;
  color: var(--text-primary) !important;
}

.dashboard-match-item-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
  min-height: 1.2rem;
}

.dashboard-match-item-footer-start {
  justify-content: flex-start;
}

.dashboard-match-item-footer-between {
  justify-content: space-between;
}

.dashboard-match-item-result {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.dashboard-match-item-result-win { color: var(--green-primary); }
.dashboard-match-item-result-loss { color: var(--red-warning); }
.dashboard-match-item-result-draw { color: var(--text-muted); }
.dashboard-match-item-result-live { color: var(--accent); }

/* ── Cup Final golden styling ── */
.dashboard-match-item-final {
  background: linear-gradient(135deg, rgba(180, 120, 60, 0.08) 0%, rgba(212, 170, 80, 0.12) 100%);
  border-color: rgba(190, 140, 50, 0.35);
}
.dashboard-match-item-final:hover {
  background: linear-gradient(135deg, rgba(180, 120, 60, 0.12) 0%, rgba(212, 170, 80, 0.16) 100%);
  border-color: rgba(190, 140, 50, 0.5);
}
.dashboard-match-item-comp-final {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #A0722B, #C9A03C);
  color: #FFF8E7;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.dashboard-match-item-comp-final svg { flex-shrink: 0; }

.dashboard-match-season-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 0.4rem 0.2rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  margin-top: 0.3rem;
}

.dashboard-match-item-margin {
  font-weight: 500;
  opacity: 0.8;
  margin-left: 0.2rem;
}

.dashboard-match-item-meta {
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1;
}


.dashboard-match-item-compact {
  margin-top: 0.8rem;
}

/* Legacy match list (can be removed later) */

.dashboard-match-list {
  display: flex;
  flex-direction: column;
}

.dashboard-match-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.2rem;
  border-bottom: 1px solid var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.dashboard-match-row:last-child {
  border-bottom: none;
}

.dashboard-match-row:hover {
  background: var(--bg-card);
  border-radius: 6px;
}

.dashboard-match-team {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-match-team-home {
  flex: 1;
  text-align: right;
  min-width: 0;
}

.dashboard-match-team-away {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.dashboard-match-score {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
  width: 80px;
  justify-content: center;
}

.dashboard-match-score strong {
  display: inline-block;
  min-width: 28px;
  text-align: center;
}

.dashboard-match-x {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
}

.dashboard-match-date {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
}

.dashboard-match-result {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  flex-shrink: 0;
  min-width: 32px;
  text-align: center;
}

.dashboard-match-result-win {
  color: var(--green-primary);
}

.dashboard-match-result-draw {
  color: var(--text-muted);
}

.dashboard-match-result-loss {
  color: var(--red-warning);
}

.dashboard-match-comp {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 28px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dashboard-mini-gap {
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.15rem 0;
}

/* ── CUP STATUS CARD ── */

.dashboard-cup-status-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.dashboard-cup-status-eliminated {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.dashboard-cup-status-qualified {
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.dashboard-cup-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dashboard-cup-status-eliminated .dashboard-cup-status-icon {
  background: var(--bg-surface);
  color: var(--text-muted);
}

.dashboard-cup-status-qualified .dashboard-cup-status-icon {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-primary);
}

.dashboard-cup-status-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.dashboard-cup-status-text strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard-cup-status-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dashboard-cup-card-link {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
}

.dashboard-cup-card-link:hover {
  border-color: var(--border-hover);
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.05);
  background: var(--bg-surface);
  transform: translateY(-1px);
}

.dashboard-cup-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border);
}

.dashboard-cup-phase-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-primary);
  background: var(--green-wash);
  border: 1px solid var(--green-pale);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.dashboard-cup-card-date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
}

.dashboard-cup-card-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dashboard-cup-card-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  text-align: center;
  min-width: 0;
}

.dashboard-cup-card-team span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.dashboard-cup-card-team-mine {
  color: var(--green-deep) !important;
  font-weight: 800 !important;
}

.dashboard-cup-card-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Golden theme for cup final */
.dashboard-cup-card-final {
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.02) 0%, rgba(202, 138, 4, 0.04) 100%);
  border-color: rgba(202, 138, 4, 0.2);
}

.dashboard-cup-card-final:hover {
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.04) 0%, rgba(202, 138, 4, 0.06) 100%);
  border-color: rgba(202, 138, 4, 0.3);
}

.dashboard-cup-phase-tag-final {
  background: linear-gradient(135deg, #92400E, #CA8A04) !important;
  border-color: transparent !important;
  color: #FEF3C7 !important;
}

.dashboard-cup-card-final .dashboard-cup-card-vs {
  border-color: rgba(202, 138, 4, 0.3);
  color: #CA8A04;
  background: rgba(202, 138, 4, 0.05);
}

.dashboard-achievements-progress {
  margin-bottom: 1rem;
}

.dashboard-achievements-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.dashboard-achievements-divider {
  border-top: 1px dashed var(--border);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
}

.dashboard-achievements-eyebrow {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-cup-next-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.dashboard-cup-next-label strong {
  color: var(--text-primary);
}

.dashboard-cup-next-opponent {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .dashboard-inline-pill {
    margin-left: 0;
    margin-top: 0.4rem;
  }

  .dashboard-achievements-progress-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .dashboard-grid .profile-col-main,
  .dashboard-grid .profile-col-side {
    display: contents;
  }

  .dashboard-grid [class*="dash-mobile-"] {
    width: 100%;
  }

  .dash-mobile-1 { order: 1; }
  .dash-mobile-2 { order: 2; }
  .dash-mobile-3 { order: 3; }
  .dash-mobile-4 { order: 4; }
  .dash-mobile-5 { order: 5; }
  .dash-mobile-6 { order: 6; }
  .dash-mobile-7 { order: 7; }
  .dash-mobile-8 { order: 8; }
  .dash-mobile-9 { order: 9; }

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

  .dashboard-sidebar {
    position: static;
  }

}
