.community-section {
  margin-bottom: 22px;
}

.community-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 11px;
}

.community-subhead h3 {
  margin: 0;
  font-size: 15px;
}

.community-subhead span {
  color: var(--muted);
  font-size: 11px;
}

.community-refresh {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(139, 190, 255, 0.12);
  border-radius: 11px;
  background: rgba(13, 31, 51, 0.8);
  color: var(--cyan);
  font-size: 18px;
}

.community-refresh.loading {
  animation: spin 0.8s linear infinite;
}

.active-games {
  display: grid;
  gap: 8px;
}

.live-game-card {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 64px;
  padding: 11px 13px;
  border: 1px solid rgba(92, 219, 175, 0.13);
  border-radius: 16px;
  background: rgba(13, 34, 53, 0.86);
}

.live-game-card div {
  display: grid;
  gap: 4px;
}

.live-game-card strong {
  font-size: 14px;
}

.live-game-card small,
.live-game-card time {
  color: var(--muted);
  font-size: 11px;
}

.live-game-card time {
  color: #72dab6;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #51d8a8;
  box-shadow: 0 0 0 5px rgba(81, 216, 168, 0.09);
}

.board-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.board-tabs::-webkit-scrollbar {
  display: none;
}

.board-tabs button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(139, 190, 255, 0.12);
  border-radius: 10px;
  background: rgba(13, 31, 51, 0.8);
  color: var(--muted);
  font: inherit;
  font-size: 11px;
}

.board-tabs button.active {
  border-color: rgba(66, 202, 255, 0.34);
  background: rgba(35, 112, 163, 0.28);
  color: #e7f8ff;
}

.community-board {
  padding: 8px 13px;
  border: 1px solid rgba(139, 190, 255, 0.1);
  border-radius: 17px;
  background: rgba(11, 28, 47, 0.82);
}

.rank-row {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 51px;
  border-bottom: 1px solid rgba(139, 190, 255, 0.07);
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-index {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: #7088a0;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
}

.rank-index.top-1 {
  color: #2d2205;
  background: #f6cb5d;
}

.rank-index.top-2 {
  color: #23303d;
  background: #b6c5d3;
}

.rank-index.top-3 {
  color: #321a0f;
  background: #d89362;
}

.rank-main {
  display: grid;
  gap: 6px;
}

.rank-main div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.rank-main strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-main span {
  flex: 0 0 auto;
  color: #a7bfd5;
  font-size: 11px;
}

.rank-main i {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2e8fe5, #4bd9c0);
}

.developer-list {
  display: grid;
  gap: 7px;
}

.developer-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 8px 11px;
  border: 1px solid rgba(139, 190, 255, 0.09);
  border-radius: 13px;
  background: rgba(12, 30, 49, 0.78);
}

.developer-row > span,
.developer-row small {
  color: var(--muted);
  font-size: 11px;
}

.developer-row div {
  display: grid;
  gap: 3px;
}

.developer-row strong {
  font-size: 13px;
}

.developer-row b {
  color: var(--cyan);
  font-size: 12px;
}

.community-empty {
  padding: 25px 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
