/* Wild Rift Boost — multi-currency selector styles.
   Theme: muted dark + single gold accent (same vars as style.css:
   --gold, --gold-soft, --gold-dark, --card2, --line, --text, --muted).
   The selector is injected by currency.js into the header nav (next
   to the sound toggle) and cloned into the calculator; both are
   inline in the page flow, so they never cover content or CTAs. */

/* Header + calculator selector wrapper. */
.wrb-currency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.wrb-currency-label {
  font-size: 13px;
  color: var(--muted);
}

/* The <select> itself: dark field, gold border, 44px touch target. */
.wrb-currency-select {
  min-height: 44px;
  min-width: 108px;
  padding: 0 10px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--card2);
  border: 1px solid var(--gold);
  border-radius: 8px;
  cursor: pointer;
}
.wrb-currency-select:hover {
  border-color: var(--gold-soft);
}
.wrb-currency-select:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}
/* Options inherit the dark field on most browsers. */
.wrb-currency-select option {
  background: var(--card2);
  color: var(--text);
}

/* Calculator copy: sits under the price total, selector + note. */
.wrb-currency-calc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
}
.wrb-currency-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Converted (non-GBP) prices: dotted gold underline + the exact GBP
   amount is in the title attribute ("£32 GBP — PayPal charges GBP"). */
.wrb-converted {
  border-bottom: 1px dotted var(--gold);
}

/* Small screens: the header nav already wraps; drop the word
   "Currency" there (the select still has its aria-label) so the
   selector fits beside the sound toggle. */
@media (max-width: 640px) {
  .wrb-currency-label {
    display: none;
  }
  .wrb-currency-calc .wrb-currency-label {
    display: inline;
  }
  .wrb-currency-select {
    min-width: 92px;
    padding: 0 8px;
  }
}
