/* THEDOLD Stage 17 — SINGLE typography vocabulary for currency picker and exchange.
   Match the Stage 16 exchange card: headline 22/620; overline 11/600;
   currency label 15.5/600; currency code 12/450.
   No rules affect the hero, navigation, search results, or exchange card itself.
   Main text/content/API remains untouched. */

#picker .pickerpanel {
  width: min(560px, 100%);
  max-height: min(820px, 90dvh);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(16, 36, 75, .24);
}
#picker .pickerhead {
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
#picker .pickerhead .overline {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.15px;
}
#picker .pickerhead h2 {
  font-size: 22px;
  font-weight: 620;
  line-height: 1.28;
  letter-spacing: -.48px;
  margin: 5px 0 0;
}
#picker #closePicker {
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  font-size: 17px;
  font-weight: 500;
  border-radius: 12px;
}
#picker .searchfield {
  min-height: 50px;
  padding-inline: 14px;
  font-size: 20px;
  border-width: 1px;
  border-color: var(--border);
  border-radius: 12px;
  background: var(--bg);
}
#picker .searchfield:focus-within { border-color: var(--blue); }
#picker .searchfield input {
  min-width: 0;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.4;
  padding-block: 12px;
}
#picker .searchfield input::placeholder { color: var(--muted); opacity: .95; }
#picker .tabs {
  gap: 8px;
  min-height: 42px;
  margin: 13px 0 8px;
  padding: 2px 0 3px;
  align-items: center;
}
#picker .tabs button {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: 0;
}
#picker .tabs button.active {
  font-weight: 600;
  box-shadow: 0 2px 7px rgba(18,65,144,.12);
}
#picker .currencylist { padding: 0 2px; }
#picker .currencyitem {
  gap: 12px;
  min-height: 64px;
  padding: 9px 8px;
  border-radius: 10px;
}
#picker .currencyitem .coin {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}
#picker .picker-item-text b,
html[data-market="global"] #picker .picker-item-text b {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.12px;
}
#picker .picker-item-text small,
html[data-market="global"] #picker .picker-item-text small {
  display: block;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.4;
  margin-top: 2px;
  letter-spacing: 0;
}
#picker .picker-arrow { font-size: 18px; font-weight: 400; }
#picker .pickerhint {
  margin-top: 11px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.55;
}
@media (max-width: 600px) {
  #picker .pickerpanel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 19px 17px;
    border-radius: 18px;
  }
  #picker .pickerhead { margin-bottom: 14px; }
  #picker .pickerhead h2 { font-size: 21px; }
  #picker .tabs { flex-wrap: wrap; overflow: visible; }
  #picker .currencyitem { min-height: 61px; padding-block: 8px; }
  #picker .picker-item-text b,
  html[data-market="global"] #picker .picker-item-text b { font-size: 15px; }
}
@media (max-width: 370px) {
  #picker .pickerpanel { padding: 16px 13px; }
  #picker .tabs { gap: 6px; }
  #picker .tabs button { padding-inline: 10px; }
}
