/* V3.1.3 — Cloud player profile hero refinement.
 *
 * Goal:
 * - player photo should be square
 * - photo + information should feel like one harmonious unified block
 * - keep Cloud compatibility (no dependency on body.single-wpk_player)
 */

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

.vlp-player-detail-v3 .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-v3 .vlp-player-breadcrumb a{
  color:#e8e8e8;
  text-decoration:none;
}

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

.vlp-player-detail-v3 .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-v3 .vlp-player-kicker:before{
  content:"";
  width:4px;
  height:17px;
  flex:0 0 auto;
  border-radius:4px;
  background:var(--vlp-lime);
}

.vlp-player-hero-card{
  display:grid;
  grid-template-columns:minmax(260px,320px) minmax(0,1fr);
  gap:0;
  overflow:hidden;
  border:1px solid #393939;
  border-radius:24px;
  background:
    radial-gradient(circle at 92% 8%,rgba(255,79,58,.08),transparent 26%),
    linear-gradient(135deg,#242424,#222222 58%,#1f1f1f);
  box-shadow:0 24px 70px rgba(22,22,22,.30);
}

.vlp-player-hero-media{
  padding:24px 0 24px 24px;
}

.vlp-player-square-photo{
  width:100%;
  max-width:280px;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:20px;
  border:1px solid rgba(255,122,69,.45);
  background:linear-gradient(145deg,#2f2f2f,#202020);
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}

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

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

.vlp-player-hero-content{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:20px;
  padding:24px 28px 24px 16px;
}

.vlp-player-hero-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.vlp-player-cloud-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid #3d3d3d;
  background:rgba(29,29,29,.45);
  color:#f5f5f5;
  font-size:12px;
  font-weight:700;
}

.vlp-player-hero-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,330px);
  gap:22px;
  align-items:stretch;
}

.vlp-player-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

.vlp-player-hero-copy h1{
  margin:0 0 10px;
  color:#fff;
  font-size:clamp(34px,3.8vw,52px);
  line-height:1.04;
  overflow-wrap:anywhere;
}

.vlp-player-hero-location{
  margin:0 0 14px;
  color:#e3e3e3;
  font-size:15px;
}

.vlp-player-hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.vlp-player-hero-tags span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 12px;
  border-radius:999px;
  background:#252525;
  border:1px solid #3a3a3a;
  color:#f5f5f5;
  font-size:12px;
  font-weight:700;
}

.vlp-player-hero-rating{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:100%;
  padding:20px 22px;
  border-radius:18px;
  border:1px solid #ff7a45;
  background:
    radial-gradient(circle at 92% 15%,rgba(255,79,58,.10),transparent 34%),
    linear-gradient(135deg,#282828,#232323);
}

.vlp-player-rating-label{
  display:block;
  margin-bottom:10px;
  color:#e0e0e0;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.vlp-player-hero-rating strong{
  display:block;
  color:var(--vlp-lime);
  font-size:clamp(54px,7vw,84px);
  line-height:.92;
  letter-spacing:-.05em;
}

.vlp-player-hero-rating small{
  margin-top:10px;
  color:#e2e2e2;
  font-size:12px;
  line-height:1.6;
}

.vlp-player-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

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

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

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

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

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

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

.vlp-player-profile-fact span{
  display:block;
  margin-bottom:10px;
  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-detail-sections{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:18px;
  margin-top:18px;
}

.vlp-player-profile-content,
.vlp-player-history-v3{
  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-v3 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-v3 .vlp-history-heading{
  margin-bottom:16px;
}

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

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

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

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

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

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

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

.vlp-player-history-v3 .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-v3 .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:1100px){
  .vlp-player-hero-main{
    grid-template-columns:1fr;
  }

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

@media (max-width:860px){
  .vlp-player-hero-card{
    grid-template-columns:1fr;
  }

  .vlp-player-hero-media{
    padding:24px 24px 0;
  }

  .vlp-player-square-photo{
    max-width:none;
    width:100%;
  }

  .vlp-player-hero-content{
    padding:18px 24px 24px;
  }

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

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

  .vlp-player-hero-topline{
    align-items:flex-start;
    flex-direction:column;
  }

  .vlp-player-hero-copy h1{
    font-size:34px;
  }

  .vlp-player-hero-actions{
    flex-direction:column;
  }

  .vlp-player-detail-v3 .vlp-player-action-primary,
  .vlp-player-detail-v3 .vlp-player-action-secondary{
    width:100%;
  }

  .vlp-player-profile-content,
  .vlp-player-history-v3{
    padding:18px;
  }

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

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