/* ───────────────────────────────────────────────────────
   WINTERSPIELE – Dark Mobile-First UI
   ─────────────────────────────────────────────────────── */

:root {
  --bg:        #0d1117;
  --bg2:       #161b22;
  --bg3:       #1c2333;
  --border:    #30363d;
  --text:      #e6edf3;
  --muted:     #8b949e;
  --accent:    #58a6ff;
  --ice:       #00d4ff;
  --green:     #3fb950;
  --gold:      #f1c40f;
  --silver:    #bdc3c7;
  --bronze:    #e67e22;
  --danger:    #f85149;
  --warning:   #f0a83a;
  --radius:    14px;
  --radius-sm: 8px;
  --font:      'Poppins', sans-serif;
  --header-h:  60px;
  --bnav-h:    70px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: var(--bnav-h);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ice); }

/* ── App Header ───────────────────────────────────────── */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  max-width: 600px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text) !important;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.brand-icon { font-size: 1.3rem; }
.brand-text {
  background: linear-gradient(90deg, var(--accent), var(--ice));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right { display: flex; align-items: center; gap: 10px; }

.user-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.admin-badge {
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

.username-text { color: var(--text); max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn-logout {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-logout:hover { color: var(--danger); border-color: var(--danger); }

/* ── Bottom Navigation ───────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bnav-h);
  background: rgba(22,27,34,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  padding: 0 8px;
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 500;
  padding: 6px 6px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.bnav-item i { font-size: 1.15rem; }
.bnav-item.active, .bnav-item:hover { color: var(--accent); }

.add-btn-circle {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--ice));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(88,166,255,0.4);
  margin-bottom: -8px;
}
.add-btn-circle i { color: #000; font-size: 1.5rem; }
.add-btn-nav { margin-top: -14px; }

/* ── Page Content ────────────────────────────────────── */
.page-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 12px 8px;
}

/* ── Section Header ──────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

/* ── Year Filter ─────────────────────────────────────── */
.year-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.year-chip {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s;
}
.year-chip:hover, .year-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ── My Stats Card ───────────────────────────────────── */
.my-stats-card {
  background: linear-gradient(135deg, #1a2744 0%, #162032 100%);
  border: 1px solid rgba(88,166,255,0.3);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  box-shadow: 0 0 30px rgba(88,166,255,0.1);
}

.stats-rank {
  font-size: 2.2rem;
  min-width: 50px;
  text-align: center;
}
.rank-num { font-size: 1.4rem; font-weight: 800; color: var(--accent); }

.stats-info { flex: 1; }
.stats-name { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.stats-points { font-size: 1.4rem; font-weight: 800; color: var(--text); }

.stats-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.stat-chip {
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

/* ── Leaderboard ─────────────────────────────────────── */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.leaderboard-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.leaderboard-item:hover { border-color: rgba(88,166,255,0.4); transform: translateX(2px); }

.leaderboard-item.me {
  border-color: rgba(88,166,255,0.5);
  background: linear-gradient(135deg, #1a2744 0%, #161b22 100%);
  box-shadow: 0 0 12px rgba(88,166,255,0.15);
}

.lb-rank { font-size: 1.5rem; min-width: 40px; text-align: center; }
.lb-rank-num { font-size: 1rem; font-weight: 700; color: var(--muted); }

.lb-info { flex: 1; min-width: 0; }
.lb-name {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.lb-meta { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }

.lb-points { text-align: right; }
.points-value { display: block; font-size: 1.2rem; font-weight: 800; color: var(--accent); }
.points-label { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; }

.you-badge {
  background: linear-gradient(135deg, var(--accent), var(--ice));
  color: #000;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.role-badge, .role-tag {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
}

.role-admin { background: rgba(241,196,15,0.15); color: var(--gold); border: 1px solid rgba(241,196,15,0.3); }
.role-user  { background: rgba(63,185,80,0.1); color: var(--green); border: 1px solid rgba(63,185,80,0.2); }

/* ── Recent Feed ─────────────────────────────────────── */
.feed-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feed-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-icon { font-size: 1.4rem; min-width: 32px; text-align: center; }
.feed-info { flex: 1; min-width: 0; }
.feed-name { font-size: 0.88rem; font-weight: 500; }
.feed-meta { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-points { font-size: 0.85rem; font-weight: 700; color: var(--green); white-space: nowrap; }

/* ── Dark Cards ──────────────────────────────────────── */
.card-dark {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.card-dark-header {
  background: var(--bg3);
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.card-dark-body { padding: 16px; }

/* ── Activity List ───────────────────────────────────── */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.activity-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s;
}
.activity-item:hover { border-color: rgba(88,166,255,0.3); }

.act-icon { font-size: 1.5rem; min-width: 34px; text-align: center; }
.act-info { flex: 1; min-width: 0; }
.act-name {
  font-weight: 600;
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.act-user { font-size: 0.72rem; color: var(--accent); font-weight: 400; }
.act-meta { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.act-notes { color: var(--muted); font-style: italic; }

.act-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.act-points { font-size: 1rem; font-weight: 700; color: var(--green); white-space: nowrap; }

/* ── Summary Bar ─────────────────────────────────────── */
.summary-bar {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 12px;
}

.summary-item { text-align: center; }
.summary-val { display: block; font-size: 1.2rem; font-weight: 800; color: var(--text); }
.summary-lbl { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.summary-sep { width: 1px; height: 32px; background: var(--border); }

/* ── Points Preview ──────────────────────────────────── */
.points-preview {
  background: linear-gradient(135deg, rgba(88,166,255,0.1), rgba(0,212,255,0.1));
  border: 1px solid rgba(88,166,255,0.3);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.preview-label { font-size: 0.8rem; color: var(--muted); }
.preview-value { font-size: 1.3rem; font-weight: 800; color: var(--accent); }

/* ── Form Styles ─────────────────────────────────────── */
.form-group { margin-bottom: 14px; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 380px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.form-label-dark {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 5px;
}

.input-dark {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  transition: all 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.input-dark:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88,166,255,0.15);
  background: rgba(28,35,51,0.8);
}

.input-dark::placeholder { color: var(--muted); }

.input-dark option { background: var(--bg3); color: var(--text); }

.input-hint {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary-full {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--ice));
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary-full:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(88,166,255,0.35); }
.btn-primary-full:active { transform: translateY(0); }

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--ice));
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary-sm:hover { opacity: 0.9; color: #000; }

.btn-delete {
  background: none;
  border: 1px solid rgba(248,81,73,0.3);
  color: var(--danger);
  border-radius: var(--radius-sm);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.btn-delete:hover { background: rgba(248,81,73,0.1); border-color: var(--danger); }

.btn-icon-sm {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--radius-sm);
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.btn-edit:hover { color: var(--accent); border-color: var(--accent); }
.btn-danger { color: var(--danger) !important; border-color: rgba(248,81,73,0.3) !important; }
.btn-danger:hover { background: rgba(248,81,73,0.1) !important; }
.btn-info:hover { color: var(--ice); border-color: var(--ice); }
.btn-warning:hover { color: var(--warning); border-color: var(--warning); }
.btn-disabled { opacity: 0.3; cursor: not-allowed !important; }

/* ── Alerts ──────────────────────────────────────────── */
.alert-error {
  background: rgba(248,81,73,0.1);
  border: 1px solid rgba(248,81,73,0.3);
  color: #ff8080;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 8px;
}
.alert-success {
  background: rgba(63,185,80,0.1);
  border: 1px solid rgba(63,185,80,0.3);
  color: var(--green);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 8px;
}

/* ── Auth Page ───────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at top, #162032 0%, #0d1117 60%);
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo-icon { font-size: 3rem; display: block; margin-bottom: 8px; }
.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--ice));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-subtitle { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

.auth-form .form-group { margin-bottom: 16px; }

.auth-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.auth-link-text { text-align: center; font-size: 0.85rem; color: var(--muted); }
.link-accent { color: var(--accent); font-weight: 600; }
.link-accent:hover { color: var(--ice); }

/* ── Admin ───────────────────────────────────────────── */
.admin-header { margin-bottom: 16px; }
.admin-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.admin-nav { display: flex; gap: 6px; }
.admin-tab {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}
.admin-tab.active, .admin-tab:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.sports-list, .users-list { display: flex; flex-direction: column; }

.sport-item, .user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.sport-item:last-child, .user-item:last-child { border-bottom: none; }

.sport-icon-big { font-size: 1.6rem; min-width: 36px; text-align: center; }
.sport-info, .user-info { flex: 1; min-width: 0; }
.sport-name, .user-name { font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sport-meta, .user-meta { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.sport-actions, .user-actions { display: flex; gap: 6px; flex-shrink: 0; }

.user-avatar {
  width: 42px; height: 42px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Bootstrap Modal override ────────────────────────── */
.modal-dark {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
}
.modal-header-dark {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* ── Error Page ──────────────────────────────────────── */
.error-page {
  text-align: center;
  padding: 60px 20px;
}
.error-icon { font-size: 4rem; margin-bottom: 12px; }
.error-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.error-msg { color: var(--muted); margin-bottom: 20px; }

/* ── Empty State ─────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.empty-icon { font-size: 3rem; margin-bottom: 10px; }

/* ── Misc ────────────────────────────────────────────── */
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 20px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 20px; }
.d-inline { display: inline; }

/* ── Desktop tweaks (≥ 768px) ───────────────────────── */
@media (min-width: 768px) {
  .page-content { padding: 24px 20px; }
  .bottom-nav { max-width: 600px; left: 50%; transform: translateX(-50%); border-radius: var(--radius) var(--radius) 0 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
  body { padding-bottom: 90px; }
}

/* ── Credentials Box (WhatsApp Share) ────────────────── */
.creds-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.creds-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.creds-row:last-child { border-bottom: none; }

.creds-label {
  font-size: 0.78rem;
  color: var(--muted);
  min-width: 110px;
  flex-shrink: 0;
}

.creds-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  font-family: 'Courier New', monospace;
  word-break: break-all;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }

.btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--radius-sm);
  padding: 11px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-copy:hover { color: var(--accent); border-color: var(--accent); }

.btn-close-modal {
  width: 100%;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.85rem;
  padding: 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.btn-close-modal:hover { color: var(--text); }

.text-muted-custom { color: var(--muted); font-size: 0.88rem; }

.gap-2 { gap: 10px; }
.flex-column { flex-direction: column; }
.d-flex { display: flex; }
.p-4 { padding: 20px; }


/* ── Stats Page ────────────────────────────────────────────────────────────── */
.stab {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s;
}
.stab.active {
  background: var(--bg3);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hidden { display: none !important; }

.stat-kpi {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
}
.stat-kpi-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-kpi-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 12px;
}
.stat-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.stat-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Vergleich */
.stat-cmp-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cmp-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cmp-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.cmp-num.win { color: #3fb950; }
.cmp-fav {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
  text-align: center;
}
.cmp-lbl {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1px;
}
