/* HexaGameHub public player profiles v52 */
:root{
  --profile-bg:#080b18;
  --profile-panel:rgba(14,18,38,.86);
  --profile-panel-2:rgba(12,16,34,.72);
  --profile-border:rgba(255,255,255,.09);
  --profile-text:#eef2ff;
  --profile-muted:#aeb7e8;
  --profile-cyan:#38d5ff;
  --profile-purple:#9b5cf3;
  --profile-gold:#fcd34d;
}
.public-profile-page{
  min-height:100vh;
  padding:24px 16px 54px;
  color:var(--profile-text);
  background:
    radial-gradient(900px 420px at 14% 0%, rgba(14,165,233,.16), transparent 60%),
    radial-gradient(900px 420px at 92% 8%, rgba(155,92,243,.14), transparent 60%);
}
.profile-nav{
  position:sticky;
  top:0;
  z-index:20;
  border-bottom:1px solid var(--profile-border);
  background:rgba(8,11,24,.82);
  backdrop-filter:blur(10px);
}
.profile-nav-inner{
  width:min(1160px, calc(100vw - 28px));
  margin:0 auto;
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.profile-brand,
.profile-nav-links{
  display:flex;
  align-items:center;
  gap:10px;
}
.profile-brand{
  color:var(--profile-text);
  font-weight:950;
  text-decoration:none;
  letter-spacing:.02em;
}
.profile-logo{
  width:30px;
  height:30px;
  display:inline-block;
  background:linear-gradient(135deg,var(--profile-cyan),var(--profile-purple));
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  box-shadow:0 10px 28px rgba(56,213,255,.22);
}
.profile-nav-links a{
  color:var(--profile-muted);
  text-decoration:none;
  font-weight:850;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:999px;
}
.profile-nav-links a:hover{
  color:#fff;
  border-color:var(--profile-border);
  background:rgba(255,255,255,.035);
}
.profile-shell{
  width:min(1160px, calc(100vw - 28px));
  margin:0 auto 18px;
}
.profile-hero{
  border:1px solid var(--profile-border);
  border-radius:24px;
  padding:22px;
  background:
    radial-gradient(650px 280px at 0% 0%, rgba(56,213,255,.16), transparent 62%),
    radial-gradient(650px 280px at 100% 100%, rgba(155,92,243,.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--profile-panel);
  box-shadow:0 24px 64px rgba(0,0,0,.28);
}
.profile-hero-main{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:20px;
  align-items:center;
}
.profile-avatar-wrap{
  width:164px;
  height:164px;
  display:grid;
  place-items:center;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(5,8,18,.50);
  box-shadow:inset 0 0 32px rgba(56,213,255,.08), 0 18px 46px rgba(0,0,0,.25);
}
.profile-badge-img{
  width:132px;
  height:132px;
  object-fit:contain;
  filter:drop-shadow(0 16px 20px rgba(0,0,0,.32));
}
.profile-kicker{
  margin:0 0 4px;
  color:var(--profile-cyan);
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:.78rem;
  font-weight:950;
}
.profile-title-wrap h1{
  margin:0;
  font-size:clamp(2.2rem, 7vw, 4.2rem);
  line-height:.98;
  letter-spacing:-.05em;
}
.profile-subtitle{
  margin:10px 0 0;
  color:var(--profile-muted);
  font-size:1.02rem;
  font-weight:750;
}
.profile-subtitle strong{
  color:#fff;
}
.profile-actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.profile-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border:1px solid var(--profile-border);
  border-radius:999px;
  color:var(--profile-text);
  background:rgba(6,10,24,.62);
  font-weight:950;
  text-decoration:none;
  cursor:pointer;
}
.profile-btn.primary{
  color:#06121e;
  border:0;
  background:linear-gradient(135deg,var(--profile-cyan),var(--profile-purple));
}
.profile-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}
.profile-copy-status{
  min-height:1.2em;
  margin:8px 0 0;
  color:var(--profile-gold);
  font-weight:850;
}
.profile-stat-grid{
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.profile-stat{
  padding:13px;
  border:1px solid var(--profile-border);
  border-radius:16px;
  background:rgba(7,11,26,.50);
  min-width:0;
}
.profile-stat span{
  display:block;
  color:var(--profile-muted);
  font-size:.76rem;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.profile-stat strong{
  display:block;
  margin-top:3px;
  color:#fff;
  font-size:clamp(1.1rem, 2.5vw, 1.6rem);
  line-height:1.05;
  font-variant-numeric:tabular-nums;
}
.profile-grid-two{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
}
.profile-card{
  min-width:0;
  border:1px solid var(--profile-border);
  border-radius:22px;
  padding:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015)), var(--profile-panel-2);
  box-shadow:0 18px 46px rgba(0,0,0,.20);
}
.profile-card-head{
  margin-bottom:12px;
}
.profile-card h2{
  margin:0;
  font-size:clamp(1.25rem, 3vw, 1.65rem);
}
.profile-card-head p,
.profile-empty{
  margin:4px 0 0;
  color:var(--profile-muted);
}
.profile-score-list,
.profile-recent-list,
.profile-challenge-list{
  display:grid;
  gap:8px;
}
.profile-score-row,
.profile-recent-row,
.profile-challenge-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3px 12px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;
  background:rgba(7,11,26,.46);
  color:inherit;
  text-decoration:none;
}
.profile-score-row:hover,
.profile-recent-row:hover{
  border-color:rgba(56,213,255,.28);
  background:rgba(14,165,233,.08);
}
.profile-score-row strong,
.profile-recent-row strong,
.profile-challenge-row strong{
  color:var(--profile-gold);
  font-size:1.08rem;
  font-variant-numeric:tabular-nums;
}
.profile-score-row small,
.profile-recent-row small,
.profile-challenge-row small{
  grid-column:1 / -1;
  color:var(--profile-muted);
  font-weight:750;
}
.score-game,
.profile-recent-row span,
.profile-challenge-row span{
  color:#fff;
  font-weight:950;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.profile-fav-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.profile-fav-card{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;
  background:rgba(7,11,26,.46);
}
.profile-fav-card img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  background:#060a18;
}
.profile-fav-card div{
  padding:10px;
}
.profile-fav-card h3{
  margin:0;
  color:#fff;
  font-size:1rem;
}
.profile-fav-card p{
  margin:3px 0 8px;
  color:var(--profile-muted);
  font-size:.86rem;
}
.profile-fav-card a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:6px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--profile-cyan),var(--profile-purple));
  color:#06121e;
  font-weight:950;
  text-decoration:none;
}
.profile-back{
  color:var(--profile-muted);
  font-weight:900;
  text-decoration:none;
}
.profile-not-found{
  margin-top:48px;
  border:1px solid var(--profile-border);
  border-radius:22px;
  padding:26px;
  background:var(--profile-panel);
}
.profile-not-found h1{
  margin:12px 0 6px;
}
@media (max-width:900px){
  .profile-hero-main{
    grid-template-columns:1fr;
    text-align:center;
  }
  .profile-avatar-wrap{
    margin-inline:auto;
  }
  .profile-actions{
    justify-content:center;
  }
  .profile-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .profile-grid-two{
    grid-template-columns:1fr;
  }
}
@media (max-width:560px){
  .public-profile-page{
    padding:14px 10px 42px;
  }
  .profile-nav-inner{
    min-height:58px;
    width:calc(100vw - 20px);
  }
  .profile-nav-links{
    gap:4px;
  }
  .profile-nav-links a{
    padding:7px 8px;
    font-size:.86rem;
  }
  .profile-brand span:last-child{
    display:none;
  }
  .profile-shell{
    width:calc(100vw - 20px);
    margin-bottom:12px;
  }
  .profile-hero,
  .profile-card{
    border-radius:18px;
    padding:14px;
  }
  .profile-avatar-wrap{
    width:132px;
    height:132px;
    border-radius:22px;
  }
  .profile-badge-img{
    width:108px;
    height:108px;
  }
  .profile-subtitle{
    font-size:.94rem;
  }
  .profile-stat-grid{
    gap:8px;
  }
  .profile-stat{
    padding:10px;
  }
  .profile-fav-grid{
    grid-template-columns:1fr;
  }
  .profile-score-row,
  .profile-recent-row,
  .profile-challenge-row{
    grid-template-columns:1fr;
  }
  .profile-score-row strong,
  .profile-recent-row strong,
  .profile-challenge-row strong{
    justify-self:start;
  }
}


/* v52: profile trophy room, badge progression, and challenge links */
.profile-hero{
  position:relative;
  overflow:hidden;
}
.profile-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(8,11,24,.96), rgba(8,11,24,.72) 55%, rgba(8,11,24,.94)),
    var(--profile-hero-image, none) center/cover no-repeat;
  opacity:.56;
  pointer-events:none;
}
.profile-hero > *{
  position:relative;
  z-index:1;
}
.profile-hero-main{
  grid-template-columns:auto minmax(0,1fr) minmax(250px,340px);
}
.profile-avatar-wrap{
  width:138px;
  height:138px;
  border-radius:26px;
}
.profile-badge-img{
  width:98px;
  height:98px;
}
.profile-title-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin:8px 0 0;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(252,211,77,.28);
  background:rgba(252,211,77,.10);
  color:#fff5c2;
  font-weight:950;
  letter-spacing:.02em;
}
.profile-btn-hot{
  border-color:rgba(252,211,77,.35);
  background:linear-gradient(135deg, rgba(252,211,77,.18), rgba(155,92,243,.22));
  color:#fff7cc;
}
.profile-hero-side{
  display:grid;
  gap:10px;
  min-width:0;
}
.profile-feature-game,
.profile-badge-progress-card{
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:rgba(5,8,18,.55);
  box-shadow:0 14px 34px rgba(0,0,0,.20);
  overflow:hidden;
}
.profile-feature-game{
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  align-items:stretch;
}
.profile-feature-game img{
  width:100%;
  height:100%;
  min-height:106px;
  object-fit:cover;
  background:#060a18;
}
.profile-feature-game div{
  padding:12px;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}
.profile-feature-game span,
.profile-progress-head span{
  color:var(--profile-muted);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.68rem;
  font-weight:950;
}
.profile-feature-game strong,
.profile-progress-head strong{
  color:#fff;
  font-weight:950;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-feature-game a{
  width:max-content;
  margin-top:4px;
  padding:6px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--profile-cyan),var(--profile-purple));
  color:#06121e;
  font-weight:950;
  text-decoration:none;
  font-size:.82rem;
}
.profile-badge-progress-card{
  padding:13px;
}
.profile-progress-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.profile-progress-track{
  height:9px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  margin:10px 0 8px;
}
.profile-progress-track span{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--profile-cyan),var(--profile-purple),var(--profile-gold));
  box-shadow:0 0 18px rgba(56,213,255,.25);
}
.profile-badge-progress-card p{
  margin:0;
  color:var(--profile-muted);
  font-size:.84rem;
}
.profile-showcase{
  border:1px solid var(--profile-border);
  border-radius:22px;
  padding:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015)), var(--profile-panel-2);
  box-shadow:0 18px 46px rgba(0,0,0,.20);
}
.profile-showcase-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.profile-showcase-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.profile-showcase-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding:13px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:18px;
  background:rgba(7,11,26,.48);
}
.profile-showcase-icon{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(56,213,255,.10);
  border:1px solid rgba(56,213,255,.18);
  font-size:1.15rem;
}
.profile-showcase-card small{
  display:block;
  color:var(--profile-muted);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.66rem;
  font-weight:950;
}
.profile-showcase-card strong{
  display:block;
  color:#fff;
  font-weight:950;
  line-height:1.14;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-showcase-card p{
  margin:3px 0 0;
  color:var(--profile-muted);
  font-size:.84rem;
  line-height:1.25;
}
.profile-score-actions{
  grid-column:1 / -1;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
}
.profile-score-actions a,
.profile-score-actions button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:999px;
  background:rgba(6,10,24,.72);
  color:var(--profile-text);
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  font:inherit;
  font-size:.82rem;
}
.profile-score-actions button{
  background:linear-gradient(135deg,rgba(56,213,255,.16),rgba(155,92,243,.20));
  color:#dff7ff;
}
@media (max-width:1020px){
  .profile-hero-main{
    grid-template-columns:auto minmax(0,1fr);
  }
  .profile-hero-side{
    grid-column:1 / -1;
    grid-template-columns:1fr 1fr;
  }
  .profile-showcase-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:900px){
  .profile-hero-main{
    grid-template-columns:1fr;
  }
  .profile-title-badge{
    margin-inline:auto;
  }
}
@media (max-width:620px){
  .profile-hero::before{
    opacity:.42;
  }
  .profile-avatar-wrap{
    width:104px;
    height:104px;
    border-radius:20px;
  }
  .profile-badge-img{
    width:74px;
    height:74px;
  }
  .profile-title-wrap h1{
    font-size:clamp(2rem, 12vw, 3rem);
  }
  .profile-title-badge{
    font-size:.88rem;
  }
  .profile-hero-side{
    grid-template-columns:1fr;
  }
  .profile-feature-game{
    grid-template-columns:92px minmax(0,1fr);
  }
  .profile-feature-game img{
    min-height:96px;
  }
  .profile-showcase{
    padding:13px;
    border-radius:18px;
  }
  .profile-showcase-grid{
    grid-template-columns:1fr;
    gap:8px;
  }
  .profile-showcase-card{
    padding:11px;
  }
  .profile-score-actions a,
  .profile-score-actions button{
    flex:1 1 130px;
  }
}


/* Profile v60: skill hex, richer player identity, and unique titles */
.profile-title-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  margin:10px 0 0;
  padding:8px 12px;
  border:1px solid rgba(56,213,255,.26);
  border-radius:999px;
  color:#06121e;
  background:linear-gradient(135deg,var(--profile-cyan),var(--profile-purple));
  font-weight:950;
  letter-spacing:.02em;
  box-shadow:0 12px 34px rgba(56,213,255,.14);
}
.profile-skill-section{
  align-items:stretch;
}
.profile-radar-card,
.profile-identity-card{
  min-height:100%;
}
.profile-radar-layout{
  display:grid;
  grid-template-columns:minmax(220px, 0.9fr) minmax(220px, 1fr);
  gap:18px;
  align-items:center;
}
.profile-radar-svg{
  width:100%;
  max-width:340px;
  margin-inline:auto;
  display:block;
  overflow:visible;
  filter:drop-shadow(0 18px 35px rgba(0,0,0,.24));
}
.profile-radar-grid{
  fill:none;
  stroke:rgba(255,255,255,.12);
  stroke-width:1;
}
.profile-radar-axis{
  stroke:rgba(56,213,255,.16);
  stroke-width:1;
}
.profile-radar-fill{
  fill:rgba(56,213,255,.22);
  stroke:rgba(56,213,255,.88);
  stroke-width:2.4;
}
.profile-radar-line{
  fill:none;
  stroke:rgba(252,211,77,.92);
  stroke-width:1.2;
}
.profile-radar-label{
  fill:var(--profile-muted);
  font-size:8.5px;
  font-weight:850;
  text-anchor:middle;
  dominant-baseline:middle;
}
.profile-radar-legend{
  display:grid;
  gap:9px;
}
.profile-radar-meter{
  display:grid;
  grid-template-columns:96px 42px minmax(90px,1fr);
  gap:8px;
  align-items:center;
  color:var(--profile-muted);
  font-size:.88rem;
}
.profile-radar-meter span{
  color:#fff;
  font-weight:900;
}
.profile-radar-meter strong{
  color:var(--profile-gold);
  text-align:right;
}
.profile-radar-meter i{
  height:9px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.profile-radar-meter b{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--profile-cyan),var(--profile-purple),var(--profile-gold));
  box-shadow:0 0 14px rgba(56,213,255,.35);
}
.profile-identity-main{
  display:grid;
  gap:14px;
}
.profile-title-token{
  padding:16px;
  border:1px solid rgba(252,211,77,.20);
  border-radius:18px;
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(252,211,77,.12), transparent 70%),
    rgba(255,255,255,.035);
}
.profile-title-token span{
  display:block;
  color:var(--profile-cyan);
  font-size:.75rem;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.profile-title-token strong{
  display:block;
  margin-top:4px;
  font-size:clamp(1.35rem, 3vw, 2rem);
  line-height:1.04;
}
.profile-title-token p{
  margin:8px 0 0;
  color:var(--profile-muted);
}
.profile-trait-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.profile-trait-chips span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border:1px solid rgba(56,213,255,.24);
  border-radius:999px;
  color:#fff;
  background:rgba(6,10,24,.55);
  font-weight:900;
  font-size:.82rem;
}
.profile-identity-note{
  margin:0;
}
.profile-score-row small,
.profile-fav-card p{
  line-height:1.35;
}
@media (max-width:900px){
  .profile-radar-layout{
    grid-template-columns:1fr;
  }
  .profile-radar-meter{
    grid-template-columns:92px 38px minmax(80px,1fr);
  }
}
@media (max-width:620px){
  .profile-title-badge{
    width:100%;
    justify-content:center;
    border-radius:16px;
  }
  .profile-radar-label{
    font-size:7.4px;
  }
  .profile-radar-meter{
    grid-template-columns:1fr 36px;
  }
  .profile-radar-meter i{
    grid-column:1 / -1;
  }
}

/* Profile v61: stricter Skill Hex styling + clearer generated-title explanation */
.profile-skill-section{
  gap:20px;
}
.profile-radar-card,
.profile-identity-card{
  position:relative;
  overflow:hidden;
}
.profile-radar-card::before,
.profile-identity-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:
    radial-gradient(420px 220px at 20% 0%, rgba(56,213,255,.12), transparent 62%),
    radial-gradient(360px 220px at 100% 15%, rgba(155,92,243,.10), transparent 66%);
  opacity:.95;
}
.profile-radar-card > *,
.profile-identity-card > *{
  position:relative;
  z-index:1;
}
.profile-skill-summary{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:8px 0 14px;
  padding:10px 12px;
  border:1px solid rgba(56,213,255,.16);
  border-radius:14px;
  background:rgba(4,9,22,.42);
}
.profile-skill-summary span{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 9px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(56,213,255,.22), rgba(155,92,243,.22));
  color:#fff;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.profile-skill-summary p{
  margin:0;
  color:var(--profile-muted);
  font-size:.86rem;
  line-height:1.35;
}
.profile-radar-layout{
  grid-template-columns:minmax(240px, .92fr) minmax(260px, 1fr);
}
.profile-radar-svg{
  max-width:360px;
  padding:8px;
  border-radius:24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(56,213,255,.10), rgba(56,213,255,.025) 58%, transparent 70%);
}
.profile-radar-grid{
  stroke:rgba(174,183,232,.16);
}
.profile-radar-axis{
  stroke:rgba(56,213,255,.22);
}
.profile-radar-fill{
  fill:rgba(56,213,255,.24);
  stroke:rgba(126,255,214,.95);
  stroke-width:2.2;
}
.profile-radar-line{
  stroke:rgba(252,211,77,.98);
  stroke-width:1.4;
}
.profile-radar-label{
  fill:#cbd7ff;
  font-size:8.2px;
  paint-order:stroke;
  stroke:rgba(4,7,18,.92);
  stroke-width:2.2px;
  stroke-linejoin:round;
}
.profile-radar-meter{
  grid-template-columns:104px 48px minmax(94px,1fr);
  padding:6px 7px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:12px;
  background:rgba(4,9,22,.34);
}
.profile-radar-meter span{
  font-size:.86rem;
}
.profile-radar-meter strong{
  color:#fff3b7;
  font-variant-numeric:tabular-nums;
}
.profile-radar-meter i{
  height:10px;
  background:rgba(255,255,255,.07);
}
.profile-radar-meter b{
  background:linear-gradient(90deg,#38d5ff 0%,#7c8cff 45%,#9b5cf3 72%,#fcd34d 100%);
}
.profile-title-token{
  border-color:rgba(252,211,77,.32);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
    radial-gradient(460px 190px at 0% 0%, rgba(252,211,77,.16), transparent 70%),
    rgba(7,10,24,.66);
  box-shadow:0 18px 40px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.03);
}
.profile-title-token strong{
  color:#fff;
  text-shadow:0 0 18px rgba(252,211,77,.18);
}
.profile-title-token p{
  color:#d7dcff;
  line-height:1.45;
}
.profile-trait-chips span{
  border-color:rgba(56,213,255,.30);
  background:linear-gradient(180deg, rgba(56,213,255,.10), rgba(155,92,243,.08));
  color:#eef7ff;
}
.profile-identity-note{
  padding:12px;
  border-left:3px solid rgba(56,213,255,.45);
  border-radius:12px;
  background:rgba(56,213,255,.055);
  color:#cbd7ff;
}
@media (max-width:900px){
  .profile-skill-summary{
    display:block;
  }
  .profile-skill-summary span{
    margin-bottom:8px;
  }
  .profile-radar-layout{
    grid-template-columns:1fr;
  }
  .profile-radar-meter{
    grid-template-columns:98px 46px minmax(90px,1fr);
  }
}
@media (max-width:560px){
  .profile-radar-svg{
    max-width:300px;
  }
  .profile-radar-label{
    font-size:7px;
  }
  .profile-radar-meter{
    grid-template-columns:1fr 42px;
  }
  .profile-radar-meter i{
    grid-column:1 / -1;
  }
}

/* Profile Skill Hex v3: stricter normalized readout polish */
.profile-skill-summary span::after{
  content:" • normalized";
  color:var(--muted);
  font-weight:800;
  letter-spacing:.04em;
}
.profile-radar-legend li strong{
  min-width:3.5ch;
  text-align:right;
}
.profile-identity-note strong{
  color:#8defff;
}


/* Profile v64: lore-style Player Identity / Crest card */
.profile-identity-card{
  border-color:rgba(252,211,77,.18);
}
.profile-identity-card .profile-card-head h2{
  letter-spacing:.01em;
}
.profile-title-token{
  position:relative;
  isolation:isolate;
  border-color:rgba(252,211,77,.34);
  background:
    linear-gradient(135deg, rgba(252,211,77,.10), rgba(56,213,255,.06) 42%, rgba(155,92,243,.09)),
    rgba(6,10,24,.62);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    0 16px 40px rgba(0,0,0,.22),
    0 0 28px rgba(252,211,77,.08);
}
.profile-title-token::before{
  content:"";
  position:absolute;
  inset:10px auto 10px 12px;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--profile-gold),var(--profile-cyan),var(--profile-purple));
  box-shadow:0 0 14px rgba(252,211,77,.35);
}
.profile-title-token::after{
  content:"⬢";
  position:absolute;
  right:14px;
  top:12px;
  color:rgba(252,211,77,.22);
  font-size:2.1rem;
  line-height:1;
  filter:drop-shadow(0 0 12px rgba(252,211,77,.20));
}
.profile-title-token span,
.profile-title-token strong,
.profile-title-token p{
  margin-left:10px;
}
.profile-title-token span{
  color:var(--profile-gold);
}
.profile-title-token strong{
  text-shadow:0 0 18px rgba(252,211,77,.18);
}
.profile-title-token p{
  color:#d8ddff;
  line-height:1.42;
  max-width:68ch;
}
.profile-trait-chips span{
  border-color:rgba(252,211,77,.24);
  background:
    linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),
    rgba(6,10,24,.58);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
.profile-trait-chips span:nth-child(1){
  border-color:rgba(252,211,77,.42);
  color:#fff5cf;
}
.profile-identity-note{
  border:1px solid rgba(56,213,255,.14);
  border-radius:14px;
  padding:11px 12px;
  background:rgba(4,9,22,.36);
  color:#c9d5ff;
}


/* Profile v65: cleaner Skill Hex stats + deeper callsign styling */
.profile-skill-stats{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:8px 0 14px;
  padding:10px;
  border:1px solid rgba(56,213,255,.14);
  border-radius:16px;
  background:
    linear-gradient(135deg, rgba(56,213,255,.07), rgba(155,92,243,.045)),
    rgba(4,9,22,.34);
}

.profile-skill-stats span{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(252,211,77,.22), rgba(56,213,255,.15));
  color:#fff8d7;
  border:1px solid rgba(252,211,77,.22);
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.profile-skill-stats b{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(6,10,24,.55);
  color:#dce7ff;
  font-size:.78rem;
  font-weight:850;
  line-height:1.15;
}

.profile-radar-card .profile-card-head p{
  max-width:62ch;
}

.profile-title-token strong{
  letter-spacing:-.015em;
}

.profile-title-token p{
  font-size:.96rem;
}

@media (max-width:620px){
  .profile-skill-stats{
    gap:6px;
    padding:8px;
  }
  .profile-skill-stats span,
  .profile-skill-stats b{
    font-size:.68rem;
  }
}


/* Profile v66: clearer Skill Hex stat labels */
.profile-skill-stats b{
  letter-spacing:.005em;
}
.profile-skill-stats b::first-letter{
  color:#fff;
}


/* Profile v67: callsign lore polish */
.profile-title-token p{
  font-style: normal;
}
.profile-trait-chips span{
  text-transform: none;
}


/* Profile v68: stronger unique callsign presentation */
.profile-identity-card{
  border-color:rgba(252,211,77,.24);
  box-shadow:
    0 20px 60px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.025);
}
.profile-identity-card .profile-card-head{
  padding-bottom:4px;
}
.profile-identity-card .profile-card-head h2{
  font-size:clamp(1.45rem,3vw,2.2rem);
}
.profile-title-token{
  overflow:hidden;
}
.profile-title-token strong{
  max-width:100%;
  text-wrap:balance;
}
.profile-title-token p{
  color:#eef3ff;
  font-weight:650;
}
.profile-trait-chips{
  gap:9px;
}
.profile-trait-chips span{
  position:relative;
  overflow:hidden;
}
.profile-trait-chips span::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:999px;
  margin-right:7px;
  background:linear-gradient(135deg,var(--profile-gold),var(--profile-cyan));
  box-shadow:0 0 10px rgba(252,211,77,.36);
}
.profile-showcase-card{
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.profile-showcase-card:hover{
  transform:translateY(-2px);
  border-color:rgba(252,211,77,.24);
  box-shadow:0 16px 42px rgba(0,0,0,.22);
}


/* Profile v72: simpler player titles */
.profile-identity-card .profile-card-head p{
  max-width:42ch;
}
.profile-title-token{
  padding:16px 16px 15px;
}
.profile-title-token span{
  display:inline-flex;
  width:max-content;
  margin-bottom:7px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(252,211,77,.13);
  border:1px solid rgba(252,211,77,.28);
  font-size:.68rem;
  font-weight:1000;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.profile-title-token strong{
  display:block;
  font-size:clamp(1.55rem,3.4vw,2.15rem);
  line-height:1.02;
}
.profile-title-token p{
  max-width:54ch;
  margin-top:8px;
  font-size:.92rem;
  line-height:1.35;
}
.profile-trait-chips{
  gap:7px;
}
.profile-trait-chips span{
  font-size:.72rem;
  padding:6px 9px;
}
.profile-card-head p{
  line-height:1.35;
}
@media(max-width:620px){
  .profile-title-token::after{
    opacity:.45;
  }
  .profile-title-token p{
    -webkit-line-clamp:3;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
}


/* Profile v80: cooler gamey title presentation */
.profile-title-token{
  position:relative;
  overflow:hidden;
}
.profile-title-token::after{
  content:"TITLE";
  right:14px;
  top:12px;
  font-size:.68rem;
  letter-spacing:.16em;
  opacity:.45;
}
.profile-title-token strong{
  letter-spacing:-.035em;
  text-transform:none;
}
.profile-title-token p{
  max-width:58ch;
}
.profile-trait-chips span{
  border-color:rgba(100,236,255,.20);
}
.profile-trait-chips span:first-child{
  border-color:rgba(252,211,77,.42);
  color:#fff4ce;
  box-shadow:0 0 16px rgba(252,211,77,.08);
}
