.player-profile{max-width:640px;margin:0 auto;background:rgba(255,255,255,0.04);border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,0.6);}
.prof-header{background:linear-gradient(135deg,#1c2a4a,#0d1825);padding:24px;display:flex;align-items:center;gap:20px;border-bottom:2px solid rgba(249,200,14,0.25);flex-wrap:wrap;}
.prof-header img.skin{width:110px;height:110px;border:4px solid var(--y);border-radius:18px;object-fit:cover;box-shadow:0 0 30px rgba(249,200,14,0.3);flex-shrink:0;cursor:pointer;transition:transform 0.15s;}
.prof-header img.skin:hover{transform:scale(1.05);}
.prof-header .prof-info .prof-name{font-family:'Lilita One',cursive;font-size:1.8rem;color:white;text-shadow:2px 2px 0 #000;line-height:1.1;word-break:break-word;}
.online-badge{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:0.5px;}
.online-badge .dot{width:9px;height:9px;border-radius:50%;}
.online-badge.on .dot{background:#2ecc71;box-shadow:0 0 8px #2ecc71;}
.online-badge.on{color:#2ecc71;}
.online-badge.off .dot{background:#555;}
.online-badge.off{color:#777;}
.prof-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));border-bottom:1px solid var(--border);background:rgba(0,0,0,0.2);}
.stat-box{padding:16px 12px;text-align:center;border-right:1px solid var(--border);}
.stat-box:last-child{border-right:none;}
.stat-val{font-family:'Lilita One',cursive;font-size:1.4rem;color:var(--y);text-shadow:1px 1px 0 #000;}
.stat-lbl{font-size:10px;color:var(--sub);font-weight:800;text-transform:uppercase;letter-spacing:0.5px;margin-top:3px;}
.prof-details{padding:16px 24px;}
.drow{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.04);font-size:14px;gap:10px;flex-wrap:wrap;}
.drow:last-child{border-bottom:none;}
.dkey{font-weight:900;color:var(--sub);text-transform:uppercase;font-size:11px;letter-spacing:0.5px;flex-shrink:0;}
.dval{font-weight:700;color:white;text-align:right;}
.clan-pill{display:inline-flex;align-items:center;gap:7px;background:rgba(249,200,14,0.12);border:1px solid rgba(249,200,14,0.35);color:var(--y);padding:4px 12px;border-radius:20px;font-size:12px;font-weight:800;}
.rank-badge{display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:13px;}
.rank-badge img{width:26px;height:26px;object-fit:contain;}
.emotes-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px;}
.emote-chip{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);border-radius:10px;padding:7px 12px;font-size:11px;font-weight:700;transition:background 0.15s;}
.emote-chip:hover{background:rgba(255,255,255,0.1);}
.emote-chip img{width:36px;height:36px;object-fit:contain;border-radius:6px;}
.last-seen{font-size:11px;color:#888;font-style:italic;}
.prof-tabs{display:flex;border-bottom:2px solid rgba(255,255,255,0.06);background:rgba(0,0,0,0.15);}
.prof-tab-btn{flex:1;background:transparent;border:none;color:#777;padding:12px 8px;font-family:'Nunito',sans-serif;font-weight:900;font-size:12px;cursor:pointer;text-transform:uppercase;letter-spacing:0.5px;transition:all 0.2s;border-bottom:2px solid transparent;margin-bottom:-2px;}
.prof-tab-btn:hover{color:#fff;background:rgba(255,255,255,0.04);}
.prof-tab-btn.active{color:var(--y);border-bottom-color:var(--y);background:rgba(249,200,14,0.05);}
.prof-tab-content{display:none;}
.prof-tab-content.active{display:block;}
.uname-history-list{display:flex;flex-direction:column;gap:6px;padding:16px 24px;}
.uname-history-item{display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.06);border-radius:10px;padding:10px 14px;gap:10px;flex-wrap:wrap;}
.uname-history-name{font-weight:800;font-size:13px;color:white;}
.uname-history-date{font-size:11px;color:#666;font-weight:700;}
.uname-history-current{font-size:10px;font-weight:900;background:rgba(249,200,14,0.15);color:var(--y);border:1px solid rgba(249,200,14,0.3);padding:2px 8px;border-radius:6px;text-transform:uppercase;}
@media(max-width:600px){
.prof-header{padding:16px;gap:14px;}.prof-header img.skin{width:80px;height:80px;border-radius:12px;}.prof-header .prof-info .prof-name{font-size:1.4rem;}.stat-val{font-size:1.2rem;}.stat-lbl{font-size:9px;}.prof-details{padding:12px 16px;}
}