.site-account{position:relative;display:inline-flex;align-items:center;margin-left:12px;z-index:20}.site-account-trigger{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid #2f5268;border-radius:50%;background:#102637;color:#b9e8f4;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}.site-account-trigger:hover,.site-account-trigger[aria-expanded=true]{border-color:#45c9ed;background:#16364b;transform:translateY(-1px)}.site-account-trigger img{width:100%;height:100%;border-radius:50%;object-fit:cover}.site-account-trigger svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.site-account-menu{position:absolute;top:calc(100% + 12px);right:0;width:min(340px,calc(100vw - 28px));padding:18px;border:1px solid #31566c;border-radius:14px;background:#0d1d2b;box-shadow:0 20px 60px #0009;color:#eff8fc;z-index:100}.site-account-menu[hidden]{display:none}.site-account-head{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #254052}.site-account-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#18364a}.site-account-head strong,.site-account-head small{display:block}.site-account-head small{margin-top:3px;color:#90aaba;font-size:12px}.site-account-menu p{margin:14px 0;color:#a8bdcb;font-size:13px;line-height:1.55}.site-account-login{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:8px;background:#5865f2;color:#fff;font:700 13px 'DM Sans',sans-serif;cursor:pointer}.site-account-login img{width:19px;height:19px;filter:brightness(0) invert(1)}.site-account-form label{display:block;margin:15px 0 7px;color:#c4d6e0;font-size:12px;font-weight:700}.site-account-form input{width:100%;height:42px;padding:0 11px;border:1px solid #385366;border-radius:8px;background:#081725;color:#fff;font:14px 'DM Sans',sans-serif}.site-account-form button,.site-account-logout{min-height:38px;margin-top:10px;padding:0 12px;border:1px solid #3b6278;border-radius:8px;background:#122d3e;color:#dbf4fc;font:700 12px 'DM Sans',sans-serif;cursor:pointer}.site-account-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.site-account-logout{background:transparent;color:#a9bdcb}.site-account-status{min-height:18px;margin:8px 0 0!important;color:#79ddba!important;font-size:12px!important}.site-account-status.error{color:#ffa3a3!important}.site-account-coming{padding-top:12px!important;border-top:1px solid #254052;color:#819aaa!important;font-size:12px!important}.site-account-uhc{display:inline-flex;margin-top:2px;color:#7bdcf4;font-size:12px;font-weight:700}.site-account-uhc:hover{text-decoration:underline}@media(max-width:760px){.site-account{margin-left:7px}.site-account-trigger{width:38px;height:38px}.header-actions .site-account{flex-shrink:0}.header-actions{gap:8px}.site-account-menu{right:-2px}}
.site-account-bell{position:relative;width:38px;height:38px;display:grid;place-items:center;margin-right:8px;border:1px solid #2f5268;border-radius:10px;background:#102637;color:#b9e8f4;cursor:pointer}.site-account-bell[hidden],.site-account-count[hidden],.site-account-notifications[hidden]{display:none}.site-account-bell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.site-account-count{position:absolute;top:-6px;right:-5px;min-width:18px;height:18px;padding:1px 4px;border-radius:99px;background:#3ed4e4;color:#071421;font-size:11px;font-weight:800}.site-account-notifications{position:absolute;top:calc(100% + 12px);right:46px;width:min(350px,calc(100vw - 28px));max-height:70vh;overflow:auto;padding:17px;border:1px solid #31566c;border-radius:14px;background:#0d1d2b;box-shadow:0 20px 60px #0009;color:#eff8fc;z-index:101}.site-account-menu{max-height:75vh;overflow:auto}.site-account-code{display:grid;gap:3px;margin:12px 0;padding:12px;border:1px solid #2e5a6d;border-radius:10px;background:#102c3c}.site-account-code span,.site-account-code small{font-size:11px;color:#a6c4d2}.site-account-code strong{font-size:22px;letter-spacing:.14em;color:#6ce3e6}.site-account-section{margin-top:14px;padding-top:12px;border-top:1px solid #254052}.site-account-section>strong{display:block;margin-bottom:10px;font-size:13px}.site-account-item{margin:8px 0;padding:10px;border:1px solid #2c5062;border-radius:9px;background:#102737}.site-account-item.is-unread{border-color:#39cbd8}.site-account-item strong,.site-account-item small{display:block}.site-account-item small{margin:4px 0;color:#9eb9c5;font-size:11px}.site-account-item p{margin:0 0 4px}.site-account-item-actions{display:flex;gap:6px;flex-wrap:wrap}.site-account-item button{margin:6px 6px 0 0;padding:6px 9px;border:1px solid #44879b;border-radius:7px;background:#154052;color:#e5faff;font:700 12px 'DM Sans',sans-serif;cursor:pointer}.site-account-item button:hover,.site-account-bell:hover{border-color:#58d4e5}
.site-account-bell:focus-visible,.site-account-trigger:focus-visible,.site-account-item button:focus-visible{outline:2px solid #6be4e6;outline-offset:3px}@media(max-width:760px){.site-account-bell{width:34px;height:34px;margin-right:5px}.site-account-notifications{right:0}}
/* A generous hit area keeps the profile usable beside the header links. */
.header .header-actions{position:relative;z-index:60;gap:18px}
.header .site-account{z-index:61;margin-left:2px;gap:9px;min-height:54px}
.header .site-account-trigger{width:52px;height:52px;min-width:52px;min-height:52px;position:relative;z-index:2;touch-action:manipulation}
.header .site-account-trigger img,.header .site-account-trigger svg,.header .site-account-bell svg{pointer-events:none}
.header .site-account-bell{width:46px;height:46px;margin:0;border:0;border-radius:50%;background:transparent;transition:background .2s,transform .2s}
.header .site-account-bell:hover,.header .site-account-bell[aria-expanded=true]{background:#24465b;transform:translateY(-2px)}
.site-account-bell[aria-expanded=true] svg{animation:bell-ring .35s ease}
.site-account-menu:not([hidden]),.site-account-notifications:not([hidden]){animation:account-pop .2s ease-out both}
@keyframes bell-ring{30%{transform:rotate(-14deg)}70%{transform:rotate(12deg)}100%{transform:rotate(0)}}
@keyframes account-pop{from{opacity:0;transform:translateY(-8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){.header .site-account{min-height:48px;gap:4px}.header .site-account-trigger{width:48px;height:48px;min-width:48px;min-height:48px}.header .site-account-bell{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){.site-account-menu,.site-account-notifications,.site-account-bell svg{animation:none!important;transition:none!important}}
