/* Player identity and its full-page editor. Existing earned cosmetic data remains authoritative. */
@import url('./profile-showcase.css');
#profileScr #pfHead{
  width:min(560px,100%);box-sizing:border-box;isolation:isolate;padding:22px 16px 18px;gap:12px;
  border:3px solid #f9d36b;border-radius:18px;box-shadow:inset 0 0 0 3px #100c21,inset 0 0 0 5px #fff8e733,0 6px 0 #100c21,0 15px 28px #0005;
  background:url('/art/ui/player-card-city.07c086127a48.svg') center 52px/100% auto no-repeat,linear-gradient(155deg,var(--cs-banner-col,#345b80),#211832 70%);
}
#profileScr #pfHead::before{content:"PLAYER CARD";font:16px Bangers,cursive;letter-spacing:2px;color:#211832;background:#fff0bd;border:2px solid #100c21;padding:4px 14px;box-shadow:3px 3px 0 #100c21;transform:rotate(-2deg)}
#profileScr #pfHead.pfHasPassport{padding:0;border:0;box-shadow:none;background:none}
#profileScr #pfHead.pfHasPassport::before{display:none}
#pfPassport{width:100%;display:flex;justify-content:center}
#profileScr #pfPassportBorder{position:fixed;inset:var(--sa-top,0px) var(--sa-right,0px) var(--sa-bottom,0px) var(--sa-left,0px);z-index:1;background:none;border-radius:0;pointer-events:none}
#profileScr #pfHead .pfName{width:100%;min-width:0}
#profileScr #pfHead .pfNameDisp,#styleOv.csFullPage .csIdentity .pfNameDisp{min-height:48px;padding:8px 10px;font-size:28px;line-height:1.15;border:2px solid #fff0bd;border-radius:8px;background:#171126;max-width:100%;box-shadow:3px 3px 0 #100c21}
#profileScr #pfHead .pfNameText,#styleOv.csFullPage .csIdentity .pfNameText{min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
#profileScr #pfHead .pfNameTag,#styleOv.csFullPage .csIdentity .pfNameTag{flex:none;font:900 12px Nunito,sans-serif;letter-spacing:.5px;color:#211832;background:#fff0bd;border:2px solid #100c21;border-radius:4px;padding:4px 7px}
#profileScr .pfIdentityPortrait{display:flex;align-items:center;justify-content:center;min-height:132px}
#profileScr .pfIdentityPortrait .csPortrait,#profileScr .pfIdentityPortrait .csAvatarPlain{width:128px;height:128px;margin:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
#profileScr .pfIdentityPortrait canvas{width:104px;height:104px;object-fit:contain;max-width:none;max-height:none}
#profileScr #styleProfileDoor{width:min(320px,100%);min-height:48px;background:#ffd23f;color:#1b1430;border-color:#1b1430;box-shadow:0 3px 0 #100c21;font-size:22px}
#profileScr .pfBarCap,#profileScr .pfSub{font-size:14px;line-height:1.45;color:#e1d9f0}
#profileScr .pfRecs{width:min(560px,100%);gap:10px}
#profileScr .pfRec{padding:12px 10px;min-width:0}
#profileScr .pfRec span{font-size:14px;line-height:1.35;letter-spacing:0}
#profileScr #pfHead .csCrestLive{top:18px;right:18px;filter:drop-shadow(0 2px 0 #100c21) drop-shadow(0 0 3px #fff8e7)}
#profileScr #pfSub{font-size:14px;line-height:1.45}
#questsScr .scrSub,#questsScr .pfQText,#questsScr .pfQSub,#questsScr .pfBonusText{font-size:14px;line-height:1.4}
#questsScr .pfQuests{width:min(560px,100%)}
#questsScr .pfClaim{min-height:44px}
#questsScr .pfQBody{min-width:0}
#questsScr .pfQText{overflow-wrap:anywhere}
#styleOv.csFullPage{
  align-items:stretch;justify-content:center;background:#100c20;
  padding:var(--sa-top,env(safe-area-inset-top,0px)) var(--sa-right,env(safe-area-inset-right,0px)) var(--sa-bottom,env(safe-area-inset-bottom,0px)) var(--sa-left,env(safe-area-inset-left,0px));
}
#styleOv.csFullPage .csCard{width:min(760px,100%);height:100%;max-height:none;border:0;border-radius:0;padding:12px 16px 16px;box-shadow:none;animation:none}
#styleOv.csFullPage .csHead{padding-bottom:10px;border-bottom:2px solid #655384}
#styleOv.csFullPage .csHead h2{font-size:clamp(24px,7vw,34px);letter-spacing:1px}
#styleOv.csFullPage .csBody{width:100%;max-width:680px;align-self:center;padding:12px 2px 20px;box-sizing:border-box;overflow-anchor:none}
#styleOv.csFullPage .csIdentity{padding:20px 14px;border:3px solid #f9d36b;border-radius:18px;background:url('/art/ui/player-card-city.07c086127a48.svg') center top/100% auto no-repeat,linear-gradient(155deg,var(--cs-banner-col,#345b80),#211832 70%);box-shadow:inset 0 0 0 3px #100c21,inset 0 0 0 5px #fff8e733,0 4px 0 #100c21}
#styleOv.csFullPage .csIdentity.csPassportIdentity{padding:0;border:0;background:none;box-shadow:none}
#styleOv.csFullPage .csPassportCard{display:flex;justify-content:center}
#styleOv.csFullPage .csPassportCard .cppIdentity canvas{width:50px;height:50px;max-width:50px;max-height:50px}
#styleOv.csFullPage .csIdentity .csPortrait,#styleOv.csFullPage .csIdentity .csAvatarPlain{width:128px;height:128px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
#styleOv.csFullPage .csIdentity .csPortraitArt,#styleOv.csFullPage .csIdentity canvas{width:104px;height:104px;max-width:none;max-height:none;object-fit:contain}
#styleOv.csFullPage .csIdentity .pfName{width:100%}
#styleOv.csFullPage .csIdentityCap{max-width:46ch;color:#fff8e7;text-shadow:0 1px 2px #100c21}
#styleOv.csFullPage .csPreview[data-kind=banner] .csPoster{width:190px;max-width:100%;height:76px;padding:10px 12px;border:2px solid #fff0bd;border-radius:8px;clip-path:none;background:url('/art/ui/player-card-city.07c086127a48.svg') center/cover no-repeat,linear-gradient(155deg,var(--cs-col),#211832);color:#fff8e7;font:24px/1.1 Bangers,cursive;text-shadow:1px 2px 0 #100c21;overflow-wrap:anywhere;box-shadow:inset 0 0 0 2px #100c21,2px 3px 0 #100c21}
#styleOv.csFullPage .pfNameInput{min-height:44px;width:100%;max-width:320px;box-sizing:border-box;font-size:22px}
#styleOv.csFullPage .csSub,#styleOv.csFullPage .csIdentityCap,#styleOv.csFullPage .csLookStatus,#styleOv.csFullPage .csItemState,#styleOv.csFullPage .csLookWhere,#styleOv.csFullPage .csAvatarLabel,#styleOv.csFullPage .csCategoryNav button,#styleOv.csFullPage .csAvatarNav button,#styleOv.csFullPage .csSwitch{font-size:14px;line-height:1.45;letter-spacing:0}
#styleOv.csFullPage .csAvatarGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#styleOv.csFullPage .csAvatarPick{min-height:98px;padding:8px 4px}
#styleOv.csFullPage .csCategoryNav{position:relative;gap:8px}
#styleOv.csFullPage .csCategoryNav button{flex:1 0 28%;min-height:48px}
#styleOv.csFullPage .csLookWhere{min-height:0}
#styleOv.csFullPage .csRow h3{font-size:22px;min-height:0}
#styleOv.csFullPage .csBuy{font-size:18px;min-height:48px}
/* Five real editor tabs; only the selected panel has controls and content. */
.csShape[data-emblem=true]{clip-path:none!important;background:transparent!important;filter:drop-shadow(0 2px 1px #100c21)}
.csShape[data-emblem=true]>svg{display:block;width:100%;height:100%;overflow:visible}
#styleOv.csFullPage .csEditorNav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:7px 0;flex:none;border-bottom:1px solid #655384;background:#211832;z-index:2}
#styleOv.csFullPage .csEditorDoor{min-width:0;min-height:48px;padding:4px 2px;border:2px solid #7484ad;border-radius:10px;background:linear-gradient(160deg,#31456d,#211832);color:#f3edff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:900 11px/1.12 Nunito,sans-serif;cursor:pointer;overflow-wrap:anywhere}
#styleOv.csFullPage .csEditorDoor svg{width:19px;height:19px;flex:none;filter:drop-shadow(0 2px 0 #100c21)}
#styleOv.csFullPage .csEditorDoor span{min-width:0}
#styleOv.csFullPage .csPreviewReturn{color:#fff8e7;background:#263a50;border-color:#a5d8ff}
#styleOv.csFullPage .csEditorDoor[aria-selected=true]{background:linear-gradient(155deg,#ffe99a,#ffd23f);border-color:#fff0bd;color:#19132b;box-shadow:inset 0 -3px 0 #a16c1c}
#styleOv.csFullPage :is(.csEditorDoor,.csEditorBgDoor):focus-visible{outline:3px solid #a5d8ff;outline-offset:2px}
#styleOv.csFullPage .csEditorPanel[hidden]{display:none}
#styleOv.csFullPage .csEditorPanel{min-width:0;text-align:left}
#styleOv.csFullPage .csEditorPanel>.csLookStatus:empty,#styleOv.csFullPage .csPassportStatus:empty{display:none}
#styleOv.csFullPage .csEditorPreview{flex:none;box-sizing:border-box;margin:7px 0 0;padding:0 5px 5px;border:1px solid #739cb4;border-radius:10px;background:linear-gradient(155deg,#19354e,#211832)}
#styleOv.csFullPage .csEditorPreviewHead{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:7px;padding:1px 3px;color:#ffe9ab}
#styleOv.csFullPage .csEditorPreviewHead p{font:900 11px/1.25 Nunito,sans-serif;letter-spacing:.3px;margin:4px 0}
#styleOv.csFullPage .csEditorBgDoor{min-height:44px;padding:3px 6px;margin:0;border:0;border-radius:7px;background:transparent;color:#bfe5ff;font:900 11px/1.2 Nunito,sans-serif;text-decoration:underline;text-underline-offset:3px}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppCard[data-compact=true]{max-width:none;padding:6px 9px;min-height:76px;border-radius:8px}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppCard[data-compact=true] .cppBrand,#styleOv.csFullPage .csEditorPreview .csPassportCard .cppCard[data-compact=true] .cppStats{display:none}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppIdentity{min-height:0;gap:8px;padding:1px 0;background:transparent}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppIdentity>.clAvatar,#styleOv.csFullPage .csEditorPreview .csPassportCard .cppAvatar{--cl-avatar-art:34px;width:44px;height:44px;flex-basis:44px}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppIdentity canvas{width:34px;height:34px;max-width:100%;max-height:100%}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppName{font-size:20px;line-height:1.05}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppTitle,#styleOv.csFullPage .csEditorPreview .csPassportCard .cppMeta{font-size:10px;line-height:1.2;margin:3px 0}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppMeta{display:none}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppBadges{margin:1px 0 0;justify-items:start;display:flex;gap:6px}
#styleOv.csFullPage .csEditorPreview .csPassportCard .cppBadgeSlot{min-height:20px;height:20px}
#styleOv.csFullPage .csEditorPreview .csPassportCard :is(.cppBadgeEmpty,.cppBadgeSvg){width:17px;height:20px}
#styleOv.csFullPage .csEditorPreview .csIdentity:not(.csPassportIdentity){flex-direction:row;justify-content:center;padding:5px}
#styleOv.csFullPage .csEditorPreview .csIdentity:not(.csPassportIdentity) :is(.csPortrait,.csAvatarPlain){width:56px;height:56px;margin:0}
#styleOv.csFullPage .csEditorPreview .csIdentity:not(.csPassportIdentity) .csPortraitArt{width:46px;height:46px}
#styleOv.csFullPage .csEditorGroup{display:grid;grid-template-columns:repeat(auto-fit,minmax(61px,1fr));margin:0 0 8px}
#styleOv.csFullPage .csEditorGroup>button{min-width:0;padding:4px 2px;overflow-wrap:anywhere}
#styleOv.csFullPage .csEditorPanel .csPassport{margin:5px 0 10px;padding:10px}
#styleOv.csFullPage .csBackgroundGallery .csPassportThumb{min-height:72px;border:1px solid #a5d8ff66}
#styleOv.csFullPage .csPassportFilters{margin:6px 0;border:1px solid #6c85a9;border-radius:8px}
#styleOv.csFullPage .csPassportFilters>summary{display:list-item;min-height:44px;box-sizing:border-box;padding:12px 8px;color:#bfe5ff;font:900 13px/1.4 Nunito,sans-serif;cursor:pointer}
#styleOv.csFullPage .csPassportFilters[open]>.csPassportFind{margin:0 8px 8px}
#styleOv.csFullPage .csCategoryNav button[aria-pressed=true]{border:2px solid #ffd23f;background:#463017;color:#fff0bd}
#styleOv.csFullPage .csDecorHeading{font:28px/1.15 Bangers,cursive;text-align:left;color:#ffd23f;margin:24px 0 4px;padding-top:10px;border-top:2px solid #655384}
#styleOv.csFullPage .csAvatarPick[aria-pressed=true]{box-shadow:inset 0 0 0 2px #ffd23f;background:linear-gradient(150deg,#56412c,#302241)}
#styleOv.csFullPage .csAvatarPick[aria-pressed=true] .csAvatarLabel::after{content:' · EQUIPPED';color:#ffe99a}
#styleOv.csFullPage .csCategory{scroll-margin-top:8px}
@media(max-height:680px){#styleOv.csFullPage .csCard{padding-top:7px}#styleOv.csFullPage .csHead{padding-bottom:5px}#styleOv.csFullPage .csEditorNav{padding:5px 0}}
@media(max-width:390px){#styleOv.csFullPage .csCard{padding-left:10px;padding-right:10px}#styleOv.csFullPage .csEditorDoor{gap:2px;padding:3px 1px}#styleOv.csFullPage .csEditorDoor svg{width:15px;height:15px}}
@media(max-height:460px){#styleOv.csFullPage .csEditorPreview .csPassportCard .cppCard[data-compact=true]{min-height:54px}#styleOv.csFullPage .csEditorPreview .cppBadges{display:none}}
@media(max-width:420px){#styleOv.csFullPage .csAvatarGrid{grid-template-columns:repeat(3,minmax(0,1fr))}#profileScr .pfRec{gap:6px;padding:10px 7px}}
/* W483: narrow LARGE goal cards keep complete words without shrinking their text. */
@media(max-width:360px){html[data-text="large"] #styleOv.csFullPage .csAvatarGoals{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-text="large"] #styleOv.csFullPage .csAvatarGoals .csAvatarLabel,html[data-text="large"] #styleOv.csFullPage .csAvatarGoals .csAvatarHow{overflow-wrap:normal;word-break:normal}}

/* The two explicit menu destinations remain reachable on short displays. */
#ccMenu{max-height:calc(100vh - 136px - var(--sa-top,0px) - var(--sa-bottom,0px));max-height:calc(100dvh - 136px - var(--sa-top,0px) - var(--sa-bottom,0px));overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
#ccMenu .ccMenuRow{flex-shrink:0}

/* Read-only OTHER-player page, exclusively on the existing online overlay. */
#netOv.netProfilePage>.netPublicPassportBorder{position:absolute;inset:var(--sa-top,0px) var(--sa-right,0px) var(--sa-bottom,0px) var(--sa-left,0px);z-index:4;background:none;border-radius:0;pointer-events:none}
#netOv.netProfilePage.netPassportFramed #netCard.netProfileSheet{padding:0 32px 48px}
#netOv.netProfilePage.netPassportFramed .netProfileHead{margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px}
#netOv.netProfilePage{align-items:stretch;justify-content:center;box-sizing:border-box;background:var(--ink,#100c21);padding:var(--sa-top,env(safe-area-inset-top,0px)) var(--sa-right,env(safe-area-inset-right,0px)) var(--sa-bottom,env(safe-area-inset-bottom,0px)) var(--sa-left,env(safe-area-inset-left,0px))}
#netOv.netProfilePage #netCard.netProfileSheet{width:min(760px,100%);max-width:100%;height:100%;max-height:100%;border:0;border-radius:0;box-shadow:none;padding:0 16px 24px;text-align:left;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:84px;background:var(--panel,#211832)}
.netProfileSheet .netProfileHead{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -16px 16px;padding:12px 16px;background:var(--panel,#211832);border-bottom:2px solid #655384}
.netProfileSheet .netProfileBack{min-height:44px;max-width:58%;white-space:normal;line-height:1.25;font:900 13px Nunito,system-ui,sans-serif}
.netProfileSheet .netProfileTitle{margin:0;font:24px/1.1 Bangers,system-ui,sans-serif;letter-spacing:1px;color:var(--pow,#ffd23f)}
.netProfileSheet .frCard,.netProfileSheet .clProfile{width:100%;max-width:560px;margin:0 auto;box-sizing:border-box;min-width:0}
.netProfileSheet .clPublicIdentity{display:flex;justify-content:center}
.netProfileSheet .clPublicIdentity .cppCard{max-width:none;padding:20px;border:2px solid #9eb2cf;box-shadow:0 4px 0 var(--ink,#100c21)}
.netProfileSheet .clPublicIdentity .cppIdentity>.clAvatar.clPublicAvatar{width:88px;height:88px;flex-basis:88px}
.netProfileSheet .clPublicIdentity .cppIdentity>.clAvatar.clPublicAvatar>.clPublicAvatarArt{display:block;width:80px;height:80px;max-width:80px;max-height:80px;object-fit:contain;flex:none}
.netProfileSheet .clPublicIdentity .clPublicAvatarArt canvas,.netProfileSheet .clPublicIdentity .clPublicAvatarArt img,.netProfileSheet .clPublicIdentity .clPublicAvatarArt svg{display:block;width:100%;height:100%;object-fit:contain}
.netProfileSheet .clProfileHead{padding:18px;border:2px solid #9eb2cf;background:#182138}
.netProfileSheet .clProfileHead .clProfileName{font:30px/1.1 Bangers,system-ui,sans-serif}
.netProfileSheet .clPublicUnavailable{padding:12px;border-left:3px solid #9eb2cf;background:#111a2b;color:#d6e5fa;line-height:1.5;font-size:13px;opacity:1}
.netProfileSheet .clProfileStats{gap:10px;margin:16px 0}
.netProfileSheet .clProfileStat{padding:14px 12px;background:#111a2b;color:#fff8e7;border:1px solid #536887;font:900 14px/1.45 Nunito,system-ui,sans-serif;overflow-wrap:anywhere}
.netProfileSheet .clProfileLeader{padding:12px;background-color:#182138;border:1px solid #536887;border-radius:8px;font-size:14px}
.netProfileSheet .clProfileLineup{gap:8px;margin:12px 0 20px}
.netProfileSheet .clProfileCard{padding:8px 4px;font:800 12px/1.4 Nunito,system-ui,sans-serif;border:1px solid #536887}
.netProfileSheet .clProfileMissing{line-height:1.5;font-size:13px}
.netProfileSheet .netBody,.netProfileSheet .hqNote{max-width:560px;margin:12px auto;font-size:14px;line-height:1.5}
.netProfileSheet .netRow2{max-width:560px;margin:12px auto}
.netProfileSheet button{min-height:44px;max-width:100%;overflow-wrap:anywhere}
.netProfileSheet button:focus-visible{outline:3px solid #fff0bd;outline-offset:3px}
@media(max-width:360px){#netOv.netProfilePage #netCard.netProfileSheet{padding-left:12px;padding-right:12px}.netProfileSheet .netProfileHead{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.netProfileSheet .clProfileLineup{grid-template-columns:repeat(3,minmax(0,1fr))}.netProfileSheet .netProfileTitle{font-size:21px}.netProfileSheet .clPublicIdentity .cppCard{padding:16px 12px}}
/* Keep truthful missing-stat words intact inside a framed 320px public card. */
@media(max-width:360px){.netProfileSheet .clProfileStatMissing{font-size:12px;overflow-wrap:normal}}
/* W497: full public lineup names keep whole words on narrow portrait screens. */
@media(max-width:430px){.netProfileSheet .clProfile .clProfileLineup{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* 1.0m RC2 Q5 (J, phone-4 "big, blocky ... the 3-0 is all jarbled up"): a stat tile is a small label on top (icon beside it) and the value
   under it on one line; four even tiles, readable from 280 px up */
#profileScr .pfRecs{grid-template-columns:repeat(2,minmax(0,1fr))}
#profileScr .pfRec.pfRecTile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 6px;text-align:center;min-width:0;box-sizing:border-box;height:96px}
#profileScr .pfRec.pfRecTile .pfRecLbl{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11.5px;line-height:1.2;letter-spacing:.6px;color:#c9bff0;max-width:100%}
#profileScr .pfRec.pfRecTile .pfRecLbl .ci{width:16px;height:16px;flex:0 0 16px}
#profileScr .pfRec.pfRecTile .pfRecVal{font-size:26px;line-height:1;white-space:nowrap;letter-spacing:1px}
#profileScr .pfRecs > button{grid-column:1 / -1}
