:root {
  /* Announcement graphic / Colorful-Background palette */
  --teal: #00bcb4;
  --cyan: #00aabe;
  --blue: #2850d2;
  --purple: #9628b4;
  --magenta: #d22878;
  --pink: #e63264;
  --orange: #f57828;
  --yellow: #ffc828;
  --gold: #ffd628;
  --silver: #dce6f5;
  --navy-ink: #0a1228;
  --card-dark: rgba(12, 18, 50, 0.55);
  --frost: rgba(255, 255, 255, 0.12);
  --frost-border: rgba(255, 255, 255, 0.28);
  --text: #ffffff;
  --muted: #e4ecff;
  --muted-soft: #c8d6f5;
  --accent-money: #5ef0e8;
  --shadow: 0 18px 50px rgba(8, 16, 40, 0.35);
  --radius: 22px;
  --font: "Montserrat", "Gotham", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  min-height: 100vh;
  padding: 0 0 48px;
  background-color: #1a2a6c;
  background-image:
    linear-gradient(180deg, rgba(10, 18, 40, 0.28) 0%, rgba(10, 18, 40, 0.12) 35%, rgba(20, 10, 40, 0.22) 100%),
    url("colorful-background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Fallback gradient if image fails */
@supports not (background-image: url("colorful-background.png")) {
  body {
    background-image: linear-gradient(135deg, #3a98ab 0%, #2850d2 28%, #8e3a8d 55%, #e63264 78%, #f57828 100%);
  }
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 188, 180, 0.18), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(255, 200, 40, 0.14), transparent 30%),
    radial-gradient(circle at 70% 85%, rgba(230, 50, 100, 0.16), transparent 34%);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px clamp(14px, 3vw, 28px) 0;
}

/* Top yellow accent */
.top-accent {
  height: 10px;
  width: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink), var(--purple), var(--cyan));
  position: sticky;
  top: 0;
  z-index: 5;
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin: 18px 0 22px;
  flex-wrap: wrap;
}

.brand-card {
  background: var(--frost);
  border: 1px solid var(--frost-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 26px;
  padding: 18px 22px 16px;
  box-shadow: var(--shadow);
  flex: 1 1 420px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 188, 180, 0.92);
  color: #06222a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin: 12px 0 4px;
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

h2 {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-weight: 400;
  margin: 0;
  font-size: 1.7rem;
  line-height: 1;
  color: #fff;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

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

.live-pill,
.updated,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--frost);
  border: 1px solid var(--frost-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ef0e8;
  box-shadow: 0 0 0 0 rgba(94, 240, 232, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 240, 232, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(94, 240, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 240, 232, 0); }
}

.ghost-btn {
  cursor: pointer;
  font: inherit;
  color: #fff;
  background: rgba(0, 188, 180, 0.28);
  border-color: rgba(94, 240, 232, 0.45);
}
.ghost-btn:hover {
  background: rgba(0, 188, 180, 0.45);
  border-color: #5ef0e8;
}

/* KPIs */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.kpi {
  background: var(--frost);
  border: 1px solid var(--frost-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
  min-height: 132px;
}

.kpi-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.kpi-value {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1;
}

.kpi-value.accent { color: var(--accent-money); }
.kpi-value.highlight { color: var(--yellow); }

.kpi-note {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffe9a8;
  line-height: 1.35;
}

/* Paint-stroke section labels */
.paint-label {
  display: inline-block;
  position: relative;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 8px 18px 6px;
  line-height: 1;
  z-index: 0;
}
.paint-label::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 8px 22px 10px 18px / 18px 12px 20px 10px;
  transform: skewX(-4deg) rotate(-0.4deg);
  background: var(--stroke, var(--cyan));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.paint-label.cyan { --stroke: #00aabe; }
.paint-label.magenta { --stroke: #d22878; }
.paint-label.yellow { --stroke: #ffc828; color: #1c1408; }
.paint-label.teal { --stroke: #00bcb4; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.hint {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* Disclaimers */
.disclaimer-stack {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.totals-disclaimer {
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 200, 40, 0.45);
  background: rgba(15, 18, 45, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffe9a8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: var(--shadow);
}

.partners-disclaimer {
  border-color: rgba(180, 160, 255, 0.4);
  color: #e8ecff;
}

/* Podium */
.podium-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-bottom: 22px;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pod-card {
  background: var(--frost);
  border: 1px solid var(--frost-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 16px;
  min-height: 150px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pod-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--medal, #fff), transparent);
}

.pod-card.gold {
  --medal: var(--gold);
  background: linear-gradient(180deg, rgba(255, 214, 40, 0.28), rgba(12, 18, 50, 0.45));
  border-color: rgba(255, 214, 40, 0.55);
}
.pod-card.silver {
  --medal: var(--silver);
  background: linear-gradient(180deg, rgba(220, 230, 245, 0.22), rgba(12, 18, 50, 0.45));
  border-color: rgba(220, 230, 245, 0.45);
}
.pod-card.bronze {
  --medal: var(--orange);
  background: linear-gradient(180deg, rgba(245, 120, 40, 0.24), rgba(12, 18, 50, 0.45));
  border-color: rgba(245, 120, 40, 0.45);
}

.pod-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #14182e;
  color: var(--medal, #fff);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  border: 2px solid var(--medal, rgba(255,255,255,.4));
}

.pod-name {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
}

.pod-sub {
  color: var(--muted-soft);
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
}

.pod-metric {
  margin-top: 14px;
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  color: var(--accent-money);
}

.pod-metric small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
  font-family: var(--font);
  letter-spacing: 0;
}

/* Boards */
.boards {
  background: var(--frost);
  border: 1px solid var(--frost-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 26px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tab {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 13px;
}

.tab.active {
  color: #1c1408;
  background: linear-gradient(135deg, #ffc828 0%, #f57828 48%, #e63264 100%);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.tab:not(.active):hover {
  color: #fff;
  border-color: rgba(94, 240, 232, 0.55);
  background: rgba(0, 188, 180, 0.2);
}

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.toolbar input,
.toolbar select {
  background: rgba(10, 18, 40, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text);
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  font-weight: 600;
}

.toolbar input { flex: 1; min-width: 220px; }
.toolbar select { min-width: 180px; }
.toolbar input::placeholder { color: rgba(228, 236, 255, 0.7); }

.table-card {
  overflow: auto;
  border-radius: 16px;
  background: rgba(10, 18, 40, 0.28);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th, td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

th {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  position: sticky;
  top: 0;
  background: rgba(18, 28, 60, 0.92);
  backdrop-filter: blur(8px);
}

tbody tr:hover { background: rgba(255, 255, 255, 0.06); }

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  font-size: 13px;
}

.rank-pill.r1 { background: rgba(255, 214, 40, 0.28); color: #ffd628; }
.rank-pill.r2 { background: rgba(220, 230, 245, 0.22); color: #eef3fa; }
.rank-pill.r3 { background: rgba(245, 120, 40, 0.24); color: #ffb06a; }

.name-cell {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.muted { color: var(--muted-soft); }
.money { color: var(--accent-money); font-weight: 800; font-variant-numeric: tabular-nums; }
.points { font-weight: 800; font-variant-numeric: tabular-nums; }

.bar-wrap {
  width: 110px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00bcb4 0%, #9628b4 48%, #ffc828 100%);
}

.tier {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.tier.gold { color: #1c1408; background: linear-gradient(135deg, #ffd628, #ffc828); }
.tier.silver { color: #14182e; background: linear-gradient(135deg, #eef3fa, #c9d4e5); }
.tier.bronze { color: #2b1608; background: linear-gradient(135deg, #ffb06a, #f57828); }
.tier.participation {
  color: #fff;
  background: rgba(210, 40, 120, 0.4);
  border-color: rgba(230, 50, 100, 0.45);
}
.tier.none { color: var(--muted); background: rgba(255, 255, 255, 0.08); }

.empty { padding: 28px; text-align: center; color: var(--muted); font-weight: 700; }
.hidden { display: none !important; }

.foot {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.bottom-accent {
  height: 10px;
  width: 100%;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink), var(--orange), var(--yellow));
}

@media (max-width: 980px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .podium-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .podium { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.4rem; }
}

/* View switcher */
.view-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.view-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.view-btn.active {
  color: #1c1408;
  background: linear-gradient(135deg, #ffc828 0%, #f57828 48%, #e63264 100%);
  border-color: transparent;
}
.view-btn:not(.active):hover {
  color: #fff;
  border-color: rgba(94, 240, 232, 0.55);
  background: rgba(0, 188, 180, 0.22);
}
.view-panel[hidden] { display: none !important; }
.view-panel.active { display: block; }

/* Charts dashboard */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.chart-card {
  background: var(--frost);
  border: 1px solid var(--frost-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
  min-height: 280px;
}
.chart-card.wide { grid-column: 1 / -1; }

.chart-bars {
  display: flex;
  align-items: stretch; /* keep every column the same height */
  justify-content: space-around;
  gap: 12px;
  min-height: 320px;
  padding: 8px 6px 0;
}
.chart-bars.horizontal {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: auto;
  gap: 10px;
  padding-top: 8px;
}
.chart-bars.horizontal.tall { gap: 8px; }

.col-bar {
  flex: 1 1 0;
  max-width: 128px;
  display: grid;
  /* value | plot area (shared baseline) | labels */
  grid-template-rows: 28px 220px minmax(72px, auto);
  align-items: center;
  justify-items: center;
  gap: 0;
  width: 100%;
}
.col-bar .bar-val {
  align-self: end;
  margin-bottom: 6px;
}
.col-bar .bar-track {
  width: 100%;
  height: 220px;
  align-self: stretch;
  display: flex;
  align-items: flex-end; /* bars grow up from shared x-axis */
  justify-content: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.28);
  padding: 0 0 0;
  box-sizing: border-box;
}
.col-bar .bar-fill {
  width: 70%;
  min-height: 8px;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, #ffd628 0%, #f57828 100%);
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
  position: relative;
  transition: height 0.45s ease;
  margin-bottom: 0;
}
.col-bar .bar-fill.gold { background: linear-gradient(180deg, #ffe566 0%, #ffd628 100%); }
.col-bar .bar-fill.silver { background: linear-gradient(180deg, #f4f7fb 0%, #c9d4e5 100%); }
.col-bar .bar-fill.bronze { background: linear-gradient(180deg, #ffb06a 0%, #f57828 100%); }
.col-bar .bar-fill.c0 { background: linear-gradient(180deg, #5ef0e8 0%, #00bcb4 100%); }
.col-bar .bar-fill.c1 { background: linear-gradient(180deg, #c9a0ff 0%, #9628b4 100%); }
.col-bar .bar-fill.c2 { background: linear-gradient(180deg, #ff8fb5 0%, #e63264 100%); }
.col-bar .bar-fill.c3 { background: linear-gradient(180deg, #ffd628 0%, #f57828 100%); }
.col-bar .bar-val {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: #fff;
}
.col-bar .bar-rank {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #14182e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,.35);
}
.col-bar .bar-caption {
  width: 100%;
  padding-top: 10px;
  text-align: center;
  align-self: start;
}
.col-bar .bar-label {
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.25;
  color: #fff;
  max-width: 118px;
  margin: 0 auto;
}
.col-bar .bar-meta {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-soft);
  max-width: 118px;
  margin: 4px auto 0;
}

.h-bar {
  display: grid;
  grid-template-columns: minmax(110px, 180px) 1fr auto;
  gap: 10px;
  align-items: center;
}
.h-bar .h-label {
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  line-height: 1.2;
}
.h-bar .h-meta {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-soft);
  margin-top: 2px;
}
.h-bar .h-track {
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.h-bar .h-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00bcb4 0%, #9628b4 55%, #ffc828 100%);
  min-width: 4px;
  transition: width 0.45s ease;
}
.h-bar .h-fill.gold { background: linear-gradient(90deg, #ffd628, #ffe566); }
.h-bar .h-fill.silver { background: linear-gradient(90deg, #c9d4e5, #f4f7fb); }
.h-bar .h-fill.bronze { background: linear-gradient(90deg, #f57828, #ffb06a); }
.h-bar .h-fill.c0 { background: linear-gradient(90deg, #00bcb4, #5ef0e8); }
.h-bar .h-fill.c1 { background: linear-gradient(90deg, #9628b4, #c9a0ff); }
.h-bar .h-fill.c2 { background: linear-gradient(90deg, #e63264, #ff8fb5); }
.h-bar .h-fill.c3 { background: linear-gradient(90deg, #f57828, #ffd628); }
.h-bar .h-val {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--accent-money);
  min-width: 64px;
  text-align: right;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.tier-card {
  border-radius: 16px;
  padding: 14px;
  background: rgba(10, 18, 40, 0.28);
  border: 1px solid rgba(255,255,255,.16);
}
.tier-card .tier-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier-card .tier-count {
  font-family: var(--display);
  font-size: 2rem;
  margin-top: 6px;
  line-height: 1;
}
.tier-card.gold .tier-count { color: #ffd628; }
.tier-card.silver .tier-count { color: #eef3fa; }
.tier-card.bronze .tier-count { color: #ffb06a; }
.tier-card.participation .tier-count { color: #ff8fb5; }
.tier-card.none .tier-count { color: #c8d6f5; }

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.activity-card {
  border-radius: 16px;
  padding: 14px;
  background: rgba(10, 18, 40, 0.28);
  border: 1px solid rgba(255,255,255,.16);
}
.activity-card .a-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.activity-card .a-val {
  font-family: var(--display);
  font-size: 1.8rem;
  margin-top: 6px;
  color: #fff;
  line-height: 1;
}

@media (max-width: 980px) {
  .charts-grid { grid-template-columns: 1fr; }
  .chart-card.wide { grid-column: auto; }
  .h-bar { grid-template-columns: minmax(90px, 130px) 1fr auto; }
}
@media (max-width: 640px) {
  .tier-grid, .activity-grid { grid-template-columns: 1fr; }
  .col-bar { max-width: 90px; }
}
