.playerstat-wrapper{max-width:1240px;margin:20px auto 40px;color:#fff;font-family:'Jost',sans-serif;}
.playerstat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
.playerstat-title{font-size:40px;font-weight:800;margin:0;}
.playerstat-tabs{display:flex;gap:0;margin:6px 0 14px;background:#67708a;border-radius:6px;padding:4px;}
.stat-tab{flex:1;padding:6px 10px;text-align:center;border-radius:4px;cursor:pointer;font-size:13px;font-weight:700;color:#f4f6fb;transition:0.2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.stat-tab.active{background:#8650f0;color:#fff;}
.stat-content{background:#2e2750;border-radius:8px;padding:12px;}
.stat-table{width:100%;border-collapse:separate;border-spacing:0 4px;background:transparent;}
.stat-table th,.stat-table td{padding:9px 10px;text-align:left;border:0;}
.stat-table th{color:#bcb4d8;font-weight:700;font-size:13px;}
.icon-head{text-align:center !important;}
.th-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1;color:#bcb4d8;}
.th-icon svg{display:block;width:auto;height:18px;}
.stat-table tbody tr{background:#302852;border-radius:6px;}
.stat-table tbody tr td:first-child{border-left:2px solid transparent;border-radius:6px 0 0 6px;}
.stat-table tbody tr:first-child td:first-child{border-left-color:#39d68d;}
.stat-table tbody tr td:last-child{border-radius:0 6px 6px 0;}
.rank-col{width:52px;font-weight:800;text-align:left;font-size:18px;line-height:1;}
.player-col{display:flex;align-items:center;gap:10px;}
.player-info-wrap{display:flex;flex-direction:column;gap:3px;}
.player-img{width:34px;height:34px;border-radius:999px;object-fit:cover;}
.player-name{font-weight:700;font-size:15px;color:#fff;text-decoration:none;}
.player-name:hover{text-decoration:underline;}
.player-team{color:#ddd5ef;font-size:14px;font-weight:600;}
.player-team-row{display:flex;align-items:center;gap:6px;color:#bcb4d8;font-size:12px;font-weight:500;}
.player-team-row img{width:14px;height:14px;border-radius:999px;object-fit:cover;}
.val-col{font-weight:800;color:#fff;font-size:17px;text-align:center;}
.metric-pill{display:inline-flex;align-items:center;justify-content:center;min-width:30px;padding:2px 8px;border-radius:4px;line-height:1.1;}
.metric-pill-green{background:#2fda83;color:#1f2638;}
.highlight-red{color:#fff;}
.stat-neutral-value{color:#c4bddb;font-weight:500;}
.stat-table td:nth-child(3),.stat-table td:nth-child(4),.stat-table td:nth-child(5),.stat-table td:nth-child(6),.stat-table th:nth-child(3),.stat-table th:nth-child(4),.stat-table th:nth-child(5),.stat-table th:nth-child(6){text-align:center;}
.stat-table td:nth-child(3){font-size:16px;font-weight:700;}
.playerstat-header form select:not(.socca-select){background:#2e2750;color:#fff;border:1px solid #4a4270;padding:8px 12px;border-radius:8px;min-width:160px;}
@media (max-width: 768px){
    .playerstat-wrapper{width:94%;}
    .playerstat-title{font-size:30px;}
    .playerstat-header{flex-direction:column;align-items:flex-start;gap:10px;}
    .stat-tab{font-size:11px;padding:8px 4px;}
    .rank-col,.val-col,.player-name,.player-team,.stat-table td:nth-child(3){font-size:12px;}
    .player-img{width:24px;height:24px;}
    .player-team-row{font-size:11px;}
}
