.profile-header{overflow:visible;gap:16px}.profile-header>nav{flex:1;justify-content:flex-end}.profile-dropdown{position:relative;margin-left:auto;flex:none;z-index:80;font-family:inherit;color:#29465b}
.profile-toggle{display:flex;align-items:center;gap:0;width:48px;height:48px;min-height:48px;padding:5px;justify-content:center;border:1px solid #c9dbe2;border-radius:99px;background:#fff;color:#24495d;font:inherit;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer;box-shadow:0 3px 12px #24445a0d}
.profile-toggle>svg{display:none}.profile-toggle:hover,.profile-toggle[aria-expanded=true]{background:#edf8f8;border-color:#75aeb7}.profile-toggle-name{display:none;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700}.profile-toggle:focus-visible,.profile-options a:focus-visible,.profile-options button:focus-visible{outline:3px solid #f0bc64;outline-offset:3px}
.profile-menu-avatar{position:relative;display:grid;place-items:center;overflow:hidden;width:36px;height:36px;border-radius:50%;background:#e8f2f3;color:#31596b;font-size:22px;flex:none}.profile-menu-avatar img{width:100%;height:100%;object-fit:cover}.profile-menu-avatar img[class^=avatar-crop-]{position:absolute;width:480%;height:480%;max-width:none;object-fit:fill;left:50%;top:50%}
.profile-menu-avatar .avatar-crop-luffy{transform:translate(-63.2%,-41%)}.profile-menu-avatar .avatar-crop-jungkook{transform:translate(-35.2%,-41%)}.profile-menu-avatar .avatar-crop-motivacion{transform:translate(-48.4%,-65%)}
.profile-options{position:absolute;right:0;top:calc(100% + 10px);width:min(294px,calc(100vw - 24px));padding:8px;background:#fff;border:1px solid #d1e1e8;border-radius:18px;box-shadow:0 18px 50px #163b5530;color:#24495d;z-index:1000;text-align:left;max-height:calc(100dvh - 100px);overflow:auto}.profile-options[hidden]{display:none!important}
.profile-identity{padding:12px 10px 14px;margin-bottom:5px;border-bottom:1px solid #e2ebef;display:grid;gap:5px}.profile-identity strong{font-size:16px;overflow-wrap:anywhere}.profile-identity span{font-size:13px;line-height:1.4;color:#647c8d;overflow-wrap:anywhere}
.profile-options nav{display:grid!important;gap:3px!important;align-items:stretch!important;flex-wrap:nowrap!important}.profile-options nav a,.profile-options nav button{box-sizing:border-box;display:flex;align-items:center;min-height:44px;width:100%;margin:0;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:#294b5e;text-decoration:none;white-space:normal;font:600 14px/1.4 system-ui,sans-serif;text-align:left;cursor:pointer;box-shadow:none}
.profile-options nav a:hover,.profile-options nav button:hover{background:#edf7f7}.profile-options nav .profile-logout{color:#a13f51;border-top:1px solid #e8edf0;border-radius:0 0 10px 10px;margin-top:5px}.profile-feedback{font-size:13px;line-height:1.4;margin:0 10px;max-width:100%;color:#9b4050}.profile-feedback:empty{display:none}.profile-legacy{display:none!important}
@media(max-width:1050px){.profile-header:has(>nav){display:grid;grid-template-columns:1fr auto;align-items:center}.profile-header>.brand{grid-column:1;grid-row:1}.profile-header>.profile-dropdown{grid-column:2;grid-row:1}.profile-header>nav{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;justify-content:center;gap:12px}}
@media(max-width:600px){.profile-toggle-name{display:none}.profile-toggle{gap:0;padding:5px}.profile-options{right:0}.account-header.profile-header{padding:14px 16px;gap:10px}.account-header.profile-header>.button{font-size:13px;padding:9px 11px}.profile-header:has(>nav){gap:12px}}

/* Keep the shared header controls separate from legacy selector menus. */
.music-in-buttons body>header.profile-header{flex-wrap:nowrap;align-items:center;gap:12px}
.music-in-buttons body>header.profile-header>.brand{flex-shrink:0}
.music-in-buttons body>header.profile-header>.profile-dropdown{position:relative;inset:auto;display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;width:max-content;max-width:none;margin:0 0 0 auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
@media(max-width:480px){.music-in-buttons body>header.profile-header{padding:14px 16px}.music-in-buttons body>header.profile-header>.preview-badge{display:none}.music-in-buttons body>header.profile-header>.brand{font-size:22px}.music-in-buttons body>header.profile-header>.brand small{font-size:13px}}
