
#tab-player{padding-bottom:70px}
#tab-player,.profile-shell,.profile-shell *{box-sizing:border-box}
.profile-shell{
  max-width:1220px;
  margin:0 auto;
  padding:24px 0 60px;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.profile-loading,.profile-error{
  padding:72px 24px;
  border:1px solid var(--border);
  background:var(--panel);
  color:var(--dim);
  text-align:center;
  font-size:13px;
  font-weight:600
}

/* breadcrumb */
.profile-breadcrumb{
  display:flex;align-items:center;gap:9px;
  margin:0 0 18px;
  color:#657181;
  font-size:12px;
  font-weight:600
}
.profile-breadcrumb a{
  display:inline-flex;align-items:center;gap:7px;
  color:#788595;text-decoration:none;transition:.15s
}
.profile-breadcrumb a:hover{color:var(--accent)}
.profile-breadcrumb .current{color:#dbe3eb}
.profile-breadcrumb .sep{color:#3d4652}
.profile-breadcrumb svg{width:15px;height:15px}

/* hero */
.profile-hero{
  position:relative;
  overflow:hidden;
  padding:30px;
  margin-bottom:14px;
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 78% 0%,rgba(0,229,255,.11),transparent 34%),
    linear-gradient(135deg,#0c1119 0%,#080d14 65%,#08131a 100%)
}
.profile-hero:before{
  content:"";
  position:absolute;left:0;top:0;bottom:0;width:3px;
  background:var(--accent);
  box-shadow:0 0 20px rgba(0,229,255,.55)
}
.profile-hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:30px;
  align-items:center
}
.profile-identity{
  display:flex;
  align-items:center;
  gap:22px;
  min-width:0
}
.profile-avatar{
  width:112px;height:112px;flex:0 0 auto;
  object-fit:cover;
  background:#05080c;
  border:1px solid rgba(0,229,255,.28);
  box-shadow:0 8px 30px rgba(0,0,0,.35)
}
.profile-main{min-width:0}
.profile-overline{
  margin-bottom:7px;
  color:#687789;
  font-size:10px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase
}
.profile-name{
  margin-bottom:10px;
  color:#fff;
  font-size:32px;
  font-weight:800;
  line-height:1.05;
  overflow-wrap:anywhere
}
.profile-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  color:#7f8c9d;
  font-size:12px
}
.profile-country{
  display:inline-flex;align-items:center;gap:6px
}
.profile-country img{
  width:20px;height:auto;display:block
}
.profile-dot{color:#3d4856}
.profile-steamid{font-variant-numeric:tabular-nums}
.profile-steam-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:16px;
  padding:9px 14px;
  border:1px solid #354454;
  background:#182331;
  color:#dce5ef;
  text-decoration:none;
  font-size:11px;
  font-weight:700;
  transition:.15s
}
.profile-steam-btn:hover{
  color:#fff;
  border-color:#5c748b;
  background:#1e2d3d
}

/* hero rating */
.profile-rating{
  display:flex;
  gap:10px;
  align-items:stretch
}
.profile-rating-card{
  min-width:160px;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.21)
}
.profile-rating-label{
  margin-bottom:10px;
  color:#657181;
  font-size:9px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase
}
.profile-level-wrap{
  display:flex;align-items:center;gap:13px
}
.profile-level-wrap .level-badge{
  width:46px!important;
  height:46px!important;
  flex:0 0 auto
}
.profile-level-copy strong{
  display:block;color:#fff;font-size:15px;font-weight:800
}
.profile-level-copy span{
  display:block;margin-top:3px;color:#6e7b8b;font-size:10px
}
.profile-exp-track{
  height:4px;
  margin-top:12px;
  overflow:hidden;
  background:#151d27
}
.profile-exp-fill{
  height:100%;
  background:var(--accent);
  box-shadow:0 0 8px rgba(0,229,255,.45)
}
.profile-points-wrap{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:180px
}
.profile-points-wrap .points-badge{
  width:108px!important;
  height:39px!important
}
.profile-league-line{
  display:flex;align-items:center;gap:8px;
  margin-top:8px;
  color:#9aa6b5;
  font-size:11px;font-weight:700
}
.profile-league-dot{
  width:7px;height:7px;border-radius:50%;
  box-shadow:0 0 8px currentColor
}

/* summary */
.profile-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-bottom:14px
}
.profile-stat{
  padding:18px 20px;
  border:1px solid var(--border);
  background:var(--panel)
}
.profile-stat-label{
  margin-bottom:7px;
  color:#687485;
  font-size:9px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase
}
.profile-stat-value{
  color:#f4f7fa;
  font-size:22px;
  font-weight:750;
  font-variant-numeric:tabular-nums
}
.profile-stat-sub{
  margin-top:5px;
  color:#667382;
  font-size:10px
}

/* cards */
.profile-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);
  gap:14px;
  margin-bottom:14px
}
.profile-card{
  border:1px solid var(--border);
  background:var(--panel);
  overflow:hidden
}
.profile-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:54px;
  padding:13px 18px;
  border-bottom:1px solid var(--border)
}
.profile-card-title{
  color:#e9eef4;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase
}
.profile-card-subtitle{
  margin-top:3px;
  color:#637080;
  font-size:10px;
  font-weight:500;
  text-transform:none;
  letter-spacing:0
}
.profile-card-body{padding:18px}

/* season buttons */
.profile-season-tabs{
  display:inline-flex;
  padding:3px;
  border:1px solid var(--border);
  background:#080c12
}
.profile-season-btn{
  border:0;
  padding:7px 12px;
  background:transparent;
  color:#647181;
  cursor:pointer;
  font-family:Inter,system-ui,sans-serif;
  font-size:10px;
  font-weight:750;
  transition:.15s
}
.profile-season-btn:hover{color:#cbd4dd}
.profile-season-btn.active{
  background:rgba(0,229,255,.11);
  color:var(--accent)
}

/* points */
.profile-points-summary{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:22px;
  align-items:center;
  padding-bottom:18px;
  margin-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.05)
}
.profile-points-big{
  display:flex;flex-direction:column;align-items:flex-start;gap:8px
}
.profile-points-big .points-badge{
  width:128px!important;
  height:46px!important
}
.profile-points-league{
  display:flex;align-items:center;gap:7px;
  font-size:11px;font-weight:750
}
.profile-point-totals{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px
}
.profile-mini-stat{
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.055);
  background:rgba(255,255,255,.015)
}
.profile-mini-stat span{
  display:block;
  color:#637080;
  font-size:9px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em
}
.profile-mini-stat strong{
  display:block;
  margin-top:5px;
  color:#eaf0f5;
  font-size:15px;
  font-weight:750
}
.profile-category-list{display:grid;gap:2px}
.profile-category-row{
  display:grid;
  grid-template-columns:minmax(120px,1fr) 100px 100px 100px;
  gap:10px;
  align-items:center;
  min-height:39px;
  padding:7px 9px;
  border-bottom:1px solid rgba(255,255,255,.04);
  font-size:11px
}
.profile-category-row:last-child{border-bottom:0}
.profile-category-name{color:#aab4c0;font-weight:650}
.profile-category-num{text-align:right;color:#d9e1e9;font-variant-numeric:tabular-nums}
.profile-category-head{
  color:#596675!important;
  font-size:8px!important;
  font-weight:800!important;
  text-transform:uppercase
}

/* evolution */
.profile-evo-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-bottom:14px
}
.profile-evo-box{
  padding:15px 8px;
  border:1px solid rgba(255,255,255,.055);
  background:rgba(255,255,255,.015);
  text-align:center
}
.profile-evo-value{
  color:var(--accent);
  font-size:20px;
  font-weight:800
}
.profile-evo-label{
  margin-top:4px;
  color:#687485;
  font-size:8px;
  font-weight:750;
  text-transform:uppercase
}
.profile-kv{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,.04);
  font-size:11px
}
.profile-kv:last-child{border-bottom:0}
.profile-k{color:#687585}
.profile-v{color:#d8e0e8;text-align:right;font-weight:650}

/* account */
.profile-account{margin-bottom:14px}
.profile-account-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-bottom:1px solid var(--border)
}
.profile-account-item{
  padding:16px 18px;
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border)
}
.profile-account-item:nth-child(4n){border-right:0}
.profile-account-label{
  margin-bottom:6px;
  color:#657181;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em
}
.profile-account-value{
  color:#dce4eb;
  font-size:12px;
  font-weight:650;
  overflow-wrap:anywhere
}
.profile-account-value img{
  height:12px;
  margin-right:6px;
  vertical-align:-1px
}
.profile-snapshot{
  margin:16px 18px 0;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.055);
  background:rgba(255,255,255,.015);
  color:#8b98a8;
  font-size:11px;
  line-height:1.7
}

/* nicknames */
.profile-nicks-title{
  padding:18px 18px 10px;
  color:#cfd7df;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em
}
.profile-nicks-table{
  width:100%;
  border-collapse:collapse
}
.profile-nicks-table th,
.profile-nicks-table td{
  padding:10px 18px;
  border-top:1px solid rgba(255,255,255,.045);
  text-align:left
}
.profile-nicks-table th{
  color:#5f6c7b;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em
}
.profile-nicks-table td{
  color:#9eabb9;
  font-size:11px
}
.profile-nicks-table td:first-child{
  color:#eef2f6;
  font-weight:700
}

/* runs */
.profile-runs-wrap{overflow:auto}
.profile-runs-table{
  width:100%;
  border-collapse:collapse
}
.profile-runs-table th{
  padding:11px 13px;
  border-bottom:1px solid var(--border);
  color:#5e6b7a;
  background:rgba(255,255,255,.012);
  text-align:left;
  white-space:nowrap;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em
}
.profile-runs-table td{
  padding:12px 13px;
  border-bottom:1px solid rgba(255,255,255,.045);
  color:#aab5c1;
  white-space:nowrap;
  font-size:11px
}
.profile-runs-table tbody tr{cursor:pointer}
.profile-runs-table tbody tr:hover td{
  background:rgba(0,229,255,.035)
}
.profile-runs-table .run-map{
  min-width:175px;
  color:#e1e7ed;
  font-weight:700
}
.profile-runs-table .run-time{
  color:var(--accent);
  font-weight:750
}
.profile-empty{
  padding:35px!important;
  color:#617080!important;
  text-align:center!important
}

@media(max-width:1000px){
  .profile-hero-grid{grid-template-columns:1fr}
  .profile-rating{justify-content:flex-start}
  .profile-grid{grid-template-columns:1fr}
  .profile-account-grid{grid-template-columns:repeat(2,1fr)}
  .profile-account-item:nth-child(4n){border-right:1px solid var(--border)}
  .profile-account-item:nth-child(2n){border-right:0}
}
@media(max-width:700px){
  .profile-shell{padding-top:16px}
  .profile-hero{padding:20px}
  .profile-identity{align-items:flex-start}
  .profile-avatar{width:86px;height:86px}
  .profile-name{font-size:24px}
  .profile-rating{display:grid;grid-template-columns:1fr 1fr}
  .profile-rating-card{min-width:0}
  .profile-stats{grid-template-columns:1fr 1fr}
  .profile-points-summary{grid-template-columns:1fr}
  .profile-point-totals{grid-template-columns:1fr 1fr}
  .profile-category-row{grid-template-columns:1fr 70px}
  .profile-category-row>*:nth-child(3),
  .profile-category-row>*:nth-child(4){display:none}
  .profile-account-grid{grid-template-columns:1fr}
  .profile-account-item{border-right:0!important}
}
