:root{
  --lhpl-black:#0f0f10;
  --lhpl-black-2:#17171a;
  --lhpl-gold:#f7b000;
  --lhpl-gold-deep:#cc9200;
  --lhpl-red:#d91f26;
  --lhpl-red-deep:#9f0f1d;
  --lhpl-cream:#fff9ea;
  --lhpl-paper:#ffffff;
  --lhpl-border:#e7e0cf;
  --lhpl-text:#171717;
  --lhpl-muted:#6e6e73;
  --lhpl-shadow:0 20px 55px rgba(0,0,0,.14);
}

.lhpl-wrap{
  max-width:1180px;
  margin:30px auto 80px;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--lhpl-text);
}

.lhpl-hero{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  min-height:560px;
  border-radius:30px;
  padding:38px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  background-image:
    linear-gradient(90deg, rgba(5,5,6,.56) 0%, rgba(5,5,6,.28) 35%, rgba(5,5,6,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.36) 100%),
    var(--lhpl-hero-bg);
  background-size:cover;
  background-position:center;
  box-shadow:var(--lhpl-shadow);
}
.lhpl-hero:before{
  content:"";
  position:absolute;
  inset:auto auto -70px -70px;
  width:220px;height:220px;
  background:radial-gradient(circle, rgba(217,31,38,.28), rgba(217,31,38,0) 68%);
  filter:blur(10px);
  z-index:0;
}
.lhpl-hero:after{display:none}
.lhpl-hero-watermark,.lhpl-brand-grid,.lhpl-logo-card,.lhpl-logo-card-school,.lhpl-event-logo,.lhpl-school-logo{display:none!important}

.lhpl-hero-copy{
  position:relative;
  z-index:2;
  color:#fff;
  width:min(100%, 600px);
  padding:28px 30px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(10,10,12,.72) 0%, rgba(10,10,12,.84) 100%);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(3px);
  box-shadow:0 18px 38px rgba(0,0,0,.22);
}
.lhpl-kicker,
.lhpl-section-heading > span{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  letter-spacing:3px;
  color:var(--lhpl-gold);
  margin-bottom:10px;
}
.lhpl-hero h1{
  font-size:clamp(40px,5.8vw,74px);
  line-height:.95;
  margin:0 0 14px;
  text-transform:uppercase;
  letter-spacing:-.04em;
  color:var(--lhpl-gold);
  text-shadow:0 8px 22px rgba(0,0,0,.45);
}
.lhpl-hero-lead,
.lhpl-hero p{
  font-size:21px;
  line-height:1.35;
  color:#fff;
  margin:0 0 16px;
}
.lhpl-hero-info-list{display:grid;gap:10px;margin:0 0 22px}
.lhpl-hero-info-list div{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.09);
  color:#f6f6f7;
  font-size:15px;
  line-height:1.4;
}
.lhpl-hero-info-list strong{color:var(--lhpl-gold)}
.lhpl-hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.lhpl-hero-btn{
  text-decoration:none!important;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 20px;border-radius:14px;
  font-size:14px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;
  transition:.18s ease;cursor:pointer;
}
.lhpl-hero-btn-primary{background:var(--lhpl-gold);color:#111;box-shadow:6px 6px 0 #000}
.lhpl-hero-btn-primary:hover{transform:translate(-2px,-2px);box-shadow:8px 8px 0 #000}
.lhpl-hero-btn-secondary{background:rgba(15,15,16,.45);color:#fff;border:2px solid rgba(255,255,255,.22)}
.lhpl-hero-btn-secondary:hover{border-color:var(--lhpl-gold);color:var(--lhpl-gold)}

.lhpl-panel{
  margin-top:30px;
  background:var(--lhpl-paper);
  border:1px solid var(--lhpl-border);
  border-radius:24px;
  padding:32px;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
}
.lhpl-form-panel{border-top:8px solid var(--lhpl-gold)}
 .lhpl-section-heading{margin-bottom:22px}
.lhpl-section-heading h2,
.lhpl-section-heading h3{
  margin:0;
  color:#111;
  text-transform:none;
  line-height:.95;
  letter-spacing:-.04em;
}
.lhpl-section-heading h2{font-size:clamp(32px,5vw,58px);max-width:980px}
.lhpl-section-heading h3{font-size:clamp(28px,3vw,42px)}
.lhpl-section-heading p{color:var(--lhpl-muted)}
.lhpl-section-heading.center{text-align:center;margin:0 auto 24px}
.lhpl-section-heading.center p{font-size:18px;margin-top:8px}
.lhpl-section-heading.compact{margin-bottom:18px}

.lhpl-grid{display:grid;gap:18px;margin-top:24px}
.lhpl-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.lhpl-wrap label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:800}
.lhpl-wrap input[type=text],
.lhpl-wrap input[type=email],
.lhpl-wrap input[type=tel],
.lhpl-wrap select{
  width:100%;box-sizing:border-box;border:2px solid #ddd;border-radius:14px;
  padding:15px 16px;font-size:16px;background:#fff;color:#111;outline:none;transition:.2s;
}
.lhpl-wrap input:focus,.lhpl-wrap select:focus{border-color:var(--lhpl-gold);box-shadow:0 0 0 4px rgba(247,176,0,.15)}

.lhpl-upload-box{
  display:flex;justify-content:space-between;gap:20px;align-items:center;
  background:linear-gradient(135deg, #111 0%, #18181c 100%);color:#fff;border-radius:18px;
  padding:20px 22px;margin:20px 0
}
.lhpl-upload-copy strong{display:block;color:var(--lhpl-gold);font-size:18px}.lhpl-upload-copy strong em{font-style:normal;font-weight:700;color:#fff;font-size:12px;opacity:.72;margin-left:6px;text-transform:uppercase;letter-spacing:.06em}
.lhpl-upload-copy span{display:block;color:#c1c1c7;font-size:13px;margin-top:4px}
.lhpl-upload-control{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.lhpl-upload-button{position:relative;display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer}
.lhpl-upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer}
.lhpl-upload-button span{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--lhpl-gold);color:#111;border-radius:12px;padding:13px 18px;
  font-size:14px;font-weight:900;min-width:145px;
}
.lhpl-upload-file-name{min-width:170px;color:#d6d6dc;font-size:13px}

.lhpl-ratings{background:var(--lhpl-cream);border:1px solid #f1dfb2;border-radius:20px;padding:20px}
.lhpl-rating-row{display:grid;grid-template-columns:220px 1fr;gap:20px;align-items:center;padding:14px 0;border-top:1px dashed #dac99d}
.lhpl-rating-row:first-of-type{border-top:0}
.lhpl-rating-label strong{font-size:16px;display:block}
.lhpl-rating-label span{font-size:12px;color:#777}
.lhpl-rating-options{display:flex;gap:10px;flex-wrap:wrap}
.lhpl-rating-options label{cursor:pointer;position:relative}
.lhpl-rating-options input{position:absolute;opacity:0}
.lhpl-rating-options span{
  display:grid;place-items:center;width:46px;height:46px;border-radius:50%;
  border:2px solid #cfc8b8;background:#fff;font-weight:900;transition:.2s;
}
.lhpl-rating-options input:checked+span{background:var(--lhpl-gold);border-color:#111;transform:scale(1.08)}
.lhpl-rating-options label:hover span{border-color:var(--lhpl-gold)}

.lhpl-submit{
  border:0;background:var(--lhpl-gold);color:#111;font-size:16px;font-weight:900;letter-spacing:.7px;
  padding:16px 24px;border-radius:12px;cursor:pointer;box-shadow:5px 5px 0 #111;transition:.18s
}
.lhpl-submit:hover{transform:translate(-2px,-2px);box-shadow:8px 8px 0 #111}
.lhpl-submit[disabled]{opacity:.55;cursor:wait}
.lhpl-form-success,.lhpl-form-error{margin-top:18px;padding:14px 16px;border-radius:12px;font-weight:800}
.lhpl-form-success{background:#eaf7ed;color:#116328;border:1px solid #bfe5c8}
.lhpl-form-error{background:#fff0f0;color:#a6151b;border:1px solid #f3c3c3}

.lhpl-team-section{margin-top:56px}
.lhpl-team-tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:22px}
.lhpl-team-tab{
  border:2px solid #111;background:#fff;color:#111;font-weight:900;padding:9px 16px 8px;border-radius:14px;
  cursor:pointer;transition:.18s;box-shadow:0 3px 0 rgba(0,0,0,.08);min-width:70px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1
}
.lhpl-team-tab-grade{display:block;font-size:13px;font-weight:900;white-space:nowrap}
.lhpl-team-tab-count{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#111;color:var(--lhpl-gold);font-size:12px;font-weight:900;border:1px solid rgba(247,176,0,.55)}
.lhpl-team-tab:hover{transform:translateY(-2px);border-color:var(--lhpl-gold)}
.lhpl-team-tab.active{background:#111;color:var(--lhpl-gold);border-color:var(--lhpl-red);box-shadow:0 8px 24px rgba(0,0,0,.16)}
.lhpl-team-tab.active .lhpl-team-tab-count{background:var(--lhpl-gold);color:#111;border-color:var(--lhpl-gold)}

.lhpl-team-shell{background:#111;border-radius:26px;overflow:hidden;box-shadow:var(--lhpl-shadow)}
.lhpl-team-head{
  padding:24px 24px 22px;display:flex;align-items:center;gap:18px;
  background:linear-gradient(90deg,var(--team-accent,#f7b000) 0%, rgba(247,176,0,.68) 34%, rgba(247,176,0,0) 100%);
  color:#fff
}
.lhpl-team-logo{width:78px;height:78px;object-fit:contain;background:#fff;border-radius:16px;padding:6px;box-shadow:0 8px 20px rgba(0,0,0,.15)}
.lhpl-team-head h3{font-size:clamp(34px,4vw,48px);line-height:.95;margin:0;letter-spacing:-.04em;text-transform:none}
.lhpl-team-head p{margin:7px 0 0;color:#efefef;font-size:18px}
.lhpl-team-head-copy{min-width:180px}
.lhpl-team-ranking{margin-left:auto;display:flex;align-items:stretch;gap:10px;background:rgba(8,8,9,.72);border:1px solid rgba(247,176,0,.42);border-radius:18px;padding:10px;box-shadow:0 12px 30px rgba(0,0,0,.18);backdrop-filter:blur(3px)}
.lhpl-team-ranking-main{min-width:150px;padding:8px 12px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid rgba(255,255,255,.10)}
.lhpl-team-ranking-main>span{font-size:10px;font-weight:900;letter-spacing:1.7px;color:var(--lhpl-gold)}
.lhpl-team-ranking-main>strong{display:block;font-size:38px;line-height:1;color:#fff;margin:4px 0 2px;letter-spacing:-.03em}
.lhpl-team-ranking-main>strong small{font-size:16px;color:var(--lhpl-gold);margin-left:3px}
.lhpl-team-ranking-main>em{font-size:10px;font-style:normal;color:#bdbdc2}
.lhpl-team-ranking-skills{display:grid;grid-template-columns:repeat(3,minmax(74px,1fr));gap:6px;align-items:center}
.lhpl-team-ranking-skills div{background:rgba(255,255,255,.07);border-radius:10px;padding:8px 10px;text-align:center;min-width:74px}
.lhpl-team-ranking-skills span{display:block;font-size:10px;color:#cfcfd4;margin-bottom:3px}
.lhpl-team-ranking-skills strong{display:block;color:#fff;font-size:16px}
.lhpl-player-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,240px));gap:14px;padding:18px;justify-content:start}
.lhpl-player-card{
  appearance:none;border:1px solid #333;border-radius:18px;background:#1b1b1d;color:#fff;padding:0;overflow:hidden;text-align:left;cursor:pointer;transition:.2s;
}
.lhpl-player-card:hover{transform:translateY(-4px);border-color:var(--lhpl-gold);box-shadow:0 12px 26px rgba(0,0,0,.24)}
.lhpl-player-photo{aspect-ratio:1/1;width:100%;object-fit:contain;object-position:center;background:linear-gradient(145deg,#242428,#171719);display:block;padding:8px;box-sizing:border-box}
.lhpl-player-placeholder{aspect-ratio:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(circle at 50% 35%,#343438 0,#252528 55%,#1e1e20 100%);color:#f7b000}.lhpl-player-placeholder-badge{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;border:3px solid rgba(247,176,0,.55);background:#111;font-size:27px;font-weight:900;letter-spacing:-1px;box-shadow:0 10px 30px rgba(0,0,0,.25)}.lhpl-player-placeholder small{color:#b8b8bd;font-size:10px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase}
.lhpl-player-info{padding:14px;display:block}
.lhpl-player-number{
  display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:28px;
  background:rgba(247,176,0,.15);color:var(--lhpl-gold);border:1px solid rgba(247,176,0,.35);
  border-radius:999px;font-size:12px;font-weight:900;margin-bottom:10px
}
.lhpl-player-name{display:block;font-weight:900;font-size:18px;line-height:1.1}
.lhpl-player-score{display:block;color:#dfdfdf;font-size:13px;margin-top:8px}
.lhpl-player-score strong{color:var(--lhpl-gold)}
.lhpl-empty{padding:46px 24px;color:#bbb;text-align:center;font-size:18px}

.lhpl-powered{text-align:center;margin-top:28px;color:#777;font-size:13px}.lhpl-powered strong{color:#111}
.lhpl-loading{padding:35px;text-align:center;color:#777}

.lhpl-modal{position:fixed;inset:0;z-index:99999;display:none}
.lhpl-modal.open{display:block}
.lhpl-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(5px)}
.lhpl-modal-card{position:relative;z-index:2;width:min(920px,calc(100% - 28px));max-height:92vh;overflow:auto;margin:4vh auto;background:#fff;border-radius:24px;box-shadow:0 30px 90px rgba(0,0,0,.4)}
.lhpl-modal-card *{box-sizing:border-box}
.lhpl-modal-close{position:absolute;right:15px;top:12px;z-index:5;border:0;background:#111;color:#fff;width:40px;height:40px;border-radius:50%;font-size:28px;line-height:1;cursor:pointer}

.lhpl-profile{display:grid;grid-template-columns:1fr 1fr;min-height:500px}
.lhpl-profile-left{background:linear-gradient(180deg, #101010 0%, #19191b 100%);color:#fff;padding:28px;position:relative}
.lhpl-profile-left:before{content:"";position:absolute;inset:0 0 auto auto;width:190px;height:190px;border:38px solid rgba(247,176,0,.09);border-radius:50%;transform:translate(35%,-35%)}
.lhpl-profile-left img{width:100%;aspect-ratio:1/1;object-fit:contain;object-position:center;background:linear-gradient(145deg,#2a2a2e,#161618);border-radius:20px;margin-top:40px;position:relative;z-index:1;padding:10px;box-sizing:border-box;border:1px solid rgba(255,255,255,.08)}
.lhpl-profile-left h2{font-size:36px;line-height:1;margin:18px 0 6px;text-transform:uppercase;letter-spacing:-.03em;color:#fff!important;text-shadow:0 3px 12px rgba(0,0,0,.45);position:relative;z-index:2}
.lhpl-profile-team{color:var(--lhpl-gold);font-weight:900;font-size:20px}
.lhpl-profile-right{padding:34px 28px}
.lhpl-overall{display:inline-flex;align-items:baseline;gap:5px;background:var(--lhpl-gold);padding:10px 15px;border-radius:12px;font-weight:900;margin-bottom:20px}
.lhpl-overall strong{font-size:32px}
.lhpl-chart-wrap{height:290px;background:linear-gradient(180deg,#4ea95d 0%, #2f8041 45%, #236433 100%);border:1px solid #b6d8b5;border-radius:28px;padding:8px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.12)}
.lhpl-stat-pills{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.lhpl-stat-pills div{background:#f4f4f4;border-radius:12px;padding:12px;text-align:center}
.lhpl-stat-pills strong{display:block;font-size:22px}
.lhpl-download{margin-top:20px;width:100%;border:0;border-radius:12px;padding:14px;background:#111;color:#fff;font-weight:900;cursor:pointer;transition:.18s}
.lhpl-download:hover{background:var(--lhpl-red)}

@media (max-width: 900px){
  .lhpl-hero{min-height:500px;padding:24px;align-items:flex-end;justify-content:flex-end;background-position:center}
  .lhpl-hero-copy{width:100%;padding:22px}
}
@media (max-width:760px){
  .lhpl-wrap{margin-top:10px}
  .lhpl-hero{min-height:460px;padding:18px}
  .lhpl-hero-copy{padding:18px;border-radius:18px}
  .lhpl-hero h1{font-size:clamp(30px,11vw,48px)}
  .lhpl-hero-lead,.lhpl-hero p{font-size:17px}
  .lhpl-grid.two{grid-template-columns:1fr}
  .lhpl-rating-row{grid-template-columns:1fr}
  .lhpl-upload-box{align-items:flex-start;flex-direction:column}
  .lhpl-upload-control{width:100%;justify-content:flex-start}
  .lhpl-upload-file-name{min-width:0}
  .lhpl-profile{grid-template-columns:1fr}
  .lhpl-profile-left img{margin-top:22px}
  .lhpl-player-grid{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}
  .lhpl-panel{padding:22px}
  .lhpl-team-head{align-items:flex-start;flex-wrap:wrap}
  .lhpl-team-head h3{font-size:28px}
  .lhpl-team-ranking{width:100%;margin-left:0;flex-wrap:wrap}
  .lhpl-team-ranking-main{border-right:0;border-bottom:1px solid rgba(255,255,255,.10);width:100%}
  .lhpl-team-ranking-skills{width:100%}
  .lhpl-section-heading.center p{font-size:16px}
}
@media (max-width:420px){
  .lhpl-player-grid{grid-template-columns:1fr}
  .lhpl-rating-options{justify-content:space-between}
  .lhpl-rating-options span{width:40px;height:40px}
  .lhpl-hero-actions{flex-direction:column}
  .lhpl-hero-btn{width:100%}
}

/* v1.9 team selection + player style */
.lhpl-grid.one{grid-template-columns:1fr}
.lhpl-team-choice-block{margin:18px 0 22px}
.lhpl-field-title{font-size:14px;font-weight:900;margin-bottom:10px;color:#111}
.lhpl-team-choice-row{display:flex;flex-wrap:wrap;gap:10px}
.lhpl-team-choice{position:relative;cursor:pointer;display:block!important}
.lhpl-team-choice input{position:absolute;opacity:0;pointer-events:none}
.lhpl-team-choice span{display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:46px;padding:10px 14px;border:2px solid #111;background:#fff;color:#111;border-radius:14px;font-size:13px;font-weight:900;transition:.18s;box-shadow:0 3px 0 rgba(0,0,0,.08)}
.lhpl-team-choice input:checked+span{background:#111;color:var(--lhpl-gold);border-color:var(--lhpl-red);transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.14)}
.lhpl-team-choice:hover span{border-color:var(--lhpl-gold)}

.lhpl-player-types{margin:20px 0;background:#f7f7f8;border:1px solid #e1e1e5;border-radius:20px;padding:20px}
.lhpl-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lhpl-style-field{background:#fff;border:1px solid #e6e6e8;border-radius:16px;padding:16px}
.lhpl-style-label{font-weight:900;margin-bottom:12px;font-size:15px}
.lhpl-style-options{display:flex;flex-wrap:wrap;gap:8px}
.lhpl-style-options label{position:relative;cursor:pointer;display:block!important}
.lhpl-style-options input{position:absolute;opacity:0;pointer-events:none}
.lhpl-style-options span{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border-radius:999px;background:#f0f0f2;border:2px solid transparent;font-size:13px;font-weight:900;transition:.18s}
.lhpl-style-options input:checked+span{background:var(--lhpl-gold);color:#111;border-color:#111}
.lhpl-style-options label:hover span{border-color:var(--lhpl-gold)}

.lhpl-role-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.lhpl-role-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:900}
.lhpl-role-badge.gold{background:var(--lhpl-gold);color:#111}

@media(max-width:760px){
  .lhpl-style-grid{grid-template-columns:1fr}
  .lhpl-team-choice-row{gap:8px}
  .lhpl-team-choice{flex:1 1 calc(33.333% - 8px)}
  .lhpl-team-choice span{width:100%;min-width:0}
}
