/* WK Pool Pro v2.10.13 - mobiele eigen kroegstand compact als algemene stand */
@media (max-width: 768px){
  /* Eigen kroegpagina: minder scroll, geen grote scorekaarten boven de lijst */
  html body .wkp-kroeg-detail-page .wkp-pub-hero,
  html body .wkp-kroeg-detail-page .wkp-pub-stats,
  html body .wkp-kroeg-detail-page .wkp-podium,
  html body .wkp-kroeg-detail-page .wkp-print-actions,
  html body .wkp-kroeg-detail-page p:has(> a.wkp-button){
    display:none!important;
  }

  /* De bestaande tabel op mobiel ombouwen naar dezelfde compacte lijststijl als de algemene stand */
  html body .wkp-kroeg-detail-page table.wkp-table,
  html body .wkp-kroeg-detail-page table.wkp-table tbody{
    display:block!important;
    width:100%!important;
    margin:6px 0 96px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  html body .wkp-kroeg-detail-page table.wkp-table thead{
    display:none!important;
  }

  html body .wkp-kroeg-detail-page table.wkp-table tbody::before{
    content:'#   TEAM / DEELNEMER                                      PUNTEN';
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) 68px!important;
    gap:10px!important;
    align-items:center!important;
    padding:9px 0 10px!important;
    border-bottom:1px solid rgba(255,255,255,.22)!important;
    color:rgba(255,255,255,.72)!important;
    -webkit-text-fill-color:rgba(255,255,255,.72)!important;
    font-size:10px!important;
    font-weight:950!important;
    letter-spacing:.04em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }

  html body .wkp-kroeg-detail-page table.wkp-table tr{
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) 68px!important;
    gap:10px!important;
    align-items:center!important;
    min-height:46px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.12)!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
  }

  html body .wkp-kroeg-detail-page table.wkp-table td{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    line-height:1.15!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  /* Alleen positie, teamnaam en totaal tonen. Wedstrijden/rondes weg om scroll te verminderen. */
  html body .wkp-kroeg-detail-page table.wkp-table td:nth-child(3),
  html body .wkp-kroeg-detail-page table.wkp-table td:nth-child(4){
    display:none!important;
  }

  html body .wkp-kroeg-detail-page table.wkp-table td:nth-child(1){
    grid-column:1!important;
    color:#ff8a1d!important;
    -webkit-text-fill-color:#ff8a1d!important;
    font-size:19px!important;
    font-weight:1000!important;
    text-align:left!important;
  }

  html body .wkp-kroeg-detail-page table.wkp-table td:nth-child(2){
    grid-column:2!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:17px!important;
    font-weight:950!important;
    text-align:left!important;
  }

  html body .wkp-kroeg-detail-page table.wkp-table td:nth-child(5){
    grid-column:3!important;
    color:rgba(255,255,255,.80)!important;
    -webkit-text-fill-color:rgba(255,255,255,.80)!important;
    text-align:right!important;
    font-size:12px!important;
    font-weight:700!important;
  }

  html body .wkp-kroeg-detail-page table.wkp-table td:nth-child(5) strong{
    color:#ff8a1d!important;
    -webkit-text-fill-color:#ff8a1d!important;
    font-size:20px!important;
    font-weight:1000!important;
  }

  html body .wkp-kroeg-detail-page table.wkp-table td:nth-child(5)::after{
    content:' pt';
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:12px!important;
    font-weight:800!important;
  }
}
