:root{
 --bg:#f7f8fc;--surface:#fff;--surface2:#fbfbfe;--text:#171927;--muted:#73788b;--line:#e5e7f0;
 --purple:#7a35f2;--purple2:#5a23d7;--cyan:#29bff0;--green:#28c96f;--shadow:0 12px 34px rgba(36,28,76,.08);
 --radius:18px;--top:76px;
}

/* === ANXIRA 0.8.1.10.16 profile architecture === */
.profile-v05-tabs>a{border:0;background:transparent;color:var(--muted);padding:15px 24px;white-space:nowrap;text-decoration:none}.profile-v05-tabs>a.active{color:var(--purple);border-bottom:3px solid var(--purple);font-weight:800}@media(max-width:800px){.profile-v05-tabs>a{padding:13px 18px;font-size:10px}}
.profile-desktop-columns{display:grid;grid-template-columns:minmax(330px,410px) minmax(0,1fr);gap:16px;align-items:start;margin-top:14px}
.profile-sticky-rail{position:relative;display:grid;gap:12px;align-self:start;height:max-content;overflow:visible;padding-right:2px}.profile-sticky-rail>.surface{margin:0!important}
.profile-feed-column{min-width:0}.profile-feed-column>.composer,.profile-feed-column>.profile-wall-composer{margin-top:0!important}.profile-feed-column .profile-own-feed{margin-top:14px!important;width:100%!important}.profile-feed-column .post{width:100%!important;max-width:none!important}
.profile-photo-summary{padding:18px;border-radius:20px}.profile-photo-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:13px;overflow:hidden;border-radius:14px}.profile-photo-summary-grid>button{border:0;padding:0;background:#0b0d16;aspect-ratio:1;overflow:hidden}.profile-photo-summary-grid img{display:block;width:100%;height:100%;object-fit:cover}
.profile-media-page{display:grid;gap:16px;margin-top:16px}.profile-media-page[hidden]{display:none!important}.profile-media-card{padding:22px;border-radius:22px}.profile-media-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.profile-media-card h2{margin:3px 0;font-size:22px}.profile-media-card header p{margin:0;color:var(--muted);font-size:11px}.profile-media-card header>.btn{white-space:nowrap}.profile-media-card header>.btn-primary{display:inline-flex;align-items:center;gap:8px}
.profile-media-albums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.profile-media-albums>button{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:2px 11px;min-height:82px;padding:7px;border:1px solid var(--line);border-radius:17px;background:var(--surface2);color:var(--text);text-align:left}.profile-media-albums>button.active{border-color:#8c4cff;box-shadow:0 0 0 2px rgba(128,68,245,.12)}.profile-media-albums span{grid-row:1/3;width:68px;height:68px;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#171c2b,#6230cc);font-size:25px;color:#fff}.profile-media-albums img{width:100%;height:100%;object-fit:cover}.profile-media-albums b{font-size:12px;align-self:end}.profile-media-albums small{font-size:9px;color:var(--muted);align-self:start}
.profile-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.profile-media-grid>button{border:0;padding:0;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#090b12}.profile-media-grid img{width:100%;height:100%;object-fit:cover;display:block}.profile-media-grid>button[hidden]{display:none!important}
.profile-pulse-tabs{display:flex;gap:7px;margin:16px 0 12px}.profile-pulse-tabs button{border:1px solid var(--line);border-radius:999px;padding:8px 13px;background:var(--surface2);color:var(--muted);font-size:10px}.profile-pulse-tabs button.active{background:linear-gradient(135deg,#6c36ee,#9445f4);color:#fff;border-color:transparent}.profile-pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-pulse-grid>a{display:grid;gap:6px}.profile-pulse-grid>a>span{position:relative;display:block;aspect-ratio:9/14;border-radius:16px;overflow:hidden;background:#080a11}.profile-pulse-grid img{width:100%;height:100%;object-fit:cover}.profile-pulse-grid .pulse-clip-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px}.profile-pulse-grid b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-pulse-grid[hidden]{display:none!important}
.profile-circle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.profile-circle-grid>a{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:16px;background:var(--surface2)}.profile-circle-grid>a>span{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#4020a4,#8845f4 65%,#35cdec);font-size:25px;color:#fff}.profile-circle-grid b,.profile-circle-grid small{display:block}.profile-circle-grid small{font-size:9px;color:var(--muted);margin-top:3px}.profile-circle-grid>a>i{font-style:normal;color:var(--purple);font-size:24px}.profile-media-empty{grid-column:1/-1;padding:26px;text-align:center;color:var(--muted)}
.profile-tab-page{margin-top:16px}.profile-tab-page.surface,.profile-tab-page>.surface{padding:22px;border-radius:22px}.profile-tab-page>header h2,.profile-tab-page header h2{margin:4px 0}.profile-about-layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:390px;margin-top:18px;border-top:1px solid var(--line)}.profile-about-layout>nav{display:grid;align-content:start;gap:5px;padding:18px 16px 18px 0;border-right:1px solid var(--line)}.profile-about-layout>nav button{border:0;border-radius:12px;background:transparent;color:var(--muted);padding:12px;text-align:left;font-weight:750}.profile-about-layout>nav button.active{color:#fff;background:linear-gradient(135deg,#263d73,#7135e8)}.profile-about-content{padding:24px}.profile-about-content h3{margin:0 0 18px}.profile-about-content p{line-height:1.65}.profile-about-content [hidden]{display:none!important}
.profile-highlight-directory>header,.profile-activity-log>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.profile-highlight-directory-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:20px}.profile-highlight-directory-grid>button{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:18px;padding:8px;display:grid;gap:5px;text-align:left}.profile-highlight-directory-grid img,.profile-highlight-directory-grid>button>span{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:13px;background:linear-gradient(145deg,#17243e,#7837e9);display:grid;place-items:center;color:#fff;font-size:30px}.profile-highlight-directory-grid b{font-size:12px}.profile-highlight-directory-grid small{font-size:9px;color:var(--muted)}
.profile-activity-log>div{display:grid;margin-top:18px}.profile-activity-log>div>a{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;padding:13px 4px;border-top:1px solid var(--line)}.profile-activity-log>div>a>span{width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,#263d73,#7437ee);color:#fff;display:grid;place-items:center}.profile-activity-log p{margin:3px 0;color:var(--muted);font-size:11px}.profile-activity-log small{font-size:9px;color:var(--muted)}
.profile-vault-actions{display:flex;gap:8px}.profile-vault-heading{display:flex;align-items:end;justify-content:space-between;margin:22px 0 11px;padding-top:18px;border-top:1px solid var(--line)}.profile-vault-heading h3{margin:3px 0 0}.profile-vault-heading>span{font-size:10px;color:var(--muted)}.profile-vault-dialog{width:min(520px,92vw);padding:22px;border-radius:22px;display:grid;gap:14px}.profile-vault-dialog header{display:flex;justify-content:space-between;align-items:flex-start}.profile-vault-dialog h2{margin:4px 0}.profile-vault-dialog label{display:grid;gap:6px;font-size:11px;font-weight:750}.profile-vault-dialog input,.profile-vault-dialog select,.profile-vault-dialog textarea{width:100%;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--text);padding:12px}.profile-vault-dialog textarea{min-height:85px;resize:vertical}.profile-vault-dialog>small{color:var(--muted);line-height:1.5}
.profile-photo-summary-grid>button,.profile-media-grid>button{position:relative}.profile-photo-summary-grid video,.profile-media-grid video{display:block;width:100%;height:100%;object-fit:cover}.vault-thumb-stats{position:absolute;left:6px;bottom:6px;z-index:2;padding:4px 7px;border-radius:999px;background:rgba(5,7,14,.78);backdrop-filter:blur(8px);color:#fff;font-size:8px;font-weight:800}.profile-network-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.profile-network-head h2{margin:4px 0}.profile-network-head label{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:9px 14px;background:var(--surface2)}.profile-network-head input{border:0;outline:0;background:transparent;color:var(--text)}.profile-network-filters{display:flex;gap:8px;margin:18px 0}.profile-network-filters button{border:1px solid var(--line);border-radius:999px;padding:9px 14px;background:var(--surface2);color:var(--muted)}.profile-network-filters button.active{background:linear-gradient(135deg,#6440d9,#8c42f2);border-color:transparent;color:#fff}.profile-network-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-network-grid>a{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:13px;padding:12px;border:1px solid var(--line);border-radius:17px;background:var(--surface2)}.profile-network-grid>a[hidden]{display:none}.profile-network-grid .living-ring,.profile-network-grid img{width:68px;height:68px;border-radius:50%;object-fit:cover}.profile-network-grid b,.profile-network-grid small{display:block}.profile-network-grid small{margin-top:4px;color:var(--muted);font-size:9px}.profile-network-grid>a>i{font-style:normal;color:var(--purple);font-size:22px}
.profile-vault-signal-modal{z-index:15500!important}.profile-vault-signal{position:relative;width:min(1080px,94vw);height:min(760px,92dvh);padding:0!important;overflow:hidden;border-radius:24px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.7fr)}.profile-vault-signal>.close-modal{z-index:4;background:rgba(7,9,16,.76);color:#fff}.profile-vault-signal-media{min-width:0;min-height:0;background:#05070d;display:grid;place-items:center}.profile-vault-signal-media img,.profile-vault-signal-media video{display:block;width:100%;height:100%;object-fit:contain}.profile-vault-signal>section{display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;padding:22px;min-width:0;min-height:0}.profile-vault-signal>section>header{display:flex;align-items:center;gap:10px;padding-right:36px}.profile-vault-signal>section>header img{width:45px;height:45px;border-radius:50%;object-fit:cover}.profile-vault-signal>section>header b,.profile-vault-signal>section>header small{display:block}.profile-vault-signal>section>header small{font-size:9px;color:var(--muted)}.profile-vault-engagement{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:10px}.profile-vault-engagement .btn{margin-left:auto;padding:7px 10px}.profile-vault-reactions{display:flex;gap:4px;padding:9px 0;overflow:auto}.profile-vault-reactions button{border:1px solid transparent;border-radius:12px;background:transparent;padding:5px;color:var(--muted);display:grid;justify-items:center;gap:2px;font-size:7px}.profile-vault-reactions button.active{border-color:#8d4bf5;background:rgba(126,63,239,.12)}.profile-vault-reactions img{width:27px;height:27px}.profile-vault-comments{overflow:auto;display:grid;align-content:start;gap:10px;padding:8px 0}.profile-vault-comments>div{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px}.profile-vault-comments img{width:34px;height:34px;border-radius:50%;object-fit:cover}.profile-vault-comments p{margin:3px 0;font-size:10px}.profile-vault-comments small{font-size:8px;color:var(--muted)}#profileVaultCommentForm{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:7px}#profileVaultCommentForm input{border:1px solid var(--line);border-radius:999px;background:var(--surface2);color:var(--text);padding:11px}#profileVaultCommentForm button{border:0;border-radius:50%;background:linear-gradient(135deg,#5930d5,#9a42f5);color:#fff}
body[data-media-view="1"]{overflow:hidden!important;background:#03050a!important}body[data-media-view="1"]>.topbar,body[data-media-view="1"]>.network-drawer,body[data-media-view="1"]>.network-drawer-backdrop,body[data-media-view="1"]>.mobile-nav,body[data-media-view="1"]>.profile-app-shell{visibility:hidden!important}body[data-media-view="1"] .profile-vault-signal-modal.open{position:fixed!important;inset:0!important;display:grid!important;padding:0!important;background:#03050a!important}body[data-media-view="1"] .profile-vault-signal{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;grid-template-columns:minmax(0,1fr) 390px!important;background:#05070d!important}body[data-media-view="1"] .profile-vault-signal-media{padding:18px 26px!important}body[data-media-view="1"] .profile-vault-signal-media img,body[data-media-view="1"] .profile-vault-signal-media video{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}body[data-media-view="1"] .profile-vault-signal>section{background:var(--surface)!important;border-left:1px solid var(--line)!important;padding:22px!important}body[data-media-view="1"] .profile-vault-signal>.close-modal{position:fixed!important;left:14px!important;right:auto!important;top:14px!important;width:44px!important;height:44px!important}
.profile-app-shell[data-profile-section="media"]{--profile-max:1320px!important}.profile-app-shell[data-profile-section="media"] .profile-media-page{display:grid;gap:16px}.profile-app-shell[data-profile-section="media"] #profileMediaVault{padding:22px}.profile-app-shell[data-profile-section="media"] .profile-media-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.profile-app-shell[data-profile-section="media"] .profile-media-grid>button{border-radius:8px}.profile-vault-pagebar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.profile-vault-pagebar nav{display:flex;overflow:auto}.profile-vault-pagebar nav button{border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);padding:15px 17px;white-space:nowrap;font-weight:750}.profile-vault-pagebar nav button.active{color:var(--purple);border-bottom-color:var(--purple)}.profile-vault-pagebar label{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:8px 12px;background:var(--surface2)}.profile-vault-pagebar input{border:0;outline:0;background:transparent;color:var(--text);width:150px}.profile-media-albums[hidden],.profile-media-grid[hidden],.profile-vault-heading[hidden]{display:none!important}.profile-app-shell[data-profile-section="media"] .profile-media-albums{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(min-width:801px){
 .profile-app-shell{--profile-max:1220px!important}.profile-sticky-rail .profile-detail-list{grid-template-columns:1fr!important}.profile-sticky-rail .profile-friend-carousel{margin-top:12px}.profile-sticky-rail .profile-friend-strip{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important;padding:5px 0!important}.profile-sticky-rail .profile-friend-strip>a{min-width:0!important;display:grid!important;justify-items:center!important;gap:4px!important}.profile-sticky-rail .profile-friend-strip .living-ring{width:76px!important;height:76px!important;min-width:76px!important;max-width:76px!important;border-radius:50%!important}.profile-sticky-rail .profile-friend-strip .living-ring img{width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;aspect-ratio:1!important;object-fit:cover!important;border-radius:50%!important}.profile-sticky-rail .profile-friend-nav{display:none!important}
 .story-filter-strip,.effect-strip,.signal-filter-strip,.signal-effect-strip{scrollbar-width:thin!important;scrollbar-color:#8b45ff rgba(25,28,43,.75)!important;padding-bottom:10px!important}.story-filter-strip::-webkit-scrollbar,.effect-strip::-webkit-scrollbar,.signal-filter-strip::-webkit-scrollbar,.signal-effect-strip::-webkit-scrollbar{height:8px!important}.story-filter-strip::-webkit-scrollbar-track,.effect-strip::-webkit-scrollbar-track,.signal-filter-strip::-webkit-scrollbar-track,.signal-effect-strip::-webkit-scrollbar-track{background:rgba(25,28,43,.75)!important;border-radius:999px!important}.story-filter-strip::-webkit-scrollbar-thumb,.effect-strip::-webkit-scrollbar-thumb,.signal-filter-strip::-webkit-scrollbar-thumb,.signal-effect-strip::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#42dcff,#7146ff,#c345f3)!important;border-radius:999px!important}
}
@media(max-width:800px){
 body[data-media-view="1"] .profile-vault-signal{display:block!important;height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-top:0!important}body[data-media-view="1"] .profile-vault-signal-media{height:min(56dvh,620px)!important;min-height:310px!important;padding:max(64px,calc(env(safe-area-inset-top) + 48px)) max(8px,env(safe-area-inset-right)) 8px max(8px,env(safe-area-inset-left))!important}body[data-media-view="1"] .profile-vault-signal>section{min-height:52dvh!important;overflow:visible!important;border-left:0!important;border-top:1px solid var(--line)!important;padding:14px max(14px,env(safe-area-inset-right)) max(24px,calc(env(safe-area-inset-bottom) + 14px)) max(14px,env(safe-area-inset-left))!important}body[data-media-view="1"] .profile-vault-signal>.close-modal{top:calc(env(safe-area-inset-top) + 10px)!important;left:max(10px,env(safe-area-inset-left))!important;right:auto!important}.profile-vault-comments{max-height:none!important;overflow:visible!important}
 .profile-app-shell[data-profile-section="media"] .profile-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-vault-pagebar{display:grid}.profile-vault-pagebar label{margin-bottom:10px}.profile-vault-pagebar input{width:100%}
 .profile-desktop-columns{display:block!important;margin-top:0!important}.profile-sticky-rail{position:static!important;display:block!important;max-height:none!important;overflow:visible!important}.profile-feed-column{display:block!important}.profile-photo-summary{margin:10px 10px 0!important;padding:16px!important}.profile-media-page,.profile-tab-page{margin:10px!important}.profile-media-card,.profile-tab-page.surface,.profile-tab-page>.surface{padding:16px;border-radius:19px}.profile-media-card>header{align-items:center}.profile-media-card h2{font-size:19px}.profile-media-card header p{font-size:9px}.profile-media-card header>.btn{font-size:9px;padding:9px}.profile-media-albums{grid-template-columns:1fr;gap:8px}.profile-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.profile-pulse-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-circle-grid{grid-template-columns:1fr}.profile-about-layout{grid-template-columns:1fr;min-height:0}.profile-about-layout>nav{display:flex;overflow:auto;border-right:0;border-bottom:1px solid var(--line);padding:12px 0}.profile-about-layout>nav button{white-space:nowrap}.profile-about-content{padding:18px 2px}.profile-highlight-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-vault-actions{display:grid}.profile-vault-actions .btn{font-size:9px;padding:9px}.profile-network-head{display:grid}.profile-network-grid{grid-template-columns:1fr}.profile-vault-signal-modal{padding:0!important}.profile-vault-signal{width:100vw;height:100dvh;border-radius:0;grid-template-columns:1fr;grid-template-rows:minmax(260px,48dvh) minmax(0,1fr);padding-top:env(safe-area-inset-top)!important}.profile-vault-signal>section{padding:15px;padding-bottom:max(15px,env(safe-area-inset-bottom))}.profile-vault-signal>.close-modal{top:calc(env(safe-area-inset-top) + 8px)!important;right:9px!important}
 html.profile-photo-open,html.profile-photo-open body{overflow:hidden!important}.profile-photo-viewer-modal{position:fixed!important;inset:0!important;z-index:16000!important;margin:0!important;padding:0!important;background:#05070d!important;display:block!important;overflow:hidden!important}.profile-photo-viewer-modal:not(.open){display:none!important}.profile-photo-viewer{position:absolute!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:max(64px,calc(env(safe-area-inset-top) + 48px)) max(12px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;border:0!important;border-radius:0!important;display:grid!important;place-items:center!important;background:#05070d!important}.profile-photo-viewer>img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;margin:auto!important;object-fit:contain!important;object-position:center!important;transform:none!important;border-radius:16px!important;-webkit-touch-callout:none!important;user-select:none!important}.profile-photo-viewer>.close-modal{position:absolute!important;z-index:2!important;top:calc(max(10px,env(safe-area-inset-top)) + 10px)!important;right:max(12px,env(safe-area-inset-right))!important;width:44px!important;height:44px!important;display:grid!important;place-items:center!important}
}

/* Active profile Story choice — shared by desktop and mobile. */
[data-profile-story-avatar]{cursor:pointer}
.profile-avatar-choice-modal,.profile-photo-viewer-modal,.profile-story-quick-modal{z-index:380!important}
.profile-avatar-choice-sheet{position:relative;width:min(410px,92vw);padding:24px;border-radius:24px;display:grid;gap:10px}
.profile-avatar-choice-sheet h2{margin:2px 0 10px;padding-right:40px}
.profile-avatar-choice-sheet>button:not(.close-modal){border:1px solid var(--line);border-radius:16px;background:var(--surface2);color:var(--text);min-height:74px;padding:12px 15px;display:grid;grid-template-columns:46px 1fr;grid-template-rows:auto auto;gap:2px 11px;text-align:left;align-items:center}
.profile-avatar-choice-sheet>button:not(.close-modal)>span{grid-row:1/3;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#21314d,#6b34df);color:#fff;box-shadow:0 0 18px rgba(101,75,255,.3)}
.profile-avatar-choice-sheet>button:not(.close-modal)>b{font-size:13px;align-self:end}.profile-avatar-choice-sheet>button:not(.close-modal)>small{font-size:9px;color:var(--muted);align-self:start}
.profile-avatar-choice-sheet .profile-avatar-choice-primary{border-color:rgba(126,68,245,.48)!important;background:linear-gradient(145deg,rgba(52,202,255,.09),rgba(126,54,245,.15))!important}
.profile-photo-viewer{position:relative;width:min(760px,94vw);height:min(82dvh,820px);display:grid;place-items:center;padding:18px;border-radius:26px;background:#060811;border:1px solid rgba(139,78,255,.4);box-shadow:0 28px 90px rgba(0,0,0,.6)}
.profile-photo-viewer>img{max-width:100%;max-height:100%;object-fit:contain;border-radius:18px}.profile-photo-viewer>.close-modal{background:rgba(8,10,18,.68);color:#fff}
.profile-story-quick-viewer{position:relative;width:min(430px,96vw);height:min(780px,92dvh);overflow:hidden;border-radius:25px;background:#05070d;border:1px solid rgba(129,68,246,.48);box-shadow:0 28px 90px rgba(0,0,0,.65)}
.profile-story-quick-media,.profile-story-quick-media>img,.profile-story-quick-media>video{width:100%;height:100%;object-fit:cover}.profile-story-quick-media{position:absolute;inset:0;overflow:hidden}.profile-story-quick-media>img,.profile-story-quick-media>video{position:absolute;inset:0}
.profile-story-quick-viewer>header{position:absolute;z-index:5;left:14px;right:58px;top:26px;display:flex;align-items:center;gap:9px;color:#fff;text-shadow:0 2px 8px #000}.profile-story-quick-viewer>header img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid #fff}.profile-story-quick-viewer>header b,.profile-story-quick-viewer>header small{display:block}.profile-story-quick-viewer>header small{font-size:9px;opacity:.78}.profile-story-quick-viewer>.close-modal{z-index:7;background:rgba(8,10,18,.6);color:#fff}
.profile-story-quick-progress{position:absolute;z-index:7;left:12px;right:12px;top:10px;display:flex;gap:4px}.profile-story-quick-progress i{height:3px;flex:1;border-radius:4px;background:rgba(255,255,255,.28)}.profile-story-quick-progress i.done,.profile-story-quick-progress i.active{background:#fff}
.profile-story-quick-text{position:absolute;z-index:4;line-height:1.05;font-weight:800;text-shadow:0 2px 8px rgba(0,0,0,.58);white-space:pre-wrap;overflow-wrap:normal}
.profile-story-quick-prev,.profile-story-quick-next{position:absolute;z-index:6;top:90px;bottom:70px;width:28%;border:0;background:transparent;color:transparent}.profile-story-quick-prev{left:0}.profile-story-quick-next{right:0}
@media(max-width:800px){.profile-avatar-choice-sheet{position:absolute;left:0;right:0;bottom:0;width:100%;border-radius:25px 25px 0 0;padding:22px 16px calc(22px + env(safe-area-inset-bottom))}.profile-photo-viewer{width:100vw;height:100dvh;border-radius:0;padding:10px}.profile-story-quick-viewer{width:100vw;height:100dvh;border-radius:0;border:0}}
body.dark{--bg:#0d1019;--surface:#151a26;--surface2:#1a2030;--text:#f3f5fb;--muted:#a4aabd;--line:#2a3143;--shadow:0 16px 40px rgba(0,0,0,.35)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif;line-height:1.35}button,input,textarea,select{font:inherit}button,a{cursor:pointer}a{color:inherit;text-decoration:none}img,video{max-width:100%}.surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.topbar{height:var(--top);background:#0a0c14;color:#fff;display:grid;grid-template-columns:270px minmax(320px,620px) auto;align-items:center;gap:28px;padding:0 28px;position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.06)}
.brand img{height:48px;width:220px;object-fit:contain;object-position:left center}.search{height:44px;border:1px solid #2b3140;background:#171b27;border-radius:24px;display:flex;align-items:center;padding:0 14px;color:#adb3c3}.search input{flex:1;border:0;background:transparent;color:#fff;outline:0;padding:0 10px}.search kbd{font-size:11px;border:1px solid #373d4d;padding:3px 7px;border-radius:7px;color:#8f95a5}.top-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end}.icon-btn{position:relative;border:0;background:transparent;color:#fff;font-size:19px;padding:9px}.icon-btn b{position:absolute;right:1px;top:0;background:var(--purple);font-size:9px;border-radius:10px;padding:2px 5px}.live-time{border-left:1px solid #343947;padding-left:16px;text-align:right}.live-time strong,.live-time small{display:block}.live-time small{font-size:9px;color:#2dd47a}.mini-profile{display:flex;align-items:center;gap:8px}.mini-profile img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid #6f37e9}
.app-grid{display:grid;grid-template-columns:225px minmax(0,760px) 286px;gap:22px;max-width:1360px;margin:0 auto;padding:22px}.left-rail{position:sticky;top:calc(var(--top) + 18px);height:calc(100vh - var(--top) - 36px);display:flex;flex-direction:column}.main-nav{display:grid;gap:4px}.main-nav a{padding:10px 12px;border-radius:10px;display:flex;align-items:center;gap:12px;color:var(--text);font-size:14px}.main-nav a span{flex:1}.main-nav a b{background:var(--purple);color:#fff;border-radius:10px;padding:2px 6px;font-size:9px}.main-nav a.active,.main-nav a:hover{background:linear-gradient(135deg,#7937ed,#8b48ff);color:#fff;box-shadow:0 9px 20px rgba(122,53,242,.18)}.rail-user,.status-card,.signal-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:11px;margin-top:14px}.rail-user{display:flex;align-items:center;gap:9px}.rail-user img{width:40px;height:40px;border-radius:50%;object-fit:cover}.rail-user div{flex:1;min-width:0}.rail-user strong,.rail-user small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rail-user small{color:var(--purple);font-size:10px}.status-card strong,.status-card span{display:block}.status-card strong{color:var(--purple);font-size:13px}.status-card span{color:var(--green);font-size:11px;margin-top:9px}.signal-card>strong{font-size:12px}.signal-card>div{display:flex;align-items:center;gap:10px;margin:12px 0}.signal-card i{width:44px;height:44px;border-radius:50%;border:3px solid #8b4dff;box-shadow:0 0 0 5px #efe7ff,0 0 18px #7d3cff}.signal-card b,.signal-card small{display:block}.signal-card b{color:var(--green);font-size:12px}.signal-card small{color:var(--muted);font-size:10px}.signal-card button{width:100%;border:0;border-radius:9px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;padding:9px}.logout{font-size:11px;color:var(--muted);margin:12px}
.center-col{min-width:0}.section-label{display:flex;align-items:center;gap:7px;padding:12px 16px 7px;font-size:12px;font-weight:800}.section-label span,.feed-heading span{color:var(--purple)}.section-label button,.module-title button{margin-left:auto;border:0;background:transparent;color:var(--purple);font-size:10px}.story-shell{overflow:hidden}.story-row{display:flex;gap:10px;overflow-x:auto;padding:8px 14px 14px;scrollbar-width:thin}.story-card{width:112px;height:170px;border:1px solid var(--line);border-radius:15px;background:#141621;overflow:hidden;position:relative;flex:0 0 auto;padding:0;color:#fff;box-shadow:0 8px 20px rgba(26,15,64,.10)}.story-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 43%,rgba(5,7,12,.82));pointer-events:none}.story-media,.story-media img,.story-media video{width:100%;height:100%;object-fit:cover}.story-card>strong,.story-card>small{position:absolute;z-index:2;left:9px;right:7px;text-align:left}.story-card>strong{bottom:27px;font-size:12px}.story-card>small{bottom:10px;font-size:9px;color:#ddd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-avatar{position:absolute;z-index:3;top:8px;left:8px;width:31px;height:31px;border-radius:50%;padding:2px;background:linear-gradient(135deg,#f24dff,#6b36ff,#35c7ff)}.story-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #fff}.story-card.create{display:grid;place-items:center;background:radial-gradient(circle at 50% 36%,#6e2bdf,transparent 35%),linear-gradient(145deg,#17131f,#080910)}.story-card.create .plus{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#8d4bff,#5d22dc);font-size:31px;display:grid;place-items:center;position:absolute;top:51px;z-index:2}.story-card.create strong{bottom:27px}.story-card.placeholder .story-media{filter:saturate(.85)}
.composer{margin-top:14px;padding:14px}.composer-head{display:flex;gap:10px}.composer-head img{width:42px;height:42px;border-radius:50%;object-fit:cover}.composer textarea{flex:1;border:1px solid var(--line);background:var(--surface2);border-radius:13px;resize:none;min-height:72px;padding:12px;color:var(--text);outline:0}.composer-tools{display:flex;align-items:center;gap:5px;margin-top:10px;flex-wrap:wrap}.composer-tools label,.composer-tools button,.composer-tools select{border:0;background:transparent;color:var(--muted);padding:8px;border-radius:8px;font-size:11px}.composer-tools label:hover,.composer-tools button:hover{background:#f1ebff;color:var(--purple)}.composer-tools select{margin-left:auto;background:var(--surface2)}.composer-tools .btn-primary{margin-left:0;color:#fff;padding:9px 15px}.media-preview img,.media-preview video{margin:10px 0 0 52px;max-height:280px;border-radius:12px}.feed-heading{display:flex;align-items:center;gap:7px;margin:15px 4px 9px;font-size:12px}.feed-heading select{margin-left:auto;border:0;background:transparent;color:var(--purple)}
.post{overflow:hidden;margin-bottom:14px}.post-head{display:flex;align-items:center;gap:9px;padding:14px 14px 5px}.post-head img{width:39px;height:39px;border-radius:50%;object-fit:cover}.post-head>div{flex:1}.post-head strong,.post-head small{display:block}.post-head strong{font-size:13px}.post-head strong em{font-style:normal;color:var(--purple);font-size:10px}.post-head small{font-size:10px;color:var(--muted);margin-top:2px}.post-head>button{border:0;background:transparent;color:var(--muted)}.post>p{margin:6px 14px 12px;font-size:13px}.post-media img,.post-media video{width:calc(100% - 28px);margin:0 14px;border-radius:14px;max-height:520px;object-fit:cover;background:#0a0c13}.post-meta{display:flex;justify-content:space-between;padding:9px 14px;color:var(--muted);font-size:10px;border-bottom:1px solid var(--line)}.post-actions{display:grid;grid-template-columns:repeat(5,1fr);padding:5px 8px}.post-actions button{border:0;background:transparent;color:var(--muted);padding:9px 4px;border-radius:8px;font-size:11px}.post-actions button:hover,.post-actions button.active{background:#f1ebff;color:var(--purple)}.inline-comments{border-top:1px solid var(--line)}.comment-form{display:flex;align-items:center;gap:7px;padding:9px 12px}.comment-form img{width:26px;height:26px;border-radius:50%;object-fit:cover}.comment-form input{flex:1;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:18px;padding:7px 11px;outline:0;font-size:11px}.comment-form button{border:0;background:transparent;color:var(--purple);font-size:16px}.comment-chip{margin:0 12px 10px 45px;background:var(--surface2);border-radius:10px;padding:8px 10px;font-size:11px}.comment-chip b{display:block;margin-bottom:2px}
.right-col{display:grid;gap:14px;align-content:start}.side-module{padding:14px}.module-title{display:flex;align-items:center;margin-bottom:10px}.module-title strong{font-size:13px}.trend-list{list-style:none;padding:0;margin:0;display:grid;gap:11px}.trend-list li b,.trend-list li span{display:block}.trend-list li b{font-size:11px}.trend-list li span{font-size:9px;color:var(--muted)}.person-row{display:flex;align-items:center;gap:8px;padding:7px 0}.person-row img{width:32px;height:32px;border-radius:50%;object-fit:cover}.person-row span{flex:1}.person-row b,.person-row small{display:block}.person-row b{font-size:10px}.person-row small{font-size:9px;color:var(--muted)}.person-row i{width:7px;height:7px;border-radius:50%;background:var(--green)}.circle-row{display:flex;align-items:center;gap:9px;padding:8px 0}.circle-row>span{width:38px;height:38px;border-radius:50%;background:#1a1426;color:#a976ff;display:grid;place-items:center}.circle-row div{flex:1}.circle-row b,.circle-row small{display:block}.circle-row b{font-size:10px}.circle-row small{font-size:9px;color:var(--muted)}.circle-row button{width:29px;height:29px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--purple)}.promo{padding:14px;background:radial-gradient(circle at 50% 25%,rgba(121,55,242,.45),transparent 40%),#111426;color:#fff;text-align:center}.promo img{width:70px;height:70px;border-radius:18px;object-fit:cover}.promo strong{display:block;margin:10px 0 5px}.promo p{font-size:10px;color:#c8cadd}.promo button{border:0;background:linear-gradient(135deg,#7937ef,#5b20d2);color:white;border-radius:9px;padding:9px 12px;width:100%}
.btn{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;padding:10px 15px;font-weight:700}.btn-primary{border:0;background:linear-gradient(135deg,var(--purple),var(--purple2));color:white}.wide{width:100%}
/* Profile */
.profile-layout{display:grid;grid-template-columns:190px minmax(0,850px) 290px;gap:18px;max-width:1400px;margin:0 auto;padding:14px 20px}.left-rail.compact{position:sticky;top:90px;height:calc(100vh - 110px)}.profile-main{min-width:0}.profile-hero{overflow:hidden}.banner{height:235px;background-size:cover;background-position:center;border-radius:17px 17px 0 0}.hero-overlay{margin-top:-105px;min-height:112px;position:relative;z-index:3;display:flex;align-items:end;gap:16px;padding:0 18px 15px;background:linear-gradient(transparent,rgba(255,255,255,.95) 68%)}body.dark .hero-overlay{background:linear-gradient(transparent,rgba(21,26,38,.97) 68%)}.profile-avatar{width:145px;height:145px;border-radius:50%;padding:5px;background:linear-gradient(135deg,#fb4cff,#6d36ff,#30c7f1);box-shadow:0 0 28px rgba(122,53,242,.35);flex:0 0 auto}.profile-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:4px solid #fff}.identity{flex:1;padding-bottom:5px}.identity h1{font-size:24px;margin:0}.identity h1 em{font-style:normal;color:var(--purple);font-size:14px}.identity h2{font-size:14px;font-weight:500;margin:4px 0}.identity p{margin:0;color:var(--muted);font-size:12px}.profile-actions{display:flex;gap:7px;padding-bottom:6px}.profile-stories{display:flex;gap:9px;overflow-x:auto;padding:12px 18px 16px;border-top:1px solid var(--line)}.profile-story{width:83px;height:108px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);position:relative;overflow:hidden;flex:0 0 auto;padding:0}.profile-story img{width:100%;height:100%;object-fit:cover}.profile-story span{position:absolute;left:5px;right:5px;bottom:5px;color:#fff;font-size:9px;font-weight:700;text-shadow:0 1px 6px #000}.profile-story.add{display:grid;place-items:center;color:var(--purple);font-size:26px}.profile-story.add span{color:var(--text);font-size:9px;text-shadow:none}.profile-tabs{margin-top:10px;display:flex;align-items:center;padding:0 13px;overflow:auto}.profile-tabs button{border:0;background:transparent;padding:14px 19px;color:var(--muted);font-size:11px;white-space:nowrap}.profile-tabs button.active{color:var(--purple);border-bottom:2px solid var(--purple)}.profile-feed{margin-top:10px}.profile-right{display:grid;gap:12px;align-content:start}.about-card{position:relative;overflow:hidden}.about-card p,.about-card ul{font-size:10px}.about-card ul{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}.about-card .diamond{position:absolute;right:25px;bottom:25px;color:#6b37e8;font-size:55px;opacity:.25}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.photo-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px}.achievement-row{display:flex;gap:7px;align-items:center}.achievement-row span{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#21152e,#0e1017);color:#b487ff;border:1px solid #6c40ad;font-size:13px;font-weight:800}.quote-card{padding:17px;color:var(--purple);font-size:28px}.quote-card p{font-size:11px;color:var(--text);font-style:italic}.quote-card b{display:block;text-align:right;font-size:13px}
/* Modals */
.modal{position:fixed;inset:0;background:rgba(8,10,16,.68);display:none;place-items:center;z-index:100;padding:18px}.modal.open{display:grid}.story-create{width:min(620px,96vw);background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:18px;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.4)}.close-modal{position:absolute;top:10px;right:12px;width:34px;height:34px;border-radius:50%;border:0;background:var(--surface2);color:var(--text);font-size:22px;z-index:2}.story-create-head strong,.story-create-head span{display:block}.story-create-head strong{font-size:19px}.story-create-head span{font-size:11px;color:var(--muted)}.story-drop{display:block;margin:14px 0}.story-drop>div{height:360px;border:1px dashed #b9add5;border-radius:18px;background:radial-gradient(circle at 50% 44%,#efe7ff,transparent 40%),var(--surface2);display:grid;place-items:center;text-align:center;overflow:hidden}.story-drop span,.story-drop b,.story-drop small{display:block}.story-drop span{font-size:42px;color:var(--purple)}.story-drop small{color:var(--muted)}.story-drop img,.story-drop video{width:100%;height:100%;object-fit:contain}.story-create input[type=text],.story-create input[name=caption]{width:100%;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:11px;padding:10px}.story-filter-strip{display:flex;gap:7px;overflow:auto;margin:10px 0}.story-filter-strip button{border:1px solid var(--line);background:var(--surface2);color:var(--text);padding:8px 10px;border-radius:10px;font-size:10px}.story-filter-strip button.active{background:var(--purple);color:#fff}.story-tools{display:flex;gap:7px;flex-wrap:wrap}.story-tools button{border:0;background:var(--surface2);color:var(--text);padding:8px 10px;border-radius:10px;font-size:10px}.story-publish{display:flex;justify-content:space-between;gap:8px;margin-top:12px}.story-publish select{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:9px;padding:9px}.viewer{width:min(430px,96vw);height:min(760px,90vh);background:#070910;border-radius:22px;position:relative;overflow:hidden}.viewer #viewerContent,.viewer #viewerContent img,.viewer #viewerContent video{width:100%;height:100%;object-fit:contain}.viewer .close-modal{background:rgba(0,0,0,.45);color:#fff}.viewer-reply{position:absolute;left:12px;right:12px;bottom:12px;display:flex;gap:6px}.viewer-reply input{flex:1;border:1px solid rgba(255,255,255,.45);background:rgba(0,0,0,.35);color:#fff;border-radius:18px;padding:9px 12px}.viewer-reply button{border:0;background:rgba(0,0,0,.4);color:#fff;border-radius:50%;width:38px;height:38px}
/* Auth + installer */
.login-page,.install-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 35% 20%,rgba(120,54,242,.2),transparent 35%),linear-gradient(145deg,#080a12,#171125)}.login-panel,.install-card{width:min(520px,95vw);background:#fff;color:#171927;border-radius:24px;padding:30px;box-shadow:0 30px 90px rgba(0,0,0,.4)}.login-logo,.install-logo{display:block;width:320px;max-width:80%;margin:0 auto 12px}.login-panel h1,.install-card h1{text-align:center;margin:8px 0}.login-panel>p,.install-card>p{text-align:center;color:#74798a}.login-panel form,.install-form{display:grid;gap:12px}.login-panel label,.install-form label{font-size:12px;font-weight:700}.login-panel input,.install-form input{display:block;width:100%;margin-top:5px;border:1px solid #dedfe8;border-radius:11px;padding:11px}.login-hint{font-size:11px;color:#777;margin-top:14px}.notice{border-radius:10px;padding:10px;margin:10px 0;font-size:12px}.notice.error{background:#fff0f2;color:#b3223b}.notice.success{background:#edfdf4;color:#1c8b4d}
body.dark .composer-tools label:hover,body.dark .composer-tools button:hover,body.dark .post-actions button:hover,body.dark .post-actions button.active{background:#2b2141}
@media(max-width:1180px){.app-grid{grid-template-columns:200px minmax(0,1fr)}.right-col{display:none}.profile-layout{grid-template-columns:170px minmax(0,1fr)}.profile-right{display:none}.topbar{grid-template-columns:220px 1fr auto}.brand img{width:185px}.top-actions .live-time{display:none}}
@media(max-width:800px){:root{--top:64px}.topbar{grid-template-columns:auto 1fr auto;padding:0 10px;gap:10px}.brand img{width:120px;height:38px}.search kbd,.top-actions .icon-btn:nth-child(1),.top-actions .icon-btn:nth-child(3),.mini-profile span{display:none}.search{height:38px}.app-grid,.profile-layout{display:block;padding:10px}.left-rail{display:none}.story-card{width:94px;height:148px}.composer{border-radius:14px}.composer-tools button:nth-of-type(2),.composer-tools button:nth-of-type(3),.composer-tools select{display:none}.post-actions{grid-template-columns:repeat(4,1fr)}.post-actions button:nth-child(5){display:none}.profile-hero{border-radius:16px}.banner{height:190px}.hero-overlay{margin-top:-70px;display:grid;grid-template-columns:100px 1fr;align-items:end}.profile-avatar{width:108px;height:108px}.identity h1{font-size:18px}.profile-actions{grid-column:1/-1;overflow:auto}.profile-stories{padding:10px}.profile-story{width:74px;height:96px}.profile-tabs{margin-top:8px}.story-drop>div{height:420px}.story-create{padding:14px}.profile-main{width:100%}}

/* ANXIRA Network Alpha 0.2 — Pulse Interaction + Living Stories */
.verified-badge{width:18px!important;height:18px!important;display:inline-block!important;vertical-align:-4px!important;border:0!important;border-radius:0!important;object-fit:contain!important}.small-badge{width:13px!important;height:13px!important}.tiny-badge{width:12px!important;height:12px!important}.comment-badge{width:14px!important;height:14px!important}
.premium-story{border:1px solid transparent;background:linear-gradient(#12151e,#12151e) padding-box,linear-gradient(135deg,#35c9ff,#7c42ff,#e56dff) border-box;box-shadow:0 8px 22px rgba(57,75,180,.14),0 0 0 1px rgba(123,67,244,.08)}.premium-story.unseen{box-shadow:0 8px 24px rgba(89,47,203,.17),0 0 17px rgba(79,162,255,.14)}.premium-story:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(75,47,170,.2),0 0 22px rgba(107,74,255,.22)}.story-card{transition:.2s ease}
.living-ring{padding:3px;background:conic-gradient(from var(--ring-angle,0deg),#9a4dff 0 18%,#fff 21%,#36d5ff 24% 44%,#5942ff 55% 100%);box-shadow:0 0 12px rgba(118,61,255,.65),0 0 20px rgba(54,202,255,.28);animation:anxira-ring 3.1s linear infinite}.living-ring:after{content:"";position:absolute;inset:-5px;border-radius:50%;background:conic-gradient(from var(--ring-angle,0deg),transparent 0 75%,rgba(255,255,255,.75) 81%,transparent 88%);filter:blur(3px);z-index:-1}.seen .living-ring{animation:none;background:linear-gradient(135deg,#b8adcf,#d6d2df);box-shadow:none}.living-ring.mini{position:relative;display:block;width:38px;height:38px;border-radius:50%;flex:none}.living-ring.mini img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #fff}@property --ring-angle{syntax:'<angle>';initial-value:0deg;inherits:false}@keyframes anxira-ring{to{--ring-angle:360deg}}@media(prefers-reduced-motion:reduce){.living-ring{animation:none}}
.capture-orb{position:relative;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#8d48ff,#30caff,#6532f5,#8d48ff);box-shadow:0 0 0 5px rgba(126,67,242,.10),0 0 24px rgba(104,59,245,.55);animation:capturePulse 2.2s ease-in-out infinite}.capture-orb:before{content:"";width:37px;height:37px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px rgba(103,53,225,.25)}.capture-orb i{position:absolute;inset:-3px;border-radius:50%;border:2px solid transparent;border-top-color:#fff;animation:orbit 2.6s linear infinite}.capture-orb.big{width:76px;height:76px}.capture-orb.big:before{width:56px;height:56px}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes capturePulse{50%{box-shadow:0 0 0 8px rgba(126,67,242,.08),0 0 32px rgba(66,185,255,.48)}}
.post-head{position:relative}.post-menu{position:absolute;right:12px;top:48px;z-index:12;display:none;min-width:160px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 16px 38px rgba(25,20,55,.18)}.post-menu.open{display:grid}.post-menu button{border:0;background:transparent;color:var(--text);text-align:left;padding:9px 10px;border-radius:8px;font-size:11px}.post-menu button:hover{background:var(--surface2);color:var(--purple)}.post-menu button.danger{color:#df365a}
.reaction-summary{border:0;background:transparent;color:var(--muted);display:flex;align-items:center;padding:0;font-size:10px}.reaction-summary img{width:23px;height:23px;margin-right:-6px;filter:drop-shadow(0 2px 3px rgba(45,30,80,.22))}.reaction-summary span{margin-left:10px}.react-wrap{position:relative;display:flex}.react-wrap>[data-react-main]{width:100%;display:flex;align-items:center;justify-content:center;gap:4px}.react-wrap>[data-react-main] img{width:23px;height:23px}.reaction-picker{display:none;position:absolute;left:0;bottom:45px;z-index:20;background:rgba(255,255,255,.96);border:1px solid rgba(115,82,191,.18);border-radius:23px;padding:5px 7px;box-shadow:0 18px 38px rgba(41,26,88,.2);backdrop-filter:blur(14px);gap:3px}.react-wrap:hover .reaction-picker,.reaction-picker:hover{display:flex}.reaction-picker button{border:0;background:transparent;padding:2px;position:relative;transition:.15s}.reaction-picker img{width:42px;height:42px;display:block;filter:drop-shadow(0 3px 5px rgba(43,25,80,.22))}.reaction-picker button:hover{transform:translateY(-8px) scale(1.13)}.reaction-picker span{position:absolute;bottom:48px;left:50%;transform:translateX(-50%);display:none;background:#181923;color:#fff;padding:3px 6px;border-radius:6px;font-size:8px;white-space:nowrap}.reaction-picker button:hover span{display:block}body.dark .reaction-picker{background:rgba(24,28,41,.96)}
.inline-comments{max-height:0;overflow:hidden;transition:max-height .32s ease}.inline-comments.expanded,.post:hover .inline-comments:has(.comment-item){max-height:1000px}.comment-list{padding:6px 12px 0}.comment-item{display:flex;gap:8px;margin:7px 0;align-items:flex-start}.comment-item.reply{margin-left:38px}.comment-item>img{width:31px;height:31px;border-radius:50%;object-fit:cover}.comment-bubble{background:var(--surface2);padding:7px 10px;border-radius:13px;max-width:85%;font-size:11px}.comment-bubble strong{display:block;font-size:10px}.comment-bubble span{display:block;margin-top:2px}.comment-bubble small{display:block;color:var(--muted);margin-top:4px}.comment-bubble small button{border:0;background:transparent;color:var(--purple);font-size:9px;padding:0}.comment-input-shell{flex:1;display:flex;align-items:center;border:1px solid var(--line);background:var(--surface2);border-radius:18px;padding-right:5px}.comment-input-shell input{border:0!important;background:transparent!important}.emoji-key{width:28px!important;height:28px!important;font-size:14px!important;color:var(--muted)!important}
.mobile-nav{display:none}.story-editor-toolbar{position:absolute;right:26px;top:100px;display:grid;gap:7px;z-index:4}.story-editor-toolbar button{width:57px;border:1px solid rgba(255,255,255,.42);background:rgba(20,20,28,.42);backdrop-filter:blur(10px);color:#fff;border-radius:14px;padding:7px 4px;font-size:17px}.story-editor-toolbar span{display:block;font-size:8px;margin-top:2px}.story-filter-tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow:auto}.story-filter-tabs button{border:0;background:transparent;color:var(--muted);padding:9px 11px;font-size:9px}.story-filter-tabs button.active{color:var(--purple);border-bottom:2px solid var(--purple)}
.story-viewer-modal{backdrop-filter:blur(10px)}.viewer{box-shadow:0 30px 90px rgba(0,0,0,.55);border:1px solid rgba(144,91,255,.35)}.story-progress{position:absolute;top:10px;left:12px;right:12px;height:3px;background:rgba(255,255,255,.24);z-index:5;border-radius:4px;overflow:hidden}.story-progress i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#9646ff,#35d7ff,#fff);transform-origin:left;animation:storyProgress 8s linear forwards}@keyframes storyProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}.viewer-head{position:absolute;top:20px;left:12px;right:12px;z-index:6;display:flex;align-items:center;gap:8px;color:#fff}.viewer-head>div{flex:1;text-shadow:0 2px 8px #000}.viewer-head strong,.viewer-head small{display:block}.viewer-head small{font-size:9px;opacity:.8}.viewer-owner-menu{border:0;background:rgba(0,0,0,.35);color:#fff;padding:6px 9px;border-radius:9px}.viewer-head .close-modal{position:static}.action-dialog{width:min(420px,94vw);padding:22px}.action-dialog strong{font-size:18px}.action-dialog p{color:var(--muted);font-size:12px}.action-dialog>div{display:flex;justify-content:flex-end;gap:8px}.btn-danger{background:#e8375d;color:#fff;border:0}.anxira-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;z-index:200;background:#171925;color:#fff;padding:10px 16px;border-radius:12px;font-size:11px;box-shadow:0 12px 30px rgba(0,0,0,.25);transition:.2s}.anxira-toast.show{opacity:1;transform:translate(-50%,0)}.anxira-toast.bad{background:#a92543}
@media(max-width:800px){body{padding-bottom:72px}.topbar{position:sticky}.mobile-nav{position:fixed;left:0;right:0;bottom:0;height:66px;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.97);border-top:1px solid var(--line);backdrop-filter:blur(16px);padding-bottom:env(safe-area-inset-bottom)}body.dark .mobile-nav{background:rgba(15,18,27,.97)}.mobile-nav a,.mobile-nav button{border:0;background:transparent;color:var(--muted);display:grid;place-items:center;align-content:center;gap:2px;font-size:20px}.mobile-nav b{font-size:9px;font-weight:600}.mobile-nav .active{color:var(--purple)}.mobile-nav button span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#8c46ff,#5f26df);color:white;font-size:25px;margin-top:-18px;box-shadow:0 8px 18px rgba(113,58,229,.35)}.mobile-nav img{width:28px;height:28px;border-radius:50%;object-fit:cover;border:2px solid var(--purple)}.reaction-picker{position:fixed;left:50%;bottom:78px;transform:translateX(-50%);max-width:96vw}.reaction-picker img{width:38px;height:38px}.react-wrap:focus-within .reaction-picker{display:flex}.inline-comments{max-height:0}.inline-comments.expanded{max-height:1200px}.story-card{width:100px;height:154px}.story-avatar{width:34px;height:34px}.story-create{width:100%;height:100%;max-height:none;border-radius:0;overflow:auto;padding-bottom:80px}.modal#storyModal{padding:0}.story-drop>div{height:60vh;min-height:390px}.story-editor-toolbar{right:20px;top:110px}.story-filter-strip{padding-bottom:5px}.viewer{width:100vw;height:100dvh;border-radius:0}.story-viewer-modal{padding:0}.post-actions{grid-template-columns:repeat(5,1fr)}.post-actions button{font-size:10px}.post-actions button:nth-child(5){display:block}.post-meta{font-size:9px}.center-col{padding-bottom:8px}}
.reaction-picker.mobile-open{display:flex}

/* === ANXIRA 0.3 interaction + Story Studio refinement === */
.verified-badge{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important;display:inline-block!important;vertical-align:-4px!important;object-fit:contain!important;border:0!important;border-radius:0!important;margin-left:4px!important;box-shadow:none!important;background:transparent!important}
.identity h1>.verified-badge,.post-head strong>.verified-badge,.rail-user strong>.verified-badge{width:18px!important;height:18px!important;position:static!important;transform:none!important}
.rail-user strong{display:flex!important;align-items:center;gap:3px;min-width:0}.rail-user strong .verified-badge{flex:0 0 16px!important;width:16px!important;height:16px!important;margin-left:1px!important}

/* Reactions: always a single premium floating row on desktop */
.post-actions{overflow:visible}.post{overflow:visible}.post-media,.signal-body,.post-meta,.inline-comments{position:relative;z-index:1}.react-wrap{position:relative;min-width:0}.reaction-picker{display:none!important;position:absolute!important;left:0!important;bottom:calc(100% + 10px)!important;width:max-content!important;min-width:max-content!important;max-width:none!important;flex-direction:row!important;align-items:flex-end!important;gap:5px!important;padding:7px 9px!important;border-radius:28px!important;white-space:nowrap!important;background:rgba(255,255,255,.98)!important;box-shadow:0 16px 44px rgba(35,22,81,.28)!important;transform:none!important;z-index:80!important}
body.dark .reaction-picker{background:rgba(22,26,39,.98)!important}.react-wrap:hover .reaction-picker,.reaction-picker:hover,.reaction-picker.mobile-open{display:flex!important}.reaction-picker button{display:grid!important;place-items:center!important;width:46px!important;min-width:46px!important;padding:0!important;background:transparent!important;overflow:visible!important}.reaction-picker img{width:42px!important;height:42px!important;max-width:none!important;display:block!important}.reaction-picker span{bottom:51px!important}.reaction-summary{min-height:28px}.reaction-summary:has(.reaction-count:first-child){display:none}.reaction-summary img{width:23px!important;height:23px!important;max-width:23px!important}

/* Desktop Signal Stories: larger premium cards and genuinely living borders */
@media(min-width:801px){
 .story-row{gap:12px;padding:10px 16px 18px}.story-card{width:132px;height:198px;border:0!important;border-radius:18px;box-shadow:0 12px 30px rgba(37,23,83,.14);overflow:hidden}.story-card.create{border:1px solid var(--line)!important}.premium-story{background:#11131c!important;padding:3px;isolation:isolate}.premium-story::before{content:"";position:absolute;z-index:0;inset:-75%;background:conic-gradient(from 0deg,#24d9ff,transparent 14%,#7b43ff 31%,#ff73df 49%,transparent 64%,#38cbff 83%,#8c4cff);animation:story-border-orbit 5.2s linear infinite;opacity:.95}.premium-story.seen::before{animation:none;opacity:.32;background:conic-gradient(#aeb5c8,#c8bfdc,#aeb5c8)}.premium-story .story-media{position:absolute;z-index:1;inset:3px;border-radius:15px;overflow:hidden;width:auto;height:auto}.premium-story:after{z-index:2;inset:3px;border-radius:15px}.premium-story>strong,.premium-story>small,.premium-story>.story-avatar{z-index:4}.story-avatar{top:10px;left:10px;width:39px;height:39px;padding:0;background:transparent!important;overflow:visible}.story-avatar img{position:relative;z-index:3;width:100%;height:100%;border:3px solid #fff}.story-card>strong{bottom:30px;font-size:13px}.story-card>small{bottom:12px;font-size:10px}
 .story-shell{overflow:visible}.story-row{overflow-x:auto;overflow-y:visible}
}
@keyframes story-border-orbit{to{transform:rotate(360deg)}}
.living-ring{background:transparent!important;box-shadow:none!important;animation:none!important;overflow:visible;isolation:isolate}.living-ring::before{content:"";position:absolute;z-index:0;inset:-5px;border-radius:50%;background:conic-gradient(#953dff 0 17%,#fff 21%,#29d9ff 25% 40%,#5146ff 52% 78%,#e75bff 92%);animation:living-ring-spin 3s linear infinite;box-shadow:0 0 11px rgba(127,64,255,.8),0 0 22px rgba(45,202,255,.38)}.living-ring::after{content:"";position:absolute;z-index:1;inset:-9px;border-radius:50%;border:2px solid transparent;border-top-color:rgba(255,255,255,.95);filter:drop-shadow(0 0 5px #55dfff);animation:living-ring-spin 1.95s linear infinite}.living-ring img{position:relative;z-index:2}.seen .living-ring::before{animation:none;background:linear-gradient(135deg,#a9aabc,#d8d2e1);box-shadow:0 0 8px rgba(155,146,175,.3)}.seen .living-ring::after{display:none}@keyframes living-ring-spin{to{transform:rotate(360deg)}}

/* Story studio */
.story-create.premium-editor{width:min(720px,97vw)}.story-preview-stage{position:relative!important}.story-preview-stage>img,.story-preview-stage>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}.story-text-layer{position:absolute;z-index:7;left:50%;top:50%;transform:translate(-50%,-50%);max-width:86%;padding:6px 10px;border-radius:9px;color:#fff;font:700 36px/1.12 Inter,Segoe UI,sans-serif;text-align:center;white-space:pre-wrap;word-break:break-word;text-shadow:0 2px 8px rgba(0,0,0,.45);cursor:move;user-select:none;touch-action:none}.story-text-layer[hidden]{display:none!important}.story-control-panel{border:1px solid var(--line);background:var(--surface2);border-radius:14px;padding:10px;margin:9px 0}.text-panel-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.text-panel-row+ .text-panel-row{margin-top:8px}.text-panel-row input[type=text]{flex:1;min-width:220px}.text-panel-row select{border:1px solid var(--line);background:var(--surface);color:var(--text);padding:8px;border-radius:9px}.text-panel-row label{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted)}.text-panel-row input[type=color]{width:34px;height:28px;border:0;background:transparent;padding:0}.text-panel-row input[type=range]{width:110px}.story-control-panel>small{display:block;margin-top:7px;color:var(--muted);font-size:9px}.story-effect-layer{position:absolute;z-index:5;inset:0;pointer-events:none;border-radius:inherit;overflow:hidden}.story-effect-layer.effect-sparkle{background-image:radial-gradient(circle at 14% 20%,rgba(255,255,255,.92) 0 1px,transparent 2px),radial-gradient(circle at 82% 28%,rgba(210,174,255,.95) 0 2px,transparent 3px),radial-gradient(circle at 48% 72%,rgba(255,255,255,.85) 0 1px,transparent 2px),radial-gradient(circle at 69% 55%,rgba(92,224,255,.88) 0 1.5px,transparent 3px);background-size:90px 90px,140px 140px,110px 110px,160px 160px;animation:sparkle-drift 6s linear infinite}.story-effect-layer.effect-lightleak{background:linear-gradient(120deg,rgba(255,92,141,.0) 20%,rgba(255,89,177,.28) 44%,rgba(255,190,83,.32) 55%,transparent 73%);mix-blend-mode:screen}.story-effect-layer.effect-neonframe{box-shadow:inset 0 0 0 4px #7e38ff,inset 0 0 18px #26d8ff,0 0 16px #7937ff}.story-effect-layer.effect-crystal{background:radial-gradient(circle at 82% 70%,rgba(142,62,255,.25),transparent 20%),linear-gradient(135deg,transparent 55%,rgba(40,220,255,.12) 72%,rgba(146,60,255,.18));mix-blend-mode:screen}@keyframes sparkle-drift{to{background-position:90px 60px,-120px 80px,70px -100px,-90px -60px}}.viewer{isolation:isolate}.viewer #viewerContent{position:absolute;inset:0;z-index:1}.viewer-effect{z-index:2}.viewer-story-text{z-index:5}.viewer-head,.viewer-reply,.story-progress{z-index:8}.effect-strip button{min-width:max-content}
@media(max-width:800px){.reaction-picker{left:50%!important;bottom:78px!important;transform:translateX(-50%)!important;position:fixed!important;max-width:96vw!important;min-width:0!important}.reaction-picker button{width:43px!important;min-width:43px!important}.story-create.premium-editor{width:100%;height:100%;max-height:none}.story-text-layer{font-size:34px}.story-avatar{overflow:visible}}
@media(prefers-reduced-motion:reduce){.premium-story::before,.living-ring::before,.living-ring::after,.story-effect-layer.effect-sparkle{animation:none!important}}


/* === ANXIRA 0.3.1 desktop Story carousel + cache-safe Story Studio === */
.story-carousel{position:relative;display:flex;align-items:center;min-width:0}.story-nav{display:none}
@media(min-width:801px){
  .story-shell{overflow:visible!important;padding-bottom:2px}
  .story-carousel{padding:2px 44px 4px}
  .story-row{overflow-x:auto!important;overflow-y:visible!important;scrollbar-width:none!important;-ms-overflow-style:none!important;scroll-behavior:smooth!important;gap:14px!important;padding:12px 4px 20px!important;width:100%}
  .story-row::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  .story-nav{display:grid;place-items:center;position:absolute;z-index:30;top:50%;transform:translateY(-50%);width:34px;height:62px;border-radius:18px;border:1px solid rgba(122,53,242,.22);background:rgba(255,255,255,.92);color:#7133e8;font-size:31px;font-weight:300;box-shadow:0 10px 28px rgba(60,31,128,.16),0 0 0 1px rgba(255,255,255,.55) inset;backdrop-filter:blur(12px);transition:.18s ease}
  body.dark .story-nav{background:rgba(23,26,38,.94);color:#b994ff;border-color:rgba(158,102,255,.3)}
  .story-nav:hover{transform:translateY(-50%) scale(1.06);box-shadow:0 12px 32px rgba(98,47,205,.25),0 0 18px rgba(123,67,255,.18);background:#fff}
  body.dark .story-nav:hover{background:#1d2230}
  .story-nav-prev{left:7px}.story-nav-next{right:7px}.story-nav.is-disabled{opacity:.25;pointer-events:none}
  .story-card{width:142px!important;height:214px!important;border-radius:20px!important}
  .premium-story{padding:4px!important;background:linear-gradient(#11131c,#11131c) padding-box,conic-gradient(from 0deg,#49e7ff,#7747ff,#ff5fd7,#7a35f2,#45dfff) border-box!important;border:3px solid transparent!important;box-shadow:0 14px 34px rgba(52,31,116,.18),0 0 20px rgba(118,53,242,.18)!important;overflow:hidden!important}
  .premium-story::before{content:""!important;position:absolute!important;z-index:0!important;inset:-65%!important;background:conic-gradient(from 0deg,transparent 0 70%,rgba(255,255,255,.98) 75%,#57e7ff 79%,#7d42ff 86%,transparent 92%)!important;animation:story-border-orbit 3.6s linear infinite!important;opacity:1!important;filter:blur(.2px)}
  .premium-story.unseen{box-shadow:0 14px 34px rgba(52,31,116,.18),0 0 16px rgba(116,57,255,.33),0 0 30px rgba(47,204,255,.15)!important}
  .premium-story.seen{border-color:rgba(161,153,184,.48)!important;background:#11131c!important;box-shadow:0 12px 28px rgba(30,24,60,.10)!important}
  .premium-story.seen::before{display:none!important}
  .premium-story .story-media{inset:4px!important;border-radius:15px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
  .premium-story::after{inset:4px!important;border-radius:15px!important}
  .story-avatar{width:45px!important;height:45px!important;top:12px!important;left:12px!important}
  .living-ring::before{inset:-6px!important;animation:living-ring-spin 2.8s linear infinite!important;box-shadow:0 0 12px rgba(127,64,255,.95),0 0 24px rgba(45,202,255,.52)!important}
  .living-ring::after{inset:-10px!important;animation:living-ring-spin 1.8s linear infinite!important}
}

/* Make the Story Text tool unmistakably interactive */
#storyTextTool{position:relative;z-index:20}
#storyTextTool.is-active{background:linear-gradient(135deg,#8c46ff,#5f26df)!important;color:#fff!important;box-shadow:0 8px 20px rgba(111,55,229,.26)}
#storyTextPanel:not([hidden]){display:block!important;animation:storyPanelIn .18s ease both}
@keyframes storyPanelIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.story-text-layer.is-editing{outline:1px dashed rgba(255,255,255,.7);box-shadow:0 0 0 5px rgba(121,55,242,.16),0 8px 30px rgba(0,0,0,.18)}

/* === ANXIRA 0.3.2 interaction polish === */
/* Desktop reaction tray: click/hover stays reachable */
.react-wrap{position:relative;overflow:visible!important}
.react-wrap::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:14px;pointer-events:auto}
.reaction-picker{bottom:calc(100% + 2px)!important}
.react-wrap:hover .reaction-picker,.reaction-picker:hover,.reaction-picker.hover-hold,.reaction-picker.desktop-open,.reaction-picker.mobile-open{display:flex!important}

/* Unicode emoji picker for desktop comments */
.comment-input-shell{position:relative;display:flex;align-items:center;flex:1;min-width:0}
.comment-input-shell>input{width:100%;padding-right:38px!important}
.comment-input-shell .emoji-key{position:absolute;right:7px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:var(--purple);font-size:17px;z-index:4}
.unicode-emoji-picker{position:absolute;right:0;bottom:calc(100% + 8px);z-index:90;width:278px;max-width:80vw;display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding:10px;border:1px solid rgba(121,55,242,.18);border-radius:15px;background:rgba(255,255,255,.98);box-shadow:0 18px 48px rgba(32,21,70,.22);backdrop-filter:blur(16px)}
body.dark .unicode-emoji-picker{background:rgba(22,26,38,.98);border-color:rgba(164,111,255,.24)}
.unicode-emoji-picker[hidden]{display:none!important}
.unicode-emoji{border:0!important;background:transparent!important;border-radius:9px!important;padding:5px!important;font-size:23px!important;line-height:1!important;height:34px!important}
.unicode-emoji:hover{background:var(--purple-soft,#f1ebff)!important;transform:scale(1.1)}

/* Story media selection: photo itself never reopens chooser */
.story-drop{display:block;margin:14px 0}
.story-preview-stage{overflow:hidden}
.story-upload-prompt{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;cursor:pointer;text-align:center;border:1px dashed #b9add5;border-radius:18px}
.story-upload-prompt[hidden]{display:none!important}
.story-selected-media{pointer-events:none;user-select:none}
.story-media-controls{position:absolute;z-index:15;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;pointer-events:none}
.story-media-controls[hidden]{display:none!important}
.story-media-controls button{pointer-events:auto;border:1px solid rgba(255,255,255,.26);background:rgba(12,14,22,.62);color:#fff;border-radius:19px;padding:8px 12px;font-size:10px;font-weight:800;backdrop-filter:blur(14px);box-shadow:0 6px 18px rgba(0,0,0,.18)}
.story-media-controls button:hover{background:rgba(111,53,237,.88);border-color:rgba(255,255,255,.46)}

/* Text is edited on-canvas; style panel contains styling controls only */
.story-text-hint{font-size:11px;color:var(--text);margin-right:auto}
.story-text-done{border:0;border-radius:9px;padding:7px 12px;background:linear-gradient(135deg,#8541fb,#6427da);color:#fff;font-size:10px;font-weight:800}
.story-text-layer{min-width:24px;min-height:1.15em;outline:none}
.story-text-layer[contenteditable="true"]{cursor:text!important;user-select:text!important;touch-action:auto!important;caret-color:#fff;outline:1px dashed rgba(255,255,255,.78);box-shadow:0 0 0 5px rgba(121,55,242,.18),0 8px 30px rgba(0,0,0,.2)}
.story-text-layer[contenteditable="true"]:empty::before{content:"Type here…";color:rgba(255,255,255,.72);font-weight:600}

/* Slimmer living Story ring on phones; keep the animation, reduce thickness */
@media(max-width:800px){
  .living-ring::before{inset:-3px!important;box-shadow:0 0 8px rgba(127,64,255,.72),0 0 14px rgba(45,202,255,.28)!important}
  .living-ring::after{inset:-6px!important;border-width:1px!important;filter:drop-shadow(0 0 3px #55dfff)!important}
  .story-avatar img{border-width:2px!important}
  .unicode-emoji-picker{position:fixed;left:12px;right:12px;bottom:78px;width:auto;max-width:none;grid-template-columns:repeat(8,1fr)}
}

/* 0.3.3 persistent-login control */
.login-panel .remember-device{display:flex;align-items:flex-start;gap:11px;padding:12px 13px;border:1px solid #e1e2eb;border-radius:12px;background:#f8f8fc;cursor:pointer;font-size:13px;font-weight:500}.login-panel .remember-device input{width:18px;height:18px;margin:1px 0 0;accent-color:#7b36ef;flex:0 0 auto}.login-panel .remember-device span{display:grid;gap:2px}.login-panel .remember-device strong{font-size:13px;color:#252737}.login-panel .remember-device small{font-size:11px;color:#777d8f;font-weight:400;line-height:1.35}


/* =========================================================
   ANXIRA NETWORK 0.4 — MESSAGING / NOTES / DAY + NIGHT CHAT
   ========================================================= */
.messages-page{overflow:hidden}
.messages-page .topbar{position:sticky;top:0;z-index:60}
.messenger-shell{height:calc(100vh - 74px);display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr) 300px;gap:14px;padding:14px;max-width:1600px;margin:0 auto}
.chat-hub,.chat-conversation,.chat-info{min-height:0;border-radius:22px;overflow:hidden}
.chat-hub{display:flex;flex-direction:column;padding:18px}
.chat-hub-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.chat-hub-head h1{font-size:28px;line-height:1;margin:4px 0 0}
.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:900;color:var(--purple)}
.new-chat-button{width:44px;height:44px;border:0;border-radius:15px;background:linear-gradient(145deg,#8247ff,#5525d4);color:#fff;font-size:26px;box-shadow:0 9px 24px rgba(111,53,237,.28)}
.notes-heading,.friends-row-head{display:flex;align-items:center;justify-content:space-between;margin:10px 2px 7px}
.notes-heading strong,.friends-row-head strong{font-size:13px}
.notes-heading button{border:0;background:transparent;color:var(--purple);font-weight:800}
.friends-row-head span{font-size:10px;color:var(--muted)}
.notes-strip,.chat-friends-strip{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding:9px 2px 12px;scroll-snap-type:x proximity}
.notes-strip::-webkit-scrollbar,.chat-friends-strip::-webkit-scrollbar{display:none}
.note-person,.friend-orb{border:0;background:transparent;flex:0 0 70px;display:grid;justify-items:center;gap:5px;color:var(--text);padding:0}
.note-person{flex-basis:78px}
.note-bubble{height:44px;max-width:76px;padding:7px 9px;border-radius:14px 14px 14px 5px;background:linear-gradient(145deg,#fff,#f5f2ff);border:1px solid rgba(119,60,238,.22);box-shadow:0 8px 18px rgba(71,44,132,.10);font-size:9px;line-height:1.2;display:grid;place-items:center;text-align:center;color:#5c5570;overflow:hidden}
body.dark .note-bubble{background:linear-gradient(145deg,#242131,#171924);color:#ddd9ee;border-color:rgba(151,92,255,.32)}
.note-avatar,.friend-orb .living-ring{width:54px;height:54px}
.note-person b,.friend-orb b{font-size:10px;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.living-ring.slim::before,.conversation-avatar.living-ring::before,.note-avatar.living-ring::before{inset:-3px!important}
.living-ring.slim::after,.conversation-avatar.living-ring::after,.note-avatar.living-ring::after{inset:-6px!important;filter:blur(7px)!important;opacity:.34!important}
.conversation-search,.new-chat-search{height:43px;border-radius:15px;background:var(--surface-2);border:1px solid var(--line);display:flex;align-items:center;gap:8px;padding:0 13px;color:var(--muted)}
.conversation-search input,.new-chat-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}
.conversation-list{overflow-y:auto;margin-top:10px;padding-right:3px}
.conversation-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px;text-decoration:none;color:var(--text);padding:11px 9px;border-radius:15px;transition:.15s ease}
.conversation-row:hover,.conversation-row.active{background:linear-gradient(90deg,var(--purple-soft),transparent)}
.messages-page .friend-orb[hidden],.messages-page .conversation-row[hidden]{display:none!important}
.message-search-summary{margin:-3px 8px 5px;padding:0 7px;color:var(--muted);font-size:12px;font-weight:700}
.message-search-summary:not([hidden]){display:block}

/* === ANXIRA 0.8.1.3.0 PUBLISHER STUDIO === */
.publisher-launch,.publisher-composer-entry{color:#c9a8ff!important;font-weight:850!important;background:linear-gradient(135deg,rgba(88,218,255,.1),rgba(116,55,255,.16))!important;border-color:rgba(116,55,255,.35)!important}.publisher-composer-entry span{color:#57d8ff;font-size:16px}
@media(max-width:800px){.composer-tools .publisher-composer-entry{display:inline-flex!important;align-items:center!important;order:3!important}}
body.publisher-open{overflow:hidden}.publisher-studio{position:fixed;inset:0;z-index:2600;background:rgba(8,9,18,.72);backdrop-filter:blur(15px);padding:clamp(8px,2vw,24px);opacity:0;transition:.2s}.publisher-studio.open{opacity:1}.publisher-sheet{height:100%;max-width:1380px;margin:auto;background:var(--surface,#fff);border:1px solid rgba(116,55,255,.25);border-radius:26px;overflow:hidden;box-shadow:0 28px 90px rgba(16,10,45,.4);display:flex;flex-direction:column}.publisher-head{height:74px;display:flex;align-items:center;gap:14px;padding:0 22px;border-bottom:1px solid var(--border);background:linear-gradient(90deg,rgba(116,55,255,.08),transparent)}.publisher-head>button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:13px;padding:10px 17px;font-weight:800}.publisher-head>button:first-child{font-size:24px;padding:5px 13px}.publisher-head div{margin-right:auto}.publisher-head span,.publisher-kicker{font-size:10px;letter-spacing:.2em;color:#7437ff;font-weight:900}.publisher-head h2{margin:2px 0 0;font-size:21px}.publisher-head .publisher-publish{color:#fff;border:0;background:linear-gradient(135deg,#5d2bec,#8c3cff);box-shadow:0 8px 22px rgba(116,55,255,.35)}
.publisher-mobile-entry{display:none}
.publisher-layout{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:0;flex:1}.publisher-templates{padding:22px 14px;background:color-mix(in srgb,var(--surface) 88%,#7437ff 12%);border-right:1px solid var(--border);overflow:auto}.publisher-templates>.eyebrow{display:block;padding:0 9px 12px}.publisher-templates button{width:100%;display:grid;grid-template-columns:32px 1fr;text-align:left;gap:1px 8px;border:1px solid transparent;background:transparent;color:var(--text);border-radius:15px;padding:11px;margin-bottom:7px}.publisher-templates button i{grid-row:1/3;font-size:22px;color:#7437ff;font-style:normal}.publisher-templates button b{font-size:13px}.publisher-templates button small{color:var(--muted);font-size:10px}.publisher-templates button.active{background:var(--surface);border-color:rgba(116,55,255,.35);box-shadow:0 8px 24px rgba(50,30,110,.1)}.publisher-templates .publisher-settings{margin-top:22px;border-color:var(--border)}
.publisher-canvas{padding:clamp(22px,4vw,54px);max-width:900px;width:100%;margin:auto;overflow:auto}.publisher-title{display:block;width:100%;border:0;background:transparent;color:var(--text);font:900 clamp(30px,5vw,56px)/1.03 Georgia,serif;margin:12px 0 8px;outline:0}.publisher-subtitle{width:100%;border:0;resize:none;background:transparent;color:var(--muted);font:400 18px/1.5 Georgia,serif;min-height:64px;outline:0}.publisher-toolbar{position:sticky;top:-1px;z-index:4;display:flex;align-items:center;gap:5px;padding:8px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--surface) 93%,transparent);backdrop-filter:blur(12px);box-shadow:0 8px 25px rgba(30,20,70,.07)}.publisher-toolbar button,.publisher-toolbar label{min-width:36px;height:34px;border:0;border-radius:9px;background:transparent;color:var(--text);display:grid;place-items:center;font-weight:750}.publisher-toolbar button:hover{background:var(--purple-soft)}.publisher-toolbar input{width:24px;height:24px;border:0;background:transparent}.publisher-editor{min-height:380px;padding:30px 8px;color:var(--text);font:17px/1.8 Georgia,serif;outline:0}.publisher-editor:empty:before{content:attr(data-placeholder);color:var(--muted)}.publisher-editor h2{font-size:28px;line-height:1.2}.publisher-editor blockquote{border-left:4px solid #7437ff;margin:24px 0;padding:7px 22px;font-size:21px;color:var(--muted)}
.publisher-cover{border:1px dashed rgba(116,55,255,.4);border-radius:18px;padding:14px;margin:12px 0}.publisher-cover>label{display:flex;align-items:center;gap:11px;cursor:pointer}.publisher-cover>label span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(135deg,#46d8ff,#7d2cff);font-size:22px}.publisher-cover>label small{color:var(--muted);margin-left:auto}.publisher-cover [id=publisherCoverPreview]{position:relative;margin-top:14px}.publisher-cover [id=publisherCoverPreview] img{width:100%;max-height:360px;object-fit:cover;border-radius:14px}.publisher-cover [id=publisherCoverPreview] button{position:absolute;right:9px;top:9px;border:0;border-radius:50%;width:34px;height:34px}.publisher-image-options{display:flex;gap:8px;margin-top:12px}.publisher-image-options>*{flex:1;border:1px solid var(--border);border-radius:11px;padding:10px;background:var(--surface);color:var(--text)}.publisher-byline{display:grid;grid-template-columns:1fr 1.4fr;gap:18px;align-items:center;border-top:1px solid var(--border);padding:22px 0}.publisher-byline div{display:flex;flex-direction:column;gap:4px}.publisher-byline small{color:#7437ff;font-weight:900;letter-spacing:.14em}.publisher-byline span{color:var(--muted)}.publisher-byline textarea{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;padding:12px;resize:vertical}.publisher-final{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:12px}.publisher-final select{padding:9px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text)}.publisher-final span:last-child{margin-left:auto}
.publisher-identity,.publisher-preview{position:absolute;inset:0;z-index:8;background:rgba(6,7,15,.62);backdrop-filter:blur(8px);display:grid;place-items:center;padding:18px}.publisher-identity[hidden],.publisher-preview[hidden]{display:none}.publisher-identity section{width:min(520px,100%);background:var(--surface);padding:24px;border-radius:22px;border:1px solid rgba(116,55,255,.35);box-shadow:0 30px 80px rgba(0,0,0,.3)}.publisher-identity header{display:flex;justify-content:space-between}.publisher-identity header button,.publisher-preview>section>button{border:0;background:transparent;color:var(--text);font-size:28px}.publisher-identity label{display:grid;gap:6px;margin:13px 0;font-weight:750}.publisher-identity input,.publisher-identity textarea{border:1px solid var(--border);border-radius:11px;padding:11px;background:var(--surface);color:var(--text)}.publisher-preview>section{width:min(820px,100%);max-height:92vh;overflow:auto;background:var(--surface);border-radius:22px;padding:18px 34px}.publisher-preview>section>button{float:right}.publisher-reading{--article-accent:#7437ff;padding:30px}.publisher-reading>span{color:var(--article-accent);font-weight:900;letter-spacing:.16em}.publisher-reading h1{font:900 clamp(34px,6vw,60px)/1.05 Georgia,serif}.publisher-reading h2{font:400 21px/1.5 Georgia,serif;color:var(--muted)}.publisher-reading-byline{border-block:1px solid var(--border);padding:15px 0;margin:22px 0}.publisher-reading-body{font:18px/1.8 Georgia,serif}.publisher-reading footer{margin-top:35px;padding-top:18px;border-top:2px solid var(--article-accent)}
.publisher-feed-card{display:block;margin:12px 0 4px;border:1px solid var(--border);border-radius:20px;overflow:hidden;color:var(--text);text-decoration:none;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 90%,var(--article-accent) 10%))}.publisher-feed-cover{width:100%;aspect-ratio:16/8;object-fit:cover}.publisher-feed-copy{padding:22px}.publisher-feed-copy>span{color:var(--article-accent);font-size:10px;font-weight:900;letter-spacing:.16em}.publisher-feed-copy h2{font:900 clamp(25px,4vw,38px)/1.08 Georgia,serif;margin:8px 0}.publisher-feed-copy p{color:var(--muted);line-height:1.55}.publisher-feed-copy footer{display:flex;justify-content:space-between;margin-top:16px;font-size:12px;font-weight:800}
.publisher-feed-card{--article-background:#1C153E;background:var(--article-background)!important;color:#fff!important}.publisher-feed-copy{position:relative;background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--article-accent) 20%,transparent),transparent 45%),linear-gradient(145deg,var(--article-background),color-mix(in srgb,var(--article-background) 88%,#000 12%));border-left:4px solid var(--article-accent)}.publisher-feed-copy h2,.publisher-feed-copy footer{color:#fff!important}.publisher-feed-copy p{color:rgba(242,238,255,.66)!important}
.publisher-card-colors{display:grid;grid-template-columns:minmax(150px,1fr) auto;gap:16px;align-items:center;margin:16px 0;padding:15px;border:1px solid var(--border);border-radius:16px;background:var(--surface2)}.publisher-card-colors b,.publisher-card-colors small{display:block}.publisher-card-colors small{color:var(--muted);font-size:10px;margin-top:3px}.publisher-color-cards{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.publisher-color-cards>button,.publisher-custom-color{width:46px;height:38px;border:2px solid transparent;border-radius:12px;background:var(--swatch);box-shadow:inset 0 1px rgba(255,255,255,.18),0 5px 12px rgba(8,8,20,.16);cursor:pointer;position:relative}.publisher-color-cards>button.active{border-color:#fff;outline:3px solid #7437ff;transform:translateY(-2px)}.publisher-custom-color{display:grid;place-items:center;background:linear-gradient(135deg,#43d9ff,#7833f4,#ee3ac6);color:#fff;font-size:20px;overflow:hidden}.publisher-custom-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.publisher-preview-card{padding:32px;border-radius:20px;background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--article-accent) 20%,transparent),transparent 45%),linear-gradient(145deg,var(--article-background,#1C153E),color-mix(in srgb,var(--article-background,#1C153E) 88%,#000 12%));color:#fff;border-left:4px solid var(--article-accent)}.publisher-preview-card>span{color:var(--article-accent);font-weight:900;letter-spacing:.16em}.publisher-preview-card h1{color:#fff}.publisher-preview-card h2{color:rgba(242,238,255,.66)}.publisher-preview-card .publisher-reading-byline{border-color:rgba(255,255,255,.14)}
@media(max-width:720px){.publisher-mobile-entry{position:fixed;right:16px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:1250;display:flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.25);border-radius:18px;padding:10px 15px;color:#fff;background:linear-gradient(135deg,#2ccfff 0%,#7134f5 55%,#a42df2 100%);box-shadow:0 12px 32px rgba(88,42,220,.42),inset 0 1px rgba(255,255,255,.28);font-weight:900;letter-spacing:.01em}.publisher-mobile-entry span{font-size:19px}.publisher-mobile-entry b{font-size:12px}.publisher-open .publisher-mobile-entry{display:none}.publisher-studio{padding:0}.publisher-sheet{border-radius:0;border:0}.publisher-head{height:66px;padding:0 12px}.publisher-head div span{display:none}.publisher-head h2{font-size:17px}.publisher-head>button{padding:8px 10px}.publisher-layout{display:block;overflow:auto}.publisher-templates{display:flex;gap:7px;border:0;border-bottom:1px solid var(--border);padding:10px;overflow-x:auto}.publisher-templates>.eyebrow{display:none}.publisher-templates button{flex:0 0 112px;display:flex;flex-direction:column;margin:0;padding:10px}.publisher-templates button i{font-size:18px}.publisher-templates .publisher-settings{margin:0}.publisher-canvas{overflow:visible;padding:24px 18px}.publisher-toolbar{overflow-x:auto}.publisher-editor{min-height:330px}.publisher-image-options,.publisher-byline{grid-template-columns:1fr;display:grid}.publisher-final{flex-wrap:wrap}.publisher-final span:last-child{margin-left:0}}
@media(max-width:720px){.publisher-card-colors{grid-template-columns:1fr}.publisher-color-cards{justify-content:flex-start}.publisher-color-cards>button,.publisher-custom-color{width:42px;height:36px}}
.article-page{background:var(--bg);color:var(--text);min-height:100vh}.article-top{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,4vw,46px);border-bottom:1px solid var(--border);background:var(--surface);position:sticky;top:0;z-index:5}.article-top>a:first-child{color:var(--text);text-decoration:none;font-weight:800}.article-top .brand img{height:52px;width:auto}.article-top button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;padding:9px 13px}.article-shell{max-width:920px;margin:auto;padding:clamp(28px,6vw,72px) 20px}.article-publication{background:var(--surface);border:1px solid var(--border);border-radius:28px;padding:clamp(24px,6vw,74px);box-shadow:0 22px 70px rgba(25,18,55,.1)}.article-label{color:var(--article-accent);font-size:11px;letter-spacing:.18em;font-weight:900}.article-publication h1{font:900 clamp(38px,7vw,72px)/1.03 Georgia,serif;margin:15px 0}.article-deck{font:400 clamp(18px,3vw,24px)/1.5 Georgia,serif;color:var(--muted)}.article-author{display:flex;align-items:center;gap:12px;padding:20px 0;margin:22px 0;border-block:1px solid var(--border)}.article-author img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid var(--article-accent)}.article-author div{display:flex;flex-direction:column}.article-author span{color:var(--muted);font-size:12px}.article-hero{margin:28px 0}.article-hero img{width:100%;max-height:580px;object-fit:cover;border-radius:20px}.article-hero figcaption{color:var(--muted);font-size:11px;margin-top:7px}.article-content{font:18px/1.85 Georgia,serif}.article-content h2{font-size:32px;line-height:1.2;margin-top:38px}.article-content blockquote{border-left:5px solid var(--article-accent);margin:30px 0;padding:10px 25px;color:var(--muted);font-size:22px}.article-footer{margin-top:48px;border-top:3px solid var(--article-accent);padding-top:22px;color:var(--muted)}
.conversation-avatar{width:48px;height:48px;display:block}
.conversation-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.conversation-copy{min-width:0}
.conversation-copy strong{display:flex;align-items:center;gap:5px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conversation-copy small{display:block;color:var(--muted);font-size:11px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conversation-meta{display:grid;justify-items:end;gap:7px}
.conversation-meta time{font-size:9px;color:var(--muted)}
.conversation-meta b{min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--purple);color:#fff;font-size:9px;display:grid;place-items:center}
.empty-chat-list{padding:30px 10px;color:var(--muted);text-align:center;font-size:12px}
.chat-conversation{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;background:
radial-gradient(circle at 15% 15%,rgba(126,68,245,.06),transparent 24%),var(--surface)}
.chat-conversation.empty{place-items:center;display:grid}
.chat-empty-state{text-align:center;max-width:370px;padding:35px}
.chat-empty-state img{width:96px;height:96px;object-fit:cover;border-radius:26px;box-shadow:0 0 35px rgba(116,57,240,.25)}
.chat-empty-state h2{margin:18px 0 7px}.chat-empty-state p{color:var(--muted)}
.conversation-head{min-height:76px;padding:10px 15px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(16px)}
.conversation-person{display:flex;align-items:center;gap:11px;min-width:0;text-decoration:none;color:var(--text);flex:1}
.conversation-person .conversation-avatar{width:48px;height:48px}
.conversation-person strong{display:flex;align-items:center;gap:5px;font-size:14px}
.conversation-person small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;margin-top:4px}
.conversation-person small i{width:7px;height:7px;border-radius:50%;background:#27ce78;box-shadow:0 0 10px rgba(39,206,120,.8)}
.conversation-actions{display:flex;gap:6px}
.conversation-actions button{width:38px;height:38px;border-radius:50%;border:1px solid rgba(126,68,245,.25);background:var(--purple-soft);color:var(--purple);font-size:16px}
.mobile-chat-back{display:none;text-decoration:none;color:var(--text);font-size:30px;padding:0 4px}
.message-stream{overflow-y:auto;padding:26px 22px 16px;scroll-behavior:smooth;background:
radial-gradient(circle at 80% 15%,rgba(52,142,255,.035),transparent 24%)}
.day-divider{display:flex;align-items:center;gap:10px;margin:0 0 24px;color:var(--muted);font-size:10px}
.day-divider:before,.day-divider:after{content:"";height:1px;background:var(--line);flex:1}
.message-line{display:flex;align-items:flex-end;gap:8px;margin:8px 0}
.message-line.mine{justify-content:flex-end}
.message-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;margin-bottom:18px}
.message-stack{max-width:min(72%,660px);display:grid;gap:4px}
.message-line.mine .message-stack{justify-items:end}
.message-bubble{position:relative;border-radius:19px;padding:11px 14px;line-height:1.42;font-size:13px;box-shadow:0 7px 18px rgba(25,24,45,.07);overflow:visible}
.message-line.theirs .message-bubble{
 background:linear-gradient(145deg,#eef6ff,#f8fbff);border:1px solid rgba(64,143,238,.28);color:#1b2940;
 box-shadow:0 5px 18px rgba(43,126,220,.09),0 0 14px rgba(51,140,255,.06)
}
.message-line.mine .message-bubble{
 background:linear-gradient(145deg,#efe8ff,#faf7ff);border:1px solid rgba(126,68,245,.34);color:#332358;
 box-shadow:0 5px 18px rgba(108,55,224,.12),0 0 15px rgba(129,73,244,.07)
}
.message-line.theirs .message-bubble:before,.message-line.mine .message-bubble:after{content:"";position:absolute;bottom:3px;width:10px;height:14px;background:inherit}
.message-line.theirs .message-bubble:before{left:-5px;clip-path:polygon(100% 0,100% 100%,0 100%)}
.message-line.mine .message-bubble:after{right:-5px;clip-path:polygon(0 0,100% 100%,0 100%)}
body.dark .message-line.theirs .message-bubble{background:linear-gradient(145deg,#18253a,#142032);border-color:rgba(55,155,255,.45);color:#eaf5ff;box-shadow:0 0 16px rgba(34,145,255,.13)}
body.dark .message-line.mine .message-bubble{background:linear-gradient(145deg,#2b1d46,#211631);border-color:rgba(153,85,255,.55);color:#f6edff;box-shadow:0 0 17px rgba(138,70,255,.16)}
.message-bubble em{color:var(--muted)}
.message-time{font-size:9px;color:var(--muted);padding:0 5px}
.read-check{color:#7e44f5;font-weight:900}
.chat-media{display:block;max-width:360px;width:100%;max-height:360px;object-fit:cover;border-radius:14px;margin-bottom:7px}
.message-composer{position:relative;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto auto;align-items:end;gap:8px;padding:11px 14px 13px;border-top:1px solid var(--line);background:var(--surface)}
.composer-icon,.voice-button,.chat-send{width:40px;height:40px;border:0;border-radius:50%;display:grid;place-items:center}
.composer-icon{color:var(--purple);background:var(--purple-soft);font-size:17px}
.voice-button{background:transparent;color:var(--muted)}
.chat-send{background:linear-gradient(145deg,#8650ff,#5426d6);color:#fff;box-shadow:0 6px 18px rgba(108,55,224,.25)}
.message-input-shell{position:relative;border:1px solid var(--line);background:var(--surface-2);border-radius:21px;min-height:42px}
.message-input-shell textarea{width:100%;min-height:40px;max-height:120px;resize:none;border:0;background:transparent;color:var(--text);outline:0;padding:11px 14px 8px;display:block}
.chat-emoji-picker{position:absolute;bottom:52px;left:0;width:330px;display:grid;grid-template-columns:repeat(8,1fr);gap:3px;padding:10px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 18px 46px rgba(29,20,63,.22);z-index:20}
.chat-emoji-picker[hidden]{display:none}
.chat-emoji-picker button{border:0;background:transparent;border-radius:9px;font-size:23px;padding:5px}
.chat-emoji-picker button:hover{background:var(--purple-soft)}
.chat-media-preview{display:flex;align-items:center;gap:9px;padding:8px 14px;background:var(--surface);border-top:1px solid var(--line);font-size:10px;color:var(--muted)}
.chat-media-preview[hidden]{display:none}.chat-media-preview img{width:42px;height:42px;object-fit:cover;border-radius:9px}.chat-media-preview button{margin-left:auto;border:0;background:transparent;color:var(--muted)}
.chat-info{padding:22px 18px;overflow-y:auto}
.chat-info-profile{display:grid;justify-items:center;text-align:center;text-decoration:none;color:var(--text);padding:12px}
.profile-info-ring{width:92px;height:92px;margin-bottom:13px}
.profile-info-ring img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.chat-info-profile strong{display:flex;align-items:center;gap:5px;font-size:15px}.chat-info-profile small{color:var(--muted);margin-top:5px}
.chat-info-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 18px}
.chat-info-actions button{border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:13px;padding:10px 4px;display:grid;gap:5px;justify-items:center}.chat-info-actions span{font-size:9px;color:var(--muted)}
.chat-info-card{border:1px solid var(--line);background:var(--surface-2);padding:14px;border-radius:15px}.chat-info-card p{color:var(--muted);font-size:11px;line-height:1.5;margin-bottom:0}
.chat-info-placeholder{color:var(--muted);text-align:center;padding-top:60px}
.chat-badge{width:15px!important;height:15px!important;min-width:15px!important;object-fit:contain!important}
.new-chat-sheet{width:min(480px,94vw);max-height:min(720px,88vh);border-radius:24px;padding:18px;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr)}
.sheet-handle{display:none;width:45px;height:4px;border-radius:10px;background:var(--line);margin:0 auto 12px}
.new-chat-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.new-chat-head span{font-size:9px;letter-spacing:.15em;color:var(--purple);font-weight:900}.new-chat-head h2{margin:3px 0 0}.new-chat-head button,.note-sheet .close-modal{border:0;background:transparent;color:var(--text);font-size:26px}
.new-chat-people{overflow-y:auto;padding:8px 0}
.new-chat-people>button{width:100%;display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:11px;text-align:left;border:0;background:transparent;color:var(--text);padding:10px;border-radius:14px}
.new-chat-people>button:hover{background:var(--purple-soft)}
.new-chat-people .living-ring{width:46px;height:46px}.new-chat-people .living-ring img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.new-chat-people>button>span:nth-child(2){min-width:0}.new-chat-people strong{display:flex;align-items:center;gap:5px}.new-chat-people small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.new-chat-people i{font-style:normal;color:var(--purple);font-size:22px}
.note-sheet{width:min(440px,92vw);position:relative;border-radius:22px;padding:24px}.note-sheet .close-modal{position:absolute;right:16px;top:12px}.note-sheet h2{margin:7px 0}.note-sheet p{color:var(--muted);font-size:12px}.note-sheet textarea{width:100%;height:120px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);color:var(--text);padding:14px;resize:none;outline:0;font-size:16px}.note-count{text-align:right;color:var(--muted);font-size:10px;margin:5px 3px 12px}
.chat-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,18px);opacity:0;background:#171724;color:#fff;border:1px solid rgba(145,88,255,.4);padding:10px 15px;border-radius:12px;z-index:200;transition:.2s}.chat-toast.show{opacity:1;transform:translate(-50%,0)}.chat-toast.bad{border-color:#ef6d7a}
.remember-device{display:flex!important;gap:10px;align-items:flex-start!important;margin:2px 0 5px}.remember-device input{width:18px!important;height:18px!important;margin-top:3px!important}.remember-device span{display:block}.remember-device strong{display:block}.remember-device small{display:block;color:#8a8d99;font-weight:400;margin-top:2px}

@media(max-width:1180px){
 .messenger-shell{grid-template-columns:330px minmax(0,1fr)}
 .chat-info{display:none}
}
@media(max-width:760px){
 .messages-page{overflow:auto;padding-bottom:74px}
 .messages-page .topbar{height:62px;grid-template-columns:auto 1fr auto}
 .messages-page .topbar .search{display:none}
 .messenger-shell{height:calc(100dvh - 62px - 66px);display:block;padding:0}
 .chat-hub,.chat-conversation{border-radius:0;height:100%;border:0;box-shadow:none}
 .chat-hub{padding:14px 13px}
 .messages-page.has-chat .chat-hub{display:none}
 .messages-page:not(.has-chat) .chat-conversation{display:none}
 .conversation-list{padding-bottom:16px}
 .chat-hub-head h1{font-size:25px}
 .note-bubble{font-size:8px}
 .new-chat-button{width:40px;height:40px}
 .chat-friends-strip{gap:10px}
 .friend-orb{flex-basis:62px}
 .friend-orb .living-ring,.note-avatar{width:50px;height:50px}
 .conversation-row{grid-template-columns:50px minmax(0,1fr) auto}
 .conversation-head{min-height:64px;padding:7px 10px}
 .mobile-chat-back{display:block}
 .conversation-person .conversation-avatar{width:42px;height:42px}
 .conversation-actions button{width:34px;height:34px}
 .conversation-actions button:last-child{display:none}
 .message-stream{padding:18px 12px 12px}
 .message-stack{max-width:83%}
 .message-bubble{font-size:14px;padding:10px 13px}
 .message-composer{grid-template-columns:auto auto minmax(0,1fr) auto;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}
 .voice-button{display:none}
 .composer-icon,.chat-send{width:38px;height:38px}
 .chat-emoji-picker{position:fixed;left:8px;right:8px;bottom:76px;width:auto;grid-template-columns:repeat(8,1fr);border-radius:20px}
 .chat-media{max-width:100%}
 .sheet-handle{display:block}
 .new-chat-sheet{width:100%;max-width:none;max-height:82dvh;border-radius:25px 25px 0 0;position:absolute;left:0;right:0;bottom:0}
 .note-sheet{position:absolute;bottom:0;left:0;right:0;width:100%;border-radius:25px 25px 0 0;padding-bottom:calc(22px + env(safe-area-inset-bottom))}
 .messenger-mobile-nav{display:grid}
}


/* 0.4 critical visual fixes */
.living-ring{position:relative!important;display:inline-block!important}
.profile-avatar.living-ring,.profile-avatar.story-ring{position:relative!important;isolation:isolate!important;overflow:visible!important}
.profile-avatar.living-ring::before,.profile-avatar.story-ring::before{inset:-4px!important;border-radius:50%!important}
.profile-avatar.living-ring::after,.profile-avatar.story-ring::after{inset:-7px!important;border-width:1px!important}
.post-avatar-wrap{width:43px;height:43px;display:block;flex:0 0 auto;border-radius:50%}
.post-avatar-wrap>img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;position:relative;z-index:2}
.post-avatar-wrap.living-ring::before{inset:-3px!important}.post-avatar-wrap.living-ring::after{inset:-6px!important;border-width:1px!important}
@media(min-width:801px){
 .story-card{width:156px!important;height:232px!important}
 .story-avatar{width:47px!important;height:47px!important}
 .story-card>strong{bottom:32px!important}.story-card>small{bottom:13px!important}
}

/* 0.4 Story Studio canvas polish */
.viewer-profile-link{display:flex;align-items:center;gap:9px;text-decoration:none;color:#fff;min-width:0;flex:1}.viewer-profile-link>div{min-width:0}.viewer-profile-link strong{display:block}.viewer-profile-link small{display:block;color:rgba(255,255,255,.72);font-size:9px;margin-top:2px}
.story-selected-media{pointer-events:auto!important;touch-action:none!important;user-select:none!important;will-change:transform;transition:filter .18s ease}
.story-text-float-slider{position:absolute;z-index:18;left:50%;bottom:86px;transform:translateX(-50%);width:min(330px,76%);display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:22px;background:rgba(15,17,27,.70);border:1px solid rgba(255,255,255,.2);box-shadow:0 12px 28px rgba(0,0,0,.28);backdrop-filter:blur(16px);color:#fff;pointer-events:auto}
.story-text-float-slider[hidden]{display:none!important}.story-text-float-slider span:first-child{font-size:12px}.story-text-float-slider span:last-child{font-size:22px;font-weight:900}.story-text-float-slider input{flex:1;accent-color:#9a55ff}
.story-emoji-picker{position:absolute;z-index:25;right:14px;bottom:78px;width:286px;display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:10px;border-radius:18px;background:rgba(17,19,30,.88);border:1px solid rgba(152,94,255,.38);box-shadow:0 20px 48px rgba(0,0,0,.34);backdrop-filter:blur(18px)}
.story-emoji-picker[hidden]{display:none!important}.story-emoji-picker button{border:0;background:transparent;border-radius:9px;font-size:24px;padding:5px}.story-emoji-picker button:hover{background:rgba(144,79,255,.2);transform:scale(1.08)}
.story-filter-strip{display:flex!important;align-items:end!important;gap:13px!important;overflow-x:auto!important;scrollbar-width:none!important;scroll-snap-type:x proximity;padding:9px 18px 12px!important;min-height:104px}.story-filter-strip::-webkit-scrollbar{display:none}
.story-filter-strip>button{flex:0 0 72px!important;width:72px!important;min-width:72px!important;height:90px!important;border:0!important;background:transparent!important;padding:0!important;display:grid!important;grid-template-rows:66px auto!important;gap:5px!important;justify-items:center!important;color:var(--muted)!important;scroll-snap-align:center!important;transition:transform .18s ease,filter .18s ease!important}
.story-filter-strip>button .story-preview-chip{width:62px;height:62px;border-radius:50%;display:block;background-size:cover;background-position:center;border:2px solid rgba(255,255,255,.85);box-shadow:0 5px 15px rgba(21,16,45,.16),0 0 0 1px rgba(126,68,245,.18);overflow:hidden;position:relative}
body.dark .story-filter-strip>button .story-preview-chip{border-color:rgba(255,255,255,.5)}
.story-filter-strip>button b{font-size:9px;line-height:1.1;max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story-filter-strip>button.active{transform:scale(1.13)!important;color:var(--purple)!important;font-weight:900}.story-filter-strip>button.active .story-preview-chip{border-color:#fff;box-shadow:0 0 0 3px #7a38f2,0 0 16px rgba(126,68,245,.55),0 0 25px rgba(50,206,255,.22)}
.effect-chip-sparkle::after{content:'✦ ✧';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:19px;text-shadow:0 0 8px #fff}.effect-chip-lightleak::after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 28%,rgba(255,74,194,.62),rgba(255,194,83,.58),transparent 75%);mix-blend-mode:screen}.effect-chip-neonframe{box-shadow:inset 0 0 0 3px #7d42ff,inset 0 0 14px #35d8ff!important}.effect-chip-crystal::after{content:'◇';position:absolute;inset:0;display:grid;place-items:center;color:#e8d9ff;font-size:26px;text-shadow:0 0 9px #914fff}
@media(max-width:800px){.story-text-float-slider{bottom:94px;width:74%}.story-emoji-picker{left:10px;right:10px;bottom:86px;width:auto;grid-template-columns:repeat(8,1fr)}.story-filter-strip{padding-inline:28px!important}.story-filter-strip>button{flex-basis:68px!important;width:68px!important;min-width:68px!important}.story-filter-strip>button .story-preview-chip{width:58px;height:58px}}

/* 0.4 Send Signal sheet */
.share-signal-sheet{width:min(500px,94vw);max-height:min(760px,88vh);border-radius:24px;padding:18px;display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr);gap:12px;overflow:hidden}.share-sheet-head{display:flex;align-items:center;justify-content:space-between}.share-sheet-head h2{margin:3px 0 0}.share-sheet-head>button{border:0;background:transparent;color:var(--text);font-size:27px}.share-signal-sheet>textarea{width:100%;height:74px;resize:none;border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:14px;padding:11px;outline:0}.share-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.share-quick-actions button{border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:14px;padding:10px;display:grid;justify-items:center;gap:4px}.share-quick-actions button span{font-size:9px;color:var(--muted)}.share-friend-title{display:flex;justify-content:space-between;font-size:12px}.share-friend-title span{color:var(--muted)}.share-friends-list{overflow-y:auto;display:grid;gap:4px}.share-friends-list>button{border:0;background:transparent;color:var(--text);display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;padding:9px;border-radius:13px}.share-friends-list>button:hover{background:var(--purple-soft)}.share-friends-list .living-ring{width:44px;height:44px}.share-friends-list .living-ring img{width:100%;height:100%;border-radius:50%;object-fit:cover}.share-friends-list>button>span:nth-child(2){min-width:0}.share-friends-list b{display:flex;align-items:center;gap:5px}.share-friends-list small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.share-friends-list i{font-style:normal;color:var(--purple);font-size:10px;font-weight:900}.share-friends-list button:disabled{opacity:.45}
@media(max-width:800px){.share-signal-sheet{position:absolute;left:0;right:0;bottom:0;width:100%;max-height:82dvh;border-radius:25px 25px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}}

/* === ANXIRA 0.4.1 Messages + Story/Pulse UI hotfix === */
/* Keep the compact Messages header sections from being compressed by the flex layout. */
.chat-hub-head,
.notes-heading,
.friends-row-head,
.notes-strip,
.chat-friends-strip,
.conversation-search{flex-shrink:0}

/* Notes need enough vertical room for bubble + live avatar ring + name. */
.notes-strip{
  min-height:124px;
  padding:10px 6px 18px;
  overflow-x:auto;
  overflow-y:visible;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:6px;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:pan-x;
}
.note-person{
  min-height:112px;
  align-content:start;
  scroll-snap-align:start;
  scroll-snap-stop:normal;
}
.note-avatar{margin-top:1px}

/* Friends is a proper swipe/drag carousel instead of an image-dragging row. */
.chat-friends-strip{
  min-height:82px;
  padding:10px 6px 14px;
  overflow-x:auto;
  overflow-y:visible;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:6px;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:pan-x;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
}
.chat-friends-strip.is-dragging{cursor:grabbing;scroll-behavior:auto!important}
.friend-orb{
  min-height:68px;
  scroll-snap-align:start;
  scroll-snap-stop:normal;
  user-select:none;
  -webkit-user-select:none;
}
.friend-orb img,.note-person img{
  pointer-events:none;
  user-select:none;
  -webkit-user-select:none;
  -webkit-user-drag:none;
}

/* The conversation list is the only part of the left hub that should flex/shrink. */
.conversation-list{flex:1 1 auto;min-height:0}

/* Story avatar/ring must remain anchored inside every Story card.
   This intentionally overrides the generic late .living-ring position rule. */
.story-card .story-avatar.living-ring{
  position:absolute!important;
  display:block!important;
  margin:0!important;
  transform:none!important;
  z-index:7!important;
  overflow:visible!important;
}

@media(min-width:801px){
  .story-card .story-avatar.living-ring{
    top:12px!important;
    left:12px!important;
    width:47px!important;
    height:47px!important;
  }
}

@media(max-width:800px){
  .notes-strip{min-height:120px;padding:9px 5px 16px}
  .chat-friends-strip{min-height:78px;padding:9px 5px 12px}
  .story-card .story-avatar.living-ring{
    top:10px!important;
    left:10px!important;
    width:38px!important;
    height:38px!important;
  }
}


/* === ANXIRA 0.4.2 Messages / Story real fix pack === */
.chat-hub{overflow:visible!important}
.chat-hub-head,.notes-heading,.friends-row-head,.conversation-search{position:relative;z-index:2}
.notes-strip,.chat-friends-strip{align-items:flex-start!important;overflow-y:hidden!important}
.notes-strip{
  min-height:138px!important;
  padding:12px 34px 22px!important;
  margin:0 -6px;
}
.note-person{
  min-height:122px!important;
  gap:7px!important;
  align-content:start!important;
  justify-items:center!important;
}
.note-bubble{
  height:48px!important;
  max-width:82px!important;
}
.note-avatar{width:58px!important;height:58px!important;margin-top:0!important;display:block!important}
.note-person b{max-width:84px!important}
.chat-friends-strip{
  min-height:98px!important;
  padding:12px 34px 18px!important;
  margin:0 -6px;
}
.friend-orb{
  min-height:80px!important;
  flex-basis:72px!important;
  gap:7px!important;
  align-content:start!important;
  justify-items:center!important;
}
.friend-orb .living-ring{width:58px!important;height:58px!important;display:block!important}
.friend-orb b{max-width:84px!important}

.inline-carousel{position:relative;min-width:0}
.inline-carousel .inline-strip{scroll-behavior:smooth}
.inline-nav{
  display:none;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:52px;
  z-index:6;
  border-radius:16px;
  border:1px solid rgba(122,53,242,.22);
  background:rgba(255,255,255,.94);
  color:#7133e8;
  box-shadow:0 10px 28px rgba(60,31,128,.16),0 0 0 1px rgba(255,255,255,.55) inset;
  backdrop-filter:blur(10px);
  font-size:28px;
  line-height:1;
  padding:0;
}
body.dark .inline-nav{background:rgba(23,26,38,.94);color:#b994ff;border-color:rgba(158,102,255,.3)}
.inline-nav:hover{transform:translateY(-50%) scale(1.04)}
.inline-nav.prev{left:0}
.inline-nav.next{right:0}
.inline-nav.is-disabled{opacity:.26;pointer-events:none}

.message-bubble{overflow:visible!important}
.message-line.theirs .message-bubble:before,
.message-line.theirs .message-bubble:after,
.message-line.mine .message-bubble:before,
.message-line.mine .message-bubble:after{content:"";position:absolute;display:block}
.message-line.theirs .message-bubble:before{
  left:-8px;bottom:4px;width:12px;height:16px;
  background:rgba(55,155,255,.45);
  clip-path:polygon(100% 0,100% 100%,0 100%);
}
.message-line.theirs .message-bubble:after{
  left:-6px;bottom:5px;width:10px;height:14px;
  background:linear-gradient(145deg,#18253a,#142032);
  clip-path:polygon(100% 0,100% 100%,0 100%);
}
.message-line.mine .message-bubble:before{
  right:-8px;bottom:4px;width:12px;height:16px;
  background:rgba(153,85,255,.55);
  clip-path:polygon(0 0,100% 100%,0 100%);
}
.message-line.mine .message-bubble:after{
  right:-6px;bottom:5px;width:10px;height:14px;
  background:linear-gradient(145deg,#2b1d46,#211631);
  clip-path:polygon(0 0,100% 100%,0 100%);
}
body:not(.dark) .message-line.theirs .message-bubble:after{background:linear-gradient(145deg,#eef6ff,#f8fbff)}
body:not(.dark) .message-line.mine .message-bubble:after{background:linear-gradient(145deg,#efe8ff,#faf7ff)}
body:not(.dark) .message-line.theirs .message-bubble:before{background:rgba(64,143,238,.28)}
body:not(.dark) .message-line.mine .message-bubble:before{background:rgba(126,68,245,.34)}

.story-card .story-avatar.living-ring,
.story-card .story-avatar.living-ring img{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
.story-card .story-avatar.living-ring{
  position:absolute!important;
  top:12px!important;
  left:12px!important;
  width:46px!important;
  height:46px!important;
  z-index:9!important;
  padding:0!important;
  background:transparent!important;
  overflow:visible!important;
  transform:none!important;
}
.story-card .story-avatar.living-ring::before{inset:-4px!important}
.story-card .story-avatar.living-ring::after{inset:-7px!important}
.story-card .story-avatar.living-ring img{
  width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;
  border:3px solid #fff!important;
}
.story-card>strong,.story-card>small{position:absolute!important;z-index:8!important}
.story-card>strong{left:12px!important;right:10px!important}
.story-card>small{left:12px!important;right:10px!important}

@media(min-width:801px){
  .inline-carousel .inline-nav{display:grid;place-items:center}
}
@media(max-width:800px){
  .notes-strip{padding:10px 6px 20px!important;min-height:134px!important}
  .chat-friends-strip{padding:10px 6px 16px!important;min-height:92px!important}
  .note-avatar,.friend-orb .living-ring{width:54px!important;height:54px!important}
  .story-card .story-avatar.living-ring{top:10px!important;left:10px!important;width:38px!important;height:38px!important}
  .inline-nav{display:none!important}
}


/* =========================================================
   ANXIRA NETWORK ALPHA 0.4.3 — compact social rail + mobile menu
   ========================================================= */
.mobile-menu-button{display:none}

/* Uploaded portraits must stay physically clipped inside every living ring. */
.living-ring>img,
.friend-orb .living-ring>img,
.note-avatar.living-ring>img,
.conversation-avatar.living-ring>img,
.profile-info-ring.living-ring>img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:50%!important;
  display:block!important;
  overflow:hidden!important;
}
.friend-orb .living-ring,
.note-avatar.living-ring,
.conversation-avatar.living-ring{border-radius:50%!important}

/* Messages: Notes + Friends become one compact rail. */
.social-strip-head{display:flex;align-items:center;justify-content:space-between;margin:9px 2px 5px;flex:0 0 auto}
.social-strip-head strong{font-size:13px}
.social-strip-head button{border:0;background:transparent;color:var(--purple);font-weight:800;padding:5px 0}
.messages-social-strip{position:relative;height:118px;flex:0 0 118px;margin:0 -2px 3px;overflow:visible}
.pinned-own-note{
  position:absolute;z-index:12;left:0;top:0;width:82px;height:116px;border:0;background:linear-gradient(90deg,var(--surface) 72%,transparent);
  color:var(--text);padding:0 12px 0 0;display:grid;grid-template-rows:45px 54px 15px;justify-items:center;align-items:center;gap:1px;
}
.pinned-own-note .note-bubble{position:relative;z-index:3;width:76px;height:43px;font-size:8px}
.pinned-own-note .note-avatar{position:relative;z-index:2;width:52px!important;height:52px!important;margin-top:-1px!important}
.pinned-own-note b{font-size:10px;line-height:1}
.friends-under-note{position:absolute;left:0;right:0;top:9px;height:103px;overflow:visible}
.friends-under-note .chat-friends-strip{
  min-height:100px!important;height:100px!important;margin:0!important;padding:9px 34px 10px 90px!important;gap:12px!important;
  overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x!important;overscroll-behavior-x:contain!important;
}
.friends-under-note .friend-orb{flex:0 0 65px!important;min-height:78px!important;gap:6px!important;align-content:start!important}
.friends-under-note .friend-orb .living-ring{width:54px!important;height:54px!important}
.friends-under-note .friend-orb b{font-size:9px!important;max-width:66px!important}
.friends-under-note .inline-nav{top:42px}
.friends-under-note .inline-nav.prev{left:76px}
.friends-under-note .inline-nav.next{right:0}
.conversation-search{flex:0 0 43px;margin-top:2px}
.conversation-list{margin-top:7px!important;flex:1 1 auto!important;min-height:0!important}

/* Mobile navigation drawer — FB-like concept, ANXIRA styling. */
.network-drawer-backdrop{position:fixed;inset:0;background:rgba(4,7,13,.52);backdrop-filter:blur(2px);z-index:199;opacity:0;pointer-events:none;transition:opacity .22s ease}
.network-drawer-backdrop.open{opacity:1;pointer-events:auto}
.network-drawer{position:fixed;z-index:200;top:0;left:0;right:auto;width:min(390px,91vw);height:100dvh;background:var(--surface);border-right:1px solid var(--line);box-shadow:22px 0 60px rgba(0,0,0,.24);transform:translateX(-105%);transition:transform .34s cubic-bezier(.22,.8,.22,1);padding:18px 16px calc(22px + env(safe-area-inset-bottom));overflow-y:auto}
.network-drawer.open{transform:translateX(0)}
.network-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:5px 4px 16px}
.network-drawer-head span{display:block;color:var(--purple);font-size:9px;font-weight:900;letter-spacing:.17em}
.network-drawer-head strong{display:block;font-size:25px;margin-top:2px}
.network-drawer-close{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--surface2);color:var(--text);font-size:26px}
.network-drawer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.network-drawer-grid a{min-height:86px;border:1px solid var(--line);border-radius:15px;background:var(--surface2);padding:12px;display:grid;align-content:center;gap:6px;box-shadow:0 6px 18px rgba(30,24,65,.04)}
.network-drawer-grid a:hover{border-color:rgba(126,68,245,.45);background:var(--purple-soft)}
.network-drawer-grid i{font-style:normal;font-size:25px;color:var(--purple)}
.network-drawer-grid b{font-size:12px}
.network-drawer-signout{display:block;margin-top:14px;padding:12px 14px;border-radius:13px;background:var(--surface2);border:1px solid var(--line);color:var(--muted);font-size:11px}
html.drawer-open{overflow:hidden}

@media(max-width:800px){
  :root{--top:118px}
  .topbar{
    min-height:118px!important;height:auto!important;
    grid-template-columns:minmax(120px,1fr) auto!important;
    grid-template-rows:58px 46px!important;
    gap:4px 8px!important;
    padding:7px 12px 7px!important;
    align-items:center!important;
  }
  .topbar .brand{grid-column:1;grid-row:1;min-width:0}
  .topbar .brand img{width:145px!important;height:42px!important}
  .topbar .top-actions{grid-column:2;grid-row:1;gap:3px!important}
  .topbar .topbar-search,.topbar .search{
    display:flex!important;grid-column:1/-1!important;grid-row:2!important;width:100%!important;height:40px!important;margin:0!important;
    border-radius:20px!important;background:#171b27!important;
  }
  .topbar .search kbd{display:none!important}
  .topbar .search input{font-size:13px!important}
  .topbar .live-time{display:none!important}
  .topbar .mini-profile span{display:none!important}
  .topbar .mini-profile img{width:38px!important;height:38px!important}
  .topbar .icon-btn{display:grid!important;place-items:center!important;width:36px;height:36px;padding:5px!important;font-size:18px!important}
  .topbar .mobile-menu-button{display:grid!important;font-size:23px!important}
  .topbar .top-actions .icon-btn:nth-child(1),
  .topbar .top-actions .icon-btn:nth-child(3){display:grid!important}

  .messages-page .topbar{
    min-height:118px!important;height:auto!important;
    grid-template-columns:minmax(120px,1fr) auto!important;
    grid-template-rows:58px 46px!important;
  }
  .messages-page .topbar .search{display:flex!important}
  .messenger-shell{height:calc(100dvh - 118px - 66px)!important}
  .messages-social-strip{height:112px;flex-basis:112px}
  .pinned-own-note{height:110px;width:78px;grid-template-rows:43px 51px 14px;padding-right:10px}
  .pinned-own-note .note-bubble{width:72px;height:41px}
  .pinned-own-note .note-avatar{width:49px!important;height:49px!important}
  .friends-under-note{height:98px;top:8px}
  .friends-under-note .chat-friends-strip{height:96px!important;min-height:96px!important;padding:9px 5px 9px 84px!important;gap:11px!important}
  .friends-under-note .friend-orb{flex-basis:62px!important;min-height:75px!important}
  .friends-under-note .friend-orb .living-ring{width:51px!important;height:51px!important}
  .friends-under-note .inline-nav{display:none!important}
  .social-strip-head{margin-top:5px}
  .conversation-list{margin-top:6px!important}
}


/* === ANXIRA 0.4.4 compact messages rail + mobile topbar refinement === */
.top-create{font-size:24px!important;line-height:1}
.social-strip-head strong::after{content:"  ·  Swipe friends";color:var(--muted);font-size:10px;font-weight:600}
.messages-social-strip{height:112px!important;flex-basis:112px!important;margin-bottom:2px!important}
.pinned-own-note{
  width:90px!important; /* a little wider */
  height:110px!important;
  grid-template-rows:42px 50px 15px!important;
  padding-right:12px!important;
}
.pinned-own-note .note-bubble{width:78px!important;height:40px!important;display:grid!important;place-items:center;text-align:center;padding:0 7px!important;line-height:1.1!important}
.pinned-own-note .note-avatar{width:50px!important;height:50px!important;overflow:hidden!important}
.pinned-own-note b{max-width:80px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.friends-under-note{top:6px!important;height:96px!important}
.friends-under-note .chat-friends-strip{height:94px!important;min-height:94px!important;padding:9px 34px 8px 94px!important;gap:12px!important}
.friends-under-note .friend-orb{flex-basis:66px!important;min-height:74px!important}
.friends-under-note .friend-orb .living-ring{width:52px!important;height:52px!important;overflow:hidden!important}
.friends-under-note .friend-orb b{max-width:68px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.conversation-search{margin-top:0!important}
.conversation-list{margin-top:2px!important}

@media(max-width:800px){
  :root{--top:120px}
  .topbar{min-height:120px!important;grid-template-rows:58px 48px!important}
  .topbar .top-actions{gap:4px!important}
  .topbar .icon-btn{width:34px!important;height:34px!important}
  .messages-social-strip{height:108px!important;flex-basis:108px!important}
  .pinned-own-note{width:86px!important;height:106px!important;padding-right:10px!important}
  .pinned-own-note .note-bubble{width:74px!important;height:38px!important;font-size:8px!important}
  .pinned-own-note .note-avatar{width:48px!important;height:48px!important}
  .friends-under-note{top:6px!important;height:92px!important}
  .friends-under-note .chat-friends-strip{height:90px!important;min-height:90px!important;padding:9px 6px 8px 88px!important;gap:11px!important}
  .friends-under-note .friend-orb{flex-basis:62px!important;min-height:70px!important}
  .friends-under-note .friend-orb .living-ring{width:49px!important;height:49px!important}
  .social-strip-head strong::after{content:""}
}

/* =========================================================
   ANXIRA NETWORK ALPHA 0.5 — Identity Profiles + Notifications
   ========================================================= */
.profile-v05{--profile-max:1180px}.profile-app-shell{width:min(var(--profile-max),100%);margin:0 auto;padding:18px 18px 90px}.profile-v05-hero{background:var(--surface);border:1px solid var(--line);border-radius:25px;overflow:hidden;box-shadow:var(--shadow);position:relative}.profile-cover{height:330px;background-size:cover;background-position:center;position:relative}.profile-cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,9,18,.04),rgba(7,9,18,.16))}.cover-edit{position:absolute;right:18px;bottom:18px;border:1px solid rgba(255,255,255,.45);background:rgba(8,10,18,.55);color:#fff;border-radius:14px;padding:9px 12px;backdrop-filter:blur(12px)}.profile-identity-panel{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:20px;align-items:end;padding:0 30px 10px;margin-top:-78px;position:relative;z-index:4}.profile-v05-avatar{width:172px;height:172px;border-radius:50%;position:relative!important;overflow:visible!important}.profile-v05-avatar>img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;border:5px solid var(--surface)!important;display:block!important}.profile-v05-avatar>button{position:absolute;right:3px;bottom:7px;width:40px;height:40px;border-radius:50%;border:3px solid var(--surface);background:var(--surface2);font-size:17px;z-index:5}.profile-v05-name{padding-bottom:10px}.profile-v05-name h1{margin:0;font-size:31px;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.profile-v05-name h2{margin:4px 0 3px;color:var(--purple);font-size:17px}.profile-v05-name p{margin:3px 0;color:var(--muted);font-size:12px}.profile-more-trigger{align-self:center;margin-top:70px;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:50%;width:44px;height:44px;font-size:17px}.profile-social-stats{display:flex;gap:6px;padding:0 30px 12px;margin-left:190px}.profile-social-stats button{border:0;background:transparent;color:var(--text);padding:8px 14px;border-radius:12px;display:flex;gap:6px;align-items:baseline}.profile-social-stats button:hover{background:var(--surface2)}.profile-social-stats b{font-size:17px}.profile-social-stats span{font-size:11px;color:var(--muted)}.profile-bio{display:flex;gap:10px;align-items:flex-start;margin:0 30px 14px 220px;max-width:760px}.profile-bio p{margin:0;font-size:13px;line-height:1.55}.profile-bio button{border:0;background:transparent;color:var(--purple)}.profile-primary-actions{display:flex;gap:9px;padding:0 30px 22px;margin-left:190px}.profile-primary-actions .btn{min-width:118px;text-align:center}.profile-dashboard-btn{min-width:180px!important}.profile-v05-tabs{position:sticky;top:var(--top);z-index:15;margin:12px 0 0;background:var(--surface);border:1px solid var(--line);border-radius:18px;display:flex;overflow:auto;padding:0 10px}.profile-v05-tabs button{border:0;background:transparent;color:var(--muted);padding:15px 24px;white-space:nowrap}.profile-v05-tabs button.active{color:var(--purple);border-bottom:3px solid var(--purple);font-weight:800}.profile-details-card,.profile-friends-card,.profile-composer{margin-top:12px;padding:20px;border-radius:20px}.profile-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.profile-section-title h2{margin:3px 0 0;font-size:18px}.profile-section-title p{margin:3px 0;color:var(--muted);font-size:10px}.profile-section-title>button{border:0;background:transparent;color:var(--purple);font-weight:800}.profile-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;margin-top:17px}.profile-detail-list>div{display:flex;gap:10px;align-items:center;min-height:38px}.profile-detail-list i{font-style:normal;width:30px;height:30px;border-radius:10px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center}.profile-detail-list span,.profile-detail-list a{font-size:12px}.profile-friend-carousel{position:relative;margin-top:15px}.profile-friend-strip{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;padding:9px 40px 14px;scroll-snap-type:x mandatory}.profile-friend-strip::-webkit-scrollbar{display:none}.profile-friend-strip>a{flex:0 0 112px;display:grid;justify-items:center;text-align:center;gap:5px;scroll-snap-align:start}.profile-friend-strip .living-ring{width:86px;height:86px;border-radius:50%;position:relative!important}.profile-friend-strip .living-ring img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;border:3px solid var(--surface)!important}.profile-friend-strip b{font-size:11px;max-width:108px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-friend-strip small{font-size:8px;color:var(--muted);max-width:108px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-friend-nav{position:absolute;z-index:4;top:37px;width:34px;height:58px;border-radius:18px;border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 94%,transparent);color:var(--purple);font-size:28px;box-shadow:var(--shadow)}.profile-friend-nav.prev{left:0}.profile-friend-nav.next{right:0}.profile-composer-main{display:flex;gap:11px}.profile-composer-main img{width:46px;height:46px;border-radius:50%;object-fit:cover}.profile-composer-main textarea{flex:1;min-height:74px;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:18px;padding:14px;resize:none}.profile-composer-tools{display:flex;gap:6px;align-items:center;margin-top:9px;flex-wrap:wrap}.profile-composer-tools label,.profile-composer-tools>button,.profile-composer-tools select{border:0;background:transparent;color:var(--muted);padding:8px 10px;border-radius:10px}.profile-composer-tools .btn-primary{margin-left:auto;color:#fff}.profile-own-feed{margin-top:14px}.feed-title{padding:5px 4px 9px}.profile-empty-posts{padding:30px;text-align:center;color:var(--muted)}.profile-more-menu{position:absolute;z-index:180;min-width:250px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:7px;box-shadow:0 20px 55px rgba(20,14,50,.28)}.profile-more-menu[hidden]{display:none}.profile-more-menu button,.profile-more-menu a{width:100%;border:0;background:transparent;color:var(--text);display:block;text-align:left;padding:10px 12px;border-radius:10px;font-size:11px}.profile-more-menu button:hover,.profile-more-menu a:hover{background:var(--surface2)}.profile-more-menu .danger{color:#e24162}.profile-edit-sheet{position:relative;width:min(680px,94vw);max-height:88vh;overflow:auto;border-radius:24px;padding:24px}.profile-edit-sheet h2{font-size:24px;margin:5px 0 18px}.profile-edit-sheet form>label{display:block;font-size:11px;font-weight:800}.profile-edit-sheet label small{float:right;color:var(--muted)}.profile-edit-sheet textarea,.profile-edit-sheet input,.profile-edit-sheet select{width:100%;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:12px;padding:10px;margin-top:5px}.profile-edit-sheet textarea{height:108px;resize:none}.edit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:13px 0}.edit-grid label{font-size:10px;font-weight:800}.edit-grid .wide{grid-column:1/-1}.privacy-check{display:flex!important;gap:10px;align-items:flex-start;margin:18px 0}.privacy-check input{width:18px!important;height:18px}.privacy-check span{font-weight:400}.privacy-check b,.privacy-check small{display:block}.privacy-check small{float:none!important;margin-top:3px}.network-list-sheet{position:relative;width:min(520px,94vw);max-height:78vh;overflow:auto;padding:22px;border-radius:24px}.network-list{display:grid;gap:5px}.network-list>a{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:10px;padding:9px;border-radius:13px}.network-list>a:hover{background:var(--surface2)}.network-list img{width:46px;height:46px;border-radius:50%;object-fit:cover}.network-list b,.network-list small{display:block}.network-list small{color:var(--muted);font-size:9px}.network-list i{font-style:normal;color:var(--purple)}.network-empty{color:var(--muted);text-align:center;padding:25px}
.notification-shell{width:min(900px,100%);margin:0 auto;padding:22px 20px 100px}.notification-head{display:flex;align-items:center;justify-content:space-between}.notification-head h1{font-size:34px;margin:3px 0}.notification-filters{display:flex;gap:6px;overflow:auto;margin:12px 0 17px}.notification-filters button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:18px;padding:8px 12px;white-space:nowrap}.notification-filters button.active{background:var(--purple);color:#fff;border-color:var(--purple)}.notification-day{font-size:17px;margin:18px 6px 7px}.notification-row{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border-radius:15px}.notification-row.unread{background:color-mix(in srgb,var(--purple) 8%,var(--surface))}.notification-row:hover{background:var(--surface2)}.notification-avatar{position:relative;width:58px;height:58px}.notification-avatar img{width:58px;height:58px;border-radius:50%;object-fit:cover}.notification-avatar b{position:absolute;right:-3px;bottom:-2px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--purple);color:#fff;border:3px solid var(--surface);font-size:12px}.notification-copy{font-size:13px;line-height:1.4}.notification-copy small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.notification-more{color:var(--muted)}.notification-empty{padding:34px;text-align:center}.notification-empty p{color:var(--muted)}
.profile-dashboard-shell{width:min(1050px,94vw);margin:0 auto;padding:40px 0}.dashboard-back{color:var(--purple);font-size:11px}.profile-dashboard-shell h1{font-size:38px;margin:5px 0}.profile-dashboard-shell>p{color:var(--muted)}.dashboard-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.dashboard-kpis>div{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px}.dashboard-kpis b,.dashboard-kpis span{display:block}.dashboard-kpis b{font-size:28px}.dashboard-kpis span{color:var(--muted);font-size:10px;margin-top:4px}.dashboard-card{padding:24px}.dashboard-progress{height:9px;border-radius:10px;background:var(--line);overflow:hidden;margin:15px 0}.dashboard-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--purple),var(--cyan))}
@media(max-width:800px){
 body.profile-v05{padding-bottom:72px}.profile-app-shell{width:100%!important;padding:0 0 82px!important;margin:0!important;overflow-x:hidden}.profile-v05-hero{border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important}.profile-cover{height:255px!important;width:100vw!important;background-size:cover!important;background-position:center!important}.cover-edit{bottom:12px;right:12px}.profile-identity-panel{grid-template-columns:134px minmax(0,1fr) 38px!important;padding:0 16px 7px!important;margin-top:-60px!important;gap:10px!important;align-items:end}.profile-v05-avatar{width:130px!important;height:130px!important}.profile-v05-name{padding-bottom:3px}.profile-v05-name h1{font-size:23px!important;line-height:1.08}.profile-v05-name h2{font-size:14px!important}.profile-v05-name p{font-size:10px!important}.profile-more-trigger{width:37px;height:37px;margin-top:48px}.profile-social-stats{margin:0!important;padding:7px 14px 4px!important;gap:0!important}.profile-social-stats button{padding:7px 8px!important}.profile-social-stats b{font-size:15px}.profile-social-stats span{font-size:9px}.profile-bio{margin:5px 16px 12px!important;max-width:none!important}.profile-bio p{font-size:12px}.profile-primary-actions{margin:0!important;padding:0 14px 17px!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:7px!important}.profile-primary-actions .btn{min-width:0!important;padding:10px 5px!important;font-size:10px!important}.profile-primary-actions .profile-dashboard-btn{grid-column:span 2;min-width:0!important}.profile-primary-actions .profile-create-btn{grid-column:span 2}.profile-v05-tabs{top:120px;border-radius:0;border-left:0;border-right:0;margin:0!important;padding:0 6px}.profile-v05-tabs button{padding:13px 18px;font-size:10px}.profile-details-card,.profile-friends-card,.profile-composer{margin:10px 10px 0!important;padding:16px!important;border-radius:18px!important}.profile-detail-list{grid-template-columns:1fr!important}.profile-friend-strip{padding:8px 20px 12px 4px!important;gap:13px}.profile-friend-strip>a{flex-basis:94px}.profile-friend-strip .living-ring{width:76px;height:76px}.profile-friend-nav{display:none!important}.profile-composer-tools{display:grid;grid-template-columns:repeat(3,1fr)}.profile-composer-tools .btn-primary{grid-column:1/-1;margin-left:0}.profile-own-feed{padding:0 10px}.profile-own-feed .post{border-radius:18px}.profile-more-menu{position:fixed!important;left:10px!important;right:10px!important;bottom:78px!important;top:auto!important;min-width:0}.edit-grid{grid-template-columns:1fr}.profile-edit-sheet{position:absolute;left:0;right:0;bottom:0;width:100%;max-height:88dvh;border-radius:25px 25px 0 0}.network-list-sheet{position:absolute;left:0;right:0;bottom:0;width:100%;max-height:78dvh;border-radius:25px 25px 0 0}.notification-shell{padding:14px 12px 90px}.notification-head h1{font-size:28px}.notification-head .btn{font-size:9px}.notification-row{grid-template-columns:54px minmax(0,1fr) auto;padding:11px 8px}.notification-avatar,.notification-avatar img{width:50px;height:50px}.notification-copy{font-size:12px}.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.profile-dashboard-shell{padding:24px 0}.profile-dashboard-shell h1{font-size:30px}.dashboard-card{border-radius:0;border-left:0;border-right:0}.dashboard-kpis{padding:0 10px}.profile-dashboard-shell>.eyebrow,.profile-dashboard-shell>h1,.profile-dashboard-shell>p,.dashboard-back{margin-left:14px;margin-right:14px}
}


/* =========================================================
   ANXIRA NETWORK ALPHA 0.5.1 — founder profile clarity polish
   ========================================================= */
/* Keep profile identity readable regardless of a bright/busy cover. */
.profile-v05-name h1{
  position:relative;
  width:max-content;
  max-width:100%;
  padding:5px 9px 6px;
  margin-left:-9px;
  border-radius:12px;
  color:#fff!important;
  background:linear-gradient(135deg,rgba(7,10,18,.78),rgba(18,14,31,.62));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 8px 24px rgba(5,7,15,.18);
  backdrop-filter:blur(10px) saturate(1.15);
  -webkit-backdrop-filter:blur(10px) saturate(1.15);
  text-shadow:0 2px 7px rgba(0,0,0,.72);
}
.profile-v05-name h1 .verified-badge{filter:drop-shadow(0 2px 5px rgba(0,0,0,.42))}
.profile-cover-shade{
  background:linear-gradient(180deg,rgba(5,8,15,.02) 42%,rgba(5,8,15,.11) 72%,rgba(5,8,15,.38) 100%)!important;
}

@media(max-width:800px){
  /* Slightly larger branding without stealing space from header actions. */
  .topbar .brand img{width:158px!important;height:44px!important}
  .topbar .top-actions{gap:2px!important}
  .topbar .icon-btn{width:31px!important;height:34px!important;padding:3px!important}
  .topbar .mini-profile img{width:35px!important;height:35px!important}

  /* Shorter cover = more of the actual profile visible on first screen. */
  .profile-cover{
    height:218px!important;
    min-height:218px!important;
    background-size:cover!important;
    background-position:center!important;
  }
  .cover-edit{bottom:11px!important;right:12px!important;font-size:10px!important;padding:8px 10px!important}

  /* Give long founder names real horizontal room. */
  .profile-identity-panel{
    grid-template-columns:120px minmax(0,1fr)!important;
    gap:8px!important;
    padding:0 14px 8px!important;
    margin-top:-48px!important;
    align-items:end!important;
  }
  .profile-v05-avatar{width:116px!important;height:116px!important;grid-column:1!important;grid-row:1!important}
  .profile-v05-avatar>img{border-width:4px!important}
  .profile-v05-name{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    padding:0 0 1px!important;
    align-self:end!important;
  }
  .profile-v05-name h1{
    width:auto!important;
    max-width:100%!important;
    font-size:21px!important;
    line-height:1.05!important;
    padding:6px 8px!important;
    margin:0 0 7px -5px!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:5px!important;
    flex-wrap:wrap!important;
    overflow-wrap:anywhere!important;
  }
  .profile-v05-name h1 .verified-badge{flex:0 0 18px!important;margin-top:1px!important}
  .profile-v05-name h2{font-size:14px!important;line-height:1.15!important;margin:2px 0 3px!important}
  .profile-v05-name p{font-size:10px!important;line-height:1.25!important;margin:2px 0!important}
  .profile-more-trigger{
    position:absolute!important;
    right:14px!important;
    bottom:10px!important;
    margin:0!important;
    width:36px!important;
    height:36px!important;
    z-index:8!important;
  }
  /* keep text from colliding with the floating More button */
  .profile-v05-name{padding-right:42px!important}

  .profile-social-stats{padding-top:5px!important}
}

@media(max-width:380px){
  .topbar .brand img{width:150px!important}
  .profile-v05-name h1{font-size:19px!important}
  .profile-identity-panel{grid-template-columns:112px minmax(0,1fr)!important;padding-inline:12px!important}
  .profile-v05-avatar{width:108px!important;height:108px!important}
}


/* === ANXIRA 0.5.2 interaction reliability hotfix === */
html{-webkit-text-size-adjust:100%;touch-action:manipulation}
button,a,.post-actions,.post-menu,.reaction-picker,.mobile-nav,.icon-btn{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;touch-action:manipulation!important}
input,textarea,[contenteditable="true"]{-webkit-user-select:text!important;user-select:text!important}
.verified-badge{width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;min-height:22px!important;max-height:22px!important;vertical-align:-5px!important}
.profile-v05-name h1 .verified-badge{width:25px!important;height:25px!important;min-width:25px!important;max-width:25px!important;flex:0 0 25px!important}
.post-head strong .verified-badge{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;vertical-align:-4px!important}
.comment-badge{width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important}
.post-menu{z-index:120!important}
.post-menu.open{display:grid!important}
.reaction-picker.mobile-open,.reaction-picker.desktop-open{display:flex!important}
.inline-comments.expanded{max-height:1600px!important;overflow:visible!important}
.comment-form{position:relative;z-index:4}
.comment-input-shell input{font-size:16px!important} /* prevents iOS focus zoom */
@media(max-width:800px){
  .reaction-picker.mobile-open{position:fixed!important;left:50%!important;right:auto!important;bottom:82px!important;transform:translateX(-50%)!important;display:flex!important;z-index:220!important}
  .post-actions button{touch-action:manipulation!important}
}


/* =========================================================
   ANXIRA NETWORK ALPHA 0.5.3 — profile hero identity band
   ========================================================= */
/* Profile verification is intentionally more prominent than feed verification. */
.profile-v05-name h1 .verified-badge{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  flex:0 0 32px!important;
  margin-left:8px!important;
  filter:drop-shadow(0 3px 8px rgba(116,52,244,.42)) drop-shadow(0 1px 2px rgba(0,0,0,.42))!important;
}

/* Desktop profile feed should read like a social feed, not a billboard. */
@media(min-width:801px){
  .profile-own-feed{
    width:min(790px,100%);
    margin:18px auto 0!important;
  }
  .profile-own-feed .feed-title{padding-left:4px;padding-right:4px}
  .profile-own-feed .post{width:100%;border-radius:20px!important;overflow:visible}
  .profile-own-feed .post-media{display:flex;justify-content:center;background:transparent}
  .profile-own-feed .post-media img,
  .profile-own-feed .post-media video{
    width:calc(100% - 28px)!important;
    height:auto!important;
    max-height:640px!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0 14px!important;
    border-radius:16px!important;
    background:#0a0c13;
  }
}

@media(max-width:800px){
  /* A shorter, cleaner cover leaves more useful profile information above the fold. */
  .profile-cover{
    height:202px!important;
    min-height:202px!important;
    background-position:center!important;
  }

  /* The identity panel overlaps the cover; the dark band itself spans edge-to-edge. */
  .profile-identity-panel{
    position:relative!important;
    isolation:isolate!important;
    grid-template-columns:120px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    align-items:start!important;
    gap:9px!important;
    padding:0 14px 10px!important;
    margin-top:-48px!important;
    min-height:126px!important;
  }
  .profile-identity-panel::before{
    content:"";
    position:absolute;
    z-index:-1;
    top:0;
    left:50%;
    width:100vw;
    height:67px;
    transform:translateX(-50%);
    background:linear-gradient(90deg,rgba(5,7,13,.94),rgba(13,14,23,.91) 58%,rgba(5,7,13,.94));
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.09);
    box-shadow:0 9px 25px rgba(0,0,0,.16);
    backdrop-filter:blur(12px) saturate(1.08);
    -webkit-backdrop-filter:blur(12px) saturate(1.08);
  }

  .profile-v05-avatar{
    grid-column:1!important;
    grid-row:1!important;
    width:116px!important;
    height:116px!important;
    margin-top:-13px!important;
    z-index:3!important;
  }
  .profile-v05-avatar>img{border-width:4px!important}

  .profile-v05-name{
    grid-column:2!important;
    grid-row:1!important;
    align-self:start!important;
    min-width:0!important;
    width:100%!important;
    padding:8px 42px 0 0!important;
  }
  .profile-v05-name h1{
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    color:#fff!important;
    text-shadow:0 2px 7px rgba(0,0,0,.9)!important;
    font-size:clamp(14px,4.15vw,18px)!important;
    line-height:1.06!important;
    font-weight:850!important;
    letter-spacing:-.025em!important;
    white-space:nowrap!important;
    overflow:visible!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .profile-v05-name h1 .verified-badge{
    width:29px!important;
    height:29px!important;
    min-width:29px!important;
    max-width:29px!important;
    min-height:29px!important;
    max-height:29px!important;
    flex:0 0 29px!important;
    margin:0 0 0 7px!important;
  }

  /* Job/company/location sit below the black name band, while the name stays layered on the cover. */
  .profile-v05-name h2{
    margin:49px 0 4px!important;
    font-size:14px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .profile-v05-name p{
    margin:2px 0!important;
    font-size:10px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .profile-more-trigger{
    position:absolute!important;
    right:14px!important;
    top:76px!important;
    bottom:auto!important;
    margin:0!important;
    width:37px!important;
    height:37px!important;
    z-index:9!important;
  }

  .profile-social-stats{padding-top:0!important}

  /* Mobile feed remains full and app-like. */
  .profile-own-feed{width:auto!important;margin-top:14px!important}
  .profile-own-feed .post-media img,
  .profile-own-feed .post-media video{object-fit:cover!important}
}

@media(max-width:390px){
  .profile-identity-panel{grid-template-columns:108px minmax(0,1fr)!important;padding-inline:11px!important}
  .profile-v05-avatar{width:104px!important;height:104px!important;margin-top:-9px!important}
  .profile-v05-name{padding-right:39px!important}
  .profile-v05-name h1{font-size:clamp(13px,4vw,16px)!important;letter-spacing:-.035em!important}
  .profile-v05-name h1 .verified-badge{width:27px!important;height:27px!important;min-width:27px!important;max-width:27px!important;min-height:27px!important;max-height:27px!important;flex-basis:27px!important;margin-left:5px!important}
}

/* =========================================================
   ANXIRA NETWORK ALPHA 0.5.4 — composer, notes + slim identity band
   ========================================================= */
/* Main composer: selected media must always be cancellable before posting. */
.media-preview.has-media{position:relative;margin-top:10px}
.composer-media-card{position:relative;display:inline-block;max-width:calc(100% - 52px);margin-left:52px;border-radius:15px;overflow:visible}
.composer-media-card>img,.composer-media-card>video{display:block!important;margin:0!important;max-width:100%!important;max-height:330px!important;border-radius:15px!important;object-fit:contain;background:#090b12}
.composer-media-remove{position:absolute;z-index:8;right:-10px;top:-10px;width:34px;height:34px;border-radius:50%;border:2px solid var(--surface);background:#171923!important;color:#fff!important;display:grid;place-items:center;font-size:22px!important;line-height:1;padding:0!important;box-shadow:0 7px 20px rgba(0,0,0,.28)}
.composer-media-remove:hover{background:#7a35f2!important;color:#fff!important}

/* Notes are real visible status bubbles, not placeholder text. */
.note-bubble.active-note{background:linear-gradient(145deg,#ffffff,#efe8ff)!important;border-color:rgba(124,63,242,.42)!important;color:#45335f!important;box-shadow:0 8px 20px rgba(106,57,205,.16)}
body.dark .note-bubble.active-note{background:linear-gradient(145deg,#34254e,#211b31)!important;color:#f5efff!important}

/* Active Note displayed over the profile avatar as a premium speech balloon. */
.profile-note-balloon{
  position:absolute;z-index:18;left:50%;bottom:calc(100% - 13px);transform:translateX(-50%);
  width:max-content;max-width:190px;min-width:94px;padding:8px 11px;border-radius:15px 15px 15px 5px;
  background:rgba(255,255,255,.96);border:1px solid rgba(122,53,242,.28);color:#413753;
  font-size:10px;line-height:1.25;font-weight:700;text-align:center;white-space:normal;
  box-shadow:0 12px 28px rgba(52,31,116,.20),0 0 18px rgba(122,53,242,.10);backdrop-filter:blur(12px);
}
.profile-note-balloon i{position:absolute;left:24px;bottom:-8px;width:15px;height:15px;background:inherit;border-right:1px solid rgba(122,53,242,.23);border-bottom:1px solid rgba(122,53,242,.23);transform:rotate(45deg);border-radius:0 0 3px 0}
body.dark .profile-note-balloon{background:rgba(31,27,43,.96);border-color:rgba(155,93,255,.36);color:#f4efff}

@media(max-width:800px){
  /* Slim identity band: only slightly taller than the one-line name and large badge. */
  .profile-identity-panel{
    margin-top:-35px!important;
    min-height:116px!important;
    grid-template-columns:108px minmax(0,1fr)!important;
    gap:9px!important;
    padding:0 12px 9px!important;
  }
  .profile-identity-panel::before{
    top:0!important;
    height:42px!important;
    background:linear-gradient(90deg,rgba(4,6,11,.95),rgba(13,14,22,.93) 58%,rgba(4,6,11,.95))!important;
    box-shadow:0 7px 20px rgba(0,0,0,.14)!important;
  }
  .profile-v05-avatar{width:104px!important;height:104px!important;margin-top:-30px!important}
  .profile-v05-name{
    min-height:42px!important;
    padding:0 40px 0 0!important;
    display:block!important;
  }
  .profile-v05-name h1{
    height:42px!important;min-height:42px!important;
    display:flex!important;align-items:center!important;
    font-size:clamp(13px,3.72vw,16px)!important;
    line-height:1!important;
  }
  .profile-v05-name h1 .verified-badge{
    width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;min-height:28px!important;max-height:28px!important;flex:0 0 28px!important;margin-left:6px!important;
  }
  .profile-v05-name h2{margin:7px 0 3px!important}
  .profile-more-trigger{top:54px!important}
  .profile-note-balloon{max-width:150px;min-width:88px;bottom:calc(100% - 8px);font-size:9px;padding:7px 9px}
  .composer-media-card{max-width:calc(100% - 4px);margin-left:0;width:100%}
  .composer-media-card>img,.composer-media-card>video{width:100%;max-height:330px!important}
}

@media(max-width:390px){
  .profile-identity-panel{grid-template-columns:102px minmax(0,1fr)!important;padding-inline:10px!important}
  .profile-v05-avatar{width:98px!important;height:98px!important;margin-top:-27px!important}
  .profile-v05-name{padding-right:37px!important}
  .profile-v05-name h1{font-size:clamp(12px,3.55vw,14.5px)!important;letter-spacing:-.035em!important}
  .profile-v05-name h1 .verified-badge{width:27px!important;height:27px!important;min-width:27px!important;max-width:27px!important;min-height:27px!important;max-height:27px!important;flex-basis:27px!important;margin-left:5px!important}
}

/* =========================================================
   ANXIRA NETWORK ALPHA 0.5.5 — live comments, story identity + reactions
   ========================================================= */
/* Story verification must remain obvious in both card and full viewer. */
.story-card>strong{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important}
.story-card>strong .verified-badge{display:inline-block!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;margin:0!important;flex:0 0 17px!important;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5))}
#viewerName{display:flex;align-items:center;gap:6px;color:#fff}
#viewerName .story-viewer-badge{display:inline-block!important;width:23px!important;height:23px!important;min-width:23px!important;max-width:23px!important;margin:0!important;flex:0 0 23px!important;filter:drop-shadow(0 2px 5px rgba(0,0,0,.55))}

/* ANXIRA Story reactions replace the generic heart. */
.story-reaction-wrap{position:relative;display:flex;align-items:center}
.story-reaction-trigger{border:1px solid rgba(255,255,255,.22)!important;background:rgba(15,16,24,.58)!important;color:#c9a8ff!important;font-size:20px!important;box-shadow:0 5px 18px rgba(0,0,0,.2)}
.story-reaction-picker{display:none;position:absolute;right:-46px;bottom:48px;z-index:20;gap:5px;padding:6px 7px;border-radius:26px;background:rgba(14,16,24,.93);border:1px solid rgba(151,92,255,.42);box-shadow:0 16px 42px rgba(0,0,0,.42);backdrop-filter:blur(16px)}
.story-reaction-picker.open{display:flex}
.story-reaction-picker button{width:43px!important;height:43px!important;padding:1px!important;border:0!important;background:transparent!important;border-radius:50%!important;transition:transform .15s ease}
.story-reaction-picker button:hover{transform:translateY(-5px) scale(1.08)}
.story-reaction-picker img{width:41px;height:41px;display:block;border-radius:50%}
.story-send-button{font-size:18px!important}

@media(max-width:800px){
  /* Even slimmer identity band: just enough room for the one-line name and premium badge. */
  .profile-identity-panel{margin-top:-30px!important}
  .profile-identity-panel::before{height:34px!important;top:0!important}
  .profile-v05-name{min-height:34px!important}
  .profile-v05-name h1{height:34px!important;min-height:34px!important;line-height:1!important;align-items:center!important}
  .profile-v05-name h1 .verified-badge{width:27px!important;height:27px!important;min-width:27px!important;max-width:27px!important;min-height:27px!important;max-height:27px!important;flex-basis:27px!important}
  .profile-v05-name h2{margin-top:6px!important}
  .profile-v05-avatar{margin-top:-26px!important}
  .story-reaction-picker{position:fixed;left:50%;right:auto;bottom:74px;transform:translateX(-50%)}
}

/* ============================================================
   ANXIRA NETWORK 0.5.6 — FULL SCREEN STORY STUDIO
   ============================================================ */
.story-studio-modal{padding:0!important;background:rgba(2,4,10,.94)!important;backdrop-filter:blur(18px)}
.story-studio-shell{position:relative;width:min(100vw,1120px);height:min(100dvh,900px);margin:auto;background:#06080e;color:#fff;overflow:hidden;border-radius:24px;box-shadow:0 28px 100px rgba(0,0,0,.62)}
.story-start-screen{width:min(760px,100%);height:100%;margin:auto;padding:28px;color:var(--text);background:var(--surface);overflow:auto}
.story-start-head{height:64px;display:grid;grid-template-columns:50px 1fr 50px;align-items:center;border-bottom:1px solid var(--line)}
.story-start-head strong{text-align:center;font-size:23px}.story-studio-close{border:0;background:transparent;color:var(--text);font-size:36px;line-height:1;cursor:pointer}
.story-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}
.story-start-grid button{min-height:138px;border:1px solid var(--line);background:linear-gradient(145deg,var(--surface2),var(--surface));border-radius:22px;color:var(--text);display:grid;place-items:center;align-content:center;gap:7px;box-shadow:0 8px 24px rgba(40,32,78,.08);cursor:pointer;transition:.2s}
.story-start-grid button:hover{transform:translateY(-2px);border-color:rgba(126,66,245,.45);box-shadow:0 14px 32px rgba(108,55,220,.15)}
.story-start-grid i{font-style:normal;font-size:31px;color:var(--purple)}.story-start-grid b{font-size:16px}.story-start-grid small{color:var(--muted);font-size:10px}.story-start-grid .future{opacity:.58}
.story-start-note{margin-top:22px;padding:16px;border:1px solid rgba(126,66,245,.18);background:linear-gradient(100deg,rgba(126,66,245,.08),rgba(36,205,245,.05));border-radius:18px;display:flex;gap:12px;align-items:center}.story-start-note>span{font-size:28px;color:var(--purple)}.story-start-note b,.story-start-note small{display:block}.story-start-note small{color:var(--muted);margin-top:3px}

.story-camera-screen{position:absolute;inset:0;background:#000;z-index:20}.story-camera-screen video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.story-camera-screen header{position:absolute;top:0;left:0;right:0;padding:calc(16px + env(safe-area-inset-top)) 18px 14px;display:flex;align-items:center;justify-content:space-between;z-index:4;background:linear-gradient(rgba(0,0,0,.5),transparent)}.story-camera-screen header button{width:44px;height:44px;border:0;border-radius:50%;background:rgba(20,20,28,.38);color:#fff;font-size:29px;backdrop-filter:blur(10px)}.story-camera-screen header strong{font-size:13px;letter-spacing:3px}.story-camera-orb{position:absolute;left:50%;bottom:calc(34px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:4;display:grid;justify-items:center;gap:10px}.story-camera-orb button{width:82px;height:82px;border-radius:50%;border:3px solid rgba(255,255,255,.9);background:rgba(12,14,22,.36);padding:8px;box-shadow:0 0 0 5px rgba(126,65,245,.34),0 0 25px rgba(50,218,255,.5),0 0 45px rgba(133,55,255,.5);animation:storyCaptureGlow 2s ease-in-out infinite}.story-camera-orb button i{display:block;width:100%;height:100%;border-radius:50%;background:#fff}.story-camera-orb small{font-weight:700;text-shadow:0 2px 8px #000}@keyframes storyCaptureGlow{50%{box-shadow:0 0 0 9px rgba(126,65,245,.16),0 0 38px rgba(50,218,255,.68),0 0 65px rgba(133,55,255,.45)}}

.story-main-editor{position:absolute;inset:0;background:#000;overflow:hidden}.story-main-editor.ready{animation:storyEditorIn .2s ease-out}@keyframes storyEditorIn{from{opacity:.5;transform:scale(.985)}to{opacity:1;transform:none}}
.story-canvas{position:absolute!important;top:0;bottom:0;left:50%;transform:translateX(-50%);width:min(56.25dvh,430px);height:100dvh;max-height:100%;aspect-ratio:9/16;background:#080a10;overflow:hidden;border-radius:0;touch-action:none;isolation:isolate}
.story-canvas-backdrop{position:absolute;inset:0;background:#080a10;z-index:0}.story-canvas.text-story .story-canvas-backdrop{background:transparent}
.story-canvas>.story-selected-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:1!important;max-width:none!important;max-height:none!important;will-change:transform,filter;touch-action:none;user-select:none;-webkit-user-drag:none}
.story-bg-aurora{background:linear-gradient(145deg,#17122f,#7437f4 52%,#27b9f5)}.story-bg-sunset{background:linear-gradient(145deg,#ff8a3d,#d63d72 52%,#6d2ad7)}.story-bg-royal{background:linear-gradient(145deg,#120b2e,#4b22b9 50%,#ad4cff)}.story-bg-ocean{background:linear-gradient(145deg,#062b47,#0879a6 50%,#3de2d0)}.story-bg-rose{background:linear-gradient(145deg,#4d1235,#bd3e7c 52%,#ff9db8)}.story-bg-midnight{background:linear-gradient(145deg,#02050c,#101a31 48%,#263b69)}
.story-canvas.text-story:before,.story-canvas.text-story:after{content:"";position:absolute;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.16),transparent 68%);z-index:0}.story-canvas.text-story:before{width:85%;aspect-ratio:1;right:-32%;top:-10%}.story-canvas.text-story:after{width:110%;aspect-ratio:1;left:-48%;bottom:-22%;opacity:.55}
.story-editor-top{position:absolute;z-index:30;left:50%;top:0;transform:translateX(-50%);width:min(56.25dvh,430px);padding:calc(14px + env(safe-area-inset-top)) 14px 12px;display:grid;grid-template-columns:48px 1fr auto;align-items:center;background:linear-gradient(rgba(0,0,0,.58),transparent);pointer-events:none}.story-editor-top>*{pointer-events:auto}.story-editor-top button{border:0;color:#fff;background:rgba(16,17,24,.38);backdrop-filter:blur(12px);height:42px;border-radius:18px;padding:0 14px;font-weight:800}.story-editor-top>button:first-child{width:42px;font-size:28px;padding:0}.story-editor-top strong{text-align:center;letter-spacing:2px;font-size:11px;text-shadow:0 2px 8px #000}.story-editor-top strong span{color:#a867ff}.story-editor-share{background:linear-gradient(135deg,#9145ff,#6b2de8)!important;box-shadow:0 7px 18px rgba(111,48,231,.35)}
.story-tool-rail{position:absolute;z-index:31;right:max(calc((100vw - min(56.25dvh,430px))/2 + 12px),18px);top:94px;display:grid;gap:8px}.story-tool-rail button{width:64px;min-height:65px;border:0;border-radius:19px;background:rgba(247,247,250,.86);color:#12131b;backdrop-filter:blur(18px);box-shadow:0 7px 22px rgba(0,0,0,.18);display:grid;place-items:center;align-content:center;gap:3px}.story-tool-rail i{font-style:normal;font-size:22px;font-weight:700}.story-tool-rail span{font-size:9px;font-weight:700}
.story-editor-bottom{position:absolute;z-index:30;left:50%;bottom:0;transform:translateX(-50%);width:min(56.25dvh,430px);padding:12px 14px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(transparent,rgba(0,0,0,.72) 35%);display:flex;gap:8px;align-items:center}.story-editor-bottom select,.story-editor-bottom input{height:42px;border:1px solid rgba(255,255,255,.28);background:rgba(13,14,20,.48);color:#fff;border-radius:22px;backdrop-filter:blur(12px)}.story-editor-bottom select{width:118px;padding:0 10px}.story-editor-bottom input{flex:1;padding:0 14px}.story-editor-bottom input::placeholder{color:rgba(255,255,255,.72)}

.story-tool-panel{position:absolute;z-index:40;left:50%;bottom:70px;transform:translateX(-50%);width:min(56.25dvh,430px);max-height:44%;background:rgba(15,16,23,.82);backdrop-filter:blur(28px);border-radius:24px 24px 0 0;border:1px solid rgba(255,255,255,.16);box-shadow:0 -15px 45px rgba(0,0,0,.28);overflow:hidden}.story-tool-panel>header{height:52px;padding:0 13px;display:grid;grid-template-columns:60px 1fr 60px;align-items:center;border-bottom:1px solid rgba(255,255,255,.12)}.story-tool-panel>header strong{text-align:center}.story-tool-panel>header button{border:0;background:transparent;color:#fff;font-weight:800}.story-tool-panel>header button:first-child{text-align:left;font-size:25px}.story-tool-panel>header button:last-child{text-align:right;color:#b983ff}.story-tool-content{padding:12px 12px 16px;max-height:calc(44vh - 54px);overflow:auto;color:#fff}.story-tool-content>small{display:block;color:rgba(255,255,255,.66);font-size:9px;margin-top:10px;text-align:center}
.story-font-presets{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 10px;scrollbar-width:none}.story-font-presets::-webkit-scrollbar{display:none}.story-font-presets button{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;border-radius:12px;height:44px;padding:0 14px;white-space:nowrap}.story-font-presets button[data-font=strong]{font-family:Arial Black,Impact,sans-serif}.story-font-presets button[data-font=elegant]{font-family:Georgia,serif;font-style:italic}.story-font-presets button[data-font=script]{font-family:cursive}.story-font-presets button[data-font=editorial]{font-family:'Times New Roman',serif}.story-font-presets button[data-font=mono]{font-family:'Courier New',monospace}.story-font-presets button.active{background:#fff;color:#111;border-color:#fff}
.story-text-controls{display:flex;justify-content:center;gap:11px;padding:4px}.story-text-controls>button{width:45px;height:45px;border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.08);color:#fff;border-radius:14px;font-size:18px;font-weight:800}.story-text-controls>button.active{box-shadow:0 0 0 2px #8b42f6 inset}.story-text-controls #storyTextColorButton span{width:24px;height:24px;display:block;margin:auto;border-radius:50%;background:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.55)}.story-animation-row{display:flex;gap:7px;overflow:auto;padding:9px 2px}.story-animation-row button{border:0;background:rgba(255,255,255,.08);color:#fff;border-radius:12px;padding:9px 13px}.story-animation-row button.active{background:#7d39ed}
.story-text-layer{z-index:12!important;min-width:42px;max-width:88%!important;padding:7px 11px!important;border-radius:10px!important;font-weight:800;line-height:1.08!important;text-shadow:0 2px 7px rgba(0,0,0,.4);outline:none}.story-text-layer.is-editing{outline:1px dashed rgba(255,255,255,.48);cursor:text}.story-text-layer[data-anim=fade]{animation:storyTextFade 1.4s ease both}.story-text-layer[data-anim=pop]{animation:storyTextPop .8s cubic-bezier(.2,1.5,.4,1) both}.story-text-layer[data-anim=rise]{animation:storyTextRise .9s ease both}.story-text-layer[data-anim=pulse]{animation:storyTextPulse 1.6s ease-in-out infinite}@keyframes storyTextFade{from{opacity:0}to{opacity:1}}@keyframes storyTextPop{from{opacity:0;transform:translate(-50%,-50%) scale(.55)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes storyTextRise{from{opacity:0;transform:translate(-50%,20%)}to{opacity:1;transform:translate(-50%,-50%)}}@keyframes storyTextPulse{50%{filter:drop-shadow(0 0 10px rgba(255,255,255,.65));transform:translate(-50%,-50%) scale(1.045)}}
.story-text-float-slider{position:absolute!important;z-index:45!important;left:max(calc((100vw - min(56.25dvh,430px))/2 + 8px),8px)!important;right:auto!important;top:35%!important;bottom:auto!important;width:42px!important;height:230px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;background:rgba(17,18,25,.55)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:24px!important;backdrop-filter:blur(18px)!important}.story-text-float-slider[hidden]{display:none!important}.story-text-float-slider input{writing-mode:vertical-lr;direction:rtl;width:24px!important;height:170px!important}.story-text-float-slider span{font-weight:800;color:#fff;font-size:11px}.story-text-float-slider span:last-child{font-size:18px}
.story-sticker-layer{position:absolute;z-index:13;inset:0;pointer-events:none}.story-sticker{position:absolute;transform:translate(-50%,-50%);font-size:54px;line-height:1;pointer-events:auto;touch-action:none;cursor:move;filter:drop-shadow(0 5px 10px rgba(0,0,0,.3));user-select:none}.story-sticker img{width:72px;height:72px;display:block}.story-sticker-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.story-sticker-grid button{aspect-ratio:1;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.08);border-radius:15px;font-size:28px}.story-sticker-grid img{width:100%;height:100%;object-fit:contain}.viewer-stickers{z-index:6!important}
.story-preview-options{display:flex;gap:12px;overflow-x:auto;padding:8px 4px 13px;scrollbar-width:none}.story-preview-options::-webkit-scrollbar{display:none}.story-preview-options button{flex:0 0 72px;border:0;background:transparent;color:#fff;display:grid;gap:5px;justify-items:center}.story-preview-options button:before,.story-preview-options .story-preview-chip{content:"";width:64px;height:78px;border-radius:12px;background:linear-gradient(145deg,#34225f,#8c4bf0);background-size:cover;background-position:center;display:block;border:2px solid rgba(255,255,255,.35);box-shadow:0 6px 18px rgba(0,0,0,.24)}.story-preview-options button.active:before,.story-preview-options button.active .story-preview-chip{border-color:#fff;box-shadow:0 0 0 3px #883ff3,0 0 20px rgba(130,61,245,.5)}.story-preview-options button>span{font-size:9px}.story-filter-categories{display:flex;gap:8px;overflow:auto;border-bottom:1px solid rgba(255,255,255,.12)}.story-filter-categories button{border:0;background:transparent;color:rgba(255,255,255,.65);padding:8px 9px;white-space:nowrap}.story-filter-categories button.active{color:#c28cff;border-bottom:2px solid #9b50ff}.story-adjust-list{display:grid;gap:14px}.story-adjust-list label{display:grid;grid-template-columns:90px 1fr;align-items:center;font-size:11px}.story-adjust-list input{width:100%}.story-coming-tool{text-align:center;padding:16px}.story-coming-tool i{font-size:35px;color:#b17cff}.story-coming-tool b{display:block;margin:8px 0}.story-coming-tool p{font-size:10px;color:rgba(255,255,255,.65);max-width:330px;margin:auto;line-height:1.5}
.story-text-backgrounds{position:absolute;z-index:31;left:50%;bottom:77px;transform:translateX(-50%);width:min(56.25dvh,430px);display:flex;gap:9px;justify-content:center;padding:8px}.story-text-backgrounds button{width:32px;height:32px;border-radius:50%;border:2px solid rgba(255,255,255,.65);box-shadow:0 4px 12px rgba(0,0,0,.25)}.story-text-backgrounds button.active{box-shadow:0 0 0 3px #fff,0 0 0 5px #8d43f3}.story-text-backgrounds [data-story-bg=aurora]{background:linear-gradient(135deg,#17122f,#7437f4,#27b9f5)}.story-text-backgrounds [data-story-bg=sunset]{background:linear-gradient(135deg,#ff8a3d,#d63d72,#6d2ad7)}.story-text-backgrounds [data-story-bg=royal]{background:linear-gradient(135deg,#120b2e,#4b22b9,#ad4cff)}.story-text-backgrounds [data-story-bg=ocean]{background:linear-gradient(135deg,#062b47,#0879a6,#3de2d0)}.story-text-backgrounds [data-story-bg=rose]{background:linear-gradient(135deg,#4d1235,#bd3e7c,#ff9db8)}.story-text-backgrounds [data-story-bg=midnight]{background:linear-gradient(135deg,#02050c,#101a31,#263b69)}

/* Story viewer: Facebook/Instagram proportion, segmented progress. */
.story-progress{display:flex!important;gap:4px!important;overflow:visible!important;background:transparent!important;height:3px!important}.story-progress>span{flex:1;height:3px;border-radius:4px;overflow:hidden;background:rgba(255,255,255,.28)}.story-progress>span i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#9145ff,#39d9ff,#fff);transform:scaleX(0);transform-origin:left;animation:none!important}.story-progress>span.done i{transform:scaleX(1)}.story-progress>span.active i{animation:anxiraStory15 15s linear forwards!important}@keyframes anxiraStory15{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.viewer #viewerContent img,.viewer #viewerContent video{width:100%;height:100%;object-fit:cover;will-change:transform,filter}.viewer-story-text[data-anim=fade]{animation:storyTextFade 1.4s ease both}.viewer-story-text[data-anim=pop]{animation:storyTextPop .8s cubic-bezier(.2,1.5,.4,1) both}.viewer-story-text[data-anim=rise]{animation:storyTextRise .9s ease both}.viewer-story-text[data-anim=pulse]{animation:storyTextPulse 1.6s ease-in-out infinite}

@media(min-width:801px){.story-main-editor{background:radial-gradient(circle at 50% 50%,#171927,#05070c 65%)}.story-canvas,.story-editor-top,.story-editor-bottom,.story-tool-panel,.story-text-backgrounds{width:430px}.story-canvas{height:764px;max-height:calc(100dvh - 32px);top:50%;bottom:auto;transform:translate(-50%,-50%);border-radius:24px;box-shadow:0 25px 80px rgba(0,0,0,.55)}.story-editor-top{top:calc(50% - min(382px,calc(50dvh - 16px)));border-radius:24px 24px 0 0}.story-editor-bottom{bottom:calc(50% - min(382px,calc(50dvh - 16px)));border-radius:0 0 24px 24px}.story-tool-panel{bottom:calc(50% - min(382px,calc(50dvh - 16px)) + 70px)}.story-text-backgrounds{bottom:calc(50% - min(382px,calc(50dvh - 16px)) + 78px)}.story-tool-rail{right:calc(50% - 215px + 14px);top:calc(50% - min(382px,calc(50dvh - 16px)) + 88px)}.story-text-float-slider{left:calc(50% - 215px + 10px)!important;top:50%!important;transform:translateY(-50%)!important}}
@media(max-width:800px){.story-studio-shell{width:100vw;height:100dvh;border-radius:0}.story-start-screen{padding:calc(10px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom))}.story-start-head strong{font-size:20px}.story-start-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:18px}.story-start-grid button{min-height:118px}.story-canvas,.story-editor-top,.story-editor-bottom,.story-tool-panel,.story-text-backgrounds{width:100vw!important;left:0!important;transform:none!important}.story-canvas{height:100dvh!important;max-height:none!important}.story-tool-rail{right:10px!important;top:calc(82px + env(safe-area-inset-top))!important}.story-tool-rail button{width:58px;min-height:59px;border-radius:17px}.story-tool-panel{bottom:calc(66px + env(safe-area-inset-bottom))!important;border-radius:24px 24px 0 0}.story-text-backgrounds{bottom:calc(70px + env(safe-area-inset-bottom))!important}.story-text-float-slider{left:7px!important;top:34%!important}.story-editor-bottom{bottom:0!important}.story-editor-top{top:0!important}.story-sticker-grid{grid-template-columns:repeat(5,1fr)}.story-camera-screen{height:100dvh}.modal#storyModal{z-index:220!important}}

/* =========================================================
   ANXIRA NETWORK 0.5.7 — STORY STUDIO PRECISION UI
   Exact slim right rail, compact swipe trays, gesture editing
   ========================================================= */
.story-tool-rail{
  width:62px!important;
  padding:7px 5px!important;
  gap:0!important;
  border-radius:26px!important;
  background:rgba(246,246,248,.76)!important;
  border:1px solid rgba(255,255,255,.62)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(22px) saturate(1.15)!important;
  overflow:hidden!important;
}
.story-tool-rail button{
  width:52px!important;
  min-height:54px!important;
  height:54px!important;
  padding:3px 2px!important;
  margin:0!important;
  border:0!important;
  border-radius:14px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#15161d!important;
}
.story-tool-rail button:active{background:rgba(113,54,232,.13)!important;transform:scale(.96)}
.story-tool-rail i{font-size:21px!important;line-height:1!important}
.story-tool-rail span{font-size:9px!important;line-height:1.05!important;margin-top:2px!important}

.story-tool-panel{
  max-height:none!important;
  height:auto!important;
  min-height:0!important;
  border-radius:18px 18px 0 0!important;
  background:rgba(14,15,22,.88)!important;
  backdrop-filter:blur(25px) saturate(1.12)!important;
}
.story-tool-panel>header{height:42px!important;min-height:42px!important;grid-template-columns:42px 1fr 52px!important;padding:0 10px!important}
.story-tool-panel>header strong{font-size:15px!important}
.story-tool-panel>header button:first-child{font-size:22px!important}
.story-tool-panel>header button:last-child{font-size:12px!important}
.story-tool-content{max-height:190px!important;padding:8px 10px 10px!important;overflow:hidden!important}
.story-tool-content[data-tool-panel="text"]{max-height:204px!important}
.story-tool-content[data-tool-panel="adjust"]{max-height:188px!important;overflow:auto!important}
.story-tool-content[data-tool-panel="music"]{max-height:150px!important;overflow:auto!important}
.story-tool-content>small{font-size:8px!important;margin:5px 0 0!important}

.story-font-presets{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:2px 0 7px!important;scrollbar-width:none!important}
.story-font-presets::-webkit-scrollbar{display:none!important}
.story-font-presets button{flex:0 0 auto!important;min-width:76px!important;height:38px!important;padding:0 12px!important;border-radius:12px!important;font-size:13px!important}
.story-text-controls{display:flex!important;gap:7px!important;justify-content:center!important;padding:2px 0!important}
.story-text-controls button{width:40px!important;height:40px!important;border-radius:12px!important;font-size:17px!important}
.story-animation-row{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:7px 0 0!important;scrollbar-width:none!important}
.story-animation-row[hidden]{display:none!important}
.story-animation-row button{flex:0 0 auto!important;min-width:64px!important;height:34px!important;padding:0 11px!important;border-radius:11px!important}

/* one clean preview row — removes old fake purple top row */
.story-preview-options{display:flex!important;gap:9px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:6px 2px 8px!important;scrollbar-width:none!important}
.story-preview-options::-webkit-scrollbar{display:none!important}
.story-preview-options button{flex:0 0 66px!important;width:66px!important;min-width:66px!important;display:grid!important;justify-items:center!important;gap:4px!important}
.story-preview-options button:before{display:none!important;content:none!important}
.story-preview-options .story-preview-chip{width:60px!important;height:72px!important;border-radius:11px!important;display:block!important;background-size:cover!important;background-position:center!important}
.story-preview-options button>span{font-size:8px!important;white-space:nowrap!important;max-width:64px!important;overflow:hidden!important;text-overflow:ellipsis!important}
.story-filter-categories{gap:2px!important;height:30px!important;min-height:30px!important;overflow-x:auto!important}
.story-filter-categories button{padding:5px 9px!important;font-size:9px!important}
.story-mini-section{height:24px;display:flex;align-items:center;justify-content:space-between;color:#fff;padding:0 2px}.story-mini-section b{font-size:10px}.story-mini-section span{font-size:8px;color:rgba(255,255,255,.55)}
.story-layout-strip{display:flex;gap:7px;overflow-x:auto;padding:3px 0 6px;scrollbar-width:none}.story-layout-strip::-webkit-scrollbar{display:none}.story-layout-strip button{flex:0 0 auto;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;border-radius:10px;height:30px;padding:0 12px;font-size:9px}.story-layout-strip button.active{border-color:#b174ff;background:rgba(126,59,238,.28);box-shadow:0 0 0 1px rgba(170,107,255,.35)}

/* compact, reachable vertical text scaler */
.story-text-float-slider{
  width:34px!important;height:168px!important;top:50%!important;transform:translateY(-50%)!important;
  padding:7px 4px!important;border-radius:18px!important;background:rgba(14,15,21,.60)!important;
}
.story-text-float-slider input{height:118px!important;width:20px!important}
.story-text-float-slider span:first-child{font-size:9px!important}.story-text-float-slider span:last-child{font-size:14px!important}

/* draggable delete target */
.story-delete-zone{position:absolute;z-index:60;left:50%;bottom:82px;transform:translateX(-50%);width:154px;height:62px;border-radius:31px;border:1px solid rgba(255,255,255,.34);background:rgba(20,18,24,.72);backdrop-filter:blur(20px);display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;pointer-events:none;box-shadow:0 12px 30px rgba(0,0,0,.28);transition:.16s ease}
.story-delete-zone[hidden]{display:none!important}.story-delete-zone span{font-size:24px}.story-delete-zone b{font-size:11px}.story-delete-zone.over{background:rgba(215,47,84,.90);transform:translateX(-50%) scale(1.08);box-shadow:0 0 28px rgba(238,60,101,.48)}

.story-text-layer,.story-sticker{touch-action:none!important;-webkit-user-select:none!important;user-select:none!important}
.story-text-layer[contenteditable="true"]{touch-action:auto!important;-webkit-user-select:text!important;user-select:text!important}
.story-sticker{transform:translate(-50%,-50%);transform-origin:center center!important}

/* premium effect expansion */
.story-effect-layer.effect-prism{background:linear-gradient(115deg,transparent 28%,rgba(70,223,255,.18) 38%,rgba(186,84,255,.22) 47%,rgba(255,120,181,.15) 57%,transparent 68%);mix-blend-mode:screen;animation:anxPrism 5s ease-in-out infinite alternate}
.story-effect-layer.effect-halo{background:radial-gradient(circle at 50% 45%,transparent 26%,rgba(178,114,255,.10) 42%,rgba(83,221,255,.16) 54%,transparent 69%);mix-blend-mode:screen;animation:anxHalo 3.2s ease-in-out infinite}
.story-effect-layer.effect-pulseframe{box-shadow:inset 0 0 0 3px rgba(167,91,255,.9),inset 0 0 28px rgba(72,218,255,.42);animation:anxPulseFrame 1.9s ease-in-out infinite}
.story-effect-layer.effect-filmgrain:after{content:"";position:absolute;inset:-40%;opacity:.18;background-image:repeating-radial-gradient(circle at 30% 40%,#fff 0 1px,transparent 1px 3px);background-size:4px 4px;mix-blend-mode:soft-light;animation:anxGrain .28s steps(2) infinite}
.story-effect-layer.effect-bokeh{background:radial-gradient(circle at 18% 23%,rgba(255,255,255,.22) 0 4%,transparent 5%),radial-gradient(circle at 78% 30%,rgba(197,126,255,.22) 0 5%,transparent 6%),radial-gradient(circle at 62% 72%,rgba(75,216,255,.18) 0 4%,transparent 5%),radial-gradient(circle at 28% 79%,rgba(255,178,215,.18) 0 6%,transparent 7%);filter:blur(2px);mix-blend-mode:screen}
.story-effect-layer.effect-scan:before{content:"";position:absolute;left:0;right:0;height:2px;top:5%;background:linear-gradient(90deg,transparent,#9e59ff,#62e5ff,transparent);box-shadow:0 0 14px #74dfff;animation:anxScan 3s linear infinite}.story-effect-layer.effect-scan:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0 1px,transparent 1px 5px)}
.story-effect-layer.effect-vignette{box-shadow:inset 0 0 105px 34px rgba(0,0,0,.48)}
@keyframes anxPrism{to{transform:translateX(4%);filter:hue-rotate(18deg)}}@keyframes anxHalo{50%{opacity:.55;transform:scale(1.06)}}@keyframes anxPulseFrame{50%{box-shadow:inset 0 0 0 4px rgba(92,224,255,.95),inset 0 0 42px rgba(153,75,255,.50)}}@keyframes anxGrain{0%{transform:translate(0,0)}25%{transform:translate(2%,-1%)}50%{transform:translate(-1%,2%)}75%{transform:translate(1%,1%)}}@keyframes anxScan{to{top:95%}}

/* layouts keep one source image but present it differently */
.story-selected-media[data-layout="portrait"],#viewerContent img[data-layout="portrait"],#viewerContent video[data-layout="portrait"]{width:82%!important;height:78%!important;inset:11% 9%!important;border-radius:18px!important;box-shadow:0 18px 48px rgba(0,0,0,.38)!important;object-fit:cover!important}
.story-selected-media[data-layout="polaroid"],#viewerContent img[data-layout="polaroid"],#viewerContent video[data-layout="polaroid"]{width:82%!important;height:72%!important;inset:10% 9% 18%!important;border:12px solid #fff!important;border-bottom-width:38px!important;border-radius:6px!important;box-shadow:0 18px 48px rgba(0,0,0,.4)!important;object-fit:cover!important}
.story-selected-media[data-layout="cinema"],#viewerContent img[data-layout="cinema"],#viewerContent video[data-layout="cinema"]{height:58%!important;top:21%!important;bottom:auto!important;object-fit:cover!important;box-shadow:0 0 0 999px rgba(0,0,0,.23)!important}
.story-selected-media[data-layout="split"],#viewerContent img[data-layout="split"],#viewerContent video[data-layout="split"]{width:92%!important;height:46%!important;inset:27% 4%!important;border-radius:16px!important;object-fit:cover!important;box-shadow:0 18px 45px rgba(0,0,0,.35)!important}

@media(max-width:800px){
  .story-tool-rail{right:9px!important;top:calc(90px + env(safe-area-inset-top))!important;width:58px!important;padding:6px 3px!important;border-radius:24px!important}
  .story-tool-rail button{width:50px!important;height:52px!important;min-height:52px!important}
  .story-tool-panel{bottom:calc(62px + env(safe-area-inset-bottom))!important;max-height:none!important}
  .story-tool-content{max-height:176px!important}.story-tool-content[data-tool-panel="text"]{max-height:190px!important}
  .story-text-float-slider{left:6px!important;top:50%!important;height:158px!important}.story-text-float-slider input{height:108px!important}
  .story-delete-zone{bottom:calc(78px + env(safe-area-inset-bottom));width:146px;height:58px}
  .story-preview-options button{flex-basis:62px!important;width:62px!important;min-width:62px!important}.story-preview-options .story-preview-chip{width:56px!important;height:66px!important}
}

/* === ANXIRA 0.5.8 Story direct-manipulation UX === */
.story-text-layer{
  outline:none!important;
  border:none!important;
  box-shadow:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
.story-text-layer.is-editing{
  outline:none!important;
  border:none!important;
  box-shadow:none!important;
  cursor:text!important;
}
.story-text-layer:focus{outline:none!important;box-shadow:none!important}
.story-text-layer:not(.is-editing){cursor:grab!important}
.story-text-layer:not(.is-editing):active{cursor:grabbing!important}

/* Keep the canvas clean while an object is being moved toward the trash. */
.story-main-editor.object-dragging .story-tool-panel,
.story-main-editor.object-dragging .story-tool-rail,
.story-main-editor.object-dragging .story-text-backgrounds,
.story-main-editor.object-dragging .story-editor-bottom{
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .12s ease!important;
}
.story-delete-zone{z-index:110!important}

/* Text-only background swatches must never sit on top of the delete interaction. */
.story-text-backgrounds{transition:opacity .12s ease!important}

/* Direct pinch now replaces the old mandatory size slider. Keep it out of the way. */
.story-text-float-slider{display:none!important}

/* The text tray only contains useful styling controls; no decorative box around live text. */
.story-text-controls{justify-content:flex-start!important;overflow-x:auto!important;scrollbar-width:none!important}
.story-text-controls::-webkit-scrollbar{display:none!important}

/* One card per person even when they have several active Story moments. */
.story-card.premium-story small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


/* === ANXIRA 0.5.9 instant mobile Story text editing === */
.story-text-layer{
  padding:14px 18px!important;
  margin:-14px -18px!important;
  min-width:44px!important;
  min-height:44px!important;
  box-sizing:content-box!important;
  background-clip:content-box!important;
}
.story-text-layer.is-editing{
  touch-action:manipulation!important;
  -webkit-user-select:text!important;
  user-select:text!important;
  caret-color:currentColor!important;
}
.story-text-layer:not(.is-editing){touch-action:none!important}
.story-music-rights{display:flex!important;gap:9px!important;align-items:flex-start!important;font-size:11px!important;line-height:1.35!important;color:var(--muted)!important;margin-top:9px!important}
.story-music-rights input{margin-top:2px!important;flex:0 0 auto!important}
.story-music-upload{display:grid!important;gap:9px!important;padding:4px 2px 8px!important}
.story-music-upload .music-file-row{display:flex!important;align-items:center!important;gap:8px!important}
.story-music-upload label.btn{cursor:pointer!important;white-space:nowrap!important}
.story-music-upload small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;flex:1!important;color:var(--muted)!important}
.story-music-upload button{border:0!important;background:transparent!important;color:#b78cff!important;font-weight:800!important}

/* === ANXIRA 0.6 Music Library === */
.story-music-panel{max-height:270px!important;overflow:hidden!important;padding-bottom:5px!important}
.story-music-tabs{display:flex;gap:5px;padding:0 2px 7px}.story-music-tabs button{border:0;border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.7);height:27px;padding:0 12px;font-size:9px;font-weight:800}.story-music-tabs button.active{background:#fff;color:#17131d}
.story-music-library{display:grid;gap:6px}.story-music-search{height:31px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.07);border-radius:16px;display:flex;align-items:center;gap:7px;padding:0 10px}.story-music-search span{color:#b782ff}.story-music-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#fff;font-size:10px}.story-music-search input::placeholder{color:rgba(255,255,255,.48)}
.story-music-moods{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding:1px 0}.story-music-moods::-webkit-scrollbar{display:none}.story-music-moods button{flex:0 0 auto;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.055);color:rgba(255,255,255,.72);height:25px;border-radius:999px;padding:0 9px;font-size:8px}.story-music-moods button.active{border-color:#9e56ff;color:#fff;background:rgba(126,59,238,.28)}
.story-music-track-list{display:grid;gap:4px;max-height:112px;overflow-y:auto;padding-right:2px;overscroll-behavior:contain}.story-music-track{width:100%;height:47px;border:1px solid transparent;background:rgba(255,255,255,.045);color:#fff;border-radius:12px;display:grid;grid-template-columns:34px minmax(0,1fr) 24px;align-items:center;gap:8px;padding:5px 8px;text-align:left}.story-music-track>i{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-style:normal;font-size:8px;font-weight:900;background:linear-gradient(145deg,#5d2fd3,#291a58);box-shadow:inset 0 0 15px rgba(119,220,255,.17)}.story-music-track:nth-child(2n)>i{background:linear-gradient(145deg,#1d87a4,#5934b9)}.story-music-track span{min-width:0;display:grid;gap:1px}.story-music-track b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-music-track small{font-size:7.5px;color:rgba(255,255,255,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-music-track em{font-style:normal;font-size:10px;opacity:.7}.story-music-track.selected{border-color:#ad6cff;background:rgba(126,59,238,.2);box-shadow:0 0 0 1px rgba(173,108,255,.22)}.story-music-track.selected em{color:#c69aff;opacity:1}
.story-music-controls{display:grid;gap:4px;border-top:1px solid rgba(255,255,255,.08);padding-top:5px}.story-music-controls>div{display:flex;align-items:center;justify-content:space-between}.story-music-controls b{font-size:8.5px;color:#fff;max-width:75%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-music-controls button{border:0;background:transparent;color:#bc8cff;font-size:8px;font-weight:800}.story-music-controls label{display:grid;grid-template-columns:38px minmax(0,1fr) 30px;align-items:center;gap:5px;color:rgba(255,255,255,.58);font-size:7.5px}.story-music-controls input[type=range]{width:100%;accent-color:#8c42ff}.story-music-controls label span{text-align:right;color:#fff}
.story-music-upload[data-music-view="upload"]{max-height:190px!important;overflow:auto!important}.story-music-upload>input[type=text]{height:32px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;border-radius:10px;padding:0 9px;font-size:9px;outline:0}
.viewer-music-tag{position:absolute;z-index:24;left:17px;bottom:78px;max-width:62%;height:26px;border-radius:13px;background:rgba(8,9,14,.54);backdrop-filter:blur(13px);color:#fff;padding:0 10px;display:flex;align-items:center;gap:5px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.viewer-music-tag span{overflow:hidden;text-overflow:ellipsis}.viewer-music-tag[hidden]{display:none!important}
@media(max-width:800px){.story-tool-content[data-tool-panel="music"]{max-height:255px!important}.story-music-panel{max-height:255px!important}.story-music-track-list{max-height:105px}.viewer-music-tag{bottom:calc(74px + env(safe-area-inset-bottom))}}

/* === ANXIRA 0.6.2 REAL MUSIC CATALOG === */
.story-music-status{display:flex;align-items:center;gap:8px;padding:8px 4px;color:var(--muted);font-size:11px}.story-music-status b{font-weight:700}.music-pulse{width:7px;height:7px;border-radius:50%;background:#8b5cf6;box-shadow:0 0 12px #8b5cf6;animation:musicPulse 1.4s infinite}@keyframes musicPulse{50%{opacity:.35;transform:scale(.75)}}
.story-music-track-list.real-catalog{display:grid;gap:5px;max-height:220px;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}.story-music-track.real-track{display:grid;grid-template-columns:44px minmax(0,1fr) 30px;gap:9px;align-items:center;width:100%;min-height:50px;padding:4px 6px;border:0;border-radius:11px;background:transparent;color:var(--text);text-align:left}.story-music-track.real-track:hover,.story-music-track.real-track.selected{background:rgba(123,68,255,.13)}.story-music-track.real-track>img{width:44px;height:44px;border-radius:9px;object-fit:cover;background:#15131c}.story-music-track.real-track span{min-width:0;display:grid}.story-music-track.real-track b,.story-music-track.real-track small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-music-track.real-track b{font-size:12px}.story-music-track.real-track small{font-size:9px;color:var(--muted);margin-top:2px}.story-music-track.real-track em{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(123,68,255,.13);color:var(--purple);font-style:normal;font-size:10px}.story-music-track.real-track.selected em{background:var(--purple);color:#fff}.music-empty{padding:18px 10px;text-align:center;color:var(--muted);font-size:11px}.story-music-setup{text-align:center;padding:16px 10px;border:1px dashed rgba(132,84,255,.35);border-radius:13px;background:rgba(123,68,255,.06)}.story-music-setup b{font-size:13px}.story-music-setup p{font-size:10px;color:var(--muted);line-height:1.45}.story-music-controls>small{display:block;margin-top:6px;color:var(--muted);font-size:9px}.viewer-music-tag{max-width:min(78vw,440px)}.viewer-music-tag small{display:block;font-size:8px;opacity:.75;margin-left:18px}.music-connect-card{max-width:560px}.music-connect-card>p,.music-connect-help{color:var(--muted);font-size:12px;line-height:1.55}.music-connect-card label{display:grid;gap:7px;text-align:left;margin:18px 0}.music-connect-card input{height:46px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--text);padding:0 12px}.music-connect-help{text-align:left;margin:18px 0;padding:14px;border-radius:12px;background:var(--surface2)}.music-connect-help ol{padding-left:20px}
@media(max-width:800px){.story-music-track-list.real-catalog{max-height:205px}.story-music-track.real-track{grid-template-columns:42px minmax(0,1fr) 28px;min-height:48px}.story-music-track.real-track>img{width:42px;height:42px}}
.viewer-music-tag>a{display:inline-block;margin-left:18px;color:#d8c8ff;font-size:8px;text-decoration:underline;text-underline-offset:2px}.viewer-music-tag>a[hidden]{display:none!important}

/* === ANXIRA 0.6.3 Expanded Real Music Browser === */
.story-music-moods{display:flex!important;overflow-x:auto!important;gap:7px!important;padding-bottom:5px!important;scrollbar-width:none}.story-music-moods::-webkit-scrollbar{display:none}.story-music-moods button{flex:0 0 auto!important;white-space:nowrap!important}.story-music-track-list.real-catalog{max-height:42vh!important;overflow-y:auto!important;overscroll-behavior:contain}.story-music-load-more{width:calc(100% - 20px);margin:8px 10px 4px;padding:11px 14px;border-radius:14px;border:1px solid rgba(139,72,255,.35);background:rgba(129,55,242,.12);color:var(--purple);font-weight:800}.story-music-load-more:disabled{opacity:.55}
@media(max-width:800px){.story-music-track-list.real-catalog{max-height:34vh!important}.story-music-load-more{padding:10px 12px;margin-top:6px}}

/* === ANXIRA 0.6.4 Music Clip Editor === */
.story-music-library.clip-editing>.story-music-search,
.story-music-library.clip-editing>.story-music-moods,
.story-music-library.clip-editing>.story-music-status,
.story-music-library.clip-editing>.story-music-track-list,
.story-music-library.clip-editing>.story-music-load-more,
.story-music-library.clip-editing>.story-music-setup{display:none!important}
.story-music-panel:has(.story-music-library.clip-editing){max-height:315px!important}
.story-clip-editor{border-top:0!important;padding:2px 1px 5px!important;gap:8px!important}
.story-clip-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.story-clip-head>span{min-width:0;display:grid;gap:1px}.story-clip-head>span small{font-size:7px;letter-spacing:.16em;color:#a86cff}.story-clip-head b{font-size:11px!important;max-width:100%!important}.story-clip-head-actions{display:flex;gap:4px;flex:0 0 auto}.story-clip-head-actions button{padding:6px 8px!important;border-radius:9px!important;background:rgba(255,255,255,.07)!important;color:#fff!important}.story-clip-head-actions #storyMusicClear{color:#ff8ca7!important}
.story-wave-editor{display:grid;gap:4px}.story-wave-times{display:grid!important;grid-template-columns:50px 1fr 50px!important;align-items:center!important;font-size:8px;color:rgba(255,255,255,.72)}.story-wave-times b{text-align:center!important;font-size:8px!important;color:#cdaeff!important;letter-spacing:.08em}.story-wave-times span:last-child{text-align:right}
.story-wave-shell{position:relative;height:70px;border-radius:13px;overflow:hidden;background:linear-gradient(180deg,rgba(119,56,223,.17),rgba(10,9,15,.38));border:1px solid rgba(255,255,255,.09)}
.story-wave-bars{position:absolute;inset:8px 7px;display:flex;align-items:center;gap:2px;opacity:.72}.story-wave-bars i{display:block;flex:1;min-width:1px;border-radius:3px;background:linear-gradient(180deg,#d9c6ff,#9554ff 55%,#36d7ff)}
.story-wave-selection{position:absolute;top:3px;bottom:3px;left:0;width:12%;border:2px solid #fff;border-radius:10px;background:linear-gradient(180deg,rgba(152,72,255,.13),rgba(58,207,255,.09));box-shadow:0 0 0 1px rgba(148,68,255,.8),inset 0 0 18px rgba(122,61,255,.16);pointer-events:none}.story-wave-selection i{position:absolute;top:50%;width:4px;height:26px;border-radius:3px;background:#fff;transform:translateY(-50%)}.story-wave-selection i:first-child{left:-3px}.story-wave-selection i:last-child{right:-3px}
.story-clip-range{width:100%!important;height:18px!important;margin-top:-5px!important;accent-color:#8c42ff}.story-duration-picker{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}.story-duration-picker>span{font-size:8px;color:rgba(255,255,255,.58)}.story-duration-picker>div{display:flex;gap:5px}.story-duration-picker button{height:28px!important;min-width:48px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(255,255,255,.06)!important;color:#fff!important;font-size:9px!important;font-weight:800!important}.story-duration-picker button.active{background:linear-gradient(135deg,#7738f4,#9e54ff)!important;border-color:#b98bff!important;box-shadow:0 0 14px rgba(130,61,244,.28)}
.story-clip-actions{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:8px!important;align-items:center!important}.story-clip-actions>button{height:31px!important;border:0!important;border-radius:10px!important;background:rgba(128,58,240,.22)!important;color:#fff!important;padding:0 11px!important;font-size:8px!important;font-weight:800!important}.story-clip-actions label{display:grid!important;grid-template-columns:36px minmax(0,1fr) 28px!important;gap:5px!important;font-size:7.5px!important}.story-clip-actions input{width:100%!important}
.story-clip-summary{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:5px!important}.story-clip-summary span{display:grid;gap:1px;padding:5px 7px;border-radius:8px;background:rgba(255,255,255,.05);font-size:7px;color:rgba(255,255,255,.52)}.story-clip-summary b{font-size:9px!important;color:#fff!important}.story-clip-summary span:nth-child(2){text-align:center}.story-clip-summary span:nth-child(3){text-align:right}
@media(max-width:800px){.story-music-panel:has(.story-music-library.clip-editing){max-height:290px!important}.story-wave-shell{height:62px}.story-clip-head-actions button{padding:5px 7px!important}.story-duration-picker button{height:27px!important;min-width:46px!important}}
.story-wave-editor{position:relative}
.story-wave-editor .story-clip-range{position:absolute!important;left:0!important;right:0!important;top:19px!important;width:100%!important;height:70px!important;margin:0!important;opacity:.012!important;z-index:5!important;cursor:ew-resize!important;touch-action:pan-x!important}
@media(max-width:800px){.story-wave-editor .story-clip-range{height:62px!important}}

/* === ANXIRA 0.6.5 Instagram-style fixed-window waveform editor === */
.story-wave-shell{
  position:relative!important;
  height:78px!important;
  overflow:hidden!important;
  touch-action:none!important;
  cursor:grab!important;
  background:linear-gradient(180deg,rgba(18,13,28,.92),rgba(8,7,13,.98))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:inset 0 0 26px rgba(117,56,220,.10)!important;
  user-select:none!important;
}
.story-wave-shell.dragging{cursor:grabbing!important}
.story-wave-bars{
  position:absolute!important;
  top:9px!important;
  bottom:9px!important;
  left:0!important;
  right:auto!important;
  inset:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:2px!important;
  opacity:.94!important;
  will-change:transform,width!important;
  transform:translate3d(0,0,0);
}
.story-wave-bars i{
  flex:0 0 3px!important;
  width:3px!important;
  min-width:3px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#f2eaff 0%,#b987ff 38%,#7f46ff 70%,#49d9ff 100%)!important;
  box-shadow:0 0 5px rgba(147,79,255,.17)!important;
}
.story-wave-selection{
  position:absolute!important;
  z-index:6!important;
  top:5px!important;
  bottom:5px!important;
  left:50%!important;
  width:58%!important;
  transform:translateX(-50%)!important;
  border:2px solid rgba(255,255,255,.96)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,rgba(141,67,255,.08),rgba(39,194,255,.045))!important;
  box-shadow:0 0 0 1px rgba(151,76,255,.62),0 0 18px rgba(122,61,255,.24),inset 0 0 18px rgba(112,58,209,.11)!important;
  pointer-events:none!important;
}
.story-wave-selection>i{position:absolute!important;top:50%!important;width:4px!important;height:31px!important;border-radius:999px!important;background:#fff!important;transform:translateY(-50%)!important;box-shadow:0 0 8px rgba(255,255,255,.45)!important}
.story-wave-selection>i:first-child{left:-3px!important}.story-wave-selection>i:last-child{right:-3px!important}
.story-wave-selection>span{position:absolute;left:50%;top:5px;transform:translateX(-50%);font-size:7px;font-weight:900;letter-spacing:.13em;color:rgba(255,255,255,.72);white-space:nowrap}
.story-wave-playhead{position:absolute;z-index:7;left:50%;top:10px;bottom:10px;width:1px;background:rgba(255,255,255,.22);transform:translateX(-50%);pointer-events:none}
.story-wave-edge{position:absolute;z-index:5;top:0;bottom:0;width:18%;pointer-events:none}.story-wave-edge.left{left:0;background:linear-gradient(90deg,rgba(8,7,13,.98),rgba(8,7,13,0))}.story-wave-edge.right{right:0;background:linear-gradient(-90deg,rgba(8,7,13,.98),rgba(8,7,13,0))}
.story-wave-hint{text-align:center;font-size:7.5px;color:rgba(255,255,255,.48);letter-spacing:.04em;margin-top:-1px}
.story-wave-editor .story-clip-range{display:none!important}
.story-wave-times{grid-template-columns:54px 1fr 54px!important}.story-wave-times b{font-size:8px!important}
@media(max-width:800px){
 .story-wave-shell{height:72px!important}
 .story-wave-selection{width:62%!important;top:4px!important;bottom:4px!important}
 .story-wave-bars{top:8px!important;bottom:8px!important;gap:2px!important}
 .story-wave-bars i{flex-basis:3px!important;width:3px!important;min-width:3px!important}
}

/* === ANXIRA 0.6.5.1 EMERGENCY WAVEFORM VISIBILITY FIX === */
.story-wave-shell{height:84px!important;min-height:84px!important;overflow:hidden!important;position:relative!important}
.story-wave-bars{
  position:absolute!important;
  left:0!important;
  top:10px!important;
  bottom:auto!important;
  right:auto!important;
  height:64px!important;
  min-height:64px!important;
  display:flex!important;
  align-items:center!important;
  gap:2px!important;
  opacity:1!important;
  z-index:2!important;
  pointer-events:none!important;
}
.story-wave-bars i{
  display:block!important;
  flex:0 0 3px!important;
  width:3px!important;
  min-width:3px!important;
  height:50%!important;
  min-height:8px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#ffffff 0%,#d8b9ff 28%,#9b5cff 58%,#55dfff 100%)!important;
  box-shadow:0 0 5px rgba(151,82,255,.35)!important;
}
.story-wave-selection{z-index:8!important;top:4px!important;bottom:4px!important;height:auto!important;width:58%!important;left:50%!important;transform:translateX(-50%)!important}
.story-wave-edge{z-index:5!important}.story-wave-playhead{z-index:9!important}
@media(max-width:800px){
 .story-wave-shell{height:78px!important;min-height:78px!important}
 .story-wave-bars{top:9px!important;height:60px!important;min-height:60px!important}
}


/* === ANXIRA 0.6.6 FULL-SCREEN MUSIC CLIP OVERLAY === */
#storyForm.music-clip-overlay-open .story-editor-bottom{display:none!important}
#storyForm.music-clip-overlay-open #storyToolPanel{
  position:absolute!important;inset:0!important;display:block!important;background:transparent!important;border:0!important;z-index:40!important;overflow:visible!important;pointer-events:none!important;
}
#storyForm.music-clip-overlay-open #storyToolPanel>header{
  position:absolute!important;top:12px!important;left:12px!important;right:12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:transparent!important;border:0!important;padding:0!important;pointer-events:auto!important;
}
#storyForm.music-clip-overlay-open #storyToolPanel>header strong{color:#fff!important;letter-spacing:.18em!important;font-size:11px!important;text-shadow:0 2px 10px rgba(0,0,0,.35)!important}
#storyForm.music-clip-overlay-open #storyToolPanel>header strong span{color:#a86cff!important}
#storyForm.music-clip-overlay-open #storyToolBack,
#storyForm.music-clip-overlay-open #storyToolDone{
  min-width:56px!important;height:56px!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(12,10,20,.50)!important;backdrop-filter:blur(10px)!important;color:#fff!important;font-size:18px!important;box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
#storyForm.music-clip-overlay-open #storyToolDone{padding:0 22px!important;background:linear-gradient(135deg,#7d3cff,#9d58ff)!important;border-color:rgba(207,182,255,.4)!important;font-size:13px!important;font-weight:800!important}
#storyForm.music-clip-overlay-open [data-tool-panel="music"]{display:block!important;position:absolute!important;inset:0!important;background:transparent!important;padding:0!important;pointer-events:none!important}
#storyForm.music-clip-overlay-open .story-music-library,
#storyForm.music-clip-overlay-open #storyMusicControls{display:block!important;position:absolute!important;inset:0!important;background:transparent!important;pointer-events:none!important}
#storyForm.music-clip-overlay-open .story-music-tabs,
#storyForm.music-clip-overlay-open .story-music-search,
#storyForm.music-clip-overlay-open .story-music-moods,
#storyForm.music-clip-overlay-open .story-music-status,
#storyForm.music-clip-overlay-open .story-music-track-list,
#storyForm.music-clip-overlay-open .story-music-load-more,
#storyForm.music-clip-overlay-open .story-music-setup,
#storyForm.music-clip-overlay-open .story-clip-head-actions,
#storyForm.music-clip-overlay-open .story-clip-actions,
#storyForm.music-clip-overlay-open .story-clip-summary,
#storyForm.music-clip-overlay-open #storyMusicAttribution{display:none!important}
#storyForm.music-clip-overlay-open .story-clip-head{
  position:absolute!important;left:16px!important;right:96px!important;top:82px!important;display:block!important;pointer-events:none!important;
}
#storyForm.music-clip-overlay-open .story-clip-head>span{
  display:inline-grid!important;gap:4px!important;max-width:100%!important;padding:12px 16px!important;border-radius:18px!important;background:linear-gradient(180deg,rgba(11,9,18,.68),rgba(11,9,18,.36))!important;border:1px solid rgba(255,255,255,.10)!important;backdrop-filter:blur(12px)!important;box-shadow:0 14px 40px rgba(0,0,0,.26)!important;
}
#storyForm.music-clip-overlay-open .story-clip-head small{font-size:10px!important;letter-spacing:.18em!important;color:#bf91ff!important}
#storyForm.music-clip-overlay-open .story-clip-head b{font-size:18px!important;line-height:1.08!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#storyForm.music-clip-overlay-open .story-wave-editor{
  position:absolute!important;left:16px!important;right:16px!important;bottom:114px!important;display:grid!important;grid-template-areas:"times dial" "wave dial" "hint dial"!important;grid-template-columns:minmax(0,1fr) 70px!important;gap:12px 14px!important;align-items:end!important;pointer-events:none!important;
}
#storyForm.music-clip-overlay-open .story-wave-times{grid-area:times!important;display:grid!important;grid-template-columns:56px 1fr 56px!important;align-items:center!important;font-size:12px!important;color:rgba(255,255,255,.9)!important;text-shadow:0 1px 8px rgba(0,0,0,.35)!important;margin-bottom:2px!important}
#storyForm.music-clip-overlay-open .story-wave-times b{font-size:11px!important;letter-spacing:.24em!important;color:#d8beff!important}
#storyForm.music-clip-overlay-open .story-wave-shell{
  grid-area:wave!important;height:124px!important;min-height:124px!important;border-radius:28px!important;background:linear-gradient(180deg,rgba(8,8,13,.18),rgba(8,8,13,.08))!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:inset 0 0 18px rgba(123,67,247,.15),0 16px 40px rgba(0,0,0,.20)!important;backdrop-filter:blur(4px)!important;pointer-events:auto!important;
}
#storyForm.music-clip-overlay-open .story-wave-edge{display:none!important}
#storyForm.music-clip-overlay-open .story-wave-selection{width:46%!important;top:10px!important;bottom:10px!important;border-radius:22px!important;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.03))!important;border:2px solid rgba(255,255,255,.96)!important;box-shadow:0 0 0 1px rgba(130,75,255,.55),0 0 20px rgba(132,71,255,.18),inset 0 0 24px rgba(255,255,255,.06)!important}
#storyForm.music-clip-overlay-open .story-wave-selection>span{top:8px!important;font-size:10px!important;letter-spacing:.18em!important;color:#f5ecff!important}
#storyForm.music-clip-overlay-open .story-wave-selection>i{height:44px!important;width:5px!important;background:rgba(255,255,255,.98)!important}
#storyForm.music-clip-overlay-open .story-wave-playhead{display:none!important}
#storyForm.music-clip-overlay-open .story-wave-hint{grid-area:hint!important;text-align:left!important;font-size:11px!important;color:rgba(255,255,255,.7)!important;letter-spacing:.02em!important;padding-left:4px!important;text-shadow:0 1px 6px rgba(0,0,0,.25)!important}
#storyForm.music-clip-overlay-open .story-duration-picker{
  grid-area:dial!important;align-self:end!important;display:grid!important;gap:10px!important;justify-items:center!important;pointer-events:auto!important;align-content:end!important;
}
#storyForm.music-clip-overlay-open .story-duration-picker>span{display:none!important}
#storyForm.music-clip-overlay-open .story-duration-picker>div{
  display:grid!important;gap:10px!important;padding:10px 8px!important;border-radius:999px!important;background:linear-gradient(180deg,rgba(10,9,16,.68),rgba(10,9,16,.42))!important;border:1px solid rgba(255,255,255,.08)!important;backdrop-filter:blur(10px)!important;box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
#storyForm.music-clip-overlay-open .story-duration-picker button{width:54px!important;height:54px!important;min-width:54px!important;border-radius:50%!important;font-size:13px!important;line-height:1!important}
#storyForm.music-clip-overlay-open .story-wave-canvas{
  position:absolute!important;left:0!important;top:12px!important;height:calc(100% - 24px)!important;width:auto!important;z-index:2!important;pointer-events:none!important;will-change:transform!important;
}
#storyForm.music-clip-overlay-open .story-wave-bars{display:none!important}
#storyForm.music-clip-overlay-open .story-music-meta-float{position:absolute;left:18px;right:18px;bottom:256px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}
#storyForm.music-clip-overlay-open .story-music-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(10,10,18,.42);border:1px solid rgba(255,255,255,.08);color:#fff;backdrop-filter:blur(10px);font-size:12px;box-shadow:0 10px 30px rgba(0,0,0,.20)}
#storyForm.music-clip-overlay-open .story-music-change-link{pointer-events:auto;border:0;background:rgba(10,10,18,.42);color:#fff;padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(10px);font-size:12px;box-shadow:0 10px 30px rgba(0,0,0,.20)}
@media(max-width:800px){
 #storyForm.music-clip-overlay-open #storyToolPanel>header{top:10px!important;left:10px!important;right:10px!important}
 #storyForm.music-clip-overlay-open #storyToolBack,
 #storyForm.music-clip-overlay-open #storyToolDone{height:50px!important;min-width:50px!important;border-radius:16px!important}
 #storyForm.music-clip-overlay-open .story-clip-head{top:76px!important;left:12px!important;right:88px!important}
 #storyForm.music-clip-overlay-open .story-clip-head b{font-size:16px!important}
 #storyForm.music-clip-overlay-open .story-wave-editor{left:12px!important;right:12px!important;bottom:26px!important;grid-template-columns:minmax(0,1fr) 62px!important;gap:10px 12px!important}
 #storyForm.music-clip-overlay-open .story-wave-shell{height:110px!important;min-height:110px!important;border-radius:24px!important}
 #storyForm.music-clip-overlay-open .story-wave-selection{width:44%!important;top:8px!important;bottom:8px!important;border-radius:18px!important}
 #storyForm.music-clip-overlay-open .story-wave-selection>span{font-size:9px!important;top:7px!important}
 #storyForm.music-clip-overlay-open .story-wave-selection>i{height:38px!important}
 #storyForm.music-clip-overlay-open .story-duration-picker button{width:48px!important;height:48px!important;min-width:48px!important;font-size:12px!important}
 #storyForm.music-clip-overlay-open .story-music-meta-float{bottom:214px!important;left:12px!important;right:12px!important}
}


/* === ANXIRA 0.6.6.1 CENTERED MUSIC CLIP COMPOSER === */
#storyForm.music-clip-overlay-open .story-music-upload{display:none!important}
#storyForm.music-clip-overlay-open .story-music-panel{position:absolute!important;inset:0!important;max-height:none!important;background:transparent!important;overflow:visible!important;padding:0!important;border:0!important}
#storyForm.music-clip-overlay-open .story-music-library{position:absolute!important;inset:0!important;max-height:none!important;overflow:visible!important;background:transparent!important}
#storyForm.music-clip-overlay-open #storyMusicControls{position:absolute!important;inset:0!important;display:block!important;max-height:none!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important}
#storyForm.music-clip-overlay-open .story-clip-head{
  top:108px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(78vw,560px)!important;text-align:center!important;pointer-events:none!important
}
#storyForm.music-clip-overlay-open .story-clip-head>span{display:inline-grid!important;justify-items:center!important;max-width:100%!important;padding:10px 16px!important;background:rgba(9,8,16,.44)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:18px!important;backdrop-filter:blur(10px)!important}
#storyForm.music-clip-overlay-open .story-clip-head small{font-size:9px!important;letter-spacing:.2em!important}
#storyForm.music-clip-overlay-open .story-clip-head b{font-size:17px!important;max-width:68vw!important}
#storyForm.music-clip-overlay-open .story-wave-editor{
  left:50%!important;right:auto!important;bottom:auto!important;top:50%!important;transform:translate(-50%,-47%)!important;width:min(92vw,620px)!important;
  grid-template-areas:"times" "wave" "hint" "dial"!important;grid-template-columns:1fr!important;gap:10px!important;align-items:center!important;justify-items:stretch!important;pointer-events:none!important
}
#storyForm.music-clip-overlay-open .story-wave-times{width:100%!important;padding:0 8px!important;grid-template-columns:64px 1fr 64px!important;font-size:11px!important}
#storyForm.music-clip-overlay-open .story-wave-times b{font-size:10px!important;letter-spacing:.18em!important}
#storyForm.music-clip-overlay-open .story-wave-shell{width:100%!important;height:132px!important;min-height:132px!important;border-radius:30px!important;pointer-events:auto!important;background:rgba(8,8,14,.14)!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 18px 46px rgba(0,0,0,.22),inset 0 0 24px rgba(119,62,235,.12)!important}
#storyForm.music-clip-overlay-open .story-wave-selection{width:45%!important;top:11px!important;bottom:11px!important;border-radius:24px!important;box-shadow:0 0 0 1px rgba(133,72,255,.58),0 0 28px rgba(130,69,255,.22),inset 0 0 28px rgba(255,255,255,.05)!important}
#storyForm.music-clip-overlay-open .story-wave-selection>span{top:10px!important;font-size:10px!important}
#storyForm.music-clip-overlay-open .story-wave-hint{width:100%!important;text-align:center!important;padding:0!important;font-size:11px!important;color:rgba(255,255,255,.72)!important}
#storyForm.music-clip-overlay-open .story-duration-picker{grid-area:dial!important;width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important;margin-top:2px!important;pointer-events:auto!important}
#storyForm.music-clip-overlay-open .story-duration-picker>div{display:flex!important;gap:12px!important;padding:8px!important;border-radius:999px!important;background:rgba(9,8,16,.38)!important;border:1px solid rgba(255,255,255,.08)!important;backdrop-filter:blur(10px)!important}
#storyForm.music-clip-overlay-open .story-duration-picker button{width:58px!important;height:42px!important;min-width:58px!important;border-radius:999px!important;font-size:12px!important}
#storyForm.music-clip-overlay-open .story-duration-picker button.active{box-shadow:0 0 0 1px rgba(215,192,255,.5),0 0 22px rgba(130,69,255,.32)!important}
#storyForm.music-clip-overlay-open .story-music-meta-float{display:none!important}
#storyForm.music-clip-overlay-open #storyToolPanel>header{top:14px!important;left:16px!important;right:16px!important}
#storyForm.music-clip-overlay-open #storyToolBack{min-width:52px!important;width:52px!important;height:52px!important;border-radius:17px!important}
#storyForm.music-clip-overlay-open #storyToolDone{min-width:84px!important;height:52px!important;border-radius:17px!important}
#storyForm.music-clip-overlay-open #storyToolPanel>header strong{font-size:10px!important}
@media(max-width:800px){
 #storyForm.music-clip-overlay-open .story-clip-head{top:94px!important;width:82vw!important}
 #storyForm.music-clip-overlay-open .story-clip-head b{font-size:15px!important;max-width:72vw!important}
 #storyForm.music-clip-overlay-open .story-wave-editor{top:49%!important;transform:translate(-50%,-46%)!important;width:92vw!important;gap:9px!important}
 #storyForm.music-clip-overlay-open .story-wave-shell{height:118px!important;min-height:118px!important;border-radius:26px!important}
 #storyForm.music-clip-overlay-open .story-wave-selection{width:44%!important;top:9px!important;bottom:9px!important;border-radius:21px!important}
 #storyForm.music-clip-overlay-open .story-duration-picker>div{gap:8px!important;padding:7px!important}
 #storyForm.music-clip-overlay-open .story-duration-picker button{width:52px!important;height:38px!important;min-width:52px!important;font-size:11px!important}
 #storyForm.music-clip-overlay-open #storyToolPanel>header{top:10px!important;left:12px!important;right:12px!important}
}


/* === ANXIRA 0.6.6.2 MUSIC CLIP POLISH + PLAYBACK === */
#storyForm.music-clip-overlay-open #storyToolPanel>header strong{
  position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;white-space:nowrap!important;pointer-events:none!important;
}
#storyForm.music-clip-overlay-open .story-duration-picker{
  position:absolute!important;left:50%!important;top:72px!important;transform:translateX(-50%)!important;width:auto!important;margin:0!important;z-index:46!important;pointer-events:auto!important;
}
#storyForm.music-clip-overlay-open .story-duration-picker>div{background:rgba(8,8,15,.48)!important}
#storyForm.music-clip-overlay-open .story-clip-head{top:146px!important}
#storyForm.music-clip-overlay-open .story-wave-editor{top:55%!important;transform:translate(-50%,-50%)!important}
#storyForm.music-clip-overlay-open .story-wave-progress{
  position:absolute!important;z-index:10!important;top:8px!important;bottom:8px!important;left:50%!important;width:2px!important;transform:translateX(-50%)!important;pointer-events:none!important;
  background:linear-gradient(180deg,rgba(255,255,255,.25),#fff 45%,rgba(119,67,255,.85) 100%)!important;
  box-shadow:0 0 8px rgba(255,255,255,.8),0 0 14px rgba(137,77,255,.6)!important;border-radius:999px!important;
}
#storyForm.music-clip-overlay-open .story-wave-selection.is-playing{box-shadow:0 0 0 1px rgba(133,72,255,.72),0 0 34px rgba(130,69,255,.34),inset 0 0 30px rgba(255,255,255,.07)!important}
@media(max-width:800px){
 #storyForm.music-clip-overlay-open #storyToolPanel>header strong{top:50%!important;font-size:9px!important;letter-spacing:.15em!important}
 #storyForm.music-clip-overlay-open .story-duration-picker{top:72px!important}
 #storyForm.music-clip-overlay-open .story-clip-head{top:134px!important;width:84vw!important}
 #storyForm.music-clip-overlay-open .story-wave-editor{top:55%!important;width:92vw!important}
}

/* === ANXIRA 0.6.7 STORY VIEWERS / SEEN BY === */
.story-viewer-owner-bar{position:absolute;left:14px;right:14px;bottom:14px;z-index:10;display:flex;justify-content:flex-start;pointer-events:none}
.story-viewer-owner-bar[hidden]{display:none!important}
.story-viewers-trigger{pointer-events:auto;display:flex;align-items:center;gap:9px;min-height:48px;padding:5px 14px 5px 7px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(7,8,14,.54);color:#fff;backdrop-filter:blur(16px);box-shadow:0 12px 30px rgba(0,0,0,.28);font:700 11px/1 Inter,Segoe UI,sans-serif}
.story-viewers-trigger i{font-style:normal;font-size:16px;color:#c9a9ff;margin-left:2px}.story-viewers-eye{font-size:16px;color:#c497ff}.story-viewer-avatar-stack{display:flex;align-items:center;min-width:0}.story-viewer-avatar-stack .living-ring.micro{width:34px!important;height:34px!important;min-width:34px!important;padding:2px!important;margin-left:-10px!important;border-radius:50%!important;background:linear-gradient(135deg,#4edcff,#7244ff,#c351ff)!important;box-shadow:0 0 10px rgba(122,65,255,.28)}.story-viewer-avatar-stack .living-ring.micro:first-child{margin-left:0!important}.story-viewer-avatar-stack .living-ring.micro img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;border:2px solid rgba(9,10,17,.96)!important}
.story-viewers-sheet{position:fixed;inset:0;z-index:340;display:grid;align-items:end;pointer-events:none}.story-viewers-sheet[hidden]{display:none!important}.story-viewers-sheet.open{pointer-events:auto}.story-viewers-sheet-backdrop{position:absolute;inset:0;background:rgba(3,4,9,.42);backdrop-filter:blur(4px);opacity:0;transition:.22s}.story-viewers-sheet.open .story-viewers-sheet-backdrop{opacity:1}.story-viewers-sheet-panel{position:relative;z-index:2;width:min(480px,100%);max-height:min(72dvh,680px);margin:0 auto;background:linear-gradient(180deg,rgba(23,20,34,.98),rgba(10,11,18,.99));border:1px solid rgba(157,100,255,.28);border-bottom:0;border-radius:26px 26px 0 0;color:#fff;box-shadow:0 -22px 70px rgba(0,0,0,.46);transform:translateY(105%);transition:transform .24s ease;overflow:hidden}.story-viewers-sheet.open .story-viewers-sheet-panel{transform:translateY(0)}.story-viewers-grabber{width:44px;height:4px;border-radius:999px;background:rgba(255,255,255,.34);margin:9px auto 3px}.story-viewers-sheet-panel>header{display:flex;align-items:center;justify-content:space-between;padding:13px 18px 11px;border-bottom:1px solid rgba(255,255,255,.09)}.story-viewers-sheet-panel>header .eyebrow{display:block;font-size:8px;letter-spacing:.2em;color:#b983ff;margin-bottom:3px}.story-viewers-sheet-panel h3{margin:0;font-size:20px}.story-viewers-sheet-panel>header button{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:24px}.story-viewers-list{overflow:auto;max-height:calc(min(72dvh,680px) - 78px);padding:8px 10px max(18px,env(safe-area-inset-bottom))}.story-viewer-person{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 8px;border-radius:16px;color:#fff;text-decoration:none}.story-viewer-person:active,.story-viewer-person:hover{background:rgba(255,255,255,.06)}.story-viewer-person-avatar{width:48px!important;height:48px!important;min-width:48px!important;padding:3px!important;border-radius:50%!important;background:linear-gradient(135deg,#3bdcff,#7543ff,#cb4dff)!important;box-shadow:0 0 15px rgba(117,64,255,.25)}.story-viewer-person-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;border:2px solid #11131c!important}.story-viewer-person-info{display:grid;gap:3px;min-width:0}.story-viewer-person-info b{display:flex;align-items:center;gap:5px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-viewer-person-info small{font-size:10px;color:rgba(255,255,255,.58)}.story-viewer-list-badge{width:17px!important;height:17px!important;flex:0 0 17px}.story-viewer-person>i{font-style:normal;font-size:25px;color:rgba(255,255,255,.42)}.story-viewer-reaction{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(142,73,255,.13);border:1px solid rgba(174,121,255,.25)}.story-viewer-reaction img{width:33px;height:33px}.story-viewers-empty{min-height:220px;display:grid;place-items:center;align-content:center;text-align:center;gap:8px;color:rgba(255,255,255,.6);padding:30px}.story-viewers-empty span{font-size:34px;color:#ad78ff}.story-viewers-empty b{font-size:16px;color:#fff}.story-viewers-empty small{max-width:260px;line-height:1.4}
@media(max-width:800px){.story-viewer-owner-bar{left:12px;right:12px;bottom:max(14px,env(safe-area-inset-bottom))}.story-viewers-trigger{min-height:50px}.story-viewers-sheet-panel{width:100%;max-height:70dvh}.story-viewers-list{max-height:calc(70dvh - 78px)}}


/* === ANXIRA 0.6.8 Story reactions + real Story replies === */
.story-viewer-owner-bar{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important}
.story-viewer-owner-bar[hidden]{display:none!important}
.story-reaction-trail{display:flex;align-items:center;min-height:34px;padding:5px 8px;border-radius:999px;background:rgba(7,8,14,.38);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(12px);box-shadow:0 10px 28px rgba(0,0,0,.2)}
.story-reaction-trail[hidden]{display:none!important}
.story-reaction-trail-item{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;margin-left:-5px;animation:storyReactionTrailPop .32s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*45ms);filter:drop-shadow(0 3px 7px rgba(0,0,0,.28))}
.story-reaction-trail-item:first-child{margin-left:0}.story-reaction-trail-item img{width:28px;height:28px;display:block}
@keyframes storyReactionTrailPop{from{opacity:0;transform:translateY(6px) scale(.72)}to{opacity:1;transform:none}}
.story-reply-context{display:grid;gap:6px;margin:-3px -3px 8px;padding:7px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.09);overflow:hidden}
body:not(.dark) .story-reply-context{background:rgba(80,55,130,.07);border-color:rgba(95,60,160,.12)}
.story-reply-context small{font-size:9px;font-weight:800;letter-spacing:.03em;opacity:.78;padding:1px 3px}
.story-reply-preview-media{width:100%;max-width:190px;height:116px;object-fit:cover;border-radius:9px;display:block;background:#090a10}
.message-line.mine .story-reply-context{justify-items:end}.message-line.mine .story-reply-context small{text-align:right}
@media(max-width:800px){.story-reaction-trail{min-height:31px;padding:4px 7px}.story-reaction-trail-item{width:26px;height:26px}.story-reaction-trail-item img{width:25px;height:25px}.story-reply-preview-media{max-width:165px;height:102px}}


/* === ANXIRA 0.6.9 FACEBOOK-LIKE PRESENCE === */
.presence-avatar,.presence-photo{position:relative!important;display:inline-block}
.presence-photo>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.presence-dot{position:absolute!important;right:1px!important;bottom:2px!important;width:12px!important;height:12px!important;border-radius:50%!important;background:#31c85a!important;border:2px solid var(--surface,#fff)!important;box-shadow:0 0 0 1px rgba(49,200,90,.15),0 0 8px rgba(49,200,90,.35)!important;z-index:9!important}
.living-ring .presence-dot{right:1px!important;bottom:3px!important}
.presence-status,.chat-presence{display:inline-flex!important;align-items:center!important;gap:5px!important;color:var(--muted)!important;font-style:normal!important}
.presence-status.online,.chat-presence.online,.presence-inline.online{color:#23b94d!important}
.chat-presence i,.presence-status.online i{display:inline-block!important;width:7px!important;height:7px!important;border-radius:50%!important;background:#31c85a!important;box-shadow:0 0 6px rgba(49,200,90,.35)!important}
.conversation-presence{display:block;margin-top:2px;font-size:9px;font-style:normal;color:var(--muted);font-weight:700}
.conversation-presence.online{color:#24b94d}
.presence-inline{font-style:normal;color:var(--muted);font-weight:700}
.person-row.presence-person{grid-template-columns:38px minmax(0,1fr)!important}
.person-row.presence-person .presence-photo{width:38px;height:38px}
.person-row.presence-person>i{display:none!important}
@media(max-width:800px){.presence-dot{width:11px!important;height:11px!important;border-width:2px!important}.conversation-presence{font-size:8px}}

/* === ANXIRA 0.7.0 VIEWER-AWARE STORY RINGS + PRECISE MUSIC PLAYHEAD === */
/* Default living ring is an idle/seen grey ring. It stays alive, but rotates slowly. */
.living-ring::before{
  background:conic-gradient(from 0deg,#7f8490 0 18%,#c9ccd3 22%,#8d929d 31% 55%,#5f646e 72%,#a7abb4 90%,#7f8490 100%)!important;
  box-shadow:0 0 7px rgba(118,124,136,.28),0 0 13px rgba(143,149,160,.18)!important;
  animation:living-ring-idle-spin 12s linear infinite!important;
}
.living-ring::after{
  border-top-color:rgba(218,221,226,.62)!important;
  filter:drop-shadow(0 0 3px rgba(184,188,197,.42))!important;
  opacity:.58!important;
  animation:living-ring-idle-spin 8.5s linear infinite!important;
}
/* An active Story that THIS viewer has not completely watched is vivid. */
.living-ring.story-unseen::before,
.premium-story.unseen .living-ring::before{
  background:conic-gradient(#953dff 0 17%,#fff 21%,#29d9ff 25% 40%,#5146ff 52% 78%,#e75bff 92%)!important;
  box-shadow:0 0 11px rgba(127,64,255,.84),0 0 22px rgba(45,202,255,.40)!important;
  animation:living-ring-spin 3s linear infinite!important;
}
.living-ring.story-unseen::after,
.premium-story.unseen .living-ring::after{
  border-top-color:rgba(255,255,255,.96)!important;
  filter:drop-shadow(0 0 5px #55dfff)!important;
  opacity:1!important;
  animation:living-ring-spin 1.95s linear infinite!important;
}
/* All active Story segments seen, or no active Story: subtle grey ring. */
.living-ring.story-seen::before,.living-ring.story-idle::before,
.premium-story.seen .living-ring::before{animation:living-ring-idle-spin 12s linear infinite!important}
.living-ring.story-seen::after,.living-ring.story-idle::after,
.premium-story.seen .living-ring::after{display:block!important;animation:living-ring-idle-spin 8.5s linear infinite!important}
@keyframes living-ring-idle-spin{to{transform:rotate(360deg)}}

/* Exact clip-position indicator: waveform and rectangle remain still; only this line moves. */
#storyForm.music-clip-overlay-open .story-wave-progress{
  width:3px!important;
  top:7px!important;
  bottom:7px!important;
  z-index:20!important;
  background:linear-gradient(180deg,#ffffff 0%,#ffffff 52%,#b77bff 75%,#56e1ff 100%)!important;
  box-shadow:0 0 5px rgba(255,255,255,.95),0 0 13px rgba(151,85,255,.92),0 0 21px rgba(71,211,255,.55)!important;
  border-radius:999px!important;
}
#storyForm.music-clip-overlay-open .story-wave-progress::before{
  content:"";position:absolute;left:50%;top:-5px;transform:translateX(-50%);width:9px;height:9px;border-radius:50%;background:#fff;box-shadow:0 0 8px rgba(255,255,255,.95),0 0 13px rgba(144,77,255,.7)
}
#storyForm.music-clip-overlay-open .story-wave-progress::after{
  content:"";position:absolute;left:50%;bottom:-5px;transform:translateX(-50%);width:9px;height:9px;border-radius:50%;background:#69ddff;box-shadow:0 0 9px rgba(93,220,255,.85)
}


/* === ANXIRA 0.7.0.1 DAY-MODE EXECUTIVE HEADER === */
body:not(.dark) .topbar{
  background:rgba(250,251,255,.985)!important;
  color:#211436!important;
  border-bottom:1px solid rgba(123,55,233,.14)!important;
  box-shadow:0 8px 24px rgba(65,39,110,.07)!important;
  backdrop-filter:blur(18px)!important;
}
body:not(.dark) .topbar .brand img{
  filter:drop-shadow(0 2px 6px rgba(77,42,132,.16))!important;
}
body:not(.dark) .topbar .search,
body:not(.dark) .topbar .topbar-search{
  background:#fff!important;
  border:1px solid rgba(121,61,226,.24)!important;
  color:#7b718c!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 5px 16px rgba(80,47,130,.055)!important;
}
body:not(.dark) .topbar .search input,
body:not(.dark) .topbar .topbar-search input{
  color:#24192f!important;
}
body:not(.dark) .topbar .search input::placeholder,
body:not(.dark) .topbar .topbar-search input::placeholder{
  color:#8f879d!important;
}
body:not(.dark) .topbar .search kbd{
  color:#7a45ce!important;
  background:#faf7ff!important;
  border-color:rgba(122,61,226,.19)!important;
}
body:not(.dark) .topbar .icon-btn{
  color:#7132dc!important;
  background:#fff!important;
  border:1px solid rgba(124,60,229,.25)!important;
  border-radius:11px!important;
  box-shadow:0 4px 12px rgba(93,51,156,.065)!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease!important;
}
body:not(.dark) .topbar .icon-btn:hover{
  background:#f6f0ff!important;
  border-color:rgba(124,60,229,.48)!important;
  box-shadow:0 5px 15px rgba(113,53,218,.13)!important;
  transform:translateY(-1px)!important;
}
body:not(.dark) .topbar .icon-btn b{
  color:#fff!important;
  background:linear-gradient(135deg,#9149ff,#6927df)!important;
  border:2px solid #fff!important;
  box-shadow:0 2px 7px rgba(103,42,211,.28)!important;
}
body:not(.dark) .topbar .mobile-menu-button{
  color:#7132dc!important;
}
body:not(.dark) .topbar .mini-profile img{
  border-color:#7636e8!important;
  box-shadow:0 0 0 2px rgba(121,55,232,.10),0 3px 10px rgba(75,39,133,.10)!important;
}
body:not(.dark) .topbar .mini-profile span,
body:not(.dark) .topbar .live-time strong{
  color:#2b1d3d!important;
}
body:not(.dark) .topbar .live-time{
  border-left-color:rgba(121,61,226,.16)!important;
}
body:not(.dark) .topbar .live-time small{
  color:#20ae68!important;
}
@media(max-width:800px){
  body:not(.dark) .topbar{
    background:rgba(250,251,255,.99)!important;
  }
  body:not(.dark) .topbar .icon-btn{
    border-radius:10px!important;
  }
  body:not(.dark) .topbar .topbar-search,
  body:not(.dark) .topbar .search{
    background:#fff!important;
  }
}

/* === ANXIRA 0.8.1.1.4 COMPACT LONG SIGNALS === */
.signal-body.anxira-signal-collapsible{
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  line-clamp:4;
}
.signal-body.anxira-signal-collapsible.is-expanded{
  display:block!important;
  overflow:visible!important;
  -webkit-line-clamp:unset;
  line-clamp:unset;
}
.anxira-signal-more{
  display:block;
  width:max-content;
  margin:-4px 14px 12px auto;
  padding:3px 0;
  border:0;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.anxira-signal-more:hover,
.anxira-signal-more:focus-visible{color:var(--purple);text-decoration:underline}
.anxira-signal-more:focus-visible{
  outline:2px solid color-mix(in srgb,var(--purple) 45%,transparent);
  outline-offset:4px;
  border-radius:4px;
}
.circle-post .anxira-signal-more{margin-right:0}
@media(max-width:800px){.anxira-signal-more{font-size:13px;margin-top:-2px}}

/* === ANXIRA 0.8.1.1.5 PRIORITY NETWORK SEARCH === */
.network-search-shell{position:relative;overflow:visible!important;z-index:1200}
.network-search-results{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  right:0;
  z-index:1300;
  max-height:min(72vh,640px);
  overflow:auto;
  padding:8px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface);
  color:var(--text);
  box-shadow:0 24px 70px rgba(10,7,28,.30);
}
.network-search-results[hidden]{display:none!important}
.topbar:has(.network-search-shell){overflow:visible!important}
.network-search-results section+section{border-top:1px solid var(--line);margin-top:7px;padding-top:7px}
.network-search-results section>header{padding:7px 10px 5px;color:var(--muted);font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.network-search-results a[data-search-result]{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border-radius:13px;color:var(--text);text-decoration:none}
.network-search-results a[data-search-result]:hover,.network-search-results a[data-search-result].active{background:color-mix(in srgb,var(--purple) 11%,var(--surface2))}
.network-search-avatar{position:relative;width:44px;height:44px}
.network-search-avatar img{width:44px;height:44px;border-radius:50%;object-fit:cover;display:block}
.network-search-avatar i{position:absolute;right:0;bottom:1px;width:11px;height:11px;border:2px solid var(--surface);border-radius:50%;background:#24d17f}
.network-search-avatar.living-ring{display:inline-grid!important;width:44px!important;height:44px!important;padding:3px!important;border-radius:50%!important;background:linear-gradient(135deg,#4edcff,#7244ff,#c351ff)!important;box-shadow:0 0 12px rgba(122,65,255,.24)}
.network-search-avatar.living-ring img{width:100%!important;height:100%!important;border:2px solid var(--surface)!important}
.network-search-avatar.living-ring .presence-dot{right:-1px!important;bottom:1px!important;width:13px!important;height:13px!important;border:3px solid var(--surface)!important}
.network-search-circle{display:grid;width:44px;height:44px;place-items:center;border-radius:14px;background:linear-gradient(135deg,rgba(86,41,205,.18),rgba(28,182,234,.14));font-size:22px}
.network-search-copy{min-width:0}
.network-search-copy b,.network-search-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.network-search-copy b{font-size:12px}.network-search-copy b em{display:inline-grid;width:15px;height:15px;place-items:center;border-radius:50%;background:var(--purple);color:#fff;font-size:9px;font-style:normal}
.network-search-copy small{margin-top:2px;color:var(--muted);font-size:9px}
.network-search-copy .network-search-headsup{margin-top:4px;color:var(--text)}
.network-search-headsup strong{margin-right:4px;color:var(--purple);font-size:7px;letter-spacing:.08em}
.network-search-results mark{border-radius:999px;background:rgba(126,68,245,.12);color:var(--purple);padding:5px 7px;font-size:7px;font-weight:900;letter-spacing:.08em}
.network-search-arrow{color:var(--purple);font-size:22px}
.network-search-loading,.network-search-empty{padding:20px 12px;text-align:center;color:var(--muted);font-size:11px}
@media(max-width:800px){
  .network-search-results{position:fixed;top:calc(var(--top) + 62px);left:12px;right:12px;max-height:calc(100dvh - var(--top) - 150px);border-radius:20px}
  .network-search-results a[data-search-result]{grid-template-columns:48px minmax(0,1fr) auto;padding:11px 10px}
  .network-search-avatar,.network-search-avatar img,.network-search-circle{width:48px;height:48px}
  .network-search-avatar.living-ring{width:48px!important;height:48px!important}
  .network-search-copy b{font-size:14px}.network-search-copy small{font-size:10px}
}

/* === ANXIRA 0.8.1.2.2 PREMIUM LEFT-EDGE EXPLORE HANDLE === */
@media(max-width:800px){
  .topbar:has(.mobile-menu-button) .brand{padding-left:0!important}
  .topbar:has(.mobile-menu-button) .brand img{width:158px!important;max-width:158px!important}
  .topbar .mobile-menu-button{
    position:fixed!important;left:0!important;top:31dvh!important;right:auto!important;bottom:auto!important;
    z-index:78!important;width:40px!important;height:132px!important;min-width:40px!important;border-radius:0 18px 18px 0!important;
    display:grid!important;place-items:center!important;padding:0!important;border:0!important;
    clip-path:none!important;
    background:linear-gradient(180deg,rgba(22,25,39,.94),rgba(41,30,75,.96))!important;
    color:transparent!important;font-size:0!important;line-height:1!important;
    box-shadow:8px 10px 28px rgba(27,18,67,.25),inset -1px 0 0 rgba(164,112,255,.46),inset 0 1px 0 rgba(255,255,255,.16)!important;
    overflow:visible!important;isolation:isolate;transform:translateY(-50%)!important;animation:none!important;
  }
  body:not(.dark) .topbar .mobile-menu-button{background:linear-gradient(180deg,rgba(250,249,255,.98),rgba(231,225,247,.98))!important;box-shadow:7px 10px 24px rgba(65,39,120,.14),inset -1px 0 0 rgba(120,67,238,.36),inset 0 1px 0 #fff!important}
  body.dark .topbar .mobile-menu-button{background:linear-gradient(180deg,rgba(22,25,39,.96),rgba(41,30,75,.97))!important}
  .topbar .mobile-menu-button::before{content:'';position:absolute;left:50%;top:25px;width:24px;height:20px;transform:translateX(-50%);background:linear-gradient(90deg,#44ddff,#9b4cff) top center/24px 3px no-repeat,linear-gradient(90deg,#44ddff,#9b4cff) center/18px 3px no-repeat,linear-gradient(90deg,#44ddff,#9b4cff) bottom center/24px 3px no-repeat;filter:drop-shadow(0 0 4px rgba(119,74,244,.40))}
  .topbar .mobile-menu-button::after{content:'EXPLORE';position:absolute;left:50%;bottom:14px;transform:translateX(-50%) rotate(180deg);writing-mode:vertical-rl;text-orientation:mixed;font-size:6px;font-weight:950;letter-spacing:.17em;color:#9a57f2;text-shadow:0 0 7px rgba(129,67,235,.18)}
  html.drawer-open .topbar .mobile-menu-button{opacity:0!important;pointer-events:none!important;transform:translateY(-50%) translateX(-44px)!important;transition:opacity .16s ease,transform .22s ease!important}
}
@media(prefers-reduced-motion:reduce){.topbar .mobile-menu-button{transition:none!important}}

/* === ANXIRA 0.8.1.2.4 STORY STUDIO SAFE CLOSE === */
.story-start-head{position:relative!important}
.story-start-head .story-studio-close{
  position:absolute!important;top:50%!important;right:0!important;left:auto!important;bottom:auto!important;
  transform:translateY(-50%)!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
  display:grid!important;place-items:center!important;margin:0!important;padding:0 0 3px!important;border-radius:50%!important;
  background:rgba(85,47,154,.18)!important;border:1px solid rgba(151,96,255,.30)!important;color:var(--text)!important;
  font-size:34px!important;line-height:1!important;z-index:40!important;pointer-events:auto!important;touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
body.dark .story-start-head .story-studio-close{background:rgba(18,21,34,.92)!important;border-color:rgba(163,108,255,.38)!important;color:#fff!important}
@media(max-width:800px){
  .story-start-head{padding-right:56px!important;min-height:64px!important}
  .story-start-head .story-studio-close{right:0!important}
}


/* === ANXIRA 0.7.0.2 MESSENGER CALL ICON POLISH === */
.conversation-actions .anxira-call-btn{
  position:relative!important;overflow:visible!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(126,68,245,.32)!important;
  background:linear-gradient(145deg,rgba(126,68,245,.14),rgba(86,206,255,.06))!important;
  color:var(--purple)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 5px 14px rgba(96,52,184,.10)!important;
}
.conversation-actions .anxira-call-btn::after{
  content:"";position:absolute;inset:-3px;border-radius:50%;border:1px solid rgba(120,62,237,.10);opacity:.55;pointer-events:none;
}
.conversation-actions .anxira-call-btn svg{width:19px;height:19px;overflow:visible}
.conversation-actions .anxira-call-btn svg path,
.conversation-actions .anxira-call-btn svg rect{fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.conversation-actions .anxira-call-btn svg .signal{stroke:#37cffa;stroke-width:1.65}
.conversation-actions .anxira-call-btn:hover,
.conversation-actions .anxira-call-btn:focus-visible{
  color:#fff!important;background:linear-gradient(145deg,#8247ff,#5926dd)!important;border-color:#9e72ff!important;
  box-shadow:0 0 0 3px rgba(127,66,244,.10),0 0 20px rgba(118,57,240,.28)!important;transform:translateY(-1px)
}
.conversation-actions .anxira-call-btn:hover svg .signal,
.conversation-actions .anxira-call-btn:focus-visible svg .signal{stroke:#74e4ff}
.conversation-actions .anxira-chat-info{font-weight:900;letter-spacing:1px}
body:not(.dark) .conversation-actions .anxira-call-btn{
  background:#fff!important;color:#7132dc!important;border-color:rgba(124,60,229,.28)!important;
  box-shadow:0 4px 13px rgba(87,49,146,.08)!important;
}
body:not(.dark) .conversation-actions .anxira-call-btn svg .signal{stroke:#1ebadf}
@media(max-width:800px){
 .conversation-actions .anxira-call-btn svg{width:18px;height:18px}
}


/* === ANXIRA 0.7.0.4 LARGE DAY-MODE SOCIAL LOGO === */
.topbar .brand{
  display:flex!important;
  align-items:center!important;
  height:100%!important;
  min-width:0!important;
  overflow:visible!important;
}
.topbar .brand img{
  display:block!important;
  object-fit:contain!important;
  object-position:left center!important;
  width:278px!important;
  height:64px!important;
  max-width:100%!important;
}
/* Use the new bright social logo only in day mode; dark mode keeps the existing dark asset. */
body:not(.dark) .topbar .brand img{
  content:url('../img/anxira_network_standard_1026.png?v=082926')!important;
  width:292px!important;
  height:66px!important;
  border-radius:0!important;
  filter:none!important;
  mix-blend-mode:multiply;
}
@media(max-width:1180px){
  .topbar{grid-template-columns:250px 1fr auto!important}
  .topbar .brand img{width:238px!important;height:58px!important}
  body:not(.dark) .topbar .brand img{width:246px!important;height:59px!important}
}
@media(max-width:800px){
  .topbar .brand{overflow:visible!important}
  .topbar .brand img{
    width:182px!important;
    height:52px!important;
    max-width:none!important;
  }
  body:not(.dark) .topbar .brand img{
    width:190px!important;
    height:54px!important;
    max-width:none!important;
  }
}
@media(max-width:390px){
  .topbar .brand img{width:168px!important;height:50px!important}
  body:not(.dark) .topbar .brand img{width:174px!important;height:51px!important}
}


/* === ANXIRA 0.7.0.5 DAY LOGO SIZE MATCHES DARK MODE EXACTLY === */
/* Day mode keeps its bright artwork, but uses the exact same geometry as dark mode. */
body:not(.dark) .topbar .brand img{
  width:278px!important;
  height:64px!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:left center!important;
}
@media(max-width:1180px){
  body:not(.dark) .topbar .brand img{
    width:238px!important;
    height:58px!important;
  }
}
@media(max-width:800px){
  body:not(.dark) .topbar .brand img{
    width:182px!important;
    height:52px!important;
    max-width:none!important;
  }
}
@media(max-width:390px){
  body:not(.dark) .topbar .brand img{
    width:168px!important;
    height:50px!important;
  }
}

/* ANXIRA 0.8.1.3.6 — iOS-safe Publisher controls */
.publisher-mobile-actions{display:none}.publisher-toast{position:fixed;left:50%;bottom:100px;z-index:4000;transform:translate(-50%,18px);opacity:0;background:#171925;color:#fff;border:1px solid rgba(125,74,255,.5);border-radius:14px;padding:11px 16px;font-weight:800;transition:.2s}.publisher-toast.show{opacity:1;transform:translate(-50%,0)}.publisher-toast.bad{border-color:#ef476f;color:#ffb2c2}
@media(max-width:720px){.publisher-head{position:sticky!important;top:0!important;z-index:80!important;height:auto!important;min-height:94px!important;padding:calc(env(safe-area-inset-top) + 12px) 12px 10px!important;background:var(--surface)!important;box-shadow:0 8px 24px rgba(0,0,0,.16)!important}.publisher-head>button{position:relative!important;z-index:2!important;min-height:44px!important;pointer-events:auto!important}.publisher-head .publisher-publish{min-width:92px!important}.publisher-layout{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}.publisher-mobile-actions{position:fixed;left:0;right:0;bottom:0;z-index:2750;display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--surface) 94%,transparent);border-top:1px solid var(--border);backdrop-filter:blur(18px)}.publisher-mobile-actions button{min-height:48px;border:1px solid var(--border);border-radius:14px;background:var(--surface2);color:var(--text);font-weight:850}.publisher-mobile-actions .publisher-mobile-publish{border:0;color:#fff;background:linear-gradient(135deg,#3ccfff,#7134f5 58%,#a42df2);box-shadow:0 8px 22px rgba(112,52,239,.35)}}


/* === ANXIRA 0.7.0.6 DAY LOGO CONSISTENCY ALIGNMENT FIX === */
/* Make the bright day-mode logo sit in the exact same visual position/scale as the dark-mode logo. */
body:not(.dark) .topbar .brand img{
  width:278px!important;
  height:64px!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:translateX(-10px) scale(.93)!important;
  transform-origin:left center!important;
}
@media(max-width:1180px){
  body:not(.dark) .topbar .brand img{
    width:238px!important;
    height:58px!important;
    transform:translateX(-8px) scale(.93)!important;
  }
}
@media(max-width:800px){
  body:not(.dark) .topbar .brand img{
    width:182px!important;
    height:52px!important;
    max-width:none!important;
    transform:translateX(-6px) scale(.94)!important;
  }
}
@media(max-width:390px){
  body:not(.dark) .topbar .brand img{
    width:168px!important;
    height:50px!important;
    transform:translateX(-5px) scale(.94)!important;
  }
}


/* === ANXIRA 0.7.1 SOCIAL STORY SYSTEM + MESSAGE STRIP FIX === */
/* Day logo: keep the emblem at the dark-mode visual size; the artwork itself now has the stronger/right-shifted wordmark. */
body:not(.dark) .topbar .brand img{
  width:278px!important;height:64px!important;max-width:100%!important;
  transform:none!important;transform-origin:left center!important;object-fit:contain!important;object-position:left center!important;
}
@media(max-width:1180px){body:not(.dark) .topbar .brand img{width:238px!important;height:58px!important;transform:none!important}}
@media(max-width:800px){body:not(.dark) .topbar .brand img{width:145px!important;height:42px!important;max-width:none!important;transform:none!important}}
@media(max-width:390px){body:not(.dark) .topbar .brand img{width:145px!important;height:42px!important;transform:none!important}}

.story-card-meta{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.story-card-meta>span{font-weight:900;color:rgba(255,255,255,.92)}

/* Notes stay pinned; friend #1 starts NEXT TO the user instead of underneath. */
.messages-social-strip{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;align-items:start!important;column-gap:4px!important;position:relative!important}
.pinned-own-note{position:relative!important;left:auto!important;top:auto!important;grid-column:1!important;z-index:12!important;width:90px!important}
.friends-under-note{position:relative!important;left:auto!important;right:auto!important;top:6px!important;grid-column:2!important;width:100%!important;min-width:0!important;height:96px!important;overflow:visible!important}
.friends-under-note .chat-friends-strip{padding:9px 34px 8px 4px!important;margin:0!important;width:100%!important;scroll-padding-left:4px!important}
.friends-under-note .inline-nav.prev{left:0!important}
@media(max-width:800px){
  .messages-social-strip{grid-template-columns:86px minmax(0,1fr)!important;column-gap:2px!important}
  .pinned-own-note{width:86px!important}
  .friends-under-note{top:6px!important;height:92px!important}
  .friends-under-note .chat-friends-strip{padding:9px 6px 8px 4px!important;width:100%!important}
}

/* Five premium ANXIRA Story reactions. */
.story-reaction-picker{gap:8px!important;padding:10px!important}
.story-reaction-picker button{width:48px!important;height:48px!important;border-radius:50%!important;transition:transform .16s ease,filter .16s ease!important}
.story-reaction-picker button:hover,.story-reaction-picker button:active{transform:translateY(-5px) scale(1.08)!important;filter:drop-shadow(0 8px 12px rgba(85,45,210,.35))}
.story-reaction-picker button img{width:42px!important;height:42px!important;display:block!important}
.story-viewer-reaction-stack{display:flex;align-items:center;justify-content:flex-end;min-width:52px;padding-right:4px}
.story-viewer-reaction-stack img{width:29px;height:29px;display:block;margin-left:-8px;filter:drop-shadow(0 4px 6px rgba(0,0,0,.24));animation:storyReactionTrailPop .28s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*45ms)}
.story-viewer-reaction-stack img:first-child{margin-left:0}

/* Owner opens their Story: real viewer reactions rise up and disappear. */
.story-owner-reaction-flow{position:absolute;inset:0;z-index:34;overflow:hidden;pointer-events:none}
.story-floating-reaction{position:absolute;left:var(--x);bottom:-68px;width:46px;height:46px;object-fit:contain;opacity:0;transform:translateX(-50%) scale(var(--scale));filter:drop-shadow(0 8px 12px rgba(0,0,0,.3));animation:anxiraStoryReactionFloat 3.15s cubic-bezier(.18,.67,.22,1) var(--delay) forwards}
@keyframes anxiraStoryReactionFloat{
  0%{opacity:0;transform:translate(-50%,30px) scale(calc(var(--scale)*.65)) rotate(-8deg)}
  12%{opacity:1}
  72%{opacity:.96}
  100%{opacity:0;transform:translate(calc(-50% + var(--drift)),-78vh) scale(calc(var(--scale)*1.18)) rotate(12deg)}
}
@media(max-width:800px){.story-floating-reaction{width:42px;height:42px}}


/* === ANXIRA 0.7.1.1 STORY REACTION TAP FEEDBACK === */
.story-reaction-picker button.reaction-tapped{animation:anxiraReactionTap .24s cubic-bezier(.2,.9,.3,1)!important}
@keyframes anxiraReactionTap{0%{transform:translateY(0) scale(1)}45%{transform:translateY(-7px) scale(1.18)}100%{transform:translateY(0) scale(1)}}


/* === ANXIRA 0.7.1.2 STORY VIEWER OPTIONS === */
.story-viewer-more-wrap{position:relative;z-index:45;display:flex;align-items:center}
.story-viewer-more-wrap[hidden]{display:none!important}
.story-viewer-more{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(10,11,18,.46);color:#fff;font-size:17px;font-weight:900;letter-spacing:1px;backdrop-filter:blur(10px);box-shadow:0 6px 18px rgba(0,0,0,.22)}
.story-viewer-more:hover,.story-viewer-more:active{background:rgba(113,53,225,.72)}
.story-viewer-more-menu{position:absolute;right:0;top:46px;width:238px;padding:7px;border-radius:15px;background:rgba(13,14,22,.97);border:1px solid rgba(153,91,255,.32);box-shadow:0 18px 50px rgba(0,0,0,.42);backdrop-filter:blur(18px)}
.story-viewer-more-menu[hidden]{display:none!important}
.story-viewer-more-menu button{width:100%;border:0;background:transparent;color:#f1eaff;text-align:left;padding:11px 12px;border-radius:10px;font-size:11px;font-weight:800}
.story-viewer-more-menu button:hover,.story-viewer-more-menu button:active{background:rgba(128,62,245,.16);color:#fff}
@media(max-width:800px){.story-viewer-more{width:36px;height:36px}.story-viewer-more-menu{right:-4px;top:43px;width:220px}}


/* === ANXIRA 0.7.1.3 STORY REACTION FREEDOM + CURRENT-STORY OPTIONS === */
/* The options button is a permanent control while viewing somebody else's Story. */
.story-viewer-more-wrap:not([hidden]){
  display:flex!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.story-viewer-more{
  opacity:1!important;
  visibility:visible!important;
  flex:0 0 auto!important;
}

/* A reaction tap feels alive: lift, squash, drop, rebound, settle — like a soft ball dribble. */
.story-reaction-picker button.reaction-tapped{
  animation:none!important;
}
.story-reaction-picker button.reaction-tapped img{
  transform-origin:50% 100%;
  animation:anxiraReactionDribble .62s cubic-bezier(.22,.72,.26,1) both!important;
}
@keyframes anxiraReactionDribble{
  0%{transform:translateY(0) scale(1,1)}
  16%{transform:translateY(-13px) scale(.96,1.06)}
  34%{transform:translateY(0) scale(1.10,.88)}
  48%{transform:translateY(-7px) scale(.98,1.03)}
  64%{transform:translateY(0) scale(1.06,.93)}
  77%{transform:translateY(-3px) scale(.995,1.015)}
  90%{transform:translateY(0) scale(1.025,.975)}
  100%{transform:translateY(0) scale(1,1)}
}
.story-reaction-picker button:active img{
  filter:drop-shadow(0 8px 12px rgba(91,47,215,.42));
}

/* === ANXIRA 0.7.1.4 CARTOON STATIONARY REACTION BOUNCE === */
/* Every tap stays fixed in place: fast cartoon grow, squash, rebound, settle. */
.story-reaction-picker button.reaction-tapped{
  animation:none!important;
  transform:none!important;
}
.story-reaction-picker button.reaction-tapped img{
  transform-origin:50% 50%!important;
  animation:anxiraReactionCartoonPop .28s cubic-bezier(.2,.9,.25,1) both!important;
}
@keyframes anxiraReactionCartoonPop{
  0%{transform:scale(1,1)}
  22%{transform:scale(1.30,1.30)}
  42%{transform:scale(.88,1.08)}
  60%{transform:scale(1.17,.92)}
  78%{transform:scale(.97,1.04)}
  100%{transform:scale(1,1)}
}
.story-reaction-picker button:active img{
  transform:none;
}


/* === ANXIRA 0.7.2 STORY MENU POSITION + MULTI TAGGING === */
/* The Story options control sits directly beside the X, never in the middle. */
.viewer-head>.story-viewer-more-wrap{
  flex:0 0 auto!important;
  width:auto!important;
  margin-left:auto!important;
  text-shadow:none!important;
}
.viewer-head>.story-viewer-more-wrap+.close-modal{flex:0 0 auto!important}
.viewer-head .story-viewer-more{width:38px;height:38px}
.viewer-head .viewer-profile-link{flex:1 1 auto!important;min-width:0!important}
@media(max-width:800px){
  .viewer-head{gap:7px!important}
  .viewer-head>.story-viewer-more-wrap{margin-left:auto!important}
  .viewer-head .story-viewer-more{width:36px;height:36px}
}

/* Tag tool inside Story Studio */
.story-tool-rail .story-tag-tool i{font-size:20px!important;font-weight:950!important;line-height:1!important}
.story-tag-summary{
  position:absolute;z-index:31;left:16px;right:16px;bottom:74px;
  display:flex;align-items:center;gap:5px;flex-wrap:wrap;
  padding:7px 10px;border-radius:15px;background:rgba(10,11,18,.62);
  border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(14px);color:#fff;
}
.story-tag-summary[hidden],.tag-selection-summary[hidden]{display:none!important}
.tag-selection-summary{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:8px 0 0}
.tag-summary-label{font-size:9px;font-weight:900;color:#9e65ff;text-transform:uppercase;letter-spacing:.08em}
.story-tag-summary .tag-summary-label{color:#d6bfff}
.tag-summary-chip,.tag-summary-more{font-size:9px;font-weight:800;padding:5px 8px;border-radius:999px;background:rgba(124,61,239,.12);border:1px solid rgba(124,61,239,.2);color:var(--purple)}
.story-tag-summary .tag-summary-chip,.story-tag-summary .tag-summary-more{color:#fff;background:rgba(135,72,245,.36);border-color:rgba(210,185,255,.28)}

/* Shared Tag Friends selector */
.tag-people-modal{z-index:240!important}
.tag-people-sheet{
  width:min(520px,94vw);max-height:min(720px,86dvh);overflow:hidden;
  border-radius:24px;padding:18px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:11px;
}
.tag-people-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.tag-people-head h2{margin:3px 0 2px;font-size:23px}.tag-people-head p{margin:0;color:var(--muted);font-size:11px}
.tag-modal-close{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--surface2);color:var(--text);font-size:22px}
.tag-people-search{height:46px;border:1px solid var(--line);background:var(--surface2);border-radius:15px;display:flex;align-items:center;gap:8px;padding:0 12px;color:var(--purple);font-weight:900}
.tag-people-search input{flex:1;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}
.tag-selected-bar{display:flex;align-items:center;justify-content:space-between;padding:0 3px}
.tag-selected-bar b{font-size:10px;color:var(--muted)}.tag-selected-bar button{border:0;background:transparent;color:var(--purple);font-size:10px;font-weight:900}
.tag-people-list{overflow:auto;display:grid;gap:5px;padding-right:2px}
.tag-person-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid transparent;border-radius:15px;transition:.14s ease}
.tag-person-row:hover{background:var(--surface2)}.tag-person-row.selected{background:rgba(122,53,242,.08);border-color:rgba(122,53,242,.18)}
.tag-person-main{display:grid;grid-template-columns:22px 46px minmax(0,1fr);align-items:center;gap:9px;min-width:0;cursor:pointer}
.tag-person-main input{width:18px;height:18px;accent-color:var(--purple);margin:0}
.tag-person-avatar,.tag-person-avatar img{width:44px;height:44px;border-radius:50%}.tag-person-avatar img{object-fit:cover;border:2px solid var(--surface)}
.tag-person-copy{min-width:0}.tag-person-copy b,.tag-person-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tag-person-copy b{font-size:12px}.tag-person-copy small{font-size:9px;color:var(--muted);margin-top:2px}
.tag-verified{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;background:var(--purple);color:#fff;font-size:8px}
.tag-person-action{min-width:64px;border:1px solid rgba(122,53,242,.24);background:#fff;color:var(--purple);border-radius:10px;padding:8px 10px;font-size:10px;font-weight:900}
body.dark .tag-person-action{background:rgba(122,53,242,.10)}
.tag-person-row.selected .tag-person-action{background:var(--purple);border-color:var(--purple);color:#fff}
.tag-people-empty{padding:30px 10px;text-align:center;color:var(--muted);font-size:12px}
.tag-people-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:4px;border-top:1px solid var(--line)}
@media(max-width:800px){
  .tag-people-sheet{position:absolute;left:0;right:0;bottom:0;width:100%;max-height:82dvh;border-radius:25px 25px 0 0;padding:17px 14px calc(17px + env(safe-area-inset-bottom))}
  .tag-person-main{grid-template-columns:22px 44px minmax(0,1fr)}
  .tag-person-action{min-width:60px;padding:8px}
}



/* === ANXIRA 0.7.2 RICH CHAT PREVIEWS === */
.shared-signal-card{
  width:min(330px,72vw);display:grid;grid-template-columns:92px minmax(0,1fr) 16px;
  align-items:stretch;gap:10px;padding:8px;margin:-3px -4px 7px;border-radius:16px;
  text-decoration:none;color:inherit;background:rgba(122,53,242,.075);
  border:1px solid rgba(122,53,242,.18);overflow:hidden;
}
body.dark .shared-signal-card{background:rgba(128,67,244,.12);border-color:rgba(167,112,255,.22)}
.shared-signal-thumb,.shared-signal-text-thumb{
  width:92px;height:92px;border-radius:11px;object-fit:cover;display:block;background:#0d1019;
}
.shared-signal-text-thumb{
  padding:10px;display:grid;align-content:center;gap:5px;
  background:linear-gradient(145deg,rgba(126,68,245,.92),rgba(38,169,226,.82));color:#fff;
}
.shared-signal-text-thumb span{font-size:19px}.shared-signal-text-thumb b{font-size:9px;line-height:1.25;max-height:46px;overflow:hidden}
.shared-signal-copy{min-width:0;display:grid;align-content:center;gap:3px}
.shared-signal-copy small{font-size:8px;font-weight:900;letter-spacing:.08em;color:var(--purple);text-transform:uppercase}
.shared-signal-copy b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shared-signal-copy>span{font-size:10px;color:var(--muted);line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.shared-signal-card>i{font-style:normal;align-self:center;color:var(--purple);font-size:20px}
.shared-signal-caption{display:block;margin-top:2px;padding:2px 4px 0;font-size:12px}
.story-reply-context{
  width:min(240px,66vw)!important;margin:-3px -3px 7px!important;padding:7px!important;
  border-radius:15px!important;overflow:hidden!important
}
.story-reply-preview-media{width:100%!important;max-width:none!important;height:180px!important;object-fit:cover!important;border-radius:10px!important}
.story-reply-message-text{
  display:block!important;margin-top:1px!important;padding:3px 4px 1px!important;
  font-size:12px!important;line-height:1.38!important
}
@media(max-width:800px){
  .shared-signal-card{grid-template-columns:82px minmax(0,1fr) 13px;width:min(315px,78vw)}
  .shared-signal-thumb,.shared-signal-text-thumb{width:82px;height:82px}
  .story-reply-preview-media{height:165px!important}
}


/* === ANXIRA 0.7.3 SIGNAL HIGHLIGHTS === */
.profile-highlight-section{margin:12px 0 0;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px 12px 12px;overflow:hidden}
.profile-highlight-row{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 4px;scroll-snap-type:x proximity}.profile-highlight-row::-webkit-scrollbar{display:none}
.profile-highlight-card{position:relative;flex:0 0 106px;height:142px;border:1px solid var(--line);border-radius:17px;background:var(--surface2);padding:6px;color:var(--text);display:grid;grid-template-rows:1fr auto auto;gap:5px;text-align:left;scroll-snap-align:start;overflow:hidden;transition:.16s ease}.profile-highlight-card:hover{transform:translateY(-2px);border-color:rgba(126,68,245,.4)}.profile-highlight-card.dragging{opacity:.48;transform:scale(.97)}
.highlight-cover{display:block;min-height:0;border-radius:12px;overflow:hidden;background:linear-gradient(145deg,#261844,#132033);position:relative}.highlight-cover img,.highlight-cover video{width:100%;height:100%;object-fit:cover;display:block}.highlight-cover i{position:absolute;inset:0;display:grid;place-items:center;color:#b68cff;font-style:normal;font-size:30px}
.profile-highlight-card>b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 3px}.profile-highlight-card>small{font-size:8px;color:var(--muted);padding:0 3px 2px}.add-highlight{display:grid;place-items:center;align-content:center;text-align:center;gap:7px;background:linear-gradient(145deg,rgba(123,54,244,.06),rgba(50,189,239,.03))}.add-highlight>span{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(123,54,244,.11);color:var(--purple);font-size:32px}.add-highlight>b,.add-highlight>small{padding:0}
.highlight-editor-sheet,.highlight-manager-sheet{width:min(720px,95vw);max-height:88dvh;overflow:auto;border-radius:24px;padding:22px}.highlight-editor-sheet>header,.highlight-manager-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.highlight-editor-sheet h2,.highlight-manager-sheet h2{margin:4px 0 3px}.highlight-editor-sheet header p,.highlight-manager-sheet header p{margin:0;color:var(--muted);font-size:10px}.highlight-name-label{display:block;margin:16px 0 10px;font-size:10px;font-weight:800}.highlight-name-label input{width:100%;margin-top:5px;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:12px;padding:11px}.highlight-editor-toolbar{display:flex;align-items:center;justify-content:space-between;margin:13px 0 8px}.highlight-editor-toolbar b{font-size:12px}.highlight-editor-toolbar span{font-size:9px;color:var(--purple);font-weight:800}.highlight-story-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;max-height:380px;overflow:auto}.highlight-story-choice{position:relative;border:1px solid var(--line);background:var(--surface2);border-radius:14px;padding:5px;color:var(--text);display:grid;gap:5px;text-align:left}.highlight-story-choice>span{height:130px;border-radius:10px;overflow:hidden;background:#10131d}.highlight-story-choice img,.highlight-story-choice video{width:100%;height:100%;object-fit:cover}.highlight-story-choice>i{position:absolute;right:9px;top:9px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:rgba(12,14,24,.72);color:#fff;font-style:normal}.highlight-story-choice.selected{border-color:var(--purple);box-shadow:0 0 0 2px rgba(126,68,245,.12)}.highlight-story-choice.selected>i{background:var(--purple)}.highlight-story-choice small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.highlight-picker-empty{grid-column:1/-1;padding:28px;text-align:center;color:var(--muted);font-size:11px}.highlight-cover-picker{margin-top:14px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}.highlight-cover-picker b{font-size:11px}.highlight-cover-picker select{width:100%;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:11px;padding:10px}.highlight-editor-sheet>footer,.highlight-manager-sheet>footer{display:flex;align-items:center;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.highlight-editor-sheet>footer>span{flex:1}
.highlight-manager-list{display:grid;gap:8px;margin-top:16px}.highlight-manager-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:11px;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.highlight-manager-card.dragging{opacity:.45}.highlight-manager-card>span{width:58px;height:58px;border-radius:10px;overflow:hidden;background:#161927;display:grid;place-items:center;color:var(--purple)}.highlight-manager-card>span img{width:100%;height:100%;object-fit:cover}.highlight-manager-card b,.highlight-manager-card small{display:block}.highlight-manager-card b{font-size:11px}.highlight-manager-card small{font-size:9px;color:var(--muted);margin-top:3px}.highlight-manager-card button{border:1px solid rgba(126,68,245,.25);background:rgba(126,68,245,.08);color:var(--purple);border-radius:10px;padding:8px 11px;font-size:9px;font-weight:800}.highlight-manager-sheet>footer{justify-content:flex-end}
.highlight-viewer-modal{background:rgba(4,6,12,.82)!important;backdrop-filter:blur(14px)}.highlight-viewer{position:relative;width:min(440px,96vw);height:min(780px,92dvh);background:#080a12;border:1px solid rgba(145,88,255,.34);border-radius:24px;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.6)}.highlight-progress{position:absolute;z-index:8;top:10px;left:12px;right:12px;height:4px;display:flex;gap:5px}.highlight-progress span{height:3px;flex:1;border-radius:4px;background:rgba(255,255,255,.25);overflow:hidden}.highlight-progress span i{display:block;height:100%;width:100%;background:#fff;transform-origin:left}.highlight-progress span.active i{animation:highlightProgress linear forwards}.highlight-progress span.done i{transform:scaleX(1)}.highlight-progress span:not(.active):not(.done) i{transform:scaleX(0)}@keyframes highlightProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}.highlight-viewer>header{position:absolute;z-index:9;top:21px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;color:#fff}.highlight-viewer>header>a{display:flex;align-items:center;gap:9px;color:#fff;min-width:0}.highlight-viewer>header>a>span:last-child b,.highlight-viewer>header>a>span:last-child small{display:block}.highlight-viewer>header small{font-size:9px;color:rgba(255,255,255,.74);margin-top:2px}.highlight-viewer>header .close-modal{position:static;background:rgba(8,10,18,.54);color:#fff}.highlight-viewer-media{position:absolute;inset:0}.highlight-viewer-media img,.highlight-viewer-media video{width:100%;height:100%;object-fit:cover;background:#090b12}.highlight-reply{position:absolute;z-index:10;left:18px;right:18px;bottom:18px;height:54px;border:1px solid rgba(255,255,255,.28);background:rgba(11,13,21,.48);border-radius:28px;display:flex;align-items:center;gap:11px;padding:7px 12px;color:#fff;backdrop-filter:blur(12px)}.highlight-reply[hidden],.highlight-owner-seen[hidden]{display:none!important}.highlight-react-button{width:40px;height:40px;border:0;border-radius:50%;background:rgba(117,55,230,.42);color:#d8bfff;font-size:19px}.highlight-reply>span{font-size:11px;color:rgba(255,255,255,.8)}.highlight-reaction-picker{position:absolute;left:0;bottom:62px;display:flex;gap:8px;padding:8px 10px;border-radius:20px;background:rgba(12,14,22,.94);border:1px solid rgba(150,91,255,.3)}.highlight-reaction-picker[hidden]{display:none}.highlight-reaction-picker button{width:43px;height:43px;border:0;background:transparent;border-radius:50%;padding:2px}.highlight-reaction-picker img{width:100%;height:100%}.highlight-reaction-picker button.tap{animation:highlightTap .24s ease-out}@keyframes highlightTap{0%{transform:scale(1)}45%{transform:scale(1.32)}70%{transform:scale(.84)}100%{transform:scale(1)}}.highlight-owner-seen{position:absolute;z-index:10;left:18px;bottom:18px}.highlight-owner-seen button{border:1px solid rgba(255,255,255,.2);background:rgba(8,10,18,.48);color:#fff;border-radius:20px;padding:9px 13px;backdrop-filter:blur(10px)}.highlight-seen-sheet{width:min(460px,94vw);max-height:72dvh;overflow:auto;border-radius:22px;padding:18px}.highlight-seen-sheet header{display:flex;align-items:center;justify-content:space-between}.highlight-seen-sheet header .close-modal{position:static}.highlight-seen-sheet #highlightSeenList{display:grid;gap:6px;margin-top:12px}.highlight-seen-sheet #highlightSeenList>a{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px;border-radius:12px}.highlight-seen-sheet #highlightSeenList>a:hover{background:var(--surface2)}.highlight-seen-sheet #highlightSeenList>a>img{width:44px;height:44px;border-radius:50%;object-fit:cover}.highlight-seen-sheet b,.highlight-seen-sheet small{display:block}.highlight-seen-sheet small{font-size:9px;color:var(--muted)}.highlight-seen-sheet #highlightSeenList>a>i{display:flex;align-items:center}.highlight-seen-sheet #highlightSeenList>a>i img{width:24px;height:24px;margin-left:-5px}.highlight-seen-sheet #highlightSeenList>a>i img:first-child{margin-left:0}
.story-highlight-save{margin-left:auto!important}
@media(max-width:800px){.profile-highlight-section{margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;padding:11px 10px 10px!important}.profile-highlight-card{flex-basis:92px;height:126px}.add-highlight>span{width:44px;height:44px}.profile-v05-tabs{margin-top:0!important}.highlight-story-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.highlight-story-choice>span{height:112px}.highlight-editor-sheet,.highlight-manager-sheet{position:absolute;left:0;right:0;bottom:0;width:100%;max-height:86dvh;border-radius:24px 24px 0 0;padding:17px 14px calc(17px + env(safe-area-inset-bottom))}.highlight-viewer{width:100vw;height:100dvh;border-radius:0;border-left:0;border-right:0}.highlight-reaction-picker{left:-6px;gap:5px}.highlight-reaction-picker button{width:39px;height:39px}}

/* === ANXIRA 0.7.3.2 HIGHLIGHT + MOBILE INPUT REPAIR === */
.profile-highlight-card{height:154px!important;grid-template-rows:minmax(0,1fr) 18px 14px!important}
.profile-highlight-card>b{display:block!important;min-height:18px!important;line-height:18px!important;color:var(--text)!important;font-size:10px!important;font-weight:800!important;opacity:1!important;visibility:visible!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.profile-highlight-card>small{display:block!important;line-height:14px!important}
.story-reaction-picker button,.highlight-reaction-picker button,[data-story-reaction],[data-highlight-reaction]{touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;user-select:none!important;-webkit-user-select:none!important}
@media(max-width:800px){
 .profile-highlight-card{height:140px!important;flex-basis:96px!important}
 .topbar{grid-template-columns:minmax(0,1fr) auto!important;overflow:hidden!important}
 .topbar .brand{min-width:0!important;overflow:hidden!important}
 .topbar .brand img{max-width:100%!important;width:158px!important;height:44px!important;object-fit:contain!important;object-position:left center!important}
 .topbar .top-actions{min-width:0!important;max-width:176px!important;gap:2px!important;overflow:visible!important;flex-wrap:nowrap!important}
 .topbar .mini-profile{flex:0 0 35px!important;width:35px!important;height:35px!important;min-width:35px!important;max-width:35px!important;border-radius:50%!important;overflow:hidden!important}
 .topbar .mini-profile img{display:block!important;width:35px!important;height:35px!important;min-width:35px!important;max-width:35px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
}

.highlight-select-actions{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}.highlight-select-actions button,.highlight-add-photos{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:10px;padding:8px 10px;font-size:9px;font-weight:800}.highlight-add-photos{display:inline-flex;align-items:center;cursor:pointer}.highlight-new-photo-preview{display:flex;gap:7px;overflow-x:auto;margin:0 0 10px;padding:2px}.highlight-new-photo-preview[hidden]{display:none!important}.highlight-new-photo-preview>span{flex:0 0 74px;display:grid;gap:3px}.highlight-new-photo-preview img{width:74px;height:90px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.highlight-new-photo-preview small{font-size:8px;color:var(--muted)}.highlight-cover-builder{margin-top:14px;display:grid;gap:9px;padding:12px;border:1px solid var(--line);border-radius:15px;background:var(--surface2)}.highlight-cover-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-end}.highlight-cover-head b{font-size:11px}.highlight-cover-head span{font-size:8px;color:var(--muted)}.highlight-cover-source{display:flex;gap:7px;flex-wrap:wrap}.highlight-cover-source>button,.highlight-photo-cover{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;padding:8px 10px;font-size:9px;font-weight:800}.highlight-cover-source>button.active{background:var(--purple);border-color:var(--purple);color:#fff}.highlight-photo-cover{cursor:pointer}.highlight-cover-preview{width:100%;height:155px;border-radius:13px;overflow:hidden;background:#111522;display:grid;place-items:center;position:relative}.highlight-cover-preview img,.highlight-cover-preview video{width:100%;height:100%;object-fit:cover}.highlight-cover-preview>small{position:absolute;left:8px;bottom:8px;background:rgba(5,7,14,.65);color:#fff;border-radius:8px;padding:4px 6px;font-size:8px}.highlight-cover-preview>span{color:var(--muted);font-size:10px}.highlight-cover-builder select{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;padding:9px}

/* === ANXIRA 0.7.3.3 BETA TESTER IDENTITY === */
.beta-tester-badge{display:inline-flex;align-items:center;gap:5px;width:max-content;margin:4px 0 5px;padding:5px 9px;border-radius:999px;border:1px solid rgba(138,73,255,.34);background:rgba(122,53,242,.10);color:var(--purple);font-size:9px;font-weight:950;letter-spacing:.12em;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
body.dark .beta-tester-badge{background:rgba(136,70,255,.16);color:#b995ff;border-color:rgba(167,113,255,.36)}

/* === ANXIRA 0.7.3.3 REVISED: RAPID MOBILE STORY REACTIONS === */
.story-reaction-picker button,[data-story-reaction]{
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.story-reaction-picker button img{pointer-events:none!important}

.highlight-reaction-picker button,[data-highlight-reaction]{touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;user-select:none!important;-webkit-user-select:none!important}
.highlight-reaction-picker button img{pointer-events:none!important}

/* === ANXIRA 0.7.3.3.2 CLICKABLE PEOPLE HOTFIX === */
.post-author-link,.comment-author-link{
  color:inherit!important;text-decoration:none!important;font-weight:inherit!important;
}
.post-author-link:hover,.comment-author-link:hover{color:var(--purple)!important;text-decoration:underline!important;text-underline-offset:2px}


/* === ANXIRA 0.7.4 MESSAGE SOUND + PHONE NOTIFICATIONS === */
.chat-hub-head-actions{display:flex;align-items:center;gap:8px}.message-notification-settings{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--surface2);color:var(--text);font-size:17px;display:grid;place-items:center;cursor:pointer}.message-notification-settings:hover{border-color:rgba(126,68,245,.5);box-shadow:0 0 0 4px rgba(126,68,245,.08)}
.message-notification-sheet{width:min(520px,94vw);border-radius:24px;padding:19px;display:grid;gap:15px}.message-notification-sheet header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.message-notification-sheet h2{margin:3px 0 3px}.message-notification-sheet header p{margin:0;color:var(--muted);font-size:11px;line-height:1.4}.message-sound-setting{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--surface2);cursor:pointer}.message-sound-setting span b,.message-sound-setting span small{display:block}.message-sound-setting span b{font-size:12px}.message-sound-setting span small{margin-top:3px;color:var(--muted);font-size:9px;line-height:1.35}.message-sound-setting input{position:absolute;opacity:0;pointer-events:none}.message-sound-setting i{width:42px;height:24px;border-radius:999px;background:#666d7c;position:relative;transition:.18s}.message-sound-setting i::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.18s;box-shadow:0 2px 7px rgba(0,0,0,.2)}.message-sound-setting input:checked+i{background:linear-gradient(135deg,#7437ed,#914aff)}.message-sound-setting input:checked+i::after{transform:translateX(18px)}.message-sound-setting>strong{font-size:10px;color:var(--purple);min-width:24px}.message-notification-actions{display:flex;gap:8px;flex-wrap:wrap}.message-notification-actions .btn{flex:1 1 140px}.message-phone-status{padding:12px 13px;border-radius:15px;border:1px solid var(--line);display:grid;gap:3px}.message-phone-status span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-weight:800}.message-phone-status b{font-size:12px}.message-phone-status small{font-size:9px;line-height:1.4;color:var(--muted)}
@media(max-width:800px){.message-notification-sheet{position:absolute;left:0;right:0;bottom:0;width:100%;border-radius:24px 24px 0 0;padding:18px 14px calc(18px + env(safe-area-inset-bottom))}.message-sound-setting{grid-template-columns:minmax(0,1fr) auto auto}.message-sound-setting>strong{display:none}.message-notification-actions{display:grid;grid-template-columns:1fr 1fr}.message-notification-actions #disablePhoneNotifications{grid-column:1/-1}}
.post-author-link,.comment-author-link{cursor:pointer}

/* === ANXIRA 0.7.4.2 MESSAGE EDITING === */
.message-edit-trigger{border:0;background:transparent;color:var(--purple);font-size:10px;font-weight:800;margin-left:7px;padding:2px 4px;cursor:pointer}
.message-edited{opacity:.7;font-size:10px}
.message-edit-sheet{position:fixed;inset:0;z-index:1200;background:rgba(3,5,12,.58);display:grid;place-items:center;padding:18px}
.message-edit-sheet[hidden]{display:none!important}
.message-edit-card{width:min(520px,100%);border-radius:20px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.32)}
.message-edit-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.message-edit-head strong{font-size:18px}.message-edit-head button{border:0;background:transparent;color:var(--text);font-size:26px}
#messageEditInput{width:100%;min-height:110px;resize:vertical;border:1px solid var(--line);border-radius:14px;background:var(--surface2);color:var(--text);padding:12px;font:inherit;outline:none}
#messageEditInput:focus{border-color:var(--purple);box-shadow:0 0 0 3px rgba(126,68,245,.12)}
.message-edit-meta{font-size:11px;color:var(--muted);margin:8px 2px 14px}.message-edit-actions{display:flex;justify-content:flex-end;gap:9px}
@media(max-width:800px){.message-edit-sheet{align-items:end;padding:10px}.message-edit-card{border-radius:20px 20px 14px 14px}.message-edit-trigger{font-size:11px;padding:5px 6px}}

/* === ANXIRA 0.7.4.3 HOLD MESSAGE ACTIONS === */
.message-bubble{touch-action:pan-y;-webkit-touch-callout:none}
.message-action-sheet{position:fixed;inset:0;z-index:1250;background:rgba(3,5,12,.56);display:grid;place-items:center;padding:18px;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.message-action-sheet[hidden]{display:none!important}
.message-action-card{width:min(430px,100%);border-radius:22px;padding:14px;box-shadow:0 26px 80px rgba(0,0,0,.4)}
.message-action-preview{padding:12px 14px;margin-bottom:10px;border-radius:14px;background:var(--surface2);border:1px solid var(--line);font-size:13px;line-height:1.4;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-action-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.message-action-buttons>button{min-height:86px;border:1px solid var(--line);border-radius:16px;background:var(--surface2);color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px;cursor:pointer}
.message-action-buttons>button span{font-size:24px;color:var(--purple)}
.message-action-buttons>button b{font-size:13px}.message-action-buttons>button small{font-size:8px;color:var(--muted)}
.message-action-buttons>button.danger span,.message-action-buttons>button.danger b{color:#e04b64}
.message-action-buttons>button[hidden]{display:none!important}
.message-action-cancel{width:100%;margin-top:9px;border:0;border-radius:14px;padding:12px;background:transparent;color:var(--muted);font-weight:800}
@media(max-width:800px){
 .message-action-sheet{place-items:end center;padding:10px}
 .message-action-card{border-radius:24px 24px 16px 16px;padding:12px}
 .message-action-buttons>button{min-height:82px}
}

/* === ANXIRA 0.7.4.4 HOLD MENU + COPY TEXT FIX === */
.message-stream .message-bubble,
.message-stream .message-bubble *{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
}
.message-stream .message-bubble{
  touch-action:pan-y!important;
  cursor:default;
}
.message-action-buttons{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.message-action-buttons>button{min-width:0!important;padding:9px 5px!important}
.message-action-buttons>button b{font-size:12px!important;white-space:nowrap}
@media(max-width:430px){
  .message-action-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .message-action-buttons>button{min-height:74px!important}
}

/* === ANXIRA 0.7.4.5 MOBILE HOLD GESTURE HARD FIX === */
.message-stream .message-line .message-bubble,
.message-stream .message-line .message-bubble *,
.message-stream .message-line .message-bubble span,
.message-stream .message-line .message-bubble p,
.message-stream .message-line .message-bubble em,
.message-stream .message-line .message-bubble strong{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-user-drag:none!important;
}
.message-stream .message-bubble{
  touch-action:none!important;
  -webkit-tap-highlight-color:transparent!important;
}

/* === ANXIRA 0.7.4.7 FULL MESSAGE HOLD TARGET === */
.message-stream .message-stack,
.message-stream .message-stack *,
.message-stream .message-time,
.message-stream .message-time *{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-user-drag:none!important;
}
.message-stream .message-stack{
  -webkit-tap-highlight-color:transparent!important;
}
.message-stream .message-time{
  pointer-events:none!important;
}

/* === ANXIRA 0.7.4.8 COMPACT MESSAGE ACTION MENU === */
.message-action-sheet{
  position:fixed!important;
  inset:0!important;
  z-index:1250!important;
  display:grid!important;
  place-items:center!important;
  padding:12px!important;
  background:rgba(4,7,16,.34)!important;
  backdrop-filter:blur(2px)!important;
  -webkit-backdrop-filter:blur(2px)!important;
}
.message-action-sheet[hidden]{display:none!important}

.message-action-card{
  width:min(318px,calc(100vw - 28px))!important;
  max-width:318px!important;
  padding:8px!important;
  border-radius:16px!important;
  border:1px solid rgba(137,86,255,.28)!important;
  background:rgba(18,23,38,.96)!important;
  box-shadow:0 16px 42px rgba(0,0,0,.38),0 0 24px rgba(126,68,245,.08)!important;
}

.message-action-preview{
  margin:0 0 7px!important;
  padding:7px 9px!important;
  min-height:0!important;
  border-radius:10px!important;
  border:1px solid rgba(145,157,190,.14)!important;
  background:rgba(255,255,255,.035)!important;
  color:#9ba4ba!important;
  font-size:10px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.message-action-buttons{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:5px!important;
}
.message-action-buttons>button{
  min-width:0!important;
  width:auto!important;
  min-height:54px!important;
  height:54px!important;
  padding:5px 2px!important;
  border-radius:11px!important;
  border:1px solid rgba(145,157,190,.15)!important;
  background:rgba(255,255,255,.035)!important;
  color:#eef1f8!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
}
.message-action-buttons>button span{
  font-size:17px!important;
  line-height:1!important;
  color:#8b4cff!important;
}
.message-action-buttons>button b{
  font-size:9.5px!important;
  line-height:1!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
.message-action-buttons>button small{display:none!important}
.message-action-buttons>button.danger span,
.message-action-buttons>button.danger b{color:#f05c70!important}
.message-action-buttons>button:active{
  transform:scale(.95)!important;
  background:rgba(126,68,245,.12)!important;
}
.message-action-cancel{
  width:100%!important;
  margin:5px 0 0!important;
  padding:5px 0 2px!important;
  min-height:25px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#8f98ad!important;
  font-size:10px!important;
  font-weight:700!important;
}

/* Override earlier mobile bottom-sheet rules: keep this compact and floating. */
@media(max-width:800px){
  .message-action-sheet{
    place-items:center!important;
    align-items:center!important;
    padding:12px!important;
  }
  .message-action-card{
    width:min(304px,calc(100vw - 24px))!important;
    max-width:304px!important;
    border-radius:15px!important;
    padding:7px!important;
  }
  .message-action-buttons{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
  }
  .message-action-buttons>button{
    min-height:50px!important;
    height:50px!important;
    border-radius:10px!important;
  }
  .message-action-buttons>button span{font-size:16px!important}
  .message-action-buttons>button b{font-size:9px!important}
  .message-action-preview{font-size:9.5px!important;padding:6px 8px!important}
}

/* === ANXIRA 0.7.4.9 PROFILE / COVER CROP EDITOR === */
.profile-crop-modal{z-index:1500!important}
.profile-crop-sheet{width:min(760px,calc(100vw - 24px));max-height:92dvh;overflow:auto;border-radius:22px;padding:16px;background:linear-gradient(145deg,rgba(22,26,40,.985),rgba(13,16,28,.985));border:1px solid rgba(137,86,255,.28);box-shadow:0 28px 90px rgba(0,0,0,.48)}
.profile-crop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:13px}.profile-crop-head h2{margin:2px 0 4px;font-size:20px}.profile-crop-head p{margin:0;color:var(--muted);font-size:11px}.profile-crop-close{border:0;background:transparent;color:var(--text);font-size:27px;line-height:1;padding:2px 5px}
.profile-crop-stage-wrap{display:grid;gap:7px}.profile-crop-stage{position:relative;width:100%;overflow:hidden;background:#070910;border:1px solid rgba(147,107,255,.34);box-shadow:inset 0 0 40px rgba(0,0,0,.42);touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.profile-crop-stage.dragging{cursor:grabbing}.profile-crop-stage.cover-mode{aspect-ratio:3/1;border-radius:14px}.profile-crop-stage.avatar-mode{width:min(420px,82vw);aspect-ratio:1/1;margin:0 auto;border-radius:18px}
.profile-crop-stage>img{position:absolute;left:0;top:0;max-width:none!important;max-height:none!important;transform-origin:0 0;pointer-events:none;user-select:none;-webkit-user-select:none;will-change:transform}
.profile-crop-mask{position:absolute;inset:0;pointer-events:none;z-index:2}.profile-crop-stage.cover-mode .profile-crop-mask{box-shadow:inset 0 0 0 999px rgba(0,0,0,0)}.profile-crop-stage.avatar-mode .profile-crop-mask{background:radial-gradient(circle at center,transparent 0 49%,rgba(3,5,12,.66) 49.5% 100%)}
.profile-crop-frame{position:absolute;z-index:3;pointer-events:none;inset:0;border:2px solid rgba(173,120,255,.95);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),0 0 20px rgba(126,68,245,.25)}.profile-crop-stage.avatar-mode .profile-crop-frame{inset:4%;border-radius:50%;border:2px solid rgba(181,126,255,.98)}
.profile-crop-guide{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:.38}.profile-crop-guide i{position:absolute;background:rgba(255,255,255,.5)}.profile-crop-guide i:nth-child(1),.profile-crop-guide i:nth-child(2){top:0;bottom:0;width:1px}.profile-crop-guide i:nth-child(1){left:33.333%}.profile-crop-guide i:nth-child(2){left:66.666%}.profile-crop-guide i:nth-child(3),.profile-crop-guide i:nth-child(4){left:0;right:0;height:1px}.profile-crop-guide i:nth-child(3){top:33.333%}.profile-crop-guide i:nth-child(4){top:66.666%}.profile-crop-stage.avatar-mode .profile-crop-guide{clip-path:circle(46% at 50% 50%)}
.profile-crop-caption{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;padding:0 2px}.profile-crop-caption b{color:#b58cff}
.profile-crop-controls{display:grid;gap:10px;margin-top:13px}.profile-crop-slider{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:10px;font-size:11px;font-weight:750}.profile-crop-slider input{width:100%;accent-color:#8449ff}.profile-crop-quick{display:flex;gap:6px;flex-wrap:wrap}.profile-crop-quick button{border:1px solid rgba(145,157,190,.18);background:rgba(255,255,255,.045);color:var(--text);border-radius:10px;padding:7px 10px;font-size:10px;font-weight:750}.profile-crop-quick button:active{transform:scale(.97);background:rgba(126,68,245,.14)}
.profile-crop-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.crop-ready{display:block;color:#35d895;font-size:9px;margin-top:4px;font-weight:800}
@media(max-width:800px){
 .profile-crop-modal{padding:8px!important;align-items:center!important}
 .profile-crop-sheet{width:calc(100vw - 16px);max-height:88dvh;border-radius:18px;padding:12px}
 .profile-crop-head h2{font-size:17px}.profile-crop-head p{font-size:10px}
 .profile-crop-stage.cover-mode{aspect-ratio:3/1;border-radius:11px}
 .profile-crop-stage.avatar-mode{width:min(330px,86vw)}
 .profile-crop-quick{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
 .profile-crop-quick button{padding:7px 2px;font-size:8.5px}
 .profile-crop-actions .btn{padding:9px 12px}
}

/* === ANXIRA 0.7.5.0 PROFILE CAMERA + FULL IMAGE HIGHLIGHTS === */

/* Camera is now a dedicated photo action, not an Edit Profile shortcut. */
.profile-v05-avatar>.profile-avatar-camera{
  position:absolute!important;
  right:3px!important;
  bottom:7px!important;
  width:40px!important;
  height:40px!important;
  border-radius:50%!important;
  border:3px solid var(--surface)!important;
  background:linear-gradient(145deg,#22283a,#151a29)!important;
  color:#fff!important;
  font-size:16px!important;
  z-index:7!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:0 6px 18px rgba(0,0,0,.35),0 0 14px rgba(126,68,245,.18)!important;
}

/* Highlight row: clean gallery tiles. */
.profile-highlight-section{
  padding:12px!important;
}
.profile-highlight-row{
  gap:12px!important;
  padding:3px 3px 6px!important;
}
.profile-highlight-card:not(.add-highlight){
  position:relative!important;
  flex:0 0 126px!important;
  width:126px!important;
  height:166px!important;
  padding:0!important;
  display:block!important;
  overflow:hidden!important;
  border-radius:19px!important;
  border:1px solid transparent!important;
  background:
    linear-gradient(#101421,#101421) padding-box,
    linear-gradient(145deg,rgba(117,213,255,.96),rgba(130,65,255,.98) 48%,rgba(225,96,255,.92)) border-box!important;
  box-shadow:
    0 9px 24px rgba(5,8,18,.28),
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 14px rgba(105,72,255,.18)!important;
}
.profile-highlight-card:not(.add-highlight):hover{
  transform:translateY(-3px)!important;
  box-shadow:0 14px 30px rgba(5,8,18,.34),0 0 20px rgba(118,72,255,.28)!important;
}
.profile-highlight-card:not(.add-highlight) .highlight-cover{
  position:absolute!important;
  inset:3px!important;
  min-height:0!important;
  border-radius:15px!important;
  overflow:hidden!important;
  display:block!important;
  background:#0b0f19!important;
}
.profile-highlight-card:not(.add-highlight) .highlight-cover>img,
.profile-highlight-card:not(.add-highlight) .highlight-cover>video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.profile-highlight-card:not(.add-highlight) .highlight-card-shade{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,transparent 48%,rgba(4,6,12,.2) 64%,rgba(4,6,12,.88) 100%)!important;
}
.profile-highlight-card:not(.add-highlight) .highlight-card-title{
  position:absolute!important;
  z-index:3!important;
  left:9px!important;
  right:9px!important;
  bottom:10px!important;
  padding:0!important;
  margin:0!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:800!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-shadow:0 2px 8px rgba(0,0,0,.95)!important;
}
.profile-highlight-card:not(.add-highlight)>small{display:none!important}

/* Keep Add Highlight distinct but proportionally aligned. */
.profile-highlight-card.add-highlight{
  flex:0 0 106px!important;
  width:106px!important;
  height:166px!important;
  border-radius:19px!important;
  align-content:center!important;
}

/* Mobile: same full-image style, slightly smaller so names never collide. */
@media(max-width:800px){
  .profile-highlight-row{gap:9px!important}
  .profile-highlight-card:not(.add-highlight){
    flex-basis:112px!important;
    width:112px!important;
    height:150px!important;
    border-radius:17px!important;
  }
  .profile-highlight-card:not(.add-highlight) .highlight-cover{
    inset:3px!important;
    border-radius:13px!important;
  }
  .profile-highlight-card:not(.add-highlight) .highlight-card-title{
    left:7px!important;
    right:7px!important;
    bottom:8px!important;
    font-size:11px!important;
  }
  .profile-highlight-card.add-highlight{
    flex-basis:98px!important;
    width:98px!important;
    height:150px!important;
  }
}

/* === ANXIRA 0.7.5.1 DUAL DESKTOP / MOBILE COVER === */
.profile-cover{position:relative!important;overflow:hidden!important;background:none!important}
.profile-cover-image{position:absolute;inset:0;background-repeat:no-repeat;background-size:cover;background-position:center;z-index:0}
.desktop-cover-image{display:block}.mobile-cover-image{display:none}
.profile-cover-shade{z-index:1!important}
.cover-edit{
  z-index:9!important;
  top:16px!important;
  right:16px!important;
  bottom:auto!important;
  position:absolute!important;
  white-space:nowrap!important;
  max-width:calc(100% - 32px)!important;
}
.profile-cover-device-tabs{display:flex;gap:6px;margin:0 0 10px;padding:4px;background:rgba(255,255,255,.045);border:1px solid rgba(145,157,190,.16);border-radius:12px}
.profile-cover-device-tabs[hidden]{display:none!important}
.profile-cover-device-tabs button{flex:1;border:0;border-radius:9px;background:transparent;color:var(--muted);padding:8px 10px;font-size:10px;font-weight:800}
.profile-cover-device-tabs button.active{background:linear-gradient(135deg,#8148ff,#6329dc);color:#fff;box-shadow:0 5px 14px rgba(104,51,222,.25)}
.profile-crop-stage.cover-mode.desktop-device{aspect-ratio:3/1!important}
.profile-crop-stage.cover-mode.mobile-device{aspect-ratio:1.45/1!important;width:min(460px,92vw)!important;margin:0 auto!important}
@media(max-width:800px){
  .desktop-cover-image{display:none!important}
  .mobile-cover-image{display:block!important}
  .profile-cover{
    height:202px!important;
    min-height:202px!important;
  }
  .cover-edit{
    top:10px!important;
    right:10px!important;
    bottom:auto!important;
    font-size:9px!important;
    padding:7px 9px!important;
    border-radius:11px!important;
  }
}

/* === ANXIRA 0.7.5.3 PROFILE WALL POSTS + REVIEW QUEUE === */
.profile-wall-composer{margin-top:12px;border-radius:20px;padding:14px 16px;overflow:hidden}
.profile-wall-main{display:flex;gap:11px;align-items:flex-start}.profile-wall-main>img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid rgba(126,68,245,.5)}
.profile-wall-main textarea{flex:1;min-height:70px;max-height:150px;resize:vertical;border:1px solid var(--line);border-radius:16px;background:var(--surface2);color:var(--text);padding:13px 15px;font:inherit;font-size:14px;outline:none}
.profile-wall-actions{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;margin-top:10px;border-top:1px solid var(--line);padding-top:9px}
.profile-wall-actions>button,.profile-wall-actions>label{min-height:38px;border:0;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;cursor:pointer}
.profile-wall-actions>label{border-left:1px solid var(--line)}
.profile-wall-actions .profile-wall-submit{border-radius:11px;padding:0 13px;background:linear-gradient(135deg,#8349ff,#652bd8);color:#fff;font-weight:800}
.profile-wall-review-note{display:block;color:var(--muted);font-size:9px;margin:7px 2px 0}
.profile-wall-preview{position:relative;margin:9px 0 0 57px;width:min(240px,70%);border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.profile-wall-preview img{display:block;width:100%;max-height:240px;object-fit:cover}
.profile-wall-preview button{position:absolute;right:7px;top:7px;width:28px;height:28px;border:0;border-radius:50%;background:rgba(0,0,0,.65);color:#fff}
.review-menu-count{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;margin-left:auto;border-radius:999px;background:#7e44f5;color:#fff;font-size:9px}
.profile-review-sheet{width:min(690px,94vw);max-height:88dvh;overflow:auto;border-radius:24px;padding:18px}
.profile-review-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding-bottom:12px}
.profile-review-sheet h2{margin:3px 0}.profile-review-sheet header p{margin:0;color:var(--muted);font-size:10px}.profile-review-sheet header>button{border:0;background:transparent;color:var(--text);font-size:26px}
.profile-review-list{display:grid;gap:10px;padding-top:12px}.profile-review-card{border:1px solid var(--line);background:var(--surface2);border-radius:17px;padding:12px}
.profile-review-author{display:flex;align-items:center;gap:9px}.profile-review-author img{width:42px;height:42px;border-radius:50%;object-fit:cover}
.profile-review-author b,.profile-review-author small{display:block}.profile-review-author small{font-size:9px;color:var(--muted);margin-top:2px}
.profile-review-card>p{font-size:13px;line-height:1.45;margin:10px 2px}.profile-review-media{margin-top:9px;border-radius:13px;overflow:hidden;background:#080a10}
.profile-review-media img{display:block;width:100%;max-height:390px;object-fit:contain}
.profile-review-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:10px}.profile-review-actions button{border:0;border-radius:10px;padding:8px 14px;font-size:10px;font-weight:800}
.profile-review-actions .reject{background:rgba(230,70,95,.1);color:#ee6277}.profile-review-actions .approve{background:linear-gradient(135deg,#8148ff,#632bd7);color:#fff}
.profile-review-empty{text-align:center;color:var(--muted);padding:28px 12px}
@media(max-width:800px){.profile-wall-composer{border-radius:15px;padding:11px}.profile-wall-main>img{width:40px;height:40px}.profile-wall-main textarea{min-height:58px;font-size:13px;padding:11px 12px}.profile-wall-actions{grid-template-columns:1fr 1fr}.profile-wall-actions .profile-wall-submit{grid-column:1/-1;margin-top:6px;height:36px}.profile-wall-preview{margin-left:51px}.profile-review-sheet{width:calc(100vw - 16px);max-height:86dvh;border-radius:20px;padding:13px}}

/* === ANXIRA 0.7.5.4 MESSAGES MOBILE SPACING + LARGER FRIEND PROFILES === */

/* New Message: search must remain its own clean row and never be covered by first person. */
#newChatModal .new-chat-sheet{
  row-gap:0!important;
}
#newChatModal .new-chat-search{
  position:relative!important;
  z-index:8!important;
  flex:0 0 auto!important;
  margin:0 0 16px!important;
  background:var(--surface2)!important;
  box-shadow:0 7px 18px rgba(4,7,16,.16)!important;
}
#newChatModal .new-chat-people{
  position:relative!important;
  z-index:1!important;
  padding:3px 0 12px!important;
  margin:0!important;
}
#newChatModal .new-chat-people>button{
  min-height:76px!important;
  grid-template-columns:64px minmax(0,1fr) 20px!important;
  gap:14px!important;
  padding:8px 10px!important;
}
#newChatModal .new-chat-people .living-ring{
  width:60px!important;
  height:60px!important;
  min-width:60px!important;
  min-height:60px!important;
}
#newChatModal .new-chat-people .living-ring img{
  width:100%!important;
  height:100%!important;
  border-radius:50%!important;
  object-fit:cover!important;
}
#newChatModal .new-chat-people strong{
  font-size:15px!important;
  line-height:1.15!important;
}
#newChatModal .new-chat-people small{
  font-size:10.5px!important;
  margin-top:5px!important;
}

/* Notes & Friends: restore large premium friend avatars. */
.messages-social-strip{
  height:132px!important;
  flex-basis:132px!important;
}
.friends-under-note{
  height:116px!important;
}
.friends-under-note .chat-friends-strip{
  height:114px!important;
  min-height:114px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
  gap:15px!important;
}
.friends-under-note .friend-orb{
  flex:0 0 82px!important;
  min-width:82px!important;
  min-height:96px!important;
  gap:7px!important;
}
.friends-under-note .friend-orb .living-ring{
  width:68px!important;
  height:68px!important;
  min-width:68px!important;
  min-height:68px!important;
  overflow:visible!important;
}
.friends-under-note .friend-orb .living-ring img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:50%!important;
}
.friends-under-note .friend-orb b{
  max-width:82px!important;
  font-size:10px!important;
  line-height:1.15!important;
}
.pinned-own-note{
  height:128px!important;
}
.pinned-own-note .note-avatar{
  width:62px!important;
  height:62px!important;
}

/* Keep search below the larger social strip with breathing room. */
.conversation-search{
  margin-top:7px!important;
}

@media(max-width:800px){
  #newChatModal .new-chat-sheet{
    display:grid!important;
    grid-template-rows:auto auto minmax(0,1fr)!important;
    max-height:84dvh!important;
    padding:14px 14px calc(14px + env(safe-area-inset-bottom))!important;
  }
  #newChatModal .new-chat-head{
    margin-bottom:14px!important;
  }
  #newChatModal .new-chat-search{
    height:48px!important;
    margin-bottom:20px!important;
    border-radius:16px!important;
  }
  #newChatModal .new-chat-people{
    padding-top:2px!important;
  }
  #newChatModal .new-chat-people>button{
    min-height:82px!important;
    grid-template-columns:68px minmax(0,1fr) 20px!important;
    gap:14px!important;
  }
  #newChatModal .new-chat-people .living-ring{
    width:64px!important;
    height:64px!important;
    min-width:64px!important;
    min-height:64px!important;
  }
  #newChatModal .new-chat-people strong{font-size:16px!important}
  #newChatModal .new-chat-people small{font-size:11px!important}

  .messages-social-strip{
    height:140px!important;
    flex-basis:140px!important;
  }
  .friends-under-note{
    top:6px!important;
    height:120px!important;
  }
  .friends-under-note .chat-friends-strip{
    height:118px!important;
    min-height:118px!important;
    padding:9px 8px 10px 98px!important;
    gap:14px!important;
  }
  .friends-under-note .friend-orb{
    flex:0 0 82px!important;
    min-width:82px!important;
    min-height:100px!important;
  }
  .friends-under-note .friend-orb .living-ring{
    width:70px!important;
    height:70px!important;
    min-width:70px!important;
    min-height:70px!important;
  }
  .friends-under-note .friend-orb b{
    max-width:82px!important;
    font-size:10px!important;
  }
  .pinned-own-note{
    width:94px!important;
    height:132px!important;
    padding-right:10px!important;
  }
  .pinned-own-note .note-bubble{
    width:82px!important;
    height:40px!important;
  }
  .pinned-own-note .note-avatar{
    width:64px!important;
    height:64px!important;
  }
  .conversation-search{
    margin-top:8px!important;
  }
}

/* === ANXIRA 0.7.5.5 SIGNAL STUDIO === */
body.signal-studio-open,body.signal-media-editor-open{overflow:hidden!important}
#signalComposerOpen{cursor:text}.composer-head textarea[readonly]{cursor:text}
.signal-studio{position:fixed;inset:0;z-index:1500;background:rgba(2,4,10,.58);backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:flex-end;opacity:0;transition:opacity .2s}.signal-studio.open{opacity:1}.signal-studio[hidden]{display:none!important}
.signal-studio-sheet{width:min(720px,100%);height:min(92dvh,880px);background:var(--surface);border:1px solid var(--line);border-radius:26px 26px 0 0;box-shadow:0 -24px 80px rgba(0,0,0,.38);display:flex;flex-direction:column;overflow:hidden;transform:translateY(100%);transition:transform .26s cubic-bezier(.2,.8,.2,1)}.signal-studio.open .signal-studio-sheet{transform:none}
.signal-studio-head{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:8px;padding:14px 18px;border-bottom:1px solid var(--line)}.signal-studio-head>button:first-child{width:42px;height:42px;border:0;border-radius:50%;background:var(--surface2);color:var(--text);font-size:26px}.signal-studio-head span{font-size:9px;letter-spacing:.2em;color:var(--purple);font-weight:900}.signal-studio-head h2{margin:2px 0 0;font-size:20px}.signal-studio-post{border:0;border-radius:12px;padding:10px 17px;background:linear-gradient(135deg,#8a4cff,#6226dc);color:#fff;font-weight:850}
.signal-studio-author{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 18px 5px}.signal-studio-author>img{width:46px;height:46px;border-radius:50%;object-fit:cover}.signal-studio-author b{font-size:13px}.signal-studio-author span,.signal-studio-author small{font-size:10px;color:var(--muted)}.signal-studio-author select{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:999px;padding:7px 9px;font-size:9px}
.signal-studio-chips{display:flex;gap:7px;overflow-x:auto;padding:9px 18px;scrollbar-width:none}.signal-studio-chips::-webkit-scrollbar{display:none}.signal-studio-chips button{flex:0 0 auto;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:999px;padding:8px 12px;font-size:10px;font-weight:750}
#signalStudioBody{flex:1;min-height:150px;width:100%;resize:none;border:0;outline:0;background:transparent;color:var(--text);padding:14px 22px;font:inherit;font-size:21px;line-height:1.4}.signal-compose-bg{flex:0 0 270px!important;margin:8px 18px;border-radius:18px;text-align:center;padding:80px 22px!important;color:#fff!important;font-weight:750}
.signal-background-picker{display:flex;gap:8px;padding:8px 18px;overflow-x:auto}.signal-background-picker button{width:42px;height:42px;flex:0 0 42px;border:2px solid transparent;border-radius:11px;background:#e9ebef}.signal-background-picker button.active{border-color:#9a5dff;box-shadow:0 0 0 2px rgba(126,68,245,.2)}.signal-background-picker [data-signal-bg=aurora],.signal-bg-aurora{background:linear-gradient(135deg,#1b143d,#7540f5 50%,#2bc8ef)!important}.signal-background-picker [data-signal-bg=royal],.signal-bg-royal{background:linear-gradient(135deg,#120b2e,#4b22b9,#ad4cff)!important}.signal-background-picker [data-signal-bg=sunset],.signal-bg-sunset{background:linear-gradient(135deg,#ff8a3d,#d63d72,#6d2ad7)!important}.signal-background-picker [data-signal-bg=ocean],.signal-bg-ocean{background:linear-gradient(135deg,#081e45,#1268b5,#39d6dd)!important}.signal-background-picker [data-signal-bg=midnight],.signal-bg-midnight{background:linear-gradient(135deg,#060814,#111a33,#30205d)!important}.signal-background-picker [data-signal-bg=gold],.signal-bg-gold{background:linear-gradient(135deg,#49300a,#bc7d20,#f0c86a)!important}
.signal-studio-media{position:relative;margin:8px 18px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#05070c;min-height:200px;max-height:380px}.signal-studio-media>img:first-child,.signal-studio-media>video{width:100%;height:100%;max-height:380px;object-fit:contain;display:block}.signal-studio-media-actions{position:absolute;top:10px;right:10px;z-index:8;display:flex;gap:7px}.signal-studio-media-actions button{width:40px;height:40px;border:0;border-radius:50%;background:rgba(18,22,32,.82);color:#fff;font-size:18px;backdrop-filter:blur(8px)}.signal-studio-overlay-text,.signal-media-editor-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;color:#fff;font-size:30px;font-weight:850;text-shadow:0 2px 12px #000;white-space:pre-wrap;text-align:center}.signal-studio-overlay-gif,.signal-media-editor-gif{position:absolute!important;right:8%;bottom:8%;width:110px!important;height:auto!important;z-index:6;object-fit:contain!important}
.signal-studio-audio{margin:8px 18px;padding:10px 12px;border:1px solid var(--line);background:var(--surface2);border-radius:14px;display:flex;align-items:center;justify-content:space-between}.signal-studio-audio b{display:block;font-size:11px}.signal-studio-audio span{display:flex;gap:5px;margin-top:5px}.signal-studio-audio span button{border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:999px;padding:4px 9px;font-size:8px}.signal-studio-audio span button.active{background:var(--purple);color:#fff}.signal-studio-audio>button{border:0;background:transparent;color:var(--muted);font-size:20px}
.signal-studio-bottom{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:12px 18px calc(13px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}.signal-studio-bottom>label,.signal-studio-bottom>button{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:14px;min-height:62px;display:grid;place-items:center;align-content:center;gap:3px;font-size:17px}.signal-studio-bottom b{font-size:9px}

.signal-media-editor{position:fixed;inset:0;z-index:1600;background:#000;opacity:0;transition:.18s}.signal-media-editor.open{opacity:1}.signal-media-editor[hidden]{display:none!important}.signal-media-editor-shell{position:absolute;inset:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;background:#000;color:#fff}.signal-media-editor-shell>header{display:grid;grid-template-columns:52px 1fr auto;align-items:center;padding:calc(12px + env(safe-area-inset-top)) 16px 10px}.signal-media-editor-shell>header button{border:0;background:rgba(255,255,255,.11);color:#fff;border-radius:999px;padding:10px 14px}.signal-media-editor-shell>header button:first-child{width:48px;height:48px;font-size:26px;padding:0}.signal-media-editor-shell>header strong{text-align:center;font-size:11px;letter-spacing:.18em}
.signal-media-editor-tools{display:flex;justify-content:flex-end;gap:10px;padding:5px 14px 12px}.signal-media-editor-tools>button,.signal-media-editor-tools>label{width:62px;border:0;background:transparent;color:#fff;display:grid;justify-items:center;gap:3px;font-size:22px}.signal-media-editor-tools span{font-size:8px}
.signal-media-stage{position:relative;overflow:hidden;display:grid;place-items:center;background:#000}.signal-media-stage>img:first-child,.signal-media-stage>video{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.signal-media-editor-text{outline:0;min-width:90px;padding:6px}
.signal-media-tooltray{background:rgba(13,15,22,.96);border-top:1px solid rgba(255,255,255,.12);padding:12px}.signal-media-tooltray>div{display:flex;gap:7px;justify-content:center;align-items:center}.signal-media-tooltray input{flex:1;max-width:430px;border:1px solid rgba(255,255,255,.18);background:#1b1e29;color:#fff;border-radius:12px;padding:10px}.signal-filter-list{overflow-x:auto!important;justify-content:flex-start!important}.signal-filter-list button{flex:0 0 auto;border:1px solid rgba(255,255,255,.16);background:#171a22;color:#fff;border-radius:999px;padding:8px 13px}.signal-filter-list button.active{background:#fff;color:#111}.signal-media-editor-shell>footer{display:flex;gap:25px;padding:13px 22px calc(13px + env(safe-area-inset-bottom))}.signal-media-editor-shell>footer button{border:0;background:transparent;color:#fff;display:grid;gap:3px;font-size:23px}.signal-media-editor-shell>footer b{font-size:9px}
.filter-vivid img:first-child,.filter-vivid video{filter:saturate(1.45) contrast(1.08)}.filter-warm img:first-child,.filter-warm video{filter:sepia(.18) saturate(1.25) hue-rotate(-8deg)}.filter-cool img:first-child,.filter-cool video{filter:saturate(1.1) hue-rotate(15deg)}.filter-mono img:first-child,.filter-mono video{filter:grayscale(1) contrast(1.1)}.filter-dramatic img:first-child,.filter-dramatic video{filter:contrast(1.35) saturate(1.18)}
.signal-feeling-modal{position:fixed;inset:0;z-index:1700;background:rgba(2,4,10,.55);display:grid;place-items:end center}.signal-feeling-modal[hidden]{display:none!important}.signal-feeling-sheet{width:min(520px,100%);border-radius:22px 22px 0 0;padding:16px}.signal-feeling-sheet header{display:flex;justify-content:space-between}.signal-feeling-sheet header button{border:0;background:transparent;color:var(--text);font-size:24px}.signal-feeling-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:12px}.signal-feeling-grid button{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:12px;padding:11px;text-align:left}
.post-with-tags{font-weight:500;color:var(--muted)}.post-with-tags a{color:var(--text);text-decoration:none;font-weight:750}.post-feeling{font-weight:500;color:var(--muted)}.signal-bg{margin:10px 14px!important;padding:45px 28px!important;border-radius:16px;color:#fff!important;text-align:center;font-size:22px!important;font-weight:800;min-height:150px;display:grid;place-items:center}.signal-edited-media{position:relative;overflow:hidden}.signal-media-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff;font-size:30px;font-weight:850;text-shadow:0 2px 12px #000;z-index:3}.signal-media-gif{position:absolute!important;right:7%!important;bottom:7%!important;width:110px!important;height:auto!important;max-height:110px!important;object-fit:contain!important;z-index:4}.signal-audio{margin:8px 14px;padding:9px 11px;border:1px solid var(--line);border-radius:13px;background:var(--surface2)}.signal-audio span{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.signal-audio audio{width:100%;height:32px}

@media(max-width:800px){
 .signal-studio-sheet{width:100%;height:100dvh;max-height:none;border-radius:24px 24px 0 0}
 .signal-studio-head{padding-top:calc(13px + env(safe-area-inset-top))}
 #signalStudioBody{font-size:20px;padding:14px 18px}
 .signal-studio-chips{padding-left:14px;padding-right:14px}
 .signal-studio-bottom{padding-left:10px;padding-right:10px}
 .signal-studio-bottom>label,.signal-studio-bottom>button{min-height:58px}
 .signal-media-editor-tools{justify-content:center}
 .signal-media-stage{min-height:0}
 .signal-bg{font-size:20px!important;min-height:170px}
}

/* === ANXIRA 0.7.5.6 SIGNAL MEDIA EDITOR REBUILD === */
.signal-media-editor-shell{
  grid-template-rows:auto auto minmax(0,1fr) auto auto!important;
}
.signal-media-editor-head{position:relative;z-index:5}
.signal-media-stage{
  position:relative!important;
  overflow:hidden!important;
  touch-action:none!important;
}
.signal-media-effect-layer{
  position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;
}
.signal-media-stage>img:first-of-type,.signal-media-stage>video{position:relative;z-index:1}
.signal-media-editor-text{
  position:absolute!important;
  z-index:8!important;
  left:50%;top:50%;
  transform:translate(-50%,-50%)!important;
  min-width:84px;max-width:82%;
  padding:6px 10px;
  border-radius:8px;
  outline:0!important;
  white-space:pre-wrap;
  line-height:1.05;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
}
.signal-media-editor-text.editing{
  user-select:text!important;-webkit-user-select:text!important;
  background:rgba(0,0,0,.22);
  box-shadow:0 0 0 1px rgba(255,255,255,.22);
}
.signal-text-float-slider{
  position:absolute;left:10px;top:50%;transform:translateY(-50%);
  z-index:20;width:36px;height:230px;
  display:grid;grid-template-rows:auto 1fr auto;align-items:center;justify-items:center;
  padding:8px 3px;border-radius:22px;background:rgba(10,12,20,.66);
  backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.12);
}
.signal-text-float-slider[hidden]{display:none!important}
.signal-text-float-slider span{font-size:11px;font-weight:900;color:#fff}
.signal-text-float-slider span:last-child{font-size:19px}
.signal-text-float-slider input{
  width:190px;height:22px;transform:rotate(-90deg);
  accent-color:#9c5bff;
}
.signal-delete-zone{
  position:absolute;z-index:30;left:50%;bottom:18px;transform:translateX(-50%);
  min-width:145px;height:58px;padding:0 18px;border-radius:30px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:rgba(15,17,25,.9);border:1px solid rgba(255,255,255,.16);
  box-shadow:0 10px 32px rgba(0,0,0,.38);color:#fff;pointer-events:none;
}
.signal-delete-zone[hidden]{display:none!important}
.signal-delete-zone.over{background:rgba(204,47,72,.92);transform:translateX(-50%) scale(1.07)}
.signal-delete-zone span{font-size:22px}.signal-delete-zone b{font-size:10px}

.signal-sticker-layer{position:absolute;inset:0;z-index:7;pointer-events:none}
.signal-editor-sticker{
  position:absolute;z-index:9;pointer-events:auto;touch-action:none;
  font-size:62px;line-height:1;transform-origin:center;
  user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;
}
.signal-editor-sticker img{display:block;width:88px;height:88px;object-fit:contain;pointer-events:none}
.signal-main-sticker{
  position:absolute;z-index:7;font-size:34px;line-height:1;pointer-events:none;
}
.signal-main-sticker img{width:55px!important;height:55px!important;object-fit:contain!important}
.signal-post-sticker{position:absolute;z-index:5;font-size:40px;pointer-events:none}
.signal-post-sticker img{width:72px!important;height:72px!important;object-fit:contain!important}

.signal-media-toolpanel{
  position:absolute!important;left:0;right:0;bottom:0;z-index:45;
  max-height:min(54dvh,520px);overflow:auto;
  background:rgba(10,12,19,.97);border-top:1px solid rgba(255,255,255,.13);
  border-radius:22px 22px 0 0;color:#fff;
  box-shadow:0 -18px 52px rgba(0,0,0,.45);
}
.signal-media-toolpanel[hidden]{display:none!important}
.signal-media-toolpanel>header{
  position:sticky;top:0;z-index:3;
  display:grid;grid-template-columns:46px 1fr 56px;align-items:center;
  padding:10px 13px;background:rgba(10,12,19,.97);
  border-bottom:1px solid rgba(255,255,255,.09);
}
.signal-media-toolpanel>header button{
  border:0;background:transparent;color:#fff;font-size:15px;font-weight:800
}
.signal-media-toolpanel>header button:first-child{font-size:26px;text-align:left}
.signal-media-toolpanel>header b{text-align:center;font-size:12px;letter-spacing:.08em}
.signal-tool-content{padding:14px}
.signal-font-row,.signal-text-buttons,.signal-music-moods{
  display:flex;gap:7px;overflow-x:auto;scrollbar-width:none
}
.signal-font-row::-webkit-scrollbar,.signal-music-moods::-webkit-scrollbar,.signal-preview-strip::-webkit-scrollbar{display:none}
.signal-font-row button,.signal-text-buttons button,.signal-music-moods button{
  flex:0 0 auto;border:1px solid rgba(255,255,255,.15);background:#171a23;color:#fff;
  border-radius:999px;padding:8px 12px;font-size:9px
}
.signal-font-row button.active,.signal-music-moods button.active{background:#fff;color:#111}
.signal-text-buttons{margin-top:10px}.signal-text-buttons button{width:39px;height:39px;padding:0;display:grid;place-items:center}
#signalTextColorButton span{width:19px;height:19px;border-radius:50%;background:#fff;border:2px solid rgba(255,255,255,.5)}
.signal-text-tool small,.signal-tool-content>small{display:block;color:#9aa2b5;font-size:9px;line-height:1.45;margin-top:11px}

.signal-sticker-library-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.signal-sticker-library-head span{font-size:9px;color:#9299aa}
.signal-sticker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.signal-sticker-grid button{
  aspect-ratio:1;border:1px solid rgba(255,255,255,.12);background:#141720;border-radius:13px;
  display:grid;place-items:center;font-size:30px;color:#fff;overflow:hidden
}
.signal-sticker-grid button img{width:82%;height:82%;object-fit:contain}

.signal-preview-strip{display:flex;gap:10px;overflow-x:auto;padding:3px 2px 8px;scroll-snap-type:x proximity}
.signal-preview-strip button{
  flex:0 0 94px;border:0;background:transparent;color:#fff;display:grid;gap:6px;justify-items:center;scroll-snap-align:start
}
.signal-preview-strip button i{
  width:90px;height:116px;border-radius:14px;background:#171a22 center/cover no-repeat;
  border:2px solid transparent;box-shadow:0 7px 20px rgba(0,0,0,.28)
}
.signal-preview-strip button.active i{border-color:#9a5cff;box-shadow:0 0 0 2px rgba(154,92,255,.18),0 8px 22px rgba(0,0,0,.3)}
.signal-preview-strip button span{font-size:9px}

.signal-music-search{
  height:42px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:#151821;
  display:flex;align-items:center;gap:7px;padding:0 12px;margin-bottom:9px
}
.signal-music-search input{flex:1;border:0;outline:0;background:transparent;color:#fff}
.signal-music-status{font-size:9px;color:#9299aa;padding:8px 2px}
.signal-music-track-list{display:grid;gap:6px;max-height:250px;overflow-y:auto}
.signal-music-track{
  width:100%;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:9px;align-items:center;
  border:1px solid rgba(255,255,255,.1);background:#131620;color:#fff;border-radius:12px;padding:7px;text-align:left
}
.signal-music-track.selected{border-color:#9255ff;background:rgba(126,68,245,.12)}
.signal-music-track img{width:46px;height:46px;border-radius:9px;object-fit:cover}
.signal-music-track span{min-width:0}.signal-music-track b,.signal-music-track small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signal-music-track b{font-size:10px}.signal-music-track small{font-size:8px;color:#9199aa;margin-top:3px}.signal-music-track i{font-style:normal}
.signal-music-empty{padding:20px;text-align:center;color:#9299aa;font-size:10px}
.signal-music-clip{margin-top:11px;border-top:1px solid rgba(255,255,255,.1);padding-top:11px}
.signal-music-clip>header{display:flex;align-items:center;justify-content:space-between}.signal-music-clip header small,.signal-music-clip header b{display:block}.signal-music-clip header small{font-size:7px;color:#9e6cff;letter-spacing:.13em}.signal-music-clip header b{font-size:11px;margin-top:2px}.signal-music-clip header button{border:0;background:transparent;color:#e87183;font-size:9px}
.signal-wave-shell{
  position:relative;height:92px;margin-top:10px;border-radius:14px;overflow:hidden;
  background:#090b10;border:1px solid rgba(255,255,255,.1);touch-action:none
}
.signal-wave-bars{position:absolute;inset:10px 0;display:flex;align-items:center;justify-content:space-around;gap:2px;padding:0 8px}
.signal-wave-bars i{display:block;width:3px;border-radius:3px;background:linear-gradient(#c9adff,#7f48ff)}
.signal-wave-selection{position:absolute;left:19%;right:19%;top:5px;bottom:5px;border:2px solid #fff;border-radius:10px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.signal-wave-selection span{align-self:flex-start;background:#fff;color:#111;font-size:8px;font-weight:900;border-radius:0 0 7px 7px;padding:4px 7px}.signal-wave-selection i{width:3px;height:28px;background:#fff;border-radius:2px}
.signal-wave-playhead{position:absolute;left:50%;top:4px;bottom:4px;width:2px;background:#8f54ff;box-shadow:0 0 10px #8f54ff;pointer-events:none}
.signal-wave-times{display:flex;justify-content:space-between;font-size:8px;color:#9299aa;margin-top:5px}
#signalMusicStart{width:100%;accent-color:#8e50ff}
.signal-music-duration,.signal-music-clip-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;font-size:9px}.signal-music-duration>div{display:flex;gap:5px}.signal-music-duration button,.signal-music-clip-actions button{border:1px solid rgba(255,255,255,.14);background:#171a22;color:#fff;border-radius:999px;padding:7px 11px}.signal-music-duration button.active{background:#fff;color:#111}.signal-music-clip-actions label{display:flex;align-items:center;gap:5px}.signal-music-clip-actions input{width:100px;accent-color:#8e50ff}#signalMusicAttribution{display:block;color:#9299aa;font-size:8px;margin-top:8px}

.signal-media-editor-footer{
  display:flex!important;gap:22px!important;padding:11px 18px calc(12px + env(safe-area-inset-bottom))!important;
  border-top:1px solid rgba(255,255,255,.08)
}
.signal-media-editor-footer button{border:0;background:transparent;color:#fff;display:grid;gap:2px;justify-items:center;font-size:21px}.signal-media-editor-footer b{font-size:8px}

.effect-vignette::after,.signal-edited-media.effect-vignette::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 85px 30px rgba(0,0,0,.65);pointer-events:none;z-index:3}
.effect-glow::after,.signal-edited-media.effect-glow::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 55px rgba(137,79,255,.42);pointer-events:none;z-index:3}
.effect-neon::after,.signal-edited-media.effect-neon::after{content:"";position:absolute;inset:8px;border:2px solid #8b52ff;border-radius:15px;box-shadow:0 0 16px #8b52ff,inset 0 0 12px #35ccff;pointer-events:none;z-index:3}
.effect-film::after,.signal-edited-media.effect-film::after{content:"";position:absolute;inset:0;opacity:.16;background-image:repeating-radial-gradient(circle at 30% 20%,#fff 0 1px,transparent 1px 3px);mix-blend-mode:screen;pointer-events:none;z-index:3}
.effect-sparkle::after,.signal-edited-media.effect-sparkle::after{content:"✦  ·  ✧   ✦       ✧   · ✦";position:absolute;inset:0;color:#fff;font-size:30px;letter-spacing:18px;text-shadow:0 0 10px #b57cff;opacity:.65;display:grid;place-items:center;pointer-events:none;z-index:3}
.effect-bokeh::after,.signal-edited-media.effect-bokeh::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 20%,rgba(255,255,255,.35) 0 3%,transparent 4%),radial-gradient(circle at 75% 35%,rgba(182,105,255,.32) 0 4%,transparent 5%),radial-gradient(circle at 50% 80%,rgba(80,190,255,.24) 0 5%,transparent 6%);pointer-events:none;z-index:3}
.effect-scan::after,.signal-edited-media.effect-scan::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(180deg,transparent 0 5px,rgba(96,189,255,.08) 6px);pointer-events:none;z-index:3}
.effect-prism::after,.signal-edited-media.effect-prism::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,0,160,.1),transparent 30%,rgba(0,200,255,.12) 65%,transparent);mix-blend-mode:screen;pointer-events:none;z-index:3}

.filter-soft img:first-child,.filter-soft video{filter:brightness(1.08) contrast(.92) saturate(.9)}
.filter-golden img:first-child,.filter-golden video{filter:sepia(.22) saturate(1.25) brightness(1.08)}
.filter-bluehour img:first-child,.filter-bluehour video{filter:brightness(.9) contrast(1.13) saturate(1.08) hue-rotate(12deg)}
.filter-cinema img:first-child,.filter-cinema video{filter:contrast(1.18) saturate(.88) brightness(.92)}

@media(max-width:800px){
 .signal-media-editor-shell{grid-template-rows:auto auto minmax(0,1fr) auto auto!important}
 .signal-media-editor-tools{justify-content:center!important;gap:4px!important;padding:4px 7px 10px!important}
 .signal-media-editor-tools>button,.signal-media-editor-tools>label{width:58px!important}
 .signal-media-stage{min-height:0!important}
 .signal-media-toolpanel{max-height:48dvh}
 .signal-preview-strip button{flex-basis:82px}.signal-preview-strip button i{width:78px;height:100px}
 .signal-sticker-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 .signal-editor-sticker{font-size:54px}.signal-editor-sticker img{width:74px;height:74px}
}

/* === ANXIRA 0.7.5.7 TEXT + WAVEFORM PRECISION FIX === */

/* Text slider: one centered rail, thumb and labels all share the same axis. */
.signal-text-float-slider{
  left:16px!important;
  width:44px!important;
  height:248px!important;
  padding:10px 0!important;
  grid-template-rows:24px 1fr 24px!important;
  overflow:visible!important;
}
.signal-text-float-slider input{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:184px!important;
  height:24px!important;
  margin:0!important;
  transform:translate(-50%,-50%) rotate(-90deg)!important;
  transform-origin:center!important;
}
.signal-text-float-slider span{
  position:relative!important;
  z-index:2!important;
}
.signal-text-float-slider span:first-child{align-self:start!important}
.signal-text-float-slider span:last-child{align-self:end!important}
.signal-text-float-slider::before{
  content:"";
  position:absolute;
  left:50%;
  top:40px;
  bottom:40px;
  width:3px;
  transform:translateX(-50%);
  border-radius:3px;
  background:rgba(255,255,255,.16);
  pointer-events:none;
}

/* Finished Signal text stays geometrically stable while dragging. */
.signal-media-editor-text{
  transform:translate(-50%,-50%)!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  white-space:pre-wrap!important;
  writing-mode:horizontal-tb!important;
  direction:ltr!important;
  unicode-bidi:plaintext!important;
}
.signal-media-editor-text:not(.editing){
  min-width:72px!important;
}
.signal-media-editor-text.editing{
  width:auto!important;
  min-width:80px!important;
  max-width:78%!important;
}

/* Music clip editor: fixed window + waveform underneath + live vertical playhead. */
.signal-wave-shell{
  overflow:hidden!important;
  touch-action:none!important;
}
.signal-wave-bars{
  width:240%!important;
  min-width:240%!important;
  justify-content:flex-start!important;
  gap:4px!important;
  padding:0 12px!important;
  will-change:transform!important;
  transition:none!important;
}
.signal-wave-bars i{
  flex:0 0 3px!important;
}
.signal-wave-selection{
  left:19%!important;
  right:19%!important;
  z-index:5!important;
  background:rgba(255,255,255,.03)!important;
  box-shadow:0 0 0 999px rgba(0,0,0,.18)!important;
}
.signal-wave-playhead{
  left:19%!important;
  top:4px!important;
  bottom:4px!important;
  z-index:8!important;
  width:3px!important;
  background:#a66cff!important;
  box-shadow:0 0 10px #a66cff,0 0 20px rgba(166,108,255,.55)!important;
  transform:translateX(-1.5px)!important;
  transition:none!important;
}
.signal-music-clip{
  scroll-margin-top:54px!important;
}
.signal-music-track-list{
  max-height:210px!important;
}
@media(max-width:800px){
  .signal-text-float-slider{left:10px!important;height:230px!important}
  .signal-wave-shell{height:112px!important}
  .signal-music-track-list{max-height:180px!important}
}

/* === ANXIRA 0.7.5.8 LIVE MUSIC PLAYHEAD FIX === */
.signal-wave-playhead{
  left:19%;
  top:2px!important;
  bottom:2px!important;
  width:3px!important;
  z-index:12!important;
  background:#b179ff!important;
  box-shadow:
    0 0 6px #b179ff,
    0 0 14px rgba(177,121,255,.95),
    0 0 26px rgba(123,77,255,.72)!important;
  transform:translateX(-1.5px)!important;
  transition:none!important;
  pointer-events:none!important;
}
.signal-wave-playhead::before{
  content:"";
  position:absolute;
  top:-3px;
  left:50%;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#fff;
  transform:translateX(-50%);
  box-shadow:0 0 8px #b179ff,0 0 14px #b179ff;
}
.signal-wave-selection{
  z-index:7!important;
}

/* === ANXIRA 0.7.5.9 SIGNAL TAG + LOCATION FIX === */
.signal-location-modal{
  position:fixed;inset:0;z-index:1750;background:rgba(2,4,10,.58);
  display:grid;place-items:end center;opacity:0;transition:opacity .16s
}
.signal-location-modal.open{opacity:1}
.signal-location-modal[hidden]{display:none!important}
.signal-location-sheet{
  width:min(520px,100%);border-radius:22px 22px 0 0;padding:16px;
  background:var(--surface);border:1px solid var(--line)
}
.signal-location-sheet>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.signal-location-sheet h3{margin:3px 0 2px;font-size:18px}
.signal-location-sheet header p{margin:0;color:var(--muted);font-size:9px}
.signal-location-sheet header>button{border:0;background:transparent;color:var(--text);font-size:25px}
.signal-location-search{
  height:48px;margin-top:13px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);
  display:flex;align-items:center;gap:9px;padding:0 13px
}
.signal-location-search input{flex:1;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}
.signal-use-current-location{
  width:100%;margin-top:9px;border:1px solid var(--line);background:var(--surface2);color:var(--text);
  border-radius:14px;padding:11px 12px;display:flex;align-items:center;gap:10px;text-align:left
}
.signal-use-current-location>span b,.signal-use-current-location>span small{display:block}
.signal-use-current-location>span b{font-size:11px}.signal-use-current-location>span small{font-size:8px;color:var(--muted);margin-top:2px}
.signal-location-suggestions{display:flex;gap:6px;overflow-x:auto;padding:11px 0 3px;scrollbar-width:none}
.signal-location-suggestions::-webkit-scrollbar{display:none}
.signal-location-suggestions button{
  flex:0 0 auto;border:1px solid var(--line);background:transparent;color:var(--text);
  border-radius:999px;padding:7px 10px;font-size:9px
}
.signal-location-sheet footer{display:flex;justify-content:flex-end;gap:7px;margin-top:13px}
#signalStudioLocationText{display:block;color:var(--muted);margin-top:2px}

/* === ANXIRA 0.7.6.0 SIGNAL FEED AUTO MUSIC === */
.signal-audio{
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.signal-audio.auto-playing{
  border-color:rgba(145,83,255,.58)!important;
  box-shadow:0 0 0 1px rgba(145,83,255,.12),0 8px 24px rgba(92,44,196,.12)!important;
  background:linear-gradient(135deg,rgba(126,68,245,.08),var(--surface2))!important;
}
.signal-audio.auto-playing>span::before{
  content:"●";
  color:#9e63ff;
  margin-right:5px;
  text-shadow:0 0 8px #9e63ff;
}

/* === ANXIRA 0.7.6.1 SIGNAL PEOPLE PICKER LAYER FIX === */
#tagPeopleModal.tag-people-modal{
  z-index:1900!important;
}
#tagPeopleModal.tag-people-modal.open{
  display:grid!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
#tagPeopleModal .tag-people-sheet{
  position:relative!important;
  z-index:1901!important;
}
@media(max-width:800px){
  #tagPeopleModal.tag-people-modal{
    align-items:end!important;
    justify-items:stretch!important;
  }
  #tagPeopleModal .tag-people-sheet{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:100%!important;
    max-width:none!important;
    max-height:82dvh!important;
    border-radius:24px 24px 0 0!important;
    padding-bottom:calc(17px + env(safe-area-inset-bottom))!important;
  }
}

/* === ANXIRA 0.7.6.2 TAGGED SIGNAL PROFILE REVIEW === */
.profile-review-type{
  display:inline-flex;
  margin:8px 0 0;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(126,68,245,.11);
  border:1px solid rgba(126,68,245,.22);
  color:#a978ff;
  font-size:9px;
  font-weight:800;
}

/* === ANXIRA 0.7.6.3 STORY-STYLE SIGNAL MUSIC LABEL === */
.signal-audio-story-style{
  margin:8px 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  min-height:0!important;
}
.signal-audio-story-style.auto-playing{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.signal-audio-story-style .signal-feed-audio{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}
.signal-song-label{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  max-width:100%!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:rgba(126,68,245,.09)!important;
  border:1px solid rgba(126,68,245,.16)!important;
  color:var(--muted)!important;
  font-size:10px!important;
  line-height:1!important;
}
.signal-song-label b{
  color:var(--text)!important;
  font-size:10px!important;
  font-weight:780!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  max-width:220px!important;
}
.signal-song-label small{
  color:var(--muted)!important;
  font-size:9px!important;
  white-space:nowrap!important;
}
.signal-audio-story-style.auto-playing .signal-song-label{
  background:rgba(126,68,245,.13)!important;
  border-color:rgba(145,83,255,.28)!important;
}
.signal-audio-story-style.auto-playing .signal-song-label::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:#9e63ff;
  box-shadow:0 0 8px #9e63ff;
}
.signal-audio-story-style.auto-playing>span::before{
  content:none!important;
}

/* === ANXIRA 0.7.6.4 STORY-STYLE MEDIA MUSIC OVERLAY === */

/* Media Signals: the media itself is the visual card. */
.post-media.signal-edited-media{
  position:relative!important;
  margin:10px 14px 8px!important;
  border-radius:20px!important;
  overflow:hidden!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.post-media.signal-edited-media>img:first-child,
.post-media.signal-edited-media>video:first-child{
  display:block!important;
  width:100%!important;
  height:auto!important;
  border-radius:20px!important;
  object-fit:cover!important;
  background:transparent!important;
}

/* No separate dark band / music card below media. */
.signal-media-music-overlay{
  position:absolute!important;
  left:13px!important;
  bottom:13px!important;
  z-index:12!important;
  max-width:calc(100% - 26px)!important;
  pointer-events:none!important;
}
.signal-media-music-overlay .signal-feed-audio{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
.signal-media-music-overlay .signal-song-label{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  max-width:min(78vw,330px)!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  background:rgba(7,9,15,.64)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  color:#fff!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  box-shadow:0 5px 18px rgba(0,0,0,.22)!important;
  text-shadow:0 1px 4px rgba(0,0,0,.65)!important;
}
.signal-media-music-overlay .signal-song-label b{
  color:#fff!important;
  max-width:210px!important;
  font-size:10px!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.signal-media-music-overlay .signal-song-label small{
  color:rgba(255,255,255,.72)!important;
  font-size:9px!important;
  white-space:nowrap!important;
}

/* Active playback only gets a tiny glow; no player background appears. */
.signal-media-music-overlay:has(.signal-feed-audio:not(:paused)) .signal-song-label{
  border-color:rgba(160,104,255,.42)!important;
}

/* Keep text-only music Signals usable without changing media Signals. */
.signal-audio-text-only{
  margin:7px 14px 10px!important;
}

/* Prevent any older generic post-media rules from adding a surrounding panel. */
.signal-edited-media::before{
  border-radius:inherit!important;
}
@media(max-width:800px){
  .post-media.signal-edited-media{
    margin:8px 12px 7px!important;
    border-radius:18px!important;
  }
  .post-media.signal-edited-media>img:first-child,
  .post-media.signal-edited-media>video:first-child{
    border-radius:18px!important;
  }
  .signal-media-music-overlay{
    left:10px!important;
    bottom:10px!important;
    max-width:calc(100% - 20px)!important;
  }
  .signal-media-music-overlay .signal-song-label{
    padding:6px 9px!important;
    max-width:76vw!important;
  }
}

/* === ANXIRA 0.7.6.5 EDGE-TO-EDGE MEDIA SIGNAL FIX === */

/*
  Media Signals must never inherit the old boxed/post-media panel treatment.
  The media itself is the visual surface.
*/
.post .post-media.signal-edited-media,
.signal-card .post-media.signal-edited-media,
.post-media.signal-edited-media{
  position:relative!important;
  display:block!important;
  width:auto!important;
  max-width:none!important;
  margin:0 14px 8px!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border-radius:20px!important;
  overflow:hidden!important;
  isolation:isolate!important;
}

/* Remove any pseudo panels/overlays inherited from old post-media styling. */
.post-media.signal-edited-media::before{
  content:none!important;
  display:none!important;
}
.post-media.signal-edited-media::after{
  pointer-events:none!important;
}

/* The first real media element owns the entire card. */
.post-media.signal-edited-media>img:first-child,
.post-media.signal-edited-media>video:first-child{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:20px!important;
  object-fit:cover!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Keep all overlays genuinely inside the media bounds. */
.signal-media-text,
.signal-media-gif,
.signal-post-sticker,
.signal-media-music-overlay{
  position:absolute!important;
}

/* Music label stays inside bottom-left corner of media. */
.signal-media-music-overlay{
  left:12px!important;
  right:auto!important;
  bottom:12px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Prevent older standalone audio styles from leaking into media posts. */
.post-media.signal-edited-media .signal-audio,
.post-media.signal-edited-media .signal-audio-story-style{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Ensure post body surrounding media does not expose an inherited colored panel. */
.post:has(.post-media.signal-edited-media) .signal-body + .post-media.signal-edited-media{
  margin-top:8px!important;
}

/* Mobile keeps the exact same edge-to-edge rule. */
@media(max-width:800px){
  .post .post-media.signal-edited-media,
  .signal-card .post-media.signal-edited-media,
  .post-media.signal-edited-media{
    margin:0 12px 7px!important;
    padding:0!important;
    border-radius:18px!important;
  }
  .post-media.signal-edited-media>img:first-child,
  .post-media.signal-edited-media>video:first-child{
    border-radius:18px!important;
  }
  .signal-media-music-overlay{
    left:10px!important;
    bottom:10px!important;
  }
}

/* === ANXIRA 0.7.6.6 WYSIWYG SIGNAL TEXT === */
.signal-studio-media,
.post-media.signal-edited-media{
  container-type:inline-size!important;
}
.signal-studio-overlay-text,
.signal-media-text{
  position:absolute!important;
  transform:translate(-50%,-50%)!important;
  z-index:10!important;
  display:block!important;
  white-space:pre-wrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  line-height:1.05!important;
  text-shadow:0 2px 12px rgba(0,0,0,.82)!important;
  max-width:82%!important;
  box-sizing:border-box!important;
}
.signal-font-strong{font-family:Arial Black,Impact,sans-serif!important;font-weight:900!important}
.signal-font-clean{font-family:Inter,Segoe UI,Arial,sans-serif!important;font-weight:500!important}
.signal-font-elegant{font-family:Georgia,Times New Roman,serif!important;font-weight:500!important}
.signal-font-script{font-family:cursive!important;font-weight:500!important;font-style:italic!important}
.signal-font-editorial{font-family:Times New Roman,Georgia,serif!important;font-weight:600!important}

/* === ANXIRA 0.7.6.7 EXACT SIGNAL TEXT SCALE FIX === */

/*
  Do not use cqw for posted Signal typography.
  Some mobile/browser combinations resolve container-query units against the wrong
  ancestor, which caused the enormous Script text seen in testing.
  The custom property is a percentage of THIS media element's inline size.
*/
.post-media.signal-edited-media{
  container-type:normal!important;
}
.signal-media-text{
  font-size:clamp(
    14px,
    calc((var(--signal-text-size,5) / 100) * min(92vw,760px)),
    92px
  )!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:center!important;
  white-space:pre-wrap!important;
  line-height:1.05!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

/* Mobile feed should track the actual media card width closely. */
@media(max-width:800px){
  .signal-media-text{
    font-size:clamp(
      13px,
      calc((var(--signal-text-size,5) / 100) * (100vw - 48px)),
      64px
    )!important;
  }
}

/* === ANXIRA 0.7.6.8 LOCKED MANUAL TEXT LINES === */

/* If the creator deliberately inserted line breaks, those lines are composition data. */
.signal-media-text.signal-text-manual-lines{
  white-space:pre!important;
  width:max-content!important;
  max-width:none!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
.signal-media-text.signal-text-auto-wrap{
  white-space:pre-wrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  max-width:86%!important;
}

/* Main Create Signal preview follows the exact same rule. */
.signal-studio-overlay-text{
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}

/* === ANXIRA 0.7.6.9 VISUAL-LINE FREEZE + ARTIST TICKER === */

/* Frozen overlay composition: browser is not allowed to re-wrap saved lines. */
.signal-media-text.signal-text-manual-lines{
  white-space:pre!important;
  width:max-content!important;
  max-width:none!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}

/* Music artist ticker, Facebook-style subtle looping metadata. */
.signal-song-label{
  overflow:hidden!important;
}
.signal-song-artist-ticker{
  position:relative!important;
  display:block!important;
  width:74px!important;
  max-width:74px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)!important;
}
.signal-song-artist-ticker>span{
  display:inline-block!important;
  min-width:max-content!important;
  padding-left:100%!important;
  animation:anxiraArtistTicker 8s linear infinite!important;
  will-change:transform!important;
}
@keyframes anxiraArtistTicker{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media(prefers-reduced-motion:reduce){
  .signal-song-artist-ticker>span{animation:none!important;padding-left:0!important}
}

/* === ANXIRA 0.7.7.0 EXACT POST RENDER + TRUE ARTIST MARQUEE === */

/* JavaScript now sets the exact posted font size from the actual media width.
   Remove all older viewport/container calculations so nothing can enlarge it. */
.signal-media-text{
  font-size:initial!important;
}
.signal-media-text.signal-text-manual-lines{
  white-space:pre!important;
  width:max-content!important;
  max-width:none!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}

/* True continuous artist marquee. */
.signal-song-artist-ticker{
  position:relative!important;
  display:block!important;
  width:92px!important;
  max-width:92px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)!important;
}
.signal-song-artist-track{
  display:flex!important;
  width:max-content!important;
  min-width:max-content!important;
  gap:22px!important;
  padding-left:92px!important;
  animation:anxiraArtistMarquee 5.5s linear infinite!important;
  will-change:transform!important;
}
.signal-song-artist-track>i{
  display:block!important;
  flex:0 0 auto!important;
  font-style:normal!important;
  color:rgba(255,255,255,.76)!important;
  font-size:9px!important;
  white-space:nowrap!important;
}
@keyframes anxiraArtistMarquee{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(calc(-50% - 11px),0,0)}
}
.signal-media-music-overlay .signal-song-artist-track,
.signal-audio-text-only .signal-song-artist-track{
  animation-play-state:running!important;
}
@media(prefers-reduced-motion:no-preference){
  .signal-song-artist-track{animation:anxiraArtistMarquee 5.5s linear infinite!important}
}
@media(prefers-reduced-motion:reduce){
  .signal-song-artist-track{
    animation:none!important;
    transform:none!important;
    padding-left:0!important;
  }
}

/* === ANXIRA 0.7.7.1 CANONICAL MEDIA CANVAS + FULL MUSIC CREDIT MARQUEE === */
/* Create Signal preview uses the media's real aspect ratio; never a short fixed-height box. */
.signal-studio-media{
  min-height:0!important;
  max-height:none!important;
  height:auto!important;
  background:#000!important;
  display:block!important;
}
.signal-studio-media>img:first-child,
.signal-studio-media>video:first-child{
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  margin:0!important;
  object-fit:contain!important;
  display:block!important;
}
.signal-studio-overlay-text{z-index:10!important}
.signal-main-sticker{position:absolute!important;z-index:11!important;line-height:1!important;pointer-events:none!important}
.signal-main-sticker img{max-width:none!important;max-height:none!important;object-fit:contain!important}

/* Posted sticker size is normalized to actual media width. */
.post-media.signal-edited-media{container-type:inline-size!important}
.signal-post-sticker{font-size:calc(var(--signal-sticker-size,10.5) * 1cqw)!important;line-height:1!important}
.signal-post-sticker img{width:calc(var(--signal-sticker-size,10.5) * 1cqw)!important;height:calc(var(--signal-sticker-size,10.5) * 1cqw)!important;max-width:none!important;max-height:none!important;object-fit:contain!important}

/* Whole song credit moves together: title + artist, right -> left, fades at edges, loops. */
.signal-song-label{
  width:min(255px,68vw)!important;
  max-width:min(255px,68vw)!important;
  overflow:hidden!important;
  display:block!important;
  padding:7px 11px!important;
}
.signal-song-credit-viewport{
  display:block!important;
  width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%)!important;
}
.signal-song-credit-track{
  display:flex!important;
  width:max-content!important;
  gap:44px!important;
  padding-left:100%!important;
  animation:anxiraFullMusicCreditMarquee 9s linear infinite!important;
  will-change:transform!important;
}
.signal-song-credit-track>span{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.signal-song-credit-track b{font-size:10px!important;color:#fff!important;font-weight:800!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important}
.signal-song-credit-track small{font-size:9px!important;color:rgba(255,255,255,.72)!important;margin:0!important;display:inline!important}
@keyframes anxiraFullMusicCreditMarquee{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(calc(-50% - 22px),0,0)}
}
@media(max-width:800px){
 .signal-studio-media{max-height:none!important;min-height:0!important}
 .signal-song-label{width:min(235px,72vw)!important;max-width:min(235px,72vw)!important}
}

/* === ANXIRA 0.7.7.2 CANONICAL COMPOSITION OBJECTS === */
.signal-media-editor-text{box-sizing:border-box!important;white-space:pre-wrap!important;overflow-wrap:normal!important;word-break:normal!important;max-width:96%!important}
.signal-text-box-guide{position:absolute;z-index:19;border:1px dashed rgba(255,255,255,.72);border-radius:9px;pointer-events:none;box-shadow:0 0 0 1px rgba(126,68,245,.28)}
.signal-text-box-guide[hidden]{display:none!important}.signal-text-box-guide i{position:absolute;top:50%;width:18px;height:38px;border-radius:10px;background:#fff;border:2px solid #8d52ff;box-shadow:0 2px 10px rgba(0,0,0,.28);transform:translateY(-50%);pointer-events:auto;touch-action:none}.signal-text-box-guide i.left{left:-10px;pointer-events:none;opacity:.45}.signal-text-box-guide i.right{right:-10px;cursor:ew-resize}
.signal-editor-sticker{outline:0 solid transparent;transition:outline-color .12s;transform-origin:center center!important}.signal-editor-sticker.selected{outline:2px dashed rgba(255,255,255,.82);outline-offset:7px}.signal-sticker-resize,.signal-sticker-rotate{display:none;position:absolute!important;z-index:30;width:30px;height:30px;border-radius:50%;border:2px solid #fff;background:#121620;color:#fff;font-size:14px;place-items:center;touch-action:none;box-shadow:0 4px 14px rgba(0,0,0,.35)}.signal-editor-sticker.selected .signal-sticker-resize,.signal-editor-sticker.selected .signal-sticker-rotate{display:grid}.signal-sticker-resize{right:-24px;bottom:-24px}.signal-sticker-rotate{left:50%;top:-38px;transform:translateX(-50%)}
.signal-text-canonical-box{white-space:pre-wrap!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;max-width:96%!important;box-sizing:border-box!important}
.post-media.signal-edited-media{container-type:normal!important}.signal-post-sticker{line-height:1!important}.signal-post-sticker img{max-width:none!important;max-height:none!important;object-fit:contain!important}
/* JS drives the whole song credit; CSS animation intentionally disabled to avoid iOS/reduced-motion conflicts. */
.signal-song-credit-viewport{position:relative!important;display:block!important;width:100%!important;overflow:hidden!important;white-space:nowrap!important;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)!important;mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)!important}
.signal-song-credit-track{position:relative!important;display:inline-flex!important;align-items:center!important;width:max-content!important;min-width:max-content!important;padding:0!important;gap:0!important;animation:none!important;will-change:transform,opacity!important;white-space:nowrap!important}
.signal-song-credit-track b{font-size:10px!important;color:#fff!important;font-weight:800!important;white-space:nowrap!important}.signal-song-credit-track small{font-size:9px!important;color:rgba(255,255,255,.72)!important;white-space:nowrap!important;margin:0!important;display:inline!important}
@media(max-width:800px){.signal-text-box-guide i{width:20px;height:42px}.signal-sticker-resize,.signal-sticker-rotate{width:32px;height:32px}}


/* === ANXIRA 0.7.7.3 PWA INSTALL + PUSH ONBOARDING === */
.anxira-pwa-banner{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:2400;width:min(94vw,520px);display:grid;grid-template-columns:48px minmax(0,1fr) auto 30px;align-items:center;gap:10px;padding:10px 10px 10px 12px;border-radius:18px;background:rgba(14,17,28,.96);border:1px solid rgba(147,92,255,.34);box-shadow:0 18px 55px rgba(0,0,0,.42),0 0 24px rgba(117,67,236,.13);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#fff}
.anxira-pwa-banner>img{width:46px;height:46px;border-radius:13px;object-fit:cover}.anxira-pwa-banner span{min-width:0}.anxira-pwa-banner b,.anxira-pwa-banner small{display:block}.anxira-pwa-banner b{font-size:12px}.anxira-pwa-banner small{font-size:8.5px;color:#aeb5c7;line-height:1.35;margin-top:3px}.anxira-pwa-primary{border:0;border-radius:11px;background:linear-gradient(135deg,#8e47ff,#6426df);color:#fff;font-weight:850;font-size:10px;padding:10px 13px}.anxira-pwa-close{border:0;background:transparent;color:#9ca4b7;font-size:20px;padding:3px}
@media(min-width:801px){.anxira-pwa-banner{bottom:24px}}


/* === ANXIRA 0.7.7.4 PULSE CLIPS === */
.signal-clip-modal{position:fixed;inset:0;z-index:1980;background:rgba(3,5,11,.72);display:grid;place-items:end center;opacity:0;transition:.16s;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.signal-clip-modal.open{opacity:1}.signal-clip-modal[hidden]{display:none!important}.signal-clip-sheet{width:min(760px,100%);max-height:min(82dvh,760px);overflow:auto;border-radius:24px 24px 0 0;background:var(--surface);color:var(--text);border:1px solid var(--line);box-shadow:0 -20px 60px rgba(0,0,0,.28);padding:14px 16px calc(18px + env(safe-area-inset-bottom))}
.signal-clip-sheet>header{display:grid;grid-template-columns:46px 1fr 46px;align-items:center;padding:4px 0 14px}.signal-clip-sheet>header button{width:42px;height:42px;border:0;border-radius:50%;background:var(--surface2);color:var(--text);font-size:24px}.signal-clip-sheet>header div{text-align:center}.signal-clip-sheet>header span{display:block;font-size:8px;letter-spacing:.18em;color:var(--purple);font-weight:900}.signal-clip-sheet>header h2{font-size:17px;margin:3px 0 0}
.signal-clip-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid var(--line);background:var(--surface2);border-radius:16px;padding:6px 7px 6px 12px}.signal-clip-search>span{font-size:18px;color:var(--muted)}.signal-clip-search input{min-width:0;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:13px}.signal-clip-search button{border:0;border-radius:11px;background:var(--purple);color:#fff;padding:10px 14px;font-weight:800}.signal-clip-search button:disabled{opacity:.55}
.signal-clip-note,.signal-clip-status{font-size:10px;color:var(--muted);line-height:1.45}.signal-clip-note{margin:10px 3px 6px}.signal-clip-status{padding:7px 3px 10px}
.signal-clip-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.signal-clip-result{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:16px;padding:0;overflow:hidden;text-align:left}.signal-clip-result-thumb{display:block;position:relative;aspect-ratio:16/9;background:#080a10}.signal-clip-result-thumb img{width:100%;height:100%;object-fit:cover;display:block}.signal-clip-result-thumb i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(10,12,20,.74);color:#fff;font-style:normal;font-size:17px;box-shadow:0 6px 20px rgba(0,0,0,.28)}.signal-clip-result>span:last-child{display:block;padding:9px 10px 11px}.signal-clip-result b,.signal-clip-result small{display:block}.signal-clip-result b{font-size:11px;line-height:1.3}.signal-clip-result small{font-size:9px;color:var(--muted);margin-top:4px}
.signal-studio-clip-preview{margin:8px 18px;border:1px solid var(--line);background:var(--surface2);border-radius:16px;padding:8px;display:grid;grid-template-columns:92px minmax(0,1fr) 34px;gap:10px;align-items:center}.signal-studio-clip-preview[hidden]{display:none!important}.signal-clip-thumb{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#070910}.signal-clip-thumb img{width:100%;height:100%;object-fit:cover}.signal-clip-thumb span{position:absolute;inset:0;display:grid;place-items:center;color:#fff;text-shadow:0 2px 8px #000}.signal-studio-clip-preview>div:nth-child(2){min-width:0}.signal-studio-clip-preview small,.signal-studio-clip-preview b,.signal-studio-clip-preview>div:nth-child(2)>span{display:block}.signal-studio-clip-preview small{font-size:7px;letter-spacing:.1em;color:var(--purple);font-weight:900}.signal-studio-clip-preview b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.signal-studio-clip-preview>div:nth-child(2)>span{font-size:9px;color:var(--muted);margin-top:3px}.signal-studio-clip-preview>button{width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:20px}
.pulse-clip-card{margin:8px 14px 10px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface2)}.pulse-clip-poster{position:relative;display:block;width:100%;padding:0;border:0;background:#05070b;aspect-ratio:16/9;cursor:pointer}.pulse-clip-poster>img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;margin:0!important;border-radius:0!important}.pulse-clip-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:62px;height:62px;border-radius:50%;display:grid;place-items:center;padding-left:4px;background:rgba(8,10,17,.72);color:#fff;font-size:25px;border:1px solid rgba(255,255,255,.28);box-shadow:0 10px 30px rgba(0,0,0,.35);backdrop-filter:blur(8px)}.pulse-clip-badge{position:absolute;left:10px;top:10px;border-radius:999px;background:rgba(8,10,17,.72);color:#fff;border:1px solid rgba(255,255,255,.2);font-size:7px;font-weight:900;letter-spacing:.13em;padding:6px 8px;backdrop-filter:blur(8px)}.pulse-clip-info{padding:9px 11px 11px}.pulse-clip-info small,.pulse-clip-info b,.pulse-clip-info span{display:block}.pulse-clip-info small{font-size:7px;color:var(--purple);font-weight:900;letter-spacing:.1em}.pulse-clip-info b{font-size:12px;line-height:1.35;margin-top:3px}.pulse-clip-info span{font-size:9px;color:var(--muted);margin-top:3px}.pulse-clip-player{position:relative;aspect-ratio:16/9;background:#000}.pulse-clip-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:800px){.signal-clip-sheet{max-height:88dvh}.signal-clip-results{grid-template-columns:1fr}.signal-studio-clip-preview{margin-left:12px;margin-right:12px}.pulse-clip-card{margin-left:12px;margin-right:12px}.pulse-clip-play{width:54px;height:54px;font-size:21px}}

/* === ANXIRA 0.7.7.4.1 CREATE ENTRY + PULSE CLIP HOTFIX === */
.composer-tools .composer-pulse-clip{
  color:#cdafff!important;
  border-color:rgba(145,83,255,.42)!important;
  background:linear-gradient(135deg,rgba(116,58,232,.12),rgba(47,194,255,.06))!important;
  font-weight:800!important;
}
@media(max-width:800px){
  .composer-tools .composer-pulse-clip{display:inline-flex!important}
}

/* === ANXIRA 0.7.7.5 PULSE ORCHESTRATOR + PEOPLE YOU MAY KNOW === */
.pulse-module{margin:0 0 14px;overflow:hidden;position:relative}
.pulse-module-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 16px 10px}
.pulse-module-head>div:first-child{min-width:0}.pulse-module-kicker{display:block;font-size:8px;font-weight:900;letter-spacing:.14em;color:var(--purple);margin-bottom:4px}.pulse-module-head strong{display:block;font-size:15px;color:var(--text)}.pulse-module-head small{display:block;margin-top:3px;font-size:9px;color:var(--muted)}
.pulse-module-actions{display:flex;gap:5px;flex:0 0 auto}.pulse-module-actions button{width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:var(--surface2);color:var(--text);font-size:17px;display:grid;place-items:center}.pulse-module-actions [data-pulse-module-dismiss]{font-size:14px;color:var(--muted)}
.pulse-people-strip{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 16px 16px;scrollbar-width:none;overscroll-behavior-inline:contain}.pulse-people-strip::-webkit-scrollbar{display:none}
.pulse-person-card{flex:0 0 162px;scroll-snap-align:start;border:1px solid var(--line);border-radius:17px;background:linear-gradient(180deg,var(--surface2),var(--surface));overflow:hidden;padding:12px;display:flex;flex-direction:column;min-height:212px;box-shadow:0 8px 25px rgba(20,12,52,.08)}
.pulse-person-profile{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;text-align:center;color:var(--text);text-decoration:none}.pulse-person-avatar{width:82px;height:82px;position:relative;display:block;margin:2px auto 10px}.pulse-person-avatar img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover;border:3px solid var(--surface);box-shadow:0 0 0 2px rgba(126,68,245,.6),0 8px 24px rgba(63,38,125,.2)}.pulse-person-avatar i{position:absolute;right:3px;bottom:6px;width:13px;height:13px;border-radius:50%;background:#29cf72;border:3px solid var(--surface)}
.pulse-person-profile>b{font-size:11px;line-height:1.25;max-width:100%;display:flex;align-items:center;justify-content:center;gap:3px}.pulse-person-profile>b .verified-badge{width:13px;height:13px}.pulse-person-profile>small{font-size:8px;color:var(--muted);margin-top:5px;line-height:1.3;min-height:21px}
.pulse-add-friend{margin-top:10px;width:100%;height:35px;border:0;border-radius:11px;background:linear-gradient(135deg,#7138ff,#9e4eff);color:#fff;font-size:9px;font-weight:850;box-shadow:0 6px 16px rgba(118,57,245,.22)}.pulse-add-friend span{font-size:14px;vertical-align:-1px;margin-right:2px}.pulse-add-friend.pending{background:var(--surface2);border:1px solid var(--line);box-shadow:none;color:var(--muted)}.pulse-add-friend:disabled{opacity:.75}
.pulse-module.is-dismissed{display:none!important}
@media(max-width:800px){
 .pulse-module{margin-bottom:13px;border-radius:18px!important}.pulse-module-head{padding:14px 13px 9px}.pulse-module-head strong{font-size:14px}.pulse-module-head small{font-size:8px}.pulse-module-actions [data-pulse-people-prev],.pulse-module-actions [data-pulse-people-next]{display:none}.pulse-people-strip{padding:4px 13px 14px;gap:9px}.pulse-person-card{flex-basis:148px;min-height:202px;padding:11px}.pulse-person-avatar{width:76px;height:76px}.pulse-add-friend{height:34px}
}

/* === ANXIRA 0.7.7.6 QUICK PULSE + ACTIVITIES + REQUEST CANCEL === */
.pulse-add-friend.pending{background:rgba(139,92,246,.10)!important;border-color:rgba(154,92,255,.42)!important;color:#bca1ff!important}
.pulse-add-friend.pending:hover{background:rgba(231,76,100,.11)!important;border-color:rgba(231,76,100,.38)!important;color:#ff9baa!important}
.pulse-poll-module,.pulse-activity-module{margin:14px 0!important;padding:18px!important;overflow:hidden!important}
.pulse-poll-options{display:grid;gap:9px;margin-top:15px}
.pulse-poll-option{position:relative;overflow:hidden;width:100%;min-height:48px;border:1px solid var(--line);border-radius:15px;background:var(--surface2);color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;text-align:left}
.pulse-poll-option:hover,.pulse-poll-option.selected{border-color:#9458ff}
.pulse-poll-fill{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,rgba(116,55,244,.20),rgba(53,204,255,.10));pointer-events:none;transition:width .3s ease}
.pulse-poll-label,.pulse-poll-percent{position:relative;z-index:1}.pulse-poll-label{display:flex;gap:8px;align-items:center;font-size:13px}.pulse-poll-percent{font-size:11px;color:var(--muted);font-weight:800}.pulse-poll-option.selected .pulse-poll-percent{color:#a878ff}
.pulse-poll-module>footer,.pulse-activity-module>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:11px;font-size:10px;color:var(--muted)}
.pulse-activity-module{display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;align-items:center;background:linear-gradient(135deg,var(--surface),rgba(116,55,244,.08))!important}
.pulse-activity-orb{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#6631ef,#b55cff);color:#fff;font-size:24px;box-shadow:0 10px 28px rgba(104,48,237,.28)}
.pulse-activity-copy strong,.pulse-activity-copy small{display:block}.pulse-activity-copy strong{font-size:15px;margin-top:3px}.pulse-activity-copy small{font-size:10px;color:var(--muted);margin-top:4px}
.pulse-activity-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pulse-activity-options button{min-height:72px;border:1px solid var(--line);border-radius:16px;background:var(--surface2);color:var(--text);display:grid;place-items:center;align-content:center;gap:5px}.pulse-activity-options button span{font-size:24px}.pulse-activity-options button b{font-size:11px}.pulse-activity-options button.selected{border-color:#9a5cff;box-shadow:0 0 0 2px rgba(154,92,255,.12)}
.pulse-activity-module>footer{grid-column:1/-1}.pulse-activity-module>footer button{border:0;background:transparent;color:var(--muted);font-size:10px}
@media(max-width:800px){.pulse-poll-module,.pulse-activity-module{margin:12px 0!important;padding:15px!important;border-radius:18px!important}.pulse-poll-option{min-height:50px}.pulse-activity-options button{min-height:68px}}


/* === ANXIRA 0.7.7.7 PULSE VIDEO ICON + MISSIONS === */
.anxira-inline-play-icon,.pulse-clip-play,.signal-clip-result-thumb i,.signal-clip-thumb span{
  position:relative;display:grid;place-items:center;color:transparent!important;
  background:radial-gradient(circle at 30% 30%,rgba(224,208,255,.45),rgba(224,208,255,0) 35%),linear-gradient(135deg,#6f34ff 0%,#8a42ff 45%,#5b7cff 100%);
  border:1px solid rgba(255,255,255,.24);box-shadow:0 10px 28px rgba(85,56,255,.26),inset 0 0 0 1px rgba(255,255,255,.08);
  overflow:hidden
}
.anxira-inline-play-icon::before,.pulse-clip-play::before,.signal-clip-result-thumb i::before,.signal-clip-thumb span::before{
  content:'';width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:15px solid #fff;transform:translateX(2px);filter:drop-shadow(0 1px 2px rgba(0,0,0,.16));
}
.anxira-inline-play-icon{width:22px;height:22px;border-radius:50%;flex:0 0 auto;box-shadow:0 8px 20px rgba(85,56,255,.24),inset 0 0 0 1px rgba(255,255,255,.08)}
.anxira-inline-play-icon::before{border-top-width:5px;border-bottom-width:5px;border-left-width:8px;transform:translateX(1px)}
.composer-tools .composer-pulse-clip{display:inline-flex!important;align-items:center;gap:8px;color:#7f45ff;font-weight:800}
.signal-clip-result-thumb i{width:46px;height:46px;border-radius:50%}
.signal-clip-result-thumb i::before{border-top-width:7px;border-bottom-width:7px;border-left-width:12px}
.signal-clip-thumb span{position:absolute;right:8px;bottom:8px;left:auto;top:auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;text-shadow:none}
.signal-clip-thumb span::before{border-top-width:5px;border-bottom-width:5px;border-left-width:8px}
.pulse-clip-play{width:64px;height:64px;border-radius:50%;backdrop-filter:none!important}
.pulse-clip-play::before{border-top-width:9px;border-bottom-width:9px;border-left-width:15px}
.pulse-clip-poster:hover .pulse-clip-play{transform:translate(-50%,-50%) scale(1.04)}
@media(max-width:800px){.pulse-clip-play{width:56px;height:56px}.pulse-clip-play::before{border-top-width:8px;border-bottom-width:8px;border-left-width:13px}}

/* === ANXIRA 0.8.1.10.15 universal text, safe Story viewer and Pulse identity === */
.story-text-layer{width:72%;max-width:94%!important;box-sizing:border-box!important;white-space:pre-wrap!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;transform-origin:center center!important}
.story-text-box-guide{position:absolute;z-index:18;border:1px dashed rgba(255,255,255,.76);border-radius:9px;pointer-events:none;box-shadow:0 0 0 1px rgba(126,68,245,.30)}
.story-text-box-guide[hidden]{display:none!important}
.story-text-box-guide i{position:absolute;top:50%;width:20px;height:42px;border-radius:10px;background:#fff;border:2px solid #8d52ff;box-shadow:0 2px 10px rgba(0,0,0,.28);transform:translateY(-50%);pointer-events:auto;touch-action:none;cursor:ew-resize}
.story-text-box-guide i.left{left:-11px}.story-text-box-guide i.right{right:-11px}
[data-profile-story-avatar],[data-profile-story-avatar] img,[data-profile-avatar-image]{-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important;touch-action:manipulation!important}
.signal-effect-replay{left:50%!important;right:auto!important;bottom:14px!important;transform:translateX(-50%)!important;min-height:34px!important;padding:4px 10px 4px 5px!important;gap:6px!important}
.signal-effect-replay span{width:25px!important;height:25px!important}.signal-effect-replay b{font-size:9px!important}
/* The Pulse play mark intentionally sits slightly above and right of optical center. */
.anxira-inline-play-icon::before,.pulse-clip-play::before,.signal-clip-result-thumb i::before,.signal-clip-thumb span::before{transform:translate(2px,-3px)!important}
.anxira-inline-play-icon,.pulse-clip-play,.signal-clip-result-thumb i,.signal-clip-thumb span{background:radial-gradient(circle at 32% 25%,rgba(255,255,255,.38),transparent 30%),linear-gradient(145deg,#9a4cff 0%,#7336f6 52%,#5968ec 100%)!important;box-shadow:0 7px 20px rgba(85,43,225,.38),inset 0 0 0 1px rgba(255,255,255,.20),inset 0 -8px 14px rgba(44,23,135,.18)!important}
@media(max-width:800px){
 .profile-story-quick-modal{position:fixed!important;inset:0!important;padding:0!important;margin:0!important;display:block!important;background:#05070d!important;z-index:2500!important;overflow:hidden!important}
 .profile-story-quick-modal:not(.open){display:none!important}
 .profile-story-quick-viewer{position:absolute!important;inset:0!important;width:100%!important;height:100dvh!important;min-height:100svh!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;transform:none!important}
 .profile-story-quick-progress{top:max(10px,env(safe-area-inset-top))!important;left:14px!important;right:14px!important}
 .profile-story-quick-viewer>header{top:calc(max(10px,env(safe-area-inset-top)) + 18px)!important;left:14px!important;right:66px!important}
 .profile-story-quick-viewer>.close-modal{position:absolute!important;top:calc(max(10px,env(safe-area-inset-top)) + 12px)!important;right:max(12px,env(safe-area-inset-right))!important;width:44px!important;height:44px!important;display:grid!important;place-items:center!important}
 .profile-story-quick-media{inset:0!important;width:100%!important;height:100%!important}
 .profile-story-quick-media>img,.profile-story-quick-media>video{width:100%!important;height:100%!important;object-fit:contain!important;background:#05070d!important;-webkit-touch-callout:none!important;user-select:none!important}
 .signal-effect-replay{bottom:10px!important;min-height:32px!important}
}
.pulse-mission-module{margin:14px 0!important;padding:18px!important}
.pulse-mission-body{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
.pulse-mission-badge{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#4420b8,#8b44ff 65%,#36d9ff);display:grid;place-items:center;color:#fff;font-size:28px;box-shadow:0 14px 32px rgba(98,55,238,.26)}
.pulse-mission-copy p{margin:6px 0 0;font-size:13px;line-height:1.45;color:var(--text)}
.pulse-mission-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;font-size:10px;color:var(--muted)}
.pulse-mission-join{min-width:126px;height:42px;border-radius:999px;border:1px solid rgba(138,68,255,.3);background:linear-gradient(135deg,rgba(111,52,255,.14),rgba(53,217,255,.09));color:#7d42ff;font-weight:900;letter-spacing:.02em;padding:0 16px}
.pulse-mission-join.joined{background:linear-gradient(135deg,#6f34ff,#8a42ff);color:#fff;border-color:transparent;box-shadow:0 12px 24px rgba(107,56,255,.24)}
.pulse-mission-join:disabled{opacity:.7}
@media(max-width:800px){.pulse-mission-module{margin:12px 0!important;padding:15px!important;border-radius:18px!important}.pulse-mission-body{grid-template-columns:auto 1fr;align-items:start}.pulse-mission-join{grid-column:1/-1;width:100%}.pulse-mission-badge{width:52px;height:52px;border-radius:18px;font-size:25px}}


/* === ANXIRA 0.7.7.8 OFFICIAL BOT LABELS + NETWORK RADAR === */
.anxira-bot-badge{display:inline-flex;align-items:center;vertical-align:middle;margin-left:5px;padding:3px 6px;border-radius:999px;background:linear-gradient(135deg,#6b35f4,#9548ff);color:#fff!important;font-size:6.5px!important;line-height:1!important;font-weight:950!important;letter-spacing:.09em;box-shadow:0 5px 14px rgba(107,53,244,.18)}
.signal-studio-pulse-clip{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.pulse-trending-module{margin:14px 0!important;padding:18px!important;transition:box-shadow .25s ease,transform .25s ease}
.pulse-module-highlight{box-shadow:0 0 0 2px rgba(133,67,255,.35),0 18px 50px rgba(88,48,217,.18)!important;transform:translateY(-2px)}
.pulse-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
.pulse-trend-chip{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:54px;padding:8px 12px;border:1px solid var(--line);border-radius:15px;background:var(--surface2);color:var(--text);text-align:left}
.pulse-trend-chip:hover{border-color:rgba(132,68,255,.5);background:linear-gradient(135deg,var(--surface2),rgba(128,64,255,.08))}
.pulse-trend-chip>span{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:rgba(127,68,255,.11);color:#8650f7;font-size:9px;font-weight:950}
.pulse-trend-chip b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pulse-trend-chip small{font-size:8px;color:var(--muted);white-space:nowrap}
.trend-list li button{width:100%;border:0;background:transparent;color:inherit;text-align:left;padding:0;cursor:pointer}.trend-list li button b,.trend-list li button span{display:block}
@media(max-width:800px){.pulse-trending-module{margin:12px 0!important;padding:15px!important;border-radius:18px!important}.pulse-trend-grid{grid-template-columns:1fr}.pulse-trend-chip{min-height:52px}}


/* === ANXIRA 0.7.7.9 SIGNAL CHAINS + CAUGHT-UP BOUNDARY === */
.signal-chain-origin{margin:0 14px 8px;padding:10px 12px;border:1px solid rgba(130,75,255,.20);border-left:3px solid #824bff;border-radius:12px;background:linear-gradient(90deg,rgba(126,68,245,.08),transparent);display:flex;gap:10px;align-items:flex-start}
.signal-chain-origin>span{width:28px;height:28px;border-radius:10px;background:linear-gradient(135deg,#6734ef,#a24cff);color:#fff;display:grid;place-items:center;flex:0 0 auto;font-weight:900}.signal-chain-origin div{min-width:0}.signal-chain-origin small{display:block;font-size:7px;letter-spacing:.12em;color:var(--purple);font-weight:900}.signal-chain-origin a{display:inline-block;margin-top:2px;color:var(--text);font-size:11px;font-weight:800;text-decoration:none}.signal-chain-origin p{margin:2px 0 0;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chain-meta-button{border:0;background:transparent;color:var(--purple);padding:0;font:inherit;cursor:pointer}.chain-meta-button b{font-weight:900}
.post-actions [data-continue-signal]{color:var(--purple)}
.signal-chain-panel{margin:0 14px 10px;border:1px solid rgba(129,73,255,.22);border-radius:16px;background:var(--surface2);overflow:hidden;opacity:0;transform:translateY(-4px);transition:.16s ease}.signal-chain-panel.open{opacity:1;transform:none}.signal-chain-panel[hidden]{display:none!important}
.signal-chain-panel-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line)}.signal-chain-panel-head>div{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center}.signal-chain-panel-head>div>span{grid-row:1/3;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(126,68,245,.12);color:var(--purple)}.signal-chain-panel-head strong{font-size:11px}.signal-chain-panel-head small{font-size:8px;color:var(--muted)}.signal-chain-panel-head>button{border:0;background:transparent;color:var(--muted);font-size:20px}
.signal-chain-list{display:grid}.signal-chain-item{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 12px;text-decoration:none;color:var(--text);border-bottom:1px solid var(--line)}.signal-chain-item:last-child{border-bottom:0}.signal-chain-item>img{width:36px;height:36px;border-radius:50%;object-fit:cover}.signal-chain-item strong{font-size:10px}.signal-chain-item p{margin:2px 0;color:var(--text);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.signal-chain-item small{font-size:8px;color:var(--muted)}.signal-chain-item>span{color:var(--purple);font-size:20px}
.signal-chain-compose-context{margin:8px 18px 0;padding:9px 11px;border-radius:13px;border:1px solid rgba(129,73,255,.24);background:linear-gradient(90deg,rgba(126,68,245,.10),rgba(126,68,245,.03));display:grid;grid-template-columns:30px minmax(0,1fr) 28px;gap:9px;align-items:center}.signal-chain-compose-context[hidden]{display:none!important}.signal-chain-compose-context>span{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#6935ef,#a44cff);color:#fff;display:grid;place-items:center}.signal-chain-compose-context small,.signal-chain-compose-context b{display:block}.signal-chain-compose-context small{font-size:7px;letter-spacing:.12em;color:var(--purple);font-weight:900}.signal-chain-compose-context b{font-size:10px;margin-top:2px}.signal-chain-compose-context>button{border:0;background:transparent;color:var(--muted);font-size:20px}
.pulse-caught-up{margin:18px 0 24px;padding:18px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;border-style:dashed!important}.pulse-caught-symbol{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#6533eb,#9649ff);color:#fff;font-size:21px;box-shadow:0 12px 28px rgba(103,53,235,.22)}.pulse-caught-up span{display:block;font-size:7px;letter-spacing:.14em;color:var(--purple);font-weight:900}.pulse-caught-up strong{display:block;font-size:15px;margin-top:2px}.pulse-caught-up p{margin:3px 0 0;font-size:10px;color:var(--muted);line-height:1.4}.pulse-caught-up>button{height:38px;border-radius:999px;border:1px solid rgba(128,72,255,.25);background:rgba(126,68,245,.08);color:var(--purple);font-weight:800;padding:0 14px}
@media(max-width:800px){.post-actions{flex-wrap:wrap}.post-actions>button,.post-actions>.react-wrap{min-width:calc(33.333% - 5px)}.signal-chain-origin{margin-left:12px;margin-right:12px}.signal-chain-panel{margin-left:12px;margin-right:12px}.pulse-caught-up{margin:14px 0 20px;padding:15px;grid-template-columns:auto 1fr}.pulse-caught-up>button{grid-column:1/-1;width:100%}.pulse-caught-symbol{width:44px;height:44px}}


/* === ANXIRA 0.7.8.0 PULSE PLAY V2 + DISCOVERY SPOTLIGHT === */
.pulse-trivia-module,.pulse-spotlight-module{margin:14px 0!important;padding:18px!important;overflow:hidden!important}
.pulse-trivia-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.pulse-trivia-option{min-height:66px;border:1px solid var(--line);border-radius:16px;background:var(--surface2);color:var(--text);display:flex;align-items:center;gap:10px;padding:12px;text-align:left;transition:.18s ease}
.pulse-trivia-option span{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:rgba(123,74,255,.10);font-size:18px}.pulse-trivia-option b{font-size:12px;line-height:1.25}
.pulse-trivia-option:hover{border-color:rgba(133,79,255,.48);transform:translateY(-1px)}
.pulse-trivia-option.correct{border-color:rgba(64,190,130,.75);box-shadow:inset 0 0 0 1px rgba(64,190,130,.18)}
.pulse-trivia-option.wrong{border-color:rgba(231,76,100,.72);box-shadow:inset 0 0 0 1px rgba(231,76,100,.15)}
.pulse-trivia-result{margin-top:11px;padding:11px 13px;border-radius:14px;background:rgba(126,78,255,.08);font-size:11px;color:var(--muted)}.pulse-trivia-result[hidden]{display:none!important}.pulse-trivia-result b,.pulse-trivia-result span{display:block}.pulse-trivia-result b{font-size:12px;color:var(--text);margin-bottom:3px}.pulse-trivia-result.correct b{color:#3fbe82}
.pulse-spotlight-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:14px;text-decoration:none;color:var(--text);margin-top:13px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:linear-gradient(135deg,var(--surface2),rgba(125,67,255,.07))}
.pulse-spotlight-media{position:relative;min-height:112px;background:#090b12;overflow:hidden}.pulse-spotlight-media>img{width:100%;height:100%;object-fit:cover;display:block}.pulse-spotlight-text{width:100%;height:100%;min-height:112px;display:grid;place-items:center;font-size:38px;color:#fff;background:linear-gradient(135deg,#5d2bd1,#823eff,#36c8ff)}
.pulse-spotlight-play{width:48px!important;height:48px!important}.pulse-spotlight-play::before{border-top-width:7px!important;border-bottom-width:7px!important;border-left-width:12px!important}
.pulse-spotlight-copy{align-self:center;padding:12px 14px 12px 0;min-width:0}.pulse-spotlight-copy small,.pulse-spotlight-copy b,.pulse-spotlight-copy span{display:block}.pulse-spotlight-copy small{font-size:8px;color:var(--purple);font-weight:900;letter-spacing:.08em}.pulse-spotlight-copy b{font-size:13px;line-height:1.38;margin-top:5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pulse-spotlight-copy span{font-size:10px;color:var(--muted);margin-top:8px;font-weight:800}
@media(max-width:800px){.pulse-trivia-module,.pulse-spotlight-module{margin:12px 0!important;padding:15px!important;border-radius:18px!important}.pulse-trivia-options{grid-template-columns:1fr}.pulse-spotlight-card{grid-template-columns:112px minmax(0,1fr)}.pulse-spotlight-media{min-height:104px}.pulse-spotlight-copy{padding:10px 10px 10px 0}}


/* === ANXIRA 0.7.8.1 PROFILE CHAIN CONTEXT + PRESENCE + PULSE GAME LAB === */
.profile-live-presence{display:inline-flex;align-items:center;gap:6px;margin-top:5px;font-size:10px;font-weight:800;color:var(--muted)}
.profile-live-presence i{width:7px;height:7px;border-radius:50%;background:#9aa0ad;box-shadow:0 0 0 3px rgba(154,160,173,.10)}
.profile-live-presence.online{color:#22b778}.profile-live-presence.online i{background:#26d981;box-shadow:0 0 0 3px rgba(38,217,129,.13),0 0 10px rgba(38,217,129,.35)}
.profile-v05-avatar .profile-presence-dot{position:absolute!important;right:7px!important;bottom:9px!important;width:15px!important;height:15px!important;border:3px solid var(--surface)!important;border-radius:50%!important;background:#26d981!important;z-index:8!important}
.profile-chain-context{margin:10px 14px 4px;padding:11px 12px;border:1px solid rgba(132,77,255,.23);border-radius:14px;background:linear-gradient(135deg,rgba(114,57,245,.08),rgba(65,205,255,.035));display:flex;gap:10px;align-items:flex-start}
.profile-chain-glyph{width:30px;height:30px;flex:0 0 30px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#6936ed,#9651ff);color:#fff;font-size:17px;box-shadow:0 8px 18px rgba(107,55,235,.22)}
.profile-chain-context>div{min-width:0}.profile-chain-context small{display:block;font-size:7px;letter-spacing:.13em;font-weight:900;color:var(--purple)}.profile-chain-context a{font-weight:850;color:var(--text);text-decoration:none;font-size:12px}.profile-chain-context p{margin:4px 0 3px;font-size:10px;line-height:1.4;color:var(--muted)}.profile-chain-context .profile-chain-view{font-size:9px;color:var(--purple)}
.profile-chain-child-count{display:inline-flex;margin:0 14px 8px;padding:7px 10px;border-radius:999px;background:rgba(119,66,245,.08);color:var(--purple);font-size:9px;font-weight:850;text-decoration:none}
.pulse-activity-options button{position:relative}.pulse-activity-percent{font-style:normal;font-size:9px;color:var(--muted);font-weight:900;opacity:.9}.pulse-activity-options button.selected .pulse-activity-percent{color:#9a62ff}
.pulse-game-module{margin:14px 0!important;padding:18px!important;overflow:hidden!important;background:linear-gradient(145deg,var(--surface),rgba(116,55,244,.065))!important}
.pulse-game-stage{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:14px;align-items:stretch;margin-top:14px}.pulse-reflex-pad{min-height:132px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,var(--surface2),rgba(116,55,244,.05));color:var(--text);display:grid;place-items:center;align-content:center;gap:5px;transition:transform .12s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease}.pulse-reflex-pad:active{transform:scale(.99)}.pulse-reflex-core{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:rgba(124,76,255,.10);color:#8b52ff;font-size:20px}.pulse-reflex-pad b{font-size:17px}.pulse-reflex-pad small{font-size:9px;color:var(--muted)}
.pulse-reflex-pad.waiting{background:linear-gradient(145deg,#191b24,#232632);border-color:#35394a}.pulse-reflex-pad.waiting .pulse-reflex-core{background:rgba(255,255,255,.06);color:#8b8f9b}.pulse-reflex-pad.live{background:radial-gradient(circle at 50% 35%,rgba(202,174,255,.34),transparent 34%),linear-gradient(135deg,#5325d2,#8c43ff 62%,#4e72ff);border-color:rgba(255,255,255,.34);color:#fff;box-shadow:0 18px 42px rgba(91,47,224,.28)}.pulse-reflex-pad.live .pulse-reflex-core{background:#fff;color:#7040ef;box-shadow:0 0 22px rgba(255,255,255,.35)}.pulse-reflex-pad.live small{color:rgba(255,255,255,.82)}.pulse-reflex-pad.too-soon{border-color:#ec6a7b;background:rgba(236,106,123,.08)}
.pulse-game-stats{display:grid;grid-template-rows:1fr 1fr;gap:9px}.pulse-game-stats>span{border:1px solid var(--line);border-radius:17px;background:var(--surface2);display:grid;place-items:center;align-content:center;padding:12px;text-align:center}.pulse-game-stats small{font-size:7px;letter-spacing:.12em;color:var(--muted);font-weight:900}.pulse-game-stats b{font-size:17px;margin-top:5px;color:var(--text)}.pulse-game-module>footer{display:flex;justify-content:space-between;gap:10px;margin-top:10px;font-size:9px;color:var(--muted)}
@media(max-width:800px){.profile-live-presence{margin-top:4px}.profile-chain-context{margin-left:12px;margin-right:12px}.pulse-game-module{margin:12px 0!important;padding:15px!important;border-radius:18px!important}.pulse-game-stage{grid-template-columns:1fr}.pulse-game-stats{grid-template-columns:1fr 1fr;grid-template-rows:auto}.pulse-game-stats>span{min-height:68px}.pulse-reflex-pad{min-height:150px}.pulse-game-module>footer{font-size:8px}}


/* === ANXIRA 0.7.8.2 GAME HUB + DAILY CHALLENGE + SPOTLIGHT V2 === */
.pulse-game-hub-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr);gap:12px;margin-top:14px}.pulse-game-main-card,.pulse-daily-card{border:1px solid var(--line);border-radius:20px;background:var(--surface2);padding:14px}.pulse-game-title{display:flex;align-items:center;gap:10px;margin-bottom:10px}.pulse-game-title>span{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#6832ef,#974aff);color:#fff;font-size:19px;box-shadow:0 8px 20px rgba(112,57,239,.25)}.pulse-game-title b,.pulse-game-title small{display:block}.pulse-game-title b{font-size:13px}.pulse-game-title small{font-size:9px;color:var(--muted);margin-top:2px}.pulse-game-hub .pulse-game-stage{margin-top:0}.pulse-daily-card{display:flex;flex-direction:column;justify-content:center;background:linear-gradient(150deg,var(--surface2),rgba(119,61,246,.10))}.pulse-daily-kicker{font-size:7px;letter-spacing:.14em;color:var(--purple);font-weight:900}.pulse-daily-card>strong{font-size:16px;margin-top:6px}.pulse-daily-card>p{font-size:10px;color:var(--muted);line-height:1.45;margin:7px 0 14px}.pulse-daily-card>div{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--muted)}.pulse-daily-card>div b{color:#8b4cff}.pulse-daily-card.complete{border-color:rgba(119,207,138,.35);background:linear-gradient(150deg,var(--surface2),rgba(82,196,115,.09))}.pulse-daily-card.complete>div b{color:#48b86c}.pulse-friend-challenge{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,220px) auto;gap:10px;align-items:center;margin-top:12px;border:1px solid var(--line);border-radius:18px;padding:12px 14px;background:linear-gradient(135deg,var(--surface2),rgba(54,200,255,.045))}.pulse-friend-challenge>div span,.pulse-friend-challenge>div strong,.pulse-friend-challenge>div small{display:block}.pulse-friend-challenge>div span{font-size:7px;letter-spacing:.12em;color:var(--purple);font-weight:900}.pulse-friend-challenge>div strong{font-size:12px;margin-top:3px}.pulse-friend-challenge>div small{font-size:9px;color:var(--muted);margin-top:3px}.pulse-friend-challenge select{height:38px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);padding:0 10px;font-size:10px}.pulse-friend-challenge>button{height:38px;border:0;border-radius:12px;background:linear-gradient(135deg,#6d35f2,#964aff);color:#fff;font-weight:900;padding:0 15px;box-shadow:0 8px 18px rgba(108,54,240,.22)}.pulse-friend-challenge>button:disabled{opacity:.45;box-shadow:none}.pulse-spotlight-ecosystem{grid-template-columns:112px minmax(0,1fr)}.pulse-spotlight-ecosystem>.pulse-spotlight-text{min-height:104px}
@media(max-width:800px){.pulse-game-hub-grid{grid-template-columns:1fr}.pulse-friend-challenge{grid-template-columns:1fr}.pulse-friend-challenge select,.pulse-friend-challenge>button{width:100%}.pulse-game-main-card,.pulse-daily-card{border-radius:17px}.pulse-spotlight-ecosystem{grid-template-columns:100px minmax(0,1fr)}}


/* === ANXIRA 0.7.8.3 CHALLENGE LOOP + PULSE SEQUENCE === */
.pulse-game-library{margin-top:12px}.pulse-sequence-card{border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,var(--surface2),rgba(123,70,255,.07));padding:14px}.pulse-sequence-board{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:8px}.pulse-sequence-board button{min-height:74px;border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--text);font-size:24px;transition:transform .1s ease,background .14s ease,box-shadow .14s ease,border-color .14s ease}.pulse-sequence-board button.lit{background:linear-gradient(135deg,#6935f5,#9b52ff);color:#fff;border-color:transparent;box-shadow:0 0 0 3px rgba(130,72,255,.13),0 12px 30px rgba(108,51,242,.28);transform:scale(1.035)}.pulse-sequence-board button.tap{transform:scale(.95)}.pulse-sequence-footer{display:grid;grid-template-columns:90px 120px minmax(140px,1fr);gap:9px;align-items:stretch;margin-top:10px}.pulse-sequence-footer>div{border:1px solid var(--line);border-radius:14px;padding:9px 12px;background:var(--surface);display:grid;align-content:center}.pulse-sequence-footer small{font-size:7px;color:var(--muted);font-weight:900;letter-spacing:.1em}.pulse-sequence-footer b{font-size:16px;margin-top:2px}.pulse-sequence-footer>button{border:0;border-radius:14px;background:linear-gradient(135deg,#6731ee,#994dff);color:#fff;font-weight:900}.pulse-sequence-card>p{font-size:9px;color:var(--muted);margin:9px 2px 0}
.pulse-challenge-inbox,.pulse-challenge-history{margin-top:12px;border:1px solid var(--line);border-radius:18px;background:var(--surface2);padding:13px}.pulse-game-section-title span,.pulse-game-section-title strong{display:block}.pulse-game-section-title span{font-size:7px;letter-spacing:.13em;color:var(--purple);font-weight:900}.pulse-game-section-title strong{font-size:13px;margin-top:3px}.pulse-challenge-list{display:grid;gap:8px;margin-top:10px}.pulse-challenge-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:9px}.pulse-challenge-card>img{width:42px;height:42px;border-radius:50%;object-fit:cover}.pulse-challenge-card>div:nth-child(2)>b,.pulse-challenge-card>div:nth-child(2)>span,.pulse-challenge-card>div:nth-child(2)>small{display:block}.pulse-challenge-card>div:nth-child(2)>b{font-size:11px}.pulse-challenge-card>div:nth-child(2)>span{font-size:9px;margin-top:2px}.pulse-challenge-card>div:nth-child(2)>small{font-size:8px;color:var(--muted);margin-top:3px}.pulse-challenge-actions{display:flex;gap:6px}.pulse-challenge-actions button{height:32px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--text);font-size:9px;font-weight:800;padding:0 10px}.pulse-challenge-actions .accept{border:0;background:linear-gradient(135deg,#6933f2,#984dff);color:#fff}.pulse-empty-state{font-size:9px;color:var(--muted);margin:10px 0 2px}.pulse-history-list{display:grid;gap:6px;margin-top:9px}.pulse-history-list>div{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}.pulse-history-list>div>span{font-size:8px;font-weight:900;color:var(--purple)}.pulse-history-list b{font-size:10px}.pulse-history-list small{font-size:8px;color:var(--muted)}
@media(max-width:800px){.pulse-sequence-board{grid-template-columns:repeat(2,1fr)}.pulse-sequence-board button{min-height:70px}.pulse-sequence-footer{grid-template-columns:1fr 1fr}.pulse-sequence-footer>button{grid-column:1/-1;min-height:40px}.pulse-challenge-card{grid-template-columns:40px minmax(0,1fr)}.pulse-challenge-actions{grid-column:1/-1}.pulse-challenge-actions button{flex:1}.pulse-history-list>div{grid-template-columns:44px minmax(0,1fr)}.pulse-history-list small{grid-column:2}}


/* === ANXIRA 0.7.8.4 PROFILE STUDIO + PULSE MATCH + RICH ACTIVITIES === */
.profile-composer-main{cursor:pointer}.profile-composer-main textarea{cursor:pointer}.profile-composer-tools .btn-primary{cursor:pointer}
.pulse-daily-kicker b{color:#9b65ff;font-size:inherit}.pulse-this-or-that .pulse-activity-orb{background:linear-gradient(135deg,#4b28ba,#a04fff)}
.pulse-rich-percent{display:block;font-size:10px!important;color:var(--muted);font-weight:900;margin-top:2px}.pulse-activity-options button.selected .pulse-rich-percent{color:#9a5cff}
.pulse-game-library{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.pulse-match-card{border:1px solid var(--line);border-radius:18px;background:var(--surface2);padding:15px;min-width:0}.pulse-match-target{display:grid;justify-items:center;gap:3px;margin:12px 0}.pulse-match-target small{font-size:8px;letter-spacing:.14em;color:var(--purple);font-weight:900}.pulse-match-target b{font-size:34px;color:#8a4dff}.pulse-match-target span{font-size:9px;color:var(--muted)}.pulse-match-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pulse-match-grid button{height:54px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font-size:24px}.pulse-match-grid button.correct{border-color:#7e47ff;box-shadow:0 0 0 3px rgba(126,71,255,.14)}.pulse-match-grid button.wrong{animation:pulseMatchWrong .18s ease 2}@keyframes pulseMatchWrong{50%{transform:translateX(3px)}}.pulse-match-footer{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:center;margin-top:11px}.pulse-match-footer span small,.pulse-match-footer span b{display:block}.pulse-match-footer small{font-size:7px;color:var(--muted)}.pulse-match-footer b{font-size:11px}.pulse-match-footer button{border:0;border-radius:999px;background:linear-gradient(135deg,#6f34ff,#914cff);color:#fff;font-size:10px;font-weight:900;padding:10px 12px}.pulse-match-card>p{font-size:9px;color:var(--muted);margin:9px 0 0;text-align:center}
@media(max-width:800px){.pulse-game-library{grid-template-columns:1fr!important}.pulse-match-grid button{height:58px}}

/* === ANXIRA 0.7.8.4.1 DESKTOP GAME HUB LAYOUT HOTFIX ===
   Keep Pulse Sequence controls inside their own card at desktop widths.
   Mobile behavior remains unchanged. */
@media(min-width:801px){
  .pulse-game-library{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
  }
  .pulse-sequence-card,.pulse-match-card{
    min-width:0!important;
    overflow:hidden!important;
  }
  .pulse-sequence-footer{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .pulse-sequence-footer>div{
    min-width:0!important;
  }
  .pulse-sequence-footer>button{
    grid-column:1/-1!important;
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:0 14px!important;
    white-space:normal!important;
  }
  .pulse-match-footer{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .pulse-match-footer>button{
    grid-column:1/-1!important;
    width:100%!important;
  }
}


/* === ANXIRA 0.7.8.5 SOCIAL GAME LAB + NETWORK LEADERBOARDS + PULSE METER === */
.pulse-friend-challenge{grid-template-columns:minmax(0,1fr) minmax(125px,165px) minmax(150px,220px) auto!important}
.pulse-game-leaderboards{margin-top:12px;border:1px solid var(--line);border-radius:18px;background:var(--surface2);padding:13px}
.pulse-leaderboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}
.pulse-leaderboard-grid>section{min-width:0;border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:10px}
.pulse-leaderboard-grid header{display:flex;align-items:center;gap:8px;margin-bottom:7px}.pulse-leaderboard-grid header>span{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#6732ed,#984dff);color:#fff}.pulse-leaderboard-grid header b,.pulse-leaderboard-grid header small{display:block}.pulse-leaderboard-grid header b{font-size:10px}.pulse-leaderboard-grid header small{font-size:6px;color:var(--muted);letter-spacing:.08em;margin-top:2px}.pulse-leaderboard-grid ol{list-style:none;margin:0;padding:0;display:grid;gap:3px}.pulse-leaderboard-grid li{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:6px;padding:6px;border-radius:10px}.pulse-leaderboard-grid li.me{background:rgba(126,69,255,.09)}.pulse-leaderboard-grid li>em{font-style:normal;font-size:8px;font-weight:900;color:var(--purple);text-align:center}.pulse-leaderboard-grid li>a{display:flex;align-items:center;gap:6px;min-width:0;color:var(--text);text-decoration:none}.pulse-leaderboard-grid li>a>img{width:25px;height:25px;border-radius:50%;object-fit:cover}.pulse-leaderboard-grid li>a>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:8px;font-weight:800}.pulse-leaderboard-grid li>b{font-size:8px;white-space:nowrap}.pulse-leaderboard-grid>section>p{font-size:8px;color:var(--muted);margin:8px 2px}
.pulse-meter-module{margin:14px 0!important;padding:18px!important}.pulse-meter-module .pulse-activity-orb{background:linear-gradient(135deg,#5124c7,#7e43ff,#38bdf8)}.pulse-meter-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.pulse-meter-options button{min-height:72px;border:1px solid var(--line);border-radius:15px;background:var(--surface2);color:var(--text);display:grid;place-items:center;align-content:center;gap:4px;padding:7px}.pulse-meter-options button>span{font-size:22px}.pulse-meter-options button>b{font-size:9px}.pulse-meter-options button.selected{border-color:#914eff;box-shadow:0 0 0 2px rgba(145,78,255,.12)}.pulse-meter-module>footer{grid-column:1/-1;display:flex;justify-content:space-between;margin-top:9px;font-size:9px;color:var(--muted)}.pulse-meter-module>footer button{border:0;background:transparent;color:var(--muted);font-size:9px}
@media(max-width:1000px) and (min-width:801px){.pulse-leaderboard-grid{grid-template-columns:1fr}.pulse-friend-challenge{grid-template-columns:1fr 1fr!important}.pulse-friend-challenge>div{grid-column:1/-1}.pulse-friend-challenge>button{width:100%}}
@media(max-width:800px){.pulse-friend-challenge{grid-template-columns:1fr!important}.pulse-leaderboard-grid{grid-template-columns:1fr}.pulse-meter-module{margin:12px 0!important;padding:15px!important;border-radius:18px!important}.pulse-meter-options{grid-template-columns:repeat(5,minmax(52px,1fr));overflow-x:auto;padding-bottom:3px}.pulse-meter-options button{min-height:66px}.pulse-leaderboard-grid li>a>span{font-size:9px}}


/* === ANXIRA 0.7.8.6 ACTIVE CIRCLES + EVENTS / LIVE ROOMS === */
.pulse-circles-module,.pulse-event-module{margin:14px 0!important;padding:18px!important;overflow:hidden!important}
.pulse-circles-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.pulse-circle-card{min-width:0;border:1px solid var(--line);border-radius:17px;background:var(--surface2);padding:13px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start}
.pulse-circle-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(111,52,255,.18),rgba(54,217,255,.10));border:1px solid rgba(130,78,255,.22);font-size:20px}
.pulse-circle-copy{min-width:0}.pulse-circle-copy b{display:block;font-size:12px}.pulse-circle-copy p{font-size:9px;line-height:1.4;color:var(--muted);margin:4px 0 6px}.pulse-circle-copy small{font-size:8px;color:var(--muted)}
.pulse-circle-toggle{grid-column:1/-1;height:34px;border:1px solid rgba(130,78,255,.28);border-radius:999px;background:rgba(126,69,255,.08);color:var(--purple);font-size:10px;font-weight:900}.pulse-circle-toggle.joined{background:linear-gradient(135deg,#7138f4,#974dff);color:#fff;border-color:transparent}
.live-circle-row .pulse-circle-toggle{grid-column:auto;width:31px;height:31px;padding:0;border-radius:50%}.empty-side-note{padding:14px;color:var(--muted);font-size:10px}
.pulse-event-card{margin-top:14px;display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:15px;align-items:center;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,var(--surface2),rgba(116,55,244,.07));padding:14px}
.pulse-event-date{width:68px;min-height:76px;border-radius:17px;background:linear-gradient(145deg,#5527ce,#8b43ff);color:#fff;display:grid;place-items:center;align-content:center;box-shadow:0 12px 28px rgba(93,48,213,.25)}.pulse-event-date b{font-size:9px;letter-spacing:.12em}.pulse-event-date strong{font-size:26px;line-height:1}.pulse-event-date span{font-size:8px;opacity:.82;margin-top:3px}
.pulse-event-copy{min-width:0}.pulse-event-copy>span{font-size:8px;letter-spacing:.12em;color:var(--purple);font-weight:900}.pulse-event-copy h3{font-size:15px;margin:4px 0}.pulse-event-copy p{font-size:10px;line-height:1.45;color:var(--muted);margin:0}.pulse-event-copy>div{display:flex;gap:13px;margin-top:8px}.pulse-event-copy small{font-size:9px;color:var(--muted)}
.pulse-event-toggle{min-width:104px;height:40px;border-radius:999px;border:1px solid rgba(131,76,255,.3);background:rgba(125,66,255,.09);color:var(--purple);font-weight:900;font-size:10px}.pulse-event-toggle.joined{background:linear-gradient(135deg,#7138f4,#944aff);color:#fff;border-color:transparent;box-shadow:0 10px 24px rgba(106,53,239,.22)}
@media(max-width:900px){.pulse-circles-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.pulse-circles-module,.pulse-event-module{margin:12px 0!important;padding:15px!important;border-radius:18px!important}.pulse-circles-strip{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:3px}.pulse-circle-card{flex:0 0 72%;scroll-snap-align:start}.pulse-event-card{grid-template-columns:62px minmax(0,1fr);gap:11px}.pulse-event-date{width:58px;min-height:68px}.pulse-event-toggle{grid-column:1/-1;width:100%}.pulse-event-copy h3{font-size:14px}}

/* === ANXIRA 0.7.8.7 REAL CIRCLE PAGES === */
.pulse-circle-link,.circle-side-link{color:inherit;text-decoration:none}.pulse-circle-link:hover,.circle-side-link:hover{color:var(--purple)}
.post-circle-context{margin:-2px 14px 8px;padding:8px 10px;border-radius:12px;background:rgba(124,65,255,.07);color:var(--muted);font-size:10px}.post-circle-context span{color:var(--purple);margin-right:5px}.post-circle-context a{color:var(--purple);font-weight:800;text-decoration:none}
.circle-page-nav{margin-left:auto}.circle-page-nav a{color:var(--purple);font-weight:800;text-decoration:none}
.circle-directory,.circle-page-shell{width:min(1040px,calc(100% - 28px));margin:26px auto 80px}.circle-directory-head{margin-bottom:18px}.circle-directory-head>span,.circle-hero-copy>span{font-size:9px;letter-spacing:.16em;color:var(--purple);font-weight:900}.circle-directory-head h1,.circle-hero h1{margin:5px 0}.circle-directory-head p,.circle-hero p{color:var(--muted)}
.circle-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.circle-directory-card{border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:16px;display:grid;gap:14px}.circle-directory-main{display:grid;grid-template-columns:auto 1fr;gap:13px;color:var(--text);text-decoration:none}.circle-directory-main h2{font-size:16px;margin:0 0 5px}.circle-directory-main p{font-size:11px;line-height:1.5;color:var(--muted);margin:0}.circle-directory-main small{display:block;margin-top:8px;color:var(--purple);font-size:10px}.circle-directory-icon,.circle-hero-icon{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#4f25c8,#8a43ff 60%,#39d7ff);display:grid;place-items:center;color:#fff;font-size:27px;box-shadow:0 12px 30px rgba(91,50,220,.24)}
.circle-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:22px}.circle-hero-copy p{margin:7px 0;line-height:1.5}.circle-hero-copy small{color:var(--muted)}.circle-hero-join{min-width:130px}
.circle-composer{margin-top:16px;padding:15px}.circle-composer-head{display:grid;grid-template-columns:44px 1fr;gap:11px}.circle-composer-head img{width:44px;height:44px;border-radius:50%;object-fit:cover}.circle-composer-head textarea{min-height:92px;border:1px solid var(--line);border-radius:16px;background:var(--surface2);color:var(--text);padding:14px;resize:vertical}.circle-composer-tools{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.circle-composer-tools label{color:var(--muted);font-size:11px;cursor:pointer}.circle-join-note,.circle-empty{margin-top:16px;padding:18px;color:var(--muted);text-align:center}.circle-feed-heading{display:flex;justify-content:space-between;align-items:center;margin:22px 2px 10px}.circle-feed-heading span{color:var(--muted);font-size:10px}.circle-feed{display:grid;gap:14px}.circle-post{padding:14px}.circle-post .signal-body{margin:12px 0;font-size:14px;line-height:1.55}.circle-post .post-media{margin:10px 0;border-radius:16px;overflow:hidden}.circle-post .post-media img,.circle-post .post-media video{width:100%;max-height:620px;object-fit:contain;background:#05070b}.circle-post-stats{display:flex;gap:14px;align-items:center;margin-top:10px;color:var(--muted);font-size:10px}.circle-post-stats a{margin-left:auto;color:var(--purple);text-decoration:none;font-weight:800}
@media(max-width:800px){.circle-directory,.circle-page-shell{width:calc(100% - 20px);margin-top:14px}.circle-directory-grid{grid-template-columns:1fr}.circle-hero{grid-template-columns:auto 1fr;padding:16px}.circle-hero-join{grid-column:1/-1;width:100%}.circle-directory-icon,.circle-hero-icon{width:52px;height:52px;border-radius:18px}.circle-composer-tools{gap:10px}.circle-composer-tools .btn{margin-left:auto}.circle-post{padding:12px}.circle-post-stats{flex-wrap:wrap}.circle-post-stats a{margin-left:0}}


/* === ANXIRA 0.7.8.8 CIRCLE ROLES / MANAGEMENT / INVITES === */
.circle-role-pill{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;font-size:7px;letter-spacing:.08em;font-weight:950;background:rgba(125,68,255,.10);color:var(--purple);border:1px solid rgba(125,68,255,.18)}.circle-role-pill.owner{background:linear-gradient(135deg,#5d2cdf,#9148ff);color:#fff;border-color:transparent}.circle-role-pill.admin{background:rgba(54,195,255,.11);color:#1695bf;border-color:rgba(54,195,255,.20)}
.circle-admin-panel,.circle-members-panel,.circle-invite-panel,.circle-invitation-inbox{padding:16px;margin-top:16px}.circle-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.circle-section-head>div>span{display:block;font-size:7px;letter-spacing:.14em;color:var(--purple);font-weight:950}.circle-section-head>div>strong{display:block;font-size:14px;margin-top:2px}.circle-section-head>small{font-size:9px;color:var(--muted)}.circle-section-head>button{border:1px solid var(--line);background:var(--surface2);color:var(--purple);border-radius:999px;padding:7px 13px;font-size:9px;font-weight:900}
.circle-settings-form{margin-top:14px;display:grid;gap:10px}.circle-settings-form[hidden]{display:none!important}.circle-settings-form label{font-size:9px;color:var(--muted);font-weight:800}.circle-settings-form input,.circle-settings-form textarea{display:block;width:100%;margin-top:5px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--text);padding:11px 12px}.circle-settings-form textarea{min-height:90px;resize:vertical}.circle-settings-form .btn{justify-self:end}
.circle-composer-parity{padding:0!important;overflow:hidden}.circle-composer-parity .composer-head{padding:15px 16px}.circle-composer-parity .composer-head textarea{min-height:48px!important;height:48px!important;border:0!important;background:var(--surface2)!important;border-radius:999px!important;padding:14px 16px!important;resize:none!important}.circle-composer-parity .composer-tools{padding:10px 14px;border-top:1px solid var(--line);margin:0}.circle-upload-action{cursor:pointer;color:var(--muted);font-size:10px;font-weight:800}.circle-composer-context{color:var(--purple);font-size:9px;font-weight:800;margin-left:auto}
.circle-community-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:14px;align-items:start}.circle-member-list,.circle-invite-list{display:grid;gap:7px;margin-top:12px}.circle-member-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:8px;border-radius:13px;background:var(--surface2);border:1px solid transparent}.circle-member-row>a{display:flex;align-items:center;gap:9px;min-width:0;color:var(--text);text-decoration:none}.circle-member-avatar{position:relative;display:block;width:38px;height:38px}.circle-member-avatar img{width:38px;height:38px;border-radius:50%;object-fit:cover}.circle-member-avatar i{position:absolute;right:0;bottom:1px;width:10px;height:10px;border-radius:50%;background:#20d87a;border:2px solid var(--surface2)}.circle-member-row>a b,.circle-member-row>a small{display:block}.circle-member-row>a b{font-size:10px}.circle-member-row>a small{font-size:8px;color:var(--muted);margin-top:2px}.circle-member-actions{display:flex;gap:5px}.circle-member-actions button{border:1px solid var(--line);background:var(--surface);color:var(--purple);border-radius:9px;padding:6px 8px;font-size:7px;font-weight:850}.circle-member-actions button.danger{color:#e04f68}
.circle-invite-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px;border-radius:13px;background:var(--surface2)}.circle-invite-list article>a{display:flex;align-items:center;gap:8px;color:var(--text);text-decoration:none;min-width:0}.circle-invite-list img{width:36px;height:36px;border-radius:50%;object-fit:cover}.circle-invite-list b,.circle-invite-list small{display:block}.circle-invite-list b{font-size:9px}.circle-invite-list small{font-size:7px;color:var(--muted)}.circle-invite-list button{border:1px solid rgba(126,69,255,.25);background:rgba(126,69,255,.08);color:var(--purple);border-radius:999px;padding:7px 10px;font-size:8px;font-weight:900}.circle-invite-list article.invited{opacity:.65}.circle-panel-empty{font-size:9px;color:var(--muted);margin:15px 0 0}
.circle-invitation-inbox{margin:0 0 18px}.circle-invitation-list{display:grid;gap:10px;margin-top:12px}.circle-invitation-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:11px;border-radius:16px;background:var(--surface2);border:1px solid var(--line)}.circle-invitation-list article>a{display:flex;gap:11px;align-items:center;color:var(--text);text-decoration:none}.circle-directory-icon.small{width:44px;height:44px;border-radius:15px;font-size:20px;flex:0 0 auto}.circle-invitation-list b,.circle-invitation-list small{display:block}.circle-invitation-list b{font-size:11px}.circle-invitation-list small{font-size:8px;color:var(--purple);margin-top:2px}.circle-invitation-list p{font-size:8px;color:var(--muted);margin:3px 0 0}.circle-invitation-list article>div{display:flex;gap:6px}.circle-invitation-list article>div>button:not(.btn){border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:10px;padding:8px 10px;font-size:8px}
@media(max-width:850px){.circle-community-grid{grid-template-columns:1fr}.circle-member-row{grid-template-columns:minmax(0,1fr) auto}.circle-member-actions{grid-column:1/-1;justify-content:flex-end}.circle-invitation-list article{grid-template-columns:1fr}.circle-invitation-list article>div{justify-content:flex-end}}
@media(max-width:800px){.circle-admin-panel,.circle-members-panel,.circle-invite-panel,.circle-invitation-inbox{padding:14px}.circle-composer-parity .composer-tools{display:flex;flex-wrap:wrap;gap:8px}.circle-composer-context{order:3;width:100%;margin-left:0}.circle-member-row .circle-role-pill{font-size:6px}.circle-community-grid{gap:10px}}


/* === ANXIRA 0.7.8.9 PRIVATE CIRCLES + JOIN REQUESTS + MODERATION === */
.circle-private-pill{display:inline-flex;vertical-align:middle;margin-left:5px;padding:2px 6px;border-radius:999px;background:rgba(126,69,255,.10);border:1px solid rgba(126,69,255,.20);color:var(--purple);font-size:6px;letter-spacing:.08em;font-weight:950}
.circle-directory-card.private{background:linear-gradient(145deg,var(--surface),rgba(112,60,235,.045))}
.circle-request-button{min-width:130px;height:38px;border:1px solid rgba(126,69,255,.28);border-radius:999px;background:rgba(126,69,255,.08);color:var(--purple);font-size:9px;font-weight:900;padding:0 15px}.circle-request-button.pending{background:linear-gradient(135deg,#7138f4,#974dff);color:#fff;border-color:transparent}.circle-request-button:disabled{opacity:.65}
.circle-private-gate{margin-top:16px;padding:34px 22px;text-align:center;background:radial-gradient(circle at 50% 15%,rgba(126,69,255,.10),transparent 43%),var(--surface)}.circle-private-lock{width:62px;height:62px;margin:0 auto 12px;border-radius:22px;display:grid;place-items:center;font-size:27px;background:linear-gradient(135deg,#4f25c8,#8a43ff);box-shadow:0 14px 30px rgba(91,50,220,.22)}.circle-private-gate h2{margin:0 0 7px}.circle-private-gate p{max-width:570px;margin:0 auto 16px;color:var(--muted);font-size:11px;line-height:1.55}
.circle-settings-form select{display:block;width:100%;margin-top:5px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--text);padding:11px 12px}
.circle-request-panel,.circle-moderation-panel{padding:16px;margin-top:16px}.circle-request-list,.circle-moderation-list{display:grid;gap:8px;margin-top:12px}.circle-request-list article,.circle-moderation-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.circle-request-list article>a{display:flex;align-items:center;gap:9px;color:var(--text);text-decoration:none}.circle-request-list img{width:40px;height:40px;border-radius:50%;object-fit:cover}.circle-request-list b,.circle-request-list small{display:block}.circle-request-list b{font-size:10px}.circle-request-list small{font-size:8px;color:var(--muted);margin-top:2px}.circle-request-list article>div,.circle-moderation-list article>div:last-child{display:flex;gap:6px}.circle-request-list article>div button:not(.btn),.circle-moderation-list button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:10px;padding:8px 10px;font-size:8px;font-weight:850}.circle-moderation-list button.danger,.circle-post-moderate-direct.danger{color:#e14d68;border-color:rgba(225,77,104,.25)}.circle-moderation-list b,.circle-moderation-list small{display:block}.circle-moderation-list b{font-size:10px}.circle-moderation-list small{font-size:8px;color:var(--muted);margin-top:2px}.circle-moderation-list p{margin:5px 0 0;font-size:9px;color:var(--muted);line-height:1.4}
.circle-post .post-head{display:flex;align-items:center}.circle-post .post-head>div{flex:1}.circle-post-report,.circle-post-moderate-direct{margin-left:auto;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:999px;padding:6px 9px;font-size:7px;font-weight:850}
@media(max-width:800px){.circle-request-button.circle-hero-join{grid-column:1/-1;width:100%}.circle-request-panel,.circle-moderation-panel{padding:14px}.circle-request-list article,.circle-moderation-list article{grid-template-columns:1fr}.circle-request-list article>div,.circle-moderation-list article>div:last-child{justify-content:flex-end}}


/* === ANXIRA 0.7.9.0 CIRCLE IDENTITY / RULES / PINS / ANNOUNCEMENTS === */
.circle-identity-hero{padding:0!important;overflow:hidden}.circle-cover{height:190px;background:linear-gradient(135deg,rgba(102,49,239,.92),rgba(40,198,255,.72)),radial-gradient(circle at 70% 20%,rgba(255,255,255,.28),transparent 34%);background-size:cover;background-position:center;position:relative}.circle-cover-shade{position:absolute;inset:0;background:linear-gradient(to bottom,transparent 35%,rgba(10,11,18,.48))}.circle-identity-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:end;padding:0 22px 20px;margin-top:-46px;position:relative}.circle-avatar-shell{width:92px;height:92px;border-radius:28px;border:4px solid var(--surface);background:linear-gradient(135deg,#5d2be6,#9b50ff);display:grid;place-items:center;overflow:hidden;box-shadow:0 12px 32px rgba(27,20,70,.24);font-size:38px}.circle-avatar-shell img{width:100%;height:100%;object-fit:cover}.circle-identity-row .circle-hero-copy{padding-top:52px}.circle-brand-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.circle-brand-upload-grid input{display:block;margin-top:7px;width:100%}.circle-settings-hint{display:block;color:var(--muted);font-size:10px}.circle-admin-subgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.circle-admin-subgrid>section{border:1px solid var(--line);border-radius:16px;padding:14px;background:var(--surface2)}.circle-mini-head b,.circle-mini-head small{display:block}.circle-mini-head small{font-size:9px;color:var(--muted);margin-top:3px}.circle-inline-form{display:grid;gap:8px;margin-top:10px}.circle-inline-form input,.circle-inline-form textarea{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;padding:10px;min-height:40px}.circle-inline-form textarea{min-height:78px;resize:vertical}.circle-inline-form button{justify-self:end;border:0;border-radius:999px;background:#7b42f6;color:#fff;padding:8px 14px;font-weight:800}.circle-rule-admin-list{display:grid;gap:6px;margin-top:10px}.circle-rule-admin-list>div{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;font-size:11px;padding:8px 10px;border-radius:10px;background:var(--surface)}.circle-rule-admin-list button{border:0;background:transparent;color:var(--muted);font-size:18px}.circle-announcements,.circle-rules-panel{margin-top:14px;padding:16px!important}.circle-announcements article{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:start;padding:11px 0;border-top:1px solid var(--line)}.circle-announcements article:first-of-type{border-top:0}.circle-announcement-icon{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#6e33f4,#a354ff);color:#fff;display:grid;place-items:center}.circle-announcements p{margin:0;font-size:12px;line-height:1.45}.circle-announcements small{font-size:9px;color:var(--muted)}.circle-announcements article>button{border:0;background:transparent;color:var(--muted);font-size:20px}.circle-rules-panel ol{margin:10px 0 0;padding-left:22px;display:grid;gap:7px}.circle-rules-panel li{font-size:11px;line-height:1.4;padding-left:3px}.circle-post-admin-actions{margin-left:auto;display:flex;gap:7px}.circle-post-pin{border:1px solid var(--line);background:var(--surface2);color:var(--muted);border-radius:999px;padding:6px 10px;font-size:9px;font-weight:800}.circle-post-pin.active{border-color:rgba(139,83,255,.42);background:rgba(139,83,255,.11);color:#8a4dff}.circle-pinned-label{margin:8px 14px 0;display:inline-flex;border-radius:999px;padding:5px 9px;background:rgba(139,83,255,.1);color:#8648f8;font-size:8px;font-weight:900;letter-spacing:.08em}
@media(max-width:800px){.circle-cover{height:140px}.circle-identity-row{grid-template-columns:auto 1fr;padding:0 14px 15px;margin-top:-36px;gap:11px}.circle-avatar-shell{width:74px;height:74px;border-radius:22px;font-size:31px}.circle-identity-row .circle-hero-copy{padding-top:40px}.circle-hero-join{grid-column:1/-1;width:100%}.circle-admin-subgrid,.circle-brand-upload-grid{grid-template-columns:1fr}.circle-post-admin-actions{display:grid;gap:4px}.circle-announcements article{grid-template-columns:auto 1fr auto}}


/* === ANXIRA 0.7.9.1 CIRCLE NOTIFICATIONS + INSIGHTS === */
.circle-notify-control{display:inline-flex;align-items:center;gap:6px;margin-top:9px;font-size:10px;color:var(--muted)}
.circle-notify-control select{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:999px;padding:6px 24px 6px 10px;font-size:10px;font-weight:700}
.circle-everyone-toggle{display:flex!important;align-items:flex-start!important;gap:9px!important;border:1px solid var(--line);background:var(--surface2);border-radius:13px;padding:10px!important;margin:7px 0!important}
.circle-everyone-toggle input{width:17px!important;height:17px!important;margin-top:2px!important;accent-color:#8550ff}
.circle-everyone-toggle span{display:block!important}.circle-everyone-toggle b,.circle-everyone-toggle small{display:block}.circle-everyone-toggle b{font-size:10px}.circle-everyone-toggle small{font-size:8px;color:var(--muted);margin-top:2px}
.circle-insights{padding:18px;margin-top:14px}.circle-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:14px}
.circle-stat-grid article{min-width:0;border:1px solid var(--line);background:var(--surface2);border-radius:16px;padding:13px 12px;display:grid;gap:3px}
.circle-stat-grid article>span{font-size:7px;letter-spacing:.12em;color:var(--purple);font-weight:900}.circle-stat-grid article>b{font-size:22px;line-height:1.1}.circle-stat-grid article>small{font-size:8px;color:var(--muted)}
@media(max-width:1050px){.circle-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.circle-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.circle-insights{padding:15px}.circle-notify-control{display:flex;width:max-content;max-width:100%}.circle-notify-control select{max-width:190px}}

/* === ANXIRA 0.7.9.2 CIRCLE DISCOVERY + CONTRIBUTOR ENERGY === */
.circle-discovery-tools{padding:14px 16px;margin:0 0 14px}.circle-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--surface2);border-radius:15px;padding:0 13px;height:46px}.circle-search input{border:0;background:transparent;color:var(--text);outline:0;width:100%;font:inherit}.circle-filter-row{display:flex;gap:9px;margin-top:10px;flex-wrap:wrap}.circle-filter-row select{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:12px;padding:9px 11px}.circle-recommended{padding:16px;margin-bottom:14px}.circle-recommended header span,.circle-contributor-board header span{display:block;color:var(--purple);font-size:8px;font-weight:900;letter-spacing:.13em}.circle-recommended header strong,.circle-contributor-board header strong{display:block;font-size:15px;margin-top:3px}.circle-recommended-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}.circle-recommended-card{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:15px;padding:11px;text-decoration:none;color:var(--text);background:var(--surface2);min-width:0}.circle-recommended-card>span{font-size:24px}.circle-recommended-card div{min-width:0}.circle-recommended-card b,.circle-recommended-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.circle-recommended-card small,.circle-card-category{color:var(--muted);font-size:9px}.circle-card-category{display:inline-block!important;margin-right:7px;color:var(--purple)!important}.circle-directory-card[hidden]{display:none!important}.circle-contributor-board{padding:16px;margin:14px 0}.circle-contributor-board header small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.circle-contributor-list{display:grid;gap:7px;margin-top:12px}.circle-contributor-list>a{display:grid;grid-template-columns:34px 42px minmax(0,1fr) auto;gap:9px;align-items:center;text-decoration:none;color:var(--text);padding:8px;border-radius:13px;background:var(--surface2);border:1px solid var(--line)}.circle-contributor-list img{width:42px;height:42px;border-radius:50%;object-fit:cover}.circle-contributor-list div{min-width:0}.circle-contributor-list div strong,.circle-contributor-list div small{display:block}.circle-contributor-list div small{font-size:9px;color:var(--muted);margin-top:3px}.circle-contributor-list em{font-style:normal;font-size:10px;font-weight:900;color:var(--purple)}.circle-rank{font-size:11px;color:var(--muted);text-align:center}
@media(max-width:800px){.circle-filter-row{display:grid;grid-template-columns:1fr 1fr}.circle-filter-row select:last-child{grid-column:1/-1}.circle-recommended-row{display:flex;overflow-x:auto;scroll-snap-type:x proximity}.circle-recommended-card{flex:0 0 76%;scroll-snap-align:start}.circle-contributor-list>a{grid-template-columns:28px 38px minmax(0,1fr)}.circle-contributor-list img{width:38px;height:38px}.circle-contributor-list em{grid-column:3;justify-self:start}}


/* === ANXIRA 0.7.9.3 CREATE CIRCLE WIZARD === */
.circle-directory-head-create{display:flex;align-items:center;justify-content:space-between;gap:24px}.circle-create-cta{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.circle-create-cta span{font-size:18px;line-height:1}
.circle-create-modal[hidden]{display:none!important}.circle-create-modal{position:fixed;inset:0;z-index:10050;background:rgba(6,7,13,.64);backdrop-filter:blur(10px);display:grid;place-items:center;padding:22px}.circle-modal-open{overflow:hidden}.circle-create-sheet{width:min(720px,96vw);max-height:min(850px,92dvh);overflow:auto;border-radius:26px;padding:22px;box-shadow:0 30px 90px rgba(10,8,28,.38)}
.circle-create-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid var(--line)}.circle-create-head span{font-size:9px;letter-spacing:.16em;font-weight:900;color:var(--purple)}.circle-create-head h2{margin:4px 0 3px;font-size:25px}.circle-create-head p{margin:0;color:var(--muted);font-size:11px}.circle-create-head>button{width:38px;height:38px;border:0;border-radius:50%;background:var(--surface2);color:var(--text);font-size:24px}
#circleCreateForm{display:grid;gap:15px;margin-top:18px}.circle-create-field{display:grid;gap:7px}.circle-create-field>span{font-size:11px;font-weight:900}.circle-create-field input,.circle-create-field textarea,.circle-create-field select{width:100%;border:1px solid var(--line);border-radius:14px;background:var(--surface2);color:var(--text);padding:12px 13px;outline:0}.circle-create-field textarea{resize:vertical;min-height:100px}.circle-create-field input:focus,.circle-create-field textarea:focus,.circle-create-field select:focus{border-color:rgba(130,70,255,.62);box-shadow:0 0 0 3px rgba(130,70,255,.09)}.circle-create-field small{font-size:9px;color:var(--muted)}
.circle-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.circle-create-media-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px}.circle-create-upload{cursor:pointer;border:1px dashed rgba(135,82,255,.34);border-radius:18px;background:linear-gradient(135deg,var(--surface2),rgba(123,67,255,.05));padding:12px;display:grid;gap:5px}.circle-create-upload b{font-size:11px}.circle-create-upload small{font-size:9px;color:var(--muted)}.circle-create-media-preview{width:68px;height:68px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#6131e8,#a052ff);background-size:cover;background-position:center;color:#fff;font-size:28px}.circle-create-cover-preview{height:68px;border-radius:14px;background:linear-gradient(135deg,#312060,#6b3ee4 55%,#30b7e6);background-size:cover;background-position:center;color:rgba(255,255,255,.78);display:grid;place-items:center;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.circle-create-note{display:grid;gap:4px;padding:12px 14px;border-radius:15px;background:rgba(125,71,255,.07);border:1px solid rgba(125,71,255,.16)}.circle-create-note b{font-size:11px}.circle-create-note span{font-size:9px;color:var(--muted);line-height:1.45}.circle-create-actions{display:flex;justify-content:flex-end;gap:9px}.circle-create-actions>button{min-height:42px;border-radius:999px;padding:0 18px}.circle-create-actions>button:first-child{border:1px solid var(--line);background:var(--surface2);color:var(--text)}.circle-create-status{min-height:18px;font-size:10px;color:var(--purple);text-align:right}.circle-create-status.error{color:#e85e72}
@media(max-width:800px){.circle-directory-head-create{align-items:flex-start;gap:14px}.circle-create-cta{padding:0 14px;min-height:40px}.circle-create-modal{padding:0;align-items:end}.circle-create-sheet{width:100%;max-height:93dvh;border-radius:24px 24px 0 0;padding:18px 15px calc(18px + env(safe-area-inset-bottom))}.circle-create-grid,.circle-create-media-grid{grid-template-columns:1fr}.circle-create-media-grid{grid-template-columns:1fr 1fr}.circle-create-upload{min-width:0}.circle-create-actions{display:grid;grid-template-columns:1fr 1fr}.circle-create-actions>button{width:100%}}

/* === ANXIRA 0.7.9.4 CIRCLE ONBOARDING + INVITE LINKS === */
.circle-onboarding,.circle-invite-link-panel{padding:18px;margin:14px 0}.circle-onboarding-progress{height:7px;border-radius:999px;background:var(--surface2);overflow:hidden;margin:13px 0}.circle-onboarding-progress i{display:block;height:100%;background:linear-gradient(90deg,#6f34ff,#9b50ff,#39caff)}.circle-onboarding-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.circle-onboarding-list>div{border:1px solid var(--line);background:var(--surface2);border-radius:14px;min-height:76px;padding:11px;display:grid;align-content:center;gap:6px}.circle-onboarding-list>div.done{border-color:rgba(108,72,255,.32);background:linear-gradient(135deg,rgba(111,52,255,.10),rgba(58,202,255,.05))}.circle-onboarding-list span{font-size:18px;color:var(--purple)}.circle-onboarding-list b{font-size:10px}.circle-invite-link-panel p{color:var(--muted);font-size:11px}.circle-invite-link-actions{display:flex;gap:8px;flex-wrap:wrap}.circle-invite-link-output{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:11px}.circle-invite-link-output[hidden]{display:none}.circle-invite-link-output input{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:12px;padding:11px}.circle-invite-link-output button{border:0;border-radius:12px;background:var(--purple);color:#fff;padding:0 16px}.circle-approval-setting{display:grid!important;gap:7px!important}.circle-approval-setting>label{display:flex!important;align-items:center;gap:8px;font-size:11px!important}.circle-approval-setting input{width:auto!important}.circle-approval-setting small{font-size:9px;color:var(--muted)}.circle-invite-page{min-height:calc(100dvh - 65px);display:grid;place-items:center;padding:24px}.circle-invite-card{width:min(560px,94vw);padding:0 22px 24px;text-align:center;overflow:hidden}.circle-invite-cover{height:160px;margin:0 -22px;background:linear-gradient(135deg,#26105f,#7b3cff,#238dca);background-size:cover;background-position:center}.circle-invite-avatar{width:82px;height:82px;border-radius:24px;margin:-42px auto 13px;background:var(--surface);border:4px solid var(--surface);display:grid;place-items:center;font-size:34px;overflow:hidden}.circle-invite-avatar img{width:100%;height:100%;object-fit:cover}.circle-invite-kicker{display:block;font-size:8px;letter-spacing:.14em;font-weight:900;color:var(--purple)}.circle-invite-card small{display:block;color:var(--muted);margin:8px 0 16px}.circle-invite-card .btn{display:inline-flex;text-decoration:none}@media(max-width:800px){.circle-onboarding-list{grid-template-columns:1fr 1fr}.circle-onboarding-list>div:last-child{grid-column:1/-1}.circle-invite-link-actions{display:grid}.circle-invite-link-actions>*{width:100%}}


/* === ANXIRA 0.7.9.5 CIRCLE MEMBER OPS + AUDIT === */
.circle-member-searchbar{display:grid;grid-template-columns:auto minmax(0,1fr) 150px;align-items:center;gap:8px;margin:12px 0 14px;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}
.circle-member-searchbar>span{color:var(--muted);font-size:18px}.circle-member-searchbar input,.circle-member-searchbar select{border:0;outline:0;background:transparent;color:var(--text);min-height:36px}.circle-member-searchbar select{border-left:1px solid var(--line);padding-left:10px}
.circle-invite-management,.circle-history-panel{margin:14px 0;padding:18px}.circle-pending-invite-list{display:grid;gap:8px}.circle-pending-invite-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:15px;background:var(--surface2);padding:10px 12px}.circle-pending-invite-list article>a{display:flex;align-items:center;gap:10px;min-width:0;color:var(--text);text-decoration:none}.circle-pending-invite-list img{width:42px;height:42px;border-radius:50%;object-fit:cover}.circle-pending-invite-list b,.circle-pending-invite-list small{display:block}.circle-pending-invite-list small{font-size:9px;color:var(--muted);margin-top:3px}.circle-pending-invite-list article>div{display:flex;gap:7px}.circle-pending-invite-list button{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:8px 11px;font-size:10px;font-weight:800}.circle-pending-invite-list button.danger{color:#e75b71;border-color:rgba(231,91,113,.28)}
.circle-audit-list{display:grid;gap:7px;max-height:520px;overflow:auto;padding-right:3px}.circle-audit-list article{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start;border-bottom:1px solid var(--line);padding:10px 2px}.circle-audit-list article:last-child{border-bottom:0}.circle-audit-icon{width:32px;height:32px;border-radius:11px;background:rgba(128,71,255,.10);color:var(--purple);display:grid;place-items:center}.circle-audit-list b{display:block;font-size:11px}.circle-audit-list small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.circle-audit-list small a{color:inherit;text-decoration:none;font-weight:800}.circle-audit-list p{margin:4px 0 0;font-size:9px;color:var(--muted)}
@media(max-width:800px){.circle-member-searchbar{grid-template-columns:auto minmax(0,1fr)}.circle-member-searchbar select{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:8px 0 0}.circle-invite-management,.circle-history-panel{padding:14px}.circle-pending-invite-list article{align-items:flex-start;flex-direction:column}.circle-pending-invite-list article>div{width:100%}.circle-pending-invite-list button{flex:1}}


/* === ANXIRA 0.7.9.6 CIRCLE MEMBER IDENTITY === */
.circle-member-rich{align-items:flex-start!important}
.circle-member-summary{flex:1;min-width:0;border:0;background:transparent;color:var(--text);display:flex;gap:11px;align-items:flex-start;text-align:left;padding:0;cursor:pointer}
.circle-member-summary:hover .circle-member-main>b{color:var(--purple)}
.circle-member-main{display:block;min-width:0;flex:1}.circle-member-main>b{display:block;font-size:13px}.circle-member-main>small{display:block;color:var(--muted);font-size:9px;margin-top:3px}
.circle-contribution-line{display:flex;align-items:center;gap:7px;margin-top:7px}.circle-contribution-line em{font-style:normal;font-size:8px;font-weight:900;letter-spacing:.06em;color:#8b4cff;background:rgba(135,74,255,.10);padding:4px 7px;border-radius:999px}.circle-contribution-line i{font-style:normal;color:var(--muted);font-size:8px}
.circle-member-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.circle-member-badges b{font-size:7px;font-weight:850;border:1px solid var(--line);background:var(--surface2);padding:3px 6px;border-radius:999px;color:var(--muted)}
.circle-member-detail-modal{position:fixed;inset:0;z-index:200;background:rgba(5,7,14,.58);backdrop-filter:blur(10px);display:grid;place-items:center;padding:18px}.circle-member-detail-modal[hidden]{display:none!important}.circle-member-detail-card{width:min(590px,96vw);max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:26px;background:var(--surface);box-shadow:0 28px 80px rgba(15,8,45,.32);padding:20px;position:relative}.circle-member-detail-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border-radius:50%;border:0;background:var(--surface2);color:var(--text);font-size:22px}.circle-member-detail-head{display:flex;gap:14px;align-items:center;padding-right:44px}.circle-member-detail-avatar{width:68px;height:68px;border-radius:22px;position:relative;flex:0 0 auto}.circle-member-detail-avatar img{width:100%;height:100%;object-fit:cover;border-radius:22px}.circle-member-detail-avatar i{position:absolute;right:-2px;bottom:-2px;width:15px;height:15px;border:3px solid var(--surface);background:#32d583;border-radius:50%}.circle-member-detail-avatar i[hidden]{display:none}.circle-member-detail-head h3{margin:3px 0 3px;font-size:20px}.circle-member-detail-head small{color:var(--muted);font-size:10px}.circle-member-detail-level{margin-top:17px;border:1px solid rgba(134,73,255,.22);background:linear-gradient(135deg,rgba(111,52,255,.10),rgba(53,217,255,.05));border-radius:18px;padding:13px 14px;display:grid;grid-template-columns:1fr auto;gap:3px}.circle-member-detail-level span{grid-column:1/-1;color:var(--muted);font-size:8px;letter-spacing:.12em;text-transform:uppercase}.circle-member-detail-level strong{font-size:14px}.circle-member-detail-level b{color:#8750ff;font-size:12px}.circle-member-detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.circle-member-detail-stats article{border:1px solid var(--line);background:var(--surface2);border-radius:14px;padding:10px;text-align:center}.circle-member-detail-stats b{display:block;font-size:16px}.circle-member-detail-stats span{display:block;color:var(--muted);font-size:7px;margin-top:3px}.circle-member-detail-badges{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.circle-member-detail-badges span{font-size:8px;font-weight:900;color:#8150f6;background:rgba(130,76,247,.10);border:1px solid rgba(130,76,247,.18);padding:6px 8px;border-radius:999px}.circle-member-note-form{margin-top:14px;border-top:1px solid var(--line);padding-top:14px}.circle-member-note-form label span{display:block;font-size:9px;font-weight:900;margin-bottom:6px}.circle-member-note-form textarea{width:100%;min-height:90px;resize:vertical;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:14px;padding:10px;outline:0}.circle-member-note-form>small{display:block;color:var(--muted);font-size:8px;margin:6px 0 10px}.circle-member-modal-open{overflow:hidden}
@media(max-width:700px){.circle-member-detail-card{border-radius:22px;padding:16px}.circle-member-detail-stats{grid-template-columns:repeat(2,1fr)}.circle-member-summary{gap:9px}.circle-member-badges{display:none}.circle-contribution-line{margin-top:5px}}

/* === ANXIRA 0.7.9.7 CIRCLE CUSTOM BADGES + MILESTONES === */
.circle-badge-create-form{display:grid;grid-template-columns:72px minmax(150px,1fr) minmax(220px,2fr) 120px auto;gap:9px;align-items:center;margin-top:14px}.circle-badge-create-form input,.circle-badge-create-form select{height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);padding:0 11px}.circle-custom-badge-list{display:grid;gap:8px;margin-top:14px}.circle-custom-badge-list>article{display:grid;grid-template-columns:auto minmax(0,1fr) 34px;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.circle-custom-badge-list p{margin:0;font-size:11px}.circle-custom-badge-list small{color:var(--muted);font-size:9px}.circle-custom-badge-list>article>button{border:0;background:transparent;color:var(--muted);font-size:20px}.circle-custom-badge{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:6px 9px;border-radius:999px;border:1px solid rgba(135,83,255,.28);background:rgba(135,83,255,.10);font-size:10px}.circle-custom-badge i{font-style:normal}.circle-custom-badge.accent-blue{border-color:rgba(51,134,255,.32);background:rgba(51,134,255,.10)}.circle-custom-badge.accent-gold{border-color:rgba(229,174,50,.35);background:rgba(229,174,50,.11)}.circle-custom-badge.accent-emerald{border-color:rgba(42,185,126,.34);background:rgba(42,185,126,.10)}.circle-custom-badge.accent-rose{border-color:rgba(235,85,132,.34);background:rgba(235,85,132,.10)}.circle-member-custom-awards,.circle-member-milestones{margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}#circleMemberCustomBadges{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.circle-member-custom-awards .circle-custom-badge button{border:0;background:transparent;color:inherit;padding:0 0 0 2px}.circle-member-custom-awards form{display:flex;gap:8px;margin-top:10px}.circle-member-custom-awards select{flex:1;height:38px;border:1px solid var(--line);border-radius:11px;background:var(--surface2);color:var(--text);padding:0 9px}.circle-member-custom-awards form button{border:0;border-radius:11px;padding:0 12px;background:linear-gradient(135deg,#6e38f5,#9857ff);color:#fff;font-weight:800}.circle-member-milestones>div{display:grid;gap:9px;margin-top:9px}.circle-member-milestones article>div{display:flex;justify-content:space-between;gap:10px;font-size:10px}.circle-member-milestones article>div span{color:var(--muted)}.circle-member-milestones article>i{display:block;height:6px;background:var(--surface2);border-radius:99px;overflow:hidden;margin-top:5px}.circle-member-milestones article>i>em{display:block;height:100%;background:linear-gradient(90deg,#713df4,#a15cff);border-radius:99px}.circle-member-milestones article.complete b:before{content:'✓ ';color:#7d4cff}@media(max-width:900px){.circle-badge-create-form{grid-template-columns:62px 1fr}.circle-badge-create-form input[name=description],.circle-badge-create-form select,.circle-badge-create-form button{grid-column:1/-1}.circle-member-custom-awards form{flex-direction:column}}


/* === ANXIRA 0.7.9.8 CIRCLE RECOGNITION + BADGE SHOWCASE === */
.circle-recognition-feed{padding:18px;margin:14px 0}.circle-recognition-form{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,2fr) auto;gap:8px;margin:12px 0 14px}.circle-recognition-form select,.circle-recognition-form input{height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);padding:0 11px}.circle-recognition-form button{border:0;border-radius:12px;padding:0 15px;background:linear-gradient(135deg,#6f38f5,#9a55ff);color:#fff;font-weight:900}.circle-recognition-list{display:grid;gap:9px}.circle-recognition-list article{display:grid;grid-template-columns:46px minmax(0,1fr);gap:11px;padding:11px;border:1px solid var(--line);border-radius:15px;background:var(--surface2)}.circle-recognition-list article>a img{width:46px;height:46px;border-radius:15px;object-fit:cover}.circle-recognition-list article div>span{display:block;font-size:7px;font-weight:950;letter-spacing:.12em;color:#8450ff}.circle-recognition-list strong{display:block;font-size:12px;margin-top:2px}.circle-recognition-list p{margin:4px 0 0;font-size:11px;line-height:1.4}.circle-recognition-list small{display:block;color:var(--muted);font-size:8px;margin-top:5px}.circle-showcase-mini{color:#8450ff!important;border-color:rgba(132,80,255,.24)!important;background:rgba(132,80,255,.08)!important}.circle-member-showcase{margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}#circleMemberShowcaseBadges{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.circle-member-showcase>small{display:block;color:var(--muted);font-size:8px;margin-top:7px}.circle-member-showcase .circle-custom-badge.showcased{box-shadow:0 0 0 2px rgba(132,80,255,.12)}.circle-showcase-toggle{border:0!important;background:transparent!important;color:inherit!important;font-size:8px!important;font-weight:900!important;padding-left:4px!important}.circle-member-showcase .circle-custom-badge em{font-style:normal;font-size:8px;font-weight:900;margin-left:4px}.circle-member-custom-awards .circle-custom-badge.showcased:before{content:'★';color:#8b52ff;margin-right:2px}@media(max-width:800px){.circle-recognition-form{grid-template-columns:1fr}.circle-recognition-form button{height:42px}.circle-recognition-feed{padding:15px}.circle-recognition-list article{grid-template-columns:40px minmax(0,1fr)}.circle-recognition-list article>a img{width:40px;height:40px;border-radius:13px}}

/* === ANXIRA 0.7.9.9 CIRCLE RECOGNITION ENGAGEMENT === */
.circle-recognition-card{align-items:start}.circle-recognition-content{min-width:0}.circle-recognition-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;padding-top:9px;border-top:1px solid var(--line)}.circle-recognition-actions>span{font-size:8px;color:var(--muted)}.circle-recognition-reactions{display:flex;gap:5px;flex-wrap:wrap}.circle-recognition-reactions button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;padding:6px 9px;font-size:8px;font-weight:800}.circle-recognition-reactions button.active,.circle-recognition-reactions button:hover{border-color:rgba(132,80,255,.45);background:rgba(132,80,255,.11);color:#8751ff}.circle-recognition-congrats{display:grid;gap:6px;margin-top:8px}.circle-recognition-congrats>div{display:grid;grid-template-columns:28px 1fr;gap:7px}.circle-recognition-congrats img{width:28px;height:28px;border-radius:9px;object-fit:cover}.circle-recognition-congrats p{font-size:9px!important;margin:1px 0 0!important;color:var(--muted)}.circle-recognition-congrats-form{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:8px}.circle-recognition-congrats-form input{height:36px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--text);padding:0 10px}.circle-recognition-congrats-form button{border:0;border-radius:11px;background:linear-gradient(135deg,#7039f5,#9855ff);color:#fff;padding:0 12px;font-weight:900}.circle-member-recent-recognition{margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}#circleMemberRecentRecognition{display:grid;gap:7px;margin-top:8px}#circleMemberRecentRecognition article{padding:8px;border:1px solid var(--line);border-radius:11px;background:var(--surface2)}#circleMemberRecentRecognition article span{font-size:7px;color:#8450ff;font-weight:900}#circleMemberRecentRecognition article b{display:block;font-size:10px;margin-top:2px}#circleMemberRecentRecognition article p{font-size:9px;color:var(--muted);margin:3px 0 0}@media(max-width:800px){.circle-recognition-reactions{width:100%;display:grid;grid-template-columns:repeat(2,1fr)}.circle-recognition-congrats-form{grid-template-columns:1fr}.circle-recognition-congrats-form button{height:36px}}


/* === ANXIRA 0.8.0.0 DISCOVER / EXPLORE === */
.discover-page{background:var(--bg);color:var(--text)}
.discover-layout{display:grid;grid-template-columns:220px minmax(0,1120px);gap:22px;max-width:1380px;margin:0 auto;padding:22px 24px 90px}
.discover-main{min-width:0;display:grid;gap:18px}
.discover-hero{padding:26px;border-radius:24px;overflow:hidden;position:relative;background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--surface) 88%,#7a42ff 12%))}
.discover-hero:after{content:'';position:absolute;width:240px;height:240px;border-radius:50%;right:-80px;top:-110px;background:radial-gradient(circle,rgba(126,67,255,.20),transparent 66%);pointer-events:none}
.discover-eyebrow,.discover-section-head>div>span{font-size:9px;font-weight:900;letter-spacing:.16em;color:var(--purple);display:block}
.discover-hero h1{font-size:clamp(25px,3.8vw,40px);line-height:1.06;margin:8px 0 9px;max-width:700px}.discover-hero p{color:var(--muted);max-width:720px;margin:0;font-size:13px;line-height:1.5}
.discover-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin-top:22px;padding-bottom:2px}.discover-tabs::-webkit-scrollbar{display:none}.discover-tabs button{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:var(--surface2);color:var(--muted);padding:9px 14px;font-size:11px;font-weight:800}.discover-tabs button.active{background:linear-gradient(135deg,#6f34ff,#8a42ff);color:#fff;border-color:transparent;box-shadow:0 8px 22px rgba(106,56,255,.2)}
.discover-search-mobile{display:none;margin-top:17px;height:44px;border:1px solid var(--line);border-radius:15px;align-items:center;gap:8px;padding:0 13px;background:var(--surface2)}.discover-search-mobile input{border:0;background:transparent;outline:0;color:var(--text);width:100%}
.discover-section{min-width:0}.discover-section.surface{padding:18px;border-radius:22px}.discover-section[hidden]{display:none!important}.discover-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:12px}.discover-section-head h2{font-size:18px;margin:3px 0 0}.discover-section-head>a,.discover-section-head>small{font-size:10px;color:var(--muted);text-decoration:none}
.discover-topic-strip,.discover-clip-row{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:2px 1px 5px}.discover-topic-strip::-webkit-scrollbar,.discover-clip-row::-webkit-scrollbar{display:none}.discover-topic{flex:0 0 180px;border:1px solid var(--line);border-radius:16px;padding:10px;background:var(--surface2)}.discover-topic-open{border:0;background:transparent;color:var(--text);display:block;text-align:left;width:100%;padding:0}.discover-topic-open b,.discover-topic-open small{display:block}.discover-topic-open b{font-size:13px}.discover-topic-open small{font-size:9px;color:var(--muted);margin-top:4px}.discover-topic-follow{margin-top:10px;width:100%;border:1px solid rgba(126,67,255,.28);border-radius:999px;background:transparent;color:var(--purple);font-size:9px;font-weight:900;padding:7px}.discover-topic-follow.following{background:rgba(126,67,255,.12)}
.discover-signal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.discover-signal-card{border-radius:18px;overflow:hidden;padding:0;display:flex;flex-direction:column;min-width:0}.discover-signal-author{display:flex;align-items:center;gap:9px;padding:11px;text-decoration:none;color:var(--text)}.discover-signal-author img{width:36px;height:36px;border-radius:50%;object-fit:cover}.discover-signal-author span{min-width:0}.discover-signal-author b,.discover-signal-author small{display:block}.discover-signal-author b{font-size:11px}.discover-signal-author small{font-size:8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.discover-signal-media{position:relative;display:block;aspect-ratio:16/10;background:#080a10;overflow:hidden}.discover-signal-media>img,.discover-signal-media>video{width:100%;height:100%;display:block;object-fit:cover}.discover-signal-media .pulse-clip-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px}.discover-signal-card>p{font-size:11px;line-height:1.45;margin:0;padding:11px;flex:1}.discover-signal-card>footer{display:flex;gap:10px;align-items:center;padding:0 11px 11px;font-size:9px;color:var(--muted)}.discover-signal-card>footer a{margin-left:auto;color:var(--purple);text-decoration:none;font-weight:800}
.discover-clip-card{flex:0 0 250px;border-radius:17px;overflow:hidden;text-decoration:none;color:var(--text);padding-bottom:10px}.discover-clip-thumb{position:relative;display:block;aspect-ratio:16/9;background:#05070b}.discover-clip-thumb img{width:100%;height:100%;object-fit:cover}.discover-clip-thumb .pulse-clip-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px}.discover-clip-card>b,.discover-clip-card>small{display:block;padding:0 10px}.discover-clip-card>b{font-size:11px;line-height:1.3;margin-top:9px}.discover-clip-card>small{font-size:8px;color:var(--muted);margin-top:4px}
.discover-people-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.discover-person-card{text-decoration:none;color:var(--text);border-radius:18px;padding:14px;display:grid;justify-items:center;text-align:center}.discover-person-avatar{position:relative;width:66px;height:66px}.discover-person-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.discover-person-avatar i{position:absolute;right:3px;bottom:4px;width:12px;height:12px;border-radius:50%;background:#28d66f;border:2px solid var(--surface)}.discover-person-card>b{font-size:11px;margin-top:9px}.discover-person-card>small{font-size:9px;color:var(--muted);margin-top:3px}.discover-person-card>em{font-style:normal;font-size:8px;color:var(--purple);margin-top:8px}
.discover-circle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.discover-circle-card{text-decoration:none;color:var(--text);border-radius:18px;overflow:hidden}.discover-circle-cover{width:100%;height:76px;object-fit:cover;display:block}.discover-circle-card>div{padding:13px}.discover-circle-icon{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#6a34f2,#9b55ff);color:#fff;display:grid;place-items:center;margin-bottom:8px;overflow:hidden}.discover-circle-icon img{width:100%;height:100%;object-fit:cover}.discover-circle-card b,.discover-circle-card small,.discover-circle-card p,.discover-circle-card em{display:block}.discover-circle-card b{font-size:12px}.discover-circle-card small{font-size:8px;color:var(--muted);margin-top:3px}.discover-circle-card p{font-size:9px;line-height:1.4;color:var(--muted);margin:8px 0}.discover-circle-card em{font-style:normal;color:var(--purple);font-size:9px;font-weight:800}
.discover-mission-grid,.discover-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.discover-mission-card,.discover-game-card{text-decoration:none;color:var(--text);border-radius:18px;padding:15px;display:grid;grid-template-columns:auto 1fr;gap:12px}.discover-mission-card>span,.discover-game-card>span{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#5630d4,#8c4bff);display:grid;place-items:center;color:#fff;font-size:22px}.discover-mission-card b,.discover-game-card b,.discover-mission-card small,.discover-game-card small,.discover-mission-card p,.discover-game-card p,.discover-mission-card em,.discover-game-card em{display:block}.discover-mission-card b,.discover-game-card b{font-size:12px}.discover-mission-card small,.discover-game-card small{font-size:8px;color:var(--muted);margin-top:3px}.discover-mission-card p,.discover-game-card p{font-size:9px;color:var(--muted);line-height:1.4;margin:8px 0}.discover-mission-card em,.discover-game-card em{font-style:normal;font-size:9px;color:var(--purple);font-weight:800}
.discover-empty,.discover-no-results{padding:22px;text-align:center;color:var(--muted);border-radius:18px}.discover-no-results b,.discover-no-results span{display:block}.discover-no-results b{color:var(--text);margin-bottom:5px}
@media(max-width:1100px){.discover-layout{grid-template-columns:190px minmax(0,1fr)}.discover-signal-grid,.discover-circle-grid,.discover-mission-grid,.discover-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discover-people-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.discover-layout{display:block;padding:10px 10px 88px}.discover-layout>.left-rail{display:none}.discover-page .topbar-search{display:none}.discover-hero{padding:20px 16px;border-radius:20px}.discover-search-mobile{display:flex}.discover-tabs{margin-left:-3px;margin-right:-3px}.discover-section.surface{padding:14px;border-radius:18px}.discover-section-head{align-items:center}.discover-section-head>small{display:none}.discover-signal-grid{grid-template-columns:1fr}.discover-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discover-circle-grid,.discover-mission-grid,.discover-game-grid{grid-template-columns:1fr}.discover-topic{flex-basis:160px}.discover-clip-card{flex-basis:220px}.discover-signal-card{border-radius:17px}.discover-page .mobile-nav{display:grid}}


/* === ANXIRA 0.8.0.1 LOCATION AUTOCOMPLETE + DISCOVER PERSONALIZATION === */
.anxira-location-field{position:relative;display:flex;align-items:center;border:1px solid var(--line);background:var(--surface2);border-radius:12px;min-height:44px;padding:0 11px;gap:8px}.anxira-location-field>span{color:var(--purple)}.anxira-location-field input{border:0!important;background:transparent!important;padding:11px 0!important;min-width:0;width:100%;outline:0;color:var(--text)}
.anxira-location-autocomplete{position:relative;flex:1;min-width:0}.signal-location-search .anxira-location-autocomplete{width:100%}.anxira-location-menu{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:500;max-height:300px;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:0 18px 46px rgba(17,12,42,.22)}.anxira-location-menu[hidden]{display:none!important}.anxira-location-menu button{width:100%;border:0;background:transparent;color:var(--text);display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:7px;text-align:left;padding:9px 10px;border-radius:10px}.anxira-location-menu button:hover,.anxira-location-menu button.active{background:rgba(125,66,255,.10)}.anxira-location-menu button span{font-size:15px}.anxira-location-menu button b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.anxira-location-menu button small{font-size:9px;color:var(--muted);font-weight:800}.anxira-location-quick{display:flex!important;flex-wrap:wrap;gap:7px}.anxira-location-quick button{width:auto!important;flex:0 0 auto!important}
.discover-personalize{display:grid;grid-template-columns:1.35fr .85fr;gap:18px;padding:18px;margin-bottom:16px}.discover-personalize-block h3{margin:3px 0 4px}.discover-personalize-block p{margin:0;color:var(--muted);font-size:11px}.discover-interest-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.discover-interest-chip{border:1px solid var(--line);border-radius:999px;background:var(--surface2);color:var(--text);padding:8px 11px;font-size:10px;font-weight:800}.discover-interest-chip.active{border-color:rgba(129,70,255,.48);background:rgba(129,70,255,.12);color:var(--purple)}.discover-saved-search-list{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.discover-saved-search-list>button{border:1px solid var(--line);border-radius:999px;background:var(--surface2);color:var(--text);padding:7px 8px 7px 10px;font-size:10px;display:flex;align-items:center;gap:6px}.discover-saved-search-list i{font-style:normal;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;color:var(--muted)}.discover-saved-search-list i:hover{background:rgba(255,80,110,.12);color:#ff5d76}.discover-save-search{font-size:10px!important;padding:8px 11px!important}
@media(max-width:800px){.discover-personalize{grid-template-columns:1fr;padding:15px;margin:12px}.anxira-location-menu{max-height:245px}.discover-interest-chip{padding:9px 12px}}

/* 0.8.0.1.1 city/country autocomplete */
.anxira-location-empty{padding:12px;color:var(--muted);font-size:11px;text-align:center}.anxira-location-menu button small{max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


/* === ANXIRA 0.8.0.2 SELF-HOSTED LOCATION ENGINE + NEAR YOU === */
.discover-nearby-section{overflow:hidden}.discover-local-people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.discover-local-people .discover-person-card{background:var(--surface2)}
.discover-local-signals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.discover-local-signal{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:start;padding:11px;border:1px solid var(--line);border-radius:15px;background:var(--surface2);color:var(--text);text-decoration:none}.discover-local-signal>img{width:42px;height:42px;border-radius:50%;object-fit:cover}.discover-local-signal span{min-width:0}.discover-local-signal b,.discover-local-signal small{display:block}.discover-local-signal small{font-size:9px;color:var(--muted);margin-top:2px}.discover-local-signal p{font-size:11px;line-height:1.4;margin:5px 0 0;color:var(--text)}.discover-local-signal>i{font-style:normal;color:var(--purple);font-size:18px}.discover-nearby-empty{display:flex;align-items:center;gap:13px;padding:18px;margin-top:12px;border:1px dashed var(--line);border-radius:16px;background:var(--surface2)}.discover-nearby-empty>span{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:rgba(125,66,255,.12);color:var(--purple);font-size:20px}.discover-nearby-empty b{display:block}.discover-nearby-empty p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.4}
@media(max-width:900px){.discover-local-people{grid-template-columns:repeat(2,minmax(0,1fr))}.discover-local-signals{grid-template-columns:1fr}}
@media(max-width:560px){.discover-local-people{display:flex;overflow-x:auto;gap:9px;scrollbar-width:none}.discover-local-people::-webkit-scrollbar{display:none}.discover-local-people .discover-person-card{min-width:156px}.discover-nearby-section{border-radius:18px!important}.discover-local-signal{grid-template-columns:38px minmax(0,1fr) auto}.discover-local-signal>img{width:38px;height:38px}}


/* === ANXIRA 0.8.0.3 LOCAL DISCOVERY RADIUS === */
.discover-radius-control{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.discover-radius-control>span{font-size:9px;font-weight:900;letter-spacing:.1em;color:var(--muted);margin-right:2px}.discover-radius-control button{border:1px solid var(--line);background:var(--surface2);color:var(--muted);height:30px;padding:0 10px;border-radius:999px;font-size:9px;font-weight:800}.discover-radius-control button.active{background:linear-gradient(135deg,#6d35f7,#914fff);color:#fff;border-color:transparent;box-shadow:0 7px 18px rgba(102,50,236,.20)}
.discover-local-origin{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid rgba(128,76,255,.18);border-radius:14px;background:linear-gradient(135deg,rgba(126,69,255,.08),rgba(44,207,255,.05));margin:10px 0 13px}.discover-local-origin>span{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:rgba(124,70,255,.12);color:#8148ff}.discover-local-origin b,.discover-local-origin small{display:block}.discover-local-origin b{font-size:12px}.discover-local-origin small{font-size:9px;color:var(--muted);margin-top:2px}
.discover-nearby-events{margin-top:15px;border-top:1px solid var(--line);padding-top:13px}.discover-subhead span,.discover-subhead b{display:block}.discover-subhead span{font-size:8px;letter-spacing:.12em;color:var(--purple);font-weight:900}.discover-subhead b{font-size:13px;margin-top:2px}.discover-nearby-event{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.discover-event-date{width:42px;height:48px;border-radius:13px;background:var(--surface2);display:grid;place-items:center;align-content:center}.discover-event-date b{font-size:16px;line-height:1}.discover-event-date small{font-size:8px;color:var(--purple);font-weight:900;margin-top:3px}.discover-nearby-event>div>b,.discover-nearby-event>div>small{display:block}.discover-nearby-event>div>b{font-size:12px}.discover-nearby-event>div>small{font-size:9px;color:var(--muted);margin-top:3px}.discover-nearby-event p{margin:5px 0 0;font-size:10px;color:var(--muted);line-height:1.35}.discover-nearby-event>em{font-style:normal;font-size:9px;color:var(--purple);font-weight:800;white-space:nowrap}
@media(max-width:800px){.discover-section-head{align-items:flex-start}.discover-radius-control{width:100%;margin-top:8px}.discover-radius-control button{flex:1;min-width:55px}.discover-nearby-event{grid-template-columns:42px minmax(0,1fr)}.discover-nearby-event>em{grid-column:2}}


/* === ANXIRA 0.8.0.4 EVENTS / LIVE ROOMS === */
.events-page,.event-detail-page{background:var(--bg);color:var(--text)}
.events-shell,.event-detail-shell{width:min(1180px,calc(100% - 32px));margin:82px auto 100px}
.events-hero{padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:24px}.events-hero span,.event-attendees header span{font-size:9px;font-weight:900;letter-spacing:.15em;color:var(--purple)}.events-hero h1{margin:5px 0 6px;font-size:30px}.events-hero p{margin:0;color:var(--muted);max-width:650px}.events-toolbar{display:flex;align-items:center;gap:8px;margin:16px 0}.events-toolbar button,.events-toolbar a{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;padding:9px 14px;text-decoration:none;font-size:11px;font-weight:800}.events-toolbar button.active{background:rgba(126,67,255,.12);border-color:rgba(126,67,255,.35);color:var(--purple)}
.events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.event-directory-card{overflow:hidden;border-radius:22px;min-width:0}.event-directory-cover{position:relative;display:block;aspect-ratio:16/8.5;background:#090a10;color:#fff;text-decoration:none;overflow:hidden}.event-directory-cover img{width:100%;height:100%;object-fit:cover}.event-directory-cover>span{position:absolute;left:12px;top:12px;padding:6px 8px;border-radius:999px;background:rgba(10,11,17,.7);backdrop-filter:blur(10px);font-size:7px;font-weight:900;letter-spacing:.12em}.event-cover-default{background:radial-gradient(circle at 70% 20%,rgba(71,211,255,.28),transparent 35%),linear-gradient(135deg,#24105e,#7135ec 60%,#302a80)}.event-cover-default>b{position:absolute;left:18px;bottom:16px;font-size:25px}.event-directory-body{padding:15px}.event-directory-date{font-size:9px;font-weight:900;color:var(--purple);letter-spacing:.05em}.event-directory-body h2{font-size:17px;margin:5px 0}.event-directory-body h2 a{text-decoration:none;color:var(--text)}.event-directory-body p{color:var(--muted);font-size:11px;line-height:1.5;min-height:48px}.event-directory-body>small{display:block;font-size:9px;color:var(--muted);margin:5px 0}.event-directory-body footer{border-top:1px solid var(--line);margin-top:12px;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:8px}.event-directory-body footer a{display:flex;align-items:center;gap:7px;color:var(--text);text-decoration:none;font-size:9px}.event-directory-body footer img{width:28px;height:28px;border-radius:50%;object-fit:cover}.event-directory-body footer>b{font-size:8px;color:var(--muted);text-align:right}.events-empty{grid-column:1/-1;padding:40px;text-align:center;border-radius:22px}.events-empty>span{font-size:34px;color:var(--purple)}.events-empty b,.events-empty p{display:block}.events-empty p{color:var(--muted)}
.event-create-modal{position:fixed;inset:0;z-index:1300;background:rgba(5,6,12,.66);backdrop-filter:blur(10px);display:grid;place-items:center;padding:18px;opacity:0;transition:opacity .16s}.event-create-modal.open{opacity:1}.event-create-modal[hidden]{display:none}.event-create-sheet{width:min(620px,96vw);max-height:90dvh;overflow:auto;border-radius:26px;padding:20px}.event-create-sheet>header{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;text-align:center;margin-bottom:16px}.event-create-sheet>header button{border:0;background:transparent;color:var(--text);font-size:28px}.event-create-sheet>header span{font-size:8px;color:var(--purple);font-weight:900;letter-spacing:.12em}.event-create-sheet h2{margin:3px 0}.event-create-sheet form{display:grid;gap:12px}.event-create-sheet label{display:grid;gap:6px}.event-create-sheet label>span{font-size:9px;color:var(--muted);font-weight:800}.event-create-sheet input,.event-create-sheet textarea,.event-create-sheet select{width:100%;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:14px;padding:12px;outline:none}.event-create-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.event-cover-upload small{font-size:8px;color:var(--muted)}.event-create-status{font-size:10px;color:var(--muted);text-align:center;margin:0}
.event-detail-shell{max-width:980px}.event-back{display:inline-block;margin-bottom:12px;color:var(--muted);text-decoration:none;font-size:11px}.event-detail-hero{overflow:hidden;border-radius:26px}.event-detail-cover{display:block;width:100%;height:min(380px,42vw);object-fit:cover}.event-detail-cover.event-cover-default{height:260px;position:relative}.event-detail-cover.event-cover-default span{position:absolute;left:25px;bottom:25px;color:#fff;font-weight:900;letter-spacing:.12em}.event-detail-content{padding:24px}.event-kind-badge{font-size:8px;font-weight:900;letter-spacing:.12em;color:var(--purple)}.event-detail-content h1{font-size:32px;margin:6px 0 10px}.event-detail-content>p{color:var(--muted);line-height:1.6}.event-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.event-detail-facts>div{border:1px solid var(--line);background:var(--surface2);border-radius:16px;padding:12px;display:grid;grid-template-columns:auto 1fr;column-gap:8px}.event-detail-facts span{grid-row:1/3;font-size:20px;color:var(--purple)}.event-detail-facts b{font-size:11px}.event-detail-facts small{font-size:9px;color:var(--muted)}.event-host{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:var(--text)}.event-host img{width:40px;height:40px;border-radius:50%;object-fit:cover}.event-host small,.event-host b{display:block}.event-host small{font-size:8px;color:var(--muted)}
.event-rsvp-panel{margin-top:14px;padding:17px 20px;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:18px}.event-rsvp-panel>div:first-child b,.event-rsvp-panel>div:first-child span{display:block}.event-rsvp-panel>div:first-child span{font-size:9px;color:var(--muted);margin-top:4px}.event-rsvp-actions{display:flex;gap:7px}.event-rsvp-actions button{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:999px;padding:10px 14px;font-weight:800;font-size:10px}.event-rsvp-actions button.active{background:linear-gradient(135deg,#6f34ff,#8a42ff);border-color:transparent;color:#fff}.event-attendees{margin-top:14px;padding:20px;border-radius:20px}.event-attendees h2{margin:4px 0 14px}.event-attendee-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.event-attendee-grid>a{display:grid;justify-items:center;text-align:center;text-decoration:none;color:var(--text);background:var(--surface2);border:1px solid var(--line);border-radius:15px;padding:10px}.event-attendee-grid>a>span{position:relative}.event-attendee-grid img{width:48px;height:48px;border-radius:50%;object-fit:cover}.event-attendee-grid i{position:absolute;right:0;bottom:2px;width:10px;height:10px;border-radius:50%;background:#30d575;border:2px solid var(--surface2)}.event-attendee-grid b{font-size:9px;margin-top:6px}.event-attendee-grid small{font-size:8px;color:var(--muted)}.event-live-foundation{margin-top:14px;padding:18px;border-radius:20px;display:flex;gap:13px;align-items:center}.event-live-foundation>span{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#6f34ff,#36d9ff);color:#fff;display:grid;place-items:center;font-size:23px}.event-live-foundation p{margin:4px 0;color:var(--muted);font-size:10px;line-height:1.45}
@media(max-width:900px){.events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.event-attendee-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.events-shell,.event-detail-shell{width:100%;margin:62px auto 82px;padding:10px}.events-hero{padding:18px;align-items:flex-start}.events-hero h1{font-size:23px}.events-hero p{font-size:10px}.events-hero .btn{white-space:nowrap;padding:9px 11px}.events-toolbar{overflow-x:auto;white-space:nowrap}.events-grid{grid-template-columns:1fr}.event-create-sheet{padding:16px;border-radius:22px}.event-create-two{grid-template-columns:1fr}.event-detail-cover{height:230px}.event-detail-content{padding:17px}.event-detail-content h1{font-size:24px}.event-detail-facts{grid-template-columns:1fr}.event-rsvp-panel{align-items:flex-start;flex-direction:column}.event-rsvp-actions{width:100%;display:grid;grid-template-columns:1fr 1fr 1fr}.event-rsvp-actions button{padding:10px 6px}.event-attendee-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* === ANXIRA 0.8.0.5 EVENT SOCIAL + HOST CONTROLS === */
.event-cancelled-banner{margin-bottom:12px;padding:12px 16px;border-radius:16px;background:rgba(239,76,93,.12);border:1px solid rgba(239,76,93,.3);color:#e95463;font-size:10px;font-weight:900;letter-spacing:.05em;text-align:center}
.event-invite-response{margin-bottom:14px;padding:16px 18px;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,var(--surface),rgba(112,52,255,.08))}.event-invite-response span,.event-discussion header>span,.event-activity header>span{font-size:8px;color:var(--purple);font-weight:900;letter-spacing:.13em}.event-invite-response b,.event-invite-response small{display:block}.event-invite-response small{color:var(--muted);font-size:9px;margin-top:4px}.event-invite-response>div:last-child{display:flex;gap:8px}.event-invite-response button{border:1px solid var(--line);border-radius:999px;padding:10px 14px;background:var(--surface2);color:var(--text);font-weight:800}.event-invite-response button:first-child{background:linear-gradient(135deg,#6f34ff,#8a42ff);border-color:transparent;color:#fff}
.event-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.event-host-manage{border:1px solid rgba(126,67,255,.28);background:rgba(126,67,255,.08);color:var(--purple);border-radius:999px;padding:8px 12px;font-size:9px;font-weight:900}
.event-detail-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:14px}.event-activity{margin-top:14px;padding:20px;border-radius:20px}.event-activity h2{margin:4px 0 13px}.event-activity-list{display:grid;gap:8px}.event-activity-list>a{display:flex;gap:9px;align-items:center;text-decoration:none;color:var(--text);padding:8px;border-radius:13px;background:var(--surface2);border:1px solid var(--line)}.event-activity-list img{width:34px;height:34px;border-radius:50%;object-fit:cover}.event-activity-list b,.event-activity-list small{display:block}.event-activity-list b{font-size:9px}.event-activity-list small{font-size:8px;color:var(--muted);margin-top:2px}
.event-attendee-grid>article{display:grid;justify-items:center;text-align:center;background:var(--surface2);border:1px solid var(--line);border-radius:15px;padding:10px}.event-attendee-grid>article>a{display:grid;justify-items:center;text-align:center;text-decoration:none;color:var(--text)}.event-attendee-grid>article>a>span{position:relative}.event-attendee-grid>article button{margin-top:7px;border:0;background:transparent;color:#e95463;font-size:8px;font-weight:800}
.event-discussion{margin-top:14px;padding:20px;border-radius:20px}.event-discussion header{position:relative}.event-discussion header h2{margin:4px 0 3px}.event-discussion header small{color:var(--muted);font-size:9px}.event-comment-list{display:grid;gap:9px;margin-top:15px}.event-comment-list>article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:9px;align-items:start}.event-comment-list img{width:38px;height:38px;border-radius:50%;object-fit:cover}.event-comment-list>article>div{background:var(--surface2);border:1px solid var(--line);border-radius:15px;padding:10px 12px}.event-comment-list b{font-size:9px}.event-comment-list p{margin:4px 0;font-size:11px;line-height:1.45}.event-comment-list small{font-size:8px;color:var(--muted)}.event-comment-list>article>button{border:0;background:transparent;color:var(--muted);font-size:18px}.event-empty-discussion{color:var(--muted);font-size:10px}.event-comment-form{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:9px;align-items:end;margin-top:15px}.event-comment-form img{width:38px;height:38px;border-radius:50%;object-fit:cover}.event-comment-form textarea{min-height:42px;max-height:120px;resize:vertical;border:1px solid var(--line);border-radius:15px;background:var(--surface2);color:var(--text);padding:11px;outline:none}.event-comment-form button{height:42px;border:0;border-radius:999px;background:linear-gradient(135deg,#6f34ff,#8a42ff);color:#fff;padding:0 17px;font-weight:900}
.event-manage-modal{position:fixed;inset:0;z-index:1500;background:rgba(4,5,12,.68);backdrop-filter:blur(10px);display:grid;place-items:center;padding:18px;opacity:0;transition:opacity .16s}.event-manage-modal.open{opacity:1}.event-manage-modal[hidden]{display:none}.event-manage-sheet{width:min(650px,96vw);max-height:90dvh;overflow:auto;border-radius:25px;padding:19px}.event-manage-sheet>header{display:grid;grid-template-columns:40px 1fr 40px;text-align:center;align-items:center}.event-manage-sheet>header button{border:0;background:transparent;color:var(--text);font-size:28px}.event-manage-sheet>header span{font-size:8px;color:var(--purple);letter-spacing:.13em;font-weight:900}.event-manage-sheet h2{margin:3px 0}.event-manage-tabs{display:flex;gap:7px;margin:15px 0;overflow-x:auto}.event-manage-tabs button{border:1px solid var(--line);background:var(--surface2);color:var(--muted);border-radius:999px;padding:8px 12px;font-size:9px;font-weight:900;white-space:nowrap}.event-manage-tabs button.active{color:#fff;background:linear-gradient(135deg,#6f34ff,#8a42ff);border-color:transparent}.event-manage-sheet form{display:grid;gap:11px}.event-manage-sheet label{display:grid;gap:5px}.event-manage-sheet label>span{font-size:9px;color:var(--muted);font-weight:800}.event-manage-sheet input,.event-manage-sheet textarea,.event-manage-sheet select{width:100%;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:14px;padding:11px;outline:none}.event-cancel-danger{border:1px solid rgba(239,76,93,.28);background:rgba(239,76,93,.08);color:#e95463;border-radius:14px;padding:11px;font-weight:900}.event-invite-people,.event-pending-invites{display:grid;gap:8px}.event-invite-people article,.event-pending-invites article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;align-items:center;background:var(--surface2);border:1px solid var(--line);border-radius:14px;padding:9px}.event-invite-people img,.event-pending-invites img{width:42px;height:42px;border-radius:50%;object-fit:cover}.event-invite-people b,.event-invite-people small,.event-pending-invites b,.event-pending-invites small{display:block}.event-invite-people b,.event-pending-invites b{font-size:10px}.event-invite-people small,.event-pending-invites small{font-size:8px;color:var(--muted)}.event-invite-people button,.event-pending-invites button{border:1px solid rgba(126,67,255,.3);background:rgba(126,67,255,.08);color:var(--purple);border-radius:999px;padding:8px 12px;font-size:9px;font-weight:900}
@media(max-width:800px){.event-detail-grid{grid-template-columns:1fr}.event-invite-response{align-items:flex-start;flex-direction:column}.event-invite-response>div:last-child{width:100%}.event-invite-response button{flex:1}.event-title-row{align-items:flex-start}.event-comment-form{grid-template-columns:34px minmax(0,1fr)}.event-comment-form button{grid-column:2}.event-comment-form img{width:34px;height:34px}.event-manage-sheet{padding:15px}.event-invite-people article,.event-pending-invites article{grid-template-columns:38px minmax(0,1fr) auto}.event-invite-people img,.event-pending-invites img{width:38px;height:38px}}


/* === ANXIRA 0.8.0.6 EVENT SCHEDULE / SAVE / REMINDER === */
.event-title-actions{display:flex;align-items:center;gap:8px}.event-save-button,.event-card-save{border:1px solid var(--line);background:var(--surface2);color:var(--muted);border-radius:999px;font-weight:850}.event-save-button{height:36px;padding:0 13px}.event-save-button.saved,.event-card-save.saved{color:#8b4cff;border-color:rgba(139,76,255,.38);background:rgba(139,76,255,.10)}
.event-reminder-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;margin-top:12px}.event-reminder-panel>div{display:flex;align-items:center;gap:11px}.event-reminder-panel b,.event-reminder-panel small{display:block}.event-reminder-panel small{color:var(--muted);font-size:10px;margin-top:2px}.event-reminder-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(111,52,255,.14),rgba(57,210,255,.10));color:#8246ff;font-size:18px}.event-reminder-panel select{border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);padding:9px 12px;min-width:165px}
.event-upcoming-schedule{padding:18px;margin:12px 0 16px}.event-upcoming-schedule>header{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:13px}.event-upcoming-schedule>header span{display:block;font-size:8px;letter-spacing:.14em;font-weight:900;color:var(--purple)}.event-upcoming-schedule h2{margin:3px 0 0;font-size:18px}.event-upcoming-schedule>header small{color:var(--muted);font-size:10px}.event-schedule-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.event-schedule-column{border:1px solid var(--line);border-radius:16px;background:var(--surface2);padding:12px;min-width:0}.event-schedule-column>b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:7px}.event-schedule-column>a{display:grid;grid-template-columns:45px minmax(0,1fr);gap:8px;align-items:center;text-decoration:none;color:var(--text);padding:8px 0;border-top:1px solid color-mix(in srgb,var(--line) 72%,transparent)}.event-schedule-column>a:first-of-type{border-top:0}.event-schedule-column time{font-size:11px;font-weight:900;color:var(--purple)}.event-schedule-column strong,.event-schedule-column small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-schedule-column strong{font-size:11px}.event-schedule-column small{font-size:8px;color:var(--muted);margin-top:2px}.event-schedule-column p{font-size:10px;color:var(--muted);margin:10px 0 2px}.event-card-topline{display:flex;align-items:center;justify-content:space-between;gap:8px}.event-card-save{width:32px;height:32px;padding:0;font-size:16px;flex:0 0 auto}
@media(max-width:800px){.event-title-actions{gap:5px}.event-save-button{height:33px;padding:0 10px;font-size:10px}.event-reminder-panel{align-items:flex-start;flex-direction:column}.event-reminder-panel select{width:100%;min-width:0}.event-upcoming-schedule{padding:14px}.event-upcoming-schedule>header{align-items:start;flex-direction:column;gap:3px}.event-schedule-columns{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:9px}.event-schedule-column{flex:0 0 82%;scroll-snap-align:start}}


/* ANXIRA 0.8.0.7 */
.event-recurrence-box{margin:4px 0 12px;padding:13px;border:1px solid var(--line);border-radius:15px;background:var(--surface2)}
.event-recurrence-box>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.event-share-pulse{border:1px solid rgba(126,68,245,.25);background:rgba(126,68,245,.08);color:var(--purple);border-radius:999px;padding:8px 12px;font-weight:800}
.event-announcements{margin:14px 0;padding:18px}.event-announcements>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.event-announcements>header span{font-size:8px;letter-spacing:.13em;color:var(--purple);font-weight:900}
.event-announcement-list{display:grid;gap:10px;margin-top:13px}.event-announcement-list article{position:relative;border:1px solid var(--line);border-radius:15px;padding:13px;background:linear-gradient(135deg,var(--surface2),rgba(126,68,245,.05))}.event-announcement-list article>div{display:flex;align-items:center;gap:9px}.event-announcement-list img{width:34px;height:34px;border-radius:50%;object-fit:cover}.event-announcement-list p{margin:10px 0 2px;line-height:1.5}
.event-announcement-form{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:15px;background:var(--surface2)}.event-announcement-form textarea{width:100%;min-height:80px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);padding:10px}
.post-event-share{margin:8px 14px 12px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface2)}.post-event-cover{display:block;aspect-ratio:16/7}.post-event-cover img{width:100%;height:100%;object-fit:cover}.post-event-share-body{padding:12px}.post-event-share-body>span{font-size:8px;letter-spacing:.12em;color:var(--purple);font-weight:900}.post-event-share-body h3{margin:4px 0 8px}.post-event-share-body h3 a{color:var(--text);text-decoration:none}.post-event-share-body>div,.post-event-share-body footer{display:flex;flex-wrap:wrap;gap:10px}.post-event-share-body footer{justify-content:space-between;margin-top:12px;font-size:10px}.post-event-share-body footer a{color:var(--purple);font-weight:900;text-decoration:none}
@media(max-width:800px){.event-recurrence-box>div{grid-template-columns:1fr}.event-title-actions{flex-wrap:wrap}.post-event-share{margin-left:12px;margin-right:12px}}


/* === ANXIRA 0.8.0.8 EVENT SERIES MANAGEMENT === */
.event-series-overview{margin:14px 0;padding:18px}.event-series-overview>header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}.event-series-overview>header span{font-size:8px;letter-spacing:.14em;color:var(--purple);font-weight:900}.event-series-overview>header h2{margin:3px 0 0;font-size:16px}.event-series-overview>header small{font-size:10px;color:var(--muted)}
.event-series-strip{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.event-series-strip::-webkit-scrollbar{display:none}.event-series-item{flex:0 0 188px;display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:15px;background:var(--surface2);text-decoration:none;color:var(--text)}.event-series-item.current{border-color:#8a42ff;box-shadow:0 0 0 2px rgba(138,66,255,.10)}.event-series-item.cancelled{opacity:.58}.event-series-item time{display:grid;place-items:center;border-radius:12px;background:rgba(126,67,255,.09);padding:8px 5px;font-size:10px;color:var(--purple);font-weight:900}.event-series-item time b{display:block;color:var(--text);font-size:12px;margin-top:2px}.event-series-item span strong,.event-series-item span small{display:block}.event-series-item span strong{font-size:11px}.event-series-item span small{font-size:9px;color:var(--muted);margin-top:3px}
.event-series-scope{padding:10px 12px;border:1px solid rgba(138,66,255,.20);border-radius:14px;background:rgba(138,66,255,.06)}.event-series-scope small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.event-series-cancel-box{display:grid;gap:8px;margin:14px 0 9px;padding:12px;border:1px solid rgba(232,78,98,.22);border-radius:14px;background:rgba(232,78,98,.05)}.event-series-cancel-box label{margin:0}.event-transfer-rsvp{display:flex!important;align-items:center;gap:8px!important;font-size:10px!important;color:var(--muted)!important}.event-transfer-rsvp input{width:auto!important}.event-series-cancel-box select{width:100%}
@media(max-width:800px){.event-series-overview{padding:15px;border-radius:18px}.event-series-item{flex-basis:176px}}


/* === ANXIRA 0.8.0.9 EVENT CO-HOSTS + DELEGATED MANAGEMENT === */
.event-host-team{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.event-cohost-chip{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--text);padding:7px 10px;border:1px solid rgba(130,78,255,.22);border-radius:14px;background:rgba(126,70,255,.06)}.event-cohost-chip img{width:32px;height:32px;border-radius:50%;object-fit:cover}.event-cohost-chip span{display:grid}.event-cohost-chip small{font-size:8px;color:var(--purple);font-weight:900;letter-spacing:.08em;text-transform:uppercase}.event-cohost-chip b{font-size:11px}.event-manage-tabs{overflow-x:auto;scrollbar-width:none}.event-manage-tabs::-webkit-scrollbar{display:none}.event-team-panel,.event-audit-panel{display:grid;gap:14px}.event-team-head b,.event-audit-panel header b{display:block;font-size:14px}.event-team-head small,.event-audit-panel header small{display:block;color:var(--muted);font-size:10px;margin-top:4px;line-height:1.45}.event-cohost-list{display:grid;gap:8px}.event-cohost-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.event-cohost-list article>a{display:flex;align-items:center;gap:9px;min-width:0;text-decoration:none;color:var(--text)}.event-cohost-list img{width:38px;height:38px;border-radius:50%;object-fit:cover}.event-cohost-list span{display:grid}.event-cohost-list small{font-size:9px;color:var(--purple);font-weight:800}.event-cohost-list button{border:1px solid rgba(235,91,111,.25);background:rgba(235,91,111,.08);color:#d85d70;border-radius:10px;padding:7px 10px;font-size:10px}.event-cohost-add{border-top:1px solid var(--line);padding-top:13px;display:grid;gap:10px}.event-cohost-add label{display:grid;gap:6px}.event-cohost-add label>span{font-size:10px;font-weight:800;color:var(--muted)}.event-cohost-add select{width:100%;min-height:42px;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:12px;padding:0 10px}.event-team-scope{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:8px!important;font-size:10px;color:var(--muted)}.event-team-empty,.event-team-note{font-size:10px;color:var(--muted);padding:10px 0;margin:0}.event-audit-list{display:grid;gap:0;border:1px solid var(--line);border-radius:15px;overflow:hidden}.event-audit-list article{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:start;padding:11px 12px;background:var(--surface2);border-bottom:1px solid var(--line)}.event-audit-list article:last-child{border-bottom:0}.event-audit-dot{width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,#7540ff,#45c9ff);margin-top:5px;box-shadow:0 0 0 4px rgba(116,64,255,.09)}.event-audit-list b{font-size:10px}.event-audit-list p{margin:2px 0;font-size:10px}.event-audit-list small,.event-audit-list time{font-size:8px;color:var(--muted)}
@media(max-width:800px){.event-host-team{align-items:stretch}.event-cohost-chip{flex:1 1 145px}.event-manage-tabs{display:flex!important}.event-manage-tabs button{flex:0 0 auto}.event-audit-list article{grid-template-columns:10px minmax(0,1fr)}.event-audit-list time{grid-column:2}}


/* === ANXIRA 0.8.1.0 EVENT CHECK-IN + POST-EVENT RECAP === */
.event-checkin-self{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;margin:12px 0}.event-checkin-self>div{display:flex;align-items:center;gap:12px}.event-checkin-self b,.event-checkin-self small{display:block}.event-checkin-self small{color:var(--muted);font-size:10px;margin-top:3px}.event-checkin-icon{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#6530ef,#9c55ff);color:#fff;font-weight:900;box-shadow:0 10px 25px rgba(100,48,239,.22)}.event-checkin-self button,.event-checkin-toggle{border:1px solid rgba(126,69,255,.32);background:rgba(126,69,255,.08);color:#7e45ff;border-radius:999px;font-weight:900;padding:9px 14px}.event-checkin-self button.checked,.event-checkin-toggle.checked{background:linear-gradient(135deg,#6530ef,#8d48ff);border-color:transparent;color:#fff}.event-attendee-actions{display:flex;align-items:center;gap:6px;justify-content:center;flex-wrap:wrap}.event-attendee-actions [data-event-remove-attendee]{margin:0!important}.event-outcome{padding:18px;margin:14px 0}.event-outcome>header{display:flex;align-items:end;justify-content:space-between;gap:14px}.event-outcome>header span{font-size:8px;letter-spacing:.15em;color:var(--purple);font-weight:900}.event-outcome>header h2{margin:3px 0 0;font-size:20px}.event-outcome>header small{font-size:9px;color:var(--muted)}.event-outcome-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0}.event-outcome-stats>div{border:1px solid var(--line);background:var(--surface2);border-radius:15px;padding:13px;text-align:center}.event-outcome-stats strong{display:block;font-size:21px;color:var(--text)}.event-outcome-stats span{font-size:9px;color:var(--muted)}.event-recap-card{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:15px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface2)}.event-recap-card>img{width:100%;height:100%;min-height:170px;object-fit:cover}.event-recap-card>div{padding:15px}.event-recap-card span{font-size:8px;letter-spacing:.14em;color:var(--purple);font-weight:900}.event-recap-card h3{margin:4px 0 8px}.event-recap-card p{margin:0;line-height:1.5;font-size:13px}.event-recap-card small{display:block;color:var(--muted);font-size:9px;margin-top:10px}.event-recap-card a{display:inline-block;margin-top:10px;color:var(--purple);font-size:10px;font-weight:900;text-decoration:none}.event-recap-empty{color:var(--muted);font-size:11px}.event-recap-form{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.event-recap-form textarea{min-height:110px;resize:vertical;border:1px solid var(--line);border-radius:14px;background:var(--surface2);color:var(--text);padding:12px;outline:0}.event-recap-form label span{display:block;font-size:9px;color:var(--muted);font-weight:800;margin-bottom:5px}.event-recap-form>div{display:flex;gap:8px;flex-wrap:wrap}.event-recap-form>div>button:not(.btn){border:1px solid rgba(126,69,255,.25);background:rgba(126,69,255,.08);color:#7e45ff;border-radius:12px;padding:10px 14px;font-weight:900}
@media(max-width:800px){.event-checkin-self{align-items:stretch;flex-direction:column}.event-checkin-self button{width:100%}.event-outcome-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.event-recap-card{grid-template-columns:1fr}.event-recap-card>img{max-height:260px}.event-outcome>header{align-items:flex-start;flex-direction:column}}


/* === ANXIRA 0.8.1.1 EVENT FOLLOW-UP + COMMUNITY MEMORY === */
.event-follow-host,.event-follow-series{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:999px;padding:9px 13px;font-weight:800;font-size:10px}.event-follow-host.active,.event-follow-series.active{border-color:rgba(126,75,255,.38);color:#8752ff;background:rgba(126,75,255,.08)}
.event-lifecycle,.event-followup{margin-top:14px;padding:18px}.event-lifecycle>header,.event-followup>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-bottom:15px}.event-lifecycle>header span,.event-followup>header span,.event-feedback-card>span,.event-memory-contribute>span,.event-next-card>span,.event-duplicate-card>span{font-size:8px;font-weight:900;letter-spacing:.13em;color:var(--purple)}.event-lifecycle>header h2,.event-followup>header h2{margin:3px 0 0;font-size:18px}.event-lifecycle>header small{color:var(--muted);font-size:10px}
.event-lifecycle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.event-feedback-card,.event-memory-contribute{border:1px solid var(--line);background:var(--surface2);border-radius:17px;padding:15px}.event-feedback-card h3,.event-memory-contribute h3{margin:5px 0 8px}.event-memory-contribute p{font-size:11px;color:var(--muted);line-height:1.45}.event-rating-stars{display:flex;gap:4px;margin:8px 0}.event-rating-stars button{border:0;background:transparent;color:#b7bac5;font-size:26px;padding:1px}.event-rating-stars button.active{color:#8b50ff;text-shadow:0 5px 16px rgba(120,70,255,.25)}.event-feedback-card textarea,.event-memory-contribute textarea,.event-gallery-add input{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;padding:10px;box-sizing:border-box}.event-feedback-card textarea,.event-memory-contribute textarea{min-height:82px;resize:vertical}.event-feedback-card>button,.event-memory-contribute button,.event-gallery-add button{margin-top:9px;border:0;border-radius:999px;background:linear-gradient(135deg,#6f34ff,#9857ff);color:#fff;padding:10px 15px;font-weight:900}.event-memory-contribute input[type=file]{display:block;margin-top:8px;font-size:10px}
.event-memory-review{margin-top:15px;border-top:1px solid var(--line);padding-top:14px}.event-memory-review>article{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.event-memory-review img{width:70px;height:56px;object-fit:cover;border-radius:10px}.event-memory-review p{font-size:11px;margin:3px 0;color:var(--muted)}.event-memory-review article>div:last-child{display:flex;gap:5px}.event-memory-review button{border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:999px;padding:7px 10px;font-size:9px}
.event-recap-gallery{margin-top:17px}.event-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.event-gallery-grid figure{margin:0;position:relative;border-radius:14px;overflow:hidden;background:var(--surface2);border:1px solid var(--line)}.event-gallery-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}.event-gallery-grid figcaption{font-size:9px;padding:7px;color:var(--muted)}.event-gallery-grid figcaption button{float:right;border:0;background:transparent;color:var(--muted)}.event-gallery-grid .attendee-memory:not(:has(img)){min-height:110px;display:grid;align-content:end}.event-gallery-grid .attendee-memory figcaption b{color:var(--text)}.event-gallery-add{margin-top:14px;display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}.event-gallery-add h3{grid-column:1/-1;margin:0}.event-gallery-add button{margin:0}
.event-followup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.event-next-card,.event-duplicate-card{border:1px solid var(--line);background:linear-gradient(135deg,var(--surface2),rgba(116,55,244,.06));color:var(--text);border-radius:16px;padding:14px;text-align:left;text-decoration:none;display:block}.event-next-card b,.event-next-card small,.event-duplicate-card b,.event-duplicate-card small{display:block}.event-next-card b,.event-duplicate-card b{margin-top:5px;font-size:13px}.event-next-card small,.event-duplicate-card small{margin-top:5px;font-size:10px;color:var(--muted)}.event-next-card.muted{opacity:.75}.event-host-insights{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:14px}.event-host-insights>div{border:1px solid var(--line);background:var(--surface2);border-radius:13px;padding:11px;text-align:center}.event-host-insights strong,.event-host-insights span{display:block}.event-host-insights strong{font-size:17px}.event-host-insights span{font-size:8px;color:var(--muted);margin-top:4px}
@media(max-width:800px){.event-lifecycle,.event-followup{padding:14px}.event-lifecycle-grid,.event-followup-grid{grid-template-columns:1fr}.event-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.event-gallery-add{grid-template-columns:1fr}.event-host-insights{grid-template-columns:repeat(2,minmax(0,1fr))}.event-memory-review>article{grid-template-columns:56px 1fr}.event-memory-review img{width:56px;height:52px}.event-memory-review article>div:last-child{grid-column:1/-1}.event-title-actions{flex-wrap:wrap}}

/* === ANXIRA 0.8.1.1.1 SHARED NETWORK LOGO === */
/* Dark and day mode deliberately use the exact same transparent artwork and geometry. */
.topbar .brand img,
body:not(.dark) .topbar .brand img,
body.dark .topbar .brand img{
  content:url('../img/anxira_network_standard_1026.png?v=082926')!important;
  width:278px!important;
  height:64px!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:none!important;
  transform-origin:left center!important;
  mix-blend-mode:normal!important;
  filter:none!important;
  border-radius:0!important;
}
@media(max-width:1180px){
  .topbar .brand img,
  body:not(.dark) .topbar .brand img,
  body.dark .topbar .brand img{
    width:238px!important;
    height:58px!important;
    transform:none!important;
  }
}
@media(max-width:800px){
  .topbar .brand img,
  body:not(.dark) .topbar .brand img,
  body.dark .topbar .brand img{
    width:145px!important;
    height:42px!important;
    max-width:none!important;
    transform:none!important;
  }
}
@media(max-width:390px){
  .topbar .brand img,
  body:not(.dark) .topbar .brand img,
  body.dark .topbar .brand img{
    width:145px!important;
    height:42px!important;
    transform:none!important;
  }
}

/* === ANXIRA 0.8.1.1.2 REAL BANNER LOGO REPLACEMENT === */
.topbar > .brand > img,
body.dark .topbar > .brand > img,
body:not(.dark) .topbar > .brand > img{
  content:url('../img/anxira_network_standard_1026.png?v=082926')!important;
  display:block!important;
  width:278px!important;
  height:64px!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:none!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  border-radius:0!important;
}
@media(max-width:1180px){
  .topbar > .brand > img,
  body.dark .topbar > .brand > img,
  body:not(.dark) .topbar > .brand > img{width:238px!important;height:58px!important}
}
@media(max-width:800px){
  .topbar > .brand > img,
  body.dark .topbar > .brand > img,
  body:not(.dark) .topbar > .brand > img{width:145px!important;height:42px!important;max-width:none!important}
}
@media(max-width:390px){
  .topbar > .brand > img,
  body.dark .topbar > .brand > img,
  body:not(.dark) .topbar > .brand > img{width:145px!important;height:42px!important}
}

/* === ANXIRA 0.8.1.1.3 BANNER LOGO SCALE-UP === */
/* One shared geometry for both themes; only the existing logo is scaled. */
.topbar > .brand{
  overflow:visible!important;
}
.topbar > .brand > img,
body.dark .topbar > .brand > img,
body:not(.dark) .topbar > .brand > img{
  content:url('../img/anxira_network_standard_1026.png?v=082926')!important;
  width:320px!important;
  height:72px!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:none!important;
}
@media(max-width:1180px){
  .topbar > .brand > img,
  body.dark .topbar > .brand > img,
  body:not(.dark) .topbar > .brand > img{
    width:285px!important;
    height:66px!important;
  }
}
@media(max-width:800px){
  .topbar > .brand > img,
  body.dark .topbar > .brand > img,
  body:not(.dark) .topbar > .brand > img{
    width:170px!important;
    height:50px!important;
    max-width:none!important;
  }
}
@media(max-width:390px){
  .topbar > .brand > img,
  body.dark .topbar > .brand > img,
  body:not(.dark) .topbar > .brand > img{
    width:170px!important;
    height:50px!important;
  }
}

/* === ANXIRA 0.8.1.3.7 MOBILE SAFE-AREA + TOUCH HARD FIX === */
@media(max-width:800px){
  :root{--top:calc(132px + env(safe-area-inset-top,0px))}
  .topbar,
  .messages-page .topbar{
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
    min-height:var(--top)!important;
    height:auto!important;
    grid-template-rows:64px 48px!important;
    padding:calc(env(safe-area-inset-top,0px) + 10px) 12px 8px!important;
    overflow:visible!important;
  }
  .topbar>.brand,.topbar>.top-actions,.topbar>.search,.topbar>.topbar-search{position:relative!important;z-index:3!important}
  .topbar .top-actions{min-height:48px!important;align-items:center!important;pointer-events:auto!important}
  .topbar .top-actions>a,.topbar .top-actions>button,.topbar .icon-btn,.topbar .mini-profile,
  .publisher-head>button,.publisher-mobile-actions>button{
    min-width:44px!important;min-height:44px!important;pointer-events:auto!important;touch-action:manipulation!important;
    -webkit-tap-highlight-color:rgba(120,55,255,.18)!important;
  }
  .topbar .mini-profile,.topbar .mini-profile img{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important}
  button,a,[role="button"],label[for]{touch-action:manipulation}
  .profile-v05-tabs{top:var(--top)!important}
  .messenger-shell{height:calc(100dvh - var(--top) - 66px)!important}
}

/* === ANXIRA 0.8.1.3.9 DRAWER RELIABILITY === */
.network-drawer-backdrop{z-index:4998!important}
.network-drawer{z-index:4999!important}
.network-drawer.open,.network-drawer-backdrop.open{pointer-events:auto!important}
@media(max-width:800px){
  .topbar .mobile-menu-button{z-index:1800!important;pointer-events:auto!important;touch-action:manipulation!important}
  html.drawer-open .network-drawer{transform:translateX(0)!important}
  html.drawer-open .network-drawer-backdrop{opacity:1!important;pointer-events:auto!important}
}

/* === ANXIRA 0.8.1.4.0 SIGNAL + PUBLICATION EDITING === */
.signal-edit-modal{position:fixed;inset:0;z-index:7000;display:grid;place-items:center;padding:18px;background:rgba(5,6,13,.68);backdrop-filter:blur(12px);opacity:0;pointer-events:none;transition:.18s}
.signal-edit-modal.open{opacity:1;pointer-events:auto}
.signal-edit-sheet{width:min(620px,96vw);border:1px solid rgba(125,70,255,.35);border-radius:24px;padding:20px;background:var(--surface);color:var(--text);box-shadow:0 30px 90px rgba(7,5,22,.48)}
.signal-edit-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.signal-edit-sheet header span{color:var(--purple);font-size:8px;font-weight:950;letter-spacing:.16em}.signal-edit-sheet h2{margin:3px 0 0}.signal-edit-sheet header button{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:var(--surface2);color:var(--text);font-size:25px}
.signal-edit-sheet textarea{width:100%;min-height:190px;max-height:50dvh;resize:vertical;border:1px solid var(--line);border-radius:17px;padding:15px;background:var(--surface2);color:var(--text);font:15px/1.55 inherit;outline:0}.signal-edit-sheet>small{display:block;text-align:right;margin-top:6px;color:var(--muted)}
.signal-edit-sheet footer{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.signal-edit-sheet footer button{min-height:44px;border:1px solid var(--line);border-radius:13px;padding:9px 16px;background:var(--surface2);color:var(--text);font-weight:850}.signal-edit-sheet footer .signal-edit-save{border:0;color:#fff;background:linear-gradient(135deg,#39cfff,#7437ff 62%,#a52eea)}
.article-top-actions{display:flex;align-items:center;gap:8px}.article-edit-button{color:#fff!important;border:0!important;background:linear-gradient(135deg,#36cfff,#7437ff 62%,#a32de9)!important;font-weight:900;box-shadow:0 8px 22px rgba(110,53,232,.28)}
@media(max-width:720px){.signal-edit-modal{align-items:end;padding:0}.signal-edit-sheet{width:100%;border-radius:24px 24px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom))}.signal-edit-sheet textarea{min-height:220px}.article-top{height:auto;min-height:74px;padding:calc(env(safe-area-inset-top) + 8px) 10px 8px;gap:7px}.article-top .brand{display:none}.article-edit-button{font-size:11px;padding:10px!important}}

/* === ANXIRA 0.8.1.4.2 IMMERSIVE PUBLISHER READING VIEW === */
.publisher-reading-view{padding:0!important;overflow:hidden!important;background:linear-gradient(155deg,color-mix(in srgb,var(--surface) 82%,#171437 18%),color-mix(in srgb,var(--surface) 92%,#080a16 8%))!important;border-color:color-mix(in srgb,var(--article-accent) 34%,var(--border))!important}
.publisher-reading-view>.article-hero{margin:0!important;width:100%!important;background:#080a12}
.publisher-reading-view>.article-hero img{display:block!important;width:100%!important;max-height:none!important;aspect-ratio:16/8.2!important;object-fit:cover!important;border-radius:0!important}
.publisher-reading-view>.article-hero figcaption{margin:0!important;padding:9px clamp(22px,6vw,70px)!important;background:rgba(8,9,18,.82);color:rgba(255,255,255,.62)!important}
.article-publication-head{position:relative;padding:clamp(34px,7vw,72px) clamp(26px,7vw,74px) clamp(26px,5vw,48px);background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--article-accent) 25%,transparent),transparent 40%),linear-gradient(145deg,#17152f,#201946 72%,color-mix(in srgb,#201946 82%,var(--article-accent) 18%));color:#f8f6ff}
.article-publication-head:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(var(--article-accent),#45d9ff);box-shadow:0 0 18px var(--article-accent)}
.article-publication-head .article-label{color:var(--article-accent)!important;text-shadow:0 0 18px color-mix(in srgb,var(--article-accent) 40%,transparent)}
.article-publication-head h1{color:#fff!important;text-wrap:balance}.article-publication-head .article-deck{color:rgba(239,235,255,.68)!important}
.article-publication-head .article-author{border-color:rgba(255,255,255,.12)!important;margin-bottom:0!important}.article-publication-head .article-author span{color:rgba(239,235,255,.62)!important}
.article-reading-body{padding:clamp(30px,7vw,74px);background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 96%,var(--article-accent) 4%),var(--surface));color:var(--text)}
.article-reading-body .article-content{max-width:760px;margin:0 auto}.article-reading-body .article-footer{max-width:760px;margin-inline:auto}
@media(max-width:720px){.article-shell{padding:14px 10px 60px!important}.publisher-reading-view{border-radius:22px!important}.publisher-reading-view>.article-hero img{aspect-ratio:16/10.2!important}.article-publication-head{padding:32px 24px 27px!important}.article-publication-head h1{font-size:clamp(42px,13vw,64px)!important}.article-reading-body{padding:34px 24px 45px!important}.article-reading-body .article-content{font-size:18px!important;line-height:1.85!important}}
/* ANXIRA 0.8.1.10.11 — desktop browser-only geometry and pointer repairs. */
@media (min-width:801px) and (hover:hover) and (pointer:fine){
  .living-ring::before,.living-ring::after{pointer-events:none!important}
  .conversation-list,.conversation-row,.chat-friends-strip,.friend-orb{pointer-events:auto!important}
  .conversation-row,.friend-orb{position:relative;z-index:2}

  .story-avatar,.story-avatar img,
  .friends-under-note .friend-orb .living-ring,
  .friends-under-note .friend-orb .living-ring img,
  .profile-friend-strip .living-ring,
  .profile-friend-strip .living-ring img,
  .conversation-avatar,.conversation-avatar img,
  .note-avatar,.note-avatar img{
    aspect-ratio:1/1!important;
    min-width:var(--anxira-avatar-size,auto);
    flex-shrink:0!important;
    object-fit:cover!important;
    border-radius:50%!important;
  }

  /* Desktop Story editor and viewer use the same full-frame crop. Layout
     presets remain available on touch devices, while web never letterboxes. */
  .story-canvas>.story-selected-media,
  .story-selected-media[data-layout],
  .viewer #viewerContent img,
  .viewer #viewerContent video,
  #viewerContent img[data-layout],
  #viewerContent video[data-layout]{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    object-fit:cover!important;
  }

  .right-rail .friend-row img,.friend-row>img,.friend-card img,
  .friends-card img,.profile-friend-strip img,.friends-under-note img{
    aspect-ratio:1/1!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;object-fit:cover!important;border-radius:50%!important;flex:0 0 44px!important
  }
  .friends-under-note .friend-orb{pointer-events:auto!important;cursor:pointer!important;z-index:5!important}
  .friends-under-note .friend-orb>*{pointer-events:none!important}

  .story-filter-strip,.effect-strip,[data-tool-panel="filters"],[data-tool-panel="effects"]{overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important;scrollbar-color:#8a45ff rgba(22,27,40,.72)!important;cursor:grab}
  .story-filter-strip::-webkit-scrollbar,.effect-strip::-webkit-scrollbar,[data-tool-panel="filters"]::-webkit-scrollbar,[data-tool-panel="effects"]::-webkit-scrollbar{height:9px;width:9px}
  .story-filter-strip::-webkit-scrollbar-thumb,.effect-strip::-webkit-scrollbar-thumb,[data-tool-panel="filters"]::-webkit-scrollbar-thumb,[data-tool-panel="effects"]::-webkit-scrollbar-thumb{border-radius:999px;background:linear-gradient(90deg,#43dfff,#7448ff,#c43cff);box-shadow:0 0 10px rgba(101,81,255,.48)}
  .story-filter-strip::-webkit-scrollbar-track,.effect-strip::-webkit-scrollbar-track,[data-tool-panel="filters"]::-webkit-scrollbar-track,[data-tool-panel="effects"]::-webkit-scrollbar-track{border-radius:999px;background:rgba(15,19,30,.78)}

  #storyTextLayer{min-width:80px;max-width:94%!important;width:var(--story-text-width,72%);outline:1px dashed rgba(185,139,255,.88);resize:horizontal;overflow:visible!important;cursor:move}
  #storyTextLayer.is-editing{cursor:text;resize:horizontal}
  #storyTextLayer::before,#storyTextLayer::after{content:"";position:absolute;top:50%;width:14px;height:48px;transform:translateY(-50%);border:2px solid #934cff;border-radius:9px;background:#fff;box-shadow:0 0 13px rgba(91,87,255,.55)}
  #storyTextLayer::before{left:-10px}#storyTextLayer::after{right:-10px}
  .story-sticker{cursor:move!important}

  .profile-demo-highlight .highlight-cover::after{content:"DEMO";position:absolute;right:7px;top:7px;padding:3px 5px;border-radius:6px;background:rgba(9,10,17,.64);color:#d8c4ff;font:800 7px/1 system-ui;letter-spacing:.12em}
  .profile-demo-highlight .highlight-cover>i{z-index:2;text-shadow:0 0 18px #823fff;color:#fff}
  .profile-demo-highlight .highlight-cover img{filter:saturate(.84) brightness(.7)}
  .demo-highlight-1 .highlight-cover img{filter:hue-rotate(25deg) saturate(1.1) brightness(.72)}
  .demo-highlight-2 .highlight-cover img{filter:sepia(.2) saturate(1.1) brightness(.76)}
  .demo-highlight-3 .highlight-cover img{filter:hue-rotate(-24deg) saturate(1.25) brightness(.68)}
}


/* === ANXIRA 0.8.1.10.24 — CURRENT LOGO EVERYWHERE + NO STANDALONE NETWORK === */
.topbar .brand img,
body:not(.dark) .topbar .brand img,
body.dark .topbar .brand img,
html.anxira-touch body .topbar .brand img{
  content:url('../img/anxira_network_standard_1026.png?v=082926')!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  opacity:1!important;
}
.topbar::before,.topbar::after,
.topbar>.brand::before,.topbar>.brand::after,
html.anxira-touch body .topbar::before,html.anxira-touch body .topbar::after,
html.anxira-touch body .topbar>.brand::before,html.anxira-touch body .topbar>.brand::after{
  content:none!important;
  display:none!important;
}

/* === ANXIRA 0.8.1.10.25 — UNIVERSAL CURRENT HEADER LOGO === */
.topbar::before,.topbar::after,.topbar>.brand::before,.topbar>.brand::after,
html.anxira-touch body .topbar::before,html.anxira-touch body .topbar::after,
html.anxira-touch body .topbar>.brand::before,html.anxira-touch body .topbar>.brand::after{
  content:none!important;display:none!important;
}
.topbar>.brand>img,.topbar .brand img,
body.dark .topbar>.brand>img,body:not(.dark) .topbar>.brand>img,
html.anxira-touch body .topbar>.brand>img{
  content:url('../img/anxira_network_standard_1026.png?v=082926')!important;
  object-fit:contain!important;object-position:left center!important;
  filter:none!important;mix-blend-mode:normal!important;opacity:1!important;
}

/* === ANXIRA 0.8.1.10.27 — UNIVERSAL FULL HORIZONTAL HEADER LOGO === */
.topbar > .brand,
body.dark .topbar > .brand,
body:not(.dark) .topbar > .brand,
html.anxira-touch body .topbar > .brand{
  background:url('../img/anxira_network_standard_1026.png?v=082927') no-repeat left center/contain!important;
  overflow:visible!important;
}
.topbar > .brand > img,
body.dark .topbar > .brand > img,
body:not(.dark) .topbar > .brand > img,
html.anxira-touch body .topbar > .brand > img{
  opacity:0!important;visibility:hidden!important;
}
@media(min-width:1181px){.topbar>.brand{width:320px!important;height:72px!important;min-width:320px!important;max-width:320px!important}}
@media(min-width:801px) and (max-width:1180px){.topbar>.brand{width:250px!important;height:64px!important;min-width:250px!important;max-width:250px!important}}
@media(max-width:800px){
  .topbar>.brand,
  html.anxira-touch body.home-page .topbar>.brand,
  html.anxira-touch body.profile-page .topbar>.brand{
    width:190px!important;height:62px!important;min-width:190px!important;max-width:190px!important;min-height:62px!important;max-height:62px!important;flex:0 0 190px!important
  }
}
@media(max-width:390px){
  .topbar>.brand,
  html.anxira-touch body.home-page .topbar>.brand,
  html.anxira-touch body.profile-page .topbar>.brand{
    width:172px!important;height:58px!important;min-width:172px!important;max-width:172px!important;min-height:58px!important;max-height:58px!important;flex-basis:172px!important
  }
}

/* === ANXIRA 0.8.1.10.28 — HEADER BRAND SAFETY NET === */
.topbar::before,.topbar::after,.topbar>.brand::before,.topbar>.brand::after{content:none!important;display:none!important}
.topbar>.brand,.topbar .brand{background:url('../img/anxira_network_standard_1026.png?v=082928') no-repeat left center/contain!important}
.topbar>.brand>img,.topbar .brand img{opacity:0!important;visibility:hidden!important}
.topbar .network-label,.topbar .brand-network-label,.topbar .network-brand-label,.topbar .brand-label,.topbar [data-brand-network-label]{display:none!important}
@media(max-width:800px){.topbar .top-actions .top-create{display:none!important}}

/* ANXIRA 0.8.1.10.30 — Phase 2: Identity editor + managed Media Vault albums. */
.profile-about-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.profile-about-head p{margin:6px 0 0;color:var(--muted)}.about-panel-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.about-panel-title h3{margin:0}.about-panel-title button{border:1px solid var(--line);border-radius:999px;background:var(--surface2);color:var(--purple);padding:7px 12px;font-weight:800;cursor:pointer}.profile-headline{display:block;margin-bottom:12px;font-size:16px;color:var(--text)}.about-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.about-detail-grid p,.about-links-list p,.about-links-list a{display:grid;gap:3px;margin:0;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);color:var(--text);text-decoration:none}.about-detail-grid b,.about-links-list b{font-size:11px}.about-detail-grid span,.about-links-list span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.about-links-list{display:grid;gap:10px}
.profile-identity-editor{width:min(780px,94vw);max-height:min(88dvh,880px);overflow:auto}.profile-identity-editor form{display:grid;gap:16px}.identity-editor-tabs{display:flex;gap:6px;overflow:auto;padding:4px 0 10px;border-bottom:1px solid var(--line)}.identity-editor-tabs button{border:1px solid transparent;border-radius:999px;background:transparent;color:var(--muted);padding:9px 13px;font-weight:800;white-space:nowrap}.identity-editor-tabs button.active{border-color:rgba(128,68,245,.35);background:linear-gradient(135deg,rgba(47,205,255,.12),rgba(122,48,244,.20));color:var(--text)}.profile-identity-editor [data-identity-edit-panel]{display:grid;gap:12px}.profile-identity-editor [data-identity-edit-panel][hidden]{display:none!important}.profile-identity-editor label{display:grid;gap:6px;font-size:11px;font-weight:750}.profile-identity-editor input,.profile-identity-editor textarea,.profile-identity-editor select{width:100%;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--text);padding:12px;outline:none}.profile-identity-editor textarea{min-height:110px;resize:vertical}.profile-identity-editor input:focus,.profile-identity-editor textarea:focus,.profile-identity-editor select:focus{border-color:rgba(128,68,245,.7);box-shadow:0 0 0 3px rgba(128,68,245,.10)}
.profile-vault-folder-actions{display:flex;align-items:center;gap:8px}.profile-vault-folder-actions>span{font-size:10px;color:var(--muted);white-space:nowrap}.profile-vault-folder-actions .btn[hidden]{display:none!important}.profile-album-manage-dialog{width:min(720px,94vw);max-height:88dvh;overflow:auto}.profile-album-organizer{display:grid;gap:8px;max-height:330px;overflow:auto;padding-right:2px}.profile-album-organizer-item{display:grid;grid-template-columns:64px minmax(0,1fr) 34px 34px minmax(120px,160px);gap:8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.profile-album-organizer-item>span{width:64px;height:58px;border-radius:10px;overflow:hidden;background:rgba(128,68,245,.12)}.profile-album-organizer-item img,.profile-album-organizer-item video{width:100%;height:100%;object-fit:cover}.profile-album-organizer-item div{display:grid;gap:3px}.profile-album-organizer-item small{color:var(--muted);font-size:9px}.profile-album-organizer-item button{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);cursor:pointer}.profile-album-organizer-item select{padding:8px!important}.profile-album-manage-actions{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;align-items:center;padding-top:6px}
body.dark .about-panel-title button,body.dark .profile-album-organizer-item button{background:rgba(255,255,255,.04)}
@media(max-width:720px){.profile-about-head{display:grid}.about-detail-grid{grid-template-columns:1fr}.profile-identity-editor{width:100vw;max-width:none;max-height:100dvh;height:100dvh;border-radius:0!important;padding:max(18px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom))!important}.profile-vault-folder-actions{display:grid;grid-template-columns:1fr 1fr}.profile-vault-folder-actions>span{grid-column:1/-1}.profile-album-organizer-item{grid-template-columns:54px minmax(0,1fr) 34px 34px}.profile-album-organizer-item>span{width:54px;height:54px}.profile-album-organizer-item select{grid-column:2/-1}.profile-album-manage-actions{grid-template-columns:1fr 1fr}.profile-album-manage-actions span{display:none}.profile-album-manage-actions .btn{width:100%}}


/* === ANXIRA 0.8.1.10.31 — Phase 2 usability correction === */
.profile-identity-editor{border:1px solid rgba(132,77,255,.38)!important;box-shadow:0 30px 90px rgba(0,0,0,.38),0 0 0 1px rgba(255,255,255,.025) inset!important}
.identity-editor-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(92px,1fr))!important;gap:9px!important;padding:8px!important;border:1px solid var(--line)!important;border-radius:18px!important;background:color-mix(in srgb,var(--surface2) 82%,transparent)!important;overflow:visible!important}
.identity-editor-tabs button{min-height:58px!important;border:1px solid transparent!important;border-radius:14px!important;background:transparent!important;color:var(--muted)!important;padding:8px 10px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-weight:850!important;cursor:pointer!important;transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease!important}
.identity-editor-tabs button i{font-style:normal!important;font-size:17px!important;color:var(--purple)!important;line-height:1!important}.identity-editor-tabs button span{font-size:11px!important;white-space:nowrap!important}
.identity-editor-tabs button:hover{transform:translateY(-1px)!important;background:rgba(128,68,245,.08)!important;border-color:rgba(128,68,245,.22)!important}.identity-editor-tabs button.active{color:var(--text)!important;border-color:rgba(137,78,255,.55)!important;background:linear-gradient(145deg,rgba(44,197,255,.12),rgba(119,46,244,.24))!important;box-shadow:0 8px 24px rgba(94,45,212,.13),inset 0 1px 0 rgba(255,255,255,.08)!important}
body:not(.dark) .identity-editor-tabs{background:#f6f4fb!important}.profile-identity-editor .wide[type="submit"],.profile-identity-editor button[type="submit"]{min-height:46px!important;border-radius:14px!important;box-shadow:0 10px 26px rgba(112,51,235,.20)!important}
.profile-identity-editor input[type=file]{padding:8px!important;min-height:46px!important}.profile-identity-editor input[type=file]::file-selector-button{border:1px solid rgba(128,68,245,.30)!important;border-radius:10px!important;background:linear-gradient(145deg,rgba(128,68,245,.15),rgba(58,192,255,.10))!important;color:var(--text)!important;padding:8px 11px!important;margin-right:10px!important;font-weight:800!important;cursor:pointer!important}
.profile-about-layout>nav{border:1px solid var(--line)!important;border-radius:18px!important;background:var(--surface2)!important;padding:8px!important;display:grid!important;gap:6px!important;align-content:start!important}.profile-about-layout>nav button{border:1px solid transparent!important;border-radius:13px!important;background:transparent!important;color:var(--muted)!important;padding:11px 12px!important;text-align:left!important;font-weight:800!important;cursor:pointer!important}.profile-about-layout>nav button:hover{background:rgba(128,68,245,.08)!important;color:var(--text)!important}.profile-about-layout>nav button.active{background:linear-gradient(135deg,rgba(47,205,255,.10),rgba(122,48,244,.18))!important;border-color:rgba(128,68,245,.32)!important;color:var(--text)!important}
.about-panel-title button{display:inline-flex!important;align-items:center!important;gap:6px!important;min-width:88px!important;justify-content:center!important;box-shadow:0 5px 16px rgba(92,45,205,.10)!important}.about-panel-title button::before{content:'✎';font-size:12px}.profile-about-content>[data-about-panel]{border:1px solid var(--line)!important;border-radius:18px!important;padding:18px!important;background:color-mix(in srgb,var(--surface) 92%,var(--surface2))!important}
.profile-vault-heading{border:1px solid var(--line)!important;border-radius:16px!important;padding:13px 15px!important;background:linear-gradient(135deg,rgba(47,205,255,.055),rgba(122,48,244,.08))!important;margin-top:14px!important}.profile-vault-folder-actions .btn{border-radius:12px!important;min-height:38px!important;font-weight:850!important}.profile-vault-folder-actions [data-manage-open-album]{border-color:rgba(128,68,245,.45)!important;background:linear-gradient(135deg,rgba(70,194,255,.12),rgba(122,48,244,.22))!important;color:var(--text)!important}.profile-vault-folder-actions [data-add-to-open-album]{border-color:rgba(128,68,245,.28)!important;color:var(--purple)!important}.profile-media-albums button[data-custom-album="1"].active{outline:2px solid rgba(133,72,255,.66)!important;outline-offset:2px!important;box-shadow:0 10px 28px rgba(95,43,210,.18)!important}.profile-media-albums button[data-custom-album="1"] small{display:block!important}.profile-album-manage-dialog label,.profile-vault-dialog label{display:grid!important;gap:6px!important;font-size:11px!important;font-weight:780!important}.profile-album-manage-dialog input,.profile-album-manage-dialog textarea,.profile-album-manage-dialog select,.profile-vault-dialog input,.profile-vault-dialog textarea,.profile-vault-dialog select{border:1px solid var(--line)!important;border-radius:12px!important;background:var(--surface2)!important;color:var(--text)!important;padding:11px!important}.profile-album-manage-dialog textarea,.profile-vault-dialog textarea{min-height:88px!important;resize:vertical!important}
@media(max-width:720px){.identity-editor-tabs{grid-template-columns:repeat(5,minmax(74px,1fr))!important;overflow-x:auto!important}.identity-editor-tabs button{min-height:52px!important}.identity-editor-tabs button span{font-size:10px!important}.profile-about-layout>nav{grid-template-columns:1fr 1fr!important}.profile-about-layout>nav button:last-child{grid-column:1/-1!important}}

/* ANXIRA 0.8.1.10.35 — Phase 5 User Command Center */
.profile-command-popover{width:min(360px,calc(100vw - 20px));padding:9px}.profile-command-popover .command-popover-primary{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;padding:12px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--purple) 17%,var(--surface2)),color-mix(in srgb,#42d9ff 8%,var(--surface2)))!important;border:1px solid color-mix(in srgb,var(--purple) 38%,var(--line))!important}.profile-command-popover .command-popover-primary>span:first-child{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:var(--purple-soft);color:var(--purple);font-size:17px}.profile-command-popover .command-popover-primary b,.profile-command-popover .command-popover-primary small{display:block}.profile-command-popover .command-popover-primary small{font-size:9px;color:var(--muted);margin-top:2px}.profile-command-popover .command-popover-primary i{font-style:normal;color:var(--purple);font-size:22px}.profile-command-popover>button:not(.command-popover-primary),.profile-command-popover>a{display:flex!important;gap:10px!important;align-items:center!important;font-size:12px!important}.command-popover-divider{height:1px;background:var(--line);margin:7px 3px}
#userCommandCenterModal{position:fixed;inset:0;z-index:9000;background:rgba(4,6,12,.66);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;padding:24px}#userCommandCenterModal.open{display:flex}.user-command-center{width:min(960px,96vw);max-height:90vh;overflow:auto;border-radius:26px;padding:24px;border:1px solid var(--line);box-shadow:0 32px 90px rgba(0,0,0,.38)}.user-command-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--line)}.user-command-head h2{font-size:29px;margin:5px 0 5px}.user-command-head p{margin:0;color:var(--muted);font-size:12px}.command-close{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--surface2);color:var(--text);font-size:22px}.user-command-search{margin:16px 0 18px;height:48px;border:1px solid var(--line);background:var(--surface2);border-radius:15px;display:flex;align-items:center;gap:9px;padding:0 14px}.user-command-search span{color:var(--purple);font-size:19px}.user-command-search input{border:0!important;background:transparent!important;color:var(--text)!important;outline:none!important;width:100%!important;margin:0!important;padding:0!important}.user-command-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.user-command-group{border:1px solid var(--line);border-radius:19px;background:color-mix(in srgb,var(--surface2) 78%,transparent);padding:12px}.command-group-title{display:flex;gap:10px;align-items:center;padding:5px 6px 11px}.command-group-title>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--purple-soft);color:var(--purple);font-size:17px}.command-group-title b,.command-group-title small{display:block}.command-group-title small{color:var(--muted);font-size:9px;margin-top:2px}.user-command-group>a,.user-command-group>button{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;border:0;background:transparent;color:var(--text);text-align:left;padding:9px;border-radius:12px}.user-command-group>a:hover,.user-command-group>button:hover{background:var(--surface)}.user-command-group>a>span,.user-command-group>button>span{width:31px;height:31px;border-radius:10px;background:var(--surface);display:grid;place-items:center;color:var(--purple)}.user-command-group b,.user-command-group small{display:block}.user-command-group b{font-size:11px}.user-command-group small{font-size:9px;color:var(--muted);margin-top:2px}.user-command-group i{font-style:normal;color:var(--purple);font-size:18px}.user-command-group i em{font-style:normal;font-size:9px;background:var(--purple);color:#fff;border-radius:999px;padding:3px 6px}.user-command-no-results{padding:35px;text-align:center;color:var(--muted)}.user-command-footer{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:9px;border-top:1px solid var(--line);margin-top:16px;padding-top:13px}.user-command-footer b{color:var(--purple)}body:not(.dark) #userCommandCenterModal{background:rgba(31,30,48,.28)}body:not(.dark) .user-command-center{box-shadow:0 28px 70px rgba(65,52,110,.18)}
@media(max-width:760px){#userCommandCenterModal{align-items:flex-end;padding:0}.user-command-center{width:100%;max-height:90dvh;border-radius:26px 26px 0 0;padding:18px}.user-command-grid{grid-template-columns:1fr}.user-command-head h2{font-size:24px}.user-command-footer{display:block}.profile-command-popover{left:10px!important;right:10px!important;bottom:78px!important;top:auto!important}}

/* ANXIRA 0.8.1.10.37 — Unified Control Center navigation */
#userCommandCenterModal{z-index:9000}.user-command-center{width:min(680px,96vw);padding:0;overflow:hidden}.user-command-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding:18px 20px}.user-command-heading{min-width:0}.user-command-head h2{font-size:25px;margin:3px 0}.command-back,.command-close{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--surface2);color:var(--text);font-size:24px;display:grid;place-items:center}.command-back[hidden]{visibility:hidden;display:grid}.user-command-view{padding:16px 20px 22px;max-height:72vh;overflow:auto}.command-root-list{display:grid;gap:8px}.command-root-row,.command-setting-row{width:100%;border:0;color:var(--text);background:transparent;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;padding:12px 10px;border-radius:14px}.command-root-row:hover,.command-setting-row:hover{background:var(--surface2)}.command-root-row>span:nth-child(2),.command-setting-row>div{min-width:0}.command-root-row b,.command-root-row small,.command-setting-row b,.command-setting-row small{display:block}.command-root-row b,.command-setting-row b{font-size:13px}.command-root-row small,.command-setting-row small{font-size:10px;color:var(--muted);margin-top:3px;line-height:1.35}.command-root-icon,.command-setting-row>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--purple-soft);color:var(--purple);font-size:18px}.command-root-row i,.command-setting-row i{font-style:normal;color:var(--muted);font-size:22px}.command-setting-row i em{font-style:normal;background:var(--purple);color:white;border-radius:999px;padding:3px 7px;font-size:9px}.command-section-label{font-size:9px;font-weight:900;letter-spacing:.15em;color:var(--purple);padding:12px 10px 6px}.command-placeholder-view{text-align:center;padding:42px 28px 55px}.command-placeholder-icon{width:62px;height:62px;border-radius:20px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;margin:0 auto 15px;font-size:25px}.command-placeholder-view h3{font-size:22px;margin:0 0 8px}.command-placeholder-view p{color:var(--muted);margin:0 auto;max-width:440px}.command-coming-soon{margin:22px auto 0;max-width:470px;border:1px solid var(--line);background:var(--surface2);border-radius:14px;padding:14px;color:var(--muted);font-size:10px;line-height:1.5}.command-child-modal{z-index:9300!important}.network-drawer-grid .anxira-control-center-entry{background:linear-gradient(135deg,color-mix(in srgb,var(--purple) 17%,var(--surface2)),color-mix(in srgb,#44d8ff 8%,var(--surface2)));border-color:color-mix(in srgb,var(--purple) 38%,var(--line))}.network-drawer-grid .anxira-control-center-entry i{font-size:24px}.network-drawer-grid .anxira-control-center-entry b{color:var(--text)}
body:not(.dark) .command-root-row:hover,body:not(.dark) .command-setting-row:hover{background:#f3efff}
@media(max-width:760px){.user-command-center{width:100%;max-height:92dvh;border-radius:26px 26px 0 0}.user-command-head{padding:15px}.user-command-view{padding:12px 12px 20px;max-height:74dvh}.command-root-row,.command-setting-row{padding:11px 8px}}

/* ANXIRA 0.8.1.10.38 — restore the preferred card-style Control Center while keeping nested same-frame navigation. */
#userCommandCenterModal .user-command-center{width:min(960px,96vw);padding:24px;overflow:auto}
#userCommandCenterModal .user-command-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:start;padding:0 0 16px;border-bottom:1px solid var(--line)}
#userCommandCenterModal .command-back{margin-top:4px}
#userCommandCenterModal .command-back[hidden]{visibility:hidden;display:grid}
#userCommandCenterModal .user-command-view{padding:0;max-height:none;overflow:visible}
#userCommandCenterModal [data-command-view-panel="root"]{padding:0}
#userCommandCenterModal .user-command-search{margin:16px 0 18px}
#userCommandCenterModal .user-command-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
#userCommandCenterModal .user-command-group{display:block;border:1px solid var(--line);border-radius:19px;background:color-mix(in srgb,var(--surface2) 78%,transparent);padding:12px;min-width:0}
#userCommandCenterModal .user-command-group[hidden]{display:none!important}
#userCommandCenterModal .user-command-group>button{appearance:none;-webkit-appearance:none;width:100%;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;border:0!important;background:transparent!important;color:var(--text)!important;text-align:left!important;padding:9px!important;border-radius:12px!important;font:inherit!important}
#userCommandCenterModal .user-command-group>button:hover{background:var(--surface)!important}
#userCommandCenterModal .user-command-group>button>span{width:31px;height:31px;border-radius:10px;background:var(--surface);display:grid;place-items:center;color:var(--purple)}
#userCommandCenterModal .user-command-group>button b,#userCommandCenterModal .user-command-group>button small{display:block}
#userCommandCenterModal .user-command-group>button b{font-size:11px;color:var(--text)}
#userCommandCenterModal .user-command-group>button small{font-size:9px;color:var(--muted);margin-top:2px;line-height:1.35}
#userCommandCenterModal .user-command-group>button i{font-style:normal;color:var(--purple);font-size:18px}
#userCommandCenterModal .user-command-view:not([data-command-view-panel="root"]){padding:18px 2px 4px;max-height:70vh;overflow:auto}
#userCommandCenterModal .command-inline-card{border:1px solid var(--line);border-radius:17px;background:var(--surface2);padding:16px;margin:10px 0}
#userCommandCenterModal .command-inline-card>b{font-size:14px}#userCommandCenterModal .command-inline-card p{color:var(--muted);font-size:11px;line-height:1.55}
#userCommandCenterModal .command-embedded-view{padding:16px 0 0!important}
#userCommandCenterModal .command-embedded-sheet{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;box-shadow:none!important;border:0!important;background:transparent!important;padding:2px!important}
#userCommandCenterModal .command-page-view{overflow:hidden!important;padding:12px 0 0!important;height:68vh!important;max-height:68vh!important}
#userCommandCenterModal .command-page-view iframe{width:100%;height:100%;border:1px solid var(--line);border-radius:18px;background:var(--bg);display:block}
#userCommandCenterModal .command-wide-page{width:min(1180px,97vw)}
body:not(.dark) #userCommandCenterModal .user-command-group{background:rgba(255,255,255,.72)}
@media(max-width:760px){#userCommandCenterModal .user-command-center{width:100%;padding:18px;max-height:92dvh;border-radius:26px 26px 0 0}#userCommandCenterModal .user-command-grid{grid-template-columns:1fr!important}#userCommandCenterModal .user-command-view:not([data-command-view-panel="root"]){max-height:73dvh}#userCommandCenterModal .command-page-view{height:72dvh!important;max-height:72dvh!important}}

/* ANXIRA 0.8.1.10.39 — Phase 6 Control Center systems */
:root{--anxira-user-font-scale:1}
body{font-size:calc(16px * var(--anxira-user-font-scale))}
#userCommandCenterModal .command-setting-row{appearance:none;-webkit-appearance:none;width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 12px;margin:8px 0;border:1px solid var(--line);border-radius:15px;background:var(--surface2);color:var(--text);text-align:left;font:inherit}
#userCommandCenterModal .command-setting-row:hover{border-color:color-mix(in srgb,var(--purple) 55%,var(--line));background:var(--surface)}
#userCommandCenterModal .command-setting-row>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,rgba(68,211,255,.12),rgba(130,57,255,.19));color:var(--purple);font-weight:900}
#userCommandCenterModal .command-setting-row b,#userCommandCenterModal .command-setting-row small{display:block}#userCommandCenterModal .command-setting-row small{color:var(--muted);margin-top:3px;line-height:1.35}#userCommandCenterModal .command-setting-row>i{font-style:normal;color:var(--purple);font-size:21px}
#userCommandCenterModal .command-toggle-row,#userCommandCenterModal .command-range-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:15px 14px;margin:9px 0;border:1px solid var(--line);border-radius:16px;background:var(--surface2)}
#userCommandCenterModal .command-toggle-row b,#userCommandCenterModal .command-range-row b{display:block;color:var(--text)}#userCommandCenterModal .command-toggle-row small,#userCommandCenterModal .command-range-row small{display:block;color:var(--muted);margin-top:4px;line-height:1.35}
#userCommandCenterModal .command-toggle-row input{position:absolute;opacity:0;pointer-events:none}#userCommandCenterModal .command-toggle-row>i{width:48px;height:27px;border-radius:20px;background:rgba(128,135,157,.45);position:relative;transition:.2s}#userCommandCenterModal .command-toggle-row>i:after{content:"";position:absolute;width:21px;height:21px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 8px rgba(0,0,0,.28)}#userCommandCenterModal .command-toggle-row input:checked+i{background:linear-gradient(90deg,#6d3dff,#9a2cff)}#userCommandCenterModal .command-toggle-row input:checked+i:after{transform:translateX(21px)}
#userCommandCenterModal .command-range-row select,#userCommandCenterModal .command-report-field select,#userCommandCenterModal .command-report-field textarea{min-width:180px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);padding:10px 12px;font:inherit}
#userCommandCenterModal .command-choice-group{display:grid;gap:9px}#userCommandCenterModal .command-choice-group>button{appearance:none;width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) 22px;gap:11px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface2);color:var(--text);text-align:left}#userCommandCenterModal .command-choice-group>button>span{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--surface);color:var(--purple)}#userCommandCenterModal .command-choice-group>button small{display:block;color:var(--muted);margin-top:3px}#userCommandCenterModal .command-choice-group>button>i{opacity:0;font-style:normal;color:#9a5cff;font-weight:900}#userCommandCenterModal .command-choice-group>button.selected{border-color:#833dff;background:linear-gradient(135deg,rgba(106,53,255,.14),rgba(49,204,255,.07))}#userCommandCenterModal .command-choice-group>button.selected>i{opacity:1}
#userCommandCenterModal .privacy-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#userCommandCenterModal .privacy-check-grid button{appearance:none;text-align:left;padding:16px;border:1px solid var(--line);border-radius:17px;background:var(--surface2);color:var(--text)}#userCommandCenterModal .privacy-check-grid span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(128,60,255,.18);color:#a775ff;font-weight:900;margin-bottom:10px}#userCommandCenterModal .privacy-check-grid b,#userCommandCenterModal .privacy-check-grid small{display:block}#userCommandCenterModal .privacy-check-grid small{color:var(--muted);margin-top:5px;line-height:1.35}
#userCommandCenterModal .command-status-card,#userCommandCenterModal .command-plan-card{margin:10px 0;padding:17px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,rgba(129,64,255,.12),rgba(32,206,255,.06));color:var(--text)}#userCommandCenterModal .command-status-card{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center}#userCommandCenterModal .command-status-card>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(124,68,255,.2);color:#b28aff}#userCommandCenterModal .command-status-card small{display:block;color:var(--muted);margin-top:4px}#userCommandCenterModal .command-status-card strong{font-size:9px;letter-spacing:.08em;color:#9c72ff}#userCommandCenterModal .command-plan-card>span{font-size:10px;letter-spacing:.16em;color:#9d6cff;font-weight:900}#userCommandCenterModal .command-plan-card h3{font-size:26px;margin:5px 0}#userCommandCenterModal .command-plan-card p,#userCommandCenterModal .command-plan-card small{color:var(--muted)}
#userCommandCenterModal .command-report-field{display:block;margin:12px 0;color:var(--text);font-weight:700}#userCommandCenterModal .command-report-field select,#userCommandCenterModal .command-report-field textarea{display:block;width:100%;margin-top:7px;box-sizing:border-box}#userCommandCenterModal .command-save-note{color:var(--muted);font-size:12px;margin-top:11px}
body.anxira-reduced-motion *,body.anxira-reduced-motion *:before,body.anxira-reduced-motion *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}body.anxira-high-contrast{--line:rgba(180,190,225,.48)}body.anxira-high-contrast .surface{border-color:rgba(192,201,235,.56)!important}body.anxira-reduce-glow *{text-shadow:none!important}body.anxira-reduce-glow .surface{box-shadow:0 8px 24px rgba(0,0,0,.12)!important}body.anxira-hide-reaction-counts .reaction-count,body.anxira-hide-reaction-counts .post-meta>span:first-child{visibility:hidden!important}
@media(max-width:700px){#userCommandCenterModal .privacy-check-grid{grid-template-columns:1fr}#userCommandCenterModal .command-range-row{grid-template-columns:1fr}#userCommandCenterModal .command-range-row select{width:100%}}

/* ANXIRA 0.8.1.10.40 — Language Bridge */
.anxira-language-bridge{display:flex;align-items:center;gap:8px;margin:5px 0 2px;font-size:12px;color:var(--muted,#8e95aa)}
.anxira-translate-toggle{appearance:none;border:0;background:transparent;color:#9c70ff;padding:0;font:inherit;font-weight:800;cursor:pointer;text-align:left}
.anxira-translate-toggle:hover{text-decoration:underline}.anxira-translate-toggle:disabled{opacity:.65;cursor:wait}
.translation-output{white-space:pre-wrap;margin:0 0 4px;line-height:1.55;color:inherit}
.message-bubble+.anxira-language-bridge{padding-left:4px}.anxira-rtl{direction:rtl}.anxira-rtl .topbar,.anxira-rtl .user-command-center,.anxira-rtl .network-hub-shell{direction:rtl}
.anxira-rtl .anxira-language-bridge,.anxira-rtl .translation-output{direction:rtl;text-align:right}
body:not(.dark) .anxira-translate-toggle{color:#7138d6}
/* ANXIRA 0.8.1.10.41 — Language Bridge typography + deep localization */
.translation-output{margin:0 0 4px!important;max-width:100%;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important}
.signal-body.translation-output{margin:0!important;font:inherit!important;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;letter-spacing:inherit!important;color:inherit!important}
.comment-bubble .translation-output,.message-bubble .translation-output{font:inherit!important;font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;color:inherit!important}
.anxira-language-bridge{min-height:18px;flex-wrap:wrap}
.anxira-translate-toggle{font-family:inherit!important;font-size:inherit;line-height:inherit}
.anxira-rtl .post-actions,.anxira-rtl .main-nav,.anxira-rtl .network-drawer-grid{direction:rtl}


/* === ANXIRA 0.8.1.10.43 — Phase 10 publication paper + Language Bridge === */
/* The publication itself is paper. Dark mode changes the surrounding ANXIRA chrome, never the article sheet. */
.article-page .article-publication.publisher-reading-view,
.article-page .article-publication,
.article-page .article-reading-body{
  background:#fff!important;color:#171923!important;color-scheme:light!important;
}
.article-page .article-reading-body{background:#fff!important}
.article-page .article-reading-body .article-content,
.article-page .article-reading-body .article-content p,
.article-page .article-reading-body .article-content li,
.article-page .article-reading-body .article-content h2,
.article-page .article-reading-body .article-content h3,
.article-page .article-reading-body .article-footer{color:#20222c!important}
.article-page .article-reading-body .article-content blockquote{color:#555c69!important;background:#f7f5ff!important;border-radius:0 12px 12px 0}
.article-page .article-reading-body a{color:#6330d9!important}
.article-page .article-reading-body .anxira-language-bridge{margin:5px 0 18px!important}
.article-page .article-reading-body .translation-output{color:inherit!important}
.article-translation-master{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 22px;padding:12px 14px;border:1px solid #e5e1f2;border-radius:14px;background:#faf9ff;color:#303341;font:600 13px/1.35 Inter,system-ui,sans-serif}
.article-translation-master button{border:1px solid rgba(108,55,229,.24);background:#fff;color:#6635d8;border-radius:999px;padding:9px 13px;font-weight:850;cursor:pointer}
.article-translation-master small{color:#707789}

/* Custom album-cover picker: visual, explicit and independent from album contents. */
.album-cover-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:13px;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--surface2)}
.album-cover-control .album-cover-current{display:flex;align-items:center;gap:12px;min-width:0}
.album-cover-control .album-cover-preview{width:82px;height:58px;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#202b49,#7737e8);display:grid;place-items:center;flex:0 0 auto}
.album-cover-control .album-cover-preview img{width:100%;height:100%;object-fit:cover}
.album-cover-control .album-cover-copy b,.album-cover-control .album-cover-copy small{display:block}.album-cover-control .album-cover-copy small{color:var(--muted);margin-top:3px}
.album-cover-upload{position:relative;overflow:hidden;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:40px;padding:9px 14px!important;border-radius:12px!important;background:linear-gradient(135deg,#5d2bed,#8938f2)!important;color:#fff!important;border:0!important;font-weight:900!important;cursor:pointer}
.album-cover-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.album-cover-status{grid-column:1/-1;font-size:10px;color:var(--muted);min-height:14px}
@media(max-width:620px){.album-cover-control{grid-template-columns:1fr}.album-cover-upload{width:100%}.album-cover-control .album-cover-preview{width:74px;height:54px}}


/* === ANXIRA 0.8.1.10.44 — Phase 11 integrity fixes === */
/* Right-rail Friends: never let the image wrapper inherit flex:1 from generic .person-row span. */
.person-row.presence-person .presence-photo{flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:visible!important;display:block!important}
.person-row.presence-person .presence-photo>img{width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;border-radius:50%!important;display:block!important}
.person-row.presence-person>span:nth-child(2){min-width:0;flex:1 1 auto!important}
/* Existing Highlight viewer style stays intact; reply gains the same message/reaction workflow as Stories. */
.highlight-reply{height:58px!important}.highlight-reply>input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:#fff!important;font:500 12px/1.3 system-ui!important;padding:0 4px!important}.highlight-reply>input::placeholder{color:rgba(255,255,255,.72)}.highlight-send-button{width:40px;height:40px;border:0;border-radius:50%;background:linear-gradient(135deg,#8d4dff,#6330ed);color:#fff;font-size:16px;display:grid;place-items:center}.highlight-story-text{position:absolute;z-index:7;max-width:82%;white-space:pre-wrap;pointer-events:none;text-shadow:0 2px 14px rgba(0,0,0,.65)}

/* === ANXIRA 0.8.1.10.45 — Pulse Friends true-circle lock + Highlight music control === */
.right-col .side-module .person-row.presence-person{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:8px!important}
.right-col .side-module .person-row.presence-person>span:first-child.presence-photo{box-sizing:border-box!important;flex:none!important;display:block!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;min-height:38px!important;max-height:38px!important;aspect-ratio:1/1!important;border-radius:999px!important;overflow:hidden!important;padding:0!important;margin:0!important}
.right-col .side-module .person-row.presence-person>span:first-child.presence-photo>img{box-sizing:border-box!important;display:block!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;min-height:38px!important;max-height:38px!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;border-radius:999px!important;margin:0!important;padding:0!important;transform:none!important}
.right-col .side-module .person-row.presence-person>span:nth-child(2){min-width:0!important;width:auto!important;flex:none!important}
.highlight-viewer{position:relative!important}
.highlight-music-toggle{position:absolute!important;left:14px!important;top:58px!important;z-index:35!important;width:38px!important;height:38px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(7,9,17,.58)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:17px!important;backdrop-filter:blur(10px)!important;box-shadow:0 8px 22px rgba(0,0,0,.25)!important;cursor:pointer!important}
.highlight-music-toggle[hidden]{display:none!important}
#highlightViewerAudio{display:none!important}
.profile-album-cover-v2{display:grid;grid-template-columns:118px minmax(0,1fr);gap:14px;padding:13px;margin:10px 0 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface2)}
.profile-album-cover-preview{width:118px;height:84px;border-radius:13px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#202b49,#7737e8)}
.profile-album-cover-preview img{width:100%;height:100%;object-fit:cover}.profile-album-cover-v2 b,.profile-album-cover-v2 small{display:block}.profile-album-cover-v2 small{color:var(--muted);margin:3px 0 8px}.profile-album-cover-upload{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:9px 12px!important;border-radius:11px!important;background:linear-gradient(135deg,#5d2bed,#8938f2)!important;color:#fff!important;font-weight:900!important;cursor:pointer!important;margin-top:8px!important}.profile-album-cover-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:7px;margin-top:9px}.profile-album-cover-choice{border:1px solid var(--line);border-radius:10px;padding:4px;background:var(--surface);cursor:pointer}.profile-album-cover-choice img{width:100%;height:62px;object-fit:cover;border-radius:7px}.profile-album-cover-choice.selected{border-color:var(--purple);box-shadow:0 0 0 2px rgba(126,68,245,.15)}#profileManageAlbumCoverStatus{display:block;color:var(--muted);font-size:9px;margin-top:7px}@media(max-width:650px){.profile-album-cover-v2{grid-template-columns:1fr}.profile-album-cover-preview{width:100%;height:145px}}


/* === ANXIRA 0.8.1.10.46 — hard reliability overrides === */
.right-col .side-module a.person-row.presence-person>span.presence-photo{display:block!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;min-height:38px!important;max-height:38px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:hidden!important;transform:none!important}
.right-col .side-module a.person-row.presence-person>span.presence-photo>img{display:block!important;box-sizing:border-box!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;min-height:38px!important;max-height:38px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;transform:none!important}
.story-music-toggle,.highlight-music-toggle{position:absolute!important;z-index:40!important;left:14px!important;top:78px!important;width:42px!important;height:42px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.4)!important;background:rgba(8,10,18,.62)!important;color:#fff!important;font-size:19px!important;display:grid!important;place-items:center!important;backdrop-filter:blur(10px)!important;box-shadow:0 6px 22px rgba(0,0,0,.25)!important}
.story-music-toggle[hidden],.highlight-music-toggle[hidden]{display:none!important}
.profile-album-cover-upload,.highlight-cover-upload-control,.highlight-photo-cover{display:flex!important;flex-direction:column!important;gap:3px!important;align-items:flex-start!important;padding:12px 15px!important;border-radius:14px!important;border:1px solid rgba(132,72,246,.45)!important;background:linear-gradient(135deg,rgba(121,55,239,.14),rgba(85,220,255,.08))!important;color:var(--text)!important;cursor:pointer!important}
.profile-album-cover-upload strong,.highlight-cover-upload-control strong{font-size:12px!important}.profile-album-cover-upload small,.highlight-cover-upload-control small{font-size:9px!important;color:var(--muted)!important}
.highlight-story-picker,.highlight-story-list,.highlight-selected-order,[data-highlight-story-list],[data-highlight-selected-order]{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;transform:none!important}
.highlight-story-choice{box-sizing:border-box!important;margin-left:0!important;transform:none!important}

/* ANXIRA 0.8.1.10.47 — Phase 14 navigation/message/sound polish */
.right-col .person-row.presence-person{grid-template-columns:46px minmax(0,1fr)!important;column-gap:10px!important;align-items:center!important}
.right-col .person-row.presence-person>.presence-photo{flex:none!important;width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;min-height:46px!important;max-height:46px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:hidden!important}
.right-col .person-row.presence-person>.presence-photo>img{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;min-height:46px!important;max-height:46px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;transform:none!important}
.friend-quick-menu{position:fixed;z-index:19000;width:178px;padding:8px;border-radius:16px;box-shadow:0 18px 50px rgba(35,20,75,.25);border:1px solid var(--line);background:var(--surface)}
.friend-quick-menu[hidden]{display:none!important}.friend-quick-menu button{width:100%;border:0;background:transparent;color:var(--text);padding:10px 11px;border-radius:10px;text-align:left;display:flex;gap:9px;align-items:center;font-weight:750}.friend-quick-menu button:hover{background:var(--surface-2);color:var(--purple)}
.anxira-language-bridge{margin-top:5px}.anxira-translate-toggle{font-size:11px!important;font-weight:800!important}


/* === ANXIRA Phase 9 final — semantic Story rings === */
.living-ring.story-close::before,.premium-story.story-close .living-ring::before{
 background:conic-gradient(from 0deg,#0ddf7a 0 18%,#baffd7 22%,#18c96d 35%,#53ff9e 58%,#00a85a 78%,#9dffc8 92%,#0ddf7a 100%)!important;
 box-shadow:0 0 12px rgba(13,223,122,.78),0 0 26px rgba(40,255,139,.38)!important;
 animation:living-ring-spin 2.7s linear infinite!important;
}
.living-ring.story-close::after,.premium-story.story-close .living-ring::after{border-top-color:#d8ffe8!important;filter:drop-shadow(0 0 6px #35f38d)!important;opacity:1!important;animation:living-ring-spin 1.8s linear infinite!important}
.living-ring.story-view-alert::before{
 background:conic-gradient(from 0deg,#ff233f 0 14%,#ff9aa8 18%,#ff4058 32%,#b70022 55%,#ff5f72 76%,#fff 84%,#ff233f 100%)!important;
 box-shadow:0 0 14px rgba(255,35,63,.92),0 0 30px rgba(255,20,52,.58),0 0 44px rgba(255,70,90,.28)!important;
 animation:anxira-story-view-pulse 1.35s ease-in-out infinite, living-ring-spin 3.2s linear infinite!important;
}
.living-ring.story-view-alert::after{border-top-color:#fff!important;filter:drop-shadow(0 0 7px #ff334f)!important;opacity:1!important;animation:living-ring-spin 1.25s linear infinite!important}
@keyframes anxira-story-view-pulse{0%,100%{filter:saturate(1);opacity:.92}50%{filter:saturate(1.4) brightness(1.18);opacity:1}}

/* ANXIRA 0.8.1.10.53 — owner controls in Visual Signal preview */
.profile-vault-signal{position:relative}
.profile-vault-owner-menu{position:absolute;right:58px;top:14px;z-index:40}
.profile-vault-owner-more{width:42px;height:42px;border-radius:14px;border:1px solid rgba(126,76,245,.28);background:rgba(255,255,255,.94);color:#332850;font:900 18px/1 system-ui;box-shadow:0 8px 24px rgba(34,24,70,.13);cursor:pointer}
.profile-vault-owner-dropdown{position:absolute;right:0;top:48px;min-width:220px;padding:8px;border-radius:16px;border:1px solid rgba(126,76,245,.22);background:#fff;box-shadow:0 18px 50px rgba(31,20,66,.2)}
.profile-vault-owner-dropdown button{display:flex;width:100%;padding:11px 12px;border:0;border-radius:11px;background:transparent;color:#251d38;text-align:left;font-weight:800;cursor:pointer}
.profile-vault-owner-dropdown button:hover{background:rgba(122,62,232,.08)}
.profile-vault-owner-dropdown button.danger{color:#cf3347}
body.dark .profile-vault-owner-more{background:#171326;color:#f3edff;border-color:rgba(164,111,255,.34)}
body.dark .profile-vault-owner-dropdown{background:#171326;border-color:rgba(164,111,255,.28);box-shadow:0 18px 50px rgba(0,0,0,.45)}
body.dark .profile-vault-owner-dropdown button{color:#eee7ff}
body.dark .profile-vault-owner-dropdown button:hover{background:rgba(158,99,255,.12)}
body.dark .profile-vault-owner-dropdown button.danger{color:#ff6d80}

/* === ANXIRA 0.8.1.10.54 — PHASE 9 FINAL UI HARDENING === */
/* Desktop sticker controls: keep the familiar rotate + scale handles available
   whenever a sticker is selected/hovered, while outside-click still deselects. */
@media (hover:hover) and (pointer:fine) and (min-width:801px){
  .signal-editor-sticker{overflow:visible!important;cursor:grab!important}
  .signal-editor-sticker:active{cursor:grabbing!important}
  .signal-editor-sticker.selected,.signal-editor-sticker:hover{outline:2px dashed rgba(255,255,255,.88)!important;outline-offset:8px!important}
  .signal-editor-sticker.selected .signal-sticker-resize,
  .signal-editor-sticker.selected .signal-sticker-rotate,
  .signal-editor-sticker:hover .signal-sticker-resize,
  .signal-editor-sticker:hover .signal-sticker-rotate{display:grid!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .signal-sticker-resize,.signal-sticker-rotate{width:34px!important;height:34px!important;z-index:80!important}
  .signal-sticker-resize{right:-28px!important;bottom:-28px!important}
  .signal-sticker-rotate{top:-44px!important}
}

/* Canonical header identity is inherited from the existing shared ANXIRA logo rules above.
   Do NOT replace the real <img> with a CSS background: Index.php is the positioning master. */
/* Dark-mode completion for destination pages and notification surfaces. */
body.dark .anxira-destination,body.dark .notification-shell{color:#f2effa!important}
body.dark .dest-card,body.dark .saved-signal,body.dark .notification-row{background:#151822!important;border-color:#2a2e3d!important;color:#f2effa!important;box-shadow:0 10px 30px rgba(0,0,0,.22)!important}
body.dark .dest-tabs a,body.dark .dest-back,body.dark .notification-filters button{background:#1b1f2b!important;border-color:#303547!important;color:#e9e5f5!important}
body.dark .dest-tabs a:hover,body.dark .dest-back:hover,body.dark .notification-filters button:hover{background:#24293a!important;border-color:#7041d8!important}
body.dark .dest-head p,body.dark .dest-card p,body.dark .dest-card small,body.dark .notification-copy small,body.dark .notification-more,body.dark .notification-empty p{color:#a8aec0!important}
body.dark .notification-row.unread{background:linear-gradient(135deg,rgba(108,54,238,.18),#171a25)!important}
body.dark .notification-row:hover{background:#202432!important}
body.dark .notification-avatar b{border-color:#151822!important}

/* === ANXIRA 0.8.1.10.55 — DESKTOP STICKER MANIPULATION RESTORE === */
@media (min-width:801px){
  #signalStickerLayer,.signal-editor-sticker{overflow:visible!important}
  .signal-editor-sticker{pointer-events:auto!important;touch-action:none!important}
  .signal-editor-sticker.selected .signal-sticker-resize,
  .signal-editor-sticker.selected .signal-sticker-rotate{
    display:grid!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:999!important
  }
  .signal-sticker-resize{right:-28px!important;bottom:-28px!important}
  .signal-sticker-rotate{left:50%!important;top:-44px!important;transform:translateX(-50%)!important}
}
\n\n/* === ANXIRA 0.8.1.10.56 — exact desktop sticker controls + destination dark/header completion === */\nhtml.anxira-dark-preload body{background:#0d1019}\n@media (min-width:801px){\n  .signal-media-stage{overflow:visible!important}\n  #signalStickerLayer{overflow:visible!important;pointer-events:none!important}\n  .signal-editor-sticker{overflow:visible!important;pointer-events:auto!important;touch-action:none!important}\n  .signal-editor-sticker.selected{outline:2px dashed rgba(255,255,255,.9)!important;outline-offset:8px!important}\n  .signal-editor-sticker.selected>.signal-sticker-resize,\n  .signal-editor-sticker.selected>.signal-sticker-rotate{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}\n  .signal-sticker-resize,.signal-sticker-rotate{position:absolute!important;width:34px!important;height:34px!important;z-index:9999!important;border:2px solid #fff!important;background:#121620!important;color:#fff!important}\n  .signal-sticker-resize{right:-26px!important;bottom:-26px!important}\n  .signal-sticker-rotate{left:50%!important;top:-44px!important;transform:translateX(-50%)!important}\n}\n.notifications-page{background:var(--bg)!important;color:var(--text)!important;min-height:100vh}\nbody.dark.notifications-page .notification-shell,body.dark.notifications-page .notification-head,body.dark.notifications-page .notification-day{color:var(--text)!important}\nbody.dark.notifications-page .notification-filters button{background:var(--surface)!important;color:var(--muted)!important;border-color:var(--line)!important}\nbody.dark.notifications-page .notification-filters button.active{background:var(--purple)!important;color:#fff!important;border-color:var(--purple)!important}\n.discover-page .topbar>.brand::before,.discover-page .topbar>.brand::after,.notifications-page .topbar>.brand::before,.notifications-page .topbar>.brand::after{content:none!important;display:none!important}\n

/* === ANXIRA 0.8.1.10.73 — Story interaction, iOS safety, compact right rail === */
.story-view-all{margin-left:auto;color:var(--purple);font-weight:850;font-size:11px;text-decoration:none}
.story-shell img,.story-shell video,.story-card img,.story-card video{-webkit-user-drag:none!important;user-drag:none!important;-webkit-user-select:none!important;user-select:none!important;pointer-events:none}
.story-card .story-add-more{pointer-events:auto!important}
.story-card{touch-action:pan-y!important;cursor:pointer}
.story-row,.anxira-story-moving-track{touch-action:pan-y pinch-zoom!important}
.anxira-rail-rotator{min-height:230px;overflow:hidden;position:relative}
.anxira-rail-rotator-stage{min-height:190px}
.anxira-rail-rotator-panel{animation:anxiraRailFade .28s ease both}
@keyframes anxiraRailFade{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:none}}
.anxira-rail-os{text-align:center;display:grid;place-items:center;gap:9px;padding:12px 8px}
.anxira-rail-os img{width:76px;height:76px;border-radius:22px;box-shadow:0 0 30px rgba(122,61,245,.28)}
.anxira-rail-os strong{font-size:17px}.anxira-rail-os p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}
.anxira-rail-os a{display:block;width:100%;padding:11px 14px;border-radius:12px;text-decoration:none;background:linear-gradient(135deg,#7f39ff,#6530e8);color:#fff;font-weight:850}
.anxira-rail-rotator-dots{display:flex;justify-content:center;gap:7px;padding-top:8px}
.anxira-rail-rotator-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:color-mix(in srgb,var(--muted) 34%,transparent)}
.anxira-rail-rotator-dots button.active{width:20px;border-radius:999px;background:var(--purple)}
.presence-photo{position:relative!important}.presence-dot{position:absolute!important;right:-1px!important;bottom:1px!important;width:12px!important;height:12px!important;border-radius:50%!important;background:#22df73!important;border:3px solid var(--surface)!important;box-shadow:0 0 0 2px rgba(34,223,115,.15),0 0 12px rgba(34,223,115,.75)!important}
.friend-unread-badge{position:absolute!important;right:-7px!important;top:-7px!important;z-index:8!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:999px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#ff3f8f,#8b44ff)!important;color:#fff!important;font-size:10px!important;line-height:1!important;border:2px solid var(--surface)!important;box-shadow:0 0 14px rgba(192,62,255,.58)!important}
@media(max-width:800px){
 html,body{padding-left:env(safe-area-inset-left)!important;padding-right:env(safe-area-inset-right)!important}
 .story-shell{box-sizing:border-box!important;width:100%!important;max-width:100%!important;overflow:hidden!important;padding-left:max(8px,env(safe-area-inset-left))!important;padding-right:max(8px,env(safe-area-inset-right))!important}
 .story-carousel{overflow:visible!important;min-width:0!important}
 .anxira-story-pinned{padding:4px 3px 8px 3px!important;overflow:visible!important}
 .story-row{padding-top:4px!important;padding-bottom:12px!important;overflow:hidden!important}
 .story-card{box-sizing:border-box!important;flex:0 0 104px!important;width:104px!important;min-width:104px!important;max-width:104px!important;height:160px!important;overflow:hidden!important;margin-top:4px!important;margin-bottom:4px!important}
 .premium-story{padding:3px!important}.premium-story::before{inset:-80%!important}
 .mobile-nav{padding-left:env(safe-area-inset-left)!important;padding-right:env(safe-area-inset-right)!important;height:calc(66px + env(safe-area-inset-bottom))!important}
 body{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
}

/* === ANXIRA 0.8.1.10.75 — DESKTOP Friends visibility / overlays / directory === */
@media (min-width:1100px) and (hover:hover) and (pointer:fine){
  .right-col{min-height:calc(100vh - 76px)!important;display:flex!important;flex-direction:column!important;gap:14px!important}
  .right-col>.anxira-rail-supermodule{flex:0 0 auto!important}
  .right-col>.friends-side-module{flex:1 1 auto!important;min-height:610px!important;height:calc(100vh - 330px)!important;max-height:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
  .friends-side-module .friends-module-title{flex:0 0 auto!important;position:relative!important;z-index:20!important;padding-bottom:10px!important;background:var(--surface)!important}
  .friends-side-module .friends-scroll-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:visible!important;padding:8px 14px 24px 12px!important;scrollbar-gutter:stable!important}
  .friends-view-all-link{color:var(--purple)!important;text-decoration:none!important;font-size:11px!important;font-weight:900!important}
  .right-col .friends-side-module .person-row.presence-person{position:relative!important;display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;min-height:68px!important;padding:7px 5px 7px 4px!important;overflow:visible!important;border-radius:14px!important}
  .right-col .friends-side-module .person-row.presence-person:hover{background:color-mix(in srgb,var(--purple) 8%,transparent)!important}
  .right-col .friends-side-module .person-row.presence-person>.presence-photo{position:relative!important;isolation:isolate!important;width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;min-height:54px!important;max-height:54px!important;overflow:visible!important;border-radius:50%!important;padding:0!important;margin:0!important}
  .right-col .friends-side-module .person-row.presence-person>.presence-photo>img{position:relative!important;z-index:2!important;width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;min-height:54px!important;max-height:54px!important;border-radius:50%!important;object-fit:cover!important;border:2px solid var(--surface)!important;box-sizing:border-box!important}
  .right-col .friends-side-module .presence-photo.friend-story-ring::before{content:""!important;position:absolute!important;z-index:1!important;inset:-3px!important;border-radius:50%!important;background:conic-gradient(from 0deg,#29dcff,#7448ff,#e65cff,#5b8cff,#29dcff)!important;box-shadow:0 0 8px rgba(82,113,255,.45),0 0 13px rgba(192,73,255,.25)!important;animation:friendStoryRingSpin 3.4s linear infinite!important}
  .right-col .friends-side-module .presence-photo.friend-story-ring::after{content:""!important;position:absolute!important;z-index:1!important;inset:0!important;border-radius:50%!important;background:var(--surface)!important}
  @keyframes friendStoryRingSpin{to{transform:rotate(360deg)}}
  .right-col .friends-side-module .presence-dot{z-index:12!important;right:-2px!important;bottom:1px!important;width:15px!important;height:15px!important;border:3px solid var(--surface)!important;box-sizing:border-box!important;box-shadow:0 0 0 2px rgba(34,223,115,.22),0 0 14px rgba(34,223,115,.9)!important}
  .right-col .friends-side-module .friend-unread-badge{z-index:14!important;right:-8px!important;top:-8px!important;min-width:22px!important;height:22px!important;padding:0 6px!important;font-size:10px!important;border:2px solid var(--surface)!important;overflow:visible!important}
  .right-col .friends-side-module .presence-copy{min-width:0!important;overflow:visible!important}
  .right-col .friends-side-module .presence-copy>b{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;font-size:15px!important;line-height:1.18!important;font-weight:850!important;white-space:normal!important;overflow:visible!important}
  .right-col .friends-side-module .presence-copy>b .verified-badge{flex:0 0 auto!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;overflow:visible!important}
  .right-col .friends-side-module .presence-copy>small{display:block!important;font-size:11.5px!important;line-height:1.3!important;margin-top:3px!important;white-space:normal!important;color:var(--muted)!important}
  .friend-chat-cta{justify-self:end!important;display:inline-flex!important;align-items:center!important;gap:5px!important;padding:9px 10px!important;border-radius:11px!important;border:1px solid color-mix(in srgb,var(--purple) 30%,var(--line))!important;background:color-mix(in srgb,var(--purple) 10%,var(--surface2))!important;color:#54cfff!important;font-size:10px!important;font-weight:900!important;white-space:nowrap!important;overflow:visible!important}
  .presence-person[data-demo-online="1"] .friend-chat-cta{background:linear-gradient(135deg,#823cff,#a12fff)!important;color:white!important;box-shadow:0 0 16px rgba(141,55,255,.22)!important}
}


/* === ANXIRA 0.8.1.10.122 MOBILE STORY / HIGHLIGHT / SIGNAL VIEWER CORRECTION PASS === */
/* Mobile-first polish for Story top actions, Highlight reactions and Visual Signal media view. */
.viewer-head,.highlight-viewer>header{
  padding-top:max(0px,env(safe-area-inset-top));
}
.viewer-head .viewer-profile-link,
.highlight-viewer>header>a{
  min-width:0!important;
  flex:1 1 auto!important;
}
.viewer-head .viewer-profile-link strong,
.highlight-viewer>header b{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.viewer-head .close-modal,
.highlight-viewer>header .close-modal,
.story-viewer-more,
.highlight-music-toggle,
.story-music-toggle{
  display:grid!important;
  place-items:center!important;
}
.viewer-reply,
.highlight-reply{
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.story-reaction-wrap,
.highlight-react-button,
.highlight-send-button,
#highlightReplyInput,
#highlightReactButton,
#highlightReplySend{
  position:relative;
  z-index:12;
}
.highlight-react-button{
  cursor:pointer;
  touch-action:manipulation;
  box-shadow:0 8px 24px rgba(114,57,233,.28);
}
.highlight-react-button:active{transform:scale(.96)}
.highlight-reaction-picker{
  z-index:20;
  box-shadow:0 16px 42px rgba(0,0,0,.42);
}
.highlight-reaction-picker button{
  display:grid;
  place-items:center;
}
.highlight-reaction-picker button.tap img{
  animation:anxiraHighlightReactionPop .32s cubic-bezier(.2,.9,.25,1) both;
}
@keyframes anxiraHighlightReactionPop{
  0%{transform:scale(1)}
  24%{transform:scale(1.24)}
  48%{transform:scale(.9)}
  72%{transform:scale(1.08)}
  100%{transform:scale(1)}
}
/* Make Story top controls sit cleanly on the right on mobile. */
@media(max-width:800px){
  .viewer-head{
    top:max(12px,calc(env(safe-area-inset-top) + 6px))!important;
    left:max(10px,env(safe-area-inset-left))!important;
    right:max(10px,env(safe-area-inset-right))!important;
    gap:8px!important;
    align-items:center!important;
  }
  .viewer-head>.story-viewer-more-wrap{
    margin-left:auto!important;
    order:2!important;
  }
  .viewer-head>.close-modal{
    position:static!important;
    order:3!important;
    margin-left:0!important;
  }
  .viewer-head .story-viewer-more,
  .viewer-head .close-modal,
  .highlight-viewer>header .close-modal{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    border-radius:50%!important;
    background:rgba(9,11,18,.64)!important;
    border:1px solid rgba(255,255,255,.18)!important;
    box-shadow:0 10px 24px rgba(0,0,0,.24)!important;
  }
  .highlight-viewer>header{
    top:max(14px,calc(env(safe-area-inset-top) + 6px))!important;
    left:max(10px,env(safe-area-inset-left))!important;
    right:max(10px,env(safe-area-inset-right))!important;
    gap:8px!important;
    align-items:center!important;
  }
  .highlight-progress{
    top:max(10px,calc(env(safe-area-inset-top) + 2px))!important;
    left:max(12px,env(safe-area-inset-left))!important;
    right:max(12px,env(safe-area-inset-right))!important;
  }
  .story-music-toggle,
  .highlight-music-toggle{
    top:max(66px,calc(env(safe-area-inset-top) + 58px))!important;
    left:max(12px,env(safe-area-inset-left))!important;
  }
  .viewer-reply,
  .highlight-reply{
    left:max(10px,env(safe-area-inset-left))!important;
    right:max(10px,env(safe-area-inset-right))!important;
    bottom:max(12px,calc(env(safe-area-inset-bottom) + 8px))!important;
    min-height:58px!important;
    padding:8px 10px!important;
    gap:8px!important;
    border-radius:22px!important;
  }
  .viewer-reply input,
  .highlight-reply>input{
    min-height:42px!important;
    padding:10px 12px!important;
    font-size:16px!important;
    border-radius:18px!important;
  }
  .story-reaction-trigger,
  .highlight-react-button,
  .story-send-button,
  .highlight-send-button{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }
  .story-reaction-picker{
    bottom:max(74px,calc(env(safe-area-inset-bottom) + 60px))!important;
  }
  .highlight-reaction-picker{
    left:auto!important;
    right:50px!important;
    bottom:max(70px,calc(env(safe-area-inset-bottom) + 56px))!important;
    gap:6px!important;
    padding:7px 8px!important;
  }
  .highlight-reaction-picker button{width:40px!important;height:40px!important}

  /* Visual Signal media view: clean mobile sizing, no clipping, no awkward overlay feeling. */
  body[data-media-view="1"] .profile-vault-signal{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:minmax(42dvh,54dvh) minmax(0,1fr)!important;
    height:100dvh!important;
    overflow:hidden!important;
    background:#05070d!important;
  }
  body[data-media-view="1"] .profile-vault-signal-media{
    height:auto!important;
    min-height:0!important;
    padding:max(64px,calc(env(safe-area-inset-top) + 48px)) max(10px,env(safe-area-inset-right)) 10px max(10px,env(safe-area-inset-left))!important;
    display:grid!important;
    align-items:center!important;
    justify-items:center!important;
    overflow:hidden!important;
    background:#05070d!important;
  }
  body[data-media-view="1"] .profile-vault-signal-media img,
  body[data-media-view="1"] .profile-vault-signal-media video{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
  body[data-media-view="1"] .profile-vault-signal>section{
    min-height:0!important;
    overflow:auto!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    border-left:0!important;
    background:linear-gradient(180deg,rgba(11,14,22,.98),rgba(7,9,15,.995))!important;
    padding:16px max(14px,env(safe-area-inset-right)) max(18px,calc(env(safe-area-inset-bottom) + 14px)) max(14px,env(safe-area-inset-left))!important;
  }
  body[data-media-view="1"] .profile-vault-signal>section>header{
    padding-right:0!important;
    gap:10px!important;
  }
  body[data-media-view="1"] .profile-vault-engagement{
    flex-wrap:wrap!important;
    row-gap:8px!important;
    column-gap:10px!important;
    align-items:center!important;
  }
  body[data-media-view="1"] .profile-vault-engagement .btn{
    margin-left:0!important;
  }
  body[data-media-view="1"] .profile-vault-comments{
    max-height:none!important;
    overflow:visible!important;
  }
}


/* === ANXIRA 0.8.1.10.123 MOBILE VISUAL SIGNAL REPAIR === */
/* Full-screen Visual Signal detail is intentionally rebuilt for phone proportions. */
@media(max-width:800px){
  body[data-media-view="1"]{
    overflow:hidden!important;
    background:#05070d!important;
  }
  body[data-media-view="1"] .profile-vault-signal-modal.open{
    display:block!important;
    overflow:hidden!important;
    background:#05070d!important;
  }
  body[data-media-view="1"] .profile-vault-signal{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#05070d!important;
  }
  body[data-media-view="1"] .profile-vault-signal-media{
    position:relative!important;
    flex:0 0 58dvh!important;
    width:100%!important;
    height:58dvh!important;
    min-height:0!important;
    padding:calc(env(safe-area-inset-top) + 54px) 10px 10px!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#05070d!important;
  }
  body[data-media-view="1"] .profile-vault-signal-media img,
  body[data-media-view="1"] .profile-vault-signal-media video{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    border-radius:0!important;
  }
  body[data-media-view="1"] .profile-vault-signal>section{
    flex:1 1 auto!important;
    min-height:0!important;
    width:100%!important;
    display:block!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding:14px 16px max(22px,calc(env(safe-area-inset-bottom) + 16px))!important;
    background:#111522!important;
    border:0!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    color:#fff!important;
  }
  body[data-media-view="1"] .profile-vault-signal>section>header{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    padding:0!important;
    margin:0 0 10px!important;
  }
  body[data-media-view="1"] .profile-vault-signal>section>header img{
    width:44px!important;height:44px!important;min-width:44px!important;
  }
  body[data-media-view="1"] #profileVaultAuthorName{font-size:16px!important;color:#fff!important}
  body[data-media-view="1"] #profileVaultSignalTime{font-size:10px!important;color:rgba(255,255,255,.58)!important}
  body[data-media-view="1"] #profileVaultSignalCaption{
    margin:8px 0 12px!important;
    font-size:15px!important;
    line-height:1.4!important;
    color:#fff!important;
  }
  body[data-media-view="1"] .profile-vault-engagement{
    display:grid!important;
    grid-template-columns:auto auto 1fr!important;
    align-items:center!important;
    gap:8px 12px!important;
    padding:10px 0!important;
    font-size:11px!important;
  }
  body[data-media-view="1"] .profile-vault-engagement .btn{
    justify-self:end!important;
    margin:0!important;
    min-height:38px!important;
    padding:9px 12px!important;
    border-radius:14px!important;
  }
  body[data-media-view="1"] .profile-vault-reactions{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:5px!important;
    overflow:visible!important;
    padding:10px 0 12px!important;
  }
  body[data-media-view="1"] .profile-vault-reactions button{
    min-width:0!important;
    padding:4px 1px!important;
    font-size:8px!important;
  }
  body[data-media-view="1"] .profile-vault-reactions img{
    width:34px!important;height:34px!important;
  }
  body[data-media-view="1"] #profileVaultCommentForm{
    position:sticky!important;
    bottom:0!important;
    z-index:5!important;
    padding-top:8px!important;
    background:#111522!important;
  }
  body[data-media-view="1"] .profile-vault-signal>.close-modal{
    position:fixed!important;
    z-index:40!important;
    top:calc(env(safe-area-inset-top) + 10px)!important;
    left:12px!important;
    right:auto!important;
    width:42px!important;
    height:42px!important;
    border-radius:50%!important;
    background:rgba(7,9,15,.78)!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.14)!important;
    backdrop-filter:blur(12px)!important;
  }
  body[data-media-view="1"] .profile-vault-owner-menu{
    position:fixed!important;
    z-index:40!important;
    top:calc(env(safe-area-inset-top) + 10px)!important;
    right:12px!important;
  }
  body[data-media-view="1"] .mobile-nav,
  body[data-media-view="1"] .network-drawer,
  body[data-media-view="1"] .network-drawer-backdrop{
    display:none!important;
  }

  /* Every visual tile remains tappable even if it is a Vault-only image without a linked post. */
  .profile-photo-summary-grid>button,
  .profile-media-grid>[data-profile-media-item]{
    pointer-events:auto!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:rgba(126,62,239,.16)!important;
  }
}


/* === ANXIRA 0.8.1.10.124 — MOBILE VISUAL SIGNAL UNIFICATION + HIGHLIGHT REACTION FIX === */
.profile-vault-direct-note{margin:10px 0 0;padding:11px 13px;border-radius:14px;background:rgba(122,62,232,.08);border:1px solid rgba(122,62,232,.16);color:var(--muted);font-size:11px;line-height:1.45}
.profile-vault-direct-note[hidden],
#profileVaultViewPost[hidden],
#profileVaultReactions[hidden],
#profileVaultCommentForm[hidden]{display:none!important}
html.vault-media-open,html.vault-media-open body,
body.vault-media-open{overflow:hidden!important}
@media(max-width:800px){
  body.vault-media-open .mobile-nav,
  body.vault-media-open .network-drawer,
  body.vault-media-open .network-drawer-backdrop{display:none!important}
  body.vault-media-open .profile-vault-signal-modal.open,
  body[data-media-view="1"] .profile-vault-signal-modal.open{display:block!important;padding:0!important;overflow:hidden!important;background:#05070d!important}
  body.vault-media-open .profile-vault-signal,
  body[data-media-view="1"] .profile-vault-signal{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#05070d!important}
  body.vault-media-open .profile-vault-signal-media,
  body[data-media-view="1"] .profile-vault-signal-media{position:relative!important;flex:0 0 58dvh!important;width:100%!important;height:58dvh!important;min-height:0!important;padding:calc(env(safe-area-inset-top) + 54px) max(10px,env(safe-area-inset-right)) 10px max(10px,env(safe-area-inset-left))!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#05070d!important}
  body.vault-media-open .profile-vault-signal-media img,
  body.vault-media-open .profile-vault-signal-media video,
  body[data-media-view="1"] .profile-vault-signal-media img,
  body[data-media-view="1"] .profile-vault-signal-media video{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;border-radius:0!important}
  body.vault-media-open .profile-vault-signal>section,
  body[data-media-view="1"] .profile-vault-signal>section{flex:1 1 auto!important;min-height:0!important;width:100%!important;display:block!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;padding:14px max(16px,env(safe-area-inset-right)) max(22px,calc(env(safe-area-inset-bottom) + 16px)) max(16px,env(safe-area-inset-left))!important;background:#111522!important;border:0!important;border-top:1px solid rgba(255,255,255,.08)!important;color:#fff!important}
  body.vault-media-open .profile-vault-signal>section>header,
  body[data-media-view="1"] .profile-vault-signal>section>header{display:flex!important;align-items:center!important;gap:10px!important;padding:0!important;margin:0 0 10px!important}
  body.vault-media-open .profile-vault-signal>section>header img,
  body[data-media-view="1"] .profile-vault-signal>section>header img{width:44px!important;height:44px!important;min-width:44px!important}
  body.vault-media-open .profile-vault-engagement,
  body[data-media-view="1"] .profile-vault-engagement{display:grid!important;grid-template-columns:auto auto 1fr!important;align-items:center!important;gap:8px 12px!important;padding:10px 0!important;font-size:11px!important}
  body.vault-media-open .profile-vault-engagement .btn,
  body[data-media-view="1"] .profile-vault-engagement .btn{justify-self:end!important;margin:0!important;min-height:38px!important;padding:9px 12px!important;border-radius:14px!important}
  body.vault-media-open .profile-vault-reactions,
  body[data-media-view="1"] .profile-vault-reactions{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important;overflow:visible!important;padding:10px 0 12px!important}
  body.vault-media-open .profile-vault-reactions button,
  body[data-media-view="1"] .profile-vault-reactions button{min-width:0!important;padding:4px 1px!important;font-size:8px!important}
  body.vault-media-open .profile-vault-reactions img,
  body[data-media-view="1"] .profile-vault-reactions img{width:34px!important;height:34px!important}
  body.vault-media-open #profileVaultCommentForm,
  body[data-media-view="1"] #profileVaultCommentForm{position:sticky!important;bottom:0!important;z-index:5!important;padding-top:8px!important;background:#111522!important}
  body.vault-media-open .profile-vault-signal>.close-modal,
  body[data-media-view="1"] .profile-vault-signal>.close-modal{position:fixed!important;z-index:40!important;top:calc(env(safe-area-inset-top) + 10px)!important;left:12px!important;right:auto!important;width:42px!important;height:42px!important;border-radius:50%!important;background:rgba(7,9,15,.78)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important;backdrop-filter:blur(12px)!important}
  body.vault-media-open .profile-vault-owner-menu,
  body[data-media-view="1"] .profile-vault-owner-menu{position:fixed!important;z-index:40!important;top:calc(env(safe-area-inset-top) + 10px)!important;right:12px!important}
  body.vault-media-open .profile-vault-owner-more,
  body[data-media-view="1"] .profile-vault-owner-more{width:42px!important;height:42px!important;border-radius:16px!important;background:rgba(7,9,15,.78)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important}
  body.vault-media-open .profile-vault-owner-dropdown,
  body[data-media-view="1"] .profile-vault-owner-dropdown{right:0!important;top:48px!important;background:rgba(18,22,34,.98)!important;border-color:rgba(164,111,255,.28)!important;box-shadow:0 18px 50px rgba(0,0,0,.5)!important}
  body.vault-media-open .profile-vault-owner-dropdown button,
  body[data-media-view="1"] .profile-vault-owner-dropdown button{color:#f4edff!important}
}


/* === ANXIRA 0.8.1.10.125 — MOBILE VISUAL SIGNAL VIEWER STABILIZATION === */
.profile-photo-summary-grid .vault-thumb-stats,
.profile-media-grid .vault-thumb-stats,
.standalone-media .vault-thumb-stats{pointer-events:none!important}
@media(max-width:800px){
  .highlight-reply{overflow:visible!important}
  #highlightReactButton{position:relative!important;z-index:82!important;pointer-events:auto!important;touch-action:manipulation!important}
  .highlight-reaction-picker{z-index:81!important;pointer-events:auto!important}

  body.vault-media-open .profile-vault-signal-media,
  body[data-media-view="1"] .profile-vault-signal-media{flex:0 0 clamp(280px,46dvh,420px)!important;height:clamp(280px,46dvh,420px)!important;padding-bottom:0!important}
  body.vault-media-open .profile-vault-signal>section,
  body[data-media-view="1"] .profile-vault-signal>section{display:grid!important;grid-template-rows:auto auto auto auto minmax(0,1fr) auto!important;align-content:start!important;gap:0!important}
  body.vault-media-open #profileVaultSignalCaption,
  body[data-media-view="1"] #profileVaultSignalCaption{display:block!important;word-break:break-word!important}
  body.vault-media-open .profile-vault-comments,
  body[data-media-view="1"] .profile-vault-comments{overflow:auto!important;max-height:28dvh!important;padding-bottom:8px!important}
  body.vault-media-open .profile-vault-direct-note,
  body[data-media-view="1"] .profile-vault-direct-note{margin-bottom:10px!important}
  body.vault-media-open #profileVaultCommentForm,
  body[data-media-view="1"] #profileVaultCommentForm{align-self:end!important;margin-top:8px!important}
  body.vault-media-open .profile-vault-engagement,
  body[data-media-view="1"] .profile-vault-engagement{grid-template-columns:1fr 1fr!important}
  body.vault-media-open .profile-vault-engagement .btn,
  body[data-media-view="1"] .profile-vault-engagement .btn{grid-column:1 / -1!important;justify-self:start!important}
  body.vault-media-open .profile-vault-signal>section>header,
  body[data-media-view="1"] .profile-vault-signal>section>header{position:relative!important;z-index:2!important}
}


/* === ANXIRA 0.8.1.10.126 — DEFINITIVE MOBILE VAULT VIEW + HIGHLIGHT BUTTON FIX === */
#profileVaultSignalModal .profile-vault-engagement[hidden],
#profileVaultSignalModal .profile-vault-comments[hidden],
#profileVaultSignalModal #profileVaultSignalCaption[hidden],
#profileVaultSignalModal #profileVaultReactions[hidden],
#profileVaultSignalModal #profileVaultCommentForm[hidden],
#profileVaultSignalModal #profileVaultViewPost[hidden],
#profileVaultSignalModal #profileVaultDirectNote[hidden]{display:none!important}

@media(max-width:800px){
  #highlightReactButton{display:grid!important;place-items:center!important;pointer-events:auto!important;touch-action:manipulation!important;z-index:100!important}
  #highlightReactionPicker{z-index:101!important;pointer-events:auto!important}
  #highlightReactionPicker[hidden]{display:none!important}

  body.vault-media-open #profileVaultSignalModal.open,
  body[data-media-view="1"] #profileVaultSignalModal.open{
    position:fixed!important;inset:0!important;display:block!important;padding:0!important;margin:0!important;background:#05070d!important;overflow:hidden!important;z-index:15500!important;
  }
  body.vault-media-open #profileVaultSignalModal .profile-vault-signal,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal{
    position:absolute!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#05070d!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,54dvh) minmax(0,46dvh)!important;overflow:hidden!important;
  }
  body.vault-media-open #profileVaultSignalModal .profile-vault-signal-media,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal-media{
    position:relative!important;width:100%!important;height:100%!important;min-height:0!important;padding:max(58px,calc(env(safe-area-inset-top) + 44px)) 12px 10px!important;background:#05070d!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;
  }
  body.vault-media-open #profileVaultSignalModal .profile-vault-signal-media img,
  body.vault-media-open #profileVaultSignalModal .profile-vault-signal-media video,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal-media img,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal-media video{
    display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;margin:auto!important;
  }
  body.vault-media-open #profileVaultSignalModal .profile-vault-signal>section,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal>section{
    position:relative!important;width:100%!important;height:100%!important;min-height:0!important;padding:14px 16px max(18px,calc(env(safe-area-inset-bottom) + 12px))!important;background:#121725!important;border-top:1px solid rgba(255,255,255,.08)!important;display:grid!important;grid-template-rows:auto auto auto auto minmax(0,1fr) auto!important;overflow:hidden!important;color:#fff!important;
  }
  body.vault-media-open #profileVaultSignalModal .profile-vault-signal>section>header,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal>section>header{
    margin:0 0 8px!important;padding:0!important;display:flex!important;align-items:center!important;gap:10px!important;min-height:48px!important;
  }
  body.vault-media-open #profileVaultAuthorAvatar,
  body[data-media-view="1"] #profileVaultAuthorAvatar{width:46px!important;height:46px!important;min-width:46px!important;border-radius:50%!important;object-fit:cover!important}
  body.vault-media-open #profileVaultAuthorName,
  body[data-media-view="1"] #profileVaultAuthorName{font-size:16px!important;line-height:1.2!important;color:#fff!important}
  body.vault-media-open #profileVaultSignalTime,
  body[data-media-view="1"] #profileVaultSignalTime{font-size:10px!important;color:rgba(255,255,255,.58)!important;margin-top:2px!important}
  body.vault-media-open #profileVaultSignalCaption,
  body[data-media-view="1"] #profileVaultSignalCaption{margin:5px 0 9px!important;font-size:14px!important;line-height:1.4!important;color:#fff!important;max-height:72px!important;overflow:auto!important}
  body.vault-media-open .profile-vault-engagement,
  body[data-media-view="1"] .profile-vault-engagement{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important;padding:9px 0!important;border-top:1px solid rgba(255,255,255,.09)!important;border-bottom:1px solid rgba(255,255,255,.09)!important;font-size:11px!important}
  body.vault-media-open .profile-vault-engagement .btn,
  body[data-media-view="1"] .profile-vault-engagement .btn{margin-left:auto!important;grid-column:auto!important;justify-self:auto!important;min-height:34px!important;padding:7px 10px!important;border-radius:12px!important}
  body.vault-media-open .profile-vault-reactions,
  body[data-media-view="1"] .profile-vault-reactions{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important;padding:9px 0!important;overflow:visible!important}
  body.vault-media-open .profile-vault-reactions button,
  body[data-media-view="1"] .profile-vault-reactions button{min-width:0!important;padding:2px!important;font-size:8px!important}
  body.vault-media-open .profile-vault-reactions img,
  body[data-media-view="1"] .profile-vault-reactions img{width:32px!important;height:32px!important}
  body.vault-media-open .profile-vault-comments,
  body[data-media-view="1"] .profile-vault-comments{min-height:0!important;max-height:none!important;overflow:auto!important;padding:6px 0!important}
  body.vault-media-open #profileVaultCommentForm,
  body[data-media-view="1"] #profileVaultCommentForm{position:static!important;align-self:end!important;display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;gap:8px!important;margin:8px 0 0!important;padding:0!important;background:transparent!important}
  body.vault-media-open #profileVaultCommentForm input,
  body[data-media-view="1"] #profileVaultCommentForm input{height:48px!important;border-radius:24px!important;font-size:16px!important;padding:0 16px!important}
  body.vault-media-open #profileVaultCommentForm button,
  body[data-media-view="1"] #profileVaultCommentForm button{width:48px!important;height:48px!important}
  body.vault-media-open #profileVaultSignalModal .profile-vault-signal>.close-modal,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal>.close-modal{
    position:fixed!important;top:calc(env(safe-area-inset-top) + 12px)!important;right:14px!important;left:auto!important;z-index:60!important;width:42px!important;height:42px!important;border-radius:50%!important;background:rgba(8,10,18,.76)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important;display:grid!important;place-items:center!important;
  }
  body.vault-media-open #profileVaultSignalModal .profile-vault-owner-menu,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-owner-menu{
    position:fixed!important;top:calc(env(safe-area-inset-top) + 12px)!important;right:64px!important;z-index:60!important;
  }
  #profileVaultSignalModal.vault-direct-only .profile-vault-signal{
    grid-template-rows:minmax(0,72dvh) minmax(0,28dvh)!important;
  }
  #profileVaultSignalModal.vault-direct-only .profile-vault-signal>section{
    grid-template-rows:auto 1fr!important;
    align-content:start!important;
  }
  #profileVaultSignalModal.vault-direct-only .profile-vault-signal>section>header{margin-bottom:0!important}
}


/* === ANXIRA 0.8.1.10.131 — SOCIAL EXPERIENCE CONSOLIDATION === */
.profile-vault-reaction-summary{display:inline-flex!important;align-items:center;gap:5px;border:0;background:transparent;color:inherit;padding:0;cursor:pointer;font:inherit}
#profileVaultReactionIcons{display:inline-flex;align-items:center;margin-right:1px}
#profileVaultReactionIcons img{width:18px;height:18px;border-radius:50%;margin-left:-4px;filter:drop-shadow(0 1px 4px rgba(0,0,0,.22))}
#profileVaultReactionIcons img:first-child{margin-left:0}
.profile-vault-reaction-breakdown{display:grid;gap:6px;padding:10px 12px;margin:-2px 0 7px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);box-shadow:0 12px 34px rgba(0,0,0,.16)}
.profile-vault-reaction-breakdown[hidden]{display:none!important}.profile-vault-reaction-breakdown>div{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;font-size:10px}.profile-vault-reaction-breakdown img{width:26px;height:26px}.profile-vault-reaction-breakdown small{color:var(--muted)}
.vault-comment-actions{display:flex;gap:8px;margin-top:4px}.vault-comment-actions button{border:0;background:transparent;color:var(--purple);font-size:9px;font-weight:800;padding:0}.profile-vault-comments>div.vault-comment-reply{margin-left:30px;grid-template-columns:28px minmax(0,1fr)}.profile-vault-comments>div.vault-comment-reply>img{width:28px;height:28px}
.profile-vault-replying{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 11px;margin:4px 0;border-radius:12px;background:rgba(126,68,245,.10);color:var(--muted);font-size:9px}.profile-vault-replying[hidden]{display:none!important}.profile-vault-replying button{border:0;background:transparent;color:var(--text);font-size:18px}
.profile-vault-reactions button{pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important}.profile-vault-reactions button.active{transform:translateY(-1px);box-shadow:0 6px 18px rgba(125,64,245,.18)}
#profileVaultCommentForm input,#profileVaultCommentForm button{pointer-events:auto!important;touch-action:manipulation!important}

/* Canonical media display rules: mobile follows intrinsic ratio; desktop contains portrait media over a matching soft backdrop instead of cropping heads/bodies. */
@media(max-width:800px){
  .post-media.signal-edited-media,.post .post-media{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;display:block!important;background:transparent!important;overflow:hidden!important}
  .post-media.signal-edited-media::before,.post .post-media::before{display:none!important}
  .post-media.signal-edited-media>img,.post .post-media>img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;margin:0!important}
  .post-media.signal-edited-media>video,.post .post-media>video{display:block!important;width:100%!important;height:auto!important;max-height:78dvh!important;object-fit:contain!important;background:#05070d!important}
  .profile-vault-signal-media{background:#05070d!important}
  .profile-vault-signal-media img{object-fit:contain!important;object-position:center!important}
  .profile-vault-signal>section{padding-bottom:max(18px,calc(env(safe-area-inset-bottom) + 14px))!important}
  .profile-vault-reactions{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}
@media(min-width:801px){
  .post-media.signal-edited-media,.post .post-media{position:relative!important;isolation:isolate!important;display:grid!important;place-items:center!important;overflow:hidden!important;background:#080a11!important;aspect-ratio:auto!important}
  .post-media.signal-edited-media::before,.post .post-media::before{content:"";position:absolute;inset:-28px;z-index:-2;background-image:var(--anxira-media-bg);background-size:cover;background-position:center;filter:blur(28px) brightness(.48) saturate(.9);transform:scale(1.08);opacity:.82}
  .post-media.signal-edited-media::after,.post .post-media::after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(5,7,13,.14)}
  .post-media.media-portrait{height:min(72vh,720px)!important;min-height:480px!important}.post-media.media-square{max-height:700px!important}.post-media.media-landscape{min-height:0!important}
  .post-media.signal-edited-media>img,.post .post-media>img{position:relative;z-index:1;display:block!important;max-width:100%!important;max-height:720px!important;width:auto!important;height:auto!important;object-fit:contain!important;object-position:center!important;margin:auto!important}
  .post-media.media-landscape>img,.post-media.media-square>img{width:100%!important;height:auto!important}
  .post-media.signal-edited-media>video,.post .post-media>video{position:relative;z-index:1;max-width:100%!important;max-height:720px!important;width:auto!important;height:auto!important;object-fit:contain!important;background:#05070d!important}
}


/* === ANXIRA 0.8.1.10.134 — VAULT VIEWER MOBILE LAYOUT FIX === */
/* Canonical mobile viewer: natural document flow. Nothing overlays comments or composer. */
@media(max-width:800px){
  body.vault-media-open #profileVaultSignalModal.open,
  body[data-media-view="1"] #profileVaultSignalModal.open{
    position:fixed!important;inset:0!important;display:block!important;
    padding:0!important;margin:0!important;overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;background:#05070d!important;
  }

  body.vault-media-open #profileVaultSignalModal .profile-vault-signal,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal{
    position:relative!important;inset:auto!important;width:100%!important;
    height:auto!important;min-height:100dvh!important;max-height:none!important;
    display:block!important;overflow:visible!important;background:#05070d!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  }

  body.vault-media-open #profileVaultSignalModal .profile-vault-signal-media,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal-media{
    width:100%!important;height:auto!important;min-height:0!important;
    padding:calc(env(safe-area-inset-top) + 76px) 0 18px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    overflow:visible!important;background:#05070d!important;
  }

  body.vault-media-open #profileVaultSignalModal .profile-vault-signal-media img,
  body.vault-media-open #profileVaultSignalModal .profile-vault-signal-media video,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal-media img,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal-media video{
    display:block!important;width:auto!important;height:auto!important;
    max-width:min(84vw,700px)!important;max-height:72dvh!important;
    object-fit:contain!important;object-position:center!important;
    margin:0 auto!important;border-radius:0!important;
  }

  body.vault-media-open #profileVaultSignalModal .profile-vault-signal>section,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal>section{
    position:relative!important;width:100%!important;height:auto!important;min-height:0!important;
    display:flex!important;flex-direction:column!important;overflow:visible!important;
    padding:18px 32px max(24px,calc(env(safe-area-inset-bottom) + 18px))!important;
    background:#121725!important;border-top:1px solid rgba(255,255,255,.08)!important;
  }

  body.vault-media-open #profileVaultSignalModal .profile-vault-signal>section>header,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal>section>header{
    order:1!important;display:flex!important;align-items:center!important;gap:12px!important;
    margin:0 0 14px!important;padding:0!important;min-height:54px!important;
  }

  body.vault-media-open #profileVaultSignalCaption,
  body[data-media-view="1"] #profileVaultSignalCaption{
    order:2!important;margin:0 0 14px!important;max-height:none!important;overflow:visible!important;
    font-size:15px!important;line-height:1.45!important;
  }

  body.vault-media-open .profile-vault-engagement,
  body[data-media-view="1"] .profile-vault-engagement{
    order:3!important;display:grid!important;grid-template-columns:auto auto 1fr!important;
    align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;
    padding:12px 0!important;margin:0!important;
    border-top:1px solid rgba(255,255,255,.09)!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
  }
  body.vault-media-open .profile-vault-engagement .btn,
  body[data-media-view="1"] .profile-vault-engagement .btn{
    margin:0 0 0 auto!important;justify-self:end!important;grid-column:auto!important;
  }

  body.vault-media-open .profile-vault-reaction-breakdown,
  body[data-media-view="1"] .profile-vault-reaction-breakdown{order:4!important;margin:8px 0 0!important}

  body.vault-media-open .profile-vault-reactions,
  body[data-media-view="1"] .profile-vault-reactions{
    order:5!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:8px!important;padding:16px 0!important;margin:0!important;overflow:visible!important;
  }
  body.vault-media-open .profile-vault-reactions button,
  body[data-media-view="1"] .profile-vault-reactions button{
    width:100%!important;min-width:0!important;padding:6px 2px!important;
    font-size:10px!important;border-radius:16px!important;
  }
  body.vault-media-open .profile-vault-reactions img,
  body[data-media-view="1"] .profile-vault-reactions img{width:42px!important;height:42px!important}

  body.vault-media-open .profile-vault-actionbar,
  body[data-media-view="1"] .profile-vault-actionbar{
    order:6!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;padding:0 0 18px!important;margin:0!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
  }
  body.vault-media-open .profile-vault-actionbar button,
  body[data-media-view="1"] .profile-vault-actionbar button{
    min-height:56px!important;border:1px solid rgba(255,255,255,.12)!important;
    border-radius:16px!important;background:#171d2d!important;color:#fff!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    gap:8px!important;font-weight:750!important;font-size:13px!important;
  }

  body.vault-media-open .profile-vault-comments,
  body[data-media-view="1"] .profile-vault-comments{
    order:7!important;display:grid!important;gap:14px!important;
    min-height:0!important;max-height:none!important;overflow:visible!important;
    padding:18px 0 8px!important;margin:0!important;
  }
  body.vault-media-open .profile-vault-comments>div,
  body[data-media-view="1"] .profile-vault-comments>div{
    position:relative!important;display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;
    gap:12px!important;margin:0!important;padding:0!important;align-items:start!important;
  }
  body.vault-media-open .profile-vault-comments img,
  body[data-media-view="1"] .profile-vault-comments img{
    width:48px!important;height:48px!important;border-radius:50%!important;object-fit:cover!important;
  }
  body.vault-media-open .profile-vault-comments p,
  body[data-media-view="1"] .profile-vault-comments p{margin:5px 0!important;font-size:14px!important;line-height:1.4!important}
  body.vault-media-open .profile-vault-comments small,
  body[data-media-view="1"] .profile-vault-comments small{font-size:11px!important;line-height:1.4!important}
  body.vault-media-open .vault-comment-actions,
  body[data-media-view="1"] .vault-comment-actions{margin-top:6px!important}
  body.vault-media-open .vault-comment-actions button,
  body[data-media-view="1"] .vault-comment-actions button{font-size:11px!important}

  body.vault-media-open .profile-vault-direct-note,
  body[data-media-view="1"] .profile-vault-direct-note{order:8!important}
  body.vault-media-open .profile-vault-replying,
  body[data-media-view="1"] .profile-vault-replying{order:9!important}

  body.vault-media-open #profileVaultCommentForm,
  body[data-media-view="1"] #profileVaultCommentForm{
    order:10!important;position:static!important;display:grid!important;
    grid-template-columns:minmax(0,1fr) 64px!important;gap:12px!important;
    margin:12px 0 0!important;padding:0 0 max(4px,env(safe-area-inset-bottom))!important;
    background:transparent!important;z-index:auto!important;
  }
  body.vault-media-open #profileVaultCommentForm input,
  body[data-media-view="1"] #profileVaultCommentForm input{
    height:64px!important;border-radius:32px!important;font-size:18px!important;padding:0 22px!important;
  }
  body.vault-media-open #profileVaultCommentForm button,
  body[data-media-view="1"] #profileVaultCommentForm button{
    width:64px!important;height:64px!important;min-width:64px!important;border-radius:50%!important;font-size:24px!important;
  }

  body.vault-media-open #profileVaultSignalModal .profile-vault-signal>.close-modal,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal>.close-modal{
    position:fixed!important;top:calc(env(safe-area-inset-top) + 18px)!important;right:18px!important;
    left:auto!important;z-index:80!important;width:56px!important;height:56px!important;
  }
  body.vault-media-open #profileVaultSignalModal .profile-vault-owner-menu,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-owner-menu{
    position:fixed!important;top:calc(env(safe-area-inset-top) + 18px)!important;right:84px!important;z-index:80!important;
  }

  #profileVaultSignalModal.vault-direct-only .profile-vault-signal{
    display:block!important;height:auto!important;min-height:100dvh!important;
  }
  #profileVaultSignalModal.vault-direct-only .profile-vault-signal>section{
    display:flex!important;flex-direction:column!important;min-height:auto!important;
  }
}


/* === ANXIRA 0.8.1.10.135 — DESKTOP MEDIA PROPORTION + COMPACT VIEWER FIX === */
@media(min-width:801px){
  /* Dedicated desktop media viewer: stop blowing portraits up to full browser height. */
  body[data-media-view="1"] #profileVaultSignalModal.open{
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:24px!important;background:#05070d!important;overflow:hidden!important;
  }
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal{
    width:min(1320px,96vw)!important;height:min(840px,92vh)!important;
    max-width:1320px!important;max-height:840px!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;
    overflow:hidden!important;border:1px solid rgba(255,255,255,.08)!important;
    border-radius:22px!important;background:#0a0d14!important;
    box-shadow:0 28px 80px rgba(0,0,0,.45)!important;
  }
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal-media{
    min-width:0!important;min-height:0!important;height:100%!important;
    padding:22px!important;display:flex!important;align-items:center!important;justify-content:center!important;
    background:#070910!important;overflow:hidden!important;
  }
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal-media img,
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal-media video{
    width:auto!important;height:auto!important;
    max-width:100%!important;max-height:100%!important;
    object-fit:contain!important;object-position:center!important;
    margin:auto!important;border-radius:14px!important;
  }
  /* Compact right rail: remove huge artificial vertical gaps. */
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal>section{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    min-height:0!important;height:100%!important;overflow-y:auto!important;
    padding:20px!important;gap:0!important;background:var(--surface)!important;
    border-left:1px solid var(--line)!important;
  }
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal>section>header{
    flex:0 0 auto!important;margin:0 0 12px!important;padding:0!important;
  }
  body[data-media-view="1"] #profileVaultSignalCaption{
    flex:0 0 auto!important;margin:0 0 12px!important;line-height:1.45!important;
  }
  body[data-media-view="1"] .profile-vault-engagement{
    flex:0 0 auto!important;margin:0!important;padding:11px 0!important;
  }
  body[data-media-view="1"] .profile-vault-reaction-breakdown{
    flex:0 0 auto!important;margin:8px 0!important;
  }
  body[data-media-view="1"] .profile-vault-reactions{
    flex:0 0 auto!important;padding:12px 0!important;margin:0!important;
    overflow:visible!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:5px!important;
  }
  body[data-media-view="1"] .profile-vault-reactions button{
    min-width:0!important;padding:5px 1px!important;font-size:8px!important;
  }
  body[data-media-view="1"] .profile-vault-reactions img{
    width:30px!important;height:30px!important;
  }
  body[data-media-view="1"] .profile-vault-actionbar{
    flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;padding:8px 0 14px!important;margin:0!important;
    border-bottom:1px solid var(--line)!important;
  }
  body[data-media-view="1"] .profile-vault-actionbar button{
    min-height:42px!important;padding:8px!important;border-radius:12px!important;
  }
  body[data-media-view="1"] .profile-vault-comments{
    flex:0 0 auto!important;max-height:260px!important;overflow:auto!important;
    padding:12px 0!important;margin:0!important;gap:10px!important;
  }
  body[data-media-view="1"] .profile-vault-direct-note,
  body[data-media-view="1"] .profile-vault-replying{
    flex:0 0 auto!important;
  }
  body[data-media-view="1"] #profileVaultCommentForm{
    flex:0 0 auto!important;position:sticky!important;bottom:0!important;
    margin-top:10px!important;padding-top:10px!important;background:var(--surface)!important;
  }
  body[data-media-view="1"] #profileVaultSignalModal .profile-vault-signal>.close-modal{
    position:fixed!important;left:calc(50% - min(660px,48vw) + 12px)!important;right:auto!important;
    top:max(32px,4vh)!important;width:44px!important;height:44px!important;
  }

  /* Desktop feed media: card height follows the rendered image. No giant empty portrait canvas. */
  .post-media.signal-edited-media,.post .post-media{
    height:auto!important;min-height:0!important;max-height:none!important;
    aspect-ratio:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;
    padding:0!important;overflow:hidden!important;
  }
  .post-media.media-portrait{height:auto!important;min-height:0!important;max-height:none!important}
  .post-media.media-square,.post-media.media-landscape{height:auto!important;min-height:0!important;max-height:none!important}
  .post-media.signal-edited-media>img,.post .post-media>img{
    display:block!important;width:auto!important;height:auto!important;
    max-width:100%!important;max-height:min(72vh,680px)!important;
    object-fit:contain!important;object-position:center!important;margin:0 auto!important;
  }
  .post-media.media-landscape>img,.post-media.media-square>img{
    width:100%!important;height:auto!important;max-height:min(68vh,680px)!important;
  }
  .profile-own-feed .post-media img,.profile-own-feed .post-media video{
    width:auto!important;max-width:calc(100% - 28px)!important;height:auto!important;
    margin:0 auto!important;max-height:640px!important;object-fit:contain!important;
  }
}


/* === ANXIRA 0.8.1.10.173 SIGNAL UX + CHAT ICON UPDATE === */
.anxira-chat-icon{
  --size:1.15em;
  position:relative;
  display:inline-grid;
  place-items:center;
  width:var(--size);
  height:var(--size);
  min-width:var(--size);
  border-radius:38% 38% 42% 42%;
  background:linear-gradient(135deg,#2fd5ff 0%,#6f5bff 52%,#c34dff 100%);
  box-shadow:0 0 0 1px rgba(255,255,255,.18) inset,0 8px 18px rgba(98,58,255,.28),0 4px 10px rgba(0,0,0,.14);
  vertical-align:middle;
}
.anxira-chat-icon::after{
  content:"";
  position:absolute;
  left:16%;
  bottom:-10%;
  width:36%;
  height:34%;
  background:linear-gradient(135deg,#2fd5ff 0%,#6f5bff 58%,#c34dff 100%);
  clip-path:polygon(0 0,100% 0,18% 100%);
  border-bottom-left-radius:4px;
  transform:rotate(7deg);
}
.anxira-chat-icon i{
  width:42%;
  height:42%;
  border-radius:4px;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(220,236,255,.9));
  transform:rotate(45deg);
  box-shadow:0 0 10px rgba(255,255,255,.75),0 0 0 1px rgba(255,255,255,.25) inset;
}
body.dark .anxira-chat-icon{box-shadow:0 0 0 1px rgba(255,255,255,.2) inset,0 10px 20px rgba(79,33,186,.42),0 4px 14px rgba(0,0,0,.34)}
.icon-btn .anxira-chat-icon{--size:30px}
.top-messages .anxira-chat-icon{--size:26px}
.nav-chat-icon{--size:20px}
.mobile-nav .anxira-chat-icon{--size:26px}
.friend-chat-cta .anxira-chat-icon,.friend-quick-menu .anxira-chat-icon,.anxira-chat-head-actions .anxira-chat-icon{--size:18px}
.mobile-nav a>span.anxira-chat-icon,.messenger-mobile-nav a>span.anxira-chat-icon{margin-bottom:2px}
.nav-art .anxira-chat-icon{margin-top:1px}
.friend-chat-cta .anxira-chat-icon{margin-right:1px}
.friend-quick-menu [data-friend-action="chat"] .anxira-chat-icon{margin-right:4px}
.anxira-chat-head-actions a[data-mini-chat-full]{display:grid;place-items:center}
.anxira-chat-head-actions a[data-mini-chat-full] .anxira-chat-icon{--size:20px}

body.signal-overlay-open .signal-studio,
body.signal-overlay-open .signal-media-editor{overflow:visible!important}
.signal-feeling-modal.open,.signal-location-modal.open,#tagPeopleModal.tag-people-modal.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.signal-location-modal,.signal-feeling-modal,#tagPeopleModal.tag-people-modal{padding-bottom:env(safe-area-inset-bottom)}

.signal-delete-zone{
  min-width:160px!important;
  height:62px!important;
  padding:0 20px!important;
  border-radius:32px!important;
  background:linear-gradient(180deg,rgba(20,23,34,.96),rgba(12,14,22,.94))!important;
  border:1px solid rgba(255,255,255,.15)!important;
}
.signal-delete-zone span{font-size:24px!important}
.signal-delete-zone b{font-size:10px!important;letter-spacing:.08em;text-transform:uppercase}
.signal-delete-zone.over{
  background:linear-gradient(135deg,rgba(215,44,79,.95),rgba(255,102,122,.94))!important;
  box-shadow:0 16px 36px rgba(181,26,56,.34)!important;
}

@media(min-width:801px){
  .signal-media-editor.tool-open .signal-media-stage{
    padding:18px 360px 18px 18px!important;
  }
  .signal-media-editor.tool-open .signal-media-editor-footer,
  .signal-media-editor.tool-open .signal-media-editor-tools{
    padding-right:360px!important;
  }
  .signal-media-editor.tool-open .signal-media-toolpanel{
    left:auto!important;
    right:18px!important;
    top:126px!important;
    bottom:18px!important;
    width:min(332px,calc(100vw - 40px))!important;
    max-height:none!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:24px!important;
    box-shadow:0 28px 64px rgba(0,0,0,.42)!important;
    background:linear-gradient(180deg,rgba(12,14,22,.97),rgba(10,12,19,.95))!important;
  }
  .signal-media-editor.tool-open .signal-media-toolpanel>header{
    border-radius:24px 24px 0 0;
  }
  .signal-media-editor.tool-open .signal-tool-content{padding:16px 15px 18px}
  .signal-media-editor.tool-open .signal-preview-strip button{flex-basis:86px}
  .signal-media-editor.tool-open .signal-preview-strip button i{width:84px;height:108px}
  .signal-media-editor.tool-open .signal-media-stage>img:first-child,
  .signal-media-editor.tool-open .signal-media-stage>video{border-radius:24px}
}
@media(max-width:800px){
  .signal-media-toolpanel{max-height:56dvh!important}
  .signal-media-toolpanel>header{padding-top:12px!important}
}


/* 10.173 Signal Studio / Media Editor major pass */
.signal-location-modal,.signal-feeling-modal,#tagPeopleModal.tag-people-modal{
  position:fixed!important;inset:0!important;display:flex!important;align-items:flex-end;justify-content:center;
  padding:20px 14px max(14px,env(safe-area-inset-bottom))!important;
  background:rgba(4,8,20,.58)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  opacity:0;visibility:hidden;pointer-events:none;z-index:2400!important;
}
.signal-location-modal.open,.signal-feeling-modal.open,#tagPeopleModal.tag-people-modal.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.signal-location-modal .signal-location-sheet,.signal-feeling-modal .signal-feeling-sheet,#tagPeopleModal.tag-people-modal .tag-people-card{
  width:min(100%,560px)!important;max-height:min(78dvh,760px)!important;overflow:auto!important;
  margin:0 auto!important;border-radius:28px!important;box-shadow:0 26px 70px rgba(0,0,0,.38)!important;
}
@media(min-width:801px){
  .signal-location-modal,.signal-feeling-modal,#tagPeopleModal.tag-people-modal{align-items:center!important;padding:28px!important}
}
body.signal-overlay-open .signal-studio{isolation:isolate}
body.signal-overlay-open .signal-studio-chips,
body.signal-overlay-open .signal-studio-author,
body.signal-overlay-open #signalStudioBody{position:relative;z-index:1}

.signal-delete-zone{
  left:50%!important;bottom:14px!important;transform:translateX(-50%)!important;
  min-width:180px!important;padding:12px 18px!important;border-radius:999px!important;
  background:linear-gradient(135deg,rgba(26,15,48,.96),rgba(84,26,149,.96))!important;
  box-shadow:0 16px 34px rgba(47,10,95,.34)!important;border:1px solid rgba(255,255,255,.15)!important;
}
.signal-delete-zone span{font-size:18px!important}
.signal-delete-zone b{font-size:12px!important;letter-spacing:.04em}
.signal-delete-zone.over{background:linear-gradient(135deg,#a1164f,#ff2d55)!important;box-shadow:0 20px 38px rgba(255,45,85,.34)!important}

.signal-media-editor-head{padding-top:max(12px,env(safe-area-inset-top))!important}
.signal-media-editor-tools button{min-width:64px}
.signal-media-editor.tool-open .signal-media-stage{padding-bottom:min(42dvh,330px)!important}
.signal-media-toolpanel{
  background:linear-gradient(180deg,rgba(10,12,19,.985),rgba(17,20,31,.975))!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
}
.signal-media-toolpanel>header{background:linear-gradient(180deg,rgba(12,14,22,.98),rgba(12,14,22,.92))!important}
.signal-tool-content{padding:14px 14px 18px!important}
.signal-text-tool small,.signal-tool-content>small{font-size:11px!important;color:#b7bfd3!important}
.signal-font-row button,.signal-text-buttons button,.signal-music-moods button{padding:10px 13px!important;font-size:10px!important}
.signal-font-row button.active,.signal-music-moods button.active,.signal-text-buttons button.active{box-shadow:0 10px 22px rgba(111,59,255,.24)!important}
@media(max-width:800px){
  .signal-media-editor.tool-open .signal-media-stage{padding-bottom:min(46dvh,360px)!important}
  .signal-media-toolpanel{max-height:44dvh!important;border-radius:26px 26px 0 0!important}
  .signal-media-toolpanel>header{padding-top:14px!important}
}


/* === ANXIRA 0.8.1.10.174 REAL CHAT ASSET + SIGNAL OVERLAY PORTAL === */
.anxira-chat-icon{
  --size:1.15em;
  display:inline-block!important;
  width:var(--size)!important;height:var(--size)!important;min-width:var(--size)!important;
  background:url('../img/anxira_chat_icon.png?v=174') center/contain no-repeat!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  filter:drop-shadow(0 2px 5px rgba(74,45,190,.22));
  vertical-align:middle!important;
}
.anxira-chat-icon::before,.anxira-chat-icon::after,.anxira-chat-icon>i{display:none!important;content:none!important}
body.dark .anxira-chat-icon{filter:drop-shadow(0 3px 7px rgba(116,64,255,.34)) brightness(1.04)}
body:not(.dark) .anxira-chat-icon{filter:drop-shadow(0 2px 4px rgba(49,44,120,.18)) brightness(.98) saturate(.96)}
.icon-btn .anxira-chat-icon{--size:30px}
.top-messages .anxira-chat-icon{--size:31px}
.mobile-nav .anxira-chat-icon{--size:31px}
.nav-art .anxira-chat-icon{--size:27px}
.friend-chat-cta .anxira-chat-icon,.friend-quick-menu .anxira-chat-icon,.anxira-chat-head-actions .anxira-chat-icon{--size:22px}
.profile-primary-actions .anxira-chat-icon{--size:22px}
#anxiraSignalOverlayPortal{position:fixed!important;inset:0!important;z-index:2147483000!important;pointer-events:none!important;isolation:isolate!important}
#anxiraSignalOverlayPortal>.signal-location-modal,
#anxiraSignalOverlayPortal>.signal-feeling-modal,
#anxiraSignalOverlayPortal>#tagPeopleModal{
  position:fixed!important;inset:0!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;
  padding:18px 12px max(12px,env(safe-area-inset-bottom))!important;
  background:rgba(2,5,12,.72)!important;backdrop-filter:blur(13px)!important;-webkit-backdrop-filter:blur(13px)!important;
  pointer-events:auto!important;
}
#anxiraSignalOverlayPortal>.signal-location-modal[hidden],
#anxiraSignalOverlayPortal>.signal-feeling-modal[hidden],
#anxiraSignalOverlayPortal>#tagPeopleModal[hidden]{display:none!important}
#anxiraSignalOverlayPortal .signal-location-sheet,
#anxiraSignalOverlayPortal .signal-feeling-sheet,
#anxiraSignalOverlayPortal .tag-people-sheet{
  position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  width:min(100%,560px)!important;max-height:min(82dvh,760px)!important;overflow:auto!important;
  margin:0!important;border-radius:28px 28px 20px 20px!important;
  background:var(--surface)!important;border:1px solid var(--line)!important;
  box-shadow:0 32px 90px rgba(0,0,0,.48)!important;
}
@media(min-width:801px){
 #anxiraSignalOverlayPortal>.signal-location-modal,#anxiraSignalOverlayPortal>.signal-feeling-modal,#anxiraSignalOverlayPortal>#tagPeopleModal{align-items:center!important;padding:28px!important}
 #anxiraSignalOverlayPortal .signal-location-sheet,#anxiraSignalOverlayPortal .signal-feeling-sheet,#anxiraSignalOverlayPortal .tag-people-sheet{border-radius:28px!important}
}


/* ANXIRA 0.8.1.10.177 — modern vector chat icon */
.anxira-chat-icon{
  --size:1.1em;
  display:inline-block!important;
  width:var(--size)!important;
  height:var(--size)!important;
  min-width:var(--size)!important;
  background:currentColor!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 4.75h13A3.75 3.75 0 0 1 22.25 8.5v6A3.75 3.75 0 0 1 18.5 18.25H10l-4.9 3.1c-.55.35-1.25-.05-1.25-.7v-2.95A3.75 3.75 0 0 1 1.75 14.5v-6A3.75 3.75 0 0 1 5.5 4.75Zm0 1.8A1.95 1.95 0 0 0 3.55 8.5v6c0 .83.52 1.57 1.3 1.84l.8.28v2.47l3.83-2.43H18.5a1.95 1.95 0 0 0 1.95-1.95v-6A1.95 1.95 0 0 0 18.5 6.55h-13Zm2.6 4.1a1.05 1.05 0 1 1 0 2.1 1.05 1.05 0 0 1 0-2.1Zm3.9 0a1.05 1.05 0 1 1 0 2.1 1.05 1.05 0 0 1 0-2.1Zm3.9 0a1.05 1.05 0 1 1 0 2.1 1.05 1.05 0 0 1 0-2.1Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 4.75h13A3.75 3.75 0 0 1 22.25 8.5v6A3.75 3.75 0 0 1 18.5 18.25H10l-4.9 3.1c-.55.35-1.25-.05-1.25-.7v-2.95A3.75 3.75 0 0 1 1.75 14.5v-6A3.75 3.75 0 0 1 5.5 4.75Zm0 1.8A1.95 1.95 0 0 0 3.55 8.5v6c0 .83.52 1.57 1.3 1.84l.8.28v2.47l3.83-2.43H18.5a1.95 1.95 0 0 0 1.95-1.95v-6A1.95 1.95 0 0 0 18.5 6.55h-13Zm2.6 4.1a1.05 1.05 0 1 1 0 2.1 1.05 1.05 0 0 1 0-2.1Zm3.9 0a1.05 1.05 0 1 1 0 2.1 1.05 1.05 0 0 1 0-2.1Zm3.9 0a1.05 1.05 0 1 1 0 2.1 1.05 1.05 0 0 1 0-2.1Z'/%3E%3C/svg%3E")!important;
  -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
  -webkit-mask-position:center!important;mask-position:center!important;
  -webkit-mask-size:contain!important;mask-size:contain!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important;
  vertical-align:middle!important;opacity:.94;
}
.anxira-chat-icon::before,.anxira-chat-icon::after,.anxira-chat-icon>i{display:none!important;content:none!important}
body.dark .anxira-chat-icon,body:not(.dark) .anxira-chat-icon{filter:none!important;box-shadow:none!important}
.icon-btn .anxira-chat-icon,.top-messages .anxira-chat-icon{--size:26px}
.mobile-nav .anxira-chat-icon,.messenger-mobile-nav .anxira-chat-icon{--size:27px}
.nav-art .anxira-chat-icon{--size:24px}
.friend-chat-cta .anxira-chat-icon,.friend-quick-menu .anxira-chat-icon,.anxira-chat-head-actions .anxira-chat-icon{--size:20px}
.profile-primary-actions .anxira-chat-icon{--size:20px}
.top-messages,.mobile-nav a[href*="messages.php"],.main-nav a[href*="messages.php"],.network-drawer-grid a[href*="messages.php"]{color:var(--muted)}
.top-messages:hover,.main-nav a[href*="messages.php"]:hover,.network-drawer-grid a[href*="messages.php"]:hover{color:var(--purple)}
.mobile-nav a.active[href*="messages.php"]{color:var(--purple)!important}


/* ANXIRA 0.8.1.10.178 — definitive native SVG chat icon */
svg.anxira-chat-icon{
  --size:24px;
  display:inline-block!important;
  width:var(--size)!important;
  height:var(--size)!important;
  min-width:var(--size)!important;
  flex:0 0 var(--size)!important;
  background:none!important;
  -webkit-mask:none!important;mask:none!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;filter:none!important;
  overflow:visible!important;vertical-align:middle!important;
  color:currentColor!important;opacity:1!important;
}
svg.anxira-chat-icon path{fill:none!important;stroke:currentColor!important}
svg.anxira-chat-icon circle{fill:currentColor!important;stroke:none!important}
.icon-btn svg.anxira-chat-icon,.top-messages svg.anxira-chat-icon{--size:24px}
.mobile-nav svg.anxira-chat-icon,.messenger-mobile-nav svg.anxira-chat-icon{--size:23px}
.nav-art svg.anxira-chat-icon{--size:22px}
.friend-chat-cta svg.anxira-chat-icon,.friend-quick-menu svg.anxira-chat-icon,.anxira-chat-head-actions svg.anxira-chat-icon{--size:18px}
.profile-primary-actions svg.anxira-chat-icon{--size:18px}
.top-messages,.mobile-nav a[href*="messages.php"],.main-nav a[href*="messages.php"],.network-drawer-grid a[href*="messages.php"]{color:var(--muted)!important}
.top-messages:hover,.main-nav a[href*="messages.php"]:hover,.network-drawer-grid a[href*="messages.php"]:hover{color:var(--purple)!important}
.mobile-nav a.active[href*="messages.php"]{color:var(--purple)!important}
body.dark svg.anxira-chat-icon{filter:none!important}


/* === ANXIRA 0.8.1.10.181 — polished non-blocking Signal Text Studio === */
.signal-media-editor.tool-text .signal-media-editor-shell{grid-template-rows:auto auto minmax(220px,1fr) auto auto!important}
.signal-media-editor.tool-text .signal-media-stage{padding:0!important;overflow:hidden!important;min-height:220px!important}
.signal-media-editor.tool-text .signal-media-toolpanel{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:min(920px,calc(100% - 32px))!important;max-width:920px!important;max-height:none!important;margin:10px auto 0!important;transform:none!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:20px!important;background:rgba(15,18,28,.96)!important;box-shadow:0 12px 32px rgba(0,0,0,.22)!important;overflow:hidden!important;z-index:24!important}
.signal-media-editor.tool-text .signal-media-toolpanel>header{display:none!important}
.signal-media-editor.tool-text .signal-tool-content[data-signal-tool-panel="text"]{display:grid!important;gap:9px!important;padding:11px 12px 10px!important}
.signal-media-editor.tool-text .signal-font-row{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin:0!important;padding:0 2px 2px!important;overflow-x:auto!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}
.signal-media-editor.tool-text .signal-font-row::-webkit-scrollbar{display:none!important}
.signal-media-editor.tool-text .signal-font-row button{flex:0 0 auto!important;min-width:88px!important;height:38px!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:12px!important;background:rgba(255,255,255,.055)!important;color:#f7f8fc!important;box-shadow:none!important;font-size:12px!important;font-weight:700!important;line-height:1!important}
.signal-media-editor.tool-text .signal-font-row button[data-signal-font="strong"]{font-family:Arial Black,Impact,sans-serif!important;font-weight:900!important}.signal-media-editor.tool-text .signal-font-row button[data-signal-font="clean"]{font-family:Inter,Segoe UI,Arial,sans-serif!important}.signal-media-editor.tool-text .signal-font-row button[data-signal-font="elegant"]{font-family:Georgia,Times New Roman,serif!important;font-weight:600!important}.signal-media-editor.tool-text .signal-font-row button[data-signal-font="script"]{font-family:cursive!important;font-style:italic!important}.signal-media-editor.tool-text .signal-font-row button[data-signal-font="editorial"]{font-family:Times New Roman,Georgia,serif!important}
.signal-media-editor.tool-text .signal-font-row button.active{border-color:#8853ff!important;background:linear-gradient(135deg,#6840e8,#962cf2)!important;color:#fff!important;box-shadow:0 7px 18px rgba(111,59,255,.22)!important}
.signal-media-editor.tool-text .signal-text-controls-row{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-width:0!important}
.signal-media-editor.tool-text .signal-text-buttons{display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;flex:0 0 auto!important}
.signal-media-editor.tool-text .signal-text-buttons button{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:12px!important;background:rgba(255,255,255,.055)!important;color:#fff!important;font-size:15px!important;box-shadow:none!important}
.signal-media-editor.tool-text #signalTextColorButton span{width:20px!important;height:20px!important;border-radius:50%!important;border:2px solid rgba(255,255,255,.88)!important;box-shadow:0 0 0 1px rgba(0,0,0,.16)!important}.signal-media-editor.tool-text .signal-text-buttons button.active{border-color:#8550ff!important;background:rgba(116,65,245,.2)!important}.signal-media-editor.tool-text .signal-text-delete{color:#ff6680!important}
.signal-media-editor.tool-text .signal-text-size-row{display:flex!important;align-items:center!important;gap:8px!important;min-width:190px!important;max-width:320px!important;flex:1 1 270px!important;height:38px!important;padding:0 10px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;background:rgba(255,255,255,.045)!important}.signal-media-editor.tool-text .signal-text-size-row[hidden]{display:flex!important}.signal-media-editor.tool-text .signal-text-size-row span:first-child{font-size:11px!important;font-weight:800!important}.signal-media-editor.tool-text .signal-text-size-row span:last-child{font-size:20px!important;font-weight:800!important}.signal-media-editor.tool-text .signal-text-size-row input{position:static!important;display:block!important;flex:1 1 auto!important;width:auto!important;height:22px!important;margin:0!important;transform:none!important;accent-color:#8050ff!important}
.signal-media-editor.tool-text .signal-text-hint{display:block!important;margin:0!important;text-align:center!important;color:#9da6ba!important;font-size:10px!important;line-height:1.35!important}.signal-media-editor.tool-text .signal-text-float-slider{display:none!important}.signal-media-editor.tool-text .signal-media-editor-footer{padding-top:10px!important}
body:not(.dark) .signal-media-editor.tool-text .signal-media-toolpanel{background:rgba(255,255,255,.97)!important;border-color:#dfe2eb!important;box-shadow:0 12px 30px rgba(35,39,57,.10)!important}body:not(.dark) .signal-media-editor.tool-text .signal-font-row button,body:not(.dark) .signal-media-editor.tool-text .signal-text-buttons button,body:not(.dark) .signal-media-editor.tool-text .signal-text-size-row{background:#f6f7fb!important;border-color:#dfe2eb!important;color:#202432!important}body:not(.dark) .signal-media-editor.tool-text .signal-font-row button.active{background:linear-gradient(135deg,#6740ea,#962cf2)!important;border-color:#7d4bfa!important;color:#fff!important}body:not(.dark) .signal-media-editor.tool-text .signal-text-buttons button.active{background:#eee9ff!important;border-color:#8a58ff!important;color:#5e2bd7!important}body:not(.dark) .signal-media-editor.tool-text .signal-text-delete{color:#d93152!important}body:not(.dark) .signal-media-editor.tool-text .signal-text-hint{color:#737b8d!important}body:not(.dark) .signal-media-editor.tool-text #signalTextColorButton span{border-color:#fff!important;box-shadow:0 0 0 1px #cbd0dd!important}
.signal-delete-zone{position:absolute!important;left:50%!important;bottom:18px!important;z-index:90!important;transform:translateX(-50%)!important;min-width:150px!important;height:52px!important;padding:0 18px!important;border-radius:999px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;background:rgba(20,22,31,.94)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 12px 30px rgba(0,0,0,.28)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important}.signal-delete-zone[hidden]{display:none!important}.signal-delete-zone.over{background:#dc3151!important;border-color:#ff7088!important;transform:translateX(-50%) scale(1.06)!important}
@media(max-width:800px){.signal-media-editor.tool-text .signal-media-editor-shell{grid-template-rows:auto auto minmax(180px,1fr) auto auto!important}.signal-media-editor.tool-text .signal-media-stage{padding:0!important;min-height:180px!important}.signal-media-editor.tool-text .signal-media-toolpanel{width:calc(100% - 20px)!important;max-width:none!important;margin:8px 10px 0!important;border-radius:17px!important}.signal-media-editor.tool-text .signal-tool-content[data-signal-tool-panel="text"]{gap:8px!important;padding:9px 9px 8px!important}.signal-media-editor.tool-text .signal-font-row{justify-content:flex-start!important;padding:0 1px 2px!important}.signal-media-editor.tool-text .signal-font-row button{min-width:78px!important;height:36px!important;padding:0 11px!important;font-size:11px!important}.signal-media-editor.tool-text .signal-text-controls-row{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:8px!important;width:100%!important}.signal-media-editor.tool-text .signal-text-buttons{gap:5px!important}.signal-media-editor.tool-text .signal-text-buttons button{width:35px!important;height:35px!important;min-width:35px!important;border-radius:11px!important}.signal-media-editor.tool-text .signal-text-size-row{min-width:0!important;max-width:none!important;width:100%!important;height:35px!important;padding:0 8px!important}.signal-media-editor.tool-text .signal-text-hint{font-size:9px!important;white-space:normal!important}.signal-delete-zone{bottom:12px!important;min-width:132px!important;height:46px!important;padding:0 14px!important}}


/* === ANXIRA 0.8.1.10.182 — Centered Signal Text Dock / desktop + mobile === */
.signal-media-editor.tool-text .signal-media-editor-shell{
  grid-template-rows:auto auto minmax(220px,1fr) auto auto!important;
  align-items:stretch!important;
}
.signal-media-editor.tool-text .signal-media-toolpanel{
  position:relative!important; inset:auto!important; transform:none!important;
  width:min(860px,calc(100% - 36px))!important; max-width:860px!important;
  margin:12px auto 2px!important; border-radius:24px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:linear-gradient(180deg,rgba(23,26,38,.98),rgba(12,15,24,.98))!important;
  box-shadow:0 18px 54px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.05)!important;
  backdrop-filter:blur(18px)!important; -webkit-backdrop-filter:blur(18px)!important;
  overflow:hidden!important; z-index:26!important;
}
.signal-media-editor.tool-text .signal-tool-content[data-signal-tool-panel="text"]{gap:12px!important;padding:13px 15px 12px!important}
.signal-media-editor.tool-text .signal-font-row{justify-content:flex-start!important;gap:8px!important;padding:1px 1px 4px!important;scroll-snap-type:x proximity!important}
.signal-media-editor.tool-text .signal-font-row button{
  min-width:82px!important;height:58px!important;padding:5px 9px!important;border-radius:15px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;
  scroll-snap-align:start!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.11)!important;
}
.signal-media-editor.tool-text .signal-font-row button b{display:block!important;font-size:20px!important;line-height:1!important;font-weight:inherit!important}
.signal-media-editor.tool-text .signal-font-row button span{display:block!important;font:750 9px/1.1 Inter,Segoe UI,sans-serif!important;letter-spacing:.01em!important;opacity:.78!important}
.signal-media-editor.tool-text .signal-font-row button[data-signal-font="rounded"]{font-family:'Trebuchet MS','Avenir Next','Segoe UI',sans-serif!important;font-weight:750!important}
.signal-media-editor.tool-text .signal-font-row button[data-signal-font="serif"]{font-family:Cambria,Georgia,serif!important}
.signal-media-editor.tool-text .signal-font-row button[data-signal-font="mono"]{font-family:Consolas,'Courier New',monospace!important}
.signal-media-editor.tool-text .signal-font-row button.active{background:linear-gradient(145deg,#6740e8,#9a32ef)!important;border-color:#a070ff!important;box-shadow:0 8px 22px rgba(118,61,247,.28)!important}
.signal-media-editor.tool-text .signal-text-controls-row{display:grid!important;grid-template-columns:auto minmax(210px,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important}
.signal-media-editor.tool-text .signal-text-buttons{display:flex!important;gap:7px!important}
.signal-media-editor.tool-text .signal-text-buttons button{
  width:52px!important;height:50px!important;min-width:52px!important;border-radius:14px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;
}
.signal-media-editor.tool-text #signalTextColorButton{display:grid!important;place-items:center!important}
.signal-media-editor.tool-text #signalTextColorButton span{width:23px!important;height:23px!important}
.signal-media-editor.tool-text .signal-control-glyph{display:block!important;font-size:16px!important;line-height:1!important}
.signal-media-editor.tool-text .signal-text-buttons small{display:block!important;font:700 8px/1 Inter,Segoe UI,sans-serif!important;opacity:.67!important}
.signal-media-editor.tool-text .signal-text-size-row{height:50px!important;border-radius:14px!important;padding:0 13px!important}
.signal-media-editor.tool-text .signal-text-hint{font-size:9px!important;opacity:.84!important}
.signal-font-rounded{font-family:'Trebuchet MS','Avenir Next','Segoe UI',sans-serif!important;font-weight:700!important}
.signal-font-serif{font-family:Cambria,Georgia,serif!important;font-weight:500!important}
.signal-font-mono{font-family:Consolas,'Courier New',monospace!important;font-weight:500!important}
.signal-delete-zone{left:50%!important;right:auto!important;bottom:18px!important;min-width:164px!important;height:54px!important;border-radius:18px!important;background:rgba(15,17,26,.96)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 16px 38px rgba(0,0,0,.34)!important}
.signal-delete-zone span{font-size:20px!important}.signal-delete-zone b{font-size:10px!important;letter-spacing:.02em!important}
.signal-delete-zone.over{background:linear-gradient(135deg,#c82948,#ed4262)!important;border-color:#ff8ca0!important;box-shadow:0 16px 38px rgba(210,42,75,.34)!important}
body:not(.dark) .signal-media-editor.tool-text .signal-media-toolpanel{background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(247,248,252,.99))!important;border-color:#dfe3ed!important;box-shadow:0 18px 48px rgba(32,37,55,.13)!important}
body:not(.dark) .signal-media-editor.tool-text .signal-font-row button{background:#f1f3f8!important;border-color:#dfe3ed!important;color:#1f2532!important}
body:not(.dark) .signal-media-editor.tool-text .signal-font-row button.active{color:#fff!important;background:linear-gradient(145deg,#6540e7,#9730ef)!important;border-color:#8e5cff!important}
body:not(.dark) .signal-media-editor.tool-text .signal-text-buttons small{color:#626b7b!important}
@media(max-width:800px){
  .signal-media-editor.tool-text .signal-media-editor-shell{grid-template-rows:auto auto minmax(180px,1fr) auto auto!important}
  .signal-media-editor.tool-text .signal-media-toolpanel{width:calc(100% - 16px)!important;margin:8px 8px 2px!important;border-radius:20px!important}
  .signal-media-editor.tool-text .signal-tool-content[data-signal-tool-panel="text"]{gap:9px!important;padding:10px!important}
  .signal-media-editor.tool-text .signal-font-row{gap:6px!important;padding-bottom:2px!important}
  .signal-media-editor.tool-text .signal-font-row button{min-width:68px!important;height:50px!important;border-radius:13px!important;padding:4px 7px!important}
  .signal-media-editor.tool-text .signal-font-row button b{font-size:18px!important}.signal-media-editor.tool-text .signal-font-row button span{font-size:8px!important}
  .signal-media-editor.tool-text .signal-text-controls-row{grid-template-columns:auto minmax(0,1fr)!important;gap:7px!important}
  .signal-media-editor.tool-text .signal-text-buttons{gap:4px!important}
  .signal-media-editor.tool-text .signal-text-buttons button{width:42px!important;height:43px!important;min-width:42px!important;border-radius:12px!important}
  .signal-media-editor.tool-text .signal-text-buttons small{font-size:7px!important}
  .signal-media-editor.tool-text .signal-text-size-row{height:43px!important;min-width:0!important;padding:0 8px!important}
  .signal-media-editor.tool-text .signal-text-hint{font-size:8px!important;line-height:1.25!important}
  .signal-delete-zone{bottom:10px!important;min-width:148px!important;height:48px!important;border-radius:16px!important}
}
@media(max-width:420px){
  .signal-media-editor.tool-text .signal-text-controls-row{grid-template-columns:1fr!important}
  .signal-media-editor.tool-text .signal-text-buttons{justify-content:center!important}
  .signal-media-editor.tool-text .signal-text-size-row{width:100%!important}
}

/* ANXIRA 0.8.1.10.189.8 — standalone Music / Stickers */
#signalMediaEditor.anx-independent-tool-open>.signal-media-editor-shell>.signal-media-editor-head,#signalMediaEditor.anx-independent-tool-open>.signal-media-editor-shell>.signal-media-editor-tools,#signalMediaEditor.anx-independent-tool-open>.signal-media-editor-shell>.signal-media-stage,#signalMediaEditor.anx-independent-tool-open>.signal-media-editor-shell>.signal-media-editor-footer,#signalMediaEditor.anx-independent-tool-open #signalMediaToolpanel{visibility:hidden!important;pointer-events:none!important}
#signalMediaEditor .anx-independent-media-tool{position:fixed!important;inset:0!important;z-index:2147483647!important;display:grid!important;place-items:center!important;padding:18px!important;background:rgba(2,4,9,.82)!important;backdrop-filter:blur(18px)!important;opacity:0!important;transition:opacity .16s ease!important;overflow:hidden!important;pointer-events:auto!important}
#signalMediaEditor .anx-independent-media-tool[hidden]{display:none!important}#signalMediaEditor .anx-independent-media-tool.open{opacity:1!important}
#signalMediaEditor .anx-independent-media-card{width:min(760px,100%)!important;height:min(760px,calc(100dvh - 36px))!important;display:grid!important;grid-template-rows:64px minmax(0,1fr)!important;overflow:hidden!important;border:1px solid rgba(130,97,255,.34)!important;border-radius:26px!important;background:linear-gradient(180deg,#111521,#070a11)!important;box-shadow:0 28px 80px rgba(0,0,0,.6)!important;color:#fff!important}
#signalMediaEditor .anx-independent-media-card>header{position:relative!important;z-index:20!important;display:grid!important;grid-template-columns:82px minmax(0,1fr) 82px!important;align-items:center!important;padding:8px 12px!important;border-bottom:1px solid rgba(255,255,255,.09)!important;background:#0c101a!important}
#signalMediaEditor .anx-independent-media-card>header strong{text-align:center!important;font:850 14px/1 Inter,Segoe UI,sans-serif!important;color:#fff!important}
#signalMediaEditor .anx-independent-media-card>header button{height:42px!important;min-width:0!important;margin:0!important;padding:0 12px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:14px!important;background:#171c29!important;color:#fff!important;font:800 12px/1 Inter,Segoe UI,sans-serif!important}
#signalMediaEditor .anx-independent-media-card>header button:first-child{justify-self:start;width:44px!important;font-size:28px!important;padding:0!important}#signalMediaEditor .anx-independent-media-card>header button:last-child{justify-self:end;background:linear-gradient(135deg,#643ce6,#9c31ed)!important;border-color:#8d5cff!important}
#signalMediaEditor .anx-independent-media-body{position:relative!important;z-index:1!important;min-height:0!important;padding:16px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
#signalMediaEditor .anx-independent-media-body>.signal-tool-content{display:block!important;position:static!important;width:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important;background:transparent!important}
#signalMediaEditor .anx-independent-music .signal-music-search{position:sticky!important;top:0!important;z-index:10!important;background:#121722!important}#signalMediaEditor .anx-independent-music .signal-music-moods{position:sticky!important;top:55px!important;z-index:9!important;padding:8px 0 10px!important;background:#090d15!important}
#signalMediaEditor .anx-independent-music #signalMusicTrackList{display:grid!important;visibility:visible!important;opacity:1!important;min-height:150px!important;max-height:none!important;overflow:visible!important;gap:8px!important;padding:8px 0 20px!important}#signalMediaEditor .anx-independent-music .signal-music-track{display:grid!important;grid-template-columns:52px minmax(0,1fr) 34px!important;align-items:center!important;width:100%!important;min-height:68px!important;margin:0!important;position:relative!important;transform:none!important}
#signalMediaEditor .anx-independent-stickers .anx-independent-media-body{padding:0!important;overflow:hidden!important}#signalMediaEditor .anx-independent-stickers [data-signal-tool-panel="stickers"]{height:100%!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important;padding:0!important}
#signalMediaEditor .anx-independent-stickers .signal-sticker-library-head{position:relative!important;inset:auto!important;z-index:20!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:58px!important;margin:0!important;padding:12px 16px!important;background:#0d111b!important;opacity:1!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
#signalMediaEditor .anx-independent-stickers .signal-sticker-grid{position:relative!important;inset:auto!important;z-index:1!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;align-content:start!important;gap:10px!important;min-height:0!important;margin:0!important;padding:14px 16px 18px!important;overflow-y:auto!important;overflow-x:hidden!important;transform:none!important;isolation:isolate!important}
#signalMediaEditor .anx-independent-stickers .signal-sticker-grid button{position:relative!important;inset:auto!important;z-index:1!important;display:grid!important;place-items:center!important;width:100%!important;min-width:0!important;max-width:none!important;aspect-ratio:1/1!important;min-height:76px!important;margin:0!important;padding:8px!important;transform:none!important;float:none!important;overflow:hidden!important;border-radius:16px!important}#signalMediaEditor .anx-independent-stickers .signal-sticker-grid button img{display:block!important;width:86%!important;height:86%!important;max-width:88px!important;max-height:88px!important;object-fit:contain!important;pointer-events:none!important}
#signalMediaEditor .anx-independent-stickers .signal-tool-content>small{position:relative!important;z-index:20!important;display:block!important;margin:0!important;padding:10px 16px 14px!important;background:#0d111b!important;border-top:1px solid rgba(255,255,255,.08)!important}
body:not(.dark) #signalMediaEditor .anx-independent-media-card{background:linear-gradient(180deg,#fff,#f3f5fa)!important;color:#202534!important;border-color:#d7dbea!important}body:not(.dark) #signalMediaEditor .anx-independent-media-card>header{background:#fff!important;border-color:#e0e3ec!important}body:not(.dark) #signalMediaEditor .anx-independent-media-card>header strong{color:#202534!important}body:not(.dark) #signalMediaEditor .anx-independent-media-card>header button:first-child{background:#f0f2f7!important;color:#252b3a!important;border-color:#d8dce7!important}body:not(.dark) #signalMediaEditor .anx-independent-stickers .signal-sticker-library-head,body:not(.dark) #signalMediaEditor .anx-independent-stickers .signal-tool-content>small{background:#fff!important;color:#252b39!important;border-color:#e0e3ec!important}
@media(max-width:800px){#signalMediaEditor .anx-independent-media-tool{padding:0!important;place-items:stretch!important;background:#05070c!important;backdrop-filter:none!important}#signalMediaEditor .anx-independent-media-card{width:100%!important;height:100dvh!important;max-height:none!important;border:0!important;border-radius:0!important;grid-template-rows:calc(58px + env(safe-area-inset-top)) minmax(0,1fr)!important}#signalMediaEditor .anx-independent-media-card>header{padding:calc(7px + env(safe-area-inset-top)) 10px 7px!important}#signalMediaEditor .anx-independent-media-body{padding:12px!important;padding-bottom:calc(14px + env(safe-area-inset-bottom))!important}#signalMediaEditor .anx-independent-stickers .anx-independent-media-body{padding:0!important}#signalMediaEditor .anx-independent-stickers .signal-sticker-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;padding:12px!important}#signalMediaEditor .anx-independent-stickers .signal-sticker-grid button{min-height:64px!important;border-radius:14px!important}#signalMediaEditor .anx-independent-stickers .signal-sticker-library-head{min-height:54px!important;padding:10px 12px!important}#signalMediaEditor .anx-independent-stickers .signal-tool-content>small{padding:9px 12px calc(10px + env(safe-area-inset-bottom))!important}}

/* ANXIRA 0.8.1.10.189.9 — Sticker categories remain above the grid */
#signalMediaEditor .anx-independent-stickers .signal-sticker-library-head{flex-direction:column!important;align-items:stretch!important;gap:10px!important;min-height:112px!important;flex:0 0 auto!important;overflow:visible!important}
#signalMediaEditor .anx-independent-stickers .anx-sticker-title{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:22px!important}
#signalMediaEditor .anx-independent-stickers .anx-sticker-title span{font-size:10px!important;color:#9ba4b8!important}
#signalMediaEditor .anx-independent-stickers .anx-sticker-categories{display:flex!important;flex-wrap:nowrap!important;gap:7px!important;width:100%!important;min-height:38px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;padding:0 0 2px!important}
#signalMediaEditor .anx-independent-stickers .anx-sticker-categories::-webkit-scrollbar{display:none!important}
#signalMediaEditor .anx-independent-stickers .anx-sticker-categories button{display:block!important;flex:0 0 auto!important;width:auto!important;min-width:78px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:999px!important;background:#191f2d!important;color:#dbe0eb!important;font:800 10px/1 Inter,Segoe UI,sans-serif!important;position:relative!important;inset:auto!important;transform:none!important}
#signalMediaEditor .anx-independent-stickers .anx-sticker-categories button.active{background:linear-gradient(135deg,#653de8,#9b31ed)!important;border-color:#9a70ff!important;color:#fff!important}
#signalMediaEditor .anx-independent-stickers .signal-sticker-grid button[hidden]{display:none!important}
body:not(.dark) #signalMediaEditor .anx-independent-stickers .anx-sticker-categories button{background:#eef0f6!important;border-color:#d9ddea!important;color:#343b4a!important}body:not(.dark) #signalMediaEditor .anx-independent-stickers .anx-sticker-categories button.active{background:linear-gradient(135deg,#653de8,#9b31ed)!important;color:#fff!important}
@media(max-width:800px){#signalMediaEditor .anx-independent-stickers .signal-sticker-library-head{min-height:106px!important;padding:10px 12px 9px!important;gap:8px!important}#signalMediaEditor .anx-independent-stickers [data-signal-tool-panel="stickers"]{grid-template-rows:106px minmax(0,1fr) auto!important}#signalMediaEditor .anx-independent-stickers .anx-sticker-categories button{min-width:74px!important;height:36px!important;min-height:36px!important;padding:0 12px!important}}

/* ANXIRA 0.8.1.10.189.11 — preserve PNG alpha on posted stickers */
.post-media .signal-post-sticker,.post-media .signal-main-sticker{background:transparent!important}
.post-media .signal-post-sticker>img,.post-media .signal-main-sticker>img,
.signal-edited-media .signal-post-sticker>img,.signal-edited-media .signal-main-sticker>img{
  display:block!important;background:transparent!important;background-color:transparent!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;mix-blend-mode:normal!important;opacity:1!important;
}

/* ANXIRA 0.8.1.10.207.1 — visible Signal engagement totals. */
.post-actions [data-react-main],.post-actions [data-comments],.post-actions [data-repost]{gap:5px!important}.signal-action-count{display:inline-grid!important;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:rgba(127,65,238,.13);color:inherit;font-size:11px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}.post-actions [data-react-main].active .signal-action-count,.post-actions [data-repost].active .signal-action-count{background:linear-gradient(135deg,#6927d8,#9a43ff);color:#fff;box-shadow:0 0 13px rgba(130,54,244,.28)}body.dark .signal-action-count{background:rgba(145,82,255,.18)}body.anxira-hide-reaction-counts .post-actions .signal-action-count{visibility:visible!important}@media(max-width:800px){.post-actions .signal-action-count{min-width:18px;height:18px;padding:0 4px;font-size:10px}.post-actions [data-react-main],.post-actions [data-comments],.post-actions [data-repost]{gap:3px!important}}

/* ANXIRA 0.8.1.10.207.1 — global desktop fullscreen control. */
.anxira-site-fullscreen{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 12px;border:1px solid rgba(134,82,231,.28);border-radius:14px;background:rgba(117,62,218,.08);color:inherit;font:inherit;font-size:12px;font-weight:800;white-space:nowrap}.anxira-site-fullscreen svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}.anxira-site-fullscreen:hover,.anxira-site-fullscreen.active{border-color:#8a43ff;background:rgba(126,54,244,.18);box-shadow:0 0 18px rgba(126,54,244,.15)}@media(max-width:800px){.anxira-site-fullscreen{display:none!important}}
