/* Soccer 411 0.20.158: compact, responsive, data-led article modules.
   Scoped to .s411-story. Contrast-safe light/dark and no horizontal overflow. */
.s411-story{--story-bg:var(--s411-ui-surface,#fff);--story-row:var(--s411-ui-surface-raised,#f1f4f8);--story-text:var(--s411-ui-text,#16253c);--story-muted:var(--s411-ui-muted,#67778d);--story-line:var(--s411-ui-border,#d5dfeb);box-sizing:border-box;min-width:0;max-width:100%;margin:26px 0;padding:17px;border:1px solid var(--story-line);border-radius:17px;background:var(--story-bg);color:var(--story-text)}
.s411-story *{box-sizing:border-box}
.s411-story-head{margin-bottom:14px}
.s411-story-kicker{display:block;color:#ef0107;font-size:10px;font-weight:900;letter-spacing:.11em;line-height:1.4}
.s411-story-head h2{color:var(--story-text)!important;font-size:clamp(19px,2.6vw,25px)!important;font-weight:850!important;line-height:1.23!important;margin:3px 0 5px!important}
.s411-story-head p{color:var(--story-muted)!important;font-size:12px!important;line-height:1.45!important;margin:0!important}
.s411-story-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}
.s411-story-kpis>div{background:var(--story-row);border:1px solid var(--story-line);border-radius:11px;padding:11px 10px;min-width:0;display:flex;flex-direction:column;gap:3px}
.s411-story-kpis strong{font-size:clamp(22px,3.4vw,30px)!important;line-height:1.1!important;font-weight:850;color:var(--story-text)!important;font-variant-numeric:tabular-nums}
.s411-story-kpis span{font-size:11px;line-height:1.3;color:var(--story-muted)}
.s411-story-calendar{display:grid;gap:9px}
.s411-story-calendar-row{display:grid;grid-template-columns:70px minmax(0,1fr) 77px;align-items:center;gap:11px;min-width:0;font-size:11px}
.s411-story-calendar-row>span:first-child{color:var(--story-text);font-weight:800}
.s411-story-calendar-row>b{text-align:right;font-size:12px;color:var(--story-text);white-space:nowrap;font-weight:800}
.s411-story-calendar-row>b small{font-size:10px;color:var(--story-muted);font-weight:500}
.s411-story-calendar-track{height:10px;background:var(--story-row);border-radius:999px;overflow:hidden;border:1px solid var(--story-line);display:block}
.s411-story-calendar-track i{display:block;height:100%;background:#ef0107;border-radius:inherit;min-width:5px}
.s411-story-empty{padding:10px;color:var(--story-muted)!important;font-size:12px!important;line-height:1.5!important;margin:0!important;background:var(--story-row);border-radius:10px}
.s411-story-table-wrap{max-width:100%;overflow:hidden;border:1px solid var(--story-line);border-radius:11px}
.s411-story-table table{border:0!important;border-collapse:collapse!important;table-layout:fixed!important;width:100%!important;margin:0!important;background:transparent!important;color:var(--story-text)!important}
.s411-story-table th,.s411-story-table td{background:transparent!important;border:0!important;border-bottom:1px solid var(--story-line)!important;padding:9px 7px!important;color:var(--story-text)!important;vertical-align:middle!important;line-height:1.2!important;font-size:12px!important}
.s411-story-table tr:last-child td{border-bottom:0!important}
.s411-story-table th{background:var(--story-row)!important;text-transform:uppercase;letter-spacing:.05em;font-weight:750!important;color:var(--story-muted)!important;font-size:10px!important}
.s411-story-table th:first-child{width:30px;text-align:center}
.s411-story-table th:nth-child(2){width:auto}
.s411-story-table th:nth-child(3){width:39px}.s411-story-table th:nth-child(4){width:43px}.s411-story-table th:nth-child(5){width:49px}
.s411-story-table .s411-story-pos{font-weight:850;text-align:center;color:var(--story-muted)!important}
.s411-story-table .s411-story-number{text-align:center!important;font-variant-numeric:tabular-nums}
.s411-story-club{min-width:0;display:flex;align-items:center;gap:8px}
.s411-story-club img{width:26px!important;height:26px!important;object-fit:contain!important;flex:0 0 26px;background:transparent!important;border:0!important;padding:0!important;border-radius:0!important}
.s411-story-club strong{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:750;color:var(--story-text)!important;font-size:12px!important}
.s411-story-points-bar{display:block;max-width:100%;height:3px;background:var(--story-row);margin-top:5px;border-radius:5px;overflow:hidden}
.s411-story-points-bar i{display:block;height:100%;border-radius:inherit;background:#ef0107}
.s411-story-points{display:inline-flex;align-items:center;justify-content:center;min-width:31px;padding:5px 6px;border:1px solid var(--story-line);border-radius:8px;background:var(--story-row);font-weight:900!important;color:var(--story-text)!important}
.s411-story-link{display:flex;justify-content:flex-end;align-items:center;gap:5px;margin-top:8px;color:#ef0107!important;text-decoration:none!important;font-size:11px!important;font-weight:850!important;line-height:1.3!important}
.s411-story-link:hover{text-decoration:underline!important}
.s411-story-form-rows{display:grid;gap:7px}
.s411-story-form-row{display:grid;grid-template-columns:minmax(0,1fr) 82px 142px;align-items:center;gap:8px;padding:9px 10px;background:var(--story-row);border:1px solid var(--story-line);border-radius:10px;min-width:0}
.s411-story-form-team{display:flex;align-items:center;min-width:0;gap:8px}
.s411-story-form-team img{width:30px!important;height:30px!important;object-fit:contain!important;flex:0 0 30px;border:0!important;background:transparent!important;padding:0!important;border-radius:0!important}
.s411-story-form-team strong{font-size:12px!important;line-height:1.25!important;font-weight:800!important;color:var(--story-text)!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.s411-story-form-meta{display:flex;flex-direction:column;align-items:center;gap:1px;font-variant-numeric:tabular-nums;white-space:nowrap}
.s411-story-form-meta strong{color:var(--story-text)!important;font-size:14px;font-weight:850}
.s411-story-form-meta span{color:var(--story-muted);font-size:10px}
.s411-story-form-badges{display:flex;justify-content:flex-end;align-items:center;gap:4px;min-width:0}
.s411-story-form-badges span{display:grid;place-items:center;width:23px;height:23px;min-width:23px;border-radius:6px;font-size:10px;font-weight:900;color:#fff!important;background:#617085}
.s411-story-form-badges .is-w{background:#148157}
.s411-story-form-badges .is-d{background:#6b7381}
.s411-story-form-badges .is-l{background:#ba3037}
.s411-story-form-badges small{font-size:10px;color:var(--story-muted);white-space:nowrap}
html[data-s411-effective-theme="dark"] .s411-story{--story-bg:#1a202c;--story-row:#222c3d;--story-text:#f5f7fc;--story-muted:#b0bfd2;--story-line:#3b4a61}
html[data-s411-effective-theme="light"] .s411-story{--story-bg:#fff;--story-row:#f3f6fa;--story-text:#172238;--story-muted:#67778e;--story-line:#d6e0eb}
@media(max-width:520px){
 .s411-story{padding:12px;margin:22px 0;border-radius:13px}
 .s411-story-kpis{gap:6px}
 .s411-story-kpis>div{padding:9px 8px}
 .s411-story-kpis span{font-size:10px}
 .s411-story-calendar-row{grid-template-columns:57px minmax(0,1fr) 66px;gap:6px;font-size:10px}
 .s411-story-calendar-row>b{font-size:11px}.s411-story-calendar-row>b small{font-size:9px}
 .s411-story-table th,.s411-story-table td{padding:8px 4px!important;font-size:11px!important}
 .s411-story-table th:first-child{width:24px}.s411-story-table th:nth-child(3){width:27px}.s411-story-table th:nth-child(4){width:33px}.s411-story-table th:nth-child(5){width:39px}
 .s411-story-club{gap:5px}.s411-story-club img{width:22px!important;height:22px!important;flex-basis:22px}
 .s411-story-club strong{font-size:11px!important}
 .s411-story-form-row{grid-template-columns:minmax(0,1fr) 46px 125px;gap:4px;padding:8px 6px}
 .s411-story-form-team{gap:5px}.s411-story-form-team img{width:23px!important;height:23px!important;flex-basis:23px}
 .s411-story-form-team strong{font-size:10px!important}
 .s411-story-form-meta strong{font-size:12px}.s411-story-form-meta span{font-size:9px}
 .s411-story-form-badges{gap:3px}.s411-story-form-badges span{width:22px;height:22px;min-width:22px}
 .s411-story-form-badges small{font-size:9px}
}
@media(max-width:350px){.s411-story-form-row{grid-template-columns:minmax(0,1fr) 42px 106px}.s411-story-form-badges span{width:19px;height:19px;min-width:19px}.s411-story-form-badges{gap:2px}}

/* v0.20.158: article typography applied 1.9em top-margin to inner module H2s.
   Keep the kicker/headline together, across both appearance modes and all widths. */
body.single-post .dm-article-wrap .dm-prose .s411-story .s411-story-head > h2,
body.single .dm-prose .s411-story .s411-story-head > h2 {
  margin:3px 0 6px!important;
  margin-block-start:3px!important;
  margin-block-end:6px!important;
  padding-block:0!important;
  max-width:100%!important;
}
body.single-post .dm-article-wrap .dm-prose .s411-story .s411-story-head > p,
body.single .dm-prose .s411-story .s411-story-head > p {
  margin:0!important;
  margin-block:0!important;
  line-height:1.45!important;
}
/* Future story modules must never show backend freshness/sync notes to readers. */
body.single-post .dm-prose .s411-story .s411-story-source,
body.single-post .dm-prose .s411-story .s411-story-foot small {
  display:none!important;
}
