/* Player surfaces extend the existing orange / blue-grey personal workspace. */
/* Workspace forms already sit inside a padded card, unlike login forms. */
.lp.is-center #playerPublicForm{padding:0;gap:0}
.lp.is-center #playerPublicForm .pp-fields{margin:0 0 20px}
.pp-summary{display:flex;flex-wrap:wrap;gap:10px 22px;padding:16px 0 20px;color:#b9c6d4;font-size:12px;border-bottom:1px solid #ffffff12}.pp-summary b{color:#edf3f9;font-variant-numeric:tabular-nums;margin-right:4px}.pp-match-list{display:grid}.pp-match{display:flex;align-items:center;gap:14px;padding:18px 0;color:#edf3f9;text-decoration:none;border-bottom:1px solid #ffffff10;transition:background-color .2s ease,color .2s ease}.pp-match:hover{color:#ffc453;background:#ffc45306}.pp-match:focus-visible{outline:2px solid #ffc453;outline-offset:3px}.pp-match-result{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:8px;font-size:12px;font-weight:700}.pp-match-result.is-win{background:#63cca91a;color:#86dec0}.pp-match-result.is-loss{background:#ec8c9414;color:#f0a3aa}.pp-match-teams{flex:1;min-width:0}.pp-match-teams strong{display:block;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.pp-match-teams strong>span{white-space:nowrap;color:#ffc453;font-variant-numeric:tabular-nums;margin-inline:5px}.pp-match small{display:block;color:#afbecd;font-size:11px;margin-top:5px}.pp-match-kd{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.pp-match-kd small{font-size:10px}.pp-match>.pc-icon{width:15px;flex:none;color:#a8b7c6}.pp-note{font-size:11px;color:#aabaca;line-height:1.7;margin:16px 0 0}.pp-fields{display:grid;gap:17px;margin:20px 0}.pp-field{display:grid;gap:8px;color:#c5d0dc;font-size:12px}.pp-field input,.pp-field select,.pp-field textarea,.pp-share input{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #526275;border-radius:8px;background:#111b27;color:#eef3f9;font:inherit;padding:10px 12px;caret-color:#ffc453;accent-color:#ffc453;outline:none}.pp-field textarea{min-height:90px;resize:vertical;line-height:1.7}.pp-field :is(input,select,textarea):focus-visible,.pp-share input:focus-visible{border-color:#ffc453;box-shadow:0 0 0 2px #ffc45318}.pp-field small{justify-self:end;color:#afbecd;font-size:11px}.pp-visibility{display:flex;align-items:flex-start;gap:12px;line-height:1.7}.pp-visibility input{width:17px;height:17px;flex:none;margin-top:4px;accent-color:#f5a623}.pp-visibility strong{display:block;font-size:14px}.pp-visibility small{color:#b6c3d2;font-size:12px}.pp-share{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.pp-share input{flex:1 1 240px;min-width:0;font-size:12px}.pp-share[hidden]{display:none}.pp-public-description{padding:0 28px 20px;margin:0;color:#bdcad8;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.pp-field select option{background:#15202c}.player-page{margin:0;min-height:100vh;background:#0c1119;color:#edf3f9;font-family:Arial,'Microsoft YaHei',sans-serif;color-scheme:dark}.pp-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px max(24px,calc((100vw - 1100px)/2));border-bottom:1px solid #ffffff15;background:#101822d9}.pp-brand{display:flex;gap:13px;align-items:center;color:#ffc453;text-decoration:none;font-weight:700;letter-spacing:2px;font-size:20px}.pp-brand small{display:block;color:#d5dfea;font-size:9px;letter-spacing:3px;margin-top:5px}.pp-page{position:relative;max-width:1040px;margin:36px auto;padding:0 24px 60px}.pp-profile{overflow:hidden}.pp-profile h1{margin:0 0 8px;font-size:30px;overflow-wrap:anywhere}.pp-bio{margin:0;padding:0 28px 22px;color:#c1cdda;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.pp-stats{margin:0 28px 26px}.pp-history{margin-top:22px}.pp-history h2{font-size:19px;margin:0}.pp-feedback{color:#b6c5d5;line-height:1.8}.player-page ::selection{background:#f5a62345;color:#fff}.player-page a:focus-visible,.pp-visibility input:focus-visible{outline:2px solid #ffc453;outline-offset:4px}
@media(max-width:620px){.pp-top{padding:17px 16px;gap:10px}.pp-brand{font-size:17px;letter-spacing:1px}.pp-top .pc-button{font-size:11px;padding:9px}.pp-page{margin-top:20px;padding:0 12px 36px}.pp-profile h1{font-size:24px}.pp-bio,.pp-public-description{padding-inline:20px}.pp-stats{margin-inline:18px}.pp-history{padding:20px}.pp-match{gap:9px}.pp-match-kd{font-size:12px}.pp-match>.pc-icon{display:none}.pp-share .pc-button{flex:1;justify-content:center}.pp-match-teams strong{font-size:12px}.pp-summary{gap:9px 15px}}
@media(prefers-reduced-motion:reduce){.pp-match{transition:none}}
/* Keep the public editor and profile preview in the same full-width workspace. */
.pc-content [data-center-page="public"]:not([hidden]){display:grid;gap:20px}.pc-content [data-center-page="public"]>.pc-info{margin:0}.pp-profile .pc-avatar img{width:100%;height:100%;object-fit:cover}

/* Team identity owns the cover atmosphere; website operations stay orange. */
.pp-role-field{min-width:0;margin:0;padding:0;border:0}.pp-role-field legend{padding:0;margin:0 0 10px;color:#c5d0dc;font-size:12px}.pp-role-field legend>span{margin-left:9px;color:#afbecd;font-size:11px}.pp-role-options,.pp-role-tags{display:flex;flex-wrap:wrap;gap:8px}.pp-role-choice{position:relative;cursor:pointer}.pp-role-choice input{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.pp-role-choice>span{display:flex;align-items:center;gap:6px;min-height:39px;padding:8px 13px;box-sizing:border-box;border:1px solid #526275;border-radius:8px;background:#162332;color:#c4d0dd;font-size:12px;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.pp-role-choice .pc-icon{width:13px;height:13px;opacity:0}.pp-role-choice input:checked+span{background:#f5a6231c;border-color:#d5a453;color:#ffcf85}.pp-role-choice input:checked+span .pc-icon{opacity:1}.pp-role-choice input:focus-visible+span{outline:2px solid #ffc453;outline-offset:3px}.pp-role-choice input:disabled+span{opacity:.55;cursor:not-allowed}.pp-role-tag{display:inline-flex;align-items:center;padding:3px 9px;border-radius:5px;border:1px solid #b6ccdf30;background:#b6ccdf0d;color:#d4e1ee;font-size:11px;line-height:1.6}.pp-role-empty{font-size:12px;color:#afbecd}
@media(hover:hover){.pp-role-choice input:not(:disabled)+span:hover{background:#314253;border-color:#9baec4}.pp-role-choice input:checked:not(:disabled)+span:hover{background:#f5a62328;border-color:#efc078}}
@media(prefers-reduced-motion:reduce){.pp-role-choice>span{transition:none}}
.pc-profile-cover.pp-team-cover{
 --pp-team-rgb:144,165,193;
 height:120px;box-sizing:border-box;isolation:isolate;padding:20px 30px;
 background:transparent;
 border-bottom:0;
}
.pp-team-cover::after{content:"";position:absolute;inset:0 0 -44px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 18% -16%,rgba(var(--pp-team-rgb),.32),transparent 68%),linear-gradient(180deg,#ffffff05,transparent 85%);box-shadow:inset 0 1px 0 #ffffff10}
.pp-team-lockup{display:flex;align-items:center;gap:17px;min-width:0}
.pp-team-lockup>div{min-width:0}.pp-team-lockup strong{display:block;color:#f4edf4;font-family:Arial,'Microsoft YaHei',sans-serif;font-size:19px;line-height:1.5;font-weight:600;letter-spacing:.01em;overflow-wrap:anywhere}
.pp-team-lockup small{display:block;color:#c2c8d4;font-size:11px;letter-spacing:.08em;margin-top:5px}
.pp-team-crest{position:relative;display:grid;place-items:center;width:70px;height:70px;flex:none;padding:4px;box-sizing:border-box;border-radius:21px;background:linear-gradient(145deg,#fff9fc,#f2e6ec);box-shadow:0 9px 22px -9px #0009,0 1px 3px #0002}
.pc-profile-cover .pp-team-crest img{display:block;width:100%;height:100%;object-fit:cover;opacity:1;filter:none;transform:none;border-radius:17px}
.pp-team-crest,.pp-team-crest>span{font-size:23px;color:#61465b;font-weight:600}
.pc-profile-cover>.pp-cover-wordmark{margin-left:25px;color:rgba(var(--pp-team-rgb),.53);font-size:20px;white-space:nowrap;flex:none}
.pp-team-cover--empty{justify-content:flex-end}.pp-team-cover--empty>span{color:#9caec0;font-size:20px}
#playerTeamCover{min-width:0}
.pc-public-profile>.pc-identity-top{margin-top:2px}
@media(max-width:760px){.pc-profile-cover.pp-team-cover{height:112px;padding:20px 22px}.pp-team-lockup{gap:13px}.pp-team-lockup strong{font-size:17px}.pp-team-crest{width:62px;height:62px;border-radius:19px}.pc-profile-cover .pp-team-crest img{border-radius:15px}.pc-profile-cover>.pp-cover-wordmark{font-size:16px}}
@media(max-width:620px){.pc-profile-cover.pp-team-cover{height:112px;padding:20px}.pc-profile-cover>.pp-cover-wordmark{display:none}.pp-team-lockup strong{font-size:17px}.pp-team-lockup small{font-size:10px}}

/* Shared history in personal workspace, preview and public profiles. */
.pp-match-rt{min-width:36px;text-align:right;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.pp-match-rt small{font-size:10px}.pp-campus-badge{gap:4px;margin-right:6px}.pp-campus-badge .pc-icon{width:14px;height:14px}@media(max-width:620px){.pp-match-rt{font-size:12px;min-width:32px}}
.pc-badge[hidden]{display:none}.pp-steam-badge{background:#3b82c42b;color:#acd5ff;border-color:#69a8e56b;gap:4px}.pp-steam-badge .pc-icon{width:14px;height:14px}

/* One identity-chip geometry across the workspace, preview and public page.
   Reset the older Steam-only top margin so flex stretching cannot enlarge campus. */
.pc-badges{align-items:center}
.pc-badges>.pc-badge{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:5px;height:28px;min-height:28px;min-width:116px;margin:0;padding:0 9px;font-size:11px;line-height:1;border-radius:999px}
.pc-badges>.pc-badge .pc-icon{display:block;width:14px;height:14px;flex:0 0 14px;margin:0}
.pc-badges>.pc-badge[hidden]{display:none}
