main.account.pm-community:has(.pm-profile20){width:calc(100% - 24px);max-width:1080px;margin:12px auto 40px;position:relative;isolation:isolate}main.account.pm-community:has(.pm-profile20):before{content:'';position:absolute;z-index:-1;top:-12px;left:calc((100% - 100vw)/2);width:100vw;height:245px;background:linear-gradient(160deg,#09275a,#385b87 60%,#f4f6fa)}.pm-community:has(.pm-profile20) h1{color:white;margin:0 0 10px;font-size:clamp(23px,5vw,32px)}.pm-community .pm-profile20{padding:0;border:0;overflow:visible;border-radius:16px;background:white;box-shadow:0 5px 18px #102f4714;margin:0 0 12px}.pm-profile20 .pm-cover{height:clamp(120px,24vw,240px);background:#102f47 url('assets/profile-cover-v21.webp') center/cover no-repeat;border-radius:16px 16px 8px 8px;clip-path:polygon(0 22%,100% 0,100% 100%,0 100%);overflow:hidden}.pm-cover img{width:100%;height:100%;object-fit:cover;display:block}.pm-profile20 .pm-profile-content{padding:0 12px 12px}.pm-profile20 .community-person{position:relative;margin:-42px 0 10px;align-items:flex-end;gap:12px}.pm-profile20 .community-avatar{width:112px!important;height:112px!important;flex:0 0 112px!important;border-radius:50%!important;border:4px solid white;outline:2px solid #ed7100;background:white;box-shadow:0 3px 12px #102f4730;padding:5px}.pm-profile20 .pm-profile-identity{padding-top:46px;padding-bottom:5px}.pm-profile20 .pm-profile-type{display:inline-flex;background:#e6efff;border-radius:20px;padding:4px 8px;color:#143d70;font-size:11px}.pm-profile20 .pm-profile-meta{border:0;padding:6px 0;gap:5px 12px;color:#173b55;font-size:11px}.pm-profile-meta span:before{display:inline-block;margin-right:5px;color:#e76a00}.pm-location:before{content:'⌖'}.pm-date:before{content:'▦'}.pm-email:before{content:'✓'}.pm-activity:before{content:'●';color:#15952e!important}.pm-profile20 .pm-profile-stats{grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4ebf0;border-radius:12px;background:white;margin:6px 0 12px;padding:9px 0}.pm-stat-icon{display:block;width:24px;height:24px;margin:0 auto 3px;background:center/contain no-repeat}.pm-profile-stats>div:nth-child(1) .pm-stat-icon{background-image:url('assets/pm21-megaphone.svg')}.pm-profile-stats>div:nth-child(2) .pm-stat-icon{background-image:url('assets/pm21-star.svg')}.pm-profile-stats>div:nth-child(3) .pm-stat-icon{background-image:url('assets/pm21-bag.svg')}.pm-profile-stats>div:nth-child(4) .pm-stat-icon{background-image:url('assets/pm21-users.svg')}.pm-actions{display:flex;gap:7px;flex-wrap:wrap}.pm-actions>*{flex:1 1 0;min-width:0}.pm-actions a,.pm-actions button{display:flex;align-items:center;justify-content:center;text-align:center;padding:8px 4px;border:1px solid #10354b;border-radius:9px;text-decoration:none;font-weight:700;font-size:12px;min-height:38px;box-sizing:border-box;line-height:1.2}.pm-profile20 .pm-actions form button,.pm-actions .pm-primary{background:#e76a00!important;color:white!important;border-color:#e76a00}.pm-profile20 #pm-share{background:white!important;color:#10354b!important}.pm-about{margin-top:10px;background:#f3f6f9;padding:10px;border-radius:12px;color:#10354b;font-size:13px}.pm-about strong:before{content:'ⓘ ';color:#23496a}.pm-about p{margin:4px 0 0;overflow-wrap:anywhere;line-height:1.4}.pm-profile-tabs{gap:4px;margin:8px 0}.pm-profile-tabs a{font-size:12px;padding:10px 2px}.pm-profile-tabs a:nth-child(1):before{content:'☷ '}.pm-profile-tabs a:nth-child(2):before{content:'☆ '}.pm-profile-tabs a:nth-child(3):before{content:'ⓘ '}.pm-profile-tabs a.selected{color:#d85b00}.pm-community:has(.pm-profile20) .community-empty>span{font-size:0;background:#e8eff6 url('assets/pm21-box.svg') center/26px no-repeat}.pm-community:has(.pm-profile20) .community-empty{padding:18px 10px}@media(max-width:600px){.pm-profile20 .community-avatar{width:94px!important;height:94px!important;flex-basis:94px!important}.pm-profile20 .community-person{margin-top:-38px}.pm-profile20 .pm-profile-identity{padding-top:40px}.pm-profile20 .pm-profile-stats small{font-size:10px}.pm-profile20 .pm-profile-stats strong{font-size:19px}}
/* V22: compact seller profile, scoped to this view */
main.account.pm-community:has(.pm-profile20){width:calc(100% - 20px)!important;padding:12px 0!important;margin:0 auto 30px!important;max-width:1080px;}
main.account.pm-community:has(.pm-profile20):before{top:0;height:340px;background:linear-gradient(180deg,#102d58 0%,#385b87 38%,#dce5ef 78%,#f4f6fa00 100%);}
.pm-community:has(.pm-profile20) .community-back{margin-bottom:10px;padding:7px 12px}.pm-community .pm-profile20{background:transparent;box-shadow:none;margin-top:0!important;}
.pm-profile20 .pm-cover{height:clamp(112px,29vw,245px);clip-path:polygon(0 13%,100% 0,100% 100%,0 100%);background-size:100% 100%;border-radius:16px 16px 8px 8px;position:relative;}
.pm-profile20 .pm-profile-content{background:#fff;border-radius:0 0 16px 16px;box-shadow:0 5px 18px #102f4714;padding:0 10px 10px;display:flow-root;}
.pm-profile20 .community-person{gap:10px;margin:-38px 0 6px;align-items:flex-end;}.pm-avatar-wrap{position:relative;flex:none;line-height:0;}.pm-avatar-wrap>span[title]{position:absolute;bottom:2px;right:0;background:#0876e8;border:3px solid white;border-radius:50%;width:29px;height:29px;align-items:center;justify-content:center;box-sizing:border-box;color:white!important;}.pm-avatar-wrap>span[title] svg{width:20px;height:20px;}
.pm-profile20 .pm-profile-identity{min-width:0;padding:40px 0 3px;}.pm-profile20 .community-person h2{font-size:clamp(17px,4.6vw,27px);line-height:1.15;overflow-wrap:anywhere;}.pm-profile20 .pm-profile-type{font-size:10px;padding:3px 6px;margin-top:4px;align-items:center;gap:3px;}.pm-profile-type svg{width:15px;height:15px;}
.pm-profile20 .pm-profile-meta{padding:5px 0;gap:4px 10px;font-size:11px;}.pm-profile-meta span:before,.pm-actions a:before,.pm-actions button:before,.pm-profile-tabs a:before,.pm-about strong:before{content:'';display:inline-block;width:15px;height:15px;flex:0 0 15px;vertical-align:-3px;background:currentColor;mask:var(--pm-icon) center/contain no-repeat;-webkit-mask:var(--pm-icon) center/contain no-repeat;}.pm-location{--pm-icon:url('assets/pm22-pin.svg')}.pm-date{--pm-icon:url('assets/pm22-calendar.svg')}.pm-email{--pm-icon:url('assets/pm22-check.svg')}.pm-profile-meta .pm-activity:before{mask:none;-webkit-mask:none;width:7px;height:7px;border-radius:50%;background:#15952e;vertical-align:1px;}
.pm-profile20 .pm-profile-stats{padding:7px 0;margin:5px 0 8px;}.pm-profile20 .pm-profile-stats>div{padding:0 2px;}.pm-stat-icon{width:21px;height:21px;margin-bottom:2px;}.pm-profile20 .pm-profile-stats small{line-height:1.15;}.pm-profile20 .pm-actions form{margin:0!important;}.pm-actions a,.pm-actions button{gap:5px;font-size:11px;min-height:36px;padding:6px 3px;}.pm-actions form button{--pm-icon:url('assets/pm22-follow.svg')}.pm-actions #pm-share{--pm-icon:url('assets/pm22-share.svg')}.pm-actions .pm-message{--pm-icon:url('assets/pm22-message.svg')}.pm-actions .pm-edit{--pm-icon:url('assets/pm22-edit.svg')}.pm-about{padding:8px;margin-top:8px;font-size:12px;}.pm-about strong{--pm-icon:url('assets/pm22-info.svg')}.pm-about strong:before{margin-right:4px;}.pm-profile-tabs a{display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;}.pm-profile-tabs a:nth-child(1){--pm-icon:url('assets/pm22-list.svg')}.pm-profile-tabs a:nth-child(2){--pm-icon:url('assets/pm21-star.svg')}.pm-profile-tabs a:nth-child(3){--pm-icon:url('assets/pm22-info.svg')}.pm-community:has(.pm-profile20) .community-empty{border-style:solid;padding:15px 8px;}
@media(max-width:600px){.pm-profile20 .community-avatar{width:100px!important;height:100px!important;flex-basis:100px!important;}.pm-profile20 .pm-profile-stats strong{font-size:18px;}.pm-profile20 .pm-profile-stats small{font-size:10px;}}
/* V23: responsive profile, description only in its dedicated tab */
.pm-community .pm-profile20 .pm-profile-content{padding:0 24px 24px;}
.pm-profile20 .pm-cover{height:clamp(180px,23vw,300px);clip-path:none;border-radius:16px 16px 0 0;background-size:cover;}
.pm-profile20 .pm-cover img{object-fit:contain;background:#0a1c30;}
.pm-profile20 .community-person{margin:-55px 0 16px;gap:20px;}
.pm-profile20 .community-avatar{width:136px!important;height:136px!important;flex-basis:136px!important;}
.pm-profile20 .pm-profile-identity{padding:60px 0 5px;}
.pm-profile20 .community-person h2{font-size:30px;}
.pm-profile20 .pm-profile-type{font-size:14px;padding:5px 10px;}
.pm-profile20 .pm-profile-meta{font-size:14px;gap:10px 20px;padding:10px 0 14px;}
.pm-profile20 .pm-profile-stats{padding:16px 0;margin:0 0 18px;}
.pm-profile20 .pm-profile-stats strong{font-size:28px;}
.pm-profile20 .pm-profile-stats small{font-size:13px;line-height:1.35;}
.pm-profile20 .pm-stat-icon{width:27px;height:27px;margin-bottom:5px;}
.pm-profile20 .pm-actions{gap:12px;}
.pm-profile20 .pm-actions a,.pm-profile20 .pm-actions button{font-size:15px;min-height:48px;padding:10px 8px;gap:8px;}
.pm-profile20 .pm-actions a:before,.pm-profile20 .pm-actions button:before{width:19px;height:19px;flex-basis:19px;}
.pm-community:has(.pm-profile20) .pm-profile-tabs{margin:18px 0 14px;gap:8px;}
.pm-community:has(.pm-profile20) .pm-profile-tabs a{font-size:15px;padding:14px 5px;}
.pm-community:has(.pm-profile20) .community-back{font-size:14px;margin-bottom:18px;}
.pm-community:has(.pm-profile20) .community-empty{padding:28px 14px;font-size:16px;}
@media(max-width:600px){
.pm-community .pm-profile20 .pm-profile-content{padding:0 12px 14px;}
.pm-profile20 .pm-cover{height:clamp(115px,36vw,210px);}
.pm-profile20 .community-person{margin:-32px 0 10px;gap:10px;}
.pm-profile20 .community-avatar{width:94px!important;height:94px!important;flex-basis:94px!important;}
.pm-profile20 .pm-profile-identity{padding:36px 0 2px;}
.pm-profile20 .community-person h2{font-size:clamp(17px,4.6vw,23px);}
.pm-profile20 .pm-profile-type{font-size:11px;padding:4px 6px;}
.pm-profile20 .pm-profile-meta{font-size:12px;gap:5px 10px;padding:6px 0 12px;}
.pm-profile20 .pm-profile-stats{padding:10px 0;margin-bottom:12px;}
.pm-profile20 .pm-profile-stats strong{font-size:21px;}
.pm-profile20 .pm-profile-stats small{font-size:10px;}
.pm-profile20 .pm-stat-icon{width:22px;height:22px;}
.pm-profile20 .pm-actions{gap:8px;}
.pm-profile20 .pm-actions>*{flex:1 1 125px;}
.pm-profile20 .pm-actions a,.pm-profile20 .pm-actions button{font-size:12px;min-height:44px;padding:7px 4px;gap:5px;}
.pm-community:has(.pm-profile20) .pm-profile-tabs a{font-size:12px;padding:12px 2px;gap:3px;}
.pm-community:has(.pm-profile20) .pm-profile-tabs{gap:2px;margin:12px 0;}
.pm-community:has(.pm-profile20) .community-back{font-size:12px;margin-bottom:12px;}
}
/* V24 – clean marketplace layout */
main.account.pm-community:has(.pm-profile20){max-width:1320px!important;width:calc(100% - 48px)!important;isolation:auto;}
main.account.pm-community:has(.pm-profile20):before{display:none!important;content:none!important;}
.pm-community:has(.pm-profile20) h1{color:#102b48!important;font-size:clamp(24px,3vw,36px);border-left:6px solid #ed7100;padding-left:14px;line-height:1.2;}
.pm-community .pm-profile20{background:#fff!important;border:1px solid #dfe6ee!important;border-radius:20px;box-shadow:0 4px 16px #102f470b;}
.pm-profile20 .pm-cover{height:clamp(170px,18vw,260px);background-size:cover;background-position:center;clip-path:none;border-radius:19px 19px 0 0;}
.pm-profile20 .pm-cover img{object-fit:cover!important;object-position:center;background:none;}
.pm-community .pm-profile20 .pm-profile-content{padding:0 24px 24px;box-shadow:none;border-radius:0 0 20px 20px;}
.pm-profile20 .community-person{margin:-65px 0 12px;gap:24px;align-items:flex-end;}
.pm-profile20 .community-avatar{width:156px!important;height:156px!important;flex-basis:156px!important;outline:3px solid #ed7100;}
.pm-avatar-wrap>span[title]{display:none!important;}
.pm-profile20 .pm-profile-identity{padding:72px 0 10px;}
.pm-profile20 .community-person h2{font-size:clamp(24px,2.7vw,36px);font-weight:800;color:#102b48;}
.pm-profile20 .pm-profile-type{font-size:14px;padding:6px 12px;}
.pm-profile20 .pm-profile-meta{font-size:15px;gap:10px 24px;padding:8px 0 18px;}
.pm-profile20 .pm-profile-stats{background:#fff;border:1px solid #dbe4ed;border-radius:16px;padding:16px 0;}
.pm-profile20 .pm-stat-icon{width:34px;height:34px;margin-bottom:6px;}
.pm-profile20 .pm-profile-stats strong{font-size:30px;color:#102b48;}
.pm-profile20 .pm-profile-stats small{font-size:14px;color:#344b62;}
.pm-profile20 .pm-actions a,.pm-profile20 .pm-actions button{min-height:52px;font-size:16px;border-radius:12px;gap:10px;}
.pm-profile20 .pm-actions a:before,.pm-profile20 .pm-actions button:before,.pm-community:has(.pm-profile20) .pm-profile-tabs a:before{width:24px;height:24px;flex-basis:24px;}
.pm-community:has(.pm-profile20) .pm-profile-tabs a{font-size:16px;padding:16px 6px;gap:9px;}
.pm-community:has(.pm-profile20) .community-card:not(.pm-profile20){border-radius:16px;}
@media(max-width:700px){
main.account.pm-community:has(.pm-profile20){width:calc(100% - 24px)!important;}
.pm-profile20 .pm-cover{height:clamp(125px,35vw,200px);}
.pm-community .pm-profile20 .pm-profile-content{padding:0 12px 14px;}
.pm-profile20 .community-person{margin:-34px 0 10px;gap:12px;}
.pm-profile20 .community-avatar{width:94px!important;height:94px!important;flex-basis:94px!important;}
.pm-profile20 .pm-profile-identity{padding:40px 0 4px;}
.pm-profile20 .community-person h2{font-size:clamp(17px,4.7vw,24px);}
.pm-profile20 .pm-profile-type{font-size:11px;padding:4px 6px;}
.pm-profile20 .pm-profile-meta{font-size:12px;gap:6px 12px;padding:6px 0 12px;}
.pm-profile20 .pm-profile-stats{padding:10px 0;}
.pm-profile20 .pm-stat-icon{width:25px;height:25px;}
.pm-profile20 .pm-profile-stats strong{font-size:22px;}
.pm-profile20 .pm-profile-stats small{font-size:10px;overflow-wrap:anywhere;}
.pm-profile20 .pm-actions{display:grid;grid-template-columns:1fr;gap:8px;}
.pm-profile20 .pm-actions a,.pm-profile20 .pm-actions button{width:100%;min-height:44px;font-size:14px;}
.pm-community:has(.pm-profile20) .pm-profile-tabs a{flex-direction:column;font-size:11px;gap:5px;padding:10px 2px;text-align:center;}
}
.pm-profile20 .pm-profile-stats>div:nth-child(1) .pm-stat-icon{background-image:url('assets/pm25-megaphone.webp')}.pm-profile20 .pm-profile-stats>div:nth-child(2) .pm-stat-icon{background-image:url('assets/pm25-star.webp')}.pm-profile20 .pm-profile-stats>div:nth-child(3) .pm-stat-icon{background-image:url('assets/pm25-bag.webp')}.pm-profile20 .pm-profile-stats>div:nth-child(4) .pm-stat-icon{background-image:url('assets/pm25-users.webp')}.pm-profile20 .pm-stat-icon{width:58px;height:58px;mix-blend-mode:multiply;background-size:contain}#pm-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:9999;background:#102b48;color:white;padding:12px 20px;border-radius:12px;box-shadow:0 4px 20px #0003;max-width:90vw;text-align:center}#pm-toast[hidden]{display:none}@media(max-width:700px){.pm-profile20 .pm-stat-icon{width:42px;height:42px}}
body header.pm-header{background:transparent!important;box-shadow:none!important;border:0!important}body header.pm-header>a.logo{background:transparent!important}body header.pm-header>a.logo img{mix-blend-mode:multiply;background:transparent!important}.pm-profile20 .pm-share-box{flex:1;min-width:0;position:relative}.pm-profile20 #pm-share{display:flex;align-items:center;justify-content:center;min-height:52px;border:1px solid #10354b;border-radius:12px;cursor:pointer;font-weight:700;font-size:16px;list-style:none;padding:10px}.pm-profile20 #pm-share::-webkit-details-marker{display:none}.pm-share-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(360px,85vw);padding:14px;background:white;border:1px solid #d5dfe8;border-radius:12px;box-shadow:0 8px 24px #102b4826;z-index:20;display:grid;gap:8px}.pm-share-panel input{width:100%;min-width:0;font-size:13px}.pm-share-panel [hidden]{display:none!important}.pm-share-panel label,.pm-share-panel span{font-size:13px}.pm-profile20:has(.pm-share-box[open]){overflow:visible!important}@media(max-width:700px){.pm-profile20 #pm-share{min-height:44px;font-size:14px}.pm-share-panel{position:static;width:100%;margin-top:8px}}
