/* V3.1.2 — Cloud player profile.
 *
 * The Cloud /vdv/{slug}/ route is not a native single-wpk_player request.
 * Previous styling was scoped to body.single-wpk_player, so the layout rules
 * did not apply after the legacy CPT runtime was disabled.
 */

.vlp-player-detail-v2{
  min-height:60vh;
  padding:clamp(24px,3vw,46px) 0 clamp(56px,6vw,92px);
  background:
    radial-gradient(circle at 88% 2%,rgba(57,57,57,.22),transparent 35%),
    linear-gradient(145deg,#1c1c1c,#202020 54%,#1c1c1c);
  color:#f5f5f5;
}

.vlp-player-detail-v2 .vlp-player-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
  margin:0 0 22px;
  color:#dcdcdc;
  font-size:12px;
}

.vlp-player-detail-v2 .vlp-player-breadcrumb a{
  color:#e8e8e8;
  text-decoration:none;
}

.vlp-player-detail-v2 .vlp-player-breadcrumb a:hover{
  color:var(--vlp-lime);
}

.vlp-player-profile-grid{
  display:grid;
  grid-template-columns:minmax(280px,360px) minmax(0,1fr);
  gap:clamp(20px,3vw,38px);
  align-items:start;
}

.vlp-player-profile-aside,
.vlp-player-profile-main{
  min-width:0;
}

.vlp-player-profile-aside{
  overflow:hidden;
  border:1px solid #393939;
  border-radius:20px;
  background:linear-gradient(160deg,#282828,#1f1f1f 62%,#1c1c1c);
  box-shadow:0 24px 70px rgba(22,22,22,.32);
}

.vlp-player-profile-photo{
  position:relative;
  width:100%;
  aspect-ratio:4/5;
  max-height:520px;
  overflow:hidden;
  background:linear-gradient(150deg,#2f2f2f,#202020);
}

.vlp-player-profile-photo:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:34%;
  pointer-events:none;
  background:linear-gradient(0deg,rgba(26,26,26,.58),transparent);
}

.vlp-player-profile-photo img,
.vlp-player-profile-photo .vlp-cloud-player-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
}

.vlp-player-profile-photo .vlp-player-photo-fallback{
  min-height:100%;
  font-size:72px;
}

.vlp-player-profile-namecard{
  padding:24px 24px 26px;
}

.vlp-player-detail-v2 .vlp-player-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#e6e6e6;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.vlp-player-detail-v2 .vlp-player-kicker:before{
  content:"";
  width:4px;
  height:17px;
  flex:0 0 auto;
  border-radius:4px;
  background:var(--vlp-lime);
}

.vlp-player-profile-namecard h1{
  margin:12px 0 8px;
  color:#fff;
  font-size:clamp(30px,3vw,44px);
  line-height:1.1;
  overflow-wrap:anywhere;
}

.vlp-player-profile-location{
  margin:0;
  color:#e2e2e2;
  font-size:13px;
  line-height:1.65;
}

.vlp-player-profile-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:22px;
}

.vlp-player-detail-v2 .vlp-player-action-primary,
.vlp-player-detail-v2 .vlp-player-action-secondary{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:11px 16px;
  border-radius:9px;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.vlp-player-detail-v2 .vlp-player-action-primary{
  color:#1c1c1c;
  border:1px solid var(--vlp-lime);
  background:var(--vlp-lime);
}

.vlp-player-detail-v2 .vlp-player-action-secondary{
  color:#f5f5f5;
  border:1px solid #ff7a45;
  background:#222222;
}

.vlp-player-detail-v2 .vlp-player-action-primary:hover,
.vlp-player-detail-v2 .vlp-player-action-secondary:hover{
  transform:translateY(-1px);
}

.vlp-player-profile-main{
  display:grid;
  gap:18px;
}

.vlp-player-rating-card{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding:clamp(22px,3vw,34px);
  border:1px solid #ff7a45;
  border-radius:18px;
  background:
    radial-gradient(circle at 92% 15%,rgba(255,79,58,.10),transparent 32%),
    linear-gradient(135deg,#262626,#212121);
}

.vlp-player-rating-label{
  display:block;
  margin-bottom:8px;
  color:#e0e0e0;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
}

.vlp-player-rating-card strong{
  display:block;
  color:var(--vlp-lime);
  font-size:clamp(44px,6vw,72px);
  line-height:.95;
  letter-spacing:-.04em;
}

.vlp-player-rating-card p{
  max-width:280px;
  margin:0;
  color:#e0e0e0;
  font-size:12px;
  line-height:1.65;
  text-align:right;
}

.vlp-player-profile-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.vlp-player-profile-fact{
  min-width:0;
  min-height:108px;
  padding:18px;
  border:1px solid #373737;
  border-radius:14px;
  background:#222222;
}

.vlp-player-profile-fact span{
  display:block;
  margin-bottom:9px;
  color:#dddddd;
  font-size:11px;
  font-weight:700;
}

.vlp-player-profile-fact strong{
  display:block;
  color:#fff;
  font-size:clamp(15px,1.4vw,20px);
  line-height:1.4;
  overflow-wrap:anywhere;
}

.vlp-player-profile-content,
.vlp-player-history-v2{
  padding:clamp(22px,3vw,32px);
  border:1px solid #363636;
  border-radius:18px;
  background:rgba(33,33,33,.92);
}

.vlp-player-section-heading h2,
.vlp-player-history-v2 h2{
  margin:9px 0 0;
  color:#fff;
  font-size:clamp(22px,2.6vw,32px);
}

.vlp-player-profile-content .vlp-player-prose{
  margin-top:18px;
  color:#ebebeb;
  font-size:14px;
  line-height:1.85;
}

.vlp-player-profile-content .vlp-player-prose p:first-child{
  margin-top:0;
}

.vlp-player-history-v2{
  margin-top:22px;
}

.vlp-player-history-v2 .vlp-history-heading{
  margin-bottom:16px;
}

.vlp-player-history-v2 .vlp-history-heading p{
  margin:8px 0 0;
  color:#dcdcdc;
  font-size:12px;
}

.vlp-player-history-v2 .vlp-history-list{
  display:grid;
  gap:10px;
}

.vlp-player-history-v2 .vlp-history-match{
  display:grid;
  grid-template-columns:minmax(180px,.8fr) minmax(0,1.3fr);
  gap:18px;
  align-items:center;
  padding:16px 18px;
  border:1px solid #373737;
  border-radius:12px;
  background:#202020;
}

.vlp-player-history-v2 .vlp-history-meta{
  display:grid;
  gap:4px;
}

.vlp-player-history-v2 .vlp-history-meta strong{
  color:#fff;
}

.vlp-player-history-v2 .vlp-history-meta span,
.vlp-player-history-v2 .vlp-history-meta a{
  color:#dfdfdf;
  font-size:12px;
}

.vlp-player-history-v2 .vlp-history-meta a{
  width:max-content;
  color:#797979;
  text-decoration:none;
}

.vlp-player-history-v2 .vlp-history-score{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:12px;
  align-items:center;
  color:#f5f5f5;
  text-align:center;
}

.vlp-player-history-v2 .vlp-history-score b{
  min-width:58px;
  padding:7px 10px;
  border-radius:8px;
  color:var(--vlp-lime);
  background:#1c1c1c;
  border:1px solid #393939;
}

.vlp-player-history-empty{
  padding:18px;
  border:1px dashed #3c3c3c;
  border-radius:12px;
  color:#dfdfdf;
  background:#1f1f1f;
}

@media(max-width:900px){
  .vlp-player-profile-grid{
    grid-template-columns:minmax(230px,300px) minmax(0,1fr);
  }

  .vlp-player-profile-facts{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .vlp-player-detail-v2{
    padding-top:18px;
  }

  .vlp-player-profile-grid{
    grid-template-columns:1fr;
  }

  .vlp-player-profile-photo{
    aspect-ratio:16/12;
    max-height:420px;
  }

  .vlp-player-rating-card{
    align-items:flex-start;
    flex-direction:column;
  }

  .vlp-player-rating-card p{
    max-width:none;
    text-align:left;
  }

  .vlp-player-history-v2 .vlp-history-match{
    grid-template-columns:1fr;
  }
}

@media(max-width:480px){
  .vlp-player-profile-namecard,
  .vlp-player-profile-content,
  .vlp-player-history-v2{
    padding:18px;
  }

  .vlp-player-profile-photo{
    aspect-ratio:4/5;
  }

  .vlp-player-history-v2 .vlp-history-score{
    grid-template-columns:1fr;
  }
}
