.account-picker-footer{flex-wrap:wrap;gap:8px}
.account-picker .raven-add-account{min-height:44px;flex-basis:100%;justify-content:center;font-weight:700}
.raven-add-dialog{width:min(460px,calc(100vw - 28px));box-sizing:border-box}
.raven-add-dialog form{display:flex;flex-direction:column;gap:16px}
.raven-add-dialog .field{min-width:0}
.raven-add-dialog input{box-sizing:border-box;min-width:0;width:100%;font-size:16px}
.raven-add-dialog .password-control{min-width:0}
.raven-add-dialog .account-picker-footer{justify-content:flex-end}
.raven-add-dialog .account-switch-error:empty{display:none}
.raven-add-dialog .account-picker-head h2{min-width:0;line-height:1.2}
.raven-add-dialog .btn-ghost{background:transparent;border:1px solid #635763;color:#f0d69e;min-height:44px}
.raven-add-dialog .btn-primary{background:#e7ba6b;color:#211820;min-height:44px}

.raven-account-trigger{min-height:44px;padding:0 10px;border:1px solid #756175;border-radius:10px;background:#302633;color:#f0d69e;font:inherit;cursor:pointer}
.raven-legacy-picker,.raven-add-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid #756175;border-radius:18px;background:#302633;color:#f5e9d5}
.raven-legacy-picker::backdrop,.raven-add-dialog::backdrop{background:#160e1dbb;backdrop-filter:blur(5px)}
.raven-legacy-picker .account-picker-head,.raven-add-dialog .account-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.raven-legacy-picker h2,.raven-add-dialog h2{font-size:20px;margin:0 0 12px}
.raven-legacy-picker .account-option{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px;border:1px solid #756175;border-radius:12px;background:#392d3b;color:inherit;text-align:left;cursor:pointer}
.raven-legacy-picker .account-options{display:grid;gap:8px}
.raven-legacy-picker .account-option-copy{display:grid;gap:5px;min-width:0;flex:1;overflow-wrap:anywhere}
.raven-legacy-picker small{color:#d9c8b4}
.raven-legacy-picker .account-photo{display:grid;place-items:center;min-width:36px;height:36px;border-radius:50%;background:#644969}
.raven-legacy-picker .account-picker-footer,.raven-add-dialog .account-picker-footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.raven-legacy-picker .account-picker-footer button{min-height:44px;padding:10px 14px;border:1px solid #897386;border-radius:10px;background:#423247;color:#f5e9d5;font:inherit;cursor:pointer}
.raven-legacy-picker .account-switch-error,.raven-add-dialog .account-switch-error{color:#ffb7b7;font-size:14px}
.raven-add-dialog .account-picker-intro{color:#d9c8b4;line-height:1.5}

.raven-add-account{display:flex;align-items:center;justify-content:center;gap:8px}
.raven-add-account svg{width:20px;height:20px;flex:0 0 20px}

#avatar-me{padding:0;overflow:hidden;cursor:pointer;border:1px solid #aa8d67;border-radius:50%;font:inherit;flex-shrink:0}
#avatar-me img,.account-photo img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.raven-profile-menu{position:fixed;inset:70px 16px auto auto;margin:0;width:370px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 86px);box-sizing:border-box;padding:0;border:1px solid #66566a;border-radius:18px;background:#29232d;color:#f7efdf;box-shadow:0 18px 70px #100c1840;overflow:auto}
.raven-profile-menu::backdrop{background:#100c1840}
.raven-profile-menu[open]{display:flex;flex-direction:column}
.raven-profile-menu .account-options{overflow-y:auto;min-height:0}
.profile-menu-head,.profile-actions{flex-shrink:0}
.profile-menu-head{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 12px;gap:12px}
.profile-menu-head h2{font-size:23px;letter-spacing:-.5px;margin:5px 0 0}
.profile-eyebrow,.profile-group-label{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#c7b395}
.profile-group-label{padding:16px 14px 8px;text-transform:uppercase}
.raven-profile-menu .account-options{padding:0 8px 10px}
.raven-profile-menu .account-option{display:flex;align-items:center;gap:12px;min-height:68px;width:100%;padding:12px;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer;text-align:left;font:inherit}
.raven-profile-menu .account-option:hover,.raven-profile-menu .account-option:focus-visible{background:#423748}
.raven-profile-menu .account-option.is-current{background:#433947}
.account-photo{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:hidden;background:#68526d;color:#f7e6cc;font-size:13px;font-weight:700}
.account-option-copy{display:grid;gap:4px;min-width:0;flex:1;overflow-wrap:anywhere}
.account-option-copy strong{font-size:13px;font-weight:650}
.account-option-copy small{font-size:11px;color:#c9bcc8}
.account-selected{width:16px;flex:0 0 16px;color:#e6c18b}
.account-selected svg{width:16px;height:16px}
.profile-actions{border-top:1px solid #514554;padding:8px}
.profile-actions button{display:flex;gap:12px;align-items:center;background:none;border:0;border-radius:8px;color:inherit;width:100%;min-height:44px;padding:12px 14px;font:inherit;font-size:13px;cursor:pointer;justify-content:flex-start}
.profile-actions button:hover{background:#423748}
.profile-actions svg{width:18px;height:18px;color:#d3b58b}
.raven-profile-menu .account-switch-error{color:#ffc2be;margin:0;padding:0 20px 10px;font-size:13px}
.raven-profile-menu .account-switch-error:empty{display:none}
.profile-upload-row{display:flex;align-items:center;gap:20px;margin:20px 0;min-width:0}
.profile-upload-row>div{min-width:0;flex:1}.profile-upload-row input{max-width:100%;font-size:14px}
.profile-upload-row label{display:block;font-size:13px;font-weight:650;margin-bottom:10px}
.profile-upload-row .desc{margin:10px 0 0}
.profile-review-row .account-option-copy small{color:var(--ink-soft)}
.profile-preview{width:80px;height:80px;flex-basis:80px;font-size:22px}
.profile-status{font-size:13px;line-height:1.5;margin:14px 0 0}
.profile-review-row{display:flex;align-items:center;gap:14px;padding:18px 0;border-top:1px solid #86758855;flex-wrap:wrap}
.profile-review-row img{width:64px;height:64px;object-fit:cover;border-radius:50%}
.profile-review-actions{display:flex;gap:10px}.profile-review-actions button{min-height:44px}
@media(max-width:500px){.raven-profile-menu{right:12px;top:66px;width:calc(100vw - 24px);max-height:calc(100dvh - 80px)}.profile-upload-row{gap:12px}.profile-preview{width:60px;height:60px;flex-basis:60px}.profile-review-actions{width:100%}.profile-review-actions button{flex:1}}
