.dhmc-switcher { position: relative; display: inline-block; font-size: 14px; line-height: 1.4; }
.dhmc-toggle {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 10px; cursor: pointer;
	background: #fff; color: #222;
	border: 1px solid rgba(0,0,0,.15); border-radius: 6px;
	font: inherit;
}
.dhmc-toggle:hover { border-color: rgba(0,0,0,.35); }
.dhmc-caret { font-size: 10px; opacity: .7; }
.dhmc-menu {
	position: absolute; z-index: 9999; top: calc(100% + 4px); left: 0;
	margin: 0; padding: 4px; list-style: none; min-width: 100%;
	background: #fff; border: 1px solid rgba(0,0,0,.15); border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0,0,0,.12);
	max-height: 180px; overflow-y: auto; /* compact, scrollable; JS refines to fit the viewport */
	display: none;
}
/* Open on click (JS toggles .is-open) or keyboard focus (no-JS fallback).
   Deliberately NOT on :hover — hover-open was unreliable. */
.dhmc-switcher.is-open .dhmc-menu,
.dhmc-switcher:focus-within .dhmc-menu { display: block; }
/* JS adds .dhmc-up to open the menu above the button when there isn't room below (e.g. in the footer). */
.dhmc-switcher.dhmc-up .dhmc-menu { top: auto; bottom: calc(100% + 4px); }
.dhmc-menu li { margin: 0; }
.dhmc-option {
	display: block; padding: 6px 10px; white-space: nowrap;
	color: #222; text-decoration: none; border-radius: 4px;
}
.dhmc-option:hover { background: rgba(0,0,0,.06); }
.dhmc-option.is-active { font-weight: 600; }
.dhmc-usd-note { margin-top: 8px; font-size: 12px; opacity: .75; }
