/* Drawn club emblems (owner, 19.11.2026), js/emblem.js: the shape replaces the disc, so the disc's round edge, keyline and
   halo come off; the club's colours come per theme from the inline --e?-l / --e?-d properties. */
html[data-theme] .team-crest.team-emblem {
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  --ea: var(--ea-l);
  --eb: var(--eb-l);
}
html[data-theme="dark"] .team-crest.team-emblem { --ea: var(--ea-d); --eb: var(--eb-d); }
.team-emblem svg { display: block; width: 100%; height: 100%; overflow: visible; }
.team-emblem .ea { fill: var(--ea); }
.team-emblem .eb { fill: var(--eb); }
.team-emblem .sa { fill: none; stroke: var(--ea); }
.team-emblem .sb { fill: none; stroke: var(--eb); }

/* On a field painted in a club's own colours (or the team page's dark head) an emblem in those colours would vanish: there
   it sits on a disc of the page's card. The home's big cards and team card, the home's split card, the team page's head,
   the leaders' heroes and the fantasy cards. */
html[data-theme] :is(.hs-big.is-team, .hs-next.is-team, .hb-hero.is-team, .hb-split-side, .th-header, .lg-hero, .ld-hero, .fx-crest) .team-crest.team-emblem {
  background: var(--ds-card) !important;
  border-radius: 50% !important;
}
/* The shape at two thirds of the disc. Not padding: a percentage padding follows the width of the box around it, and the
   team page's wide head gave its 88px emblem 94px a side. */
html[data-theme] :is(.hs-big.is-team, .hs-next.is-team, .hb-hero.is-team, .hb-split-side, .th-header, .lg-hero, .ld-hero, .fx-crest) .team-crest.team-emblem svg {
  transform: scale(.68);
}
