/* PL LaLiga – mobile shows Team + M + BZ + BS + Pkt */
.pll-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 2px 8px rgba(0,0,0,.04);overflow:hidden;margin:1rem 0}
.pll-head{display:flex;justify-content:space-between;align-items:flex-end;gap:.75rem;padding:1rem 1.25rem;border-bottom:1px solid #f1f5f9;background:#fafafa}
.pll-head h2{margin:0;font-size:1.1rem;line-height:1.2}
.pll-meta{font-size:.85rem;opacity:.75}
.pll-wrap{width:100%;overflow-x:auto}
.pll-table{width:100%;border-collapse:separate;border-spacing:0;min-width:760px;table-layout:fixed}
.pll-table thead th{position:sticky;top:0;background:#eef2f7;color:#0f172a;border-bottom:1px solid #cfd8e3;font-weight:700;font-size:.85rem;padding:.6rem .7rem;letter-spacing:.02em}
.pll-table tbody td{padding:.55rem .7rem;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#334155}
.pll-table tbody tr:nth-child(odd){background:#fcfcfd}
.pll-table tbody tr:hover{background:#f7fbff}
.c-pos,.c-num,.c-pts,.c-score,.c-date{text-align:center;white-space:nowrap}
.c-pts{font-weight:700}
.c-team{white-space:nowrap;overflow:hidden}
.c-team .team-name{display:inline-block;max-width:calc(100% - 26px);overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.pll-table img{width:18px;height:18px;object-fit:contain;vertical-align:middle;margin-right:.45rem;flex:0 0 auto}
.pll-caption{display:flex;justify-content:space-between;gap:.75rem;padding:.75rem 1.25rem;font-size:.85rem;background:#fafafa;color:#334155;border-top:1px solid #f1f5f9}
.pll-caption .pll-sign{font-weight:600}
/* zone bars */
.z-bar{display:inline-block;width:6px;height:16px;border-radius:3px;margin-right:.4rem;vertical-align:middle}
.z-champ .z-bar{background:#16a34a}
.z-europe .z-bar{background:#2563eb}
.z-releg .z-bar{background:#dc2626}

/* --- Mobile layout: keep Team + M + BZ + BS + Pkt --- */
@media (max-width:640px){
  .pll-table{min-width:0}
  /* hide columns except team, M, BZ, BS, Pkt */
  .pll-table--standings .c-pos,
  .pll-table--standings thead .c-num:not(.c-played):not(.c-gf):not(.c-ga),
  .pll-table--standings tbody .c-num:not(.c-played):not(.c-gf):not(.c-ga){display:none}
  /* adjust colgroup widths */
  .pll-table--standings colgroup col:nth-child(1),
  .pll-table--standings colgroup col:nth-child(4),
  .pll-table--standings colgroup col:nth-child(5),
  .pll-table--standings colgroup col:nth-child(6),
  .pll-table--standings colgroup col:nth-child(9){display:none}
  .pll-table--standings colgroup col:nth-child(2){width:46% !important}
  .pll-table--standings colgroup col:nth-child(3){width:12% !important} /* M */
  .pll-table--standings colgroup col:nth-child(7){width:14% !important} /* BZ */
  .pll-table--standings colgroup col:nth-child(8){width:14% !important} /* BS */
  .pll-table--standings colgroup col:nth-child(10){width:14% !important} /* Pkt */
  .pll-head{padding:.8rem 1rem}
  .pll-head h2{font-size:1rem}
}

/* narrow header on small tablets */
@media (max-width:768px){
  .pll-head{flex-direction:column;align-items:flex-start}
}
