/* A single neutral sheet; the account behind it remains recognisable. */
.profile-account-sheet{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;background:transparent;color:#f5f5f5;overflow:hidden;box-sizing:border-box}
.profile-account-sheet::backdrop{background:#0009;opacity:0;transition:opacity .24s ease}
.profile-account-sheet.is-visible::backdrop{opacity:1}
.profile-account-sheet-panel{position:absolute;left:0;right:0;bottom:0;width:min(100%,620px);max-height:calc(100% - env(safe-area-inset-top) - 40px);margin:0 auto;padding:0 20px calc(20px + env(safe-area-inset-bottom));box-sizing:border-box;overflow:auto;overscroll-behavior:contain;background:#202020;border-radius:28px 28px 0 0;transform:translateY(calc(100% + 16px));transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.profile-account-sheet.is-visible .profile-account-sheet-panel{transform:translateY(var(--profile-sheet-drag,0px))}
.profile-account-sheet-heading{touch-action:none}
.profile-account-sheet-handle{display:flex;justify-content:center;align-items:center;width:100%;height:28px;border:0;background:none;padding:0;cursor:grab}
.profile-account-sheet-handle span{width:34px;height:4px;border-radius:9px;background:#777}
.profile-account-sheet-account{display:flex;align-items:center;gap:12px;padding:12px 4px 22px}
.profile-account-sheet-initial{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#353535;color:#e7ce8f;font:600 22px/1 inherit;flex:none}
.profile-account-sheet-account>div{min-width:0;flex:1}
.profile-account-sheet-account small{font-size:12px;color:#b4b4b4}
.profile-account-sheet-account h2{font-size:22px;line-height:1.25;letter-spacing:-.3px;margin:3px 0 0;color:#f5f5f5;overflow-wrap:anywhere}
.profile-account-sheet-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:none;color:#b4b4b4;font:26px/1 inherit;cursor:pointer}
.profile-account-sheet .profile-account-sheet-actions{position:static!important;inset:auto!important;display:grid!important;visibility:visible!important;opacity:1!important;transform:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;gap:0!important}
.profile-account-sheet-actions .profile-quick-menu-heading,.profile-account-sheet-actions .profile-quick-menu-tip{display:none!important}
.profile-account-sheet .profile-account-sheet-actions>button{display:flex;align-items:center;gap:16px;width:100%;min-height:78px;margin:0;padding:16px 18px;border:0;border-bottom:1px solid #333;border-radius:0;background:#292929;color:#f5f5f5;text-align:left;font:inherit;cursor:pointer;box-sizing:border-box}
.profile-account-sheet .profile-account-sheet-actions>button:first-of-type{border-radius:18px 18px 0 0}
.profile-account-sheet .profile-account-sheet-actions>button:last-of-type{margin-top:14px;border-bottom:0;border-radius:18px;background:#292929;color:#e7b4ae}
.profile-account-sheet .profile-account-sheet-actions>button:nth-last-of-type(2){border-bottom:0;border-radius:0 0 18px 18px}
.profile-account-sheet .profile-quick-menu-icon{display:grid;place-items:center;width:24px;height:28px;flex:none;border:0;border-radius:0;background:none;color:inherit;font-size:22px;font-weight:400}
.profile-account-sheet .profile-quick-menu-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}
.profile-account-sheet-actions button>span:last-child{display:grid;gap:5px;min-width:0}
.profile-account-sheet-actions strong{font-size:15px;line-height:1.3;font-weight:550}
.profile-account-sheet-actions small{font-size:12px;line-height:1.4;color:#b4b4b4}
.profile-account-sheet button:focus-visible{outline:2px solid #cfcfcf;outline-offset:-3px}
body.profile-account-sheet-open{overflow:hidden}
body.profile-account-sheet-open>.app{pointer-events:none}
@media(min-width:700px){.profile-account-sheet-panel{bottom:16px;border-radius:28px;padding-bottom:24px}}
@media(prefers-reduced-motion:reduce){.profile-account-sheet-panel,.profile-account-sheet::backdrop{transition:none}}
.profile-account-sheet .profile-account-sheet-actions::after{display:none!important}
.profile-account-sheet-initial{font-family:inherit;font-size:22px;font-weight:600;line-height:1}
.profile-account-sheet-close{font-family:inherit;font-size:26px;line-height:1}

/* Account presentation has one timeline, including moved legacy actions. */
.profile-account-sheet,.profile-account-sheet::backdrop,.profile-account-sheet .profile-account-sheet-actions,.profile-account-sheet .profile-account-sheet-actions>button{animation:none!important}
.profile-account-sheet{outline:none!important;transform:none!important;scale:1!important}
.profile-account-sheet .profile-account-sheet-actions,.profile-account-sheet .profile-account-sheet-actions>button{transition:none!important;scale:1!important;translate:none!important}

/* A plain action sheet: identity first, then one list of rows. */
.profile-account-sheet .profile-account-sheet-panel { border:0; border-radius:16px 16px 0 0; background:#1c1c1e; }
.profile-account-sheet .profile-account-sheet-handle span { width:36px; background:#636366; }
.profile-account-sheet .profile-account-sheet-account { gap:12px; padding:6px 16px 14px; border-bottom:.5px solid #ffffff1f; }
.profile-account-sheet .profile-account-sheet-initial { position:relative; width:48px; height:48px; overflow:hidden; background:#3a3a3c; color:#fff; font-size:20px; }
.profile-account-sheet .profile-account-sheet-initial img { display:block; width:100%; height:100%; object-fit:cover; }
.profile-account-sheet .profile-account-sheet-account h2 { order:-1; margin:0; color:#fff; font:600 17px/1.2 var(--ds-font); letter-spacing:-.01em; }
.profile-account-sheet .profile-account-sheet-account > div { display:flex; flex-direction:column; gap:2px; }
.profile-account-sheet .profile-account-sheet-account small { color:#98989f; font-size:14px; }
.profile-account-sheet .profile-account-sheet-close { display:none; }
.profile-account-sheet .profile-account-sheet-content { padding:0; }
.profile-account-sheet .profile-account-sheet-actions { gap:0; padding:4px 0 8px; background:transparent; border:0; }
.profile-account-sheet .profile-account-sheet-actions > button, .profile-account-sheet .profile-account-sheet-actions > button:first-of-type, .profile-account-sheet .profile-account-sheet-actions > button:nth-last-of-type(2), .profile-account-sheet .profile-account-sheet-actions > button:last-of-type { min-height:54px; margin:0; padding:8px 16px; gap:14px; border:0; border-radius:0; background:transparent; color:#fff; text-align:left; }
.profile-account-sheet .profile-account-sheet-actions > button:last-of-type { position:relative; margin-top:8px; color:#ff453a; }
.profile-account-sheet .profile-account-sheet-actions > button:last-of-type::before { content:""; position:absolute; left:16px; right:16px; top:-4px; height:.5px; background:#ffffff1f; }
.profile-account-sheet .profile-account-sheet-actions strong { color:inherit; font-size:16px; font-weight:400; }
.profile-account-sheet .profile-account-sheet-actions small { display:none; }
.profile-account-sheet .profile-account-sheet-actions > button:active { background:#ffffff14; }
