.container {
  position: relative;
  width: 100%;
}

.trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.3rem 0.5rem;
  background: var(--bg-inset);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: "Alegreya", Georgia, serif;
  cursor: pointer;
  text-align: left;
}

.trigger:hover {
  border-color: rgba(var(--gold-rgb), 0.35);
}

.arrow {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  margin-left: 0.5rem;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.2rem;
  background-color: var(--bg-modal);
  background-image: var(--texture-surface);
  background-size: 256px 256px;
  background-repeat: repeat;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 4px;
  z-index: 200;
  max-height: 180px;
  overflow-y: auto;
  box-shadow:
    0 4px 16px rgba(var(--shadow-rgb), 0.5),
    inset 0 1px 0 rgba(var(--gold-rgb), 0.06);
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--gold-rgb), 0.15) transparent;
}

.option {
  display: block;
  width: 100%;
  padding: 0.35rem 0.6rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: "Alegreya", Georgia, serif;
  cursor: pointer;
  text-align: left;
}

.option:hover {
  background: rgba(var(--gold-rgb), 0.12);
}

.option.active {
  color: var(--gold);
  font-weight: 600;
}
