/* ============================================================
   ligue1score.com — English edition layer (/en/)
   Only covers the en-* blocks the pt-* kit doesn't style:
   prose rhythm, match rows, club cards, form badges.
   Everything else reuses palette.css tokens.
   ============================================================ */

.en-crumb{font-size:.78rem;color:var(--muted);margin:0 0 8px}
.en-crumb a{color:var(--muted);text-decoration:none}
.en-crumb a:hover{color:var(--brand)}
.en-crumb span{color:var(--ink);font-weight:600}

.en-hero{padding:26px 0 8px}
.en-hero h1{font-family:var(--headfont,inherit);font-size:clamp(1.6rem,3.4vw,2.3rem);
  line-height:1.18;letter-spacing:-.015em;margin:0 0 10px;color:var(--ink)}
.en-lede{font-size:1.02rem;line-height:1.65;color:var(--muted);max-width:76ch;margin:0}

/* article prose */
.en-prose{max-width:78ch}
.en-prose h2{font-family:var(--headfont,inherit);font-size:1.22rem;margin:26px 0 10px;
  line-height:1.3;color:var(--ink)}
.en-prose h2:first-child{margin-top:0}
.en-prose p{margin:0 0 14px;line-height:1.72;color:var(--ink);font-size:.97rem}

/* match rows (fixtures / results) */
.en-mlist{display:flex;flex-direction:column;border:1px solid var(--line);
  border-radius:6px;background:var(--panel);overflow:hidden}
.pt-mrow{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:10px;align-items:center;
  padding:9px 14px;border-bottom:1px dashed var(--rowline);font-size:.9rem}
.pt-mrow:last-child{border-bottom:0}
.en-md{color:var(--muted);font-size:.76rem;white-space:nowrap}
.en-h{text-align:right;color:var(--ink);font-weight:700}
.en-a{text-align:left;color:var(--ink);font-weight:700}
.en-sc{color:var(--brand);font-weight:800;font-variant-numeric:tabular-nums;
  background:var(--panelhead);border:1px solid var(--rowline);border-radius:4px;
  padding:2px 10px;text-align:center;min-width:64px}
@media (max-width:560px){
  .pt-mrow{grid-template-columns:1fr auto 1fr;font-size:.84rem}
  .en-md{grid-column:1 / -1;margin-bottom:-4px}
}

/* home split: results + fixtures side by side */
.en-split-in{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
@media (max-width:900px){.en-split-in{grid-template-columns:1fr}}
.en-col{min-width:0}

/* facts band (reuse pt-facts if present, else this) */
.pt-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
  border:1px solid var(--line);border-radius:6px;background:var(--panel);padding:18px}
.pt-fact{text-align:center}
.pt-fact b{display:block;font-family:var(--headfont,inherit);font-size:1.7rem;
  color:var(--brand);line-height:1.1}
.pt-fact span{font-size:.76rem;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
@media (max-width:700px){.pt-facts{grid-template-columns:repeat(2,1fr)}}

/* form badges */
.pt-formcell{white-space:nowrap}
.pt-fm{display:inline-flex;align-items:center;justify-content:center;
  width:20px;height:20px;border-radius:50%;font-size:.66rem;font-weight:800;
  font-style:normal;margin-right:3px;color:#fff}
.pt-fm.w{background:#2e7d32}
.pt-fm.d{background:#9e9e9e}
.pt-fm.l{background:#c62828}

/* zone shading */
tr.up td:first-child{box-shadow:inset 3px 0 0 #2e7d32}
tr.po td:first-child{box-shadow:inset 3px 0 0 #ef6c00}
tr.rel td:first-child{box-shadow:inset 3px 0 0 #c62828}

/* full table on narrow screens: scroll inside the frame, never break layout */
.pt-tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);
  border-radius:6px;background:var(--panel)}
.pt-tblwrap .pt-tbl{min-width:520px}

/* club cards */
.en-clubs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:1080px){.en-clubs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.en-clubs{grid-template-columns:1fr}}
.en-club{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:16px}
.en-club-hd b{display:block;font-family:var(--headfont,inherit);font-size:1.05rem;color:var(--ink)}
.en-club-hd span{display:block;font-size:.78rem;color:var(--muted);margin-top:3px}
.en-club-hd em{display:inline-block;font-style:normal;font-size:.72rem;font-weight:800;
  color:var(--brand);background:var(--panelhead);border:1px solid var(--rowline);
  border-radius:3px;padding:2px 8px;margin-top:8px}
.en-club p{margin:10px 0 0;font-size:.86rem;line-height:1.6;color:var(--muted)}

/* column cards (English layer) */
.en-cardlink{display:block;text-decoration:none;color:inherit}
.en-cardlink:hover h3{color:var(--brand)}

/* 404 */
.en-err{max-width:640px;padding:40px 0 60px}
.en-err h1{font-family:var(--headfont,inherit);font-size:1.7rem;margin:0 0 12px;color:var(--ink)}
.en-err p{color:var(--muted);line-height:1.7}
.en-err a{color:var(--brand);font-weight:700}
