/* Delkampe readability. Uses existing Padellab colors and type; no new brand definitions. */
body.team-detail-open .liga-team-detail .detail-match-details,
body.team-detail-open .liga-team-detail .detail-live-breakdown{min-width:0;max-width:100%;box-sizing:border-box;overflow-x:hidden}
body.team-detail-open .liga-team-detail .detail-match-details-head{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:3px 2px 13px}
body.team-detail-open .liga-team-detail .detail-match-details-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
body.team-detail-open .liga-team-detail .detail-match-details-title .detail-match-details-kicker{margin:0;font-size:10px}
body.team-detail-open .liga-team-detail .detail-match-details-title>strong{font-size:23px;line-height:1.2;color:var(--text)}
body.team-detail-open .liga-team-detail .detail-match-details-title>small{font-size:10px;color:var(--muted)}
body.team-detail-open .liga-team-detail .detail-compact-fixture{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
body.team-detail-open .liga-team-detail .detail-compact-fixture>span{min-width:0;display:block;font-size:11px;line-height:1.35;overflow-wrap:anywhere;color:var(--text)}
body.team-detail-open .liga-team-detail .detail-compact-fixture b{display:block;margin-bottom:3px;font-size:9px;font-weight:850;color:var(--muted)}
body.team-detail-open .liga-team-detail .detail-round-list{margin-top:12px;gap:9px}
body.team-detail-open .liga-team-detail .detail-round{min-width:0;max-width:100%;overflow:hidden}
body.team-detail-open .liga-team-detail .detail-round>summary{list-style:none;cursor:pointer;min-width:0;gap:10px;padding:12px}
body.team-detail-open .liga-team-detail .detail-round>summary::-webkit-details-marker{display:none}
body.team-detail-open .liga-team-detail .detail-round>summary:focus-visible{outline:2px solid var(--lime);outline-offset:-2px}
body.team-detail-open .liga-team-detail .detail-round-head>div:first-child{min-width:0}
body.team-detail-open .liga-team-detail .detail-round-head h4{font-size:14px}
body.team-detail-open .liga-team-detail .detail-round-head small{font-size:10px;line-height:1.3}
body.team-detail-open .liga-team-detail .detail-round-score{margin-left:auto}
body.team-detail-open .liga-team-detail .detail-round-score strong{font-size:19px}
body.team-detail-open .liga-team-detail .detail-round-chevron{flex:none;display:inline-block;margin-left:3px;font-size:15px;color:var(--muted);transition:transform .16s ease}
body.team-detail-open .liga-team-detail .detail-round[open] .detail-round-chevron{transform:rotate(180deg)}
body.team-detail-open .liga-team-detail .detail-round:not([open])>.detail-round-matches{display:none!important}
body.team-detail-open .liga-team-detail .detail-round-matches{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:10px}
body.team-detail-open .liga-team-detail .detail-individual-match{min-width:0;max-width:100%;border-radius:12px}
body.team-detail-open .liga-team-detail .detail-individual-head{gap:10px;min-height:37px;padding:8px 11px}
body.team-detail-open .liga-team-detail .detail-individual-head span{font-size:10px;letter-spacing:.02em}
body.team-detail-open .liga-team-detail .detail-individual-head strong{font-size:11px}
body.team-detail-open .liga-team-detail .detail-individual-row{grid-template-columns:minmax(0,1fr) max-content;min-width:0;gap:9px;padding:10px 11px;min-height:65px}
body.team-detail-open .liga-team-detail .detail-individual-pair{min-width:0;max-width:100%;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
body.team-detail-open .liga-team-detail .detail-pair-team{margin-bottom:5px;font-size:9px;letter-spacing:.04em}
body.team-detail-open .liga-team-detail .detail-pair-names{display:block;min-width:0}
body.team-detail-open .liga-team-detail .detail-individual-sets{min-width:0;max-width:100%;gap:5px}
body.team-detail-open .liga-team-detail .detail-set-score,
body.team-detail-open .liga-team-detail .detail-individual-sets>span{width:26px;height:29px;font-size:13px;border-radius:6px}
body.team-detail-open .liga-team-detail .detail-individual-unplayed{font-size:11px;line-height:1.5}
@media(max-width:679px){
  body.team-detail-open .liga-team-detail .detail-match-details,
  body.team-detail-open .liga-team-detail .detail-live-breakdown{margin-left:0;margin-right:0;padding:10px 8px}
  body.team-detail-open .liga-team-detail .detail-match-details-title{gap:7px}
  body.team-detail-open .liga-team-detail .detail-match-details-title>strong{font-size:22px}
  body.team-detail-open .liga-team-detail .detail-round-matches{gap:7px;padding:7px}
  body.team-detail-open .liga-team-detail .detail-round-head{padding:11px 9px}
  body.team-detail-open .liga-team-detail .detail-round-head small{font-size:9px}
  body.team-detail-open .liga-team-detail .detail-individual-row{grid-template-columns:minmax(0,1fr) max-content;gap:6px;padding:10px 8px;align-items:center}
  body.team-detail-open .liga-team-detail .detail-individual-pair{font-size:12px}
  body.team-detail-open .liga-team-detail .detail-individual-player{display:inline!important;padding:0;line-height:1.3}
  body.team-detail-open .liga-team-detail .detail-pair-divider{display:none}
  body.team-detail-open .liga-team-detail .detail-individual-sets{gap:3px}
  body.team-detail-open .liga-team-detail .detail-set-score,
  body.team-detail-open .liga-team-detail .detail-individual-sets>span{width:24px;height:30px;font-size:12px}
}
@media(max-width:360px){
  body.team-detail-open .liga-team-detail .detail-compact-fixture{grid-template-columns:minmax(0,1fr)}
  body.team-detail-open .liga-team-detail .detail-individual-sets{gap:2px}
  body.team-detail-open .liga-team-detail .detail-set-score,
  body.team-detail-open .liga-team-detail .detail-individual-sets>span{width:22px}
}

/* Compact mobile double scores. One row per pair: double number | players | sets.
   Full names are still available to assistive technology and via profile links. */
body.team-detail-open .liga-team-detail .detail-individual-short,
body.team-detail-open .liga-team-detail .detail-player-name-short{display:none}
@media(max-width:679px){
  body.team-detail-open .liga-team-detail .detail-round-matches{gap:5px;padding:6px}
  body.team-detail-open .liga-team-detail .detail-individual-match{
    display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;
    gap:0;overflow:hidden;border-radius:9px;min-width:0
  }
  body.team-detail-open .liga-team-detail .detail-individual-head{
    grid-column:1;grid-row:1 / 3;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:2px;
    padding:6px 2px;min-height:0;min-width:0;
    border:0;border-right:1px solid var(--line);background:transparent
  }
  body.team-detail-open .liga-team-detail .detail-individual-head .detail-individual-full{display:none}
  body.team-detail-open .liga-team-detail .detail-individual-head .detail-individual-short{
    display:block;font-size:11px;font-weight:950;letter-spacing:0;white-space:nowrap;color:var(--muted)
  }
  body.team-detail-open .liga-team-detail .detail-individual-head strong{display:none}
  body.team-detail-open .liga-team-detail .detail-individual-match.no-sets .detail-individual-head strong,
  body.team-detail-open .liga-team-detail .detail-individual-match.is-unplayed .detail-individual-head strong{
    display:block;font-size:8px;line-height:1.2;text-align:center;overflow-wrap:anywhere
  }
  body.team-detail-open .liga-team-detail .detail-individual-row{
    grid-column:2;min-height:43px;max-width:100%;
    grid-template-columns:minmax(0,1fr) max-content;
    align-items:center;gap:5px;padding:5px 7px
  }
  body.team-detail-open .liga-team-detail .detail-individual-row:nth-of-type(2){grid-row:1}
  body.team-detail-open .liga-team-detail .detail-individual-row:nth-of-type(3){grid-row:2}
  body.team-detail-open .liga-team-detail .detail-individual-pair{font-size:11px;line-height:1.28;min-width:0}
  body.team-detail-open .liga-team-detail .detail-pair-team{display:none}
  body.team-detail-open .liga-team-detail .detail-pair-names{display:block;line-height:1.35;min-width:0;overflow-wrap:anywhere}
  body.team-detail-open .liga-team-detail .detail-individual-player{display:inline!important;padding:0;line-height:1.35}
  body.team-detail-open .liga-team-detail .detail-pair-divider{display:inline;margin:0 3px;color:var(--muted)}
  body.team-detail-open .liga-team-detail .detail-player-name-full{
    position:absolute!important;width:1px!important;height:1px!important;
    padding:0!important;margin:-1px!important;overflow:hidden!important;
    clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
  }
  body.team-detail-open .liga-team-detail .detail-player-name-short{display:inline!important}
  body.team-detail-open .liga-team-detail .detail-individual-sets{gap:3px;flex:none}
  body.team-detail-open .liga-team-detail .detail-set-score,
  body.team-detail-open .liga-team-detail .detail-individual-sets>span{
    width:22px;height:25px;font-size:12px;border-radius:5px
  }
  body.team-detail-open .liga-team-detail .detail-individual-unplayed{
    grid-column:2;grid-row:1/3;display:flex;align-items:center;
    padding:7px 9px;min-height:48px;text-align:left;font-size:10px
  }
  body.team-detail-open .liga-team-detail .detail-individual-match.is-unplayed .detail-individual-head{grid-row:1/3}
}
@media(max-width:360px){
  body.team-detail-open .liga-team-detail .detail-individual-match{grid-template-columns:27px minmax(0,1fr)}
  body.team-detail-open .liga-team-detail .detail-individual-row{gap:4px;padding:4px 5px}
  body.team-detail-open .liga-team-detail .detail-individual-sets{gap:2px}
  body.team-detail-open .liga-team-detail .detail-set-score,
  body.team-detail-open .liga-team-detail .detail-individual-sets>span{width:20px}
}
