.locale-picker{position:relative;display:inline-flex;flex:none;z-index:100}.locale-current{display:flex;align-items:center;gap:7px;background:#071a22;border:1px solid #294b59;border-radius:10px;padding:10px 12px;color:#fff;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer;min-height:37px}.locale-current img,.locale-options img{object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px #ffffff26;flex:none}.locale-current b{font-size:12px;color:#b6ccd4}.locale-options{position:absolute;right:0;top:calc(100% + 8px);width:230px;max-height:370px;overflow-y:auto;border:1px solid #35434b;background:#0c151c;border-radius:14px;padding:6px;box-shadow:0 12px 40px #0007}.locale-options[hidden]{display:none!important}.locale-options button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border:0;background:none;color:#e5eef4;border-radius:8px;cursor:pointer;text-align:left;font:inherit;font-size:12px}.locale-options button:hover,.locale-options button[aria-selected=true]{background:#ffffff14}.locale-options b{width:26px}.locale-options span{flex:1}.locale-progress{position:fixed;right:16px;bottom:16px;max-width:260px;padding:8px 12px;background:#071a22;border:1px solid #294b59;border-radius:10px;color:#c7dbe4;font:11px sans-serif;pointer-events:none;z-index:110}.locale-progress[hidden]{display:none}.currency-source{display:block;position:static;font-size:10px;color:#89949e;white-space:normal;text-decoration:none;padding:6px 0;text-align:right}.currency-select,.header-tools{position:relative}

/* Compact flag controls, isolated from theme button widths. */
.locale-picker .locale-current{width:auto;min-width:82px;height:38px;padding:8px 10px;gap:8px;white-space:nowrap;justify-content:flex-start;line-height:1}
.locale-picker .locale-current span{font-size:12px;letter-spacing:.04em}.locale-picker .locale-current b{margin-left:auto;line-height:1}
.locale-picker .locale-options{left:auto;right:0;max-width:calc(100vw - 32px)}
.locale-picker .locale-options button{width:100%;min-height:42px;padding:10px;text-align:left;justify-content:flex-start}
.locale-progress{left:16px;right:auto;bottom:18px}
@media(max-width:1100px){.topbar>.locale-picker{grid-column:1/3;grid-row:4;justify-self:start}.topbar .locale-tools{grid-column:1/-1;grid-row:4;justify-content:flex-end}.topbar .locale-tools #currency-select{flex:none;width:78px}.topbar .locale-tools .currency-source{display:none}}
