/* Shared dropdown surfaces for native-select pickers and existing custom menus. */
body{--dropdown-radius:9px;--dropdown-shadow:0 10px 28px #15151d26;--dropdown-padding:6px}
body.account-dark{--dropdown-shadow:0 12px 32px #0007}
body :is(.ui-select-menu,.ml-slice-options,.content-sort-options){background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:var(--dropdown-radius);box-shadow:var(--dropdown-shadow);padding:var(--dropdown-padding)}
body .ui-select-menu{position:fixed;inset:auto;margin:0;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;z-index:10000;font-family:inherit;outline:none}
body :is(.ui-select-option,.ml-slice-options .ml-choice){display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:38px;padding:9px 10px;border:0;border-radius:6px;text-align:left;line-height:1.5;font-size:12px;font-weight:400;color:var(--ink);background:transparent;cursor:pointer}
body :is(.ui-select-option,.ml-slice-options .ml-choice)>span{min-width:0;overflow-wrap:anywhere}
body :is(.ui-select-option:hover,.ui-select-option.is-highlighted,.ml-slice-options .ml-choice:hover){background:var(--nav-hover)}
body :is(.ui-select-option[aria-selected=true],.ml-slice-options .ml-choice[aria-pressed=true]){background:var(--nav-selected);color:var(--ink);font-weight:500}
body .ui-select-option>.icon{width:15px;height:15px;flex-shrink:0;visibility:hidden}
body .ui-select-option[aria-selected=true]>.icon{visibility:visible}
body .ui-select-option:disabled{opacity:.4;cursor:not-allowed;background:transparent}
body .ui-select-group{font-size:10px;font-weight:600;color:var(--muted);padding:8px 10px 4px}
body .ui-select-menu.is-keyboard:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
body select[aria-expanded=true]{border-color:var(--blue)}
@media(max-width:800px){body :is(.ui-select-option,.ml-slice-options .ml-choice){min-height:44px;font-size:14px}}
