/* Menu system styles */
#menu-container {
  position: fixed;
  inset: 0;
  z-index: 50;
  font-family: 'Segoe UI', sans-serif;
  color: #ccc;
  pointer-events: none;
}
#menu-container > * {
  pointer-events: auto;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 15, 0.85);
  z-index: 50;
}

.menu-panel {
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 32px 40px;
  min-width: 320px;
  max-width: 500px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.menu-panel h1 {
  font-size: 28px;
  text-align: center;
  color: #0cf;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: 0 0 24px 0;
  font-weight: 300;
}

.menu-panel h2 {
  font-size: 16px;
  color: #0cf;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 16px 0;
  font-weight: 400;
}

.menu-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  margin-bottom: 8px;
  background: #2a2a3a;
  border: 1px solid #444;
  color: #ccc;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.15s, border-color 0.15s;
}
.menu-btn:hover {
  background: #3a3a4a;
  border-color: #0cf;
  color: #fff;
}
.menu-btn.primary {
  background: #0cf;
  border-color: #0cf;
  color: #000;
  font-weight: 600;
}
.menu-btn.primary:hover {
  background: #2df;
  border-color: #2df;
}
.menu-btn.danger {
  border-color: #c33;
  color: #e55;
}
.menu-btn.danger:hover {
  background: #3a1a1a;
  border-color: #e55;
}
.menu-btn.back {
  background: transparent;
  border-color: transparent;
  color: #666;
  font-size: 12px;
  margin-top: 8px;
}
.menu-btn.back:hover {
  color: #999;
}

.menu-panel .setting-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.menu-panel .setting-row label {
  width: 80px;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.menu-panel .setting-row input[type="range"] {
  flex: 1;
  accent-color: #0cf;
  height: 4px;
  cursor: pointer;
}
.menu-panel .setting-row .value {
  width: 36px;
  text-align: right;
  font-size: 13px;
  color: #0cf;
  font-variant-numeric: tabular-nums;
}
.menu-panel .setting-row select {
  flex: 1;
  background: #2a2a3a;
  border: 1px solid #444;
  color: #ccc;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 13px;
  font-family: inherit;
}

.tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tab-bar button {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
.tab-bar button.active {
  color: #0cf;
  border-bottom-color: #0cf;
}
.tab-bar button:hover {
  color: #aaa;
}

.map-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}
.map-list .map-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 13px;
  transition: background 0.1s;
}
.map-list .map-item:last-child {
  border-bottom: none;
}
.map-list .map-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.map-list .map-item.selected {
  background: rgba(0, 204, 255, 0.12);
  color: #0cf;
}
.map-list .map-item .map-name {
  flex: 1;
}
.map-list .map-item .map-source {
  font-size: 10px;
  color: #555;
  text-transform: uppercase;
}
.map-list .map-item .map-delete {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  font-size: 14px;
  padding: 0 4px;
}
.map-list .map-item .map-delete:hover {
  color: #e55;
}

.room-list {
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}
.room-list .room-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 13px;
  transition: background 0.1s;
}
.room-list .room-item:last-child {
  border-bottom: none;
}
.room-list .room-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.room-list .room-item.selected {
  background: rgba(0, 204, 255, 0.12);
  color: #0cf;
}
.room-list .room-item .room-host {
  flex: 1;
}
.room-list .room-item .room-map {
  color: #888;
  font-size: 11px;
}
.room-list .room-item .room-players {
  color: #555;
  font-size: 11px;
}

.separator-text {
  text-align: center;
  color: #555;
  font-size: 11px;
  text-transform: uppercase;
  margin: 12px 0;
  position: relative;
}
.separator-text::before,
.separator-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.separator-text::before { left: 0; }
.separator-text::after { right: 0; }

.menu-input {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: #2a2a3a;
  border: 1px solid #444;
  color: #ccc;
  font-size: 13px;
  font-family: monospace;
  border-radius: 4px;
  margin-bottom: 8px;
  outline: none;
}
.menu-input:focus {
  border-color: #0cf;
}

.menu-panel .server-msg {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}
.menu-panel .server-msg.error {
  color: #e55;
}
.menu-panel .server-msg.success {
  color: #3c6;
}

/* Loadout screen */
.loadout-panel {
  min-width: 520px;
  max-width: 560px;
}
.loadout-section {
  margin-bottom: 16px;
}
.loadout-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}
.loadout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.consumable-grid {
  grid-template-columns: 1fr 1fr 1fr;
}
.loadout-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.loadout-card:hover {
  background: rgba(0,204,255,0.08);
  border-color: rgba(0,204,255,0.3);
}
.loadout-card.selected {
  background: rgba(0,204,255,0.15);
  border-color: #0cf;
}
.loadout-name {
  display: block;
  font-size: 13px;
  color: #ddd;
  margin-bottom: 2px;
}
.loadout-detail {
  display: block;
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Spawn screen */
.spawn-panel {
  min-width: 380px;
  text-align: center;
}
.spawn-info {
  margin-bottom: 16px;
}
.spawn-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
}
.spawn-label { color: #666; }
.spawn-value { color: #ccc; }
.spawn-summary {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.spawn-weapon {
  text-align: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  min-width: 100px;
}
.spawn-weapon-icon {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
  color: #0cf;
}
.spawn-weapon-name {
  display: block;
  font-size: 12px;
  color: #ccc;
  margin-bottom: 2px;
}
.spawn-weapon-type {
  display: block;
  font-size: 9px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.spawn-teams {
  margin-bottom: 16px;
}
.team-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.team-btn {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  color: #ccc;
  font-size: 13px;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.12s, border-color 0.12s;
}
.team-btn:hover {
  background: rgba(255,255,255,0.08);
}
.team-btn.selected {
  border-color: var(--team-clr, #0cf);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.spawn-btn {
  margin-top: 4px;
}

/* Game over screen */
.gameover-panel {
  min-width: 380px;
  text-align: center;
}
.gameover-title {
  font-size: 24px;
  color: #0cf;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.gameover-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}
.gameover-scores {
  margin-bottom: 20px;
}
.gameover-score-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.gameover-score-row:last-child {
  border-bottom: none;
}

/* Game mode selector */
.mode-buttons {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.mode-btn {
  flex: 1;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #888;
  font-size: 11px;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.mode-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #ccc;
}
.mode-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.mode-btn:disabled:hover {
  background: rgba(255,255,255,0.04);
  color: #888;
}
.mode-btn.active {
  background: rgba(0,204,255,0.15);
  border-color: #0cf;
  color: #0cf;
}

/* Kill feed */
#kill-feed {
  position: absolute;
  top: 80px;
  right: 20px;
  z-index: 41;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 260px;
}
.kill-feed-entry {
  background: rgba(0, 0, 0, 0.6);
  color: #ccc;
  font-size: 12px;
  font-family: 'Segoe UI', sans-serif;
  padding: 4px 10px;
  border-radius: 3px;
  text-align: right;
  animation: kill-feed-in 0.3s ease-out;
  transition: opacity 0.5s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kill-feed-entry .attacker {
  color: #fff;
  font-weight: 600;
}
.kill-feed-entry .weapon {
  color: #ec3;
}
.kill-feed-entry .victim {
  color: #e55;
}
.kill-feed-entry.fade-out {
  opacity: 0;
}
@keyframes kill-feed-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Spawn overlay */
#spawn-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  align-items: center;
  justify-content: center;
}
.spawn-active #spawn-overlay {
  display: flex;
  pointer-events: auto;
}
.spawn-active #crosshair,
.spawn-active #health-display,
.spawn-active #weapon-label,
.spawn-active #ammo-display {
  display: none;
}
.spectating #crosshair,
.spectating #health-display,
.spectating #weapon-label,
.spectating #ammo-display {
  display: none !important;
}
.spawn-overlay {
  pointer-events: auto;
}
.spawn-panel {
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 24px 32px;
  min-width: 480px;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}
.spawn-header {
  text-align: center;
  margin-bottom: 16px;
}
.spawn-mode {
  font-size: 16px;
  color: #0cf;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}
.spawn-hint {
  font-size: 12px;
  color: #888;
}
.spawn-section {
  margin-bottom: 14px;
}
.spawn-section-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}
.spawn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.spawn-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.spawn-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 7px 9px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.spawn-card:hover {
  background: rgba(0,204,255,0.08);
  border-color: rgba(0,204,255,0.3);
}
.spawn-card.selected {
  background: rgba(0,204,255,0.15);
  border-color: #0cf;
}
.spawn-card-name {
  display: block;
  font-size: 12px;
  color: #ddd;
  margin-bottom: 1px;
}
.spawn-card-detail {
  display: block;
  font-size: 9px;
  color: #666;
  text-transform: uppercase;
}
.spawn-teams {
  display: flex;
  gap: 8px;
}
.spawn-team-btn {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  color: #ccc;
  font-size: 12px;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.12s, border-color 0.12s;
}
.spawn-team-btn:hover {
  background: rgba(255,255,255,0.08);
}
.spawn-team-btn.selected {
  border-color: var(--team-clr, #0cf);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.spawn-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  margin-top: 6px;
  background: #0cf;
  border: 1px solid #0cf;
  color: #000;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.15s;
}
.spawn-btn:hover {
  background: #2df;
}

#pause-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pause-overlay .menu-panel {
  min-width: 240px;
}

/* HUD */
#hud {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  display: none;
}
.game-active #hud {
  display: block;
}
#crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
}
.cross-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
}
.cross-h {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}
.cross-v {
  width: 2px;
  height: 20px;
  top: 0;
  left: 9px;
}
#weapon-label {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
#ammo-display {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  font-variant-numeric: tabular-nums;
}
#health-display {
  position: absolute;
  bottom: 80px;
  left: 30px;
  color: #4c6;
  font-size: 22px;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  font-variant-numeric: tabular-nums;
}
#score-display {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  font-variant-numeric: tabular-nums;
}
#notifications {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.notification {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  animation: notif-in 0.3s ease-out;
  transition: opacity 0.4s ease;
}
.notification.fade-out {
  opacity: 0;
}
@keyframes notif-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

#scoreboard {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.65);
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.scoreboard-visible #scoreboard {
  display: flex;
}
#scoreboard-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 420px;
  max-width: 500px;
}
.sb-team + .sb-team {
  margin-top: 12px;
}
.sb-team-header {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 4px;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.sb-row {
  display: flex;
  gap: 12px;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 13px;
  font-family: 'Segoe UI', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  font-variant-numeric: tabular-nums;
}
.sb-row.sb-self {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}
.sb-name {
  flex: 1;
}
.sb-stat {
  width: 48px;
  text-align: right;
}

/* Hit marker */
#crosshair.hit .cross-line {
  background: #f33;
  animation: hit-flash 0.2s ease-out;
}
@keyframes hit-flash {
  0%   { opacity: 1; }
  50%  { opacity: 1; transform: scale(1.4); }
  100% { opacity: 0.7; transform: scale(1); }
}

/* Damage flash overlay */
#damage-flash {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(255, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
#damage-flash.active {
  opacity: 1;
  transition: none;
}

/* Direction indicator */
#damage-dir {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 46;
}
#damage-dir::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  top: -80px;
  left: -20px;
  background: rgba(255, 50, 50, 0.85);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  opacity: 0;
  transition: opacity 0.15s ease;
}
#damage-dir.show::after {
  opacity: 1;
}

/* Connection status */
#conn-status {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 11px;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
#conn-status.connected { color: #4c6; }
#conn-status.disconnected { color: #e44; }

/* FPS counter */
#fps {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 11px;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* Loading screen */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #111;
  gap: 20px;
}
.loading-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Map Vote Screen */
.vote-panel {
  min-width: 480px;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
}

.vote-header {
  text-align: center;
  margin-bottom: 16px;
}

.vote-title {
  font-size: 28px;
  color: #0cf;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 300;
}

.vote-subtitle {
  font-size: 18px;
  color: #eee;
  margin-top: 4px;
}

.vote-timer {
  font-size: 36px;
  font-weight: 700;
  color: #ff6;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.vote-scores {
  margin: 8px 0 12px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  max-height: 120px;
  overflow-y: auto;
  font-size: 12px;
}

.vote-score-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 4px;
  color: #aaa;
}

.vote-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.vote-map-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.vote-map-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}

.vote-map-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.vote-map-card.selected {
  border-color: #0cf;
  background: rgba(0, 204, 255, 0.08);
}

.vote-map-card.voted {
  border-color: #2d2;
  background: rgba(0, 221, 34, 0.08);
}

.vote-map-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #ddd;
}

.vote-map-mode {
  font-size: 11px;
  color: #8af;
  padding: 2px 6px;
  background: rgba(100, 170, 255, 0.12);
  border-radius: 3px;
  white-space: nowrap;
}

.vote-map-source {
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vote-map-count {
  font-size: 12px;
  color: #aaa;
  min-width: 50px;
  text-align: right;
}

.vote-check {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 14px;
  color: #2d2;
}

.vote-waiting {
  text-align: center;
  font-size: 12px;
  color: #8af;
  padding: 8px;
}

.vote-hint {
  text-align: center;
  font-size: 11px;
  color: #666;
  padding: 4px;
}
