/* Sofiya Account Lite — public header, notification modal and favorite button only. */
.sofiya-header-user-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.sofiya-header-login,.sofiya-header-pricing,.sofiya-header-user__button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--radius-base);background:#ffffff2b;border:1px solid #ffffff1a;color:#fff;box-shadow:0 12px 30px #0000002e;backdrop-filter:blur(var(--blur-xl)) saturate(180%);-webkit-backdrop-filter:blur(var(--blur-xl)) saturate(180%);cursor:pointer}.sofiya-header-user{position:relative}.sofiya-header-user__button--icon{padding:0;position:relative}.sofiya-header-user__glyph,.sofiya-header-pricing__icon{display:inline-flex;align-items:center;justify-content:center;line-height:1}.sofiya-header-user__glyph svg,.sofiya-header-pricing__icon svg{display:block;width:20px;height:20px;flex:0 0 20px}.sofiya-header-user__menu{position:absolute;top:calc(100% + 12px);left:0;min-width:280px;max-width:320px;background:var(--greenglass,rgba(9,20,22,.82));border:1px solid #ffffff1a;border-radius:var(--radius-2xl);padding:10px;box-shadow:0 24px 60px #0000006b;display:none;z-index:90;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.sofiya-header-user.is-open .sofiya-header-user__menu{display:block}.sofiya-header-user__menu a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:var(--radius-md);color:#e5edf7;font-size:.8rem;text-decoration:none}.sofiya-header-user__menu a:hover{background:#ffffff0f}.sofiya-user-menu__head{padding-bottom:12px;margin-bottom:8px;border-bottom:1px solid #ffffff14;align-items:center;min-width:0}.sofiya-user-menu__avatar{width:54px;height:54px;min-width:54px;flex:0 0 54px;border-radius:50%;overflow:hidden;display:inline-flex;align-items:center;justify-content:center}.sofiya-user-menu__avatar img,.sofiya-header-user__avatar img{display:block;border-radius:50%;width:54px!important;height:54px!important;min-width:54px;object-fit:cover;aspect-ratio:1/1;flex:0 0 54px}.sofiya-user-menu__meta{display:grid;gap:2px;min-width:0;flex:1 1 auto;overflow:hidden}.sofiya-user-menu__meta strong{display:flex;align-items:center;min-width:0;gap:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sofiya-user-menu__subscription{display:inline-flex!important;align-items:center;gap:6px;min-width:0;white-space:nowrap}.sofiya-user-days-left,.sofiya-user-menu__subscription .sofiya-user-days-left{margin-inline-start:0;padding:3px 7px;font-size:10px;line-height:1;border-radius:var(--radius-pill);background:rgba(85,190,149,.13);border:1px solid rgba(85,190,149,.24);color:#c8ffe9;white-space:nowrap}.sofiya-user-menu__icon{width:28px;height:28px;min-width:28px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.07);color:var(--green,#7dfcea)}.sofiya-user-menu__icon svg{width:17px;height:17px;display:block}.sofiya-header-user--admin .sofiya-header-user__button--admin{background:linear-gradient(135deg,#ffffff18,#ffffff0a);border-color:#ffffff26}.sofiya-header-admin-menu a{justify-content:flex-start}.sofiya-admin-menu__count{margin-inline-start:auto;min-width:24px;height:24px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-pill);background:#ffffff17;color:#fff;font-size:11px;font-weight:800}.sofiya-header-user__badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;border-radius:var(--radius-pill);background:#ff453a;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:700;padding:0 5px;line-height:1}.sofiya-header-user-actions--guest .sofiya-header-login,.sofiya-header-user-actions--guest .sofiya-header-pricing{cursor:pointer}.sofiya-user-name-with-badges{display:inline-flex;align-items:center;gap:7px;vertical-align:middle;min-width:0;max-width:100%}.sofiya-user-name-with-badges__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sofiya-user-badges{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;flex:0 0 auto}.sofiya-user-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:22px;min-width:22px;padding:0 7px;border-radius:var(--radius-pill);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.84);font-size:.72rem;font-weight:800;line-height:1;white-space:nowrap}.sofiya-user-badge svg{width:14px;height:14px;display:block;flex:0 0 auto}.sofiya-user-badge--verified{color:#60a5fa;background:rgba(96,165,250,.12);border-color:rgba(96,165,250,.22)}.sofiya-user-badge--premium{color:#fbbf24;background:rgba(251,191,36,.13);border-color:rgba(251,191,36,.24)}.sofiya-user-badge--rank{color:rgba(255,255,255,.78);background:rgba(255,255,255,.06)}.sofiya-user-badges--compact .sofiya-user-badge{width:20px;height:20px;min-width:20px;padding:0;border-radius:var(--radius-xs)}.sofiya-user-badges--compact .sofiya-user-badge svg{width:13px;height:13px}.sofiya-user-badges--compact .sofiya-user-badge__text{display:none}.sofiya-favorite-btn{appearance:none;border:1px solid var(--green,#7dfcea);background:var(--greenglass,rgba(21,52,48,.55));color:var(--green,#7dfcea);border-radius:var(--radius-md);padding:12px 14px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;transform:scale(.8);transform-origin:right}.sofiya-favorite-btn.is-active{background:var(--greenglass,rgba(21,52,48,.55));border-color:var(--green,#7dfcea);color:var(--green,#7dfcea)}.sofiya-favorite-btn.is-loading{pointer-events:none;opacity:.65}.sofiya-favorite-btn__icon{display:inline-flex;align-items:center;justify-content:center}.sofiya-favorite-btn__icon svg,.sofiya-favorite-btn svg{width:20px;height:20px;display:block}.sofiya-favorite-btn--guest{opacity:.92}.sofiya-notification-modal{position:fixed;inset:0;z-index:9999;display:block}.sofiya-notification-modal[hidden],.sofiya-notification-modal__loading[hidden]{display:none!important}.sofiya-notification-modal__backdrop{position:absolute;inset:0;background:rgba(3,6,14,.55);backdrop-filter:blur(var(--blur-md));-webkit-backdrop-filter:blur(var(--blur-md));opacity:0;transition:opacity .22s ease}.sofiya-notification-modal__sheet{position:absolute;top:0;left:50%;bottom:110px;transform:translate(-50%,-112%);width:min(100%,480px);max-width:calc(100vw - 24px);background:var(--bgdark,#070b0f);border:1px solid rgba(255,255,255,.12);border-radius:0 0 34px 34px;box-shadow:0 24px 80px rgba(0,0,0,.42);overflow:hidden;display:flex;flex-direction:column;opacity:.92;will-change:transform,opacity;transition:transform .62s cubic-bezier(.22,1,.36,1),opacity .28s ease}.sofiya-notification-modal.is-open .sofiya-notification-modal__backdrop{opacity:1}.sofiya-notification-modal.is-open .sofiya-notification-modal__sheet{opacity:1;transform:translate(-50%,0)}.sofiya-notification-modal__bottom{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(0deg,rgba(255,255,255,0),rgba(255,255,255,.06));backdrop-filter:blur(var(--blur-3xl));-webkit-backdrop-filter:blur(var(--blur-3xl));margin-top:auto;position:sticky;bottom:0;z-index:3}.sofiya-notification-modal__close{border:0;background:rgba(255,255,255,.08);color:#fff;border-radius:var(--radius-base);min-width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.sofiya-notification-modal__archive{position:relative;color:#fff;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:var(--radius-base);background:rgba(255,255,255,.08)}.sofiya-notification-modal__archive svg,.sofiya-notification-modal__close svg{width:24px;height:24px;flex:0 0 24px;display:block}.sofiya-notification-modal__badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;border-radius:var(--radius-pill);background:#ff453a;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:700;padding:0 6px}.sofiya-notification-modal__handle{display:flex;justify-content:center;align-items:center;padding:0 0 12px;border:0;background:transparent;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.sofiya-notification-modal__handle span{pointer-events:none;display:block;width:74px;height:5px;border-radius:var(--radius-pill);background:rgba(255,255,255,.26)}.sofiya-notification-modal__body{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;padding:16px 14px 22px;display:flex;flex-direction:column;gap:12px}.sofiya-notification-modal__body::-webkit-scrollbar{display:none}.sofiya-notification-modal__loading{display:flex;align-items:center;justify-content:center;padding:14px 0 4px;color:#d8e0f7}.sofiya-notification-modal__loading svg{width:24px;height:24px}.sofiya-ios-notification-card{display:block;width:100%;padding:14px;border-radius:var(--radius-2xl);background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.10);color:#fff;text-decoration:none}.sofiya-ios-notification-card strong{display:block;margin-bottom:5px;font-size:13px}.sofiya-ios-notification-card small,.sofiya-ios-notification-card time{color:#adc0d6;font-size:11px}.sofiya-notification-empty{padding:18px;border-radius:var(--radius-lg);background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);color:#d9e4ef;text-align:center}body.sofiya-notification-modal-open{overflow:hidden!important;overscroll-behavior:none!important}.sofiya-toast-lite{position:fixed;right:18px;bottom:20px;z-index:10000;max-width:min(360px,calc(100vw - 36px));padding:12px 14px;border-radius:var(--radius-base);background:rgba(11,17,23,.96);border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 60px rgba(0,0,0,.35);color:#fff;font-size:13px;line-height:1.8;opacity:0;transform:translateY(10px);transition:opacity .18s ease,transform .18s ease}.sofiya-toast-lite a{color:var(--green,#7dfcea);font-weight:800}.sofiya-toast-lite.is-visible{opacity:1;transform:translateY(0)}@media(max-width:640px){.sofiya-header-user__menu{left:auto;right:0;min-width:min(300px,calc(100vw - 28px));max-width:calc(100vw - 28px)}.sofiya-header-login,.sofiya-header-pricing,.sofiya-header-user__button{width:40px;height:40px;border-radius:var(--radius-md)}.sofiya-user-badges--compact .sofiya-user-badge{width:18px;height:18px;min-width:18px;border-radius:7px}.sofiya-user-badges--compact .sofiya-user-badge svg{width:12px;height:12px}.sofiya-user-menu__avatar,.sofiya-user-menu__avatar img{width:50px!important;height:50px!important;min-width:50px;flex-basis:50px}.sofiya-notification-modal__sheet{bottom:0;max-width:100vw;border-radius:0 0 28px 28px}}
