.districtBar[hidden] { display: none; }

.districtBar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.districtBarLabel {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(154, 168, 184, .75);
}

.districtOptions {
  display: flex;
  flex: 1;
  gap: 6px;
  min-width: 0;
}

.districtOption {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  align-items: flex-start;
  min-width: 0;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 10px;
  background: rgba(20, 28, 40, .55);
  color: #e8eef5;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.districtOption:hover:not(:disabled) {
  border-color: rgba(212, 175, 55, .5);
  background: rgba(20, 28, 40, .85);
}

.districtOption:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.districtName {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.districtMeta {
  font-size: 10px;
  line-height: 1.2;
  color: rgba(154, 168, 184, .8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
}

.districtOption.is-selected {
  color: #141c28;
  border-color: #a8851f;
  background: linear-gradient(180deg, #e5c65c, #d4af37);
}

.districtOption.is-selected .districtMeta { color: rgba(20, 28, 40, .78); }

.districtBar.is-locked .districtBarLabel { opacity: .5; }

.actionDeck.is-playing .districtBar { display: none; }

@media (max-width: 720px) {
  .districtBar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .districtOption { padding: 6px 8px; }
  .districtName { font-size: 12px; }

  .districtMeta {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 9.5px;
    line-height: 1.25;
  }
}
