/* EPT Football The Arena — Step 02 only: contrast, legibility and scale of original league logo files.
   No external requests, no replacement of official crest artwork. */
.league-tile .em {
  width:56px; height:56px; flex:0 0 56px;
  display:grid; place-items:center; margin:0 auto 4px;
  line-height:1!important; overflow:visible;
  filter:none!important;
}
.league-tile .league-logo-box {
  width:53px!important;height:53px!important;max-width:53px!important;max-height:53px!important;
  display:grid;place-items:center;padding:7px;position:relative;isolation:isolate;
  overflow:hidden;border:1px solid rgba(255,255,255,.94);border-radius:16px;
  background:linear-gradient(145deg,#ffffff 0%,#eaf4ff 59%,#ccdffc 100%);
  box-shadow:inset 0 2px 1px rgba(255,255,255,.96),inset 0 -3px 8px rgba(48,89,168,.18),
             0 5px 13px rgba(0,0,0,.46),0 0 16px rgba(74,181,255,.42);
}
.league-tile .league-logo-box::before {
  content:"";position:absolute;inset:3px;border-radius:12px;
  border:1px solid rgba(255,255,255,.68);pointer-events:none;z-index:0;
}
.league-tile .league-logo {
  display:block;position:relative;z-index:1;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
  opacity:1!important;mix-blend-mode:normal!important;transform:none!important;
  filter:drop-shadow(0 1px 1px rgba(0,9,35,.65))!important;
}
/* UEFA blue/purple insignia can be pale; on these cards use a navy background,
   not CSS recoloring of the supplied emblem. */
.league-tile.lt-1 .league-logo-box,
.league-tile.lt-3 .league-logo-box,
.league-tile.lt-8 .league-logo-box {
  border-color:#c3ddff;background:linear-gradient(150deg,#112c67,#091032 72%,#14114e);
  box-shadow:inset 0 2px 3px rgba(181,225,255,.32),0 5px 13px rgba(0,0,0,.48),0 0 16px rgba(106,137,255,.55);
}
.league-tile {min-height:109px;justify-content:center;gap:4px;padding:9px 8px 8px}
.league-tile>span:last-child {max-width:110px;font-size:11px;font-weight:900;line-height:1.45;text-shadow:0 1px 6px #000b;white-space:normal}
/* Everywhere else original league marks are also displayed, offer enough separation. */
.shortcut .emoji .league-logo-box,
.tab-row .league-logo-box,
.statusline .league-logo-box {
  padding:3px;overflow:hidden;border-radius:9px;border:1px solid #c9dfff;
  background:linear-gradient(145deg,#fafdff,#d1e3fc);
  box-shadow:0 2px 7px #0008,0 0 9px #5c9fff70;
}
.shortcut .emoji .league-logo,
.tab-row .league-logo,
.statusline .league-logo {
  width:100%;height:100%;object-fit:contain;opacity:1!important;filter:drop-shadow(0 1px 1px #0b21527a)!important;
}
@media(max-width:740px){
 .league-tile {min-height:94px;padding:7px 5px}
 .league-tile .em{height:45px;width:45px;flex-basis:45px;margin-bottom:1px}
 .league-tile .league-logo-box{height:43px!important;width:43px!important;max-height:43px!important;max-width:43px!important;padding:5px;border-radius:12px}
 .league-tile .league-logo-box::before{border-radius:9px}
 .league-tile>span:last-child{font-size:10px;line-height:1.32}
}
@media(max-width:370px){
 .league-tile{min-height:87px}
 .league-tile .em{width:41px;height:41px;flex-basis:41px}
 .league-tile .league-logo-box{width:39px!important;height:39px!important;max-width:39px!important;max-height:39px!important}
}
@media(prefers-reduced-motion:reduce){.league-tile .em{transition:none}}
