#profileButton,#agentProfileButton{position:relative}
.notification-reader-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:22px;border:1px solid #7d98b24d;border-radius:22px;background:linear-gradient(145deg,#1d2936,#111923);color:#e6edf5;box-shadow:0 28px 90px #0009,inset 0 1px #e2ebf00d;font:14px/1.65 system-ui;animation:notificationPaperOpen .4s cubic-bezier(.2,.7,.25,1);transform-origin:50% 0}
.notification-reader-dialog::backdrop{background:#050b16b8;backdrop-filter:blur(5px)}
.notification-reader-dialog>header{display:flex;align-items:center;gap:12px;color:#a9bbcd}.notification-reader-seal{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid #8ba9c34d;border-radius:50%;background:#263645;font-size:23px;box-shadow:0 4px 14px #98704122}.notification-reader-position{flex:1;font-size:12px;letter-spacing:.05em}
.notification-reader-dialog button{box-sizing:border-box;min-height:44px;padding:10px 13px;border:1px solid #7e9cb34d;border-radius:11px;background:#30445770;color:#deebf8;font:inherit;font-size:12px;cursor:pointer}.notification-reader-dialog button:disabled{opacity:.4;cursor:default}.notification-reader-dialog button:focus-visible{outline:2px solid #a7c8ee;outline-offset:3px}.notification-reader-dialog [data-letter-close]{width:44px;padding:0;font-size:25px;background:transparent;border-color:transparent}
.notification-reader-paper{padding:22px 4px 26px}.notification-reader-from{margin:0 0 10px;color:#b7cadd;font-size:13px;overflow-wrap:anywhere}.notification-reader-paper h2{margin:0 0 8px;font-size:25px;line-height:1.3;overflow-wrap:anywhere}.notification-reader-paper time{color:#9eafc2;font-size:11px}.notification-reader-message{margin-top:22px;padding-top:18px;border-top:1px solid #a2bcd12e;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.85}.notification-reader-dialog>footer{display:flex;flex-wrap:wrap;gap:10px;padding-top:16px;border-top:1px solid #a2bcd138}.notification-reader-dialog>footer>button{flex:1 1 150px}.notification-reader-dialog [data-letter-read]{background:#3a526d;color:#eef6ff}.notification-reader-dialog [hidden]{display:none!important}
@keyframes notificationPaperOpen{from{opacity:0;transform:perspective(900px) rotateX(-18deg) translateY(18px) scale(.94)}to{opacity:1;transform:none}}
@media(max-width:420px){.notification-reader-dialog{padding:18px 14px}.notification-reader-paper h2{font-size:22px}.notification-reader-dialog>footer{gap:8px}.notification-reader-dialog>footer>button{flex-basis:130px}}
@media(prefers-reduced-motion:reduce){.notification-reader-dialog{animation:none}}
.profile-notification-badge{position:absolute;right:-7px;bottom:-8px;z-index:2;display:flex;align-items:center;gap:2px;min-width:25px;height:21px;padding:0 5px;border:1px solid #27201b;border-radius:11px;background:#efbd72;color:#241810;box-shadow:0 3px 10px #0008;font:800 10px/1 Inter,system-ui,sans-serif;white-space:nowrap}
.profile-notification-badge[hidden]{display:none}
.profile-notification-badge svg{width:13px;height:13px;flex:none}
.profile-notifications{grid-column:1/-1;min-width:0;padding:14px 0 2px;border-top:1px solid rgba(255,255,255,.12);color:var(--text,#f5f5f5)}
.profile-notifications__head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-height:40px;container-type:inline-size}
.profile-notifications__icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border:1px solid rgba(239,189,114,.38);border-radius:8px;background:rgba(239,189,114,.1);color:#efbd72}
.profile-notifications__icon svg{width:18px;height:18px}
.profile-notifications__head>div{flex:1 1 130px;min-width:120px;overflow-wrap:anywhere}
.profile-notifications h4{margin:0;font:700 14px/1.3 Manrope,Inter,system-ui,sans-serif}
.profile-notifications__count{display:block;margin-top:2px;color:var(--muted,#aeb4bd);font-size:11px}
.profile-notifications__head button,.profile-notification__action{flex:0 1 auto;min-width:0;max-width:100%;min-height:44px;padding:8px 11px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(255,255,255,.06);color:inherit;font:600 11px/1.4 Inter,system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.profile-notifications__head button[hidden]{display:none}
.profile-notifications__head [data-notification-sound][aria-pressed="true"]{border-color:rgba(239,189,114,.4);color:#efbd72;background:rgba(239,189,114,.08)}
.profile-notifications__head button:hover,.profile-notification__action:hover{background:rgba(239,189,114,.14);border-color:rgba(239,189,114,.55)}
.profile-notifications :is(button):focus-visible{outline:2px solid #efbd72;outline-offset:2px}
.profile-notifications__list{max-height:230px;margin-top:9px;overflow-y:auto;overscroll-behavior:contain}
.profile-notification{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;min-width:0;padding:12px 2px;border-top:1px solid rgba(255,255,255,.08)}
.profile-notification.is-unread{border-left:3px solid #efbd72;padding-left:9px;background:rgba(239,189,114,.045)}
.profile-notification__copy{display:grid;gap:4px;flex:1 1 180px;min-width:0;overflow-wrap:anywhere}
.profile-notification__copy strong{font-size:12px;line-height:1.35}
.profile-notification__copy span{color:var(--muted,#bcc3ca);font-size:11px;line-height:1.4}
.profile-notification__copy time{color:#89919c;font-size:10px}
.profile-notification__actions{display:flex;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:100%}
.profile-notification__action.profile-notification__accept{--blade-color:#80ffa5;--blade-glow:rgba(55,255,105,.78);border-color:rgba(87,230,129,.85);background:rgba(22,94,51,.28);color:#d5ffdf;text-shadow:0 0 8px rgba(111,255,150,.68);box-shadow:inset 0 0 10px rgba(67,223,110,.22),0 0 12px rgba(52,216,96,.38),0 0 25px rgba(52,216,96,.14)}
.profile-notification__action.profile-notification__accept:hover{border-color:#83ffad;background:rgba(29,126,65,.36);box-shadow:inset 0 0 12px rgba(96,255,142,.27),0 0 18px rgba(52,230,98,.48)}
.profile-notification__action.profile-notification__remove{--blade-color:#ff5b72;--blade-glow:rgba(255,38,69,.85);border-color:rgba(255,76,101,.9);background:rgba(119,19,38,.29);color:#ffd0d5;text-shadow:0 0 8px rgba(255,100,118,.7);box-shadow:inset 0 0 10px rgba(255,54,85,.22),0 0 12px rgba(255,43,72,.42),0 0 25px rgba(255,43,72,.17)}
.profile-notification__action.profile-notification__remove:hover{border-color:#ff657a;background:rgba(157,25,48,.4);box-shadow:inset 0 0 12px rgba(255,65,95,.3),0 0 18px rgba(255,37,68,.52)}
.profile-notification__action:is(.profile-notification__accept,.profile-notification__remove){position:relative;overflow:hidden;animation:notification-blade-energy 3.4s ease-in-out infinite}
.profile-notification__action:is(.profile-notification__accept,.profile-notification__remove)::after{content:"";position:absolute;right:8px;bottom:2px;left:8px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,var(--blade-color) 18%,#fff 50%,var(--blade-color) 82%,transparent);box-shadow:0 0 5px var(--blade-glow),0 0 12px var(--blade-glow);pointer-events:none;animation:notification-blade-glow 3.4s ease-in-out infinite}
.profile-notification__action.profile-notification__remove,.profile-notification__action.profile-notification__remove::after{animation-delay:-1.7s}
@keyframes notification-blade-glow{0%,100%{opacity:.7;filter:brightness(1)}30%{opacity:.9;filter:brightness(1.15)}55%{opacity:.76;filter:brightness(1)}75%{opacity:1;filter:brightness(1.4)}}
@keyframes notification-blade-energy{0%,100%{box-shadow:inset 0 0 6px var(--blade-glow),0 0 6px var(--blade-glow)}30%{box-shadow:inset 0 0 9px var(--blade-glow),0 0 12px var(--blade-glow)}55%{box-shadow:inset 0 0 7px var(--blade-glow),0 0 8px var(--blade-glow)}75%{box-shadow:inset 0 0 11px var(--blade-glow),0 0 17px var(--blade-glow)}}
.profile-notifications__empty{margin:10px 0 3px;color:var(--muted,#aeb4bd);font-size:12px}
@media(prefers-reduced-motion:no-preference){.profile-notification__action.profile-notification__accept,.profile-notification__action.profile-notification__remove{transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}}
@media(prefers-reduced-motion:reduce){.profile-notification__action:is(.profile-notification__accept,.profile-notification__remove),.profile-notification__action:is(.profile-notification__accept,.profile-notification__remove)::after{animation:none}}
@media(max-width:600px){.profile-notifications__head{gap:8px}.profile-notifications__head>div{flex:1 1 calc(100% - 50px)}.profile-notifications__head button{flex:1 1 90px}.profile-notifications__head [data-notifications-clear-all]{flex-basis:100%}.profile-notification__copy{flex-basis:100%}.profile-notification__actions{max-width:none;width:100%;justify-content:flex-start}}
.life-local-preview :is(.profile-signout,.agent-profile-signout,.life-logout){display:none!important}

.profile-dream{grid-column:1/-1;display:flex;align-items:center;gap:16px;padding:16px;border:1px solid rgba(239,189,114,.3);border-radius:12px;background:rgba(239,189,114,.07);min-width:0;color:var(--text,#f5f5f5)}
.profile-dream>div{flex:1;min-width:0}
.profile-dream h4{margin:0;font-size:16px}
.profile-dream p{margin:6px 0 0;font-size:12px;line-height:1.5;color:var(--muted,#bcc3ca);overflow-wrap:anywhere}
.profile-dream button{min-height:44px;font-size:12px}
@media(max-width:430px){.profile-dream{align-items:stretch;flex-direction:column}.profile-notifications__head{flex-wrap:wrap}}

.notification-letter{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(26px,env(safe-area-inset-bottom));z-index:10050;width:min(360px,calc(100vw - 32px));border:1px solid #bd9557;border-radius:12px;background:linear-gradient(135deg,#30271c,#13151c 75%);color:#f8e9ce;box-shadow:0 18px 55px #0009,0 0 24px #e7b96325,inset 0 0 0 3px #e7b96309;animation:notification-letter-arrive 1.1s cubic-bezier(.16,1,.3,1) both;font-family:Inter,system-ui,sans-serif}
.notification-letter__open{display:flex;align-items:center;gap:18px;width:100%;min-height:116px;padding:20px 32px 20px 18px;border:0;border-radius:inherit;background:none;color:inherit;text-align:left;cursor:pointer}
.notification-letter__envelope{position:relative;flex:none;width:66px;height:46px;border:1px solid #e6c480;border-radius:4px;background:linear-gradient(145deg,#efdaaa,#b88b4b);box-shadow:0 0 22px #e8bf6455;perspective:180px}
.notification-letter__envelope::after{content:"";position:absolute;inset:0;background:linear-gradient(33deg,transparent 49%,#7f9ab8 50%,transparent 52%),linear-gradient(-33deg,transparent 49%,#7f9ab8 50%,transparent 52%);border-radius:inherit}
.notification-letter__flap{position:absolute;inset:-1px -1px auto;height:29px;background:#344c66;clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top;z-index:2;animation:notification-letter-unfold .65s .55s ease both}
.notification-letter__seal{position:absolute;left:24px;top:18px;z-index:3;display:grid;place-items:center;width:20px;height:20px;border:1px solid #ffbf91;border-radius:50%;background:#9b3430;color:#ffe3aa;font-size:14px;box-shadow:0 2px 5px #0006}
.notification-letter__copy{display:grid;gap:5px;min-width:0;animation:notification-letter-copy .5s .5s both}
.notification-letter__copy small{font-size:10px;color:#c5a56b;letter-spacing:.06em}
.notification-letter__copy strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.notification-letter__copy>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;color:#d7cebf;overflow-wrap:anywhere}
.notification-letter__close{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:6px;background:none;color:#c5a56b;font-size:22px;cursor:pointer}
.notification-letter button:focus-visible{outline:2px solid #efbd72;outline-offset:3px}
.notification-letter__close:hover{background:#efbd721a;color:#fff0d2}
@keyframes notification-letter-arrive{0%{opacity:0;transform:translate(120px,-100px) rotate(-18deg) scale(.55)}55%{opacity:1;transform:translate(-8px,4px) rotate(2deg) scale(1.02)}100%{opacity:1;transform:none}}
@keyframes notification-letter-unfold{to{transform:rotateX(165deg)}}
@keyframes notification-letter-copy{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:600px){.notification-letter{right:16px;bottom:calc(88px + env(safe-area-inset-bottom))}.notification-letter__open{gap:14px}}
@media(prefers-reduced-motion:reduce){.notification-letter,.notification-letter__flap,.notification-letter__copy{animation:none}}

.athena-notification-settings{margin-block:14px;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;grid-column:1/-1;color:inherit}.athena-notification-settings summary{cursor:pointer;font-weight:700;min-height:32px}.athena-notification-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding-block:8px;min-height:44px;color:inherit}.athena-notification-toggle input{flex:0 0 auto!important;width:22px!important;height:22px;accent-color:#a5a9c9}.athena-notification-permission{font-size:13px;line-height:1.5}.athena-notification-permission-actions button{min-height:44px;border:1px solid #3f4150;border-radius:12px;background:#171a24;color:#f4f4fb;padding:10px 14px}.athena-notification-settings>label:not(.athena-notification-toggle){display:grid;gap:8px;margin-top:12px}

.notification-letter-flight{position:fixed;inset:0;z-index:10051;overflow:hidden;pointer-events:none}.notification-letter-flight__mail{position:absolute;top:0;left:0;filter:drop-shadow(0 0 9px #eaca89) drop-shadow(0 0 18px #8ecbff);will-change:transform,opacity}.notification-letter-flight__mail::before{content:"";position:absolute;right:85%;top:20px;width:95px;height:3px;background:linear-gradient(90deg,transparent,#8fcbff88,#ffedbd);border-radius:50%;box-shadow:0 0 10px #a2d6ff;transform:rotate(-8deg)}.notification-letter.is-flying-in{animation-delay:.75s}.notification-letter.is-flying-in .notification-letter__copy{animation-delay:1s}.notification-letter.is-flying-in .notification-letter__flap{animation-delay:1.1s}
@media(max-width:600px){.notification-letter-flight__mail{filter:drop-shadow(0 0 9px #eaca89)}.notification-letter__open{min-height:108px}}
@media(prefers-reduced-motion:reduce){.notification-letter-flight{display:none}}
.notification-letter.is-flying-in{animation-duration:.6s;animation-delay:3s}
.notification-letter.is-flying-in .notification-letter__copy{animation-delay:3.2s}
.notification-letter.is-flying-in .notification-letter__flap{animation-delay:3.3s}
.notification-letter__wing{display:none;position:absolute;top:-20px;width:58px;height:48px;pointer-events:none}
.notification-letter-flight .notification-letter__wing{display:block}
.notification-letter__wing svg{width:100%;height:100%}
.notification-letter__wing.is-left{right:92%;transform-origin:right 80%;animation:notification-wing-left .55s ease-in-out infinite alternate}
.notification-letter__wing.is-right{left:92%;transform-origin:left 80%;animation:notification-wing-right .55s ease-in-out infinite alternate}
.notification-letter__wing.is-right svg{transform:scaleX(-1)}
@keyframes notification-wing-left{from{transform:rotate(12deg) scaleY(.75)}to{transform:rotate(-18deg) scaleY(1)}}
@keyframes notification-wing-right{from{transform:rotate(-12deg) scaleY(.75)}to{transform:rotate(18deg) scaleY(1)}}
@media(prefers-reduced-motion:reduce){.notification-letter__wing{animation:none}}

.athena-notification-settings{box-sizing:border-box;width:100%;max-width:none;justify-self:stretch;min-width:0;background:linear-gradient(145deg,#ffffff04,#080b1033);padding:18px;border-radius:18px}.athena-notification-settings>label{width:100%;box-sizing:border-box}.athena-notification-settings .athena-notification-toggle span{min-width:0;flex:1;overflow-wrap:anywhere}.athena-notification-settings>button,.athena-notification-permission-actions,.athena-notification-permission-actions button{box-sizing:border-box;width:100%}.athena-notification-settings>label:not(.athena-notification-toggle) input{min-width:0;width:100%;box-sizing:border-box}.athena-notification-settings button{white-space:normal;min-height:44px}.athena-notification-settings summary{text-align:center}@media(max-width:700px){.athena-notification-settings{padding:14px;border-radius:16px}}


.notification-reading-pen{display:inline-block;margin-left:3px;color:#e6c484;font-size:27px;line-height:.8;transform:rotate(-24deg);animation:notificationQuill .35s ease-in-out infinite;vertical-align:baseline}.notification-reader-message .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.notification-reader-dialog.is-reading .notification-reader-paper{box-shadow:inset 0 0 40px #72a8e809}@keyframes notificationQuill{50%{transform:translate(2px,-2px) rotate(-12deg)}}@media(prefers-reduced-motion:reduce){.notification-reading-pen{display:none;animation:none}}

button.notification-letter-flight__mail{pointer-events:auto;cursor:pointer;padding:0;touch-action:manipulation}
button.notification-letter-flight__mail:focus-visible{outline:3px solid #efbd72;outline-offset:6px}

.notification-letter,.notification-letter-flight{z-index:2147483647}

.notification-reader-dialog [data-letter-delete]{color:#ffb5bf;border-color:#d174834f;background:#9d4a5d16}.notification-reader-dialog [data-letter-reply]{border-color:#8db9e859;background:#76b5ef19}

.athena-notification-settings>label:not(.athena-notification-toggle){gap:12px}
.athena-notification-settings>button{margin-top:14px;padding:12px 14px}
.athena-notification-permission-actions{display:flex;flex-direction:column;gap:12px}
