.heatmap-page {
  margin:0;
  overflow:hidden;
  background:#071016;
  color:#e8f2f5;
}

.heatmap-page #app {
  width:100vw;
  height:100vh;
  display:grid;
  grid-template-rows:58px minmax(0, 1fr);
  background:radial-gradient(circle at 50% -30%, #16303b 0, #071016 45%);
}

.heatmap-topbar {
  display:flex;
  align-items:center;
  gap:22px;
  padding:0 18px;
  border-bottom:1px solid #24343b;
  background:rgba(7,16,22,.96);
}

.heatmap-topbar .brand {
  position:static;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.15em;
}

.heatmap-topbar .brand svg {
  width:24px;
  height:24px;
  fill:#54d5dd;
}

.heatmap-title {
  display:flex;
  align-items:baseline;
  gap:14px;
  min-width:0;
}

.heatmap-title strong {
  font-size:15px;
  letter-spacing:.12em;
}

.heatmap-title span,
.heatmap-status {
  color:#7f9aa5;
  font:600 13px/1.25 'JetBrains Mono', monospace;
  letter-spacing:.08em;
}

.heatmap-status {
  margin-left:auto;
  text-align:right;
}

.heatmap-table-wrap {
  min-height:0;
  overflow:auto;
  padding:8px;
  scrollbar-color:#27434d #09131a;
}

.heatmap-table {
  width:100%;
  min-width:1900px;
  border-spacing:0;
  border-collapse:separate;
  border:1px solid #1d3038;
  background:#09141a;
  font-family:'JetBrains Mono', monospace;
}

.heatmap-table th {
  position:sticky;
  top:0;
  z-index:2;
  height:44px;
  padding:0 12px;
  border-bottom:1px solid #2a424b;
  background:#0e1c22;
  color:#78949f;
  text-align:left;
  white-space:nowrap;
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
}

.heatmap-table th.ranking-column {
  background:#10252c;
  color:#68cad0;
}

.heatmap-table th.numeric,
.heatmap-table td.numeric {
  text-align:right;
}

.heatmap-table td {
  height:62px;
  box-sizing:border-box;
  padding:6px 12px;
  border-bottom:1px solid #15272e;
  color:#bdd0d6;
  white-space:nowrap;
  font-size:14px;
  font-weight:600;
}

.heatmap-table tbody tr:last-child td {
  border-bottom:0;
}

.heatmap-table tbody tr:nth-child(even) td {
  background:rgba(18,36,43,.34);
}

.heatmap-table tbody tr:hover td {
  background:#122b33;
}

.heatmap-table td.rank {
  width:76px;
  color:#4ed4dc;
  text-align:center;
  font-size:14px;
  font-weight:800;
}

.heatmap-table tr.podium td.rank {
  color:#f0bd65;
}

.heatmap-symbol {
  position:sticky;
  left:0;
  z-index:1;
  min-width:210px;
  background:#09141a;
}

.heatmap-table tbody tr:nth-child(even) .heatmap-symbol {
  background:#0c1b21;
}

.heatmap-table tbody tr:hover .heatmap-symbol {
  background:#122b33;
}

.heatmap-identity {
  display:grid;
  grid-template-columns:30px auto;
  grid-template-rows:auto auto;
  align-items:center;
  column-gap:9px;
}

.heatmap-identity img,
.heatmap-symbol-fallback {
  grid-row:1 / span 2;
  width:28px;
  height:28px;
  border-radius:50%;
}

.heatmap-identity img {
  object-fit:cover;
  background:#e8f2f5;
}

.heatmap-symbol-fallback {
  display:grid;
  place-items:center;
  background:#17343d;
  color:#68dce2;
  font:800 14px/1 'Inter', sans-serif;
}

.heatmap-identity strong {
  color:#edf7f9;
  font:800 14px/1.2 'Inter', sans-serif;
}

.heatmap-symbol-name,
.heatmap-cell-detail {
  color:#607c86;
  font-size:13px;
  font-weight:600;
  letter-spacing:.025em;
}

.heatmap-symbol-name {
  line-height:1.2;
}

.heatmap-cell-detail {
  display:block;
  margin-top:3px;
}

.heatmap-ranking-value {
  color:#78dce1;
}

.heatmap-positive {
  color:#49d99a !important;
}

.heatmap-negative {
  color:#ff6f7d !important;
}

.heatmap-message {
  position:fixed;
  inset:58px 0 0;
  place-items:center;
  display:grid;
  pointer-events:none;
  background:rgba(7,16,22,.82);
  color:#78909a;
  font:700 13px/1 'JetBrains Mono', monospace;
  letter-spacing:.1em;
}

.heatmap-message[hidden] {
  display:none;
}

@media (max-width:780px) {
  .heatmap-title span,
  .heatmap-status {
    display:none;
  }

  .heatmap-topbar {
    gap:12px;
    padding:0 10px;
  }

  .heatmap-table-wrap {
    padding:4px;
  }
}
