/* Shared slim competitor list */
.player-list{gap:0 1.75rem}.player-card,.player-list.compact .player-card{border:0;border-bottom:1px solid #303036;border-radius:0;background:transparent;box-shadow:none}.player-card-link{padding:12px 4px;gap:12px}.player-card:hover{background:#ffffff05}.player-card .avatar{width:38px;height:38px;background:#1b1519;border:1px solid #76303a}.player-identity>span:not(.player-name){font-size:.7rem}.player-name{font-weight:700}.player-rating strong{font-size:1rem}.player-record{font-size:.72rem}
.themed-profile{position:relative;isolation:isolate;overflow:hidden;padding-top:2rem;padding-bottom:1.25rem;background:#121215;min-height:360px;border-bottom:1px solid #393940}.profile-theme-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.themed-profile::before,.theme-live-preview::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,8,12,.94),rgba(7,8,12,.66) 55%,rgba(7,8,12,.25));z-index:-1}.profile-theme-title{position:absolute;right:2rem;top:1rem;font-size:.65rem;letter-spacing:.12em;text-transform:uppercase;background:#08090de6;padding:.35rem .7rem;border-radius:20px;color:#f0f0f4}.profile-title-row{padding-top:1.5rem;gap:1.4rem}.profile-heading h1{font-size:clamp(2.2rem,5vw,4.2rem)}.profile-title-row .avatar-hero{width:80px;height:80px;border-radius:50%;background:#111116e6;border:2px solid #dedee5;color:#fff}.profile-heading p{color:#d4d4dc}.profile-metrics{display:flex;flex-wrap:wrap;gap:2rem;background:transparent;border:0;margin-top:1.6rem}.profile-metrics>*{background:none;border:0;padding:0}.profile-metrics strong{font-size:1.4rem}.profile-overview,.profile-detail-grid .detail-primary,.profile-detail-grid .detail-sidebar{background:none;border:0;box-shadow:none}.profile-facts{gap:0 1.5rem}.profile-facts>div{background:none;border:0;border-bottom:1px solid #303038;border-radius:0;padding:.8rem 0}.profile-content .match-card{border:0;border-bottom:1px solid #303038;background:none;border-radius:0}.profile-content .match-row{padding:.8rem 0}
.theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.2rem;margin:1.5rem 0}.theme-choice{border:1px solid #3c3c44;border-radius:10px;overflow:hidden;background:#131318}.theme-choice>img{width:100%;height:130px;object-fit:cover}.theme-choice>div{padding:1rem}.theme-choice h3{margin:0}.theme-choice p,.theme-choice small{font-size:.8rem}.theme-choice small{color:#c7c7d1}.theme-choice button{font-size:.8rem;padding:.45rem .8rem}.theme-live-preview{position:relative;isolation:isolate;overflow:hidden;min-height:210px;border-radius:12px;background:#101015;margin:1.5rem 0}.theme-live-preview>div{padding:5rem 2rem 2rem;display:grid;gap:.5rem}.theme-live-preview strong{font-size:1.6rem}.theme-live-preview span:not(.profile-theme-title){color:#cfcfd7;font-size:.85rem}.theme-admin-form{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.5rem 0;max-width:1000px}.theme-admin-form label,[data-theme-grant] label{display:grid;gap:.4rem}.theme-admin-form small{color:#c7c7d1}.theme-admin-form input:not([type=checkbox]),.theme-admin-form select,.theme-admin-form textarea,[data-theme-grant] input,[data-theme-grant] select{width:100%;padding:.6rem;background:#17171d;border:1px solid #55555f;border-radius:5px;color:#fff}.theme-admin-form .theme-live-preview,.theme-admin-form [role=status]{grid-column:1/-1}.theme-admin-form input[type=color]{height:44px}.theme-admin-form input[type=checkbox]{width:20px;height:20px}[data-theme-grant]{display:grid;gap:1rem;max-width:600px;margin:1.5rem 0}
@media(max-width:640px){.theme-admin-form{grid-template-columns:1fr}.profile-title-row{flex-wrap:wrap}.profile-title-row .rating-block{margin-left:0}.profile-metrics{gap:1.25rem}.profile-theme-title{right:1rem;font-size:.55rem}.themed-profile{padding-top:3rem}.theme-live-preview strong{font-size:1.3rem}.player-card-link{gap:8px}.player-card .avatar{width:32px;height:32px}.player-rating span{font-size:.6rem}.player-list{grid-template-columns:1fr}}

.themed-account{--account-accent:#ed303b;background:linear-gradient(180deg,#141419,#080809 650px)}
.themed-account .account-masthead{position:relative;isolation:isolate;overflow:hidden;min-height:260px;padding-top:3.5rem;padding-bottom:2.5rem;border-bottom:2px solid var(--account-accent);background:#111116}
.account-theme-art{position:absolute;inset:0;z-index:-2;pointer-events:none}
.themed-account .account-masthead::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#08090df2,#08090dcc 55%,#08090d80)}
.themed-account .account-masthead h1{color:#fff}.themed-account .account-masthead p{color:#dddde5}
.themed-account .member-overview{border-bottom:1px solid var(--account-accent)}
.themed-account .member-panel{border-top-color:var(--account-accent)}
.themed-account input:focus-visible,.themed-account select:focus-visible,.themed-account textarea:focus-visible{outline-color:var(--account-accent)}
@media(max-width:640px){.themed-account .account-masthead{padding-top:4rem;min-height:300px}.themed-account .account-actions{flex-wrap:wrap}}

/* Compact player cards share the equipped profile artwork. */
.player-card.player-card-themed{position:relative;isolation:isolate;overflow:hidden;border-left:3px solid var(--player-card-accent,#ed303b);background:#101014}
.player-card-theme-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.6;z-index:-2;pointer-events:none}
.player-card-themed::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,9,13,.92) 0%,rgba(8,9,13,.74) 48%,rgba(8,9,13,.88) 100%);pointer-events:none}
.player-card-themed .player-card-link{position:relative;min-height:96px;color:#fff}
.player-card-themed .avatar{border-color:var(--player-card-accent,#ed303b);color:var(--player-card-accent,#ed303b);background:#101219}
.player-card-themed .player-card-theme-name{display:block;font-size:.64rem;line-height:1.3;color:#d6d8df;letter-spacing:.035em;font-weight:500;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player-card-themed .player-identity{min-width:0}
.player-card-themed .player-card-link:focus-visible{outline:2px solid #fff;outline-offset:-4px}
@media(prefers-reduced-motion:no-preference){.player-card-theme-art{transition:opacity .15s ease}}

/* Uploaded player photos retain the existing theme and initials fallback. */
.avatar { position:relative; overflow:hidden; flex-shrink:0; }
.avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.photo-editor { display:grid; gap:1rem; }
.photo-editor label { display:grid; gap:.5rem; }
.photo-moderation-row { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; padding:1rem 0; border-bottom:1px solid #333; }
.photo-moderation-row label { display:grid; gap:.4rem; flex:1 1 200px; }
.photo-moderation-row p { flex-basis:100%; }

/* One continuous artwork environment behind the existing profile/account layout. */
.profile-world{position:relative;isolation:isolate;background:#09090c;--profile-accent:#ed303b}
.theme-world-background{position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:clip}
.theme-world-viewport{position:sticky;top:0;height:100vh;min-height:500px;background:#09090c}
.theme-world-viewport>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center;opacity:.85}
.theme-world-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,7,11,.9),rgba(6,7,11,.63) 55%,rgba(6,7,11,.38))}
.profile-world .themed-profile,.profile-world.themed-account .account-masthead{background:transparent;border-bottom:1px solid var(--profile-accent)}
.profile-world .themed-profile::before,.profile-world.themed-account .account-masthead::before{background:transparent}
.profile-world .themed-profile>.profile-theme-art,.profile-world .account-theme-art>.profile-theme-art{display:none}
.profile-world .profile-content{background:transparent}
.profile-world .side-panel,.profile-world .member-panel,.profile-world .member-overview{background:rgba(7,9,14,.78);border-color:color-mix(in srgb,var(--profile-accent) 30%,#34343e)}
.profile-world .profile-facts>div,.profile-world .match-card{border-bottom-color:color-mix(in srgb,var(--profile-accent) 30%,#34343e)}
.profile-world .section-heading .eyebrow,.profile-world .profile-heading .eyebrow{color:var(--profile-accent)}
.restriction-notice{position:relative;color:#fff;background:#141419;border:1px solid var(--profile-accent,#93939d);border-left-width:5px;padding:.85rem 1rem;font-size:.85rem;font-weight:700;letter-spacing:.02em}
.restriction-notice[hidden]{display:none}
.account-restriction{margin:0;padding-inline:max(4vw,calc((100vw - var(--max))/2))}
.profile-world[data-restriction="Suspended"]{--profile-accent:#f2b544}
.profile-world[data-restriction="Suspended"] .restriction-notice{background:#30220c;color:#ffdf9a}
.profile-world[data-restriction="Banned"]{--profile-accent:#93939d;background:#020203}
.profile-world[data-restriction="Banned"] .theme-world-viewport>img{opacity:.55;filter:grayscale(1)}
.profile-world[data-restriction="Banned"] .restriction-notice{background:#060607;color:#dedee7}
.profile-world[data-restriction="Banned"] .avatar img,.player-card[data-restriction="Banned"] .avatar img{filter:grayscale(1);opacity:.7}
.player-card[data-restriction="Banned"]{background:#020203;border-left-color:#93939d}
.player-card[data-restriction="Banned"] .player-card-theme-art{filter:grayscale(1);opacity:.3}
.player-card[data-restriction="Suspended"]{border-left-color:#f2b544;background:#241b0b}
.player-card[data-restriction="Suspended"] [data-player-card-theme-name]{color:#ffdf9a;font-weight:700}
.player-card[data-restriction="Banned"] [data-player-card-theme-name]{color:#dddde6;font-weight:700}
@media(max-width:640px){.theme-world-viewport>img{object-position:75% center}.theme-world-shade{background:rgba(6,7,11,.73)}}
