.menu-toggle-btn {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 10px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.8);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 13000;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
}

.menu-toggle-icon {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}

.menu-drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 13050;
  background: rgba(2, 6, 23, 0.44);
  backdrop-filter: blur(3px);
}

.menu-drawer.active {
  display: block;
}

.menu-drawer-panel {
  width: min(86vw, 340px);
  height: 100%;
  background: linear-gradient(180deg, #5b1f23 0%, #631f24 100%);
  color: #f9fafb;
  box-shadow: 10px 0 30px rgba(15, 23, 42, 0.45);
  padding: calc(14px + env(safe-area-inset-top)) 16px 18px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
}

.menu-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-drawer-title {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #f3e7c0;
}

.menu-drawer-close {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(17, 24, 39, 0.25);
  color: #fff;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.menu-drawer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.menu-drawer-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.menu-drawer-link {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
  padding: 14px 4px;
  display: block;
  text-align: left;
  cursor: pointer;
}

.menu-drawer-note {
  margin: 0;
  align-self: end;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}
