.profile-page-body{min-height:100vh;background:#031113;color:#edf8f4}.profile-page-body .page-bg{position:fixed;inset:0;z-index:-2;background:linear-gradient(100deg,rgba(2,15,17,.91),rgba(2,15,18,.76)),url("assets/terrain-background.png") center/cover no-repeat}.profile-page-main{min-height:calc(100vh - 76px);padding:50px 0 100px}.profile-hero{width:min(1180px,calc(100% - 32px))}.profile-title{margin-bottom:32px}.profile-title>span{color:#00edac;font:800 .62rem/1 "Orbitron",sans-serif;letter-spacing:.18em}.profile-title h1{margin:9px 0 7px;color:#f1f8f6;font:900 clamp(2.7rem,6vw,4.8rem)/.88 "Orbitron",sans-serif;letter-spacing:-.06em}.profile-title p{margin:0;color:#91a59f}.profile-shell{border:1px solid rgba(103,163,146,.34);background:rgba(3,18,20,.94)}.profile-summary{display:flex;align-items:center;gap:20px;padding:24px 28px;border-bottom:1px solid rgba(103,163,146,.25);background:linear-gradient(105deg,rgba(0,237,172,.055),transparent)}.profile-page-avatar{position:relative;width:82px;height:82px;padding:0;border:1px solid #00edac;border-radius:0;background:#061a1b;cursor:pointer}.profile-page-avatar>span{display:grid;place-items:center;overflow:hidden;width:100%;height:100%;color:#00edac;font:900 1.2rem "Orbitron",sans-serif}.profile-page-avatar img{width:100%;height:100%;object-fit:cover}.profile-page-avatar i{position:absolute;right:-6px;bottom:-6px;display:grid;place-items:center;width:24px;height:24px;color:#021510;background:#00edac;font-style:normal}.profile-summary small{color:#00edac;font-size:.56rem;font-weight:900;letter-spacing:.14em}.profile-summary h2{margin:7px 0 3px;font:900 1.35rem "Orbitron",sans-serif}.profile-summary p{margin:0;color:#829790;font-size:.78rem}.profile-editor-dark{padding:28px}.profile-guest{display:grid;justify-items:center;max-width:680px;margin:65px auto 0;padding:48px 30px;border:1px solid rgba(103,163,146,.38);background:rgba(3,18,20,.94);text-align:center}.profile-guest-icon{display:grid;place-items:center;width:72px;height:72px;border:1px solid #00edac;color:#00edac;font-size:30px}.profile-guest h2{margin:20px 0 8px;font:900 clamp(1.25rem,3vw,1.8rem) "Orbitron",sans-serif}.profile-guest p{max-width:480px;margin:0 0 22px;color:#8da19b;line-height:1.65}.profile-guest .primary-btn{position:relative!important;inset:auto!important;transform:none!important}.profile-page-body .pf-heading h3,.profile-page-body .pf-identity strong{color:#edf8f4}.profile-page-body .pf-heading p,.profile-page-body .pf-identity p,.profile-page-body .pf-form small{color:#80968f}.profile-page-body .pf-chip{border-color:rgba(0,237,172,.36);color:#00edac;background:#06211e}.profile-page-body .pf-identity{border:1px solid rgba(103,163,146,.28);border-radius:0;background:#06191a}.profile-page-body .pf-form label{color:#b9cbc5}.profile-page-body .pf-form input,.profile-page-body .pf-form select,.profile-page-body .pf-form textarea{border-color:rgba(103,163,146,.32);border-radius:0;color:#edf8f4;background:#041416}.profile-page-body .pf-secondary{border-color:#45655c;color:#d9e9e4;background:#071c1d}.profile-page-body .pf-text{color:#8ca39c}.profile-page-body .pf-form-footer{border-color:rgba(103,163,146,.24)}
@media(max-width:640px){.profile-page-main{padding:22px 0 78px}.profile-hero{width:calc(100% - 24px)}.profile-title{margin-bottom:18px}.profile-title h1{font-size:2.4rem}.profile-title p{font-size:.78rem;line-height:1.5}.profile-summary{align-items:flex-start;padding:18px 15px}.profile-page-avatar{width:62px;height:62px;flex:0 0 62px}.profile-summary h2{font-size:1rem}.profile-editor-dark{padding:18px 14px}.profile-guest{margin-top:25px;padding:35px 18px}}

@media(hover:hover) and (pointer:fine){.profile-page-body :is(.pf-primary,.pf-secondary,.pf-text,.profile-page-avatar):hover{transform:none!important;filter:none!important;opacity:1!important}.profile-page-body .pf-primary:hover{color:#f5fffb!important;border-color:#35eebc!important;background:#0b5946!important;background-image:linear-gradient(105deg,#0d765b,#0a4b3d)!important}.profile-page-body .pf-secondary:hover{color:#eafff8!important;border-color:#26c99e!important;background:#0a302b!important}.profile-page-body .pf-text:hover{color:#35eebc!important;background:transparent!important}}

/* Account-center layout matching the PieNoir game portal. */
.profile-page-main{position:relative;min-height:calc(100vh - 76px);padding:66px 0 150px}.profile-watermark{position:absolute;top:8px;left:max(8vw,40px);color:rgba(214,245,237,.045);font:900 clamp(4rem,8vw,8rem)/1 "Orbitron",sans-serif;letter-spacing:-.08em;pointer-events:none}.profile-title{position:relative;z-index:1;margin-bottom:42px;padding-left:10%}.profile-shell{width:min(680px,100%);margin:0 auto;background:#061719}.profile-guest{max-width:680px;margin:0 auto;padding:38px 30px 37px;background:#061719}.profile-guest-icon{width:82px;height:82px;transform:skew(-5deg)}.profile-guest-icon svg{width:38px;fill:none;stroke:currentColor;stroke-width:1.6;transform:skew(5deg)}.profile-discord-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:49px;padding:0 28px;color:#031713!important;border:1px solid #00edac;background:#00edac;font-weight:900}.profile-complete:before{content:"↪"!important}.profile-bottom-nav{position:fixed;z-index:90;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,minmax(90px,145px));justify-content:center;height:86px;border-top:1px solid rgba(91,145,130,.22);background:#031113}.profile-bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#687b76;font-size:.66rem;font-weight:800}.profile-bottom-nav a>span{font-size:1.15rem}.profile-bottom-nav a.active{color:#f0f8f5;background:linear-gradient(180deg,rgba(0,237,172,.025),rgba(0,237,172,.1));box-shadow:inset 0 -3px #00edac}.profile-bottom-nav .profile-gift{z-index:1;color:#00edac}.profile-bottom-nav .profile-gift:before{content:"";position:absolute;z-index:-1;inset:-22px 0 0;border:1px solid rgba(0,237,172,.4);background:linear-gradient(180deg,#0a312b,#075b47);clip-path:polygon(50% 0,100% 76%,86% 100%,14% 100%,0 76%)}
@media(max-width:640px){.profile-page-main{padding:28px 0 108px}.profile-watermark{top:2px;left:12px;font-size:3.8rem}.profile-title{margin-bottom:24px;padding-left:0}.profile-bottom-nav{grid-template-columns:repeat(5,1fr);height:70px}.profile-bottom-nav a{font-size:.52rem}.profile-bottom-nav .profile-gift:before{inset:-13px 0 0}.profile-complete{font-size:.54rem!important}}

@media(min-width:1100px){.profile-hero{width:min(1540px,calc(100% - 72px));max-width:none}.profile-title{padding-left:9%;font-size:1.04rem}.profile-shell,.profile-guest{width:min(760px,58vw);max-width:none}.profile-guest{padding:46px 38px 45px}.profile-bottom-nav{grid-template-columns:repeat(5,minmax(150px,190px));height:88px}}

/* Profile content only; global header/category remain identical to the main site. */
.profile-page-main{min-height:calc(100vh - 76px);padding:54px 0 90px}.profile-watermark{display:none}.profile-title{margin-bottom:36px;padding-left:0}.profile-title h1{font-size:clamp(2.45rem,4.4vw,4rem)}.profile-title p{font-size:.86rem}.profile-shell,.profile-guest{width:min(680px,100%);max-width:680px}.profile-guest{padding:36px 28px 34px}.profile-bottom-nav{display:none!important}
@media(min-width:1100px){.profile-hero{width:min(1540px,calc(100% - 72px))}.profile-title{width:min(1120px,100%);margin-right:auto;margin-left:auto;padding-left:0}.profile-shell,.profile-guest{width:min(680px,55vw);max-width:680px}}
@media(max-width:640px){.profile-page-main{padding:25px 0 72px}.profile-title{margin-bottom:22px}.profile-shell,.profile-guest{width:100%}}
