.profile-control{position:relative;flex:none;line-height:1.4}
.profile-control [hidden]{display:none!important}
.profile-signin{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 13px;background:#fff;border:1px solid var(--line);border-radius:24px;font-size:11px;font-weight:550;white-space:nowrap;transition:border-color .2s,background .2s}
.profile-signin:hover{border-color:var(--coral);background:var(--peach)}
.profile-signin>svg{width:19px;height:19px}
.profile-trigger{display:flex;align-items:center;gap:7px;min-height:44px;padding:3px;border:0;background:transparent;border-radius:24px}
.profile-trigger>svg{width:13px;height:13px;color:var(--muted);transition:transform .2s}
.profile-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}
.profile-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex:none;overflow:hidden;background:#ffe8de;color:var(--coral-dark);font-size:12px;font-weight:650;letter-spacing:.01em;outline:1px solid #efcfbf;outline-offset:3px;transition:outline-color .2s}
.profile-trigger:hover .profile-avatar,.profile-trigger[aria-expanded=true] .profile-avatar{outline-color:var(--coral)}
.profile-avatar>img,.account-avatar>img{width:100%;height:100%;object-fit:cover;grid-area:1/1;display:block}
.profile-initials{grid-area:1/1}
.profile-panel{position:absolute;z-index:60;right:0;top:calc(100% + 13px);width:290px;max-width:calc(100vw - 32px);padding:10px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 18px 55px rgb(36 37 36 / 13%);animation:profile-arrive .16s var(--ease)}
.profile-summary{display:flex;gap:14px;align-items:center;padding:12px 10px 18px;border-bottom:1px solid #eeeee8;margin-bottom:7px}
.profile-summary>div{min-width:0}
.profile-summary strong{display:block;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px}
.profile-summary small{display:block;font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5}
.profile-menu{display:grid;gap:2px}
.profile-menu>a,.profile-menu>button{width:100%;display:flex;align-items:center;gap:12px;padding:11px 12px;background:transparent;border:0;border-radius:7px;font-size:12px;font-weight:500;line-height:1.5;text-align:left;transition:background .15s,color .15s}
.profile-menu>a:hover,.profile-menu>button:hover{background:#faf3ee;color:var(--coral-dark)}
.profile-menu svg{width:18px;height:18px;flex:none;color:var(--muted)}
.profile-menu>a:hover svg,.profile-menu>button:hover svg{color:inherit}
.profile-menu>a:focus-visible,.profile-menu>button:focus-visible{outline-offset:-2px}
.profile-menu>[data-profile-logout]{margin-top:6px;border-top:1px solid #eeeee8;border-radius:0 0 7px 7px;padding-top:15px;color:var(--coral-dark)}
.profile-feedback{font-size:11px;line-height:1.7;color:var(--coral-dark);padding:10px 12px;overflow-wrap:anywhere}
.account-avatar{overflow:hidden}
.account-avatar [hidden]{display:none!important}
.account-header,.payment-header{position:relative;z-index:40}
.account-nav,.payment-account-nav{gap:20px}
@keyframes profile-arrive{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1080px){.site-header{gap:16px}.header-actions{gap:12px}.desktop-nav{gap:20px}}
@media(max-width:600px){.header-actions>.button-small{display:none}.header-actions{gap:12px}.profile-signin{width:42px;height:42px;padding:0}.profile-signin>span{display:none}.profile-trigger{width:44px;justify-content:center}.profile-trigger>svg{display:none}.account-nav,.payment-account-nav{gap:14px}.profile-panel{top:calc(100% + 11px)}.profile-summary strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.profile-panel{animation:none}.profile-trigger>svg{transition:none}}

.profile-panel{max-height:calc(100svh - 130px);overflow-y:auto;overscroll-behavior:contain}
