/* Shared premium glass layer for authenticated pages. Loaded last so every panel stays translucent. */
body.social-authenticated{background:radial-gradient(circle at 10% 0%,rgba(79,139,255,.22),transparent 32%),radial-gradient(circle at 94% 8%,rgba(146,105,255,.2),transparent 30%),linear-gradient(135deg,#eaf1ff,#f9fbff)!important}.social-authenticated .app-shell{background:rgba(255,255,255,.2)!important;border-color:rgba(255,255,255,.55)!important;box-shadow:0 30px 100px rgba(43,78,138,.14),inset 0 1px rgba(255,255,255,.8)!important;backdrop-filter:blur(28px) saturate(135%)!important;-webkit-backdrop-filter:blur(28px) saturate(135%)!important}.social-authenticated .topbar,.social-authenticated .social-main-header{background:rgba(255,255,255,.24)!important;border-color:rgba(135,162,211,.16)!important;box-shadow:0 12px 32px rgba(43,78,138,.05)!important;backdrop-filter:blur(24px) saturate(140%)!important;-webkit-backdrop-filter:blur(24px) saturate(140%)!important}.social-authenticated .social-rail{background:rgba(255,255,255,.22)!important;border-color:rgba(135,162,211,.18)!important;box-shadow:8px 0 35px rgba(43,78,138,.1),inset -1px 0 rgba(255,255,255,.6)!important;backdrop-filter:blur(28px)!important;-webkit-backdrop-filter:blur(28px)!important}.social-authenticated .social-card,.social-authenticated .social-feature-hero,.social-authenticated .halo-status-publisher,.social-authenticated .halo-status-section,.social-authenticated .halo-call-history,.social-authenticated .halo-game-card,.social-authenticated .halo-news-card,.social-authenticated .social-profile-card,.social-authenticated .halo-personalization,.social-authenticated .halo-identity-card,.social-authenticated .halo-notification-card{background:rgba(255,255,255,.28)!important;border-color:rgba(255,255,255,.68)!important;box-shadow:0 24px 70px rgba(43,78,138,.1),inset 0 1px rgba(255,255,255,.8)!important;backdrop-filter:blur(24px) saturate(130%)!important;-webkit-backdrop-filter:blur(24px) saturate(130%)!important}.social-authenticated .social-contacts-card,.social-authenticated .social-side-stack,.social-authenticated .direct-chat-card:not([hidden]),.social-authenticated .direct-chat-header,.social-authenticated .direct-chat-messages,.social-authenticated .direct-chat-form{background:rgba(255,255,255,.18)!important;backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important}.social-authenticated .social-search,.social-authenticated .social-contact,.social-authenticated .halo-status-compose,.social-authenticated .halo-call-row,.social-authenticated .halo-news-state{background:rgba(255,255,255,.24)!important;border-color:rgba(135,162,211,.22)!important}.social-authenticated .social-contact:hover{background:rgba(255,255,255,.44)!important}.social-authenticated .footer{background:transparent!important;color:#71829b!important}html[data-theme="light"] body.social-authenticated .social-nav-button.is-active{background:rgba(255,255,255,.82)!important;box-shadow:0 12px 30px rgba(43,78,138,.16),inset 0 1px rgba(255,255,255,.98)!important}html[data-theme="dark"] body.social-authenticated{background:radial-gradient(circle at 12% 0%,rgba(37,89,186,.32),transparent 32%),radial-gradient(circle at 92% 8%,rgba(119,75,210,.25),transparent 30%),#080d18!important}html[data-theme="dark"] body.social-authenticated .app-shell{background:rgba(8,16,31,.34)!important;border-color:rgba(255,255,255,.12)!important}html[data-theme="dark"] body.social-authenticated .topbar,html[data-theme="dark"] body.social-authenticated .social-main-header{background:rgba(8,16,31,.28)!important;border-color:rgba(255,255,255,.1)!important}html[data-theme="dark"] body.social-authenticated .social-card,html[data-theme="dark"] body.social-authenticated .social-feature-hero,html[data-theme="dark"] body.social-authenticated .direct-chat-card:not([hidden]){background:rgba(8,16,31,.38)!important;border-color:rgba(255,255,255,.14)!important;box-shadow:0 26px 80px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.1)!important}.halo-captcha{display:grid!important;grid-template-columns:minmax(0,1fr) 108px!important;align-items:center!important;gap:9px!important;min-height:42px!important;padding:6px 8px!important;border:1px solid rgba(105,151,215,.25)!important;border-radius:14px!important;background:rgba(239,247,255,.55)!important;box-shadow:inset 0 1px rgba(255,255,255,.9),0 8px 20px rgba(55,92,150,.06)!important}.halo-captcha:empty{display:none!important}.halo-captcha-question{color:#365372!important;font-size:11px!important;font-weight:800!important;letter-spacing:.02em!important}.halo-captcha input{min-height:34px!important;padding:6px 9px!important;border:1px solid rgba(105,151,215,.28)!important;border-radius:9px!important;background:rgba(255,255,255,.75)!important;color:#14263e!important;font-size:12px!important;text-align:center!important}.halo-captcha input::placeholder{color:#8ca0b7!important}@media(max-width:600px){.halo-captcha{grid-template-columns:1fr 94px!important}}

/* V8: refined transparent home and glass navigation rail. */
body:not(.social-authenticated) .app-shell{background:rgba(255,255,255,.1)!important;backdrop-filter:blur(34px) saturate(145%)!important;-webkit-backdrop-filter:blur(34px) saturate(145%)!important}body:not(.social-authenticated) .auth-screen{background:rgba(255,255,255,.045)!important}.social-nav-button .nav-icon{display:grid!important;place-items:center!important;width:34px!important;height:34px!important}.social-nav-button .nav-icon svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.65!important;stroke-linecap:round!important;stroke-linejoin:round!important;filter:drop-shadow(0 4px 8px rgba(62,118,219,.12))}.social-nav-button:hover .nav-icon svg,.social-nav-button.is-active .nav-icon svg{stroke-width:1.9!important}
@media(min-width:701px){#social-shell:not([hidden]){grid-template-columns:104px minmax(0,1fr)!important;gap:16px!important;min-height:calc(100vh - 104px)!important;padding:14px 14px 24px 0!important}.social-rail{height:calc(100vh - 126px)!important;min-height:560px!important;margin-left:14px!important;padding:18px 10px!important;border:1px solid rgba(255,255,255,.52)!important;border-radius:27px!important;background:linear-gradient(180deg,rgba(255,255,255,.48),rgba(222,235,255,.18))!important;box-shadow:0 24px 70px rgba(43,78,138,.13),inset 0 1px rgba(255,255,255,.86)!important;backdrop-filter:blur(30px) saturate(135%)!important;-webkit-backdrop-filter:blur(30px) saturate(135%)!important}.social-rail-brand{background:rgba(255,255,255,.38)!important;border-color:rgba(255,255,255,.7)!important;box-shadow:0 12px 28px rgba(43,78,138,.12),inset 0 1px rgba(255,255,255,.95)!important}.social-nav-button{border-color:transparent!important;background:rgba(255,255,255,.08)!important;color:#6680a5!important}.social-nav-button:hover{background:rgba(255,255,255,.48)!important;border-color:rgba(255,255,255,.65)!important;color:#2757a6!important;box-shadow:0 10px 24px rgba(43,78,138,.1)!important}.social-nav-button.is-active{background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(206,225,255,.56))!important;border-color:rgba(255,255,255,.9)!important;color:#225fe7!important;box-shadow:0 14px 30px rgba(43,78,138,.16),inset 0 1px rgba(255,255,255,.98)!important}.social-main{border:1px solid rgba(255,255,255,.42)!important;border-radius:28px!important;background:rgba(255,255,255,.11)!important;box-shadow:0 24px 80px rgba(43,78,138,.09),inset 0 1px rgba(255,255,255,.58)!important;backdrop-filter:blur(28px) saturate(135%)!important;-webkit-backdrop-filter:blur(28px) saturate(135%)!important;overflow:hidden!important}}
@media(max-width:700px){.social-nav-button .nav-icon{width:31px!important;height:31px!important}.social-nav-button .nav-icon svg{width:20px!important;height:20px!important}}
html[data-theme="dark"] body.social-authenticated .social-rail{background:linear-gradient(180deg,rgba(22,40,75,.54),rgba(8,17,34,.32))!important;border-color:rgba(163,192,255,.18)!important;box-shadow:0 24px 70px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.12)!important}html[data-theme="dark"] body.social-authenticated .social-rail-brand{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.18)!important}.social-nav-button.is-active{transition:background .25s ease,box-shadow .25s ease,transform .2s ease!important}html[data-theme="dark"] body.social-authenticated .social-nav-button{background:rgba(255,255,255,.035)!important;color:#8fa5c8!important}html[data-theme="dark"] body.social-authenticated .social-nav-button:hover{background:rgba(103,153,255,.14)!important;color:#dce9ff!important}html[data-theme="dark"] body.social-authenticated .social-nav-button.is-active{background:linear-gradient(145deg,rgba(78,126,255,.46),rgba(145,107,255,.34))!important;border-color:rgba(167,193,255,.28)!important;color:#fff!important;box-shadow:0 14px 34px rgba(46,91,211,.26),inset 0 1px rgba(255,255,255,.22)!important}

/* V9: remove the redundant rail logo and flatten the top chrome into transparent glass. */
.social-rail-brand{display:none!important}.social-authenticated .app-shell{background:transparent!important;border-color:transparent!important;box-shadow:none!important}.social-authenticated .topbar{background:transparent!important;border-bottom:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.social-authenticated .account-menu{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.28)!important;box-shadow:0 12px 32px rgba(43,78,138,.08),inset 0 1px rgba(255,255,255,.55)!important;backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important}.social-authenticated .logout-button{background:transparent!important;border-color:transparent!important;color:inherit!important;box-shadow:none!important}.social-authenticated .social-main{background:transparent!important;border-color:transparent!important;box-shadow:none!important}.social-authenticated .social-main-header{background:rgba(255,255,255,.08)!important;border-bottom-color:rgba(255,255,255,.2)!important;box-shadow:0 12px 35px rgba(43,78,138,.06),inset 0 1px rgba(255,255,255,.55)!important;backdrop-filter:blur(26px) saturate(135%)!important;-webkit-backdrop-filter:blur(26px) saturate(135%)!important}
@media(min-width:701px){#social-shell:not([hidden]){padding-left:0!important}.social-rail{margin-left:0!important;padding-top:28px!important;background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.34)!important;box-shadow:0 24px 70px rgba(43,78,138,.12),inset 0 1px rgba(255,255,255,.72)!important}.social-nav{margin-top:0!important}.social-nav-button{background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.2)!important;box-shadow:0 8px 22px rgba(43,78,138,.06),inset 0 1px rgba(255,255,255,.38)!important}.social-nav-button:hover{background:rgba(255,255,255,.22)!important;border-color:rgba(255,255,255,.48)!important;box-shadow:0 12px 28px rgba(43,78,138,.1),inset 0 1px rgba(255,255,255,.58)!important}.social-nav-button.is-active{background:rgba(255,255,255,.34)!important;border-color:rgba(255,255,255,.65)!important;box-shadow:0 14px 30px rgba(43,78,138,.14),inset 0 1px rgba(255,255,255,.76)!important}}
html[data-theme="dark"] body.social-authenticated .account-menu{background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.16)!important}html[data-theme="dark"] body.social-authenticated .social-main-header{background:rgba(8,16,31,.16)!important;border-bottom-color:rgba(255,255,255,.12)!important}html[data-theme="dark"] body.social-authenticated .social-rail{background:rgba(8,16,31,.2)!important;border-color:rgba(255,255,255,.14)!important}html[data-theme="dark"] body.social-authenticated .social-nav-button{background:rgba(255,255,255,.025)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:0 8px 22px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.08)!important}html[data-theme="dark"] body.social-authenticated .social-nav-button.is-active{background:rgba(117,145,255,.22)!important;border-color:rgba(174,195,255,.28)!important;box-shadow:0 14px 30px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.14)!important}

/* V10: remove the authenticated Halo wordmark and make every rail icon float cleanly in the center. */
body.social-authenticated .wordmark{display:none!important}body.social-authenticated .topbar{justify-content:flex-end!important}.social-nav-button,.social-nav-button:hover,.social-nav-button.is-active{background:transparent!important;border-color:transparent!important;box-shadow:none!important}.social-nav-button{align-self:center!important;justify-content:center!important;align-items:center!important;margin-inline:auto!important}.social-nav-button .nav-icon{margin:0 auto!important}.social-nav-button .nav-icon svg{filter:drop-shadow(0 5px 10px rgba(71,129,224,.2))!important}.social-nav-button.is-active{color:#3d79e8!important}.social-nav-button.is-active .nav-icon svg{filter:drop-shadow(0 0 12px rgba(74,137,255,.55))!important}
@media(min-width:701px){.social-nav{align-items:center!important}.social-nav-button{width:58px!important;min-width:58px!important;height:56px!important;min-height:56px!important;padding:0!important}.social-rail{align-items:center!important}}
html[data-theme="dark"] body.social-authenticated .social-nav-button,.html[data-theme="dark"] body.social-authenticated .social-nav-button:hover,.html[data-theme="dark"] body.social-authenticated .social-nav-button.is-active{background:transparent!important;border-color:transparent!important;box-shadow:none!important}html[data-theme="dark"] body.social-authenticated .social-nav-button.is-active{color:#cfe0ff!important}.social-rail-brand{display:none!important}

/* V11: transparent light-theme chrome and a floating center-left navigation dock. */
html[data-theme="light"] body.social-authenticated .app-shell,html[data-theme="light"] body.social-authenticated .topbar,html[data-theme="light"] body.social-authenticated .social-main,html[data-theme="light"] body.social-authenticated .social-main-header{background:transparent!important;border-color:transparent!important;box-shadow:none!important}html[data-theme="light"] body.social-authenticated .social-main-header{border-bottom:1px solid rgba(120,151,201,.18)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}html[data-theme="dark"] body.social-authenticated .app-shell,html[data-theme="dark"] body.social-authenticated .topbar,html[data-theme="dark"] body.social-authenticated .social-main,html[data-theme="dark"] body.social-authenticated .social-main-header{background:transparent!important;box-shadow:none!important}html[data-theme="dark"] body.social-authenticated .social-main-header{border-bottom:1px solid rgba(255,255,255,.12)!important}
@media(min-width:701px){#social-shell:not([hidden]){grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:14px 14px 24px 0!important}.social-rail{position:fixed!important;z-index:220!important;top:50%!important;left:18px!important;width:86px!important;height:auto!important;min-height:0!important;margin:0!important;padding:18px 10px!important;transform:translateY(-50%)!important;border:1px solid rgba(255,255,255,.66)!important;border-radius:29px!important;background:rgba(255,255,255,.28)!important;box-shadow:0 24px 70px rgba(43,78,138,.18),inset 0 1px rgba(255,255,255,.9)!important;backdrop-filter:blur(30px) saturate(135%)!important;-webkit-backdrop-filter:blur(30px) saturate(135%)!important}.social-nav{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;margin:0!important}.social-nav-button{position:relative!important;display:grid!important;width:58px!important;min-width:58px!important;height:58px!important;min-height:58px!important;place-items:center!important;align-self:center!important;margin:0 auto!important;padding:0!important}.social-nav-button>b{display:block!important;position:absolute!important;z-index:5!important;left:calc(100% + 12px)!important;top:50%!important;min-width:max-content!important;padding:8px 10px!important;border:1px solid rgba(255,255,255,.62)!important;border-radius:10px!important;background:rgba(255,255,255,.72)!important;box-shadow:0 12px 28px rgba(43,78,138,.16),inset 0 1px rgba(255,255,255,.9)!important;color:#31527e!important;font-size:10px!important;font-weight:800!important;letter-spacing:.02em!important;opacity:0!important;pointer-events:none!important;transform:translate(-5px,-50%)!important;transition:opacity .18s ease,transform .18s ease!important;white-space:nowrap!important}.social-nav-button:hover>b,.social-nav-button:focus-visible>b{opacity:1!important;transform:translate(0,-50%)!important}.social-nav-button:hover .nav-icon svg{filter:drop-shadow(0 0 11px rgba(65,128,241,.5))!important}}
html[data-theme="light"] body.social-authenticated .social-rail{background:rgba(255,255,255,.34)!important;border-color:rgba(255,255,255,.78)!important;box-shadow:0 24px 70px rgba(43,78,138,.16),inset 0 1px rgba(255,255,255,.95)!important}html[data-theme="light"] body.social-authenticated .social-nav-button>b{background:rgba(255,255,255,.8)!important;color:#31527e!important}html[data-theme="dark"] body.social-authenticated .social-rail{background:rgba(8,16,31,.32)!important;border-color:rgba(255,255,255,.18)!important;box-shadow:0 24px 70px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.12)!important}html[data-theme="dark"] body.social-authenticated .social-nav-button>b{background:rgba(15,28,53,.92)!important;border-color:rgba(167,193,255,.26)!important;color:#dce9ff!important}

/* V12: keep the contact workspace beside the dock, restore the rail mark, and contain scrolling. */
html,body{overscroll-behavior:none}body.social-authenticated{height:100vh!important;overflow:hidden!important}body.social-authenticated .app-shell{height:100vh!important;min-height:0!important;margin:0 auto!important;overflow:hidden!important}body.social-authenticated .topbar{flex:0 0 auto!important}
@media(min-width:701px){#social-shell:not([hidden]){display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:16px!important;height:calc(100vh - 72px)!important;min-height:0!important;padding:14px 14px 14px 0!important;overflow:hidden!important}.social-rail{position:relative!important;top:auto!important;left:auto!important;z-index:20!important;align-self:center!important;width:86px!important;height:auto!important;min-height:0!important;margin:0!important;transform:none!important;padding:16px 10px!important;border-radius:29px!important}.social-rail-brand{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;margin:0 auto 14px!important;border:1px solid rgba(255,255,255,.62)!important;border-radius:16px!important;background:rgba(255,255,255,.28)!important;box-shadow:0 12px 28px rgba(43,78,138,.12),inset 0 1px rgba(255,255,255,.8)!important;font-size:0!important}.social-rail-brand>span:last-child{display:none!important}.social-brand-pulse{display:block!important;width:19px!important;height:19px!important;border-radius:8px!important;background:linear-gradient(135deg,#57b8ff,#6479ff)!important;box-shadow:0 0 0 7px rgba(91,181,255,.12),0 0 20px rgba(91,181,255,.62)!important}.social-main{display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;min-height:0!important;overflow:hidden!important}.social-main-header{flex:0 0 auto!important}.social-view{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important}.social-view[data-social-panel="chats"]{padding-bottom:22px!important}.social-dashboard-grid{height:calc(100vh - 178px)!important;min-height:0!important;overflow:hidden!important}.social-contacts-card{min-height:0!important;height:100%!important;overflow:auto!important;overscroll-behavior:contain!important}.social-contact-list{padding-bottom:18px!important}.social-side-stack{min-height:0!important;overflow:auto!important}.direct-chat-card:not([hidden]){height:100%!important;min-height:0!important;overflow:hidden!important}.direct-chat-messages{min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important}}
@media(max-width:700px){body.social-authenticated{height:auto!important;min-height:100vh!important;overflow-x:hidden!important;overflow-y:auto!important}body.social-authenticated .app-shell{height:auto!important;min-height:100vh!important;overflow:visible!important}#social-shell:not([hidden]){height:auto!important;min-height:calc(100vh - 64px)!important;overflow:visible!important}.social-main{min-height:0!important}.social-view{overflow:auto!important;overscroll-behavior:contain!important}.social-rail-brand{display:none!important}}
html[data-theme="light"] body.social-authenticated .social-rail-brand{background:rgba(255,255,255,.48)!important;border-color:rgba(255,255,255,.82)!important}html[data-theme="dark"] body.social-authenticated .social-rail-brand{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.18)!important}

/* V13: restore the Halo header brand, remove the dock brand, and add personalization controls. */
body.social-authenticated .wordmark{display:inline-flex!important;color:var(--hf-ink)!important}body.social-authenticated .topbar{justify-content:space-between!important}.social-rail-brand{display:none!important}.header-profile-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:38px!important;padding:7px 11px!important;border:1px solid rgba(255,255,255,.26)!important;border-radius:13px!important;background:rgba(255,255,255,.08)!important;color:var(--hf-ink)!important;box-shadow:0 10px 24px rgba(43,78,138,.08),inset 0 1px rgba(255,255,255,.58)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;cursor:pointer!important;font:800 10px/1 inherit!important}.header-profile-button svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}.header-profile-button:hover{border-color:rgba(255,255,255,.58)!important;background:rgba(255,255,255,.2)!important;transform:translateY(-1px)!important}html[data-theme="light"] body.social-authenticated .header-profile-button{border-color:rgba(125,157,208,.24)!important;background:rgba(255,255,255,.34)!important;color:#31527e!important}html[data-theme="dark"] body.social-authenticated .header-profile-button{background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.16)!important;color:#dce9ff!important}
.halo-personalization-settings{width:min(1160px,100%);margin:18px auto 28px;padding:24px;border:1px solid rgba(255,255,255,.6);border-radius:22px;background:rgba(255,255,255,.2);box-shadow:0 20px 60px rgba(43,78,138,.08),inset 0 1px rgba(255,255,255,.78);backdrop-filter:blur(24px) saturate(130%);-webkit-backdrop-filter:blur(24px) saturate(130%)}.halo-personalization-settings>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:17px;border-bottom:1px solid rgba(125,157,208,.18)}.halo-personalization-settings h2{margin:4px 0 5px;color:var(--hf-ink);font-size:20px;letter-spacing:-.035em}.halo-personalization-settings>header p:last-child{margin:0;color:var(--hf-muted);font-size:10px}.personalization-spark{display:grid;width:40px;height:40px;place-items:center;border:1px solid rgba(255,255,255,.5);border-radius:13px;background:rgba(255,255,255,.25);color:var(--halo-chat-accent,#4c7dff);font-size:19px}.personalization-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}.personalization-grid label{display:grid;gap:8px;color:var(--hf-ink);font-size:10px;font-weight:800}.personalization-grid label small{color:var(--hf-muted);font-size:9px;font-weight:500}.personalization-grid select{width:100%;min-height:43px;padding:9px 11px;border:1px solid rgba(125,157,208,.25);border-radius:12px;background:rgba(255,255,255,.25);color:var(--hf-ink);font:600 11px/1 inherit;outline:0}.personalization-grid select:focus{border-color:var(--halo-chat-accent,#4c7dff);box-shadow:0 0 0 3px color-mix(in srgb,var(--halo-chat-accent,#4c7dff) 18%,transparent)}.personalization-wide{grid-column:1/-1}.chat-color-picker{display:flex;gap:10px;align-items:center;min-height:43px}.chat-color-picker button{width:31px;height:31px;border:3px solid transparent;border-radius:11px;box-shadow:0 0 0 1px rgba(125,157,208,.25);cursor:pointer;transition:.18s ease}.chat-color-picker button[data-chat-color="blue"]{background:#4c7dff}.chat-color-picker button[data-chat-color="violet"]{background:#8b72ff}.chat-color-picker button[data-chat-color="cyan"]{background:#26bcd5}.chat-color-picker button[data-chat-color="mint"]{background:#33bf93}.chat-color-picker button[data-chat-color="rose"]{background:#ed6d92}.chat-color-picker button:hover,.chat-color-picker button.active{transform:scale(1.08);box-shadow:0 0 0 2px var(--halo-chat-accent,#4c7dff),0 7px 16px color-mix(in srgb,var(--halo-chat-accent,#4c7dff) 28%,transparent)}.personalization-grid input[type="range"]{width:100%;accent-color:var(--halo-chat-accent,#4c7dff);cursor:pointer}.personalization-grid output{float:right;color:var(--halo-chat-accent,#4c7dff);font-weight:800}
:root{--halo-chat-font:Inter,ui-sans-serif,system-ui,sans-serif;--halo-chat-size:15px;--halo-chat-accent:#4c7dff}.direct-chat-card .direct-chat-messages,.direct-chat-card .direct-chat-form,.direct-chat-card .direct-chat-header{font-family:var(--halo-chat-font)!important}.direct-chat-card .direct-chat-message p,.direct-chat-card .direct-chat-form input{font-size:var(--halo-chat-size)!important}.direct-chat-card .direct-chat-message.outgoing{border-color:color-mix(in srgb,var(--halo-chat-accent) 40%,transparent)!important;background:color-mix(in srgb,var(--halo-chat-accent) 18%,transparent)!important}.direct-chat-card .direct-chat-form input:focus{border-color:var(--halo-chat-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--halo-chat-accent) 16%,transparent)!important}.direct-chat-card .direct-chat-form button{background:linear-gradient(135deg,var(--halo-chat-accent),var(--hf-violet))!important}.direct-chat-card .direct-chat-messages{transition:background .2s ease}.direct-chat-card .direct-chat-message{transition:font-size .2s ease,background .2s ease}html[data-halo-chat-theme="soft"] .direct-chat-card .direct-chat-messages{background:rgba(255,255,255,.32)!important}html[data-halo-chat-theme="soft"] .direct-chat-card .direct-chat-message{background:rgba(255,255,255,.52)!important;border-color:rgba(125,157,208,.22)!important}html[data-halo-chat-theme="midnight"] .direct-chat-card .direct-chat-messages{background:rgba(4,10,22,.72)!important}html[data-halo-chat-theme="midnight"] .direct-chat-card .direct-chat-message{background:rgba(12,28,55,.8)!important;border-color:rgba(117,164,255,.2)!important}html[data-halo-chat-font="serif"] .direct-chat-card .direct-chat-message p{letter-spacing:.01em!important}html[data-halo-chat-font="mono"] .direct-chat-card .direct-chat-message p{letter-spacing:-.02em!important}@media(max-width:700px){.header-profile-button span{display:none!important}.header-profile-button{width:38px!important;padding:7px!important}.halo-personalization-settings{margin:14px;padding:18px}.personalization-grid{grid-template-columns:1fr}.personalization-wide{grid-column:auto}}

/* V14: keep profile and personalization separate, and make chat color/font choices effective. */
body.social-authenticated .wordmark{display:inline-flex!important}body.social-authenticated .topbar{justify-content:space-between!important}.social-rail-brand{display:none!important}.social-view[data-social-panel="personalization"]{padding-top:24px!important}.social-view[data-social-panel="personalization"] #halo-personalization-settings{margin:0 auto 28px!important}.direct-chat-card .direct-chat-message p,.direct-chat-card .direct-chat-form input{font-family:var(--halo-chat-font)!important;font-size:var(--halo-chat-size)!important}.direct-chat-card .direct-chat-form button{background:linear-gradient(135deg,var(--halo-chat-accent),var(--hf-violet))!important}.direct-chat-card .direct-chat-message.outgoing{border-color:color-mix(in srgb,var(--halo-chat-accent) 48%,transparent)!important;background:color-mix(in srgb,var(--halo-chat-accent) 22%,transparent)!important}.direct-chat-card .direct-chat-form input:focus{border-color:var(--halo-chat-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--halo-chat-accent) 18%,transparent)!important}@media(max-width:700px){.social-view[data-social-panel="personalization"]{padding-top:14px!important}}

/* V15: profile tile balance, full-width logout footer, reliable chat accents, and language control. */
[data-social-panel="profile"] .halo-personalization,[data-social-panel="profile"] .halo-personalization-settings{display:none!important}[data-social-panel="profile"] .social-profile-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important}[data-social-panel="profile"] .social-profile-grid>.social-profile-card,[data-social-panel="profile"] .social-profile-grid>.social-side-stack{height:100%!important;min-height:0!important}[data-social-panel="profile"] .social-profile-grid>.social-side-stack{display:grid!important;grid-template-rows:1fr 1fr!important;align-items:stretch!important;gap:16px!important}[data-social-panel="profile"] .social-profile-grid>.social-side-stack>*{height:100%!important;min-height:0!important}[data-social-panel="profile"]>.halo-profile-logout{display:flex!important;align-items:center!important;justify-content:center!important;width:min(1160px,100%)!important;min-height:60px!important;margin:18px auto 28px!important;padding:14px 22px!important;border:1px solid rgba(255,111,145,.42)!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(255,111,145,.18),rgba(255,111,145,.08))!important;box-shadow:0 16px 36px rgba(255,80,125,.12),inset 0 1px rgba(255,255,255,.3)!important;color:#ff8eaa!important;font-size:12px!important;font-weight:850!important;letter-spacing:.02em!important;cursor:pointer!important}.direct-chat-card .direct-chat-message.outgoing{background:var(--halo-chat-accent)!important;background:color-mix(in srgb,var(--halo-chat-accent) 24%,transparent)!important;border-color:var(--halo-chat-accent)!important}.direct-chat-card .direct-chat-form button{background:var(--halo-chat-accent)!important;background:linear-gradient(135deg,var(--halo-chat-accent),var(--hf-violet))!important}.chat-color-picker button.active{outline:3px solid var(--halo-chat-accent)!important;outline-offset:2px!important}.header-language{display:inline-flex!important;align-items:center!important;gap:7px!important;color:var(--hf-muted)!important;font-size:10px!important;font-weight:800!important}.header-language select{min-height:34px!important;padding:6px 8px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:10px!important;background:rgba(255,255,255,.1)!important;color:var(--hf-ink)!important;font:800 10px/1 inherit!important;outline:0!important}.header-language select:focus{border-color:var(--halo-chat-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--halo-chat-accent) 16%,transparent)!important}html[data-theme="light"] body.social-authenticated .header-language{color:#5f7390!important}html[data-theme="light"] body.social-authenticated .header-language select{border-color:rgba(125,157,208,.26)!important;background:rgba(255,255,255,.34)!important;color:#31527e!important}html[data-theme="dark"] body.social-authenticated .header-language select{background:rgba(255,255,255,.05)!important;color:#dce9ff!important}@media(max-width:960px){[data-social-panel="profile"] .social-profile-grid{grid-template-columns:1fr!important}[data-social-panel="profile"] .social-profile-grid>.social-side-stack{grid-template-rows:auto auto!important}}@media(max-width:700px){.header-language>span{display:none!important}.header-language select{min-height:36px!important}.header-language{gap:0!important}[data-social-panel="profile"]>.halo-profile-logout{margin:14px!important;width:calc(100% - 28px)!important}}

/* V16: remove legacy atmosphere card, make profile tiles equal, and add local-first avatar controls. */
[data-social-panel="profile"] .halo-chat-theme-card,[data-social-panel="profile"] .halo-personalization,[data-social-panel="profile"] .halo-personalization-settings{display:none!important}[data-social-panel="profile"] .social-profile-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(560px,auto)!important;align-items:stretch!important;gap:18px!important}[data-social-panel="profile"] .social-profile-grid>.social-profile-card,[data-social-panel="profile"] .social-profile-grid>.social-side-stack{height:100%!important;min-height:560px!important}[data-social-panel="profile"] .social-profile-grid>.social-side-stack{display:grid!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:18px!important}[data-social-panel="profile"] .social-profile-grid>.social-side-stack>*{height:100%!important;min-height:0!important}[data-social-panel="profile"]>.halo-profile-logout{display:flex!important;align-items:center!important;justify-content:center!important;width:min(1160px,100%)!important;min-height:68px!important;margin:20px auto 30px!important;padding:16px 24px!important;border:1px solid rgba(255,111,145,.5)!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(255,111,145,.2),rgba(255,111,145,.08))!important;box-shadow:0 18px 42px rgba(255,80,125,.16),inset 0 1px rgba(255,255,255,.34)!important;color:#ff9ab2!important;font-size:13px!important;font-weight:850!important;letter-spacing:.04em!important;cursor:pointer!important}.profile-avatar-control{display:grid!important;justify-items:center!important;gap:10px!important;min-width:118px!important}.social-profile-identity{align-items:flex-start!important}.social-profile-avatar,#social-profile-avatar{display:grid!important;width:92px!important;height:92px!important;place-items:center!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:28px!important;background:linear-gradient(135deg,var(--hf-violet),var(--hf-blue))!important;color:#fff!important;font-size:24px!important;font-weight:850!important;box-shadow:0 15px 36px rgba(76,125,255,.26)!important}.social-profile-avatar .avatar-image,.account-avatar .avatar-image,.social-contact-avatar .avatar-image{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}.profile-avatar-actions{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important}.social-avatar-button{min-height:31px!important;padding:7px 10px!important;border:1px solid rgba(91,181,255,.28)!important;border-radius:10px!important;background:rgba(91,181,255,.1)!important;color:var(--hf-ink)!important;font-size:9px!important;font-weight:800!important;cursor:pointer!important}.social-avatar-button.muted{border-color:rgba(255,111,145,.3)!important;background:rgba(255,111,145,.08)!important;color:#ff9ab2!important}.profile-avatar-note{max-width:150px!important;color:var(--hf-muted)!important;font-size:8px!important;line-height:1.4!important;text-align:center!important}.account-avatar{overflow:hidden!important;padding:0!important}.account-avatar .avatar-image{border-radius:inherit!important}html[data-theme="light"] .social-avatar-button{border-color:#b8cdf0!important;background:#edf4ff!important;color:#2459bf!important}html[data-theme="light"] .social-avatar-button.muted{border-color:#f0b7c6!important;background:#fff1f4!important;color:#bd4768!important}@media(max-width:960px){[data-social-panel="profile"] .social-profile-grid{grid-template-columns:1fr!important;grid-template-rows:auto!important}[data-social-panel="profile"] .social-profile-grid>.social-profile-card,[data-social-panel="profile"] .social-profile-grid>.social-side-stack{min-height:0!important;height:auto!important}[data-social-panel="profile"] .social-profile-grid>.social-side-stack{grid-template-rows:repeat(2,minmax(230px,1fr))!important}}@media(max-width:680px){[data-social-panel="profile"]>.halo-profile-logout{width:calc(100% - 28px)!important;margin:16px 14px 24px!important}.social-profile-identity{gap:12px!important}.social-profile-avatar,#social-profile-avatar{width:76px!important;height:76px!important;border-radius:23px!important}.profile-avatar-control{min-width:98px!important}.profile-avatar-note{max-width:120px!important}}

/* V17: compact header language control and interactive avatar crop editor. */
.topbar-actions{gap:12px!important}.header-language{gap:0!important}.header-language>span{display:none!important}#social-avatar-file{display:none!important;position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.halo-avatar-editor{width:min(520px,calc(100% - 24px));padding:0;border:0;background:transparent;color:var(--hf-ink)}.halo-avatar-editor::backdrop{background:rgba(2,7,18,.7);backdrop-filter:blur(12px)}.halo-avatar-editor-card{padding:24px;border:1px solid var(--hf-line);border-radius:24px;background:rgba(15,26,44,.96);box-shadow:0 34px 100px rgba(0,0,0,.48)}.halo-avatar-editor-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.halo-avatar-editor-card h2{margin:4px 0 0;font-size:22px}.halo-avatar-editor-card>header button{width:36px;height:36px;border:1px solid var(--hf-line);border-radius:11px;background:rgba(255,255,255,.07);color:inherit;font-size:20px;cursor:pointer}.halo-avatar-stage{position:relative;width:min(320px,100%);aspect-ratio:1;margin:20px auto 16px;overflow:hidden;border-radius:50%;background:#070d18;cursor:grab;touch-action:none;box-shadow:0 0 0 8px rgba(255,255,255,.05),0 18px 46px rgba(0,0,0,.32)}.halo-avatar-stage:active{cursor:grabbing}.halo-avatar-stage canvas{display:block;width:100%;height:100%}.halo-avatar-stage>span{position:absolute;inset:0;border:2px solid rgba(255,255,255,.8);border-radius:50%;box-shadow:0 0 0 80px rgba(2,7,18,.48);pointer-events:none}.halo-avatar-zoom{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;color:var(--hf-muted);font-size:10px;font-weight:800}.halo-avatar-zoom input{width:100%;accent-color:var(--hf-blue)}.halo-avatar-editor-actions{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:8px;margin-top:16px}.halo-avatar-editor-actions button{min-height:43px;border:1px solid var(--hf-line);border-radius:12px;background:rgba(255,255,255,.07);color:inherit;font-size:10px;font-weight:800;cursor:pointer}.halo-avatar-editor-actions button.primary{border-color:transparent;background:linear-gradient(135deg,var(--hf-blue),var(--hf-violet));color:#fff}.halo-avatar-editor-card>p{margin:14px 0 0;color:var(--hf-muted);font-size:9px;line-height:1.5;text-align:center}.social-profile-avatar.has-image,#social-profile-avatar.has-image{font-size:0!important;background:#0b1423!important}.social-profile-avatar>.avatar-image,#social-profile-avatar>.avatar-image{position:relative!important;z-index:2!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:inherit!important}html[data-theme="light"] .halo-avatar-editor-card{border-color:#d8e2f0;background:rgba(255,255,255,.97);box-shadow:0 34px 100px rgba(33,72,137,.24)}html[data-theme="light"] .halo-avatar-stage{background:#e8eef8}@media(max-width:560px){.topbar-actions{gap:7px!important}.halo-avatar-editor-card{padding:18px}.halo-avatar-editor-actions{grid-template-columns:1fr 1fr}.halo-avatar-editor-actions .primary{grid-column:1/-1}.halo-avatar-stage{width:min(280px,100%)}}

/* V18: compact rounded profile fields, avatar lightbox, and country selects. */
[data-social-panel="profile"] .social-profile-grid{grid-template-rows:auto!important;align-items:stretch!important}[data-social-panel="profile"] .social-profile-grid>.social-profile-card,[data-social-panel="profile"] .social-profile-grid>.social-side-stack{min-height:0!important;height:auto!important}[data-social-panel="profile"] .social-profile-grid>.social-profile-card{align-content:start!important;grid-auto-rows:max-content!important;gap:9px!important;padding:22px!important;border-radius:30px!important}[data-social-panel="profile"] .social-profile-grid>.social-side-stack{grid-template-rows:repeat(2,minmax(220px,1fr))!important;align-self:stretch!important;gap:14px!important}[data-social-panel="profile"] .social-profile-grid>.social-side-stack>*{border-radius:30px!important}[data-social-panel="profile"] .social-profile-card>label{gap:6px!important;margin-top:10px!important}[data-social-panel="profile"] .social-profile-card input,[data-social-panel="profile"] .social-profile-card textarea,[data-social-panel="profile"] .social-profile-card select{min-height:42px!important;padding:9px 13px!important;border:1px solid var(--hf-line)!important;border-radius:18px!important;background:linear-gradient(145deg,#ffffff0a,#ffffff04)!important;color:var(--hf-ink)!important;font:600 12px/1.35 inherit!important;box-shadow:inset 0 1px #ffffff08!important}[data-social-panel="profile"] .social-profile-card textarea{min-height:82px!important;max-height:120px!important}.social-profile-identity{padding-bottom:14px!important;margin-bottom:2px!important}.profile-avatar-note{margin-top:0!important}.auth-form select{width:100%;min-height:49px;padding:11px 14px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(3,7,16,.4);color:inherit;font:inherit}.halo-avatar-viewer{width:min(680px,calc(100% - 24px));padding:0;border:0;background:transparent}.halo-avatar-viewer::backdrop{background:rgba(1,4,11,.82);backdrop-filter:blur(14px)}.halo-avatar-viewer-card{position:relative;display:grid;place-items:center;padding:14px;border:1px solid rgba(255,255,255,.2);border-radius:28px;background:rgba(8,16,30,.9);box-shadow:0 35px 110px rgba(0,0,0,.58)}.halo-avatar-viewer-card img{display:block;max-width:100%;max-height:78vh;border-radius:20px;object-fit:contain}.halo-avatar-viewer-card button{position:absolute;z-index:2;top:22px;right:22px;display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(4,9,18,.72);color:#fff;font-size:24px;cursor:pointer;backdrop-filter:blur(12px)}#social-profile-avatar.has-image{cursor:zoom-in!important}html[data-theme="light"] [data-social-panel="profile"] .social-profile-card input,html[data-theme="light"] [data-social-panel="profile"] .social-profile-card textarea,html[data-theme="light"] [data-social-panel="profile"] .social-profile-card select,html[data-theme="light"] .auth-form select{border-color:#d5e0ee!important;background:#fff!important;color:#14233a!important}@media(max-width:680px){[data-social-panel="profile"] .social-profile-grid>.social-profile-card{padding:17px!important;border-radius:24px!important}[data-social-panel="profile"] .social-profile-grid>.social-side-stack>*{border-radius:24px!important}.halo-avatar-viewer-card{padding:9px;border-radius:22px}.halo-avatar-viewer-card button{top:15px;right:15px}}

/* V19: authenticated-only Profile control and stable liquid-glass chat workspace. */
.header-profile-button[hidden],body:not(.social-authenticated) #header-profile-button{display:none!important}body.social-authenticated #header-profile-button:not([hidden]){display:inline-flex!important}@media(min-width:701px){[data-social-panel="chats"] .social-dashboard-grid{width:min(1240px,100%)!important;height:calc(100vh - 188px)!important;min-height:560px!important;max-height:820px!important;margin:0 auto!important;grid-template-columns:300px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;border:1px solid rgba(255,255,255,.64)!important;border-radius:34px!important;background:rgba(255,255,255,.16)!important;box-shadow:0 26px 80px rgba(53,88,150,.12),inset 0 1px rgba(255,255,255,.9)!important;backdrop-filter:blur(30px) saturate(155%)!important;-webkit-backdrop-filter:blur(30px) saturate(155%)!important}[data-social-panel="chats"] .social-dashboard-grid.direct-chat-open>.direct-chat-card:not([hidden]){display:flex!important;grid-column:2!important;grid-row:1!important;align-self:stretch!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important;border-radius:0 33px 33px 0!important}.social-dashboard-grid.direct-chat-open>.social-contacts-card{height:100%!important;min-height:0!important;border-radius:33px 0 0 33px!important}.direct-chat-card .direct-chat-messages{flex:1 1 auto!important;height:auto!important;min-height:0!important;overflow:auto!important}.direct-chat-card .direct-chat-form{flex:0 0 auto!important;margin-top:auto!important}}
.social-authenticated .direct-chat-card:not([hidden]){position:relative!important;border:1px solid rgba(255,255,255,.58)!important;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(225,239,255,.08))!important;box-shadow:inset 0 1px rgba(255,255,255,.92),0 24px 70px rgba(53,88,150,.1)!important;backdrop-filter:blur(34px) saturate(165%)!important;-webkit-backdrop-filter:blur(34px) saturate(165%)!important}.social-authenticated .direct-chat-card:not([hidden])::before{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;background:radial-gradient(circle at 88% 8%,color-mix(in srgb,var(--halo-chat-accent) 13%,transparent),transparent 30%),radial-gradient(circle at 12% 92%,rgba(75,211,232,.09),transparent 34%)}.direct-chat-card>*{position:relative;z-index:1}.direct-chat-header{min-height:82px!important;padding:13px 18px!important;border-bottom:1px solid rgba(255,255,255,.45)!important;border-radius:0 32px 24px 24px!important;background:rgba(255,255,255,.2)!important;box-shadow:0 12px 34px rgba(53,88,150,.07),inset 0 1px rgba(255,255,255,.82)!important;backdrop-filter:blur(26px) saturate(150%)!important;-webkit-backdrop-filter:blur(26px) saturate(150%)!important}.direct-chat-notice{background:rgba(255,255,255,.13)!important;border-bottom-color:rgba(255,255,255,.35)!important;backdrop-filter:blur(18px)!important}.direct-chat-messages{padding:24px!important;background:rgba(255,255,255,.055)!important}.direct-chat-empty{min-height:100%!important}.direct-chat-message{max-width:min(68%,560px)!important;border:1px solid rgba(255,255,255,.6)!important;border-radius:24px 24px 24px 9px!important;background:rgba(255,255,255,.28)!important;box-shadow:0 14px 34px rgba(53,88,150,.1),inset 0 1px rgba(255,255,255,.86)!important;backdrop-filter:blur(22px) saturate(145%)!important;-webkit-backdrop-filter:blur(22px) saturate(145%)!important}.direct-chat-message.outgoing{border-radius:24px 24px 9px 24px!important;background:color-mix(in srgb,var(--halo-chat-accent) 20%,rgba(255,255,255,.24))!important}.direct-chat-form{padding:14px 16px 17px!important;border-top:0!important;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.2))!important;backdrop-filter:blur(28px) saturate(160%)!important;-webkit-backdrop-filter:blur(28px) saturate(160%)!important}.direct-chat-form>div{border:1px solid rgba(255,255,255,.72)!important;border-radius:999px!important;background:rgba(255,255,255,.24)!important;box-shadow:0 18px 46px rgba(53,88,150,.13),inset 0 1px rgba(255,255,255,.96),inset 0 -1px rgba(102,151,224,.08)!important;backdrop-filter:blur(30px) saturate(170%)!important;-webkit-backdrop-filter:blur(30px) saturate(170%)!important}.direct-chat-form input[type=text],#direct-chat-input{border-radius:999px!important}.direct-chat-actions{display:flex!important;align-items:center!important;gap:8px!important}.direct-chat-actions button{font-family:inherit!important}.direct-chat-actions .chat-action-icon{display:grid!important;width:42px!important;min-width:42px!important;height:42px!important;place-items:center!important;padding:0!important;border-radius:50%!important}.direct-chat-actions .chat-call-action{display:inline-flex!important;width:auto!important;min-width:82px!important;height:42px!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 13px!important;border-radius:999px!important;white-space:nowrap!important;font-size:10px!important;font-weight:800!important}.direct-chat-actions button svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}.direct-chat-actions .chat-call-action span{display:inline!important;font-size:10px!important;line-height:1!important}html[data-theme="light"] .social-authenticated .direct-chat-card:not([hidden]){background:linear-gradient(145deg,rgba(255,255,255,.38),rgba(235,246,255,.18))!important}html[data-theme="light"] .direct-chat-header{background:rgba(255,255,255,.34)!important}html[data-theme="light"] .direct-chat-messages{background:rgba(246,251,255,.16)!important}html[data-theme="light"] .direct-chat-form>div{background:rgba(255,255,255,.44)!important}html[data-theme="dark"] .social-authenticated .direct-chat-card:not([hidden]){border-color:rgba(255,255,255,.15)!important;background:linear-gradient(145deg,rgba(20,36,64,.38),rgba(7,15,29,.3))!important}html[data-theme="dark"] .direct-chat-header,html[data-theme="dark"] .direct-chat-form>div{border-color:rgba(255,255,255,.16)!important;background:rgba(12,26,48,.36)!important}html[data-theme="dark"] .direct-chat-message{border-color:rgba(255,255,255,.14)!important;background:rgba(18,34,59,.42)!important}@media(max-width:900px) and (min-width:701px){[data-social-panel="chats"] .social-dashboard-grid{grid-template-columns:260px minmax(0,1fr)!important}.direct-chat-actions .chat-call-action{min-width:42px!important;width:42px!important;padding:0!important}.direct-chat-actions .chat-call-action span{display:none!important}}@media(max-width:700px){.direct-chat-card:not([hidden]){border-radius:0!important}.direct-chat-header{border-radius:0 0 24px 24px!important}.direct-chat-actions .chat-call-action{min-width:38px!important;width:38px!important;padding:0!important}.direct-chat-actions .chat-call-action span{display:none!important}.direct-chat-message{max-width:88%!important}.direct-chat-form>div{border-radius:28px!important}}
/* V20: icon-only calls, simplified account chrome, Profile avatar, encrypted audio notes. */
.social-secure-chip{display:none!important}.account-menu{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}.account-menu .logout-button{min-height:38px!important;padding:8px 14px!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:13px!important;background:rgba(255,255,255,.1)!important;color:var(--hf-ink)!important;font-weight:800!important;box-shadow:inset 0 1px rgba(255,255,255,.55)!important}.header-profile-button{padding:5px 11px 5px 5px!important}.header-profile-avatar{display:grid!important;width:30px!important;height:30px!important;flex:0 0 30px!important;place-items:center!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.4)!important;border-radius:10px!important;background:linear-gradient(135deg,var(--hf-violet),var(--hf-blue))!important;color:#fff!important;font-size:10px!important;font-weight:850!important;box-shadow:0 7px 18px rgba(76,125,255,.22)!important}.header-profile-avatar .avatar-image{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}.direct-chat-actions .chat-call-action{display:grid!important;width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;place-items:center!important;border-radius:50%!important}.direct-chat-actions .chat-call-action span{display:none!important}#direct-chat-form>div{grid-template-columns:repeat(5,44px) minmax(0,1fr) 52px!important}.halo-audio-note-button{position:relative!important}.halo-audio-note-button svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.halo-audio-note-button.is-recording{border-color:#ff5d81!important;background:linear-gradient(135deg,#ff4e76,#e43f65)!important;color:#fff!important;box-shadow:0 0 0 6px rgba(255,78,118,.12),0 10px 24px rgba(216,45,88,.3)!important;animation:halo-audio-pulse 1.15s ease-in-out infinite!important}.halo-audio-timer:not(:empty){position:absolute;right:-5px;bottom:-16px;min-width:38px;padding:3px 5px;border-radius:999px;background:#17243a;color:#fff;font-size:7px;letter-spacing:.03em;box-shadow:0 5px 14px #0004}.halo-audio-note{display:grid!important;grid-template-columns:44px minmax(150px,1fr) auto!important;align-items:center!important;gap:11px!important;width:min(72%,390px)!important;min-width:275px!important;padding:11px 13px!important}.halo-audio-play{display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:linear-gradient(135deg,var(--halo-chat-accent),var(--hf-violet));color:#fff;cursor:pointer;box-shadow:0 9px 22px color-mix(in srgb,var(--halo-chat-accent) 28%,transparent)}.halo-audio-play svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.halo-audio-play .play{fill:currentColor;stroke:none;margin-left:2px}.halo-audio-play .pause{display:none}.halo-audio-note.is-playing .halo-audio-play .play{display:none}.halo-audio-note.is-playing .halo-audio-play .pause{display:block}.halo-audio-wave{position:relative;display:flex;height:38px;align-items:center;justify-content:center;gap:3px;overflow:hidden}.halo-audio-wave i{width:3px;border-radius:999px;background:color-mix(in srgb,var(--halo-chat-accent) 72%,#6c7fa2);opacity:.62}.halo-audio-wave i:nth-child(3n+1){height:13px}.halo-audio-wave i:nth-child(3n+2){height:25px}.halo-audio-wave i:nth-child(3n){height:18px}.halo-audio-note.is-playing .halo-audio-wave i{animation:halo-wave .75s ease-in-out infinite alternate}.halo-audio-note.is-playing .halo-audio-wave i:nth-child(2n){animation-delay:-.35s}.halo-audio-wave input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}.halo-audio-details{display:grid;justify-items:end;gap:3px;min-width:62px}.halo-audio-details span{color:var(--hf-ink);font-size:9px;font-weight:800;white-space:nowrap}.halo-audio-details small{max-width:90px;overflow:hidden;color:var(--hf-muted);font-size:7px;text-overflow:ellipsis;white-space:nowrap}@keyframes halo-audio-pulse{50%{transform:scale(1.06)}}@keyframes halo-wave{to{height:30px;opacity:1}}html[data-theme="light"] .account-menu .logout-button{border-color:rgba(125,157,208,.28)!important;background:rgba(255,255,255,.36)!important;color:#31527e!important}html[data-theme="light"] .halo-audio-note{background:rgba(255,255,255,.42)!important}html[data-theme="dark"] .account-menu .logout-button{border-color:rgba(255,255,255,.15)!important;background:rgba(255,255,255,.05)!important;color:#dce9ff!important}@media(max-width:900px){#direct-chat-form>div{grid-template-columns:repeat(5,38px) minmax(0,1fr) 46px!important}.halo-audio-note{width:min(86%,360px)!important}}@media(max-width:700px){#direct-chat-form>div{grid-template-columns:repeat(5,34px) minmax(72px,1fr) 44px!important}.halo-audio-note{min-width:250px!important;grid-template-columns:40px minmax(120px,1fr) auto!important}.halo-audio-play{width:38px;height:38px}.header-profile-button{padding-right:5px!important}.header-profile-label{display:none!important}}

/* V21: reliable auth CAPTCHA initialization and explicit Sign out visibility. */
body.social-authenticated #account-menu:not([hidden]){display:inline-flex!important;align-items:center!important;margin-left:0!important}body.social-authenticated #logout-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}.auth-form:not([hidden]) .halo-captcha{display:grid!important}

/* V23: active call is independent from the Calls history page. */
.halo-active-call-overlay{display:none;position:fixed;inset:0;z-index:1000;width:100vw;height:100dvh;overflow:hidden;background:#07101c}
body.call-active{overflow:hidden!important}
body.call-active .halo-active-call-overlay{display:block}
body.call-active .halo-active-call-overlay .call-screen:not([hidden]){display:grid!important;grid-template-rows:68px minmax(0,1fr)!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;background:radial-gradient(circle at 0 0,rgba(71,126,255,.18),transparent 32%),radial-gradient(circle at 100% 0,rgba(116,85,244,.14),transparent 28%),linear-gradient(145deg,#edf5ff,#f9fbff)!important}
.halo-active-call-overlay .call-header{position:relative!important;z-index:20!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-width:0!important;height:68px!important;margin:0!important;padding:9px 20px!important;border:0!important;border-bottom:1px solid rgba(102,139,199,.18)!important;border-radius:0!important;background:rgba(255,255,255,.4)!important;box-shadow:0 8px 30px rgba(49,80,131,.06)!important;backdrop-filter:blur(24px) saturate(150%)!important;-webkit-backdrop-filter:blur(24px) saturate(150%)!important}
.halo-active-call-overlay .call-header-actions{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}.halo-active-call-overlay .connection-status{position:static!important;max-width:min(56vw,520px)!important;transform:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.halo-active-call-overlay .call-workspace{display:grid!important;grid-template-columns:minmax(0,1fr) 340px!important;grid-template-rows:minmax(0,1fr)!important;gap:14px!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:14px 14px 92px!important;overflow:hidden!important}
.halo-active-call-overlay .media-column,.halo-active-call-overlay .video-stage{display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important}.halo-active-call-overlay .video-stage{position:relative!important;border-radius:28px!important;overflow:visible!important}.halo-active-call-overlay .remote-card{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important;border:1px solid rgba(124,157,211,.24)!important;border-radius:28px!important;background:#030812!important;box-shadow:0 24px 70px rgba(30,61,110,.22)!important}.halo-active-call-overlay .video-card video{position:absolute!important;z-index:1!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#030812!important}.halo-active-call-overlay .video-shade{z-index:2!important}.halo-active-call-overlay .video-label,.halo-active-call-overlay .focus-hint,.halo-active-call-overlay .video-placeholder,.halo-active-call-overlay .caption-panel{z-index:4!important}.halo-active-call-overlay .video-placeholder{background:radial-gradient(circle at 50% 38%,rgba(69,117,205,.2),transparent 34%),linear-gradient(145deg,#0b1728,#030812)!important}
.halo-active-call-overlay .local-card{position:absolute!important;z-index:9!important;right:18px!important;bottom:18px!important;width:clamp(190px,18vw,258px)!important;height:auto!important;min-height:0!important;aspect-ratio:16/10!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:21px!important;background:#050a13!important;box-shadow:0 20px 56px rgba(0,0,0,.42)!important;animation:none!important}.halo-active-call-overlay .video-stage.focus-local .local-card{position:relative!important;right:auto!important;bottom:auto!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;border-radius:28px!important}.halo-active-call-overlay .video-stage.focus-local .remote-card{position:absolute!important;z-index:9!important;right:18px!important;bottom:18px!important;width:clamp(190px,18vw,258px)!important;height:auto!important;min-height:0!important;aspect-ratio:16/10!important;border-radius:21px!important}
.halo-active-call-overlay .room-sidebar{position:relative!important;inset:auto!important;display:grid!important;grid-template-rows:minmax(0,1.04fr) minmax(0,.96fr)!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;transform:none!important;border:1px solid rgba(255,255,255,.76)!important;border-radius:26px!important;background:linear-gradient(145deg,rgba(255,255,255,.48),rgba(224,237,255,.24))!important;box-shadow:0 22px 62px rgba(42,73,124,.12),inset 0 1px rgba(255,255,255,.94)!important;backdrop-filter:blur(26px) saturate(145%)!important;-webkit-backdrop-filter:blur(26px) saturate(145%)!important}.halo-active-call-overlay .room-sidebar .sidebar-section{min-height:0!important;padding:17px!important}.halo-active-call-overlay .controls{position:fixed!important;z-index:1040!important;left:50%!important;bottom:16px!important;transform:translateX(-50%)!important}.halo-active-call-overlay .sidebar-backdrop{z-index:1020!important}
body.social-authenticated .social-call-panel .social-call-host{display:none!important}.social-call-panel .halo-call-history{width:min(920px,100%)!important;margin:0 auto!important}.social-call-panel .halo-call-history-head{padding:2px 4px 18px!important}.social-call-panel .halo-call-history-list{display:grid!important;gap:10px!important}.social-call-panel .halo-call-row,.social-call-panel .halo-call-empty{border:1px solid rgba(131,162,212,.18)!important;border-radius:20px!important;background:rgba(255,255,255,.38)!important;box-shadow:0 12px 34px rgba(47,79,132,.07)!important;backdrop-filter:blur(20px)!important}
html[data-theme="dark"] .halo-active-call-overlay .call-screen:not([hidden]){background:radial-gradient(circle at 0 0,rgba(34,87,180,.26),transparent 34%),radial-gradient(circle at 100% 0,rgba(102,63,190,.2),transparent 30%),#060d18!important}html[data-theme="dark"] .halo-active-call-overlay .call-header{border-bottom-color:rgba(255,255,255,.1)!important;background:rgba(6,14,27,.48)!important}html[data-theme="dark"] .halo-active-call-overlay .room-sidebar{border-color:rgba(255,255,255,.12)!important;background:linear-gradient(145deg,rgba(18,33,57,.66),rgba(8,17,31,.5))!important}html[data-theme="dark"] .social-call-panel .halo-call-row,html[data-theme="dark"] .social-call-panel .halo-call-empty{border-color:rgba(255,255,255,.1)!important;background:rgba(13,27,49,.48)!important}
@media(max-width:980px){.halo-active-call-overlay .call-workspace{display:block!important;padding:10px 10px 86px!important}.halo-active-call-overlay .media-column,.halo-active-call-overlay .video-stage{height:100%!important}.halo-active-call-overlay .room-sidebar{position:fixed!important;z-index:1030!important;top:78px!important;right:10px!important;bottom:86px!important;width:min(390px,calc(100vw - 20px))!important;height:auto!important;transform:translateX(calc(100% + 22px))!important;transition:transform .24s ease!important}body.sidebar-open .halo-active-call-overlay .room-sidebar{transform:translateX(0)!important}.halo-active-call-overlay .sidebar-close{display:grid!important}.halo-active-call-overlay .sidebar-backdrop.is-visible{display:block!important;position:fixed!important;inset:68px 0 0!important;background:rgba(2,6,14,.58)!important;backdrop-filter:blur(5px)!important}}
@media(max-width:560px){body.call-active .halo-active-call-overlay .call-screen:not([hidden]){grid-template-rows:60px minmax(0,1fr)!important}.halo-active-call-overlay .call-header{height:60px!important;padding:7px 9px!important}.halo-active-call-overlay .call-logo-mark{width:40px!important;height:40px!important}.halo-active-call-overlay .call-workspace{padding:8px 8px 80px!important}.halo-active-call-overlay .video-stage,.halo-active-call-overlay .remote-card{border-radius:21px!important}.halo-active-call-overlay .local-card,.halo-active-call-overlay .video-stage.focus-local .remote-card{right:10px!important;bottom:10px!important;width:128px!important;aspect-ratio:4/3!important;border-radius:16px!important}.halo-active-call-overlay .controls{bottom:9px!important}.halo-active-call-overlay .connection-status{max-width:calc(100vw - 108px)!important}.halo-active-call-overlay .room-sidebar{top:68px!important;bottom:80px!important}}
