﻿.box.stats:not(.wallStatsCard) {
  visibility: hidden;
}

.wallStatsCard {
  display: grid;
  gap: 8px;
}
.wallStatsCard h3 {
  margin: 0;
  color: #93e8ff;
  font-size: 14px;
}
.wallStatsMetrics {
  display: grid;
  gap: 4px;
  margin: 0;
}
.wallStatsMetric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 26px;
  border-bottom: 1px solid rgba(159, 192, 255, .1);
  color: #bac9e8;
  font-size: 12px;
}
.wallStatsMetric strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.wallStatsCountries {
  padding-top: 3px;
}
.wallStatsCountries h4 {
  margin: 0 0 6px;
  color: #dbe8ff;
  font-size: 12px;
}
.wallStatsCountries ul {
  display: grid;
  max-height: 160px;
  gap: 4px;
  overflow: auto;
  margin: 0;
  padding: 0 5px 0 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #24549a #061027;
}
.wallStatsCountries li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #c3d2ef;
  font-size: 11px;
}
.wallStatsCountries li strong {
  color: white;
  font-variant-numeric: tabular-nums;
}
.wallStatsMessage {
  margin: 0;
  color: #aabbdc;
  font-size: 12px;
}

.wallCommunityQuickStats {
  display: none;
}

@media (max-width: 1120px) {
  .wallCommunityQuickStats {
    display: flex;
    width: 100%;
    height: 64px;
    min-height: 64px;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #254273;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(7, 19, 45, .96), rgba(4, 13, 34, .96));
    box-shadow: 0 12px 30px #0003;
  }

  .wallCommunityMetric {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex: 0 0 40px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(119, 176, 255, .3);
    border-radius: 50%;
    color: #77eaff;
    background: linear-gradient(145deg, rgba(10, 29, 64, .92), rgba(8, 13, 39, .96));
    box-shadow: inset 0 1px rgba(255, 255, 255, .06);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .wallCommunityMetricIcon,
  .wallCommunityMetricIcon svg {
    display: block;
    width: 19px;
    height: 19px;
  }

  .wallCommunityMetricCount {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border: 1px solid rgba(134, 228, 255, .4);
    border-radius: 999px;
    color: #eafaff;
    background: #06132d;
    font-size: 9px;
    font-weight: 800;
    line-height: 14px;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }

  .wallCommunityMetricName {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 50%;
    padding: 5px 9px;
    border: 1px solid rgba(97, 219, 255, .38);
    border-radius: 9px;
    color: #f2fbff;
    background: rgba(5, 13, 34, .98);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .34);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -3px);
    transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
  }

  .wallCommunityMetric.isLabelVisible .wallCommunityMetricName {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

