/* WRM 2.0 / Player profile — self-contained page styles on shared UI Kit tokens. */
.wrm2-profile{min-width:0;max-width:1540px;margin:0 auto;display:grid;gap:0}
.wrm2-profile-cover{position:relative;min-height:190px;overflow:hidden;border:1px solid var(--wrm2-line-strong);background:linear-gradient(115deg,#172923 0%,#0c1217 49%,#191526 100%)}
.wrm2-profile-cover::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 80% 0%,#1cfb8c36,transparent 53%),repeating-linear-gradient(90deg,transparent 0,transparent 69px,#1cfb8c12 70px,#1cfb8c12 71px);pointer-events:none}
.wrm2-profile-cover::after{content:"";position:absolute;right:4%;top:-85px;width:280px;height:280px;border:1px solid #1cfb8c24;transform:rotate(45deg);pointer-events:none}
.wrm2-profile-cover__copy{position:absolute;inset:auto 22px 19px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--wrm2-muted)}
.wrm2-profile-identity{display:flex;align-items:flex-end;gap:22px;min-height:125px;padding:16px;border:1px solid var(--wrm2-line-strong);border-top:0;background:var(--wrm2-canvas2)}
.wrm2-profile-portrait{position:relative;z-index:1;display:block;flex:0 0 116px;width:116px;height:116px;margin-top:-33px;padding:3px;border-radius:50%;background:var(--wrm2-canvas2)}
.wrm2-profile-portrait>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.wrm2-profile-portrait>.wrm2-pro-badge{right:-5px;bottom:-5px;width:39px;height:39px}
.wrm2-profile-portrait>.wrm2-pro-badge img{width:31px;height:31px}
.wrm2-profile-identity__details{flex:1;min-width:0;padding-top:20px}
.wrm2-profile-headline{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px 18px}
.wrm2-profile-headline h1{font:900 clamp(23px,3vw,38px)/1.1 var(--wrm2-display);overflow-wrap:anywhere}
.wrm2-profile-alterego{color:var(--wrm2-muted);font-size:13px}
.wrm2-profile-tags{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:12px 0 8px}
.wrm2-profile-rank,.wrm2-profile-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:23px;padding:3px 8px;border:1px solid var(--wrm2-line);font-size:10px;line-height:1.3;font-weight:800;overflow-wrap:anywhere}
.wrm2-profile-rank{color:var(--wrm2-user-avatar-color,var(--wrm2-mint));border-color:var(--wrm2-user-avatar-color,var(--wrm2-mint))}
.wrm2-profile-byline{font-size:11px;color:var(--wrm2-muted);margin:0!important}
.wrm2-profile-identity__actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end;align-items:center;padding:22px 0 0}
.wrm2-profile-identity__actions .wrm2-btn,.wrm2-profile-settings-actions .wrm2-btn{min-height:44px;padding:10px 17px;text-transform:uppercase}
.wrm2-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--wrm2-line-strong);border-top:0;background:var(--wrm2-panel)}
.wrm2-profile-stats>div{display:grid;gap:3px;padding:13px 19px;border-right:1px solid var(--wrm2-line)}
.wrm2-profile-stats>div:last-child{border-right:0}
.wrm2-profile-stats strong{font:900 22px/1.15 var(--wrm2-display);color:var(--wrm2-text)}

.wrm2-profile-stats span{color:var(--wrm2-muted);font-size:9px;font-weight:900;letter-spacing:.08em}
/* Owner-only inbox preview; reuses the shared unread dot and existing UI Kit actions. */
.wrm2-profile-inbox{display:grid;gap:12px;margin-top:10px;padding:16px;border:1px solid var(--wrm2-line-strong);background:var(--wrm2-panel);min-width:0}
.wrm2-profile-inbox__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wrm2-profile-inbox__heading .wrm2-kicker{margin:0 0 6px}
.wrm2-profile-inbox__heading h2{display:flex;align-items:center;gap:9px;margin:0;font:900 19px/1.2 var(--wrm2-display)}
.wrm2-profile-inbox__status{margin:0;color:var(--wrm2-muted);font-size:12px}
.wrm2-profile-inbox__list{display:grid;gap:7px}
.wrm2-profile-inbox__list[hidden]{display:none}
.wrm2-profile-inbox__thread{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:10px 12px;border:1px solid var(--wrm2-line);background:var(--wrm2-panel);color:var(--wrm2-text)}
.wrm2-profile-inbox__thread:hover{border-color:var(--wrm2-mint)}
.wrm2-profile-inbox__thread-copy{display:grid;gap:3px;min-width:0}
.wrm2-profile-inbox__thread-copy strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wrm2-profile-inbox__thread-copy small{font-size:11px;color:var(--wrm2-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wrm2-profile-inbox__thread-count{flex:none;color:#ff718d;font:900 11px/1 var(--wrm2-font)}
.wrm2-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,310px);gap:10px;align-items:start;margin-top:10px}
.wrm2-profile-primary,.wrm2-profile-aside{display:grid;gap:10px;min-width:0}
.wrm2-profile-tabs{display:flex;gap:0;overflow-x:auto;border:1px solid var(--wrm2-line-strong);background:var(--wrm2-panel);scrollbar-width:thin}
.wrm2-profile-tabs a{display:flex;gap:9px;align-items:center;flex:0 0 auto;min-height:44px;padding:10px 18px;border-right:1px solid var(--wrm2-line);font:900 11px/1.2 var(--wrm2-font);letter-spacing:.07em;color:var(--wrm2-muted)}
.wrm2-profile-tabs a:hover,.wrm2-profile-tabs a:focus-visible{color:var(--wrm2-mint);background:var(--wrm2-panel)}
.wrm2-profile-tabs small,.wrm2-profile-soon{display:inline-flex;align-items:center;padding:3px 6px;border:1px solid var(--wrm2-line-strong);color:var(--wrm2-muted);font:900 9px/1.3 var(--wrm2-font);letter-spacing:.04em;white-space:nowrap}
.wrm2-profile-block,.wrm2-profile-panel,.wrm2-profile-settings{min-width:0;border:1px solid var(--wrm2-line-strong);background:var(--wrm2-panel)}
.wrm2-profile-block{padding:16px;scroll-margin-top:80px}
.wrm2-profile-section-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.wrm2-profile-section-head .wrm2-kicker{margin:0 0 7px}
.wrm2-profile-section-head h2{font:900 clamp(18px,2vw,26px)/1.2 var(--wrm2-display);text-transform:uppercase}
.wrm2-profile-total{color:var(--wrm2-mint);font:900 13px/1 var(--wrm2-font);vertical-align:middle}
.wrm2-profile-favorite-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:12px}
.wrm2-profile-champion{position:relative;display:block;min-width:0;padding:7px;border:1px solid var(--wrm2-line);background:var(--wrm2-panel)}
.wrm2-profile-champion:hover,.wrm2-profile-champion:focus-within{border-color:var(--wrm2-mint)}
.wrm2-profile-champion__link{display:block;min-width:0;color:inherit}
.wrm2-profile-champion__remove{position:absolute;z-index:2;top:9px;right:9px;width:24px;height:24px;min-width:24px;min-height:24px;padding:4px;background:var(--wrm2-canvas2);cursor:pointer}
.wrm2-profile-champion__remove img{width:14px;height:14px}
.wrm2-profile-champion__remove:is(:hover,:focus-visible){background:var(--wrm2-panel2)}
.wrm2-profile-champion__remove:disabled{opacity:.5;cursor:wait}
.wrm2-profile-champion__art{position:relative;display:grid;place-items:center;aspect-ratio:1/1;overflow:hidden;background:var(--wrm2-panel2);color:var(--wrm2-mint);font-size:30px}
.wrm2-profile-champion__art img{width:100%;height:100%;object-fit:cover}
.wrm2-profile-champion--upcoming .wrm2-profile-champion__art img{filter:grayscale(100%)}
.wrm2-profile-champion strong{display:block;padding-top:7px;font:var(--wrm2-champion-link-type);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Build cards share one responsive layout in the profile and published-builds listing. */
.wrm2-profile-build-list,.wrm2-profile-user-builds__list{display:grid;gap:10px;container:wrm2-profile-builds/inline-size}
.wrm2-profile-build{display:grid;grid-template-columns:58px minmax(0,1fr) max-content;align-items:center;gap:12px;min-width:0;padding:12px 14px;border:1px solid var(--wrm2-line);background:var(--wrm2-panel)}
.wrm2-profile-build:hover{border-color:var(--wrm2-mint)}
.wrm2-profile-build-entry{position:relative;min-width:0}
.wrm2-profile-build__overlay{position:absolute;inset:0;z-index:1;display:block;color:inherit}
.wrm2-profile-build-entry:focus-within{border-color:var(--wrm2-mint)}
.wrm2-profile-build__overlay:focus-visible{outline:2px solid var(--wrm2-mint);outline-offset:2px}
.wrm2-profile-build-edit{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:25px;padding:3px;border:1px solid transparent;background:transparent;box-sizing:border-box}
.wrm2-profile-build-edit img{display:block;width:18px;height:18px;object-fit:contain}
.wrm2-profile-build-edit:is(:hover,:focus-visible){border-color:var(--wrm2-mint);background:#1cfb8c14}
.wrm2-profile-build-edit:focus-visible{outline:2px solid var(--wrm2-mint);outline-offset:2px}
.wrm2-profile-build__champion{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;overflow:hidden;border:1px solid var(--wrm2-line-strong);background:var(--wrm2-panel2);color:var(--wrm2-mint)}
.wrm2-profile-build__champion img{display:block;width:100%;height:100%;object-fit:cover}
.wrm2-profile-build__champion-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:26px;line-height:1}
.wrm2-profile-build__copy{display:grid;gap:6px;min-width:0}
.wrm2-profile-build__title{display:flex;align-items:center;gap:8px;min-width:0}
.wrm2-profile-build__copy strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.wrm2-profile-build__meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;min-width:0;color:var(--wrm2-muted);font:800 10px/1.35 var(--wrm2-font);letter-spacing:.05em;text-transform:uppercase}
.wrm2-profile-build__meta span{min-width:0}
.wrm2-profile-build__date{white-space:nowrap}
.wrm2-profile-build__champion-name{color:var(--wrm2-text);font-weight:900}
.wrm2-profile-build__copy .wrm2-nav-pill{min-height:20px;padding:2px 7px;font-size:9px}
.wrm2-profile-build__lane{display:inline-block;width:16px;height:16px;object-fit:contain;vertical-align:middle;filter:brightness(0) saturate(100%) invert(74%) sepia(63%) saturate(548%) hue-rotate(92deg)}
.wrm2-profile-build__loadout{display:flex;align-items:flex-end;justify-content:flex-start;flex-wrap:wrap;column-gap:14px;row-gap:10px;max-width:100%;min-width:0}
.wrm2-profile-build__gear-group{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%;min-width:0}
.wrm2-profile-build__gear-label{color:var(--wrm2-muted);font:900 9px/1.2 var(--wrm2-font);letter-spacing:.07em}
.wrm2-profile-build__gear-icons{display:flex;align-items:center;justify-content:flex-start;gap:5px;max-width:100%;min-width:0}
/* Shared game-icons.css frames: icon groups remain single-line; entire groups wrap below the build details as space decreases. */
.wrm2-profile-build__gear-icons .wrm2-game-icon{--wrm2-game-size:32px;display:flex;flex:0 0 var(--wrm2-game-size);width:var(--wrm2-game-size);min-width:0;margin:0;z-index:auto;pointer-events:none}
.wrm2-profile-build__gear-icons .wrm2-game-icon__frame{box-sizing:border-box;width:100%;height:auto;aspect-ratio:1;flex:0 0 auto}
.wrm2-profile-build__gear-icons .wrm2-game-icon__frame img{box-sizing:border-box;width:100%;height:100%;aspect-ratio:1;object-fit:cover}
.wrm2-profile-build__gear-group--runes .wrm2-game-icon{--wrm2-game-size:27px}
/* The keystone is the visual anchor of the rune set; match the source build page's hierarchy. */
.wrm2-profile-build__gear-group--runes .wrm2-profile-build__keystone{--wrm2-game-size:34px}
.wrm2-profile-build__gear-icons .wrm2-game-icon--rune .wrm2-game-icon__frame{padding:3px}
.wrm2-profile-build__gear-icons .wrm2-game-icon--rune .wrm2-game-icon__frame img{border-width:2px}
@container wrm2-profile-builds (max-width:810px){
 .wrm2-profile-build{grid-template-columns:clamp(44px,13cqw,58px) minmax(0,1fr);gap:9px 11px;padding:11px}
 .wrm2-profile-build__champion{grid-column:1;grid-row:1;width:100%;height:auto;aspect-ratio:1}
 .wrm2-profile-build__copy{grid-column:2;grid-row:1}
 .wrm2-profile-build__loadout{grid-column:1/-1;grid-row:2;width:100%;justify-self:start}
}
@container wrm2-profile-builds (max-width:660px){
 .wrm2-profile-build__gear-group--items .wrm2-game-icon{--wrm2-game-size:28px}
 .wrm2-profile-build__gear-group--runes .wrm2-game-icon{--wrm2-game-size:25px}
 .wrm2-profile-build__gear-group--runes .wrm2-profile-build__keystone{--wrm2-game-size:31px}
}
@container wrm2-profile-builds (max-width:355px){
 .wrm2-profile-build__gear-group--items .wrm2-game-icon{--wrm2-game-size:24px}
 .wrm2-profile-build__gear-group--runes .wrm2-game-icon{--wrm2-game-size:23px}
 .wrm2-profile-build__gear-group--runes .wrm2-profile-build__keystone{--wrm2-game-size:28px}
}
.wrm2-profile-empty{padding:22px;border:1px dashed var(--wrm2-line-strong);background:var(--wrm2-panel);color:var(--wrm2-muted)}
.wrm2-profile-empty strong{display:block;margin-bottom:6px;color:var(--wrm2-text);font-size:13px}.wrm2-profile-empty p{margin:0;font-size:12px}
.wrm2-profile-panel{padding:16px}.wrm2-profile-panel h2{font:900 11px/1.3 var(--wrm2-font);letter-spacing:.09em;margin:0 0 15px}.wrm2-profile-panel__top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.wrm2-profile-panel__top h2{margin:0 0 12px}
/* Native friends roster, invitations and settings; owner privacy remains DLE-form-independent. */
.wrm2-profile-friends-list{display:grid;gap:7px;max-height:345px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--wrm2-mint) transparent}
.wrm2-profile-friend{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--wrm2-line);background:var(--wrm2-panel);text-decoration:none;color:var(--wrm2-text)}
.wrm2-profile-friend:hover{border-color:var(--wrm2-mint)}
.wrm2-profile-friend-avatar{flex:0 0 37px;width:37px;height:37px;padding:2px;border:2px solid var(--wrm2-user-avatar-color,var(--wrm2-mint));border-radius:50%;box-sizing:border-box}
.wrm2-profile-friend-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.wrm2-profile-friend-info{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;flex:1}
.wrm2-profile-friend-info strong{font:900 11px var(--wrm2-font);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wrm2-profile-friend-info .wrm2-profile-popup__presence{flex:0 0 auto;min-height:20px;padding:2px 5px;font-size:8px}
.wrm2-profile-friend-pending{display:grid;gap:7px;margin-top:14px}
.wrm2-profile-friend-pending:empty{display:none}
.wrm2-profile-friend-pending h3{margin:5px 0;color:var(--wrm2-mint);font:900 10px var(--wrm2-font)}
.wrm2-profile-friend-request{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.wrm2-profile-friend-request a{flex:1;min-width:70px;color:var(--wrm2-text);overflow-wrap:anywhere;font-size:11px}
.wrm2-profile-friend-request .wrm2-btn{min-height:29px;padding:5px 8px;font-size:9px}
.wrm2-profile-friends-privacy{display:grid;gap:5px}.wrm2-profile-friends-privacy label{display:flex;align-items:center;gap:8px}
.wrm2-profile-friends-privacy small{color:var(--wrm2-muted);font-size:10px}

.wrm2-profile-panel dl{display:grid;gap:11px;margin:0}.wrm2-profile-panel dl>div{display:grid;gap:3px}.wrm2-profile-panel dt{font-size:10px;color:var(--wrm2-muted)}.wrm2-profile-panel dd{margin:0;font-size:12px;overflow-wrap:anywhere}
.wrm2-profile-bio{margin-top:16px;padding-top:14px;border-top:1px solid var(--wrm2-line);font-size:12px;overflow-wrap:anywhere}
.wrm2-profile-muted{color:var(--wrm2-muted);font-size:12px;margin:0 0 7px;overflow-wrap:anywhere}.wrm2-profile-link{font-size:11px;margin:10px 0 0}.wrm2-profile-link a{color:var(--wrm2-mint)}
/* Native DLE profile update form, including user xfields. */
.wrm2-profile-settings{margin-top:20px;padding:20px}.wrm2-profile-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.wrm2-profile-settings-grid>label,.wrm2-profile-settings-admin label{display:grid;gap:7px;color:var(--wrm2-muted);font-size:11px;font-weight:700}
.wrm2-profile-settings :is(input[type=text],input[type=email],input[type=password],textarea,select){display:block;width:100%;min-width:0;max-width:100%;padding:9px 11px;border:1px solid var(--wrm2-line-strong);border-radius:0;background:var(--wrm2-panel);color:var(--wrm2-text);font-size:12px}
.wrm2-profile-settings :is(textarea){min-height:41px}.wrm2-profile-settings textarea{resize:vertical}
.wrm2-profile-settings-wide{grid-column:1/-1}.wrm2-profile-settings-xfields h3{font-size:12px;letter-spacing:.1em;margin-bottom:10px}
.wrm2-profile-settings-flags{display:grid;gap:10px;margin:18px 0}
.wrm2-profile-settings-admin{margin:15px 0}.wrm2-profile-settings-actions{display:flex;justify-content:flex-end;padding-top:15px;border-top:1px solid var(--wrm2-line)}
@media(max-width:1050px){.wrm2-profile-layout{grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:850px){.wrm2-profile-layout{grid-template-columns:minmax(0,1fr)}.wrm2-profile-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.wrm2-profile-identity{flex-wrap:wrap}.wrm2-profile-identity__actions{padding-top:0}}
@media(max-width:540px){.wrm2-profile-cover{min-height:130px}.wrm2-profile-cover__copy{inset:auto 12px 12px}.wrm2-profile-cover__copy>span:last-child{display:none}.wrm2-profile-identity{padding:0 13px 14px;gap:10px;align-items:center}.wrm2-profile-portrait{flex-basis:82px;width:82px;height:82px;margin-top:-24px}.wrm2-profile-portrait>.wrm2-pro-badge{width:30px;height:30px}.wrm2-profile-portrait>.wrm2-pro-badge img{width:24px;height:24px}.wrm2-profile-identity__details{padding:9px 0 0;flex:1 1 calc(100% - 100px)}.wrm2-profile-headline h1{font-size:23px}.wrm2-profile-identity__actions{width:100%;justify-content:stretch}.wrm2-profile-identity__actions .wrm2-btn{flex:1}.wrm2-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wrm2-profile-stats>div:nth-child(2){border-right:0}.wrm2-profile-stats>div:nth-child(-n+2){border-bottom:1px solid var(--wrm2-line)}.wrm2-profile-stats>div{padding:11px 13px}.wrm2-profile-aside{grid-template-columns:1fr}.wrm2-profile-block{padding:14px}.wrm2-profile-favorite-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wrm2-profile-section-head{align-items:flex-start}.wrm2-profile-section-head .wrm2-btn{min-height:30px;padding:6px 9px}.wrm2-profile-settings{padding:13px}.wrm2-profile-settings-grid{grid-template-columns:1fr}}

/* Cover: account-only upload affordance, native fallback for other profiles. */
.wrm2-profile-cover--custom{background-color:var(--wrm2-canvas2);background-image:var(--wrm2-cover-image);background-position:center;background-size:cover}
.wrm2-profile-cover--custom::before{background:linear-gradient(0deg,#06090bc4,transparent 90%)}
.wrm2-profile-cover--custom::after{display:none}
.wrm2-profile-cover__edit{max-width:100%;border-color:var(--wrm2-line-strong);color:var(--wrm2-text)!important}
.wrm2-profile-cover__edit:hover,.wrm2-profile-cover__edit:focus-visible{border-color:var(--wrm2-mint);color:var(--wrm2-mint)}
.wrm2-profile-cover[data-wrm2-cover-upload]{cursor:pointer}
.wrm2-profile-cover__copy{pointer-events:none}
.wrm2-profile-cover__remove{border-color:var(--wrm2-red);color:var(--wrm2-red)!important}
.wrm2-profile-cover__controls{position:absolute;z-index:2;right:15px;top:15px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.wrm2-profile-cover__controls .wrm2-btn{min-height:34px;padding:6px 11px;background:#080c0ee8}
.wrm2-profile-cover__controls .wrm2-profile-cover__remove:hover,.wrm2-profile-cover__controls .wrm2-profile-cover__remove:focus-visible{border-color:var(--wrm2-red)!important;background:var(--wrm2-red);color:#fff!important}

.wrm2-profile-cover__feedback{position:absolute;z-index:2;left:15px;top:15px;max-width:calc(100% - 30px);color:var(--wrm2-mint);background:#080c0ee8;font:900 11px/1.5 var(--wrm2-font)}
.wrm2-profile-cover__feedback:empty{display:none}
.wrm2-profile-cover-editor[hidden]{display:none}
.wrm2-profile-cover-editor{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;overflow:auto;background:#05080be8;padding:16px}
.wrm2-profile-cover-editor__panel{width:min(690px,100%);padding:20px;border:1px solid var(--wrm2-line-strong);background:var(--wrm2-canvas2)}
.wrm2-profile-cover-editor__panel .wrm2-profile-section-head{align-items:flex-start}
.wrm2-profile-cover-editor__viewport{position:relative;aspect-ratio:4/1;overflow:hidden;touch-action:none;cursor:grab;user-select:none;border:1px solid var(--wrm2-line-strong);background:#0c1217}
.wrm2-profile-cover-editor__viewport:active{cursor:grabbing}
.wrm2-profile-cover-editor__viewport img{position:absolute;max-width:none;max-height:none;pointer-events:none;user-select:none;transform-origin:top left}
.wrm2-profile-cover-editor__zoom{display:flex;gap:13px;align-items:center;margin:17px 0 12px;color:var(--wrm2-muted);font:900 11px var(--wrm2-font)}
.wrm2-profile-cover-editor__zoom input{flex:1;accent-color:var(--wrm2-mint)}
.wrm2-profile-cover-editor__hint{color:var(--wrm2-muted);font:700 11px/1.5 var(--wrm2-font)}
.wrm2-profile-cover-editor__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:15px}
.wrm2-profile-cover-editor__actions [role=status]{color:var(--wrm2-muted);font-size:11px}
.wrm2-profile-social-link{display:inline-flex;align-items:center;gap:7px;max-width:100%;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:var(--wrm2-mint);text-underline-offset:3px;color:var(--wrm2-mint)}
.wrm2-profile-social-link:hover{color:var(--wrm2-text)}
.wrm2-profile-user-builds{width:100%;min-width:0}
.wrm2-profile-user-builds__profile-link{margin-top:16px}
.wrm2-profile-user-builds__pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.wrm2-profile-user-builds__pagination .wrm2-btn[aria-current=page]{border-color:var(--wrm2-mint);color:var(--wrm2-mint)!important}
@media(max-width:540px){.wrm2-profile-cover__controls{top:9px;right:9px;left:9px;gap:5px}.wrm2-profile-cover__controls .wrm2-btn{padding:5px 7px}.wrm2-profile-cover__feedback{top:auto;bottom:9px;left:9px}.wrm2-profile-cover-editor__panel{padding:13px}.wrm2-profile-cover-editor__viewport{aspect-ratio:4/1}.wrm2-profile-cover-editor__actions .wrm2-btn{width:100%}}

/* Legacy avatar bank gallery; WRM 2.0 native modal and shared buttons. */
.wrm2-profile-portrait--editable{cursor:pointer}
.wrm2-profile-portrait--editable:focus-visible{outline:2px solid var(--wrm2-mint);outline-offset:5px}
.wrm2-profile-portrait--editable::after{content:"+";position:absolute;left:0;bottom:0;z-index:2;display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--wrm2-mint);background:var(--wrm2-canvas2);color:var(--wrm2-mint);font:900 18px/1 var(--wrm2-font);box-sizing:border-box;padding-bottom:2px;border-radius:50%;pointer-events:none}
.wrm2-avatar-picker__backdrop[hidden]{display:none}
.wrm2-avatar-picker__backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;overflow-y:auto;padding:16px;background:#05080be8}
.wrm2-avatar-picker__panel{width:min(680px,100%);max-height:min(740px,calc(100dvh - 32px));display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid var(--wrm2-line-strong);background:var(--wrm2-canvas2)}
.wrm2-avatar-picker__head{flex:0 0 auto;align-items:flex-start;margin-bottom:10px}
.wrm2-avatar-picker__description{margin:0 0 15px;color:var(--wrm2-muted);font:700 12px/1.5 var(--wrm2-font)}
.wrm2-avatar-picker__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;min-height:110px;overflow-y:auto;overscroll-behavior:contain;padding:4px;scrollbar-width:thin;scrollbar-color:var(--wrm2-mint) transparent}
.wrm2-avatar-picker__item{position:relative;display:grid;place-items:center;gap:4px;min-width:0;padding:8px 4px;border:1px solid var(--wrm2-line-strong);border-radius:0;background:var(--wrm2-panel);cursor:pointer;color:var(--wrm2-muted)}
.wrm2-avatar-picker__item:hover,.wrm2-avatar-picker__item:focus-visible,.wrm2-avatar-picker__item.is-selected{border-color:var(--wrm2-mint);background:#1cfb8c14}
.wrm2-avatar-picker__item img{display:block;width:72px;height:72px;max-width:100%;border-radius:50%;object-fit:cover;border:2px solid var(--wrm2-line-strong)}
.wrm2-avatar-picker__item.is-selected img{border-color:var(--wrm2-mint)}
.wrm2-avatar-picker__status{flex:0 0 auto;min-height:19px;margin:9px 0;color:var(--wrm2-muted);font:700 11px/1.5 var(--wrm2-font)}
.wrm2-avatar-picker__actions{flex:0 0 auto;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--wrm2-line);padding-top:16px}
.wrm2-avatar-picker__actions .wrm2-btn{min-height:44px}
@media(max-width:540px){.wrm2-avatar-picker__panel{padding:13px}.wrm2-avatar-picker__grid{grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:7px}.wrm2-avatar-picker__item img{width:59px;height:59px}.wrm2-avatar-picker__actions .wrm2-btn{flex:1;padding:10px 8px}}

/* Stage 3.438 - private pending Community Builds */
.wrm2-cb-pending-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border:1px solid #d4a23e;background:rgba(212,162,62,.09);color:#f4c76b;font:900 10px/1.4 var(--wrm2-font);letter-spacing:.055em;text-transform:uppercase;white-space:nowrap}
