/* R4 profile: compact cover, overlapping avatar, distinct identity and actions.
   Keep visibility of tabs and dialogs under the existing JavaScript's control. */
body.mcf-azure.azure-public-profile > .page { grid-template-columns:minmax(0,1fr); }
body.mcf-azure.azure-public-profile > .page > .sidebar { display:none; }
body.mcf-azure .profile-template.profile-r4 {
    --green:#0954ff; --green2:#0644d7; --accent:#0954ff;
    --dark2:#f1f6fe; --dark3:#edf4ff; --card:#fff; --card2:#f6f9fe;
    --border:#d5e4f5; --text:#244364; --muted:#6c829e; --gold:#a57515;
}
body.mcf-azure .profile-template.profile-r4 .page { grid-template-columns:minmax(0,1fr) 280px; gap:20px; align-items:start; }
body.mcf-azure .profile-template.profile-r4 .breadcrumb { margin:0; font-size:12px; }
body.mcf-azure .profile-template.profile-r4 .pr4-header {
    display:block!important; position:relative; width:100%; min-width:0; min-height:0;
    padding:124px 0 0!important; margin:0; overflow:hidden; isolation:isolate;
    border:1px solid #d5e4f5; border-radius:15px; box-sizing:border-box;
    box-shadow:0 6px 22px #244b780c!important;
}
body.mcf-azure .profile-template.profile-r4 .pr4-header:not(.has-cover)::before {
    content:''; position:absolute; inset:0 0 auto; height:124px; width:100%;
    background:url('/assets/azure/azure-home-hero.webp') center 43%/cover no-repeat;
    opacity:.88; transform:none; pointer-events:none; z-index:0;
}
body.mcf-azure .profile-template.profile-r4 .pr4-header.has-cover::before,
body.mcf-azure .profile-template.profile-r4 .pr4-header::after { display:none!important; }
body.mcf-azure .profile-template.profile-r4 .pr4-cover-edit {
    position:absolute; top:15px; right:18px; z-index:3; display:inline-flex; align-items:center; gap:7px;
    min-height:35px; padding:8px 11px; border:1px solid #ffffffd9; border-radius:8px;
    color:#153864; background:#ffffffee; box-shadow:0 2px 10px #173d6520;
    font:inherit; font-size:11px; font-weight:800; cursor:pointer;
}
body.mcf-azure .profile-template.profile-r4 :is(.pr4-cover-edit,.pr4-avatar-edit,.pr4-primary) svg {
    width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
}
body.mcf-azure .profile-template.profile-r4 .pr4-header-body {
    display:grid!important; position:relative; z-index:2; grid-template-columns:112px minmax(0,1fr) 240px;
    grid-template-areas:'avatar identity actions' 'stats stats stats';
    width:100%; max-width:100%; min-width:0; padding:0 24px; gap:0 22px; align-items:start;
    box-sizing:border-box; background:#fff;
}
body.mcf-azure .profile-template.profile-r4 .pr4-avatar { grid-area:avatar; position:relative; width:112px; margin:-39px 0 0; }
body.mcf-azure .profile-template.profile-r4 .pr4-avatar .avatar {
    width:112px; height:112px; border:5px solid #fff; border-radius:21px; box-sizing:border-box;
    background:#e9f2ff; box-shadow:0 4px 15px #1d46791c; font-size:45px;
}
body.mcf-azure .profile-template.profile-r4 .pr4-avatar .profile-avatar-img { width:100%; height:100%; object-fit:cover; }
body.mcf-azure .profile-template.profile-r4 .pr4-avatar-edit {
    display:flex; align-items:center; justify-content:center; position:absolute; right:-3px; bottom:0; z-index:3;
    width:32px; height:32px; border:3px solid #fff; border-radius:10px; padding:0; background:#0954ff; color:#fff; cursor:pointer;
}
body.mcf-azure .profile-template.profile-r4 .pr4-avatar .avatar-online { left:4px; right:auto; bottom:4px; width:13px; height:13px; border:3px solid #fff; background:#34b77b; box-shadow:none; }
body.mcf-azure .profile-template.profile-r4 .pr4-identity { grid-area:identity; min-width:0; padding:17px 0 17px; }
body.mcf-azure .profile-template.profile-r4 .pr4-identity .pb-name {
    margin:0 0 6px; font-size:clamp(25px,2.3vw,32px); font-weight:400; line-height:1.18;
    letter-spacing:-.02em; overflow-wrap:anywhere; text-shadow:none;
}
body.mcf-azure .profile-template.profile-r4 .pr4-identity .pb-joined {
    display:flex; flex-wrap:wrap; gap:2px 13px; margin:0; color:#7286a1; font-size:11px; line-height:1.6;
}
body.mcf-azure .profile-template.profile-r4 .pr4-identity .pb-handle { color:#476b96; font-size:12px; font-weight:700; overflow-wrap:anywhere; }
body.mcf-azure .profile-template.profile-r4 .pr4-badges { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:10px; }
body.mcf-azure .profile-template.profile-r4 .pr4-badges :is(.pb-role,.pr4-level,.pr4-premium-badge) {
    display:inline-flex; align-items:center; gap:5px; min-height:25px; margin:0; padding:4px 8px;
    border:1px solid #dce7f6; border-radius:6px; background:#f2f6fd; color:#56759b;
    font:inherit; font-size:10px; font-weight:750; line-height:1.2; text-shadow:none;
}
body.mcf-azure .profile-template.profile-r4 .pr4-badges .pr4-level { color:#0954ff; background:#edf3ff; border-color:#d6e3ff; }
body.mcf-azure .profile-template.profile-r4 .pr4-badges button.pr4-level { cursor:pointer; }
body.mcf-azure .profile-template.profile-r4 .pr4-badges .pr4-premium-badge { background:#fff7dc; border-color:#f1e1a6; color:#916809; }
body.mcf-azure .profile-template.profile-r4 .pr4-actions {
    grid-area:actions; display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr));
    align-self:start; gap:7px; width:100%; min-width:0; margin:0; padding:19px 0 16px;
}
body.mcf-azure .profile-template.profile-r4 .pr4-actions :is(.pr4-primary,.btn-outline-sm) {
    display:inline-flex; align-items:center; justify-content:center; gap:7px; width:100%; min-width:0;
    min-height:38px; padding:9px 8px!important; border-radius:8px; box-sizing:border-box;
    font:inherit; font-size:11px!important; font-weight:800; line-height:1.3; text-align:center; text-decoration:none;
    cursor:pointer; white-space:normal; box-shadow:none!important;
}
body.mcf-azure .profile-template.profile-r4 .pr4-actions .pr4-primary {
    grid-column:1/-1; color:#fff!important; background:#0954ff!important; border:1px solid #0954ff!important;
}
body.mcf-azure .profile-template.profile-r4 .pr4-actions .pr4-primary:hover { background:#0648df!important; }
body.mcf-azure .profile-template.profile-r4 .pr4-actions .pr4-primary.is-following { color:#0954ff!important; background:#edf3ff!important; border-color:#c5d8fc!important; }
body.mcf-azure .profile-template.profile-r4 .pr4-actions .btn-outline-sm { color:#47668f!important; background:#fff!important; border:1px solid #cdddf1!important; }
body.mcf-azure .profile-template.profile-r4 .pr4-actions .btn-outline-sm:hover { background:#f0f6ff!important; border-color:#a7c4ee!important; }
body.mcf-azure .profile-template.profile-r4 .pb-public-actions .btn-outline-sm:last-child:nth-child(2) { grid-column:1/-1; }
body.mcf-azure .profile-template.profile-r4 .pr4-admin-link { grid-column:1/-1; padding:2px 0 0; color:#7086a3; font-size:10px; text-decoration:none; text-align:center; }
body.mcf-azure .profile-template.profile-r4 .pr4-admin-link:hover { color:#0954ff; }
body.mcf-azure .profile-template.profile-r4 .pr4-stats {
    grid-area:stats; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-self:auto;
    gap:0; width:100%; margin:0; padding:13px 0 15px; border:0; border-top:1px solid #e2eaf6;
    border-radius:0; background:#fff; box-shadow:none; backdrop-filter:none;
}
body.mcf-azure .profile-template.profile-r4 .pr4-stats .ps { display:block; min-width:0; padding:0 7px; border-right:1px solid #e3ebf6; color:inherit; text-align:center; text-decoration:none; }
body.mcf-azure .profile-template.profile-r4 .pr4-stats .ps:last-child { border-right:0; }
body.mcf-azure .profile-template.profile-r4 .pr4-stats .ps-val { display:block; margin:0 0 3px; color:#1c426f; font-family:var(--azure-heading-font,'Roboto Condensed'),Arial,sans-serif; font-size:24px; font-weight:800; line-height:1.05; }
body.mcf-azure .profile-template.profile-r4 .pr4-stats .ps-lbl { display:block; color:#768aa4; font-size:10.5px; font-weight:550; line-height:1.3; }
body.mcf-azure .profile-template.profile-r4 .pr4-stats a.ps:hover .ps-val { color:#0954ff; }

/* One horizontal navigation and a consistent white content surface. */
body.mcf-azure .profile-template.profile-r4 .pr4-main { min-width:0; overflow:visible; }
body.mcf-azure .profile-template.profile-r4 .profile-tabs {
    display:flex; flex-wrap:nowrap!important; overflow-x:auto; gap:2px!important; margin:0 0 14px; padding:5px;
    background:#fff; border:1px solid #d5e4f5; border-radius:10px; box-shadow:0 3px 12px #294e7c04;
    scrollbar-width:thin; scrollbar-color:#cadcf4 transparent;
}
body.mcf-azure .profile-template.profile-r4 .ptab {
    flex:none; min-height:39px; margin:0; padding:10px 11px!important; gap:5px!important;
    font-size:12px!important; font-weight:750!important; border:0!important; border-radius:6px;
    background:transparent!important; color:#607a99!important; box-shadow:none!important;
}
body.mcf-azure .profile-template.profile-r4 .ptab.active { background:#edf4ff!important; color:#0954ff!important; box-shadow:inset 0 -2px #0954ff!important; }
body.mcf-azure .profile-template.profile-r4 .ptab:not(.active):hover { background:#f4f8fe!important; color:#245fbb!important; }
body.mcf-azure .profile-template.profile-r4 .ptab .n-badge { font-size:9px!important; font-family:inherit; background:#e8eef7; color:#7285a1; }
body.mcf-azure .profile-template.profile-r4 .ptab.active .n-badge { background:#dce8ff; color:#0954ff; }
body.mcf-azure .profile-template.profile-r4 .pr4-main :is(.tab-panel,.pr4-content-panel) {
    padding:20px; background:#fff; border:1px solid #d5e4f5; border-radius:12px; box-shadow:0 5px 18px #244a7606;
}
body.mcf-azure .profile-template.profile-r4 .sec-h { gap:12px; min-height:32px; margin:0 0 16px; }
body.mcf-azure .profile-template.profile-r4 .sec-t { font-family:var(--azure-heading-font,'Roboto Condensed'),Arial,sans-serif!important; color:#18365e; font-size:24px; font-weight:800; line-height:1.2; }
body.mcf-azure .profile-template.profile-r4 .sec-t::before { display:none; }
body.mcf-azure .profile-template.profile-r4 a.sec-muted { min-height:33px; padding:7px 11px!important; border-radius:7px; font-size:11px!important; white-space:nowrap; }
body.mcf-azure .profile-template.profile-r4 .profile-post-card { padding:12px!important; gap:14px!important; border:1px solid #dce7f5!important; border-radius:10px!important; box-shadow:none; }
body.mcf-azure .profile-template.profile-r4 .profile-post-thumb { width:112px!important; height:86px!important; border-radius:7px!important; object-fit:cover; }
body.mcf-azure .profile-template.profile-r4 .profile-post-title { font-size:21px!important; }
body.mcf-azure .profile-template.profile-r4 .pr4-channel-panel { padding:17px!important; border:1px solid #d5e4f5!important; background:#fff!important; box-shadow:0 5px 18px #244a7606; }
body.mcf-azure .profile-template.profile-r4 :is(.empty-panel,.dl-item,.cmt,.task,.upd-card,.ach,.ai-inline-box) { box-shadow:none; }
body.mcf-azure .profile-template.profile-r4 .empty-panel { background:#f8fbff; border-style:dashed; padding:25px 20px; font-size:13px; }
body.mcf-azure .profile-template.profile-r4 .ach-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
body.mcf-azure .profile-template.profile-r4 .ach { padding:16px 11px; border-radius:9px; }
body.mcf-azure .profile-template.profile-r4 .ach-name { color:#21476f; font-family:var(--azure-heading-font,'Roboto Condensed'),Arial,sans-serif; font-size:18px; }
body.mcf-azure .profile-template.profile-r4 .ach-xp { font-family:inherit; font-size:11px; font-weight:800; color:#0954ff; }
body.mcf-azure .profile-template.profile-r4 .ach.epic :is(.ach-name,.ach-xp) { color:#9d721d; }
body.mcf-azure .profile-template.profile-r4 .ach.locked { opacity:.7; background:#f5f8fd; }
body.mcf-azure .profile-template.profile-r4 .profile-premium-card { padding:20px!important; border-radius:11px!important; background:#f7faff!important; box-shadow:none; }
body.mcf-azure .profile-template.profile-r4 .sb-sticky { gap:16px; position:static; }
body.mcf-azure .profile-template.profile-r4 .sb-block { border:1px solid #d5e4f5; border-radius:12px; box-shadow:0 5px 18px #244a7606; }
body.mcf-azure .profile-template.profile-r4 :is(.sb-title,.lb-head) { padding:15px 17px!important; font-family:var(--azure-heading-font,'Roboto Condensed'),Arial,sans-serif!important; font-size:21px!important; font-weight:800; text-transform:none; letter-spacing:0; background:#fff!important; color:#23436b!important; }
body.mcf-azure .profile-template.profile-r4 :is(.nl-body,.about-body) { padding:16px 17px; }
body.mcf-azure .profile-template.profile-r4 .nl-lvl { color:#0954ff; font-family:var(--azure-heading-font,'Roboto Condensed'),Arial,sans-serif; font-size:22px; font-weight:800; }
body.mcf-azure .profile-template.profile-r4 .nl-bar { height:6px; background:#e8eff9; }
body.mcf-azure .profile-template.profile-r4 .nl-fill { background:linear-gradient(90deg,#0954ff,#67a9ff); }
body.mcf-azure .profile-template.profile-r4 .about-row { padding:8px 0; }
body.mcf-azure .profile-template.profile-r4 :is(.about-text,.xp-desc) { color:#5b7392; font-size:12px; line-height:1.6; }
body.mcf-azure .profile-template.profile-r4 .xp-val { font-family:inherit; font-size:11px; font-weight:800; color:#0954ff; }

/* Dialog dimensions, form controls and level cards share the profile palette. */
body.mcf-azure .profile-template.profile-r4 :is(.pov,.lm-overlay) { background:#0a244964; backdrop-filter:blur(5px); }
body.mcf-azure .profile-template.profile-r4 :is(.pov-box,.lm-box) { max-width:860px; max-height:calc(100dvh - 40px); background:#fff; border:1px solid #d0dff3; border-radius:15px; box-shadow:0 24px 80px #0929533b; }
body.mcf-azure .profile-template.profile-r4 :is(.pov-head,.lm-head) { padding:18px 22px; background:#fff; border-bottom:1px solid #e1eaf6; }
body.mcf-azure .profile-template.profile-r4 :is(.pov-title,.lm-title) { color:#17355e; font-family:var(--azure-heading-font,'Roboto Condensed'),Arial,sans-serif!important; font-size:25px; font-weight:800; line-height:1.2; }
body.mcf-azure .profile-template.profile-r4 .pov-close { width:36px; height:36px; flex:none; color:#6783a4; background:#f4f8fe; border:1px solid #d4e2f4; border-radius:9px; }
body.mcf-azure .profile-template.profile-r4 .pov-tabs { gap:3px; padding:0 14px; background:#fff; border-color:#e0e9f6; }
body.mcf-azure .profile-template.profile-r4 .pov-tab { flex:none; min-height:44px; padding:11px 13px; font-size:12px; font-weight:800; color:#66809f; }
body.mcf-azure .profile-template.profile-r4 .pov-tab.active { color:#0954ff!important; background:#f1f6ff; border-bottom-color:#0954ff!important; }
body.mcf-azure .profile-template.profile-r4 .pov-body { padding:22px; background:#fff; }
body.mcf-azure .profile-template.profile-r4 :is(.pf-grid-main,.pf-grid-social,.pf-grid-gaming,.gaming-nicks) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
body.mcf-azure .profile-template.profile-r4 :is(.pf-span-2,.pf-span-full) { grid-column:1/-1; }
body.mcf-azure .profile-template.profile-r4 .pf-label { margin-bottom:7px; color:#47688d; font-size:12px; font-weight:800; letter-spacing:0; text-transform:none; }
body.mcf-azure .profile-template.profile-r4 :is(.pf-input,.pf-select,.pf-textarea) { min-height:44px; padding:11px 12px; border:1px solid #ccddf2; border-radius:8px; color:#24486d; background:#f8fbff; font-size:14px; box-shadow:none; }
body.mcf-azure .profile-template.profile-r4 :is(.pf-input,.pf-select,.pf-textarea):focus { border-color:#8bb3f5; box-shadow:0 0 0 3px #0954ff0d; }
body.mcf-azure .profile-template.profile-r4 .pf-input[readonly] { opacity:1!important; color:#7187a2; background:#f1f5fb; }
body.mcf-azure .profile-template.profile-r4 .media-layout { grid-template-columns:230px minmax(0,1fr); gap:24px; }
body.mcf-azure .profile-template.profile-r4 .pov-footer { display:flex; flex-direction:row; justify-content:flex-end; padding:15px 22px; gap:10px; border-color:#dce7f5; background:#f6f9fe; }
body.mcf-azure .profile-template.profile-r4 :is(.pov-save,.pov-cancel) { width:auto; min-height:43px; padding:11px 18px; border-radius:8px; font-size:13px; }
body.mcf-azure .profile-template.profile-r4 .pov-save { background:#0954ff; color:#fff; }
body.mcf-azure .profile-template.profile-r4 .pov-save:hover { background:#0648df; }
body.mcf-azure .profile-template.profile-r4 .pov-cancel { background:#fff; color:#587395; border:1px solid #cbdcf3; }
body.mcf-azure .profile-template.profile-r4 .lm-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:20px 22px; }
body.mcf-azure .profile-template.profile-r4 .lm-card { background:#f7faff; border:1px solid #dbe6f5; border-radius:10px; padding:14px; }
body.mcf-azure .profile-template.profile-r4 .lm-card--cur { background:#ecf3ff; border-color:#91b6f3; box-shadow:0 0 0 1px #bdd3fa; }
body.mcf-azure .profile-template.profile-r4 .lm-card--done { background:#f1f7ff; border-color:#cbdef8; }
body.mcf-azure .profile-template.profile-r4 .lm-card--locked { opacity:.7; }
body.mcf-azure .profile-template.profile-r4 .lm-card-lvl { color:#58779c; font-family:inherit; font-size:10px; }
body.mcf-azure .profile-template.profile-r4 .lm-card-name { color:#244b76; font-size:12px; }
body.mcf-azure .profile-template.profile-r4 .lm-card-badge { color:#fff; background:#0954ff; }
body.mcf-azure .profile-template.profile-r4 .lm-card .lm-card-perks li { color:#67829f; font-size:11px; line-height:1.45; }
body.mcf-azure .profile-template.profile-r4 :is(button,a,input,textarea,select):focus-visible { outline:3px solid #8fb8ff; outline-offset:3px; }

@media(max-width:1100px) {
    body.mcf-azure .profile-template.profile-r4 .page { grid-template-columns:minmax(0,1fr); }
    body.mcf-azure .profile-template.profile-r4 .sb-sticky { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
}
@media(max-width:800px) {
    body.mcf-azure .profile-template.profile-r4 .pr4-header-body { grid-template-columns:96px minmax(0,1fr) 210px; gap:0 16px; padding:0 19px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-avatar { width:96px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-avatar .avatar { width:96px; height:96px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-identity .pb-name { font-size:25px; }
}
@media(max-width:640px) {
    body.mcf-azure .profile-template.profile-r4 .page { gap:16px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-header { padding-top:104px!important; border-radius:12px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-header:not(.has-cover)::before { height:104px; background-position:60% 43%; }
    body.mcf-azure .profile-template.profile-r4 .pr4-cover-edit { top:12px; right:12px; min-height:32px; padding:7px 9px; gap:5px; font-size:10px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-cover-edit svg { width:14px; height:14px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-header-body { grid-template-columns:76px minmax(0,1fr); grid-template-areas:'avatar identity' 'actions actions' 'stats stats'; gap:0 12px; padding:0 15px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-avatar { width:76px; margin-top:-29px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-avatar .avatar { width:76px; height:76px; border-width:4px; border-radius:16px; font-size:31px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-avatar-edit { right:-3px; bottom:-2px; width:29px; height:29px; border-radius:9px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-avatar-edit svg { width:13px; height:13px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-identity { padding:13px 0 12px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-identity .pb-name { margin-bottom:5px; font-size:23px; line-height:1.2; }
    body.mcf-azure .profile-template.profile-r4 .pr4-identity .pb-joined { gap:1px 8px; font-size:10px; line-height:1.45; }
    body.mcf-azure .profile-template.profile-r4 .pr4-identity .pb-handle { width:100%; font-size:11px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-badges { gap:5px; margin-top:8px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-badges :is(.pb-role,.pr4-level,.pr4-premium-badge) { min-height:22px; padding:4px 6px; font-size:9px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-actions { grid-template-columns:repeat(2,minmax(0,1fr)); padding:0 0 13px; gap:7px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-actions :is(.pr4-primary,.btn-outline-sm) { min-height:38px; padding:9px 10px!important; font-size:11px!important; }
    body.mcf-azure .profile-template.profile-r4 .pr4-admin-link { padding-top:3px; font-size:10px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-stats { grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; padding:13px 0 14px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-stats .ps { padding:0 3px; border-right:1px solid #e3ebf6; }
    body.mcf-azure .profile-template.profile-r4 .pr4-stats .ps:last-child { border-right:0; }
    body.mcf-azure .profile-template.profile-r4 .pr4-stats .ps-val { font-size:22px; }
    body.mcf-azure .profile-template.profile-r4 .pr4-stats .ps-lbl { font-size:9px; line-height:1.4; }
    body.mcf-azure .profile-template.profile-r4 .profile-tabs { padding:5px; margin-bottom:12px; }
    body.mcf-azure .profile-template.profile-r4 .ptab { min-height:38px; padding:9px 11px!important; font-size:11px!important; }
    body.mcf-azure .profile-template.profile-r4 .pr4-main :is(.tab-panel,.pr4-content-panel) { padding:16px 13px; border-radius:10px; }
    body.mcf-azure .profile-template.profile-r4 .sec-h { margin-bottom:13px; align-items:center; flex-wrap:wrap; gap:10px; }
    body.mcf-azure .profile-template.profile-r4 .sec-t { font-size:23px; }
    body.mcf-azure .profile-template.profile-r4 .profile-post-card { padding:10px!important; gap:10px!important; }
    body.mcf-azure .profile-template.profile-r4 .profile-post-thumb { width:78px!important; height:82px!important; }
    body.mcf-azure .profile-template.profile-r4 .profile-post-title { font-size:18px!important; }
    body.mcf-azure .profile-template.profile-r4 .ach-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    body.mcf-azure .profile-template.profile-r4 .sb-sticky { grid-template-columns:minmax(0,1fr); }
    body.mcf-azure .profile-template.profile-r4 .profile-premium-card { padding:16px!important; }
    body.mcf-azure .profile-template.profile-r4 :is(.pov,.lm-overlay) { padding:10px; }
    body.mcf-azure .profile-template.profile-r4 :is(.pov-box,.lm-box) { max-height:calc(100dvh - 20px); border-radius:12px; }
    body.mcf-azure .profile-template.profile-r4 :is(.pov-head,.lm-head) { padding:15px 16px; gap:10px; }
    body.mcf-azure .profile-template.profile-r4 :is(.pov-title,.lm-title) { font-size:22px; }
    body.mcf-azure .profile-template.profile-r4 .pov-tabs { padding:0 6px; }
    body.mcf-azure .profile-template.profile-r4 .pov-tab { min-height:42px; padding:11px 12px; font-size:11px; }
    body.mcf-azure .profile-template.profile-r4 .pov-body { padding:18px 16px; }
    body.mcf-azure .profile-template.profile-r4 :is(.pf-grid-main,.pf-grid-social,.pf-grid-gaming,.gaming-nicks,.media-layout) { grid-template-columns:minmax(0,1fr); gap:17px; }
    body.mcf-azure .profile-template.profile-r4 .pov-footer { display:grid; grid-template-columns:auto minmax(0,1fr); gap:9px; padding:13px 16px; }
    body.mcf-azure .profile-template.profile-r4 :is(.pov-save,.pov-cancel) { width:100%; min-height:44px; padding:10px 12px; font-size:12px; }
    body.mcf-azure .profile-template.profile-r4 .lm-head { flex-wrap:wrap; }
    body.mcf-azure .profile-template.profile-r4 .lm-head .pov-close { margin-left:auto!important; }
    body.mcf-azure .profile-template.profile-r4 .lm-xp-bar-outer { display:none; }
    body.mcf-azure .profile-template.profile-r4 .lm-xp-text { order:3; width:100%; font-size:11px; }
    body.mcf-azure .profile-template.profile-r4 .lm-grid { grid-template-columns:repeat(2,minmax(0,1fr)); padding:16px; gap:9px; }
    body.mcf-azure .profile-template.profile-r4 .lm-card { padding:11px; }
}
