/* New profile layout selected by the server for all viewers. */
html.as-private-profile .pageContentContainer{max-width:1440px!important}
html.as-private-profile #asProfile.pp-ready{flex:0 0 100%!important;max-width:100%!important;width:100%;order:0;padding:0 15px;min-width:0}
html.as-private-profile #asProfileSidebar.pp-legacy-sidebar{display:none!important}
#asProfilePreviewNotice{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 2px 14px;color:var(--pf-muted);font-size:12px;line-height:1.5}
#asProfilePreviewNotice a{color:var(--pf-text);text-decoration:underline;text-underline-offset:3px}
#asProfilePreviewNotice[hidden]{display:none!important}
#asProfile .pp-shell{color:var(--pf-text);min-width:0}
#asProfile .pp-shell [hidden],#asProfile .pp-legacy [hidden]{display:none!important}
#asProfile .pp-legacy{margin:0!important}
#asProfile .pp-hero{position:relative;isolation:isolate;border:1px solid var(--pf-border);border-radius:20px 20px 0 0;background:var(--pf-panel);min-height:320px;display:flex;align-items:center;justify-content:center;padding:34px 24px 28px}
#asProfile .pp-cover{position:absolute;inset:0;z-index:-1;border-radius:inherit;overflow:hidden;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--pf-text) 11%,transparent),transparent 65%),var(--pf-fill)}
#asProfile .pp-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,17,28,.65),rgba(8,17,28,.16));opacity:0}
#asProfile .pp-has-cover .pp-cover::after{opacity:1}
#asProfile .pp-cover-media{display:block;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center;pointer-events:none;transform:none!important}
#asProfile .pp-hero-main{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:100%;text-align:center}
#asProfile .pp-hero .as-profile-avatar{width:132px;min-width:132px;max-width:132px;height:132px;margin:0!important;padding:10px;filter:drop-shadow(0 5px 15px #0004)}
#asProfile .pp-heading{max-width:100%;min-width:0}
#asProfile .pp-name{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;max-width:100%}
#asProfile .pp-title{font-size:30px;line-height:1.2;font-weight:700;margin:0;overflow-wrap:anywhere;letter-spacing:-.6px;color:inherit;text-shadow:none;background:none;padding:0;border:0}
#asProfile .pp-hero .userBadges{display:inline-flex;gap:5px;align-items:center;max-width:100%;flex-wrap:wrap}
#asProfile .pp-hero .userBadges img{max-width:28px;max-height:28px;object-fit:contain}
#asProfile .pp-subtitle{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:8px;font-size:13px;color:var(--pf-muted)}
#asProfile .pp-group{font-weight:500}
#asProfile .pp-status{display:block;margin:8px 0 0;font-size:12px;color:var(--pf-muted);line-height:1.5}
#asProfile .pp-status :is(#sonline,#soffline){display:inline-block!important;width:7px!important;height:7px!important;min-width:7px;margin:0 6px 1px 0;vertical-align:middle;border-radius:50%}
#asProfile .pp-has-cover :is(.pp-id,.pp-status){color:#eff5fc;text-shadow:0 1px 4px #0008}
#asProfile .pp-tabs{display:flex;justify-content:center;gap:8px;padding:0 18px;background:var(--pf-fill);border:1px solid var(--pf-border);border-top:0;border-radius:0 0 16px 16px;overflow-x:auto;scrollbar-width:thin}
#asProfile .pp-tab{position:relative;flex:0 0 auto;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:19px 20px!important;font:600 14px/1.4 inherit;color:var(--pf-muted)!important;white-space:nowrap;cursor:pointer;min-height:57px;text-shadow:none!important}
#asProfile .pp-tab[aria-selected="true"]{color:var(--pf-text)!important}
#asProfile .pp-tab[aria-selected="true"]::after{content:"";position:absolute;bottom:0;left:20px;right:20px;height:3px;border-radius:3px 3px 0 0;background:var(--pf-text)}
#asProfile .pp-tab:hover{color:var(--pf-text)!important}
#asProfile .pp-shell :is(button,summary,a,[role="button"]):focus-visible{outline:2px solid var(--pf-text)!important;outline-offset:3px}
#asProfile .pp-commands{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:16px 0}
#asProfile :is(.pp-primary-actions,.pp-menu-list,.pp-account){list-style:none!important;margin:0!important;padding:0!important}
#asProfile :is(.pp-primary-actions,.pp-menu-list,.pp-account)>li{list-style:none!important;margin:0!important;padding:0!important;border:0!important;min-width:0;background:none!important;box-shadow:none!important}
#asProfile .pp-primary-actions{display:flex;gap:8px;flex-wrap:wrap}
#asProfile .pp-primary-actions a,#asProfile .pp-menu>summary{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px!important;min-height:40px;height:auto!important;border:1px solid var(--pf-border)!important;border-radius:10px!important;color:var(--pf-text)!important;-webkit-text-fill-color:var(--pf-text)!important;background:var(--pf-panel)!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;cursor:pointer;box-shadow:none!important;text-decoration:none!important;white-space:normal;text-align:center}
#asProfile .pp-primary-actions a{background:color-mix(in srgb,var(--pf-text) 8%,var(--pf-panel))!important}
#asProfile .pp-menu{position:relative}
#asProfile .pp-menu>summary{list-style:none}
#asProfile .pp-menu>summary::-webkit-details-marker{display:none}
#asProfile .pp-chevron{font-size:16px;line-height:1;color:var(--pf-muted)}
#asProfile .pp-menu[open]>summary{border-color:var(--pf-text)!important}
#asProfile .pp-menu-list{position:absolute;z-index:50;right:0;top:calc(100% + 8px);width:260px;padding:6px!important;border:1px solid var(--pf-border);border-radius:12px;background:var(--pf-panel);box-shadow:0 12px 32px var(--pf-shadow);max-width:calc(100vw - 44px)}
#asProfile .pp-menu-list a{display:flex!important;align-items:center;justify-content:flex-start!important;gap:10px!important;width:100%;min-height:40px;height:auto!important;padding:10px!important;margin:0!important;border:0!important;border-radius:7px!important;box-shadow:none!important;background:transparent!important;color:var(--pf-text)!important;-webkit-text-fill-color:var(--pf-text)!important;text-align:left!important;font-size:13px!important;font-weight:400!important;line-height:1.4!important;text-decoration:none!important;cursor:pointer;white-space:normal!important}
#asProfile .pp-menu-list a:is(:hover,:focus-visible){background:color-mix(in srgb,var(--pf-text) 8%,transparent)!important}
#asProfile .pp-menu-list .fa-money{display:none}
#asProfile .pp-menu-list .fa{order:-1;flex:0 0 18px;color:var(--pf-muted);text-align:center}
#asProfile .pp-metrics{display:flex;align-items:stretch;flex-wrap:wrap;gap:0;padding:18px 22px;margin:0 0 22px;border:1px solid var(--pf-border);border-radius:14px;background:var(--pf-fill)}
#asProfile .pp-metric{flex:1;min-width:110px;padding:2px 22px;border-right:1px solid var(--pf-border);display:flex;flex-direction:column;gap:4px}
#asProfile .pp-metric:first-child{padding-left:0}
#asProfile .pp-metric strong{font-size:23px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}
#asProfile .pp-metric>span{font-size:12px;color:var(--pf-muted)}
#asProfile .pp-account{display:flex;gap:28px;align-items:center;margin-left:auto!important;padding-left:26px!important;flex-wrap:wrap}
#asProfile .pp-account .as-profile-meta{display:flex;flex-direction:column-reverse;gap:4px}
#asProfile .pp-account .as-profile-meta-label{font-size:12px;color:var(--pf-muted)}
#asProfile .pp-account .as-profile-meta-value{font-size:18px;font-weight:600;line-height:1.65;white-space:nowrap}
#asProfile .pp-panel{padding-top:6px;min-height:180px}
#asProfile .pp-overview{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
#asProfile :is(.pp-main-column,.pp-side-column){min-width:0;display:flex;flex-direction:column;gap:20px}
#asProfile .pp-card,#asProfile .pp-shell .block{margin:0!important;padding:24px!important;border-radius:14px!important;border:1px solid var(--pf-border)!important;background-color:var(--pf-panel)!important;background-image:var(--pf-fill)!important;box-shadow:0 4px 12px color-mix(in srgb,var(--pf-shadow) 45%,transparent)!important;color:var(--pf-text)}
#asProfile :is(.pp-card-title,.pp-shell .block_head){font-size:17px!important;font-weight:600;line-height:1.4;height:auto!important;padding:0!important;margin:0 0 18px!important;border:0!important;color:var(--pf-text)!important;letter-spacing:0}
#asProfile .pp-shell .block_head::before,#asProfile .pp-shell .block_head::after{display:none!important}
#asProfile .pp-info-table{width:100%;border-collapse:collapse;margin:0!important;table-layout:fixed;background:transparent!important}
#asProfile .pp-info-table tr{background:transparent!important}
#asProfile .pp-info-table td{font-size:14px;line-height:1.6;border:0!important;border-top:1px solid var(--pf-border)!important;background:none!important;padding:12px 0!important;vertical-align:top;overflow-wrap:anywhere;color:var(--pf-text)!important}
#asProfile .pp-info-table tr:first-child td{border-top:0!important;padding-top:0!important}
#asProfile .pp-info-table tr:last-child td{padding-bottom:0!important}
#asProfile .pp-info-table td:first-child{width:43%;color:var(--pf-muted)!important;padding-right:20px!important}
#asProfile .pp-info-table td img{max-width:28px;height:28px;object-fit:cover;border-radius:50%;margin-right:7px}
#asProfile .pp-info-table td b{font-weight:500!important}
#asProfile .pp-awards #achivments_area{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
#asProfile .pp-awards #achivments_area img{width:48px!important;height:48px!important;object-fit:contain}
#asProfile .pp-side-column .gifts-items{display:flex!important;gap:10px;overflow-x:auto;padding:0 0 10px;scrollbar-width:thin;max-width:100%;margin:0}
#asProfile .pp-side-column .gift{flex:0 0 66px;background:color-mix(in srgb,var(--pf-text) 4%,transparent);border-color:var(--pf-border);border-radius:10px}
#asProfile .pp-side-column .gift img{width:64px!important;height:64px!important;object-fit:contain}
/* Compact friends; each identity keeps its own group artwork and equipped frame. */
#asProfile #pp-panel-friends>.block{padding:16px 18px!important}
#asProfile #pp-panel-friends .block_head{margin-bottom:12px!important;font-size:15px!important}
#asProfile #pp-panel-friends #friends{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:10px 12px;max-height:none!important;overflow:visible!important;padding:0!important}
#asProfile #pp-panel-friends #friends::after{display:none!important}
#asProfile #pp-panel-friends #friends>a{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;width:auto!important;margin:0!important;padding:4px 2px!important;float:none!important;text-align:center;min-width:0;font-size:12px;line-height:1.4;text-decoration:none}
#asProfile #pp-panel-friends #friends>a>img{width:48px!important;height:48px!important;object-fit:cover;border-radius:50%;margin:8px!important;max-width:none!important}
#asProfile #pp-panel-friends #friends .pp-friend-avatar{position:relative!important;display:block!important;box-sizing:border-box;width:64px!important;height:64px!important;flex:0 0 64px;min-width:64px;max-width:none!important;margin:0!important;padding:0!important;border:0!important;float:none!important;transform:none!important;overflow:visible!important}
#asProfile #pp-panel-friends #friends .pp-friend-image{position:absolute!important;inset:auto!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;box-sizing:border-box;display:block!important;width:48px!important;height:48px!important;margin:0!important;padding:0!important;max-width:none!important;object-fit:cover;object-position:center;border:1px solid var(--pf-border);border-radius:50%!important;float:none!important}
#asProfile #pp-panel-friends #friends .pp-friend-frame{position:absolute!important;z-index:1;inset:auto!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;box-sizing:border-box;display:block!important;width:58px!important;height:58px!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:contain;object-position:center;float:none!important;pointer-events:none}
#asProfile #pp-panel-friends #friends .pp-friend-identity{display:flex;justify-content:center;align-items:center;align-content:flex-start;flex-wrap:wrap;gap:3px 4px;max-width:100%;min-width:0;white-space:normal;overflow:visible}
#asProfile #pp-panel-friends #friends .pp-friend-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;max-width:100%;font-size:12px;line-height:1.4;white-space:normal}
#asProfile #pp-panel-friends #friends .pp-friend-badges{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;max-width:100%;line-height:1}
#asProfile #pp-panel-friends #friends .pp-friend-badges img{position:static!important;display:block;width:14px!important;height:14px!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;object-fit:contain}
#asProfile #pp-panel-friends .empty-element{grid-column:1/-1}
@media(max-width:575px){#asProfile #pp-panel-friends #friends{grid-template-columns:minmax(0,1fr);gap:10px 6px}#asProfile #pp-panel-friends>.block{padding:14px!important}}
#asProfile #pp-panel-activity{display:grid;gap:20px}
#asProfile #pp-panel-services .table-responsive{overflow-x:auto}
#asProfile .pp-empty{margin:0;padding:40px 15px;text-align:center;color:var(--pf-muted);font-size:14px}
#asProfile .pp-side-column #users_visit{display:flex!important;flex-wrap:wrap;gap:8px;margin:0!important}
#asProfile .pp-side-column #users_visit img{width:42px!important;height:42px!important;border-radius:50%!important;object-fit:cover}
#asProfile .pp-shell .news-composer{margin-top:0}
#asProfile .pp-shell #last_activity p,#asProfile .pp-shell #mybans p{color:var(--pf-muted);border-color:var(--pf-border)}
@media(max-width:991px){#asProfile .pp-overview{grid-template-columns:minmax(0,1fr) 250px;gap:16px}#asProfile .pp-card,#asProfile .pp-shell .block{padding:20px!important}#asProfile .pp-account{gap:18px;padding-left:18px!important}#asProfile .pp-metric{padding:2px 14px}}
@media(max-width:767px){html.as-private-profile #asProfile.pp-ready{padding:0 10px}#asProfile .pp-hero{min-height:290px;padding:26px 16px}#asProfile .pp-tabs{justify-content:flex-start;gap:0;padding:0 6px}#asProfile .pp-tab{padding:16px 14px!important;font-size:13px!important;min-height:52px}#asProfile .pp-tab[aria-selected="true"]::after{left:14px;right:14px}#asProfile .pp-title{font-size:26px}#asProfile .pp-overview{grid-template-columns:minmax(0,1fr)}#asProfile .pp-commands{justify-content:center}#asProfile .pp-primary-actions{justify-content:center}#asProfile .pp-menu-list{right:0}#asProfile .pp-menu:first-of-type .pp-menu-list{left:0;right:auto}#asProfile .pp-metrics{padding:16px;row-gap:16px}#asProfile .pp-metric{min-width:0;padding:0 10px;flex:1}#asProfile .pp-metric:last-of-type{border:0}#asProfile .pp-metric strong{font-size:20px}#asProfile .pp-account{flex-basis:100%;margin:0!important;padding:14px 0 0!important;border-top:1px solid var(--pf-border);gap:32px}#asProfile .pp-account .as-profile-meta-value{font-size:17px}#asProfile .pp-card,#asProfile .pp-shell .block{padding:18px!important}#asProfile .pp-info-table td{font-size:13px}#asProfile .pp-info-table td:first-child{width:43%;padding-right:12px!important}}
@media(prefers-reduced-motion:reduce){#asProfile .pp-shell *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Preserve contrast over cover artwork even in the light palette. */
#asProfile .pp-has-cover :is(.pp-id,.pp-status){color:#eff5fc!important;-webkit-text-fill-color:#eff5fc!important}
#asProfile .pp-tab{font-family:inherit;font-size:14px;font-weight:600;line-height:1.4}
html.as-private-profile #asProfilePreviewNotice{padding:9px 12px;margin-bottom:12px;border:1px solid var(--pf-border);border-radius:10px;background:var(--pf-panel);color:var(--pf-muted)}
#asProfile .pp-tabs{scrollbar-color:var(--pf-border) transparent}
#asProfile .pp-tabs::-webkit-scrollbar{height:4px}
#asProfile .pp-tabs::-webkit-scrollbar-thumb{background:var(--pf-border);border-radius:4px}

/* v2: cover above a profile bar, overlapping avatar at the left. */
#asProfile .pp-hero-v2{display:block;min-height:0;padding:0;border-radius:20px;background:var(--pf-panel);isolation:auto}
#asProfile .pp-hero-v2 .pp-cover{position:relative;inset:auto;z-index:auto;height:clamp(220px,23vw,360px);border-radius:19px 19px 0 0}
#asProfile .pp-hero-v2 .pp-cover::after{background:linear-gradient(0deg,rgba(10,17,26,.15),transparent 65%)}
#asProfile .pp-hero-v2 .pp-hero-main{position:relative;z-index:1;display:grid;grid-template-columns:184px minmax(0,1fr) auto;align-items:center;gap:24px;max-width:none;min-height:146px;padding:24px 28px;background:var(--pf-panel);border-radius:18px;margin-top:-18px;text-align:left}
#asProfile .pp-hero-v2 .pp-hero-main.pp-no-commands{grid-template-columns:184px minmax(0,1fr)}
#asProfile .pp-hero-v2 .as-profile-avatar{position:relative;width:184px;min-width:184px;max-width:184px;height:184px;padding:10px;margin:-94px 0 0!important;align-self:start;filter:none;overflow:visible}
#asProfile .pp-hero-v2 .as-profile-avatar>img:first-child{outline:6px solid var(--pf-panel)}
#asProfile .pp-hero-v2 .pp-heading{align-self:center;min-width:0;padding:0}
#asProfile .pp-hero-v2 .pp-name{justify-content:flex-start;gap:8px}
#asProfile .pp-hero-v2 .pp-title{font-size:30px;line-height:1.2;letter-spacing:-.5px}
#asProfile .pp-hero-v2 .pp-subtitle{justify-content:flex-start;gap:12px;margin-top:12px;font-size:13px}
#asProfile .pp-hero-v2 .pp-id{color:var(--pf-muted)!important;-webkit-text-fill-color:var(--pf-muted)!important;text-shadow:none}
#asProfile .pp-hero-v2 .pp-status{position:absolute;right:2px;bottom:13px;z-index:2;max-width:calc(100% - 12px);box-sizing:border-box;padding:4px 9px;border:4px solid var(--pf-panel);border-radius:30px;margin:0;font-size:11px;font-weight:600;line-height:1.3;color:var(--pf-text)!important;-webkit-text-fill-color:var(--pf-text)!important;background:color-mix(in srgb,var(--pf-text) 18%,var(--pf-panel));text-shadow:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#asProfile .pp-hero-v2 .pp-about-button{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;border-radius:5px!important;color:var(--pf-muted)!important;-webkit-text-fill-color:var(--pf-muted)!important;font-family:inherit;font-size:13px;font-weight:400;line-height:1.4;cursor:pointer}
#asProfile .pp-hero-v2 .pp-about-button:hover{color:var(--pf-text)!important;-webkit-text-fill-color:var(--pf-text)!important}
#asProfile .pp-hero-v2 .pp-about-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;flex:0 0 18px}
#asProfile .pp-hero-v2 .pp-commands{align-self:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px;margin:0;padding:0}
#asProfile .pp-hero-v2 .pp-primary-actions{flex-wrap:nowrap}
#asProfile .pp-hero-v2 .pp-primary-actions a{font-size:14px!important;min-height:44px;white-space:nowrap;padding:11px 22px!important;background:var(--pf-text)!important;color:var(--pf-panel)!important;-webkit-text-fill-color:var(--pf-panel)!important;border-color:var(--pf-text)!important;border-radius:11px!important}
#asProfile .pp-hero-v2 .pp-menu>summary{min-height:44px;padding:11px 16px!important;background:color-mix(in srgb,var(--pf-text) 7%,var(--pf-panel))!important;border:1px solid transparent!important;font-size:14px!important;border-radius:11px!important}
#asProfile .pp-hero-v2 .pp-gift-menu>summary{width:44px;padding:9px!important}
#asProfile .pp-hero-v2 .pp-gift-menu>summary svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#asProfile .pp-hero-v2 .pp-menu[open]>summary{border-color:var(--pf-border)!important}
#asProfile .pp-hero-v2 .pp-menu-list{z-index:80}
#asProfile .pp-hero-v2 .pp-menu-list>.pp-menu-label{padding:10px 10px 5px!important;margin-top:5px!important;border-top:1px solid var(--pf-border)!important;color:var(--pf-muted);font-size:11px;line-height:1.4}
#asProfile .pp-tabs{margin:18px 0 20px;border:1px solid var(--pf-border);border-radius:16px;box-shadow:0 4px 12px color-mix(in srgb,var(--pf-shadow) 45%,transparent)}
#asProfile .pp-card{scroll-margin-top:100px}
@media(max-width:1100px){#asProfile .pp-hero-v2 .pp-hero-main{grid-template-columns:164px minmax(0,1fr) auto;gap:18px;padding:24px}#asProfile .pp-hero-v2 .pp-hero-main.pp-no-commands{grid-template-columns:164px minmax(0,1fr)}#asProfile .pp-hero-v2 .as-profile-avatar{width:164px;min-width:164px;max-width:164px;height:164px;margin-top:-82px!important}#asProfile .pp-hero-v2 .pp-title{font-size:26px}#asProfile .pp-hero-v2 .pp-primary-actions a{padding:11px 16px!important}}
@media(max-width:850px){#asProfile .pp-hero-v2 .pp-hero-main,#asProfile .pp-hero-v2 .pp-hero-main.pp-no-commands{grid-template-columns:150px minmax(0,1fr);gap:14px 20px;padding:22px}#asProfile .pp-hero-v2 .as-profile-avatar{width:150px;min-width:150px;max-width:150px;height:150px;margin-top:-76px!important}#asProfile .pp-hero-v2 .pp-commands{grid-column:2;justify-content:flex-start}#asProfile .pp-hero-v2 .pp-heading{align-self:start;padding-top:4px}#asProfile .pp-hero-v2 .pp-subtitle{gap:8px 12px}#asProfile .pp-hero-v2 .pp-cover{height:240px}}
@media(max-width:575px){#asProfile .pp-hero-v2 .pp-cover{height:200px}#asProfile .pp-hero-v2 .pp-hero-main,#asProfile .pp-hero-v2 .pp-hero-main.pp-no-commands{grid-template-columns:100px minmax(0,1fr);gap:18px 12px;padding:18px 14px;min-height:0}#asProfile .pp-hero-v2 .as-profile-avatar{width:100px;min-width:100px;max-width:100px;height:100px;padding:6px;margin-top:-54px!important}#asProfile .pp-hero-v2 .as-profile-avatar>img:first-child{outline-width:4px}#asProfile .pp-hero-v2 .pp-status{right:-2px;bottom:2px;font-size:10px;padding:3px 6px;border-width:3px}#asProfile .pp-hero-v2 .pp-heading{padding-top:0}#asProfile .pp-hero-v2 .pp-title{font-size:23px;letter-spacing:-.3px}#asProfile .pp-hero-v2 .pp-name{gap:5px}#asProfile .pp-hero-v2 .pp-subtitle{margin-top:8px;font-size:12px;gap:5px 10px}#asProfile .pp-hero-v2 .pp-about-button{font-size:12px}#asProfile .pp-hero-v2 .userBadges img{max-width:22px;max-height:22px}#asProfile .pp-hero-v2 .pp-commands{grid-column:1/-1;justify-content:flex-end;gap:8px}#asProfile .pp-hero-v2 .pp-menu-list{right:0;left:auto}#asProfile .pp-hero-v2 .pp-gift-menu .pp-menu-list{right:-82px;left:auto}#asProfile .pp-hero-v2 .pp-primary-actions a{padding:10px 18px!important}#asProfile .pp-hero-v2 .pp-cover-media{object-position:center}}
/* v4: the cover fills the entire header; identity and actions sit above it. */
#asProfile .pp-hero-overlay{display:flex;align-items:flex-end;justify-content:stretch;min-height:clamp(380px,34vw,480px);isolation:isolate;z-index:2;--pp-hero-text:var(--pf-text);--pp-hero-muted:var(--pf-muted)}
#asProfile .pp-hero-overlay .pp-cover{position:absolute;inset:0;z-index:0;height:100%;border-radius:inherit}
#asProfile .pp-hero-overlay.pp-has-cover{--pp-hero-text:#f7f9fc;--pp-hero-muted:#e2e7ed}
#asProfile .pp-hero-overlay .pp-cover::after{background:linear-gradient(180deg,rgba(4,9,17,.04) 15%,rgba(4,9,17,.22) 45%,rgba(4,9,17,.8) 100%)}
#asProfile .pp-hero-overlay .pp-hero-main{width:100%;min-height:0;margin:0;padding:30px 28px;background:transparent;border-radius:0;align-items:center}
#asProfile .pp-hero-overlay .as-profile-avatar{margin:0!important;align-self:center;filter:drop-shadow(0 4px 14px #0005)}
#asProfile .pp-hero-overlay .as-profile-avatar>img:first-child{outline:none}
#asProfile .pp-hero-overlay .pp-heading{align-self:center;padding:0}
#asProfile .pp-hero-overlay .pp-status{position:static;display:flex;align-items:center;width:auto;max-width:none;margin:0 0 8px;padding:0;border:0;border-radius:0;background:none;font-size:12px;font-weight:500;line-height:1.5;white-space:normal;overflow:visible;color:var(--pp-hero-muted)!important;-webkit-text-fill-color:var(--pp-hero-muted)!important}
#asProfile .pp-hero-overlay .pp-status :is(#sonline,#soffline){flex:0 0 7px;margin:0 7px 0 0}
#asProfile .pp-hero-overlay .pp-id,#asProfile .pp-hero-overlay .pp-about-button{color:var(--pp-hero-muted)!important;-webkit-text-fill-color:var(--pp-hero-muted)!important}
#asProfile .pp-hero-overlay .pp-about-button:hover{color:var(--pp-hero-text)!important;-webkit-text-fill-color:var(--pp-hero-text)!important}
#asProfile .pp-hero-overlay.pp-has-cover .pp-heading{text-shadow:0 1px 5px #0008}
#asProfile .pp-hero-overlay.pp-has-cover .pp-primary-actions a{background:#f7f9fc!important;color:#1c2632!important;-webkit-text-fill-color:#1c2632!important;border-color:#f7f9fc!important}
#asProfile .pp-hero-overlay.pp-has-cover .pp-menu>summary{background:rgba(15,23,34,.66)!important;color:#f7f9fc!important;-webkit-text-fill-color:#f7f9fc!important;border-color:#ffffff35!important;backdrop-filter:blur(10px)}
#asProfile .pp-hero-overlay.pp-has-cover .pp-chevron{color:#e2e7ed}
#asProfile .pp-hero-overlay.pp-has-cover :is(.pp-primary-actions a,.pp-menu>summary,.pp-about-button):focus-visible{outline-color:#f7f9fc!important}
@media(max-width:850px){#asProfile .pp-hero-overlay{min-height:400px}#asProfile .pp-hero-overlay .pp-hero-main{padding:24px}#asProfile .pp-hero-overlay .pp-commands{grid-column:2}}
@media(max-width:575px){#asProfile .pp-hero-overlay{min-height:360px}#asProfile .pp-hero-overlay .pp-hero-main{padding:22px 14px;row-gap:20px}#asProfile .pp-hero-overlay .pp-commands{grid-column:1/-1}#asProfile .pp-hero-overlay .pp-status{margin-bottom:6px;font-size:11px}}
/* v5: independent shared cover. The equipped background remains behind the page. */
#asProfile .pp-hero-overlay .pp-cover-default{background:radial-gradient(ellipse at 86% 8%,#38bdf82e,transparent 54%),radial-gradient(ellipse at 15% 0,#647fc422,transparent 48%),linear-gradient(125deg,#132135,#0d1725 52%,#102e3d)}
#asProfile .pp-cover-default::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(130deg,transparent 0,transparent 96px,#bce9ff0b 97px,#bce9ff0b 98px,transparent 99px,transparent 196px);pointer-events:none}
#asProfile .pp-cover-brand{position:absolute;z-index:1;top:52px;right:48px;left:48px;display:flex;flex-direction:column;align-items:flex-end;gap:14px;pointer-events:none;color:#ecf7ff;-webkit-text-fill-color:#ecf7ff;text-shadow:none}
#asProfile .pp-cover-kicker{display:flex;align-items:center;gap:12px;font-family:inherit;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:3px;color:#a6bfcc;-webkit-text-fill-color:#a6bfcc}
#asProfile .pp-cover-kicker::before{content:"";width:28px;height:2px;background:#62d7ce}
#asProfile .pp-cover-title{display:block;font-family:inherit;font-size:clamp(28px,3.5vw,48px);font-weight:800;line-height:1.08;letter-spacing:-1.6px;white-space:nowrap}
#asProfile .pp-cover-domain{color:#62d7ce;-webkit-text-fill-color:#62d7ce}
#asProfile .pp-status #sonline{background:#34d47c!important;box-shadow:0 0 10px #34d47c88!important;filter:none!important;animation:pp-online-pulse 1.6s ease-in-out infinite!important}
@keyframes pp-online-pulse{0%,100%{opacity:1}50%{opacity:.3}}
@media(max-width:850px){#asProfile .pp-cover-brand{top:36px;right:28px;left:28px}#asProfile .pp-cover-title{font-size:32px}}
@media(max-width:575px){#asProfile .pp-cover-brand{top:30px;right:20px;left:20px;align-items:flex-start;gap:10px}#asProfile .pp-cover-title{font-size:clamp(20px,6vw,28px);letter-spacing:-.7px}#asProfile .pp-cover-kicker{font-size:9px;letter-spacing:2px;gap:8px}#asProfile .pp-cover-kicker::before{width:20px}}
@media(prefers-reduced-motion:reduce){#asProfile .pp-status #sonline{animation:none!important;opacity:1}}
/* v6: compact profile values under the actions, on the cover. */
#asProfile .pp-hero-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:24px;min-width:0}
#asProfile .pp-hero-side .pp-commands{align-self:auto;grid-column:auto}
#asProfile .pp-hero-summary{display:flex;align-items:flex-start;justify-content:flex-end;gap:28px;max-width:100%;color:var(--pp-hero-text);text-shadow:0 1px 5px #0008}
#asProfile .pp-hero-summary .pp-metric{flex:0 1 auto;min-width:0;padding:0;border:0;gap:5px}
#asProfile .pp-hero-summary .pp-account{flex:0 1 auto;flex-wrap:nowrap;align-items:flex-start;gap:28px;margin:0!important;padding:0!important;border:0}
#asProfile .pp-hero-summary .as-profile-meta{gap:5px}
#asProfile .pp-hero-summary :is(.pp-metric strong,.as-profile-meta-value){font-size:21px;font-weight:600;line-height:1.3;white-space:nowrap;color:var(--pp-hero-text)!important;-webkit-text-fill-color:var(--pp-hero-text)!important;font-variant-numeric:tabular-nums}
#asProfile .pp-hero-summary :is(.pp-metric>span,.as-profile-meta-label){font-size:12px;font-weight:400;line-height:1.5;color:var(--pp-hero-muted)!important;-webkit-text-fill-color:var(--pp-hero-muted)!important}
@media(max-width:1100px){#asProfile .pp-hero-summary,#asProfile .pp-hero-summary .pp-account{gap:20px}}
@media(max-width:850px){#asProfile .pp-hero-side{grid-column:1/-1;gap:20px}#asProfile .pp-hero-overlay{min-height:470px}}
@media(max-width:575px){#asProfile .pp-hero-overlay{min-height:440px}#asProfile .pp-hero-side{align-items:stretch}#asProfile .pp-hero-side .pp-commands{justify-content:flex-end}#asProfile .pp-hero-summary{justify-content:space-between;gap:18px}#asProfile .pp-hero-summary .pp-account{flex:1;justify-content:space-evenly;gap:18px}#asProfile .pp-hero-summary :is(.pp-metric strong,.as-profile-meta-value){font-size:18px}}
/* v7: a shorter cover, with room for the branding and profile controls. */
#asProfile .pp-hero-overlay{min-height:clamp(300px,23vw,320px)}
#asProfile .pp-hero-overlay .pp-hero-main{padding:22px 28px}
#asProfile .pp-cover-brand{top:28px;right:32px;left:32px;gap:8px}
#asProfile .pp-cover-title{font-size:clamp(28px,3vw,40px)}
@media(max-width:850px){#asProfile .pp-hero-overlay{min-height:360px}#asProfile .pp-hero-overlay .pp-hero-main,#asProfile .pp-hero-overlay .pp-hero-main.pp-no-commands{grid-template-columns:120px minmax(0,1fr);padding:18px 22px;row-gap:14px}#asProfile .pp-hero-overlay .as-profile-avatar{width:120px;min-width:120px;max-width:120px;height:120px}#asProfile .pp-hero-side{gap:16px}#asProfile .pp-cover-brand{top:24px;right:24px;left:24px}#asProfile .pp-cover-title{font-size:30px}}
@media(max-width:575px){#asProfile .pp-hero-overlay{min-height:340px}#asProfile .pp-hero-overlay .pp-hero-main,#asProfile .pp-hero-overlay .pp-hero-main.pp-no-commands{grid-template-columns:100px minmax(0,1fr);padding:18px 14px}#asProfile .pp-hero-overlay .as-profile-avatar{width:100px;min-width:100px;max-width:100px;height:100px}#asProfile .pp-cover-brand{top:22px;right:20px;left:20px}#asProfile .pp-cover-title{font-size:clamp(20px,6vw,28px)}}
/* v10: compact information card; both columns share the same row heights. */
#asProfile .pp-card.pp-details-card{padding:18px 24px!important}
#asProfile .pp-details-card>.pp-card-title{margin-bottom:12px!important}
#asProfile .pp-details-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
#asProfile .pp-details-grid:not(.pp-details-single)::before{content:"";position:absolute;top:0;bottom:0;left:50%;border-left:1px solid var(--pf-border)}
#asProfile .pp-details-table{display:grid;grid-template-rows:subgrid;grid-row:1 / span var(--pp-detail-rows);min-width:0}
#asProfile .pp-details-table>tbody{display:contents}
#asProfile .pp-details-table tr{display:grid;grid-template-columns:minmax(0,43fr) minmax(0,57fr);min-height:36px}
#asProfile .pp-details-card .pp-info-table.pp-details-table td{width:auto!important;min-width:0;padding:7px 0!important;font-size:14px;line-height:1.45;align-content:center}
#asProfile .pp-details-card .pp-info-table.pp-details-table td:first-child{padding-right:14px!important}
#asProfile .pp-details-card .pp-info-table.pp-details-table td img{max-width:24px;height:24px}
#asProfile .pp-details-single{grid-template-columns:minmax(0,1fr)}
@media(max-width:991px){
    #asProfile .pp-card.pp-details-card{padding:16px 18px!important}
    #asProfile .pp-details-grid{display:block}
    #asProfile .pp-details-grid::before{display:none}
    #asProfile .pp-details-table{display:table}
    #asProfile .pp-details-table>tbody{display:table-row-group}
    #asProfile .pp-details-table tr{display:table-row}
    #asProfile .pp-details-card .pp-info-table.pp-details-table td{vertical-align:middle}
    #asProfile .pp-details-card .pp-info-table.pp-details-table td:first-child{width:43%!important}
    #asProfile .pp-details-table+.pp-details-table{border-top:1px solid var(--pf-border)}
}
@media(max-width:767px){#asProfile .pp-details-card .pp-info-table.pp-details-table td{font-size:13px}}

/* v11: denser overview, paired card heights and a vertically centered header. */
#asProfile .pp-card.pp-details-card{padding:12px 18px!important}
#asProfile .pp-details-card>.pp-card-title{font-size:15px!important;margin-bottom:8px!important}
#asProfile .pp-details-grid{column-gap:32px}
#asProfile .pp-details-table tr{min-height:30px}
#asProfile .pp-details-card .pp-info-table.pp-details-table td{padding:5px 0!important;font-size:13px;line-height:1.4}
#asProfile .pp-details-card .pp-info-table.pp-details-table td img{max-width:20px;height:20px}
#asProfile .pp-overview-paired{row-gap:16px}
#asProfile .pp-overview-paired>.pp-details-card{grid-column:1;grid-row:1;align-self:stretch}
#asProfile .pp-overview-paired>.pp-gifts-card{grid-column:2;grid-row:1;align-self:stretch}
#asProfile .pp-overview-paired>.pp-main-column{grid-column:1;grid-row:2}
#asProfile .pp-overview-paired>.pp-side-column{grid-column:2;grid-row:2}
#asProfile .pp-shell .block.pp-gifts-card{padding:12px 16px!important;min-width:0;display:flex;flex-direction:column;gap:8px}
#asProfile .pp-gifts-card .userGiftsHeader{align-items:center;font-size:15px!important;margin:0!important;gap:10px}
#asProfile .pp-gifts-card .userGiftsHeader small{font-size:12px;font-weight:400}
#asProfile .pp-gifts-card .gifts-items{display:flex!important;align-items:center;gap:8px;overflow-x:auto;max-width:100%;margin:auto 0!important;padding:0 0 6px;scrollbar-width:thin}
#asProfile .pp-gifts-card .gift{flex:0 0 64px;width:64px;height:64px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:3px;background:color-mix(in srgb,var(--pf-text) 4%,transparent);border:1px solid var(--pf-border);border-radius:8px}
#asProfile .pp-gifts-card .gift img{width:56px!important;height:56px!important;object-fit:contain}
#asProfile .pp-gifts-card :is(.showAllGifts,.sendGiftUser){font-size:12px!important;line-height:1.4!important;min-height:28px;height:auto!important;padding:4px 10px!important;border-radius:8px!important}
#asProfile .pp-gifts-card .sendGiftUser{width:100%;margin:0!important}
#asProfile .pp-gifts-card .emptyGifts{font-size:13px;min-height:54px;display:flex;align-items:center}
#asProfile .pp-tabs{margin:12px 0 12px;gap:4px;border-radius:12px}
#asProfile .pp-tab{min-height:40px;padding:10px 16px!important;font-size:13px!important;line-height:1.4!important}
#asProfile .pp-tab[aria-selected="true"]::after{left:16px;right:16px;height:2px}
#asProfile .pp-hero-overlay{min-height:0;align-items:center}
#asProfile .pp-hero-overlay .pp-hero-main{padding:18px 24px}
#asProfile .pp-hero-side{gap:12px}
#asProfile .pp-hero-side>.pp-cover-brand{position:static;inset:auto;align-items:flex-end;gap:4px;max-width:100%}
#asProfile .pp-hero-side .pp-cover-title{font-size:23px;letter-spacing:-.6px}
#asProfile .pp-hero-side .pp-cover-kicker{font-size:9px;letter-spacing:1.5px;gap:8px}
#asProfile .pp-hero-side .pp-cover-kicker::before{width:18px}
#asProfile .pp-hero-overlay .pp-primary-actions a,#asProfile .pp-hero-overlay .pp-menu>summary{min-height:32px;padding:6px 12px!important;font-size:12px!important;border-radius:8px!important}
#asProfile .pp-hero-overlay .pp-gift-menu>summary{width:32px;padding:6px!important}
#asProfile .pp-hero-overlay .pp-gift-menu>summary svg{width:18px;height:18px}
#asProfile .pp-hero-overlay .pp-chevron{font-size:13px}
#asProfile .pp-hero-summary,#asProfile .pp-hero-summary .pp-account{gap:18px}
#asProfile .pp-hero-summary :is(.pp-metric strong,.as-profile-meta-value){font-size:16px;line-height:1.3}
#asProfile .pp-hero-summary :is(.pp-metric>span,.as-profile-meta-label){font-size:10px}
#asProfile .pp-hero-summary :is(.pp-metric,.as-profile-meta){gap:3px}
@media(max-width:991px){
    #asProfile .pp-details-table tr.pp-details-spacer{display:none!important}
}
@media(max-width:850px){
    #asProfile .pp-hero-overlay .pp-hero-main,#asProfile .pp-hero-overlay .pp-hero-main.pp-no-commands{padding:18px 20px;row-gap:16px}
    #asProfile .pp-hero-side{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
    #asProfile .pp-hero-side>.pp-cover-brand{align-items:flex-start;grid-column:1;grid-row:1/3}
    #asProfile .pp-hero-side .pp-commands{grid-column:2;grid-row:1}
    #asProfile .pp-hero-summary{grid-column:2;grid-row:2}
    #asProfile .pp-hero-side .pp-cover-title{font-size:20px}
}
@media(max-width:767px){
    #asProfile .pp-overview-paired{grid-template-columns:minmax(0,1fr)}
    #asProfile .pp-overview-paired>:is(.pp-details-card,.pp-gifts-card,.pp-main-column,.pp-side-column){grid-column:1;grid-row:auto}
    #asProfile .pp-tabs{padding:0 4px;gap:0}
    #asProfile .pp-tab{padding:10px 12px!important}
    #asProfile .pp-tab[aria-selected="true"]::after{left:12px;right:12px}
}
@media(max-width:575px){
    #asProfile .pp-hero-overlay .pp-hero-main,#asProfile .pp-hero-overlay .pp-hero-main.pp-no-commands{padding:16px 14px;row-gap:14px}
    #asProfile .pp-hero-side{display:flex;flex-direction:column;align-items:stretch;gap:12px}
    #asProfile .pp-hero-side>.pp-cover-brand{display:flex;align-items:flex-end}
    #asProfile .pp-hero-side .pp-commands{justify-content:flex-end}
    #asProfile .pp-hero-summary{justify-content:space-between}
    #asProfile .pp-hero-summary .pp-account{justify-content:flex-end;gap:20px}
}

/* v12: no horizontal separators in the user information card. */
#asProfile .pp-details-card .pp-info-table.pp-details-table td{border:0!important}
#asProfile .pp-details-card .pp-details-table+.pp-details-table{border-top:0!important}

/* v13: consistent space before the site footer for every profile tab. */
html.as-private-profile #asProfile.pp-ready{padding-bottom:24px!important}

/* v15: compact friend cards with contextual actions. */
#asProfile #pp-panel-friends #friends .pp-friend{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;gap:4px 8px;min-width:0;margin:0;padding:10px 12px;border:1px solid var(--pf-border);border-radius:10px;background:color-mix(in srgb,var(--pf-text) 2%,transparent)}
#asProfile #pp-panel-friends #friends .pp-friend-avatar{grid-column:1;grid-row:1/3}
#asProfile #pp-panel-friends #friends .pp-friend-identity{grid-column:2;grid-row:1;justify-content:flex-start;align-self:end;text-decoration:none;min-height:20px}
#asProfile #pp-panel-friends #friends .pp-friend-name{font-size:13px}
#asProfile .pp-friend-actions{grid-column:2;grid-row:2;display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;align-self:start}
#asProfile .pp-friend-button,#asProfile .pp-friend-menu>summary{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:28px;height:auto;width:auto;margin:0!important;padding:4px 9px!important;border:1px solid var(--pf-border)!important;border-radius:6px!important;box-shadow:none!important;background:color-mix(in srgb,var(--pf-text) 5%,transparent)!important;color:var(--pf-text)!important;-webkit-text-fill-color:var(--pf-text)!important;text-decoration:none!important;font-family:inherit;font-size:11px!important;font-weight:500!important;line-height:18px!important;white-space:nowrap;cursor:pointer}
#asProfile .pp-friend-button:hover,#asProfile .pp-friend-menu>summary:hover{background:color-mix(in srgb,var(--pf-text) 10%,transparent)!important}
#asProfile .pp-friend-button:disabled{cursor:default;opacity:.65}
#asProfile .pp-friend-self{font-size:12px;color:var(--pf-muted)}
#asProfile .pp-friend-menu{position:relative;margin:0}
#asProfile .pp-friend-menu>summary{width:30px;padding:4px!important;list-style:none}
#asProfile .pp-friend-menu>summary::-webkit-details-marker{display:none}
#asProfile .pp-friend-menu svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
#asProfile #pp-panel-friends #friends .pp-friend:has(.pp-friend-menu[open]){z-index:10}
#asProfile .pp-friend-dropdown{position:absolute;top:calc(100% + 5px);right:0;z-index:20;min-width:180px;padding:5px;border:1px solid var(--pf-border);border-radius:9px;background:var(--pf-panel);box-shadow:0 8px 22px var(--pf-shadow)}
#asProfile .pp-friend-dropdown>a,#asProfile .pp-friend-dropdown>button{display:block;width:100%;height:auto;margin:0!important;padding:8px 10px!important;border:0!important;border-radius:5px!important;background:none!important;box-shadow:none!important;text-decoration:none!important;color:var(--pf-text)!important;-webkit-text-fill-color:var(--pf-text)!important;font-family:inherit;font-size:12px!important;font-weight:400!important;line-height:18px!important;white-space:nowrap;text-align:left;cursor:pointer}
#asProfile .pp-friend-dropdown>:hover{background:color-mix(in srgb,var(--pf-text) 8%,transparent)!important}
#asProfile .pp-friend-notice{margin:10px 0 0;font-size:12px;color:var(--pf-muted)}
#asProfile .pp-friend-notice:empty{display:none}
@media(max-width:575px){#asProfile #pp-panel-friends #friends .pp-friend{padding:8px;column-gap:6px}#asProfile .pp-friend-button{padding:4px 7px!important}}

/* Accepted friends and request lists stay inside the profile shell. */
#asProfile #pp-panel-friends #friends:has(.pp-friends-section){display:block!important}
#asProfile #friends .pp-friend-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}
#asProfile #friends .pp-friend-list[hidden]{display:none!important}
#asProfile .pp-friend-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
#asProfile .pp-friend-tabs>button{display:inline-flex;align-items:center;gap:7px;width:auto;height:auto;margin:0!important;padding:7px 12px!important;border:1px solid var(--pf-border)!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:var(--pf-muted)!important;font-family:inherit;font-size:12px!important;font-weight:600;line-height:18px;cursor:pointer}
#asProfile .pp-friend-tabs>button[aria-selected="true"]{background:color-mix(in srgb,var(--pf-text) 9%,transparent)!important;color:var(--pf-text)!important}
#asProfile .pp-friend-count{font-size:11px;font-weight:400;opacity:.8}
#asProfile .pp-friend-tabs>button:focus-visible{outline:2px solid var(--pf-text);outline-offset:2px}
@media(max-width:1199px){#asProfile #friends .pp-friend-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:991px){#asProfile #friends .pp-friend-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){#asProfile #friends .pp-friend-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){#asProfile #friends .pp-friend-list{grid-template-columns:minmax(0,1fr);gap:10px}#asProfile .pp-friend-tabs>button{padding:6px 8px!important;font-size:11px!important}}

/* The installed service-management UI lives inside the owner's privileges tab. */
#asProfile #ppMyStores{min-width:0;width:100%}
#asProfile #ppMyStores>.my-stores-page{width:100%;max-width:none;flex:none;float:none;margin:0;padding:0}
#asProfile #ppMyStores .myStoresModern{padding:0!important;overflow:visible!important}
#asProfile #ppMyStores .myStoresHeroText h1{font-size:17px!important}
#asProfile #ppMyStores .myStoresTable>tbody>.pp-stores-state{display:block;min-height:70px}
#asProfile #ppMyStores .myStoresTable>tbody>.pp-stores-state>td{display:flex;justify-content:center;gap:12px;border:0!important;padding:16px!important}

/* Own notifications keep the site's existing rows, pagination and actions. */
#asProfile #ppNotifications{min-width:0;width:100%}
html body .wapper #asProfile #ppNotifications .notificationsPageColumn{padding:0!important;margin:0!important;float:none}
html body .wapper #asProfile #ppNotifications #notifications_line.notificationsPagePanel{margin:0!important}
#asProfile #ppNotifications .notificationsPaginationSource{margin:16px 0 0}

/* Own settings retain their forms inside the profile, without the old sidebar. */
#asProfile #ppSettings { min-width: 0; }
#asProfile #ppSettings .settingsModern { width: 100%; max-width: none; flex: 0 0 100%; padding: 0; }
#asProfile #ppSettings .settingsModernHero { padding: 18px 22px !important; margin-bottom: 16px !important; }
#asProfile #ppSettings .settingsModernHero h1 { font-size: 20px !important; margin: 0 0 4px !important; }
#asProfile #ppSettings .settingsModernHero p { font-size: 14px; margin: 0; }
#asProfile #ppSettings .settingsModern > .row { margin: 0 -8px; }
#asProfile #ppSettings .settingsModern > .row > [class*="col-"] { padding-left: 8px; padding-right: 8px; min-width: 0; }
#asProfile #ppSettings .settingsModern .block { margin-bottom: 16px; }
#asProfile #ppSettings [id$="_area"] { scroll-margin-top: 90px; }
@media(max-width: 767px) {
 #asProfile #ppSettings .settingsModernHero { padding: 16px; }
 #asProfile #ppSettings .settingsModernHero__icon { display: none; }
 #asProfile #ppSettings .settingsModern .block { padding: 16px; }
 #asProfile #ppSettings .input-group { min-width: 0; }
}

/* v28: profile figures below the login. */
#asProfile .pp-heading>.pp-hero-summary{justify-content:flex-start;margin-top:20px;flex-wrap:wrap;gap:14px}
#asProfile .pp-heading>.pp-hero-summary .pp-account{flex:0 1 auto;justify-content:flex-start;gap:18px}
#asProfile .pp-hero-overlay .as-profile-avatar[role=button]{cursor:zoom-in}
#asProfile .pp-hero-overlay .as-profile-avatar[role=button]:focus-visible{outline:2px solid var(--pp-hero-text);outline-offset:4px;border-radius:50%}
@media(max-width:575px){#asProfile .pp-heading>.pp-hero-summary{margin-top:12px;gap:10px}#asProfile .pp-heading>.pp-hero-summary .pp-account{gap:12px;flex-wrap:wrap}#asProfile .pp-heading>.pp-hero-summary :is(.pp-metric strong,.as-profile-meta-value){font-size:14px}}
