/* Per-round results row (R1, R2, R3) horizontal grouping */
.round-results-row {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: flex-start;
  align-items: baseline;
  margin: 8px 0 0 0;
}
/* Shared functional styles for all themes (maps, tables, posts, rounds, etc.) */

/* ---------- Today’s round posts, maps, and tables ---------- */
.round-maps-shell {
  margin-bottom: 2.5rem;
}
.round-maps-card {
  background: rgba(15, 29, 21, 0.97);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px #0002;
  max-width: 1100px;
  margin: 0 auto;
}
/* Stack maps vertically and make them full width */
.round-maps-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.round-map-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.round-head {
  font-weight: 700;
  color: var(--muted, #9aa0a6);
  margin-bottom: 6px;
  font-size: 15px;
}
.round-map {
  width: 100%;
  height: 320px;
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #0e0f12;
  margin-bottom: 0.5rem;
}
.round-map-empty-text {
  color: var(--muted, #9aa0a6);
  text-align: center;
  padding: 40px 0;
  font-size: 15px;
}

/* Geo marker styles for map icons (shared across all themes) */
.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

.geo-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-4px);
  pointer-events: none;
}

.geo-marker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.geo-marker-label {
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  color: #f9fafb;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.geo-marker-target .geo-marker-icon {
  color: #ffd59c;
}

.geo-marker-player .geo-marker-icon {
  color: #c4b5fd;
}

/* Table and post layout (reused by all themes) */
.posts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.post.card {
  padding: 0;
  overflow: visible;
  max-height: none;
  background: none;
  border: none;
}
.post-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.post-title .player {
  font-weight: 600;
  font-size: 18px;
  margin-right: 10px;
}
.today-score-header {
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}
.today-score-header .post-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.today-score-header .time {
  font-size: 12px;
  color: var(--muted, #9aa0a6);
  align-self: center;
}
.score-summary-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
.score-summary-table {
  width: auto;
  min-width: 620px;
  max-width: 760px;
  border-radius: 10px;
  overflow: hidden;
}
.score-summary-table thead th {
  font-size: 12px;
}
.score-summary-table tbody td {
  font-variant-numeric: tabular-nums;
}
.today-leaderboard-table thead tr:first-child th[colspan="2"] {
  font-size: 12px;
  letter-spacing: 0.02em;
}
.today-leaderboard-table thead .round-group {
  text-align: center !important;
}
.today-leaderboard-table thead tr:nth-child(2) th {
  font-size: 11px;
  color: var(--muted, #9aa0a6);
}
.today-leaderboard-table tbody td {
  font-variant-numeric: tabular-nums;
}

/* Vertical separators between round groups */
.today-leaderboard-table tbody td:nth-child(3),
.today-leaderboard-table tbody td:nth-child(5),
.today-leaderboard-table tbody td:nth-child(7),
.today-leaderboard-table tbody td:nth-child(9) {
  border-left: 1px solid rgba(148, 163, 184, 0.28);
}

.today-leaderboard-table thead tr:first-child th:nth-child(n+3) {
  border-left: 1px solid rgba(148, 163, 184, 0.22);
}

.today-leaderboard-table thead tr:nth-child(2) th:nth-child(1),
.today-leaderboard-table thead tr:nth-child(2) th:nth-child(3),
.today-leaderboard-table thead tr:nth-child(2) th:nth-child(5) {
  border-left: 1px solid rgba(148, 163, 184, 0.22);
}
@media (max-width: 700px) {
  .score-summary-table {
    min-width: 0;
    width: 100%;
  }
}
.post-title .meta {
  color: #a9b1c3;
  font-size: 14px;
}
.post-header .time {
  color: #8c94a6;
  font-size: 12px;
}
.rounds {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.round {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.shot, .shot-empty {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
}
.shot-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #2a3140;
  background: #0e1218;
  color: #8c94a6;
  font-size: 13px;
}
@media (max-width: 900px) {
  .rounds {
    flex-direction: column;
    gap: 16px;
  }
  .round-map {
    height: 200px;
    min-height: 120px;
  }
  .round-map-wrapper {
    max-width: 100%;
  }
  .round-maps-grid {
    gap: 16px;
  }
}
