/* WEB PICK Cloud Theme 3.0.9 — tournament match flow polish
 * Schedule / Bracket / Results use one shared visual system.
 */

/* ---- common tournament tabs ---- */
.vlp-ypp-tour-body .vlp-event-tab-head{margin-bottom:24px}
.vlp-ypp-tour-body .vlp-event-statline{align-self:center}

/* ---- schedule ---- */
.vlp-ypp-tour-body .vlp-ypp-round{
  overflow:hidden;
  border:1px solid #355a76;
  border-radius:14px;
  background:#183047;
  box-shadow:none;
}
.vlp-ypp-tour-body .vlp-ypp-round+ .vlp-ypp-round{margin-top:12px}
.vlp-ypp-tour-body .vlp-ypp-round summary{
  min-height:60px;
  padding:0 18px;
  display:flex;
  align-items:center;
  gap:12px;
  background:#193249;
  border:0;
  cursor:pointer;
  list-style:none;
}
.vlp-ypp-tour-body .vlp-ypp-round summary::-webkit-details-marker{display:none}
.vlp-ypp-tour-body .vlp-ypp-round[open] summary{border-bottom:1px solid #355a76}
.vlp-ypp-tour-body .vlp-ypp-round summary span{
  color:#fff;
  font-size:17px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.025em;
}
.vlp-ypp-tour-body .vlp-ypp-round summary small{
  margin-left:auto;
  color:#8aa8bc;
  font-size:9px;
  line-height:1.2;
  font-weight:700;
  white-space:nowrap;
}
.vlp-ypp-tour-body .vlp-ypp-round summary:after{
  content:'⌄';
  margin-left:4px;
  color:#ff9a25;
  font-size:14px;
  font-weight:900;
  transform:rotate(0deg);
  transition:transform .18s ease;
}
.vlp-ypp-tour-body .vlp-ypp-round[open] summary:after{transform:rotate(180deg)}

.vlp-ypp-tour-body .vlp-ypp-round-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 12px;
  padding:14px 16px 16px;
}
.vlp-ypp-tour-body .vlp-ypp-match,
.vlp-ypp-tour-body .vlp-cloud-schedule-match{
  width:100%;
  min-width:0;
  min-height:66px;
  margin:0;
  padding:10px 12px;
  display:grid;
  grid-template-columns:60px minmax(0,1fr) 76px minmax(0,1fr);
  align-items:center;
  column-gap:10px;
  row-gap:5px;
  background:#203c54;
  border:1px solid #3a607c;
  border-radius:10px;
  box-shadow:none;
  overflow:hidden;
}
.vlp-ypp-tour-body .vlp-ypp-match-group{
  min-width:0;
  color:#ffbd69;
  font-size:10px;
  line-height:1.25;
  font-weight:850;
  white-space:nowrap;
}
.vlp-ypp-tour-body .vlp-match-team{
  min-width:0;
  max-width:100%;
  color:#dfeaf4;
  font-size:11px;
  line-height:1.35;
  font-weight:650;
  overflow:hidden;
  overflow-wrap:anywhere;
  word-break:normal;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.vlp-ypp-tour-body .vlp-match-team.team-right{text-align:right}
.vlp-ypp-tour-body .vlp-match-team.winner,
.vlp-ypp-tour-body .vlp-ypp-match .winner{
  color:#ffe82f;
  font-weight:850;
}
.vlp-ypp-tour-body .vlp-match-score{
  min-width:72px;
  min-height:38px;
  padding:6px 8px;
  display:grid;
  place-items:center;
  align-self:center;
  background:#102b42;
  border:1px solid #365a75;
  border-radius:9px;
  color:#fff!important;
  font-size:14px!important;
  line-height:1;
  font-weight:850;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

/* ---- bracket ---- */
.vlp-ypp-tour-body .vlp-bracket-help{
  margin:-4px 0 15px;
  color:#87a5b9;
  font-size:10px;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-scroll{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:6px 2px 26px;
  scroll-behavior:smooth;
  scrollbar-color:#477998 #112a40;
  scrollbar-width:thin;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-grid{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:300px;
  align-items:stretch;
  gap:28px;
  min-width:max-content;
  padding:0 2px 6px;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-stage{
  width:300px;
  min-width:300px;
  display:flex;
  flex-direction:column;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-stage h3{
  width:168px;
  max-width:none;
  min-height:39px;
  margin:0 auto 18px;
  padding:10px 14px;
  display:grid;
  place-items:center;
  border-radius:5px;
  background:linear-gradient(110deg,#5130cc,#7938db);
  color:#fff;
  text-align:center;
  font-size:13px;
  line-height:1.1;
  font-weight:850;
  text-transform:uppercase;
  transform:skew(-7deg);
  box-shadow:0 8px 20px rgba(0,0,0,.13);
}
.vlp-ypp-tour-body .vlp-ypp-bracket-stage.stage-1 h3{background:linear-gradient(110deg,#7531be,#a744d9)}
.vlp-ypp-tour-body .vlp-ypp-bracket-stage.stage-2 h3,
.vlp-ypp-tour-body .vlp-ypp-bracket-stage:last-child h3{background:linear-gradient(110deg,#ef4d2c,#ff981c)}
.vlp-ypp-tour-body .vlp-ypp-bracket-list{
  flex:1;
  min-height:660px;
  height:auto;
  display:flex;
  flex-direction:column;
  justify-content:space-around;
  gap:10px;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-match{
  position:relative;
  width:100%;
  min-height:100px;
  margin:0;
  overflow:visible;
  background:#1b3349;
  border:1px solid #3a5b75;
  border-radius:10px;
  box-shadow:0 9px 20px rgba(0,10,25,.08);
}
.vlp-ypp-tour-body .vlp-ypp-bracket-match:after{
  content:'';
  position:absolute;
  left:100%;
  top:50%;
  width:29px;
  border-top:1px solid #43647a;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-stage:last-child .vlp-ypp-bracket-match:after{display:none}
.vlp-ypp-tour-body .vlp-ypp-bracket-match>small{
  display:block;
  padding:6px 10px;
  color:#ffbe54;
  font-size:10px;
  line-height:1.2;
  font-weight:850;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-team{
  min-width:0;
  min-height:37px;
  padding:6px 9px;
  display:flex;
  align-items:center;
  gap:6px;
  border-top:1px solid #314e67;
  color:#e5edf5;
  font-size:11px;
  line-height:1.25;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-team>span:not(.vlp-ypp-pair-photos){
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-team.winner{
  background:linear-gradient(90deg,#493a38,#503a36);
  color:#ffe43e;
  font-weight:850;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-team b{
  flex:0 0 auto;
  margin-left:8px;
  color:#fff;
  font-size:14px;
  font-variant-numeric:tabular-nums;
}
.vlp-ypp-tour-body .vlp-ypp-bracket-team .vlp-ypp-pair-photos{flex:0 0 auto}
.vlp-ypp-tour-body .vlp-ypp-bracket-team .vlp-ypp-avatar{width:23px;height:23px}

/* Cloud-only bracket fallback: same visual language, no cramped cards */
.vlp-ypp-tour-body .vlp-cloud-bracket-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.vlp-ypp-tour-body .vlp-cloud-bracket-list article{
  min-width:0;
  padding:13px 14px;
  background:#1c3348;
  border:1px solid #36556d;
  border-radius:10px;
}
.vlp-ypp-tour-body .vlp-cloud-bracket-list h3{
  margin:5px 0;
  color:#fff;
  font-size:12px;
  line-height:1.4;
  overflow-wrap:anywhere;
}

/* ---- results ---- */
.vlp-ypp-tour-body .vlp-ypp-section-heading{
  margin:30px 0 14px;
  padding-left:12px;
  border-left:4px solid #ff6d2c;
  color:#fff;
  font-size:20px;
  line-height:1.2;
  letter-spacing:-.025em;
}
.vlp-ypp-tour-body .vlp-results-list,
.vlp-ypp-tour-body .vlp-knockout-results{display:grid;gap:8px}
.vlp-ypp-tour-body .vlp-result-match{
  min-height:66px;
  grid-template-columns:62px minmax(0,1fr) 76px minmax(0,1fr);
  padding:10px 13px;
}
.vlp-ypp-tour-body .vlp-knockout-results article{
  min-width:0;
  min-height:64px;
  padding:10px 14px;
  display:grid;
  grid-template-columns:104px minmax(0,1fr) 76px minmax(0,1fr);
  gap:12px;
  align-items:center;
  background:#20394e;
  border:1px solid #385972;
  border-radius:9px;
  overflow:hidden;
}
.vlp-ypp-tour-body .vlp-result-stage{
  color:#ffbd6b;
  font-size:9px;
  line-height:1.2;
  font-weight:850;
  text-transform:uppercase;
  white-space:nowrap;
}
.vlp-ypp-tour-body .vlp-result-team{
  min-width:0;
  color:#dce6ef;
  font-size:11px;
  line-height:1.35;
  overflow:hidden;
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.vlp-ypp-tour-body .vlp-result-team.right{text-align:right}
.vlp-ypp-tour-body .vlp-result-team.winner{color:#f4e530;font-weight:850}
.vlp-ypp-tour-body .vlp-knockout-results b{
  min-width:72px;
  min-height:36px;
  padding:7px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#132a3f;
  border:1px solid #34546d;
  color:#fff;
  font-size:13px;
  line-height:1;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

/* ---- responsive ---- */
@media(max-width:1180px){
  .vlp-ypp-tour-body .vlp-ypp-round-grid{grid-template-columns:1fr}
  .vlp-ypp-tour-body .vlp-cloud-bracket-list{grid-template-columns:1fr}
}
@media(max-width:760px){
  .vlp-ypp-tour-body .vlp-event-tab-head{align-items:flex-start}
  .vlp-ypp-tour-body .vlp-ypp-round summary{min-height:56px;padding:0 13px}
  .vlp-ypp-tour-body .vlp-ypp-round summary span{font-size:15px}
  .vlp-ypp-tour-body .vlp-ypp-round summary small{display:none}
  .vlp-ypp-tour-body .vlp-ypp-round-grid{padding:10px;gap:8px}
  .vlp-ypp-tour-body .vlp-ypp-match,
  .vlp-ypp-tour-body .vlp-cloud-schedule-match,
  .vlp-ypp-tour-body .vlp-result-match{
    grid-template-columns:48px minmax(0,1fr) 58px minmax(0,1fr);
    gap:6px;
    min-height:62px;
    padding:8px;
  }
  .vlp-ypp-tour-body .vlp-match-team{font-size:10px;line-height:1.3}
  .vlp-ypp-tour-body .vlp-match-score{min-width:0;min-height:34px;font-size:12px!important;padding:5px}
  .vlp-ypp-tour-body .vlp-ypp-bracket-grid{grid-auto-columns:280px;gap:24px}
  .vlp-ypp-tour-body .vlp-ypp-bracket-stage{width:280px;min-width:280px}
  .vlp-ypp-tour-body .vlp-ypp-bracket-list{min-height:620px}
  .vlp-ypp-tour-body .vlp-ypp-bracket-match:after{display:none}
  .vlp-ypp-tour-body .vlp-knockout-results article{
    grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr);
    gap:7px;
    padding:10px;
  }
  .vlp-ypp-tour-body .vlp-result-stage{grid-column:1/-1;justify-self:start}
  .vlp-ypp-tour-body .vlp-knockout-results b{min-width:58px}
}
@media(max-width:480px){
  .vlp-ypp-tour-body .vlp-ypp-match,
  .vlp-ypp-tour-body .vlp-cloud-schedule-match,
  .vlp-ypp-tour-body .vlp-result-match{
    grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);
    position:relative;
    padding:29px 9px 9px;
  }
  .vlp-ypp-tour-body .vlp-ypp-match-group{
    position:absolute;
    top:8px;
    left:9px;
  }
  .vlp-ypp-tour-body .vlp-match-team{-webkit-line-clamp:3}
  .vlp-ypp-tour-body .vlp-ypp-bracket-grid{grid-auto-columns:260px}
  .vlp-ypp-tour-body .vlp-ypp-bracket-stage{width:260px;min-width:260px}
  .vlp-ypp-tour-body .vlp-ypp-bracket-team{font-size:10px}
}
