/* Soccer 411 v0.20.109 — Sitewide readability pass.
 * Raised reading and navigation type sizes independently of pitch coordinates.
 * This intentionally avoids resizing icon glyphs, score digits, badges,
 * compact pitch player nodes, and responsive fixed-width tables.
 */
:root {
  --s411-type-body: 16px;
  --s411-type-content: 15px;
  --s411-type-secondary: 13px;
  --s411-type-label: 12px;
  --s411-type-interactive: 14px;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-size:var(--s411-type-body); line-height:1.55; }
body :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select) {
  font-size:16px!important;
  line-height:1.4;
}
body :is(button,[role="button"]) { line-height:1.35; }
body :is(.dm-prose,.entry-content,.dm-article-content,.dm-editorial-body,.dm-post-content) {
  font-size:clamp(16px,1.06vw,18px)!important;
  line-height:1.7;
}
body :is(.dm-prose,.entry-content,.dm-article-content,.dm-editorial-body,.dm-post-content) :is(p,li,blockquote) {
  line-height:1.7;
}
body :is(.dm-prose,.entry-content,.dm-article-content,.dm-editorial-body,.dm-post-content) :is(figcaption,small) {
  font-size:13px!important;line-height:1.5;
}

/* Global navigation, page controls and filter choices. */
body :is(.dm-mainnav,.dm-side-nav a,.dm-feed-tabs a,.dm-profile-tabs a,
  .dm-mobile-nav a,.dm-mobile-nav span,.dm-football-hub-tabs a,
  .dm-club-tabs a,.dm-match-tabs a,.dm-competition-tabs a,
  .dm-section-tabs a,.dm-auth-secondary,.dm-composer-action,
  .dm-topic-choice,.dm-position-filter,.dm-squad-position-filters button,
  .dm-squad-lineup-tabs button,.dm-predictor-filter button) {
  font-size:var(--s411-type-interactive)!important;
}
body :is(.dm-mainnav,.dm-side-nav a,.dm-feed-tabs a,.dm-profile-tabs a) {
  line-height:1.35;
}
body :is(.dm-composer-input,.dm-search-input,.dm-header-search input) {
  font-size:var(--s411-type-content)!important;
}

/* Content cards: make summaries and attribution legible at a glance. */
body :is(.dm-card-excerpt,.dm-card-description,.dm-feed-excerpt,.dm-card-summary,
  .dm-post-excerpt,.dm-editorial-summary,.dm-widget-note,.dm-lab-widget p,
  .dm-profile-bio,.dm-member-profile-bio,.dm-community-description,
  .dm-totw-note,.dm-player-profile-meta,.dm-matchday-form-guide p,
  .dm-club-section-description,.dm-competition-description) {
  font-size:var(--s411-type-content)!important;
  line-height:1.55!important;
}
body :is(.dm-author-line,.dm-author-line strong,.dm-poll-meta,.dm-poll-option-copy,
  .dm-content-label,.dm-widget-eyebrow,.dm-widget-heading a,
  .dm-section-heading span,.dm-rank,.dm-trend small,
  .dm-discussion-link small,.dm-discussion-link strong,.dm-read-more,
  .dm-widget-empty,.dm-card-meta,.dm-article-meta,.dm-feed-card-meta,
  .dm-card-excerpt small,.dm-section-subtitle,.dm-poll-options a,
  .dm-poll-option-copy strong,.dm-card-cta,.dm-auth-footnote,
  .dm-auth-eyebrow,.dm-auth-inline-error,.dm-onboarding-footer small) {
  font-size:var(--s411-type-secondary)!important;
  line-height:1.45!important;
}
body :is(.dm-card-title,.dm-news-title,.dm-widget-heading strong,
  .dm-discussion-link strong,.dm-section-heading h2) {
  line-height:1.25;
}

/* Football schedules, fixtures, standings and match details. */
body :is(.dm-fixture-kickoff,.dm-match-status,.dm-matchday-form-guide,
  .dm-matchday-h2h-summary,.dm-match-stage,.dm-form-marks,
  .dm-football-hub-table--snapshot,.dm-football-table--league,
  .dm-football-table--grouped,.dm-football-table-club,
  .dm-match-timeline,.dm-match-rich-event-player-top,
  .dm-live-match-actions,.dm-bench-meta,.dm-lineup-bench-team-head,
  .dm-lineup-team-label,.dm-match-stat-row,.dm-player-stats-row,
  .dm-competition-panel,.dm-club-compare-copy,.dm-table-preview) {
  font-size:var(--s411-type-secondary)!important;
  line-height:1.45;
}
body :is(.dm-fixture-kickoff,.dm-match-status,.dm-matchday-h2h-summary,
  .dm-lineup-team-label,.dm-match-stat-row,.dm-football-table--league,
  .dm-football-table--grouped,.dm-match-timeline,.dm-player-stats-row) :is(small,time,span,b,strong) {
  font-size:inherit;
}
body :is(.dm-football-table--league,.dm-football-table--grouped) :is(th,td) {
  line-height:1.4;
}

/* Player cards, directories and substitute lists.
 * Do not increase font sizes inside the actual formation/pitch markers. */
body :is(.dm-squad-player-copy strong,.dm-player-card-copy strong,
  .dm-position-player-name,.dm-squad-bench-player strong,
  .dm-bench-chip .dm-bench-name,.dm-matchday-lineup-person-name) {
  font-size:var(--s411-type-content)!important;
  line-height:1.3!important;
}
body :is(.dm-squad-player-copy > span,.dm-player-card-copy span,
  .dm-squad-bench-player small,.dm-bench-chip .dm-bench-meta,
  .dm-position-player-detail,.dm-matchday-lineup-person-meta) {
  font-size:var(--s411-type-secondary)!important;
  line-height:1.4!important;
}
body :is(.dm-squad-player-stats small,.dm-player-card-season small,
  .dm-position-stat-label,.dm-squad-group-head span) {
  font-size:var(--s411-type-label)!important;
  line-height:1.3;
}
body :is(.dm-squad-lineup-copy small,.dm-squad-lineup-context small,
  .dm-squad-leaders-competition,.dm-squad-leader-label) {
  font-size:var(--s411-type-secondary)!important;
  line-height:1.4;
}

/* Match substitutes are a deliberately compact two-column grid.
 * Use a readable floor without forcing names into the adjacent column. */
body .dm-lineup-substitutes :is(.dm-bench-chip,.dm-bench-chip strong,.dm-bench-chip small,
  .dm-bench-name,.dm-bench-meta,.dm-lineup-bench-team-head strong,
  .dm-lineup-bench-team-head small) {
  font-size:12px!important;
  line-height:1.3!important;
}
body .dm-lineup-substitutes .dm-bench-chip {min-width:0;}
body .dm-lineup-substitutes .dm-bench-chip :is(strong,.dm-bench-name) {
  overflow-wrap:anywhere;
}

/* Team of the Week editorial/supporting content. Keep pitch names compact. */
body :is(.dm-totw-feed-card__head small,.dm-totw-feed-card__foot small,
  .dm-totw-feed-card__foot em,.dm-totw-formation small,
  .dm-totw-potw__stats span,.dm-totw-potw > span:nth-child(2) > small) {
  font-size:var(--s411-type-secondary)!important;
  line-height:1.4;
}

/* Controls must remain easy to tap even with larger labels. */
body :is(.dm-feed-tabs a,.dm-side-nav a,.dm-squad-position-filters button,
  .dm-squad-lineup-tabs button,.dm-profile-tabs a) {min-height:40px;}

@media (max-width: 760px) {
  :root {
    --s411-type-body:16px;
    --s411-type-content:14px;
    --s411-type-secondary:12px;
    --s411-type-label:11px;
    --s411-type-interactive:13px;
  }
  body :is(.dm-prose,.entry-content,.dm-article-content,.dm-editorial-body,.dm-post-content) {
    font-size:16px!important;
  }
  body .dm-mobile-nav :is(a,span) {font-size:12px!important;line-height:1.2!important;}
  body .dm-lineup-substitutes :is(.dm-bench-chip,.dm-bench-chip strong,.dm-bench-chip small,
    .dm-bench-name,.dm-bench-meta) {font-size:11.5px!important;}
  body :is(.dm-squad-player-stats small,.dm-player-card-season small,
    .dm-position-stat-label) {font-size:10.5px!important;}
}
@media (max-width: 380px) {
  body .dm-lineup-substitutes :is(.dm-bench-chip,.dm-bench-chip strong,.dm-bench-chip small,
    .dm-bench-name,.dm-bench-meta) {font-size:11px!important;}
}
