/* Velora 5279 — Public player profile: clarity and responsive polish.
   Loaded only by player.php, after that page's existing style block. */
body.public-body .player-profile-v3{
  --vp17-player-accent:var(--profile-accent,var(--ui-accent,#f97316));
  --vp17-player-line:var(--pc-line,var(--ui-line,#dce3ed));
  --vp17-player-panel:var(--pc-panel,var(--ui-surface,#fff));
  --vp17-player-ink:var(--pc-text,var(--ui-text,#172033));
  --vp17-player-muted:var(--pc-muted,var(--ui-muted,#64748b));
}
body.public-body .player-profile-v3 :is(.profile-v3-hero,.profile-v3-layout,.profile-v3-main,.profile-v3-sidebar,.profile-v3-skin,.profile-v3-about,.profile-stat-grid-v3,.profile-v3-duo){min-inline-size:0;max-inline-size:100%;box-sizing:border-box;}
body.public-body .player-profile-v3 .profile-v3-hero{
  overflow:hidden;border:1px solid var(--vp17-player-line)!important;border-radius:24px;
  box-shadow:0 12px 32px color-mix(in srgb,var(--vp17-player-ink) 5%,transparent);
}
body.public-body .player-profile-v3 .profile-v3-top{gap:18px;flex-wrap:wrap;}
body.public-body .player-profile-v3 .profile-v3-identity{min-width:0;}
body.public-body .player-profile-v3 .profile-v3-identity>div{min-width:0;}
body.public-body .player-profile-v3 .profile-v3-identity h1{
  font-size:clamp(22px,3vw,36px)!important;line-height:1.16!important;
  overflow-wrap:anywhere;
}
body.public-body .player-profile-v3 .profile-v3-identity p{
  font-size:13px;line-height:1.6;overflow-wrap:anywhere;
}
body.public-body .player-profile-v3 .profile-v3-avatar{
  border:2px solid color-mix(in srgb,var(--vp17-player-accent) 45%,var(--vp17-player-line));
  box-shadow:0 10px 22px color-mix(in srgb,var(--vp17-player-ink) 12%,transparent);
}
body.public-body .player-profile-v3 .profile-v3-kicker{gap:7px;flex-wrap:wrap;}
body.public-body .player-profile-v3 .profile-v3-kicker span,
body.public-body .player-profile-v3 .profile-v3-kicker b{
  font-size:11px;line-height:1.5;
}
body.public-body .player-profile-v3 .profile-v3-badges{gap:7px;flex-wrap:wrap;}
body.public-body .player-profile-v3 .profile-v3-badges span{
  font-size:12px;line-height:1.4;padding:7px 10px;max-width:100%;overflow-wrap:anywhere;
}
body.public-body .player-profile-v3 .profile-v3-actions{min-width:0;display:flex;flex-wrap:wrap;gap:9px;}
body.public-body .player-profile-v3 .profile-v3-actions :is(a,button){
  min-height:44px;display:inline-flex;align-items:center;justify-content:center;
  font-size:13px;max-width:100%;
}
body.public-body .player-profile-v3 .profile-v3-tabs{
  display:flex;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;
  gap:4px;scrollbar-width:thin;
}
body.public-body .player-profile-v3 .profile-v3-tabs a{
  flex:none;min-height:44px;display:inline-flex;align-items:center;justify-content:center;
  font-size:13px;white-space:nowrap;padding:10px 13px;
}
body.public-body .player-profile-v3 .profile-v3-tabs a.active{
  box-shadow:inset 0 -2px 0 var(--vp17-player-accent);
}
body.public-body .player-profile-v3 :is(.profile-v3-about,.profile-v3-skin,.profile-v3-main>.pixel-card,.profile-v3-duo>.pixel-card){
  border:1px solid var(--vp17-player-line);border-radius:20px;
}
body.public-body .player-profile-v3 .profile-v3-about>p{font-size:14px!important;line-height:1.75;overflow-wrap:anywhere;}
body.public-body .player-profile-v3 .profile-meta-line{min-width:0;gap:12px;}
body.public-body .player-profile-v3 .profile-meta-line :is(span,b){font-size:12px;overflow-wrap:anywhere;}
body.public-body .player-profile-v3 .profile-stat-grid-v3 article{
  padding:16px;min-width:0;min-height:104px;border-radius:15px;
}
body.public-body .player-profile-v3 .profile-stat-grid-v3 article strong{
  font-size:clamp(18px,2.35vw,23px);overflow-wrap:anywhere;
}
body.public-body .player-profile-v3 .profile-stat-grid-v3 article small,
body.public-body .player-profile-v3 .profile-stat-grid-v3 article span{
  font-size:12px;line-height:1.45;overflow-wrap:anywhere;
}
body.public-body .player-profile-v3 :is(a,button):focus-visible{
  outline:3px solid var(--vp17-player-accent);outline-offset:3px;
}
@media(max-width:760px){
  body.public-body .player-profile-v3 .profile-v3-top{align-items:flex-start!important;}
  body.public-body .player-profile-v3 .profile-v3-hero{border-radius:19px;}
  body.public-body .player-profile-v3 .profile-v3-actions{width:100%;}
  body.public-body .player-profile-v3 .profile-v3-actions :is(a,button){flex:1 1 130px;}
  body.public-body .player-profile-v3 .profile-v3-layout{grid-template-columns:minmax(0,1fr)!important;gap:15px;}
  body.public-body .player-profile-v3 .profile-v3-sidebar{grid-template-columns:minmax(0,1fr)!important;}
  body.public-body .player-profile-v3 .profile-stat-grid-v3{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px;}
}
@media(max-width:390px){
  body.public-body .player-profile-v3 .profile-v3-hero{padding:16px 15px 0!important;}
  body.public-body .player-profile-v3 .profile-v3-avatar{width:70px;height:70px;flex-basis:70px;border-radius:18px;}
  body.public-body .player-profile-v3 .profile-v3-badges span{font-size:11px;}
  body.public-body .player-profile-v3 .profile-stat-grid-v3 article{padding:12px;}
}
@media(prefers-reduced-motion:reduce){
  body.public-body .player-profile-v3 :is(.profile-body-render,.skin-orbit-ring){animation:none!important;transition:none!important;}
}
/* Legacy bundled theme had a higher-specificity 11px stat caption override. */
html[data-theme] body.public-body.site-theme-pumkincraft .player-profile-v3 .profile-stat-grid-v3 article small,
html[data-theme] body.public-body.site-theme-pumkincraft .player-profile-v3 .profile-stat-grid-v3 article span {
  font-size:12px!important;line-height:1.5!important;
}
html[data-theme] body.public-body.site-theme-pumkincraft .player-profile-v3 .profile-v3-actions :is(a,button){
  min-height:44px!important;font-size:13px!important;
}
