/* Portal navigation and links to the two home pages. */
.dl-shell {
  --dl-rail-width: 0px;
  --dl-nav-orange: #ff723b;
  --dl-nav-ink: #cbc4b8;
  --dl-nav-background: #101010;
  --dl-nav-selected: #211f1b;
  --dl-nav-rule: #ffffff1c;
  --dl-header-height: 64px;
}
.dl-shell .shell-page-scroll { padding-bottom: env(safe-area-inset-bottom, 0px); }
.dl-shell .dl-header { background: var(--dl-nav-background); }
.dl-shell .dl-header::before { background: var(--dl-nav-background); }
.dl-shell .dl-header-in {
  display: grid;
  max-width: 1472px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 64px;
  height: auto;
  gap: 8px clamp(12px, 2vw, 28px);
  padding-inline: max(clamp(12px, 2.2vw, 32px), env(safe-area-inset-left, 0px)) max(clamp(12px, 2.2vw, 32px), env(safe-area-inset-right, 0px));
}
.dl-header-brands {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.dl-header-platform {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block-start: 1.25rem;
  color: #a19b90;
  text-decoration: none;
}
.dl-header-platform small {
  font-size: .52rem;
  line-height: 1.1;
  white-space: nowrap;
}
.dl-header-platform strong { font-weight: 650; }
.dl-header-platform:is(:hover, :focus-visible) { color: #eee3ce; }
.dl-shell .dl-header-in .dl-brand {
  gap: .55rem;
  margin: 0;
  min-height: 44px;
  color: #eee3ce;
}
.dl-brand-name { display: grid; gap: .18rem; }
.dl-brand-subtitle {
  color: var(--dl-nav-ink);
  font-size: .56rem;
  font-weight: 650;
  letter-spacing: .035em;
  line-height: 1.1;
  white-space: nowrap;
}
.dl-shell .dl-header .dl-brand b {
  padding: 0;
  color: inherit;
  font: 400 1.13rem/1 'Yeseva One', Georgia, serif;
  letter-spacing: -.025em;
}
.dl-shell .dl-header .dl-brand b::before { display: none; }
.dl-shell .dl-header .dl-brand .dl-brand-mark {
  display: block;
  flex: none;
  width: 30px;
  max-width: 30px;
  height: 30px;
  color: var(--dl-nav-orange);
}
.dl-brand-mark > svg { display: block; width: 100%; height: 100%; }
.dl-shell .dl-header-in .dl-menu {
  display: flex;
  justify-content: start;
  padding-inline-start: clamp(10px, 1.15vw, 18px);
  gap: .14rem;
  margin: 0;
  overflow: visible;
}
.dl-shell .dl-menu :is(a, summary) {
  position: relative;
  display: flex;
  align-items: center;
  gap: .4rem;
  min-height: 46px;
  padding: .45rem .65rem;
  color: var(--dl-nav-ink);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.2;
}
.dl-shell .dl-menu :is(a, summary):is(:hover, :focus-visible),
.dl-shell .dl-menu .dl-more[open] summary {
  background: #ffffff09;
  color: #eee3ce;
}
.dl-shell .dl-menu :is(a[aria-current='page'], .dl-more[data-current] summary) {
  background: var(--dl-nav-selected);
  color: #eee3ce;
}
.dl-shell .dl-menu a[aria-current='page']::after { display: none; }
.dl-shell .dl-menu :is(a[aria-current='page'], .dl-more[data-current] summary) .dl-game-nav-icon { color: var(--dl-nav-orange); }
.dl-menu-short { display: none; }
.dl-menu-label { display: flex; align-items: center; gap: .2rem; white-space: nowrap; }
.dl-shell .dl-menu-label .lucide-chevron-down { width: 12px; height: 12px; }
.dl-shell .dl-menu-more-icon { width: 18px; height: 18px; flex: none; }
.dl-shell .dl-more[open] .dl-menu-more-icon { transform: none; }
.dl-shell .dl-more-list {
  inset-inline: auto 0;
  min-width: 11.5rem;
  padding: .25rem;
  background: #1b1916;
  box-shadow: 0 14px 30px #0009;
}
.dl-shell .dl-more-list a { min-height: 40px; }
.dl-shell .dl-more-list a > svg { width: 19px; height: 19px; flex: none; }
.dl-shell .dl-menu .dl-more-list a[data-nav-visibility='mobile'] { display: none; }
.dl-shell .dl-menu-live { font-size: .625rem; min-width: 1rem; height: 1rem; }

.dl-shell .dl-header .dl-tools { gap: .5rem; }
.dl-find-toggle { display: none; }
.dl-shell .dl-header .dl-tools .dl-find {
  width: clamp(126px, 14vw, 208px);
  height: 34px;
}
.dl-shell .dl-header .dl-search-field { height: 34px; gap: .25rem; padding-inline: .28rem .55rem; }
.dl-shell .dl-header .dl-search-field::before { clip-path: none; }
.dl-shell .dl-header .dl-search-lens > svg { width: 15px; height: 15px; }
.dl-shell .dl-header .dl-search-field input { font-size: .78rem; }
.dl-shell .dl-header .dl-langs { display: flex; }
.dl-shell .dl-header .dl-langs button { min-width: 1.8rem; height: 30px; padding-inline: .25rem; font-size: .68rem; }
.dl-shell .dl-header .dl-langs button[aria-pressed='true'] { color: #eee3ce; box-shadow: inset 0 -1px #eee3ce; }
.dl-portal-footer {
  margin-block-start: 2.5rem;
  color: var(--dl-nav-ink);
  background: var(--dl-nav-background);
  border-top: 1px solid var(--dl-nav-rule);
}
.dl-portal-footer-in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .85rem clamp(1rem, 3vw, 2.75rem);
  min-height: 84px;
  padding: .85rem max(clamp(12px, 2.2vw, 32px), env(safe-area-inset-right, 0px)) .85rem max(clamp(12px, 2.2vw, 32px), env(safe-area-inset-left, 0px));
}
.dl-portal-footer a { color: inherit; text-decoration: none; }
.dl-portal-footer a:is(:hover, :focus-visible) { color: #eee3ce; }
.dl-footer-brands {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 2vw, 1.4rem);
}
.dl-footer-home, .dl-footer-platform {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
}
.dl-portal-footer .dl-footer-home {
  color: #eee3ce;
  font: 400 1.02rem/1 'Yeseva One', Georgia, serif;
}
.dl-footer-home img { width: 28px; height: 28px; }
.dl-portal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem clamp(.7rem, 2vw, 1.55rem);
  font-size: .81rem;
}
.dl-portal-footer nav a { display: inline-flex; align-items: center; min-height: 36px; }
.dl-portal-footer nav a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .25em; }
.dl-footer-platform img { width: 88px; height: auto; }
.dl-footer-platform:hover img { opacity: .8; }
@media (max-width: 680px) {
  .dl-portal-footer-in { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
}

@media (max-width: 1260px) {
  .dl-shell { --dl-header-height: 88px; }
  .dl-shell .dl-header-in {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 0;
    padding-block: 2px;
  }
  .dl-shell .dl-header-in > .dl-header-brands { grid-column: 1; grid-row: 1; }
  .dl-shell .dl-header .dl-tools { grid-column: 2; grid-row: 1; justify-self: end; }
  .dl-shell .dl-header-in .dl-menu {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(6, minmax(min-content, 1fr));
    padding-inline-start: 0;
  }
  .dl-shell .dl-menu > a,
  .dl-shell .dl-menu > details > summary {
    justify-content: center;
    min-height: 40px;
    gap: .25rem;
    padding: .3rem .12rem;
    font-size: .75rem;
  }
  .dl-shell .dl-menu-live { position: absolute; top: 2px; inset-inline-end: 3px; }
  .dl-shell .dl-header .dl-tools .dl-find { flex: 0 1 auto; width: clamp(78px, 29vw, 200px) !important; }
  .dl-shell .dl-header .dl-brand b { font-size: .91rem; }
  .dl-shell .dl-header .dl-brand .dl-brand-mark { width: 25px; max-width: 25px; height: 25px; }
  .dl-header-platform { padding-block-start: 1rem; }
  .dl-shell .dl-header .dl-langs button { min-width: 1.55rem; }
  .dl-shell .dl-find-list { top: calc(100% + 4px); }
}

@media (max-width: 760px) {
  .dl-shell .dl-header-in .dl-menu {
    grid-template-columns: repeat(5, minmax(min-content, 1fr));
    gap: 0;
  }
  .dl-shell .dl-menu > a[data-nav-visibility='desktop'] { display: none; }
  .dl-shell .dl-menu .dl-more-list a[data-nav-visibility='mobile'] { display: flex; }
  .dl-shell .dl-menu .dl-more[data-mobile-current] summary {
    background: var(--dl-nav-selected);
    color: #eee3ce;
  }
}

@media (max-width: 520px) {
  .dl-shell { --dl-header-height: 84px; }
  .dl-shell .dl-header-in { position: relative; }
  .dl-shell .dl-header-in .dl-brand { gap: .37rem; }
  .dl-shell .dl-menu > a,
  .dl-shell .dl-menu > details > summary { min-height: 36px; }
  .dl-shell .dl-menu > a > .dl-game-nav-icon,
  .dl-shell .dl-menu > details > summary > :is(.dl-game-nav-icon, .dl-menu-more-icon) { display: none; }
  .dl-menu-full { display: none; }
  .dl-menu-short { display: inline; }
  .dl-shell .dl-menu-label { gap: .12rem; }
  .dl-shell .dl-menu-label .lucide-chevron-down { width: 9px; height: 9px; }
  .dl-shell .dl-find-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: #211f1b;
    color: var(--dl-nav-ink);
    cursor: pointer;
  }
  .dl-find-toggle svg { width: 18px; height: 18px; }
  .dl-shell .dl-header .dl-tools .dl-find {
    display: none;
    position: absolute;
    z-index: 2;
    inset: calc(100% + 4px) 12px auto;
    width: auto !important;
    height: 44px;
  }
  .dl-shell .dl-header .dl-tools .dl-find.is-open { display: block; }
  .dl-shell .dl-header .dl-find .dl-search-field { height: 44px; }
  .dl-shell .dl-header .dl-find .dl-search-field input[type='search'] { font-size: 16px; }
  .dl-shell .dl-header .dl-find .dl-find-list { inset: calc(100% + 4px) 0 auto; }
}

@media (max-width: 360px) {
  .dl-header-brands { gap: .4rem; }
  .dl-brand-subtitle { font-size: .52rem; letter-spacing: 0; }
  .dl-shell .dl-header .dl-tools { gap: .2rem; }
}

.dl-shell [data-home-match-scroll]::before {
  display: block;
  flex: none;
  width: 18px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(0 50%, 47% 0, 66% 0, 43% 36%, 100% 36%, 89% 64%, 43% 64%, 66% 100%, 47% 100%);
  pointer-events: none;
  content: '';
}
.dl-shell [data-home-match-scroll='1']::before { scale: -1 1; }
.dl-shell [data-home-match-scroll]:enabled:is(:hover, :focus-visible) { color: var(--dl-nav-orange); }
@media (forced-colors: active) {
  .dl-shell [data-home-match-scroll]::before { forced-color-adjust: none; background: ButtonText; }
}

.dl-shell .dl-game-nav-icon { display: block; flex: 0 0 19px; width: 19px; height: 19px; background: currentColor; mask: var(--dl-game-icon) center / contain no-repeat; -webkit-mask: var(--dl-game-icon) center / contain no-repeat; }
.dl-game-nav-icon-home { --dl-game-icon: url("assets/dl/nav/home-front-page.svg"); }
.dl-game-nav-icon-matches { --dl-game-icon: url("assets/dl/nav/matches.png"); }
.dl-game-nav-icon-events { --dl-game-icon: url("assets/dl/nav/events.svg"); }
.dl-game-nav-icon-teams { --dl-game-icon: url("assets/dl/nav/teams.png"); }
.dl-game-nav-icon-players { --dl-game-icon: url("assets/dl/nav/players.png"); }
.dl-game-nav-icon-heroes { --dl-game-icon: url("assets/dl/nav/heroes.png"); }
.dl-game-nav-icon-news { --dl-game-icon: url("assets/dl/nav/news.svg"); }
.dl-game-nav-icon-transfers { --dl-game-icon: url("assets/dl/nav/transfers.svg"); }
