/* Boltastats â€” unified stylesheet (cleaned, de-duplicated)
   - Base variables + dark theme
   - Global UI components
   - UI polish (cards/animations/glass/gradients)
   - Event page styles (#event-root)
   Last updated: 2025-09-27
*/

/* ===========================
   Variables (light + dark)
   =========================== */
:root{
  /* Core palette */
  --bg:#f7f9fc; --card:#ffffff; --bd:#e8edf3; --text:#0f172a; --muted:#5b6472; --accent:#2563eb;
  /* Extras */
  --chip:#eef2ff; --chipbd:#c7d2fe; --tableStripe:#fafbff;
  --ok:#16a34a; --warn:#eab308; --bad:#dc2626;
  /* Shadows + radii */
  --shadow:0 1px 1px rgba(16,24,40,.05), 0 1px 2px rgba(16,24,40,.06);
  --radius:14px;
  /* Pretty accents */
  --accent-1:#16a34a;  /* green */
  --accent-2:#3b82f6;  /* blue */
  --ring: rgba(59,130,246,.25);
  --card-grad-a: rgba(59,130,246,.06);
  --card-grad-b: rgba(34,197,94,.06);
}
[data-theme="dark"]{
  --bg:#0b1220; --card:#0f172a; --bd:#1f2937; --text:#e5e7eb; --muted:#9ca3af; --accent:#60a5fa;
  --chip:#0b1220; --chipbd:#1f2937; --tableStripe:#0b1220;
  --shadow:0 1px 1px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.35);
  --card-grad-a: rgba(59,130,246,.10);
  --card-grad-b: rgba(34,197,94,.10);
  --ring: rgba(96,165,250,.35);
}

/* ===========================
   Base layout & typography
   =========================== */
html,body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}

.container{max-width:1200px;margin:0 auto;padding:14px}
.top{display:flex;gap:10px;align-items:center;justify-content:space-between;background:var(--card);border-bottom:1px solid var(--bd)}
.brand{font-weight:800;letter-spacing:.2px}

.muted{color:var(--muted)}
.small{font-size:.92rem}
.tiny{font-size:.78rem}

/* ===========================
   Cards, buttons, pills
   =========================== */
.card{background:var(--card);border:1px solid var(--bd);border-radius:var(--radius);padding:12px;margin:12px 0;box-shadow:var(--shadow)}
.btn{display:inline-flex;align-items:center;gap:.45rem;border:1px solid var(--bd);background:var(--card);padding:.45rem .75rem;border-radius:999px;font-weight:600;cursor:pointer;transition:transform .06s ease, box-shadow .2s ease}
.btn:hover{box-shadow:0 8px 24px rgba(16,24,40,.06);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.ghost{background:transparent}
.pill{display:inline-flex;align-items:center;border:1px solid var(--bd);background:transparent;border-radius:999px;padding:.1rem .55rem}

/* ===========================
   Tables & helpers
   =========================== */
.tbl, table{width:100%;border-collapse:collapse}
.tbl th,.tbl td, th, td{padding:.5rem .45rem;border-bottom:1px solid var(--bd);vertical-align:middle}
.tbl tr:hover td{background:rgba(125,125,125,.05)}
thead th{font-size:.85rem;color:var(--muted);text-align:left}
tbody tr:nth-child(odd){background:var(--tableStripe)}

.row{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}
.space{justify-content:space-between}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.grid-sm{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}

.badge{height:28px;width:28px;border-radius:6px;border:1px solid var(--bd);object-fit:contain;background:#fff}
.avatar{width:24px;height:24px;border-radius:999px;border:1px solid var(--bd);object-fit:cover;background:#fff}
.club{display:flex;gap:.6rem;align-items:center;border:1px solid var(--bd);border-radius:12px;padding:10px}
.chip{display:inline-flex;align-items:center;gap:.35rem;background:var(--chip);border:1px solid var(--chipbd);border-radius:999px;padding:.18rem .6rem}

.header-row{display:flex;gap:12px;align-items:center;justify-content:space-between}
.split2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:980px){.split2{grid-template-columns:1fr}}

.empty{color:var(--muted);text-align:center;padding:12px}

.skeleton{background:linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 37%,#e5e7eb 63%);background-size:400% 100%;animation:shimmer 1.4s ease infinite;border-radius:8px;min-height:20px}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

.status{font-size:.72rem;border:1px solid var(--bd);border-radius:6px;padding:.05rem .35rem}
.status.live{color:var(--ok);border-color:var(--ok)}
.status.ht{color:var(--warn);border-color:var(--warn)}
.status.ft{color:var(--muted)}

.alert{background:#fff3cd;border:1px solid #ffe69c;color:#664d03;border-radius:12px;padding:8px 10px;margin:12px 0}
[data-theme="dark"] .alert{background:#332701;border-color:#3d2e00;color:#ffe69c}
code.k{background:#0001;padding:2px 6px;border-radius:6px}

/* Banner â€“ show full image */
.banner-wrap{width:100%}
.banner-wrap img{width:100%;height:auto;display:block}

/* Modal visibility fix */
#tv-modal[hidden]{display:none !important}

/* A11y focus */
a:focus-visible, button:focus-visible, .btn:focus-visible, .chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ===========================
   UI "polish" add-ons
   =========================== */
/* Pretty card (gradient border + soft bg glow) */
.card.pretty{
  position:relative;
  border:1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--accent-1), var(--accent-2)) border-box;
  background-image:
    linear-gradient(180deg, var(--card-grad-a), var(--card-grad-b)),
    linear-gradient(135deg, var(--accent-1), var(--accent-2));
  background-origin:border-box;
  background-clip:padding-box, border-box;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(16,24,40,.08);
  transition:transform .15s ease, box-shadow .2s ease;
}
.card.pretty:hover{ transform:translateY(-3px); box-shadow:0 12px 28px rgba(16,24,40,.12); }
.card.pretty::before{
  content:""; position:absolute; inset:0 0 auto 0; height:4px;
  background:linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-top-left-radius:16px; border-top-right-radius:16px;
}

/* Headings: subtle gradient text */
h1,h2,h3{
  background:linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}

/* Buttons micro-interactions */
.btn{transition:all .2s ease}
.btn.primary:hover{filter:brightness(1.08)}
.btn:active{transform:scale(.97)}

/* Glassmorphism utility */
.glass{
  backdrop-filter:blur(12px) saturate(140%);
  -webkit-backdrop-filter:blur(12px) saturate(140%);
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
}
[data-theme="dark"] .glass{
  background:rgba(15,23,42,.35);
  border:1px solid rgba(148,163,184,.15);
}

/* ===========================
   Event page styles (#event-root)
   =========================== */
/* Header */
#event-root .event-header .eh-row{display:grid;grid-template-columns:1fr auto 1fr;gap:.5rem;align-items:center}
#event-root .event-header .team{display:flex;gap:.5rem;align-items:center;justify-content:center}
#event-root .event-header .team img{width:40px;height:40px;object-fit:contain}
#event-root .event-header .score{text-align:center}

/* Pretty card override inside event */
#event-root .card.pretty{border:1px solid #e5e7eb;border-radius:10px;padding:8px 12px;margin:10px 0;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04)}
#event-root .card h3{margin:.2rem 0 .5rem 0;font-size:16px}

/* Timeline */
#event-root .timeline .tl-row{display:grid;grid-template-columns:42px 110px 1fr 1fr;gap:.4rem;padding:.25rem .3rem;border-radius:8px}
#event-root .timeline .tl-row.home{background:rgba(34,197,94,.06)}
#event-root .timeline .tl-row.away{background:rgba(59,130,246,.06)}
#event-root .timeline .tl-row .m{font-weight:600}

/* Stats grid */
#event-root .stats .stat-row{display:grid;grid-template-columns:1fr auto 1fr;gap:.4rem;padding:.25rem .3rem;border-radius:8px}

/* Muted helpers */
#event-root .muted,.empty{color:#6b7280}

/* Key/Value rows + misc sections */
#event-root .kv .row{display:grid;grid-template-columns:120px 1fr;gap:.5rem;padding:.25rem 0}
#event-root .mu-row{display:grid;grid-template-columns:1fr auto 1fr;gap:.5rem;align-items:start;padding:.25rem 0}
#event-root .mu-row .p{display:flex;justify-content:space-between;gap:.5rem}
#event-root .pill{display:inline-block;padding:.1rem .4rem;border-radius:999px;border:1px solid #e5e7eb;font-size:12px}
#event-root .form{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
#event-root .form-side img{width:28px;height:28px;object-fit:contain;vertical-align:middle;margin-right:.25rem}
#event-root .p-perf{display:grid;grid-template-columns:1fr 1fr auto;gap:.5rem;padding:.25rem 0}
#event-root .odds .odd{display:grid;grid-template-columns:auto 1fr;gap:.5rem;padding:.2rem 0}

/* Possession bar */
#possession-bar{ position:relative; width:100%; height:14px; border-radius:999px; background:rgba(0,0,0,.08); overflow:hidden; }
#possession-bar .pos-home{ position:absolute; left:0; top:0; bottom:0; width:0%; background:#16a34a; }
#possession-bar .pos-away{ position:absolute; right:0; top:0; bottom:0; width:0%; background:#2563eb; }

/* Mobile tweaks */
@media (max-width:640px){
  .container{padding-left:12px;padding-right:12px}
  .grid,.row{gap:10px;flex-wrap:wrap}
  .card{padding:12px;border-radius:14px}
  header.top .container{gap:8px}
  button.btn,.btn{min-height:40px;padding:8px 12px}
  .team-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
  .team-head img{width:28px;height:28px;object-fit:contain}
  .team-head h1,.team-head h2{font-size:18px;margin:0}
  .lineups{display:grid;grid-template-columns:1fr;gap:10px}
  .lineups .col{min-width:0}
  #timeline{font-size:14px}
  #timeline li{padding:6px 0;border-bottom:1px dashed rgba(0,0,0,.08)}
  #shotmap{max-width:100%;border-radius:12px}
  #shotmap .tiny{font-size:12px}
  .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  table{min-width:520px}
  .actions{display:flex;flex-wrap:wrap;gap:8px}
  .actions .btn{flex:1 1 45%}
  .muted{opacity:.85}
}

/* VAR borÃ°i ofan viÃ° myndband */
.var-banner {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; margin-bottom: 8px;
  background: rgba(52,152,219,.15);
  border: 1px solid rgba(52,152,219,.35);
  border-radius: 8px;
}
.var-banner .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; color:#3498db; display:inline-block; }
/* â€”â€”â€” Falleg 3-dÃ¡lka AtburÃ°arrÃ¡s â€”â€”â€” */
/* REMOVED_OLD_TIMELINE_START 

#event-timeline.timeline-ht { 
  list-style:none; margin:0; padding:0;
}

 REMOVED_OLD_TIMELINE_END */

/* REMOVED_OLD_TIMELINE_START 

#event-timeline.timeline-ht li {
  display:grid; grid-template-columns: 1fr 70px 1fr;
  align-items:center; gap:10px; padding:8px 10px; margin:6px 0;
  border-radius:12px; background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
}

 REMOVED_OLD_TIMELINE_END */

/* REMOVED_OLD_TIMELINE_START 

#event-timeline .col.home { text-align:right; }

 REMOVED_OLD_TIMELINE_END */

/* REMOVED_OLD_TIMELINE_START 

#event-timeline .col.away { text-align:left; }

 REMOVED_OLD_TIMELINE_END */

/* REMOVED_OLD_TIMELINE_START 

#event-timeline .time {
  font-weight:700; font-variant-numeric:tabular-nums;
  text-align:center; position:relative;
}

 REMOVED_OLD_TIMELINE_END */

/* miÃ°lÃ­na (spine) */
/* REMOVED_OLD_TIMELINE_START 

#event-timeline .time::before{
  content:""; position:absolute; left:50%; top:-12px; bottom:-12px;


 === Unique rules brought from main.css === 
.tbl{ width:100%; border-collapse:collapse; }
.tbl th,.tbl td{ padding:.5rem .6rem; border-bottom:1px solid var(--bd); }
dialog::backdrop{ background: rgba(0,0,0,.35); }
a{color:inherit;text-decoration:none} a:hover{text-decoration:underline}
.lbl{font-size:.85rem;color:var(--muted)}
table{border-collapse:collapse;width:100%}
th,td{border-bottom:1px solid var(--bd);padding:.5rem .45rem;vertical-align:middle}
.kicker{display:flex;gap:.4rem;align-items:center}
@keyframes sh{0%{background-position:200% 0}100%{background-position:-200% 0}}
.card.pretty > h3{
  display:flex; align-items:center; gap:.6rem; margin:.2rem 0 .25rem;
  font-weight:800;
}
.card.pretty > h3::before{
  content:"";
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow:0 0 0 4px var(--ring);
}
.card.pretty h4{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.25rem .65rem; margin:.25rem 0 .6rem;
  border-radius:999px;
  background: linear-gradient(180deg, rgba(59,130,246,.12), rgba(34,197,94,.12));
  border:1px solid var(--ring);
  font-weight:700;
}
.card.pretty table{
  width:100%; border-collapse:separate; border-spacing:0;
  overflow:hidden; border-radius:12px;
  background:var(--card);
  border:1px solid var(--bd);
}
.card.pretty thead th{
  background: linear-gradient(180deg, rgba(59,130,246,.12), rgba(34,197,94,.08));
  color:var(--text); font-weight:800;
}
.card.pretty th, .card.pretty td{
  padding:.65rem .6rem; border-bottom:1px solid var(--bd);
}
.card.pretty tbody tr:last-child td{ border-bottom:none; }
.card.pretty tbody tr:hover{ background:rgba(59,130,246,.08); transition:background .15s ease; }
.card.pretty .status{ border-color:transparent; }
.card.pretty .status.live{ color:#16a34a; background:rgba(22,163,74,.12); }
.card.pretty .status.ht{   color:#eab308; background:rgba(234,179,8,.12); }
.card.pretty .status.ft{   color:#64748b; background:rgba(100,116,139,.12); }
.grid2{ display:grid; grid-template-columns:1fr; gap:16px; }
@media(min-width:900px){ .grid2{ grid-template-columns:1fr 1fr; } }
.grid3{ display:grid; grid-template-columns:1fr; gap:16px; }
@media(min-width:1100px){ .grid3{ grid-template-columns:1fr 1fr 1fr; } }
.event-item {
  padding: 4px 6px;
  margin: 2px 0;
  border-radius: 4px;
  font-size: 14px;
}
.event-goal {
  background-color: #e6ffe6;  ljÃ³sljÃ³s grÃ¦nn 
  border-left: 4px solid #2ecc71;
}
.event-yellow {
  background-color: #fffbe6;  gult 
  border-left: 4px solid #f1c40f;
}
.event-red {
  background-color: #ffe6e6;  rautt 
  border-left: 4px solid #e74c3c;
}
.event-subst {
  background-color: #e6f0ff;  blÃ¡leitt 
  border-left: 4px solid #3498db;
}
.tbl,table{width:100%;border-collapse:collapse}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.muted{color:var(--muted)} .small{font-size:.92rem}
.muted{color:var(--muted)} .small{font-size:.92rem} .tiny{font-size:.78rem}
.h-like{font-size:1.3rem;font-weight:800;margin:0}
.spark{width:100%;height:42px;display:block}
*{box-sizing:border-box}
body.theme{margin:0;background:linear-gradient(180deg,#0b0f14,#0e141b);color:var(--text);font:16px/1.5 system-ui,Segoe UI,Roboto,Arial}
.topbar{display:flex;align-items:center;gap:12px;padding:12px 16px;position:sticky;top:0;background:rgba(11,15,20,.7);backdrop-filter:saturate(120%) blur(10px);border-bottom:1px solid rgba(255,255,255,.05)}
.topbar .back{padding:8px 12px;border-radius:12px;background:rgba(255,255,255,.06);color:var(--text);text-decoration:none}
.crumbs{opacity:.8}
.card h2,.card h3{margin:0 0 12px}
.bio p{white-space:pre-line}
.hero{display:grid;grid-template-columns:120px auto;gap:16px;align-items:center}
.hero .left img{width:110px;height:110px;object-fit:cover;border-radius:16px;background:#0d1319;border:1px solid rgba(255,255,255,.08)}
.hero h1{margin:0 0 8px;font-size:28px}
.label{opacity:.8;margin-right:6px}
ul{list-style:none;padding:0;margin:8px 0 0}
li{padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04);margin:6px 0;border:1px solid rgba(255,255,255,.06)}
@media (min-width:720px){
  .hero{grid-template-columns:160px auto}
  .hero .left img{width:150px;height:150px}
  .hero h1{font-size:32px}
}
 removed conflicting override:  REMOVED_OLD_TIMELINE_START 

 removed conflicting override: #event-timeline li { ... }

 REMOVED_OLD_TIMELINE_END */
 */

/* Timeline base (pinned) */






.team-badge {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-right: 6px;
  vertical-align: middle;
}


/* Hreinsa default li-stÃ­l fyrir Ã³flokkuÃ° events */
/* removed conflicting override: /* REMOVED_OLD_TIMELINE_START 

 removed conflicting override: #event-timeline li.ev { ... }

 REMOVED_OLD_TIMELINE_END */
 */


/* ===== Scoped fixes for event page ===== */
/* Remove global LI backgrounds/borders inside event page lists */
#event-root ul > li {
  background: transparent;
  border: 0;
}

/* Ensure event timeline columns have enough width and do not break inside words */
/* REMOVED_OLD_TIMELINE_START 

#event-timeline li.ev {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 10px;
}

 REMOVED_OLD_TIMELINE_END */


/* REMOVED_OLD_TIMELINE_START 

#event-timeline .ev-body {
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: auto;
}

 REMOVED_OLD_TIMELINE_END */



/* === Boltastats FINAL override: timeline clean text, no boxes === */
#event-root /* REMOVED_OLD_TIMELINE_START 

#event-root #event-timeline li.ev,
#event-root #event-timeline li.ev.goal,
#event-root #event-timeline li.ev.yellow,
#event-root #event-timeline li.ev.red,
#event-root #event-timeline li.ev.var{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 4px 0;
  padding: 4px 0;
}

 REMOVED_OLD_TIMELINE_END */


/* --- Text should not break mid-word --- */
#event-root /* REMOVED_OLD_TIMELINE_START 

#event-root #event-timeline .ev-body{
  white-space: normal !important;
  overflow-wrap: break-word !important;  break only long words/URLs * /
  word-break: keep-all !important;       keep normal words whole * /
  hyphens: none !important;              disable auto-hyphenation * /
}

 REMOVED_OLD_TIMELINE_END */


/* --- Ensure global li rules don't leak --- */
#event-root ul > li{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* === FORCE FIX: no word breaking in event timeline === */
/* REMOVED_OLD_TIMELINE_START 

#event-timeline .ev-body,
#event-timeline .ev-body * {
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

 REMOVED_OLD_TIMELINE_END */

/* =========================
   EVENT TIMELINE â€” NARRATIVE (CLEAN)
   ========================= */

#event-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Ein lÃ­na per atburÃ° â€“ 2 dÃ¡lkar: [mÃ­nÃºta] [lÃ½sing] */
#event-timeline li.ev {
  display: grid;
  grid-template-columns: 56px 1fr; /* mÃ­nÃºta | texti */
  align-items: start;
  gap: 10px;
  margin: 4px 0;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,.06); /* mjÃºk lÃ­na milli */
  background: transparent; /* tryggir engin box-litun Ãºr eldri reglum */
}

/* MÃ­nÃºta â€“ alltaf hÃ¦gri jÃ¶fnuÃ°, stÃ¶Ã°ug talnabreidd */
#event-timeline .ev-time {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  opacity: .85;
  white-space: nowrap;
}

/* AÃ°altexti â€“ brÃ½tur fallega og forÃ°ast orÃ°skurÃ° */
#event-timeline .ev-body {
  white-space: normal;
  overflow-wrap: break-word; /* brÃ½tur lÃ¶ng nÃ¶fn/URL ef Ã¾arf */
  word-break: keep-all;      /* ekki brjÃ³ta venjuleg orÃ° */
  hyphens: none;
  line-height: 1.3;
}

/* FÃ­nar Ã¡herslur eftir atburÃ° */
#event-timeline li.ev.goal   .ev-body { font-weight: 600; }
#event-timeline li.ev.yellow .ev-body { text-decoration: none; }
#event-timeline li.ev.red    .ev-body { color: #b00020; font-weight: 600; }
#event-timeline li.ev.var    .ev-body { font-style: italic; }

/* Hreinsa mÃ¶gulega eldri box/ikon stÃ­la sem gÃ¦tu veriÃ° eftir */
#event-timeline li.ev .badge,
#event-timeline li.ev .ico,
#event-timeline li.ev .stack {
  display: none !important;
}


/* ===========================
   Standings (league table) â€” badge sizing
   =========================== */
/* One source of truth for club badge size on standings */
:root{
  --badge-standings: 22px; /* default */
}
@media (min-width: 900px){
  :root{ --badge-standings: 24px; }
}
@media (max-width: 420px){
  :root{ --badge-standings: 20px; }
}

/* Normalize images in common standings wrappers/IDs */
#standings img,
#league-table img,
.standings img,
.table.standings img,
.standings-table img,
table.standings img,
.tbl.standings img,
td .team-badge,
td .badge.badge--club {
  width: var(--badge-standings);
  height: var(--badge-standings);
  max-width: none; /* override global img {max-width:100%} */
  object-fit: contain;
  aspect-ratio: 1 / 1;
  vertical-align: middle;
  background: #fff; /* keeps transparent PNG nice on dark bg */
  border-radius: 6px; /* subtle rounding like other badges */
  border: 1px solid var(--bd);
  margin-right: 8px;
}

/* Tighten row height to match new badge size */
#standings td, #standings th,
#league-table td, #league-table th,
.standings td, .standings th,
.table.standings td, .table.standings th,
.standings-table td, .standings-table th,
table.standings td, table.standings th,
.tbl.standings td, .tbl.standings th {
  padding-top: .45rem;
  padding-bottom: .45rem;
  vertical-align: middle;
}

/* If you use a wrapper element for club cell, keep layout tidy */
.standings .club, #standings .club, #league-table .club {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* Utility: apply explicit sizes when needed */
.badge--xs{ width:18px; height:18px; }
.badge--sm{ width:20px; height:20px; }
.badge--md{ width:22px; height:22px; }
.badge--lg{ width:24px; height:24px; }
.badge--xl{ width:28px; height:28px; }
