:root {
  --nav: 72px;
}

.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--nav);
  padding: 18px 10px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: rgba(31, 19, 96, .82);
  border-right: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  z-index: 40;
}

.side-nav .nav-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .9);
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease, color .15s ease;
}

.side-nav .nav-icon:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.side-nav .nav-icon.active {
  background: linear-gradient(135deg, #9258ff, #6f46d5);
  box-shadow: 0 10px 24px rgba(104, 63, 218, .34);
  color: #fff;
}

.side-nav .nav-icon--action {
  cursor: pointer;
  font: inherit;
}

.side-nav .nav-icon--action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.side-nav svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.side-nav .nav-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.side-nav .nav-icon--img svg {
  display: none;
}

.side-nav .fill-icon {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 899px) {
  body.has-side-nav .menu-button {
    display: grid;
  }
}

@media (min-width: 900px) {
  body.has-side-nav .menu-button {
    display: grid;
  }

  body.has-side-nav .side-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100dvh;
    width: min(272px, 26vw);
    padding: calc(18px + env(safe-area-inset-top, 0px)) 14px 18px;
    gap: 8px;
    z-index: 980;
    transform: translateX(-105%);
    transition: transform .26s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 12px 0 40px rgba(0, 0, 0, .38);
    will-change: transform;
  }

  body.mobile-side-nav-open .side-nav {
    transform: translateX(0);
  }

  body.has-side-nav .side-nav .nav-icon {
    display: inline-flex;
    align-items: center;
    width: 100%;
    height: 46px;
    border-radius: 10px;
    justify-content: flex-start;
    padding: 0 14px;
    gap: 12px;
  }

  body.has-side-nav .side-nav .nav-icon::after {
    content: attr(title);
    font-size: 13px;
    font-weight: 800;
  }

  body.has-side-nav .app-shell {
    padding-left: 18px;
  }

  body.has-side-nav .shell.sportsbook-shell,
  body.has-side-nav .shell.stake-shell,
  body.has-side-nav .shell.home-shell {
    max-width: min(1320px, 100vw);
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 899px) {
  body.has-side-nav .side-nav {
    max-width: 84vw;
    z-index: 980;
  }
}
