/* Padellab master palette for Liga team pages */
body.team-detail-open{
  background:
    radial-gradient(circle at 82% -8%,rgba(199,255,61,.11),transparent 30%),
    linear-gradient(180deg,#06100c 0%,#07140e 58%,#050c08 100%)!important;
}

body.team-detail-open .liga-team-detail{
  --text:#f3f7f4;
  --muted:#8fa398;
  --line:rgba(255,255,255,.09);
  --lime:#c7ff3d;
  --shadow:0 22px 60px rgba(0,0,0,.34);
}

body.team-detail-open .liga-team-detail .detail-meta span{
  color:#b9c8bf!important;
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(255,255,255,.09)!important;
}

body.team-detail-open .liga-team-detail .detail-next{
  background:
    radial-gradient(circle at 100% 0,rgba(199,255,61,.095),transparent 35%),
    linear-gradient(145deg,rgba(13,34,22,.99),rgba(6,19,13,.99))!important;
  border-color:rgba(199,255,61,.25)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.32)!important;
}

body.team-detail-open .liga-team-detail .matchup-team-card,
body.team-detail-open .liga-team-detail .detail-next .detail-versus button.matchup-team-card{
  background:linear-gradient(145deg,rgba(13,31,21,.96),rgba(8,23,15,.98))!important;
  border-color:rgba(255,255,255,.09)!important;
}

body.team-detail-open .liga-team-detail .matchup-team-card.current,
body.team-detail-open .liga-team-detail .detail-next .detail-versus button.matchup-team-card.current{
  background:linear-gradient(145deg,rgba(199,255,61,.11),rgba(20,42,24,.9))!important;
  border-color:rgba(199,255,61,.34)!important;
}

body.team-detail-open .liga-team-detail .detail-stat{
  background:linear-gradient(145deg,rgba(13,31,21,.96),rgba(7,20,13,.98))!important;
  border-color:rgba(255,255,255,.09)!important;
}

body.team-detail-open .liga-team-detail .detail-match{
  background:linear-gradient(145deg,rgba(12,30,20,.96),rgba(7,20,13,.98))!important;
  border-color:rgba(255,255,255,.09)!important;
}

body.team-detail-open .liga-team-detail .detail-match:hover,
body.team-detail-open .liga-team-detail .detail-match:focus-visible{
  background:linear-gradient(145deg,rgba(17,39,25,.98),rgba(8,24,15,.99))!important;
  border-color:rgba(199,255,61,.28)!important;
}

body.team-detail-open .liga-team-detail .detail-table{
  background:rgba(8,23,15,.72)!important;
  border-color:rgba(255,255,255,.09)!important;
}

body.team-detail-open .liga-team-detail tr.mine{
  background:rgba(199,255,61,.075)!important;
  color:#efffc7!important;
}

body.team-detail-open .liga-team-detail .detail-player{
  background:linear-gradient(145deg,rgba(12,30,20,.9),rgba(7,20,13,.96))!important;
  border-color:rgba(255,255,255,.09)!important;
}

body.team-detail-open .liga-team-detail .detail-player.mine{
  background:rgba(199,255,61,.075)!important;
  border-color:rgba(199,255,61,.4)!important;
}

body.team-detail-open .liga-team-detail .detail-next-details,
body.team-detail-open .liga-team-detail .detail-back{
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(255,255,255,.1)!important;
}

body.team-detail-open .liga-team-detail .detail-share{
  color:#c7ff3d!important;
  background:rgba(199,255,61,.075)!important;
  border-color:rgba(199,255,61,.28)!important;
}

body.team-detail-open .liga-match-dialog-backdrop{
  background:rgba(2,9,5,.82)!important;
}

body.team-detail-open .liga-match-dialog{
  background:
    radial-gradient(circle at 86% 0,rgba(199,255,61,.09),transparent 30%),
    linear-gradient(155deg,#0d2116,#06140d 72%)!important;
  border-color:rgba(199,255,61,.2)!important;
}

body.team-detail-open .match-dialog-team,
body.team-detail-open .match-dialog-info,
body.team-detail-open .match-dialog-secondary{
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(255,255,255,.09)!important;
}

body.team-detail-open .match-dialog-team.current{
  background:rgba(199,255,61,.075)!important;
  border-color:rgba(199,255,61,.34)!important;
}

body.team-detail-open .match-dialog-score.played strong{
  background:rgba(255,255,255,.06)!important;
}

body.team-detail-open .match-dialog-status.upcoming,
body.team-detail-open .match-dialog-status.played{
  color:#c4d1c9!important;
  background:rgba(255,255,255,.04)!important;
}

body.team-detail-open .match-dialog-footnote{
  color:#7f9488!important;
}

/* Legacy standalone hold view uses the same palette */
body .next-card,
body .season-stats article,
body .match-card{
  background:linear-gradient(145deg,rgba(13,31,21,.96),rgba(7,20,13,.98))!important;
}
body .standings-rules-modal{
  background:linear-gradient(145deg,#0d2116,#06140d)!important;
}

body.team-detail-open .liga-team-detail .detail-jump{
  background:rgba(5,16,10,.9)!important;
  border-color:rgba(255,255,255,.1)!important;
}
body.team-detail-open .liga-team-detail .detail-match.is-win{
  border-color:rgba(199,255,61,.22)!important;
}
body.team-detail-open .liga-team-detail .detail-match.is-loss{
  border-color:rgba(255,107,107,.16)!important;
}
