.topbar{position:relative;z-index:30}.currency-picker{position:relative;font-size:13px}.currency-picker summary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:40px;box-sizing:border-box;line-height:1;transition:background .18s ease,border-color .18s ease;list-style:none;cursor:pointer;border:1px solid var(--border,rgba(150,150,170,.22));border-radius:12px;padding:7px 10px;white-space:nowrap;background:var(--surface,rgba(140,140,160,.07))}.currency-picker summary::-webkit-details-marker{display:none}.currency-current{display:inline-flex;align-items:center;gap:5px;line-height:1}.currency-picker summary b{font-size:12px;font-weight:500;line-height:1;opacity:.7}.currency-picker summary:hover{background:rgba(140,140,160,.12)}.currency-flag{width:28px;height:28px;object-fit:cover;border-radius:50%;flex-shrink:0;box-shadow:0 1px 4px #0002}.currency-chevron{display:block;flex:0 0 14px;width:14px;height:14px;align-self:center;opacity:.65;transition:transform .18s ease}.currency-picker[open] .currency-chevron{transform:rotate(180deg)}.currency-menu{position:absolute;right:0;top:calc(100% + 12px);width:420px;max-width:calc(100vw - 24px);border:1px solid #ffffff24;border-radius:20px;padding:18px;background:#20212c;box-shadow:0 18px 70px #0005;color:#f4f4f7}.currency-title{display:block;font-size:22px;margin:0 0 14px}.currency-search{width:100%;min-width:0;background:#ffffff09;color:inherit;border:1px solid #ffffff25;border-radius:10px;padding:10px 12px;font:inherit;margin-bottom:10px}.currency-list{max-height:min(420px,52dvh);overflow-y:auto;overscroll-behavior:contain}.currency-option{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:12px;padding:11px 9px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.currency-option[hidden]{display:none}.currency-option:hover,.currency-option:focus-visible{background:#ffffff0d}.currency-option.selected{background:#ffffff12}.currency-code{color:#999aa9;min-width:33px}.currency-option-text{flex:1;min-width:0;font-size:14px;line-height:1.4}.currency-option-text small{display:block;font-size:12px;color:#999aa9}.currency-symbol{font-size:15px;opacity:.75}.currency-check{width:15px;font-size:18px}.currency-auto{width:28px;text-align:center;font-size:25px;color:#a9b8ff}.currency-status,.currency-empty{font-size:12px;line-height:1.5;margin:12px 2px 5px;color:#aaaabb}.currency-provider{display:block;font-size:10px;color:#aaaabb;margin:6px 2px 0}.profile-currency-help{max-width:440px}.currency-picker summary:focus-visible,.currency-option:focus-visible{outline:2px solid #8b9cff;outline-offset:2px}
:root[data-theme="light"] .currency-menu{background:#fff;color:#28282b;border-color:#e9e9f0;box-shadow:0 15px 60px #24243e26}:root[data-theme="light"] .currency-option.selected{background:#f1f1f5}:root[data-theme="light"] .currency-option:hover{background:#f6f6f9}:root[data-theme="light"] .currency-search{background:#f6f6f9;border-color:#e9e9f0}
@media(max-width:600px){.topbar{gap:6px;flex-wrap:wrap}.topbar-actions{margin-left:auto}.currency-picker summary{padding:5px 7px;gap:5px;font-size:11px}.currency-picker summary .currency-flag{width:20px;height:20px}.currency-menu{position:fixed;top:68px;right:12px;width:calc(100vw - 24px);padding:16px}.currency-list{max-height:55dvh}.currency-picker summary b{display:none}.currency-option{gap:9px}.currency-option-text{font-size:14px}}

.currency-menu{display:flex;flex-direction:column;max-height:calc(100dvh - 100px)}.currency-list{min-height:0;flex-shrink:1}.currency-title,.currency-search,.currency-status,.currency-provider{flex-shrink:0}
