/* Scoped to the profile header; existing AJAX hooks and cover preferences remain intact. */
body:has(>.profile-header-modern){padding-top:69px!important}
.profile-header-modern{position:relative;margin-bottom:15px;--profile-accent:#2563eb;--profile-ink:#17243b;--profile-line:#e5eaf2}
.profile-header-modern #wasiemhafezbangglercover{padding-bottom:0!important;margin-bottom:0;background:transparent}
.profile-header-modern #xjhsdaufyhaiuydFDGgfdhDFHddhDFh{border-radius:24px;background:#fff;box-shadow:0 12px 36px rgba(23,36,59,.09);border:1px solid var(--profile-line)}
.profile-header-modern .main-jumbotron{position:relative;border-radius:23px 23px 0 0}
.profile-header-modern .layer_banggler_shadow:after{pointer-events:none}
.profile-header-modern #get-touch{position:relative!important;top:auto!important;padding:28px 0!important;background:#fff;color:var(--profile-ink);min-height:130px}
.profile-header-modern #get-touch>.container{width:100%;max-width:100%;padding:0 20px!important}
.profile-header-modern .profile-header-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0}
.profile-header-modern .profile-header-row:before,.profile-header-modern .profile-header-row:after{display:none}
.profile-header-modern .profile-header-identity{display:flex;align-items:center;gap:22px;flex:1;min-width:0;padding:0;margin:0;width:auto}
.profile-header-modern .profile-header-identity>.pull-left{float:none!important;flex-shrink:0}
.profile-header-modern #jhsdgfjhagubnzvczhgfyas{display:block;padding:0;position:relative!important;top:auto!important;left:auto!important;right:auto!important;margin:0!important;width:auto!important;height:auto!important;z-index:3}
.profile-header-modern #jhsdgfjhagubnzvczhgfyas:not(:has(img)){display:none}
.profile-header-modern #jhsdgfjhagubnzvczhgfyas img{display:block;width:112px!important;height:112px!important;max-width:none;object-fit:cover;border-radius:50%!important;padding:4px;background:#fff;border:1px solid var(--profile-line);box-shadow:0 6px 20px rgba(23,36,59,.12);margin-top:-60px;position:relative}
.profile-header-modern .profile-header-name{font-size:clamp(20px,2.5vw,30px)!important;font-weight:700;line-height:1.5;letter-spacing:-.4px;margin:0!important;color:var(--profile-ink);text-align:start;overflow-wrap:anywhere;text-shadow:none;text-transform:none}
.profile-header-modern .profile-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;width:auto;max-width:none!important;margin:0!important;padding:0;flex-shrink:0}
.profile-header-modern .profile-header-actions>.btn-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.profile-header-modern .profile-header-actions .btn{float:none!important;min-height:44px;padding:11px 18px;border-radius:12px!important;border:1px solid var(--profile-line);background:#f7f9fc;color:var(--profile-ink);font-size:14px;font-weight:600;line-height:1.5;margin:0!important;box-shadow:none;white-space:normal;transition:background .18s,box-shadow .18s,transform .18s}
.profile-header-modern .profile-header-actions .btn-customw{background:var(--profile-accent);border-color:var(--profile-accent);color:#fff}
.profile-header-modern .profile-header-actions .btn:hover{background:#edf2fa;transform:translateY(-1px);box-shadow:0 4px 12px rgba(23,36,59,.1)}
.profile-header-modern .profile-header-actions .btn-customw:hover{background:#1d4ed8;color:#fff}
.profile-header-modern .profile-header-actions .unselectable_w{font-size:12px!important;padding:2px 6px;border-radius:6px;background:rgba(255,255,255,.17)}
.profile-header-modern .profile-header-bell{display:flex;align-items:center;gap:8px;float:none!important;padding:0!important;font-size:19px!important}
.profile-header-modern .profile-header-bell>div{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0!important;border-radius:12px;background:#f1f5fb;color:#49617e}
.profile-header-modern .profile-header-bell>div:empty{display:none}
.profile-header-modern .profile-header-bell>div:hover{background:#e4edfc;color:var(--profile-accent)}
.profile-header-modern #jhdgfjhsgduysgeiytugr{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);z-index:5;direction:ltr;margin:0;max-width:calc(100% - 140px);}
.profile-header-modern #jhdgfjhsgduysgeiytugr ul{display:flex!important;align-items:center;gap:10px;float:none!important;flex-wrap:nowrap;direction:ltr;width:fit-content;min-height:35px;padding:6px 14px;margin:0;background:#f1f5fb;border-radius:12px;color:#49617e}
.profile-header-modern #jhdgfjhsgduysgeiytugr .hi{align-items:center;gap:10px;direction:ltr;padding:0!important;}
.profile-header-modern #jhdgfjhsgduysgeiytugr li{padding:0;}
.profile-header-modern #jhdgfjhsgduysgeiytugr .hi button{display:inline-flex;align-items:center;justify-content:center;width:20px;height:24px;flex:0 0 20px;padding:0;margin:0;border:0;background:transparent;color:inherit;cursor:pointer;font-size:20px;line-height:1;}
.profile-header-modern #jhdgfjhsgduysgeiytugr .hi button:disabled{opacity:.3;cursor:default;}
.profile-header-modern .cover-video-pause .fa-pause:before{content:"\f04c";}
.profile-header-modern .cover-video-pause .fa-play:before{content:"\f04b";}
.profile-header-modern .cover-video-back i{transform:rotate(180deg);}
.profile-header-modern .main-jumbotron.has-cover-video #quote-carousel .carousel-indicators{bottom:5px!important;}
.profile-header-modern #kjsdfhjkshdafkjsh,.profile-header-modern #kjsdfhjkshdafkjshtwo{top:20px!important;width:42px!important;height:42px;padding:0!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.5);background:rgba(15,23,42,.65);color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.profile-header-modern #kjsdfhjkshdafkjsh{left:24px!important}
.profile-header-modern #kjsdfhjkshdafkjshtwo{right:24px!important}
.profile-header-modern #kjsdfhjkshdafkjsh i,.profile-header-modern #kjsdfhjkshdafkjshtwo i{float:none!important;font-size:20px;animation:none}
.profile-header-modern #kjdshfjhsgdfjgsjhftwo{top:70px!important;height:auto!important;max-width:calc(100% - 30px);line-height:1.6;filter:drop-shadow(0 10px 22px rgba(23,36,59,.18))}
.profile-header-modern #autolisttwo{background:#fff;border-radius:0px;padding:8px;margin:0;overflow:auto;}
.profile-header-modern #autolisttwo>.list-group-item{border-radius:10px;border:0;padding:12px;color:var(--profile-ink)}
.profile-header-modern #autolisttwo>.list-group-item:hover{background:#f1f5fb}
.profile-header-modern .modal-content{border-radius:20px;border:1px solid var(--profile-line);box-shadow:0 20px 60px rgba(23,36,59,.2);color:var(--profile-ink)}
.profile-header-modern .modal-header,.profile-header-modern .modal-footer{padding:20px 24px;border-color:var(--profile-line)}
.profile-header-modern .modal-body{padding:24px}
.profile-header-modern .modal-title{font-weight:700;line-height:1.5}
.profile-header-modern .modal-footer .btn{border-radius:10px;padding:9px 18px}
.profile-header-modern .btn:focus-visible,.profile-header-modern [tabindex]:focus-visible{outline:3px solid #93b4fc!important;outline-offset:3px}
@media(max-width:991px){
 .profile-header-modern .profile-header-row{flex-wrap:wrap;gap:10px}
 .profile-header-modern .profile-header-actions{flex-shrink:1}
}
@media(max-width:767px){
 .profile-header-modern{margin-bottom:15px}
 .profile-header-modern #wasiemhafezbangglercover.container{padding-left:10px;padding-right:10px}
 .profile-header-modern #xjhsdaufyhaiuydFDGgfdhDFHddhDFh{border-radius:18px}
 .profile-header-modern .main-jumbotron{border-radius:17px 17px 0 0}
 .profile-header-modern #get-touch{padding:22px 0!important}
 .profile-header-modern #get-touch>.container{width:100%;max-width:100%;padding:0 20px!important}
 .profile-header-modern .profile-header-identity{gap:14px;width:100%;flex-basis:100%}
 .profile-header-modern #jhsdgfjhagubnzvczhgfyas img{width:84px!important;height:84px!important;margin-top:-46px}
 .profile-header-modern .profile-header-actions{justify-content:flex-start;width:100%}
 .profile-header-modern .profile-header-actions>.btn-group{flex-wrap:wrap;max-width:100%}
 .profile-header-modern .profile-header-actions .btn{padding:10px 14px;font-size:16px}
 .profile-header-modern #kjsdfhjkshdafkjsh{left:20px!important}
 .profile-header-modern #kjsdfhjkshdafkjshtwo{right:20px!important}
}
@media(prefers-reduced-motion:reduce){
 .profile-header-modern .bangglermotion-start{animation:none!important}
 .profile-header-modern .btn,.profile-header-modern #kjdshfjhsgdfjgsjhftwo{transition:none!important}
}

/* Full-width cinematic cover and an integrated account bar. */
.profile-header-modern{--profile-accent:#6ee7c7;--profile-ink:#f4f7fc;--profile-line:#26394e;margin-bottom:15px}
.profile-header-modern #xjhsdaufyhaiuydFDGgfdhDFHddhDFh{padding:0;border:0;border-radius:24px;background:#0d1b2d;box-shadow:0 16px 40px rgba(10,24,43,.16)}
.profile-header-modern .profile-header-hero{position:relative;display:block}
.profile-header-modern .profile-header-hero .main-jumbotron{border-radius:24px 24px 0 0;background-color:#15283e}
.profile-header-modern #quote-carousel .carousel-inner>.item:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,18,33,.86),rgba(7,18,33,.38) 55%,rgba(7,18,33,.07));pointer-events:none;z-index:1}
.profile-header-modern[dir="rtl"] #quote-carousel .carousel-inner>.item:after{background:linear-gradient(270deg,rgba(7,18,33,.86),rgba(7,18,33,.38) 55%,rgba(7,18,33,.07))}
.profile-header-modern #quote-carousel .header-text{top:50%;left:6%;right:auto;width:58%;max-width:760px;transform:translateY(-50%);padding:0 0 0 24px;border:0;border-inline-start:3px solid #6ee7c7;border-radius:0;background:transparent;color:#fff;text-align:start;letter-spacing:0;box-shadow:none}
.profile-header-modern[dir="rtl"] #quote-carousel .header-text{left:auto;right:6%;padding:0 24px 0 0;direction:rtl}
.profile-header-modern #quote-carousel .main_title{line-height:1.2!important}
.profile-header-modern #quote-carousel p.dfgdfgdfg{font-size:clamp(28px,3.8vw,54px);font-weight:700;line-height:1.25;letter-spacing:-1px;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.16);margin:0 0 20px;overflow-wrap:anywhere}
.profile-header-modern #quote-carousel .dfgdfgdfgtwo{font-size:clamp(14px,1.5vw,20px);line-height:1.8;font-weight:400;letter-spacing:0;color:#d4deeb;text-shadow:none;margin:0 0 28px;max-width:600px;overflow-wrap:anywhere}
.profile-header-modern #quote-carousel .site-btn{display:inline-flex;align-items:center;justify-content:center;width:auto!important;min-width:140px;min-height:46px;height:auto!important;padding:13px 25px!important;border-radius:9px!important;border:0;background:#6ee7c7;color:#0c2930;font-size:15px;font-weight:700;text-shadow:none;box-shadow:none}
.profile-header-modern #quote-carousel .site-btn:hover{background:#a1f3db}
.profile-header-modern #quote-carousel .carousel-indicators{bottom:26px!important;display:flex;align-items:center;justify-content:center;gap:7px}
.profile-header-modern #quote-carousel .carousel-indicators li{height:4px!important;width:16px!important;border:0;border-radius:4px;background:rgba(255,255,255,.4);margin:0!important}
.profile-header-modern #quote-carousel .carousel-indicators li.active{width:38px!important;background:#6ee7c7}
.profile-header-modern #quote-carousel .carousel-control{width:40px;height:40px;top:auto!important;bottom:20px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.18);border-radius:50%;font-size:13px!important;color:#fff;opacity:1;backdrop-filter:blur(8px)}
.profile-header-modern #quote-carousel .carousel-control.left{left:24px!important}
.profile-header-modern #quote-carousel .carousel-control.right{right:24px!important}
.profile-header-modern #get-touch{margin:0;padding:26px 0!important;position:relative!important;top:auto!important;background:#0d1b2d;color:#f4f7fc;min-height:120px;box-shadow:none}
.profile-header-modern #get-touch>.container{width:100%;max-width:100%;padding:0 20px!important}
.profile-header-modern .profile-header-row{gap:10px}
.profile-header-modern .profile-header-name{font-size:clamp(20px,2.1vw,28px)!important;letter-spacing:-.5px;color:#f5f8fc}
.profile-header-modern #get-touch .profile-header-name .fa-star{color:inherit!important;}
.profile-header-modern #jhsdgfjhagubnzvczhgfyas img{width:82px!important;height:82px!important;margin:0;border-radius:20px!important;border:1px solid #38516c;padding:4px;background:#182c43;box-shadow:none}
.profile-header-modern .profile-header-actions .btn{min-height:46px;padding:12px 21px;border-radius:9px!important;font-size:14px;font-weight:600;border:1px solid #34465e;background:#172a42;color:#e5edf8;box-shadow:none}
.profile-header-modern .profile-header-actions .btn:hover{background:#223b59;color:#fff}
.profile-header-modern .profile-header-actions .btn-customw{background:#6ee7c7;border-color:#6ee7c7;color:#0c2930}
.profile-header-modern .profile-header-actions .btn-customw:hover{background:#a1f3db;color:#0c2930}
.profile-header-modern .profile-header-actions .unselectable_w{background:rgba(10,40,45,.1)}
.profile-header-modern .profile-header-bell>div{min-width:44px;min-height:44px;background:#172a42;border:1px solid #34465e;color:#c6d7ed;border-radius:9px}
.profile-header-modern .profile-header-bell>div:hover{background:#223b59;color:#6ee7c7}
.profile-header-modern #jhdgfjhsgduysgeiytugr ul{background:#172a42;color:#c6d7ed}
.profile-header-modern #kjsdfhjkshdafkjsh,.profile-header-modern #kjsdfhjkshdafkjshtwo{top:20px!important;width:36px!important;height:36px;border-radius:10px!important;background:rgba(13,27,45,.6);color:#fff;border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(8px);box-shadow:none}
.profile-header-modern #kjsdfhjkshdafkjsh{left:24px!important}
.profile-header-modern #kjsdfhjkshdafkjshtwo{right:24px!important}
.profile-header-modern #kjsdfhjkshdafkjsh i,.profile-header-modern #kjsdfhjkshdafkjshtwo i{font-size:17px}
.profile-header-modern #autolisttwo>.list-group-item{color:#17243b}
.profile-header-modern .modal-content{color:#17243b}
@media(max-width:991px){
 .profile-header-modern #quote-carousel .header-text{width:76%;max-height:none;overflow:visible}
 .profile-header-modern #get-touch>.container{width:100%;max-width:100%;padding:0 20px!important}
}
@media(max-width:767px){
 .profile-header-modern #xjhsdaufyhaiuydFDGgfdhDFHddhDFh{border-radius:18px}
 .profile-header-modern .profile-header-hero .main-jumbotron{border-radius:18px 18px 0 0}
 .profile-header-modern #get-touch{padding:10px 0!important;}
 .profile-header-modern #get-touch>.container{width:100%;max-width:100%;padding:0 20px!important}
 .profile-header-modern #quote-carousel .header-text{left:22px;right:auto;width:calc(100% - 44px);padding:0 0 0 16px;max-height:none;overflow:visible}
 .profile-header-modern[dir="rtl"] #quote-carousel .header-text{right:22px;left:auto;padding:0 16px 0 0}
 .profile-header-modern #quote-carousel p.dfgdfgdfg{font-size:29px;line-height:1.35;margin-bottom:14px;letter-spacing:-.4px}
 .profile-header-modern #quote-carousel .dfgdfgdfgtwo{font-size:14px;line-height:1.7;margin-bottom:18px}
 .profile-header-modern #quote-carousel .site-btn{font-size:13px;padding:6px 9px!important}
 .profile-header-modern #jhsdgfjhagubnzvczhgfyas img{width:66px!important;height:66px!important;margin:0;border-radius:16px!important}
 .profile-header-modern .profile-header-actions{gap:8px}
 .profile-header-modern .profile-header-actions .btn{padding:11px 15px;font-size:12px}
 .profile-header-modern #quote-carousel .carousel-control.left{left:18px!important}
 .profile-header-modern #quote-carousel .carousel-control.right{right:18px!important}
}

.profile-header-modern{margin-top:0!important}
.profile-header-modern #wasiemhafezbangglercover{padding-top:0!important;margin-top:0!important}
.profile-header-modern #xjhsdaufyhaiuydFDGgfdhDFHddhDFh,.profile-header-modern .profile-header-hero .main-jumbotron{border-top-left-radius:0!important;border-top-right-radius:0!important}

@property --profile-logo-shine-angle{syntax:"<angle>";initial-value:0deg;inherits:false;}
.profile-header-modern #get-touch #jhsdgfjhagubnzvczhgfyas:has(img)::after{
 content:"";position:absolute;inset:0;z-index:3;border-radius:20px;padding:3px;pointer-events:none;
 background:conic-gradient(from var(--profile-logo-shine-angle),transparent 0deg,transparent 285deg,currentColor 338deg,transparent 360deg);
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;
 mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;
 animation:profile-logo-border-shine 14s linear infinite;
}
@keyframes profile-logo-border-shine{to{--profile-logo-shine-angle:360deg;}}
@media(max-width:767px){.profile-header-modern #get-touch #jhsdgfjhagubnzvczhgfyas:has(img)::after{border-radius:16px;}}
@media(prefers-reduced-motion:reduce){.profile-header-modern #get-touch #jhsdgfjhagubnzvczhgfyas:has(img)::after{animation:none;}}
/* Use the owner's cover height as well as the available screen width. */
.profile-header-modern .profile-header-hero{--profile-text-height:var(--profile-cover-pc,420px);}
@media(max-width:991px){.profile-header-modern .profile-header-hero{--profile-text-height:var(--profile-cover-mobile,320px);}}
.profile-header-modern #quote-carousel p.dfgdfgdfg{
 font-size:clamp(24px,min(5.2vw,calc(var(--profile-text-height) * .125)),68px);
 line-height:1.25;margin-bottom:clamp(6px,calc(var(--profile-text-height) * .04),20px);
}
.profile-header-modern #quote-carousel .dfgdfgdfgtwo{
 font-size:clamp(16px,min(2.5vw,calc(var(--profile-text-height) * .06)),28px);
 line-height:1.65;margin-bottom:clamp(6px,calc(var(--profile-text-height) * .055),28px);
}

.profile-header-modern .profile-header-identity>.pull-left:has(#jhsdgfjhagubnzvczhgfyas:not(:has(img))){display:none;}

/* Make the existing bell and settings controls fill their visible buttons. */
.profile-header-modern .profile-header-bell>div{cursor:pointer;}
.profile-header-modern .profile-header-bell>div>i{display:flex;align-items:center;justify-content:center;width:100%;min-width:42px;min-height:42px;cursor:pointer;}
.profile-header-modern .profile-header-bell>[id^=setkjfsdhkslksdhfkjh]{font-size:20px!important;}

@media(max-width:767px){
 .profile-header-modern #get-touch .profile-header-name{font-size:var(--profile-name-size,clamp(24px,4.9vw,32px))!important;line-height:1.5;}
 .profile-header-modern .profile-header-actions{justify-content:center;}
 .profile-header-modern .profile-header-actions>.btn-group{justify-content:center;}
}

.profile-header-modern .profile-header-name{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.profile-header-modern .profile-header-name .fa-star{display:inline-block;white-space:nowrap;vertical-align:baseline;font-size:.8em;}

.profile-header-modern #get-touch .profile-header-name{flex:1;min-width:0;white-space:nowrap;overflow-wrap:normal;font-size:var(--profile-name-size,clamp(20px,2.1vw,28px))!important;}
@media(max-width:767px){.profile-header-modern #get-touch .profile-header-name{font-size:var(--profile-name-size,clamp(24px,4.9vw,32px))!important;}}

.profile-header-modern #get-touch .profile-header-name{visibility:hidden;transition:none!important;}
.profile-header-modern #get-touch .profile-header-name.profile-name-fitted{visibility:visible;}

.profile-header-modern .profile-header-name.profile-name-writing{animation:profile-name-type-ltr var(--profile-name-duration,1500ms) steps(var(--profile-name-steps,20),end) both;}
.profile-header-modern [dir=rtl] .profile-header-name.profile-name-writing,.profile-header-modern[dir=rtl] .profile-header-name.profile-name-writing{animation-name:profile-name-type-rtl;}
@keyframes profile-name-type-ltr{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes profile-name-type-rtl{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0 0 0 0)}}
@media(prefers-reduced-motion:reduce){.profile-header-modern .profile-header-name.profile-name-writing{animation:none;}}

.profile-header-modern .profile-header-name.profile-name-fading{animation:profile-name-fade-in 650ms ease-out both;}
@keyframes profile-name-fade-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.profile-header-modern .profile-header-name.profile-name-fading{animation:none;}}



.profile-header-modern .profile-header-row:not(:has(#jhsdgfjhagubnzvczhgfyas img)) .profile-header-identity>.pull-left{display:none!important;}
.profile-header-modern .profile-header-bell:not(:has(i,svg,button,a)){display:none!important;}

@media(max-width:767px){
 .profile-header-modern .profile-header-actions{visibility:visible;flex-wrap:nowrap;gap:12px;min-width:0;}

 .profile-header-modern .profile-header-actions>.btn-group{flex:0 0 auto;flex-wrap:nowrap;gap:10px;}
 .profile-header-modern .profile-header-actions .btn{font-size:13px;min-height:46px;padding:10px 14px;border-radius:9px!important;white-space:nowrap;}
 .profile-header-modern .profile-header-actions .unselectable_w{font-size:12px!important;padding:2px 6px;border-radius:6px;}
 .profile-header-modern .profile-header-bell{gap:8px;flex-shrink:0;}
 .profile-header-modern .profile-header-actions.profile-actions-wrap{flex-wrap:wrap;justify-content:center;}
 .profile-header-modern .profile-header-actions.profile-actions-wrap>.btn-group{flex-wrap:wrap;flex-shrink:1;justify-content:center;max-width:100%;}
 .profile-header-modern .profile-header-actions.profile-actions-wrap .btn{white-space:normal;max-width:100%;overflow-wrap:anywhere;}
}

/* Preserve equal inner spacing while measuring each translated button. */
.profile-header-modern .profile-header-actions>.btn-group>.btn{flex-shrink:0;}
.profile-header-modern .profile-header-actions.profile-actions-wrap>.btn-group>.btn{flex-shrink:1;}

@media(max-width:767px){
 .profile-header-modern .profile-header-actions .profile-header-bell>div{width:44px;min-width:44px;height:44px;min-height:44px;border-radius:9px;font-size:19px!important;}
 .profile-header-modern .profile-header-actions .profile-header-bell>div>i{min-width:0;width:100%;min-height:0;height:100%;}
}

@media(max-width:767px){
 .profile-header-modern .profile-header-actions{align-items:stretch;}
 .profile-header-modern .profile-header-actions .profile-header-bell{display:flex;flex-direction:column;align-items:stretch;gap:4px;align-self:stretch;}
 .profile-header-modern .profile-header-actions .profile-header-bell>div{flex:1;min-height:0;height:auto;width:26px;min-width:26px;border-radius:5px;font-size:14px!important;}
 .profile-header-modern .profile-header-actions .profile-header-bell>[id^=setkjfsdhkslksdhfkjh]{order:0;}
 .profile-header-modern .profile-header-actions .profile-header-bell>[id^=ahjsgdiyaugdjahsgdkjshafgdiyaufdh]{order:1;}
 .profile-header-modern .profile-header-actions .profile-header-bell>div>i{height:100%;min-height:0;}
}

/* Rotate only the gear glyph, keeping its full-size click area stationary. */
.profile-header-modern .profile-header-bell>[id^=setkjfsdhkslksdhfkjh]>i.fa-spin{animation:none;transform:none;}
.profile-header-modern .profile-header-bell>[id^=setkjfsdhkslksdhfkjh]>i.fa-spin:before{display:block;line-height:1;transform-origin:center;animation:profile-settings-gear-spin 2s linear infinite;}
@keyframes profile-settings-gear-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.profile-header-modern .profile-header-bell>[id^=setkjfsdhkslksdhfkjh]>i.fa-spin:before{animation:none;}}

/* Stack notification controls at every screen size. */
.profile-header-modern .profile-header-actions{align-items:stretch;}
.profile-header-modern .profile-header-actions .profile-header-bell{flex-direction:column;align-items:stretch;align-self:stretch;gap:4px;}
.profile-header-modern .profile-header-actions .profile-header-bell>div{flex:1;min-height:0;height:auto;width:26px;min-width:26px;border-radius:5px;font-size:14px!important;}
.profile-header-modern .profile-header-actions .profile-header-bell>[id^=setkjfsdhkslksdhfkjh]{order:0;}
.profile-header-modern .profile-header-actions .profile-header-bell>[id^=ahjsgdiyaugdjahsgdkjshafgdiyaufdh]{order:1;}
.profile-header-modern .profile-header-actions .profile-header-bell>div>i{min-width:0;min-height:0;width:100%;height:100%;}

.profile-header-modern .profile-person-trigger{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;align-self:center;width:44px;height:46px;padding:0;border:1px solid #34465e;border-radius:9px;background:#172a42;color:#c6d7ed;font-size:19px;cursor:pointer;}
.profile-header-modern .profile-person-trigger:hover,.profile-header-modern .profile-person-trigger[aria-expanded=true]{background:#223b59;color:#6ee7c7;}
.profile-header-modern .profile-actions-expandable:not(.profile-actions-expanded)>:not(.profile-person-trigger):not(.profile-primary-action){display:none!important;}
.profile-header-modern .profile-actions-expanded>:not(.profile-person-trigger):not(.profile-primary-action){animation:profile-actions-reveal 180ms ease-out;}
@keyframes profile-actions-reveal{from{opacity:0;transform:translateX(5px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.profile-header-modern .profile-actions-expanded>:not(.profile-person-trigger):not(.profile-primary-action){animation:none;}}

.profile-header-modern .profile-header-actions>.profile-primary-action{flex-shrink:0;align-self:center;}

.profile-header-modern .profile-person-trigger{width:auto;min-width:44px;padding:0 10px;gap:8px;}
.profile-header-modern .profile-person-divider{height:1.1em;width:1px;background:currentColor;opacity:.3;}
.profile-header-modern .profile-person-count{font-size:13px;line-height:1;direction:ltr;}

.profile-header-modern .profile-person-menu{position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:40;width:310px;max-width:calc(100vw - 24px);padding:7px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#243b53;box-shadow:0 12px 32px rgba(15,23,42,.18);text-align:start;}
.profile-header-modern .profile-person-menu[hidden]{display:none!important;}
.profile-header-modern .profile-person-menu>.btn-group{display:block;}
.profile-header-modern .profile-person-menu .btn-group>.btn{display:block;min-height:42px;width:100%;padding:10px 12px;font-size:13px;line-height:1.7;white-space:normal;border:0;background:transparent!important;color:#334155!important;box-shadow:none;text-align:start;border-radius:8px!important;}
.profile-header-modern .profile-person-menu .btn-group>.btn:hover{background:#f1f5f9!important;transform:none;}
.profile-header-modern .profile-person-menu .unselectable_w{display:inline-block;font-size:12px!important;padding:2px 6px;border-radius:6px;background:#edf2f7;color:inherit;}
.profile-header-modern .profile-person-menu .profile-header-bell{display:flex;flex-direction:column;width:100%;gap:0;}
.profile-header-modern .profile-person-menu .profile-header-bell>div{display:flex;justify-content:flex-start;align-items:center;gap:10px;flex:auto;width:100%;min-width:0;min-height:42px;height:auto;padding:10px 12px!important;border:0;border-radius:8px;background:transparent;color:#334155;font-size:13px!important;text-align:start;}
.profile-header-modern .profile-person-menu .profile-header-bell>div:hover{background:#f1f5f9;color:#245da7;}
.profile-header-modern .profile-person-menu .profile-header-bell>div>i{flex:0 0 18px;width:18px;height:20px;min-width:0;min-height:0;font-size:16px;}
.profile-header-modern .profile-person-menu-label{flex:1;font-size:13px;line-height:1.7;cursor:pointer;}
.profile-header-modern .profile-person-arrow{font-size:13px;transition:transform .18s;}
.profile-header-modern .profile-person-trigger[aria-expanded=true] .profile-person-arrow{transform:rotate(180deg);}

.profile-header-modern .profile-person-bell-status{font-size:.75em;}
.profile-header-modern .profile-person-bell-status[hidden]{display:none;}
.profile-header-modern .profile-person-bell-status.fa-bell-slash{color:#f5c76a;}

.profile-header-modern .profile-person-menu .profile-header-bell>div:has(i){display:flex!important;visibility:visible!important;opacity:1!important;height:auto!important;overflow:visible;animation:none;}

/* Align menu icons in one column and labels in the next. */
.profile-header-modern .profile-person-menu .btn-group>.btn{display:flex;align-items:center;justify-content:flex-start;gap:10px;}
.profile-header-modern .profile-person-menu .btn-group>.btn>i,.profile-header-modern .profile-person-menu .profile-header-bell>div>i{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;min-width:22px;height:22px;min-height:22px;font-size:16px;}
.profile-header-modern .profile-person-menu .profile-header-bell>div{gap:10px;}
.profile-header-modern .profile-person-menu .profile-person-menu-label{margin:0;padding:0;}

.profile-header-modern .profile-person-add-status{font-size:.8em;}
.profile-header-modern .profile-person-add-status[hidden]{display:none;}

.profile-header-modern[dir=rtl] .profile-person-trigger>.profile-person-add-status{order:-1;}
.profile-header-modern[dir=ltr] .profile-person-trigger>.profile-person-add-status{order:0;}

.profile-header-modern .profile-person-trigger>.fa-user,.profile-header-modern .profile-person-trigger>.profile-person-add-status{display:inline-flex;align-items:center;justify-content:center;align-self:center;line-height:1;vertical-align:middle;}
.profile-header-modern .profile-person-trigger>.profile-person-add-status[hidden]{display:none;}

/* Compact three-option menu with a pointer to its trigger. */
.profile-header-modern .profile-person-menu{width:260px;padding:5px;border-radius:11px;top:calc(100% + 10px);}
.profile-header-modern .profile-person-menu:before{content:'';position:absolute;top:-6px;left:var(--person-menu-arrow-left,50%);width:10px;height:10px;background:#fff;border-top:1px solid #e2e8f0;border-left:1px solid #e2e8f0;transform:translateX(-50%) rotate(45deg);pointer-events:none;}
.profile-header-modern .profile-person-menu .btn-group>.btn,.profile-header-modern .profile-person-menu .profile-header-bell>div{min-height:34px;padding:7px 9px!important;font-size:12px!important;gap:8px;line-height:1.5;}
.profile-header-modern .profile-person-menu .profile-person-menu-label{font-size:12px;line-height:1.5;}
.profile-header-modern .profile-person-menu .btn-group>.btn>i,.profile-header-modern .profile-person-menu .profile-header-bell>div>i{flex-basis:18px;width:18px;min-width:18px;height:18px;min-height:18px;font-size:14px;}

.profile-header-modern .profile-actions-expanded>.profile-person-menu{animation:profile-person-menu-fade 150ms ease-out;}
@keyframes profile-person-menu-fade{from{opacity:0}to{opacity:1}}

/* Keep equal edge spacing for the outer icon and follower count. */
.profile-header-modern .profile-person-trigger{position:relative;}
.profile-header-modern .profile-person-trigger>.profile-person-arrow{position:absolute;bottom:3px;left:calc(50% - 4px);width:8px;font-size:9px;line-height:1;text-align:center;}

/* Keep identity and actions together from 550px; stack below it. */
@media(min-width:550px) and (max-width:991px){
 .profile-header-modern .profile-header-row{flex-wrap:nowrap;}
 .profile-header-modern .profile-header-identity{flex:1 1 0;width:auto;min-width:0;}
 .profile-header-modern .profile-header-actions{flex:0 0 auto;width:auto;}
}
@media(max-width:549px){
 .profile-header-modern .profile-header-row{flex-wrap:wrap;}
 .profile-header-modern .profile-header-identity{flex:1 0 100%;width:100%;}
 .profile-header-modern .profile-header-actions{width:100%;}
}

.profile-header-modern .profile-header-name .fa-star.sdfsdfsdfsdf{padding-inline-start:5px;padding-inline-end:10px;}

/* Choose rows from measured readable content, independently of breakpoints. */
.profile-header-modern .profile-header-row.profile-layout-auto{flex-wrap:nowrap;}
.profile-header-modern .profile-layout-auto .profile-header-identity{flex:1 1 0;width:auto;min-width:0;}
.profile-header-modern .profile-layout-auto .profile-header-actions{flex:0 0 auto;width:auto;}
.profile-header-modern .profile-header-row.profile-layout-auto.profile-layout-stacked{flex-wrap:wrap;}
.profile-header-modern .profile-layout-auto.profile-layout-stacked .profile-header-identity{flex:1 0 100%;width:100%;}
.profile-header-modern .profile-layout-auto.profile-layout-stacked .profile-header-actions{width:100%;}

/* Keep a balanced minimum height while allowing content to grow. */
.profile-header-modern #get-touch{min-height:120px;display:flex;align-items:center;}

.profile-header-modern .profile-header-row.profile-layout-auto{justify-content:space-between;align-items:center;}
.profile-header-modern .profile-layout-auto .profile-header-identity{justify-content:flex-start;}
.profile-header-modern .profile-layout-auto:not(.profile-layout-stacked) .profile-header-actions{justify-content:flex-end;}

/* Balance profiles without a logo around their centered name. */
.profile-header-modern .profile-layout-auto.profile-layout-no-logo.profile-layout-stacked .profile-header-identity{justify-content:center;}
.profile-header-modern .profile-layout-auto.profile-layout-no-logo.profile-layout-stacked .profile-header-name{text-align:center;}
.profile-header-modern .profile-layout-auto.profile-layout-no-logo.profile-layout-stacked .profile-header-actions{justify-content:center;}

/* Match the initial CSS layout to the measured layout before script execution. */
.profile-header-modern .profile-header-row:not(.profile-layout-auto){display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;}
.profile-header-modern .profile-header-row:not(.profile-layout-auto) .profile-header-identity{flex:1 1 max-content;width:auto;min-width:0;max-width:100%;}
.profile-header-modern .profile-header-row:not(.profile-layout-auto) .profile-header-actions{flex:0 0 auto;width:auto;}

.profile-header-modern #get-touch #jhsdgfjhagubnzvczhgfyas.banggler-motion-paused::after,.banggler-page-hidden .profile-header-modern #get-touch #jhsdgfjhagubnzvczhgfyas::after{animation-play-state:paused;}
