html.mobile-menu-open {
  overflow: hidden;
  background-color: #393c40;
}

html.mobile-menu-open body {
  position: fixed;
  top: var(--mobile-menu-scroll-top);
  left: 0;
  width: calc(100% - var(--mobile-menu-scrollbar-width, 0px));
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  isolation: isolate;
  background: #15191c;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  inset: -16px;
  z-index: -1;
  background: url('/images/landing/pic2.jpg') no-repeat center top / cover;
  filter: blur(10px);
  pointer-events: none;
}

.mobile-menu:not([open]) {
  display: none;
}

.mobile-menu[open] {
  display: flex;
  flex-direction: column;
}

.mobile-menu::backdrop {
  background: transparent;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 60px;
  padding: env(safe-area-inset-top, 0px) max(15px, env(safe-area-inset-right, 0px)) 0 max(15px, env(safe-area-inset-left, 0px));
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
}

.mobile-menu__logo img {
  display: block;
  width: 120px;
  height: auto;
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.mobile-menu__scroll {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 max(15px, env(safe-area-inset-right, 0px)) 0 max(15px, env(safe-area-inset-left, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu__nav {
  display: grid;
  flex-shrink: 0;
  padding-top: 30px;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: 64px;
  box-sizing: border-box;
  border-bottom: 1px solid rgb(255 255 255 / 20%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu__actions {
  display: grid;
  flex-shrink: 0;
  gap: 12px;
  padding: 28px max(15px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(15px, env(safe-area-inset-left, 0px));
}

.mobile-menu__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 16px;
  box-sizing: border-box;
  border: 1px solid #fff;
  border-radius: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu__button--login {
  background: transparent;
}

.mobile-menu__button--register {
  border-color: #42a7de;
  background: #42a7de;
}

.mobile-menu__link:hover,
.mobile-menu__close:hover {
  color: #42a7de;
}

.mobile-menu__button--login:hover {
  background: rgb(255 255 255 / 10%);
}

.mobile-menu__button--register:hover {
  border-color: #69b9e5;
  background: #69b9e5;
}

.mobile-menu a:focus-visible,
.mobile-menu__close:focus-visible {
  outline: 2px solid #42a7de;
  outline-offset: -3px;
}
