/* XYLO v2.13 — Facebook-inspired header and catalog search.
   Isolated to the existing role-parity header and the new search sheet.
   No page scroll locks are installed. */
.xv-roleParityHeader .xv-centerNav{padding:0 !important;border-top:1px solid rgba(205,161,255,.075) !important;}
.xv-roleParityHeader .xv-tabs{max-width:1260px;margin-inline:auto;display:flex;justify-content:space-around;align-items:stretch;gap:2px;padding:0 8px!important;height:58px;}
.xv-roleParityHeader .xv-tabs .xv-tab{position:relative;flex:1 1 0;min-width:0;max-width:210px;min-height:54px;padding:8px 6px!important;display:flex;align-items:center;justify-content:center;line-height:1;color:#f8f7fb!important;border-radius:13px 13px 4px 4px!important;background:transparent!important;outline-offset:-4px;box-shadow:none!important;transition:background .16s ease,color .16s ease,transform .16s ease;}
.xv-roleParityHeader .xv-tabs .xv-tab:hover{background:rgba(164,101,235,.10)!important;}
.xv-roleParityHeader .xv-tabs .xv-tab:active{transform:scale(.965)}
.xv-roleParityHeader .xv-tabs .xv-tabActive{background:linear-gradient(180deg,rgba(112,64,216,.23),rgba(112,64,216,.10))!important;}
.xv-roleParityHeader .xv-tabs .xv-tabActive::after{bottom:0;left:15%;right:15%;height:3px;background:#A050EC;box-shadow:0 0 16px rgba(160,80,236,.5)}
.xv-roleParityHeader .xv-tabs .xv-tabLabel{display:none!important}
.xv-roleParityHeader .xv-tabs .xv-tabIconBox{position:relative;width:34px;height:34px;display:grid;place-items:center;flex:none;line-height:1;overflow:visible;isolation:isolate}
.xv-roleParityHeader .xv-tabs .xv-tabIcon{font-size:1.60rem!important;line-height:1!important;color:#f8f7fb!important;display:block!important;position:relative;z-index:1;transition:color .18s ease,filter .18s ease,transform .18s ease}
.xv-roleParityHeader .xv-tabs .xv-tabIcon--fill{display:none!important}
.xv-roleParityHeader .xv-tabs .xv-tabActive .xv-tabIcon--outline{display:none!important}
.xv-roleParityHeader .xv-tabs .xv-tabActive .xv-tabIcon--fill{display:block!important;color:#B366FF!important;filter:drop-shadow(0 0 9px rgba(178,98,255,.40))}
.xv-roleParityHeader .xv-tabs .xv-tabActive .xv-tabIcon:not(.xv-tabIcon--outline):not(.xv-tabIcon--fill){color:#B366FF!important}
/* Badge belongs to the icon box, not the whole nav tile: no more number over the bell. */
.xv-roleParityHeader .xv-tabs .xv-tabIconBox>.xv-navNotifBadge{position:absolute!important;top:-5px!important;right:-13px!important;left:auto!important;min-width:18px!important;width:auto!important;height:18px!important;padding:0 4px!important;font-size:10px!important;line-height:18px!important;border-radius:10px!important;background:#eb365a!important;color:#fff!important;border:2px solid #140b22!important;box-sizing:content-box!important;z-index:4!important;transform:none!important;box-shadow:0 3px 9px rgba(0,0,0,.32)!important;pointer-events:none!important}
/* Compact Facebook-like row actions: plus, search, Telegram. */
.xv-roleParityHeader .xv-fbActionsHost,.xv-roleParityHeader .xv-headerActions.xv-fbHeaderActions{min-width:0;flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end}
.xv-roleParityHeader .xv-fbHeaderActions{gap:8px!important;}
.xv-roleParityHeader .xv-fbQuickAction{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;min-height:46px;height:46px;min-width:46px;padding:0;border:1px solid rgba(187,130,238,.22);border-radius:50%;background:rgba(112,64,216,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.075);color:#f7f3fc!important;text-decoration:none!important;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .12s ease}
.xv-roleParityHeader .xv-fbQuickAction:hover{background:rgba(112,64,216,.36);border-color:rgba(191,137,255,.44)}
.xv-roleParityHeader .xv-fbQuickAction:active{transform:scale(.95)}
.xv-roleParityHeader .xv-fbQuickAction i{font-size:1.38rem;line-height:1}
.xv-roleParityHeader .xv-fbQuickAction .xv-fbSearchHint{font-weight:650;font-size:.92rem;white-space:nowrap}
.xv-roleParityHeader .xv-fbSearchToggle{border-radius:24px;width:180px;justify-content:flex-start;padding:0 16px;background:rgba(215,192,244,.12)}
.xv-roleParityHeader .xv-publicGuestActions.xv-fbGuestActions{display:flex;align-items:center;gap:8px}
.xv-roleParityHeader .xv-publicGuestActions.xv-fbGuestActions .xv-publicAccountBtn{border-radius:24px;white-space:nowrap}
/* Keep center header brand, prevent it from pushing new action icons off screen. */
.xv-roleParityHeader .xv-headerRow,.xv-roleParityHeader .xv-publicHeaderRow{gap:8px!important;}
.xv-roleParityHeader .xv-headerRow>div:first-child,.xv-roleParityHeader .xv-publicHeaderRow>div:first-child{flex:1 1 0;min-width:0!important;gap:8px!important}
.xv-roleParityHeader .xv-topPill,.xv-roleParityHeader .xv-brand{min-width:0!important;max-width:100%!important}
.xv-roleParityHeader .xv-publicBrandCopy,.xv-roleParityHeader .xv-roleBrandCopy{min-width:0}
.xv-roleParityHeader .xv-publicBrandTitle,.xv-roleParityHeader .xv-roleBrandTitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Search sheet; native vertical scrolling without stale body or drawer locks. */
.xv-fbSearchSheet[hidden]{display:none!important}
.xv-fbSearchSheet{position:fixed;inset:0;z-index:1600;background:rgba(22,21,25,.98);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;color:#f4f1f7;font-family:inherit}
.xv-fbSearchPage{max-width:810px;margin:0 auto;min-height:100%;background:#222225;border-inline:1px solid rgba(180,161,207,.07)}
.xv-fbSearchForm{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06);background:#222225}
.xv-fbSearchBack,.xv-fbSearchGo,.xv-fbSearchClear{flex:none;border:0;background:none;color:#f5f2f9;display:grid;place-items:center;cursor:pointer}
.xv-fbSearchBack{width:40px;height:43px;font-size:1.6rem;border-radius:50%}
.xv-fbSearchBack:hover{background:rgba(255,255,255,.07)}
.xv-fbSearchInputShell{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:10px;padding:0 14px;height:51px;border-radius:29px;background:#3a3a3d;color:#aaa7b2}
.xv-fbSearchInputShell>i{font-size:1.04rem;flex:none}
.xv-fbSearchInputShell input{width:100%;height:100%;min-width:0;padding:0!important;outline:0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#f5f4f7!important;font:inherit!important;font-size:1.08rem!important;border-radius:0!important}
.xv-fbSearchInputShell input::placeholder{color:#b2b0b9;opacity:1}
.xv-fbSearchInputShell input::-webkit-search-cancel-button{display:none}
.xv-fbSearchClear{color:#c4bdcf;font-size:1.15rem}
.xv-fbSearchClear[hidden]{display:none!important}
.xv-fbSearchGo{width:40px;height:43px;border-radius:50%;background:rgba(112,64,216,.23);font-size:1.15rem}
.xv-fbSearchGo:hover{background:rgba(112,64,216,.37)}
.xv-fbSearchContent{padding:23px 24px max(28px,env(safe-area-inset-bottom));}
.xv-fbSearchSectionTitle{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.xv-fbSearchSectionTitle h2{margin:0;font-size:1.18rem;font-weight:800;letter-spacing:-.025em;color:#f8f6fc}
.xv-fbSearchSectionTitle button{background:none;border:0;color:#bf8efa;font-size:.86rem;cursor:pointer}
.xv-fbSearchRecent{display:grid;gap:5px;min-height:37px}
.xv-fbRecentRow{display:flex;align-items:center;gap:12px;padding:9px 5px;border-radius:13px}
.xv-fbRecentRow:hover{background:rgba(255,255,255,.045)}
.xv-fbRecentRow>a{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:14px;color:#f1edf7!important;text-decoration:none!important;font-size:1.01rem}
.xv-fbRecentIcon{width:41px;height:41px;flex:none;display:grid;place-items:center;border-radius:50%;background:#3a3a41;color:#f5f3f7}
.xv-fbRecentIcon i{font-size:1.2rem}
.xv-fbRecentRemove{flex:none;border:0;background:none;color:#9d98a8;cursor:pointer;padding:6px;font-size:1.2rem}
.xv-fbSearchEmpty{margin:2px 0 16px;color:#aaa6b3;font-size:.88rem}
.xv-fbSearchExploreHeading{margin-top:30px}
.xv-fbSearchExplore{display:grid;gap:4px}
.xv-fbSearchExplore a{display:flex;align-items:center;gap:14px;padding:11px 8px;border-radius:14px;text-decoration:none!important;color:#faf8fc!important;}
.xv-fbSearchExplore a:hover{background:rgba(175,124,242,.08)}
.xv-fbSearchExploreIcon{flex:none;width:45px;height:45px;display:grid;place-items:center;border-radius:13px;background:rgba(112,64,216,.2);border:1px solid rgba(180,128,246,.14);color:#bc81ff}
.xv-fbSearchExploreIcon i{font-size:1.28rem}
.xv-fbSearchExplore a>span:nth-child(2){flex:1;min-width:0;display:grid;gap:4px}
.xv-fbSearchExplore strong{font-size:.98rem;font-weight:670;line-height:1.2}
.xv-fbSearchExplore small{font-size:.78rem;color:#aaa5af}
.xv-fbSearchExplore a>i{color:#9489a2}
@media(min-width:1000px){.xv-fbSearchPage{margin-top:4vh;min-height:88vh;border-radius:20px 20px 0 0;overflow:hidden;border:1px solid rgba(190,135,245,.15)} }
@media(max-width:800px){
 .xv-roleParityHeader .xv-fbHeaderActions{gap:6px!important}
 .xv-roleParityHeader .xv-fbQuickAction{width:42px;min-width:42px;height:42px;min-height:42px}
 .xv-roleParityHeader .xv-fbSearchToggle{width:42px;justify-content:center;padding:0;border-radius:50%}
 .xv-roleParityHeader .xv-fbSearchHint{display:none}
 .xv-roleParityHeader .xv-fbQuickAction i{font-size:1.30rem}
 .xv-roleParityHeader .xv-tabs{height:55px;padding:0 5px!important}
 .xv-roleParityHeader .xv-tabs .xv-tab{min-height:52px;padding:7px 1px!important}
 .xv-roleParityHeader .xv-tabs .xv-tabIcon{font-size:1.65rem!important}
}
@media(max-width:470px){
 .xv-roleParityHeader .xv-headerRow,.xv-roleParityHeader .xv-publicHeaderRow{padding-inline:8px!important;gap:4px!important}
 .xv-roleParityHeader .xv-headerRow>div:first-child,.xv-roleParityHeader .xv-publicHeaderRow>div:first-child{gap:5px!important}
 .xv-roleParityHeader .xv-fbHeaderActions{gap:5px!important}
 .xv-roleParityHeader .xv-fbQuickAction{min-width:37px;width:37px;height:38px;min-height:38px}
 .xv-roleParityHeader .xv-menuControl{width:37px!important;height:39px!important;flex-basis:37px!important}
 .xv-roleParityHeader .xv-brandMark{width:35px!important;height:35px!important;flex-basis:35px!important}
 .xv-roleParityHeader .xv-publicBrandSub,.xv-roleParityHeader .xv-roleBrandSub{display:none!important}
 .xv-roleParityHeader .xv-publicAccountBtn{min-height:38px!important;font-size:.68rem!important;padding:.45rem .5rem!important}
 .xv-roleParityHeader .xv-tabs{height:53px}
 .xv-roleParityHeader .xv-tabs .xv-tabIcon{font-size:1.54rem!important}
 .xv-roleParityHeader .xv-tabs .xv-tabIconBox{width:30px;height:30px}
 .xv-fbSearchForm{gap:8px;padding:12px 8px}
 .xv-fbSearchInputShell{height:47px;padding:0 13px}
 .xv-fbSearchInputShell input{font-size:1rem!important}
 .xv-fbSearchBack{width:35px}
 .xv-fbSearchGo{width:37px}
 .xv-fbSearchContent{padding:20px 18px 34px}
}
@media(max-width:370px){
 .xv-roleParityHeader .xv-roleBrandCopy,.xv-roleParityHeader .xv-publicBrandCopy{display:none!important}
 .xv-roleParityHeader .xv-publicGuestActions.xv-fbGuestActions .xv-publicAccountBtn{padding:0 8px!important;font-size:0!important}
 .xv-roleParityHeader .xv-publicGuestActions.xv-fbGuestActions .xv-publicAccountBtn i{font-size:1.1rem!important}
}
@media(prefers-reduced-motion:reduce){.xv-roleParityHeader .xv-tabs .xv-tab,.xv-roleParityHeader .xv-fbQuickAction,.xv-roleParityHeader .xv-tabs .xv-tabIcon{transition:none!important}}
/* Locally rendered icon SVGs: not dependent on any icon-font CDN. */
.xv-roleParityHeader .xv-tabs .xv-tabIcon{width:28px!important;height:28px!important;font-size:inherit!important;stroke:currentColor}
.xv-roleParityHeader .xv-tabs .xv-tabIcon--fill{stroke:none}
.xv-roleParityHeader .xv-tabs .xv-tabIcon--fill path[stroke]{stroke:#26123e}
.xv-roleParityHeader .xv-fbQuickAction .xv-fbGlyph{width:23px;height:23px;flex:none;display:block}
@media(max-width:470px){.xv-roleParityHeader .xv-tabs .xv-tabIcon{width:27px!important;height:27px!important}}

.xv-fbSearchSheet .xv-fbUIIcon{width:21px;height:21px;display:block;flex:none}
.xv-fbSearchSheet .xv-fbSearchBack .xv-fbUIIcon{width:26px;height:26px}
.xv-fbSearchSheet .xv-fbRecentIcon .xv-fbUIIcon,.xv-fbSearchSheet .xv-fbSearchExploreIcon .xv-fbUIIcon{width:23px;height:23px}
