#content .msa-league-identity {
  direction: inherit;
  max-inline-size: 100%;
  gap: .5rem;
}
#content .msa-league-identity > strong {
  flex: 0 1 auto;
  overflow-wrap: break-word;
  word-break: normal;
}
#content .msa-league-identity > .msa-league-country {
  margin: 0;
  padding: 0;
}
#content .msa-league-identity .msa-league-logo {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
#content .msa-league-identity .msa-league-logo img {
  max-inline-size: 100%;
  max-block-size: 100%;
}
#content .msa-followed-leagues [data-my-league] {
  min-inline-size: 0;
  color: var(--my-ink, #152d43);
  background: var(--my-card, #fff);
  border: 1px solid var(--my-line, #b9ccdd);
}
#content .msa-followed-leagues [data-my-league] header {
  gap: .65rem;
}
#content .msa-followed-leagues .msa-followed-league-link {
  display: block;
  flex: 1 1 12rem;
  min-inline-size: 0;
  padding: .35rem;
  color: inherit;
  border-radius: .45rem;
}
#content .msa-followed-leagues .my-directory-actions a {
  display: inline-flex;
  justify-content: center;
  grid-template-columns: none;
  color: var(--my-ink, #152d43);
  min-height: 38px;
  align-items: center;
  background: #eaf2fa;
  border: 1px solid #b6cbe0;
  border-radius: .65rem;
}
#content .msa-followed-leagues .msa-followed-league-link:hover {
  background: #517ca320;
}
#content .msa-followed-leagues > .msa-leagues-all {
  display: inline-flex;
  width: fit-content;
  border-radius: .45rem;
}
#content .msa-followed-leagues .my-directory-actions a:hover,
#content .msa-followed-leagues .msa-leagues-all:hover,
#content .msa-followed-leagues ol a:hover {
  background: #1d425e;
  color: #fff;
}
#content .msa-followed-leagues .msa-ed-stories {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
#content .push-panel .section-heading .badge {
  background: #e5eef8;
  border: 1px solid #adc4da;
  color: #17354e;
  box-shadow: none;
}
#content .msa-ed-rankings .msa-ed-story h2 a {
  display: inline;
  padding: 0;
  color: inherit;
}
#content .msa-ed-rankings .msa-ed-story h2 a:hover,
#content .msa-ed-rankings .msa-ed-story .msa-ed-origin:hover {
  background: none;
  text-decoration: underline;
}
#content .msa-ed-rankings .msa-ed-story .msa-ed-origin {
  display: inline;
  padding: 0;
  color: inherit;
}
html[data-theme="dark"] #content .msa-followed-leagues {
  --my-ink: #eff5ff;
  --my-muted: #b8cce4;
  --my-line: #4d6382;
  --my-card: #192d47;
  background: #15243a;
  border-color: var(--my-line);
  color: var(--my-ink);
}
html[data-theme="dark"] #content .msa-followed-leagues :is(.my-team, .msa-ed-story) {
  background: var(--my-card);
  border-color: var(--my-line);
  color: var(--my-ink);
}
html[data-theme="dark"] #content .msa-followed-leagues :is(h2, h3, .msa-leagues-all, ol a) {
  color: var(--my-ink);
}
html[data-theme="dark"] #content .msa-followed-leagues .my-directory-actions a.my-action {
  background: #243e5e;
  border-color: var(--my-line);
  color: var(--my-ink);
}
html[data-theme="dark"] #content .msa-followed-leagues .msa-league-logo {
  background: #f4f7fb;
}
html[data-theme="dark"] #content .msa-followed-leagues :is(.my-team > small, .msa-ed-story-copy > p, .msa-ed-meta) {
  color: var(--my-muted);
}

/* Followed-news cards must not inherit ranking row layout. */
#content .msa-followed-leagues .msa-ed-stories {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
#content .msa-followed-leagues .msa-ed-stories .msa-ed-story {display:block;min-width:0;width:100%;max-width:100%;height:auto;color:var(--my-ink,#152d43);background:var(--my-card,#fff)}
#content .msa-followed-leagues .msa-ed-story-copy {display:block;min-width:0;width:100%;padding:14px;box-sizing:border-box}
#content .msa-followed-leagues .msa-ed-story-copy > a {display:block;width:100%;min-width:0;max-width:100%;padding:0;background:transparent;color:inherit;grid-template-columns:none}
#content .msa-followed-leagues .msa-ed-story-copy :is(h2,p) {display:block;width:100%;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:anywhere;color:inherit;line-height:1.6}
#content .msa-followed-leagues .msa-ed-story-copy h2 {font-size:clamp(16px,4.5vw,21px);margin:8px 0}
#content .msa-followed-leagues .msa-ed-story-copy > a:hover {background:transparent;color:inherit;text-decoration:underline}
