/* Navy currency pop-up anchored inside the dashboard/dialog. */
div.currency-picker{position:relative;display:inline-flex;flex:none;padding:0;border-radius:8px;background:#0e1024;isolation:isolate;overflow:visible}
.currency-picker.is-open{z-index:90}
.currency-picker .currency-trigger{display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;min-width:72px;min-height:28px;height:28px;margin:0;padding:4px 8px;border:0;border-radius:7px;background:transparent;color:#f0edff;font:inherit;font-size:11px;line-height:1.2;cursor:pointer}
.currency-picker .currency-trigger:disabled{opacity:.55;cursor:wait}.currency-chevron{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);flex:none}.is-open .currency-chevron{transform:translateY(2px) rotate(225deg)}
.currency-picker .currency-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:100;width:154px;padding:5px;border:1px solid #7954a9;border-radius:11px;background:linear-gradient(145deg,#18132e,#0b1025);box-shadow:0 12px 30px #000a,0 0 14px #9c35e51a;text-align:left}
.currency-menu[hidden]{display:none!important}
.currency-picker .currency-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;height:auto;margin:0;padding:9px 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:#ede9ff;font:inherit;font-size:12px;line-height:1.2;text-align:left;cursor:pointer}
.currency-picker .currency-option+.currency-option{margin-top:3px}.currency-picker .currency-option[aria-selected=true]{border-color:#00e4ed55;background:#00e4ed12;color:#65f7fb}.currency-picker .currency-option:hover:not(:disabled),.currency-picker .currency-option:focus-visible{background:#28213e;border-color:#b171e6;outline:0}
.currency-mark{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #706982;border-radius:50%;font-size:10px;line-height:1;flex:none}.currency-option[aria-selected=true] .currency-mark{border-color:#00e4ed;color:#00e4ed}.currency-option small{display:block;margin-top:3px;color:#aaa2bf;font-size:9px}.currency-picker .currency-option:disabled{opacity:.45;cursor:not-allowed}
@media(prefers-reduced-motion:no-preference){.currency-trigger .currency-chevron{transition:transform .12s ease}}

.earn-header>.dashboard-dialog-controls,.owned-bots-header>.dashboard-dialog-controls{display:flex;align-items:center;gap:6px;flex:none;letter-spacing:0}
.dashboard-dialog-controls .currency-picker{padding:0}
dialog.earn-modal .dashboard-dialog-close{display:flex;align-items:center;justify-content:center;flex:none;min-height:30px;height:30px;width:auto;min-width:48px;padding:4px 8px;margin:0;border:1px solid #7954a9;border-radius:7px;background:#101229;color:#e0d9f0;font-size:10px;line-height:1;font-weight:600;cursor:pointer}
.dashboard-dialog-close:hover,.dashboard-dialog-close:focus-visible{border-color:#00e4ed;color:#65f7fb;outline:2px solid #00e4ed33;outline-offset:2px}
dialog.earn-modal .earn-header,dialog.earn-modal .owned-bots-header{position:sticky;top:0;z-index:110;background:#05071b}

/* Header Close replaces the duplicate footer dismissal on these screens. */
dialog.earn-modal:has([data-dashboard-close]) > #close-modal{display:none}
