/* Minimal theme-agnostic styling for market switcher */
.mm-switcher{display:inline-flex;align-items:center;gap:8px;max-width:100%}
.mm-switcher .mm-dropdown{padding:7px 12px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#111827;min-width:140px;max-width:100%;font-size:13px;line-height:1.3;height:auto;min-height:0;box-sizing:border-box}
.mm-switcher.mm-style-pills,.mm-switcher.mm-style-inline{gap:6px;flex-wrap:wrap}
.mm-switcher .mm-pill{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;gap:6px;border:1px solid #d1d5db;background:#fff;color:#111827;border-radius:999px;padding:6px 12px;margin:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1.25;min-height:0;min-width:0;height:auto;text-transform:none;letter-spacing:normal;box-shadow:none;transition:border-color .15s ease,background-color .15s ease}
.mm-switcher .mm-pill:hover{background:#f8fafc;color:#111827;border-color:#9ca3af}
.mm-switcher .mm-pill.is-active{border-color:#111827;background:#f8fafc;color:#111827;font-weight:600}
.mm-switcher .mm-pill:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.mm-switcher .is-switching{opacity:.65;pointer-events:none}

.mm-flag{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:22px;height:16px;aspect-ratio:22 / 16;overflow:hidden;border-radius:4px;border:1px solid #e5e7eb;background:#fff;box-sizing:border-box}
.mm-flag.mm-flag-round{width:18px;height:18px;aspect-ratio:1 / 1;border-radius:999px}
.mm-flag img{width:100%;height:100%;display:block;object-fit:cover}

.mm-switcher .mm-cdropdown{position:relative;display:inline-flex;align-items:center;max-width:100%}
.mm-switcher .mm-cdropdown .mm-cdropdown-btn{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;gap:8px;padding:7px 12px;margin:0;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#111827;cursor:pointer;min-width:148px;max-width:100%;min-height:0;height:auto;justify-content:space-between;font-size:13px;font-weight:500;line-height:1.3;box-sizing:border-box;text-align:inherit;font-family:inherit;text-transform:none;letter-spacing:normal;box-shadow:none}
.mm-switcher .mm-cdropdown .mm-cdropdown-btn:hover{background:#f9fafb;color:#111827;border-color:#9ca3af}
.mm-switcher .mm-cdropdown .mm-cdropdown-btn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.mm-switcher .mm-cdropdown-caret{font-size:11px;opacity:.7;flex-shrink:0;transition:transform .15s ease}
.mm-switcher .mm-cdropdown.is-open .mm-cdropdown-caret{transform:rotate(180deg)}
.mm-switcher .mm-cdropdown .mm-cdropdown-menu{position:absolute;top:calc(100% + 4px);inset-inline-start:0;inset-inline-end:auto;min-width:100%;width:max-content;max-width:min(280px,calc(100vw - 24px));background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.1);padding:5px;display:none;z-index:999999;list-style:none;margin:0;box-sizing:border-box}
.mm-pro-topbar-right .mm-switcher .mm-cdropdown .mm-cdropdown-menu,
.mm-switcher .mm-cdropdown.is-align-end .mm-cdropdown-menu{inset-inline-start:auto;inset-inline-end:0}
.mm-switcher .mm-cdropdown.is-align-start .mm-cdropdown-menu{inset-inline-start:0;inset-inline-end:auto}
.mm-switcher .mm-cdropdown.is-open .mm-cdropdown-menu{display:block !important}
.mm-switcher .mm-cdropdown .mm-cdropdown-menu .mm-cdropdown-item{appearance:none;-webkit-appearance:none;display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:0;height:auto;padding:7px 10px;margin:0;border:0;border-radius:8px;background:transparent;color:#111827;font-family:inherit;font-size:13px;font-weight:500;line-height:1.35;text-align:inherit;text-transform:none;letter-spacing:normal;cursor:pointer;box-sizing:border-box;box-shadow:none;white-space:nowrap}
.mm-switcher .mm-cdropdown .mm-cdropdown-menu .mm-cdropdown-item:hover,.mm-switcher .mm-cdropdown .mm-cdropdown-menu .mm-cdropdown-item:focus-visible{background:#f3f4f6;color:#111827;outline:none}
.mm-switcher .mm-cdropdown .mm-cdropdown-menu .mm-cdropdown-item.is-active{background:#eef2ff;color:#111827;font-weight:600}
