@media (max-width: 1024px) {
  body[data-page="professional"] .pro-category-nav.is-drawer,
  body[data-page="gamer"] .pro-category-nav.is-drawer {
    position: fixed;
    top: 58px;
    right: 0;
    width: min(72vw, 280px);
    min-height: 48px;
    z-index: 70;
    display: block;
    border: 1px solid rgba(139, 159, 186, 0.42);
    border-radius: 12px 0 0 12px;
    background:
      radial-gradient(circle at 85% 12%, rgba(64, 171, 241, 0.18), transparent 45%),
      radial-gradient(circle at 12% 88%, rgba(0, 193, 255, 0.1), transparent 42%),
      linear-gradient(135deg, rgba(246, 249, 255, 0.96), rgba(241, 246, 255, 0.94));
    box-shadow: 0 12px 26px rgba(10, 18, 30, 0.28);
    overflow: visible;
    transform: translateX(100%);
    transition: transform 0.24s ease;
  }

  html[data-theme="light"] body[data-page="gamer"] .pro-category-nav.is-drawer {
    border-color: rgba(54, 132, 196, 0.42);
    background:
      radial-gradient(circle at 85% 12%, rgba(52, 153, 236, 0.28), transparent 45%),
      radial-gradient(circle at 12% 88%, rgba(102, 192, 245, 0.26), transparent 42%),
      linear-gradient(135deg, rgba(232, 246, 255, 0.99), rgba(208, 234, 252, 0.97)) !important;
    box-shadow: 0 12px 26px rgba(21, 70, 115, 0.24), 0 0 0 1px rgba(96, 180, 236, 0.36) inset !important;
  }

  html[data-theme="light"] body[data-page="professional"] .pro-category-nav.is-drawer {
    border-color: rgba(54, 132, 196, 0.42) !important;
    background:
      linear-gradient(118deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 40%),
      repeating-linear-gradient(-35deg, rgba(64, 171, 241, 0.08) 0 2px, rgba(64, 171, 241, 0) 2px 10px),
      radial-gradient(circle at 85% 12%, rgba(52, 153, 236, 0.22), transparent 45%),
      radial-gradient(circle at 12% 88%, rgba(102, 192, 245, 0.18), transparent 42%),
      linear-gradient(135deg, rgba(236, 246, 255, 0.99), rgba(221, 238, 252, 0.97)) !important;
    box-shadow: 0 12px 26px rgba(21, 70, 115, 0.2), 0 0 0 1px rgba(96, 180, 236, 0.28) inset !important;
  }

  body[data-page="gamer"] .pro-category-nav.is-drawer {
    border-color: rgba(54, 132, 196, 0.42);
    background:
      radial-gradient(circle at 85% 12%, rgba(52, 153, 236, 0.24), transparent 45%),
      radial-gradient(circle at 12% 88%, rgba(102, 192, 245, 0.2), transparent 42%),
      linear-gradient(135deg, rgba(232, 246, 255, 0.97), rgba(208, 234, 252, 0.95));
    box-shadow: 0 12px 26px rgba(21, 70, 115, 0.22), 0 0 0 1px rgba(96, 180, 236, 0.3) inset;
  }

  body[data-page="professional"] .pro-category-nav.is-drawer.is-open,
  body[data-page="gamer"] .pro-category-nav.is-drawer.is-open {
    transform: translateX(0);
  }

  body[data-page="professional"] .pro-category-nav.is-drawer:not(.is-open) a,
  body[data-page="gamer"] .pro-category-nav.is-drawer:not(.is-open) a {
    display: none;
    pointer-events: none;
  }

  body[data-page="professional"] .pro-category-nav.is-drawer.is-open a,
  body[data-page="gamer"] .pro-category-nav.is-drawer.is-open a {
    display: block;
    pointer-events: auto;
  }

  body[data-page="professional"] .pro-category-nav.is-drawer .pro-category-drawer-toggle,
  body[data-page="gamer"] .pro-category-nav.is-drawer .pro-category-drawer-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 46px;
    position: absolute;
    left: -40px;
    top: 2px;
    margin: 0;
    border: 1px solid rgba(73, 93, 124, 0.72);
    border-radius: 10px 0 0 10px;
    background: linear-gradient(180deg, rgba(243, 248, 255, 0.98), rgba(223, 232, 248, 0.98));
    color: #1f3150;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    z-index: 2;
    box-shadow:
      0 6px 16px rgba(15, 26, 44, 0.35),
      0 0 0 1px rgba(64, 171, 241, 0.52),
      0 0 16px rgba(64, 171, 241, 0.44);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 5px rgba(64, 171, 241, 0.38);
    backdrop-filter: blur(2px);
  }

  html[data-theme="light"] body[data-page="gamer"] .pro-category-nav.is-drawer .pro-category-drawer-toggle {
    border-color: rgba(41, 129, 199, 0.72) !important;
    background: linear-gradient(180deg, rgba(199, 231, 255, 0.99), rgba(171, 216, 247, 0.98)) !important;
    color: #0f3a5c !important;
    box-shadow:
      0 7px 18px rgba(21, 70, 115, 0.3),
      0 0 0 1px rgba(58, 163, 235, 0.66),
      0 0 14px rgba(64, 171, 241, 0.42) !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.66), 0 0 5px rgba(62, 158, 226, 0.34);
  }

  body[data-page="gamer"] .pro-category-nav.is-drawer .pro-category-drawer-toggle {
    border-color: rgba(41, 129, 199, 0.7);
    background: linear-gradient(180deg, rgba(199, 231, 255, 0.98), rgba(171, 216, 247, 0.97));
    color: #0f3a5c;
    box-shadow:
      0 7px 18px rgba(21, 70, 115, 0.28),
      0 0 0 1px rgba(58, 163, 235, 0.62),
      0 0 14px rgba(64, 171, 241, 0.38);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.64), 0 0 5px rgba(62, 158, 226, 0.32);
  }

  body[data-page="professional"] .pro-category-nav.is-drawer:not(.is-open) .pro-category-drawer-toggle,
  body[data-page="gamer"] .pro-category-nav.is-drawer:not(.is-open) .pro-category-drawer-toggle {
    animation: proDrawerNudge 1.05s ease-in-out infinite, proDrawerGlow 1.5s ease-in-out infinite;
  }

  body[data-page="gamer"] .pro-category-nav.is-drawer:not(.is-open) .pro-category-drawer-toggle {
    animation: proDrawerNudge 1.05s ease-in-out infinite, gamerDrawerGlow 1.5s ease-in-out infinite;
  }

  body[data-page="professional"] .pro-category-nav.is-drawer.is-open .pro-category-drawer-toggle,
  body[data-page="gamer"] .pro-category-nav.is-drawer.is-open .pro-category-drawer-toggle {
    animation: none;
  }

  body[data-page="professional"] .pro-category-nav.is-drawer a,
  body[data-page="gamer"] .pro-category-nav.is-drawer a {
    display: block;
    text-align: left;
    padding: 10px 12px;
    border-right: 0;
    border-top: 1px solid #edf1f7;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  html[data-theme="light"] body[data-page="gamer"] .pro-category-nav.is-drawer a {
    color: #1e4467;
    border-top-color: rgba(61, 137, 199, 0.2);
    background: transparent;
  }

  html[data-theme="light"] body[data-page="professional"] .pro-category-nav.is-drawer a {
    color: #1e4467 !important;
    border-top-color: rgba(61, 137, 199, 0.22) !important;
    background: transparent !important;
  }

  html[data-theme="light"] body[data-page="gamer"] .pro-category-nav.is-drawer a:hover,
  html[data-theme="light"] body[data-page="gamer"] .pro-category-nav.is-drawer a:focus-visible,
  html[data-theme="light"] body[data-page="gamer"] .pro-category-nav.is-drawer a.is-active {
    background: rgba(171, 219, 250, 0.76) !important;
    color: #0b3557 !important;
  }

  html[data-theme="light"] body[data-page="professional"] .pro-category-nav.is-drawer a:hover,
  html[data-theme="light"] body[data-page="professional"] .pro-category-nav.is-drawer a:focus-visible,
  html[data-theme="light"] body[data-page="professional"] .pro-category-nav.is-drawer a.is-active {
    background: rgba(171, 219, 250, 0.78) !important;
    color: #0b3557 !important;
    box-shadow:
      inset 0 -3px 0 rgba(64, 171, 241, 0.82),
      inset 0 0 0 1px rgba(255, 255, 255, 0.62) !important;
  }

  body[data-page="professional"] .pro-category-nav.is-drawer a:last-child,
  body[data-page="gamer"] .pro-category-nav.is-drawer a:last-child {
    border-bottom: 0;
  }

  body[data-page="professional"] .pro-category-nav.is-drawer a[data-i18n="pro_nav_4"] {
    display: none !important;
    pointer-events: none !important;
  }

  [data-theme="dark"] body[data-page="professional"] .pro-category-nav.is-drawer,
  [data-theme="dark"] body[data-page="gamer"] .pro-category-nav.is-drawer {
    background:
      radial-gradient(circle at 85% 12%, rgba(64, 171, 241, 0.22), transparent 45%),
      radial-gradient(circle at 12% 88%, rgba(0, 193, 255, 0.14), transparent 42%),
      linear-gradient(135deg, rgba(20, 28, 42, 0.92), rgba(18, 26, 38, 0.9));
    border-color: rgba(140, 157, 187, 0.35);
  }

  [data-theme="dark"] body[data-page="gamer"] .pro-category-nav.is-drawer {
    background:
      radial-gradient(circle at 85% 12%, rgba(49, 144, 226, 0.24), transparent 45%),
      radial-gradient(circle at 12% 88%, rgba(0, 193, 255, 0.2), transparent 42%),
      linear-gradient(135deg, rgba(11, 32, 50, 0.94), rgba(9, 25, 40, 0.92));
    border-color: rgba(101, 182, 235, 0.42);
  }

  [data-theme="dark"] body[data-page="professional"] .pro-category-nav.is-drawer .pro-category-drawer-toggle,
  [data-theme="dark"] body[data-page="gamer"] .pro-category-nav.is-drawer .pro-category-drawer-toggle {
    background: linear-gradient(180deg, rgba(28, 39, 58, 0.97), rgba(19, 29, 46, 0.97));
    color: #e7f0ff;
    border-color: rgba(122, 218, 255, 0.52);
    box-shadow:
      0 6px 16px rgba(4, 8, 14, 0.5),
      0 0 0 1px rgba(122, 218, 255, 0.48),
      0 0 14px rgba(122, 218, 255, 0.34);
    text-shadow: 0 0 6px rgba(122, 218, 255, 0.55);
  }

  [data-theme="dark"] body[data-page="gamer"] .pro-category-nav.is-drawer .pro-category-drawer-toggle {
    background: linear-gradient(180deg, rgba(16, 54, 84, 0.97), rgba(12, 42, 67, 0.97));
    color: #e5f7ff;
    border-color: rgba(96, 191, 244, 0.72);
    box-shadow:
      0 6px 16px rgba(4, 16, 26, 0.5),
      0 0 0 1px rgba(96, 191, 244, 0.62),
      0 0 14px rgba(64, 171, 241, 0.46);
    text-shadow: 0 0 6px rgba(120, 208, 255, 0.58);
  }

  [data-theme="dark"] body[data-page="professional"] .pro-category-nav.is-drawer a,
  [data-theme="dark"] body[data-page="gamer"] .pro-category-nav.is-drawer a {
    border-top-color: rgba(255, 255, 255, 0.08);
  }
}

@keyframes proDrawerNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-5px); }
}

@keyframes proDrawerGlow {
  0%, 100% {
    box-shadow:
      0 6px 16px rgba(15, 26, 44, 0.35),
      0 0 0 1px rgba(64, 171, 241, 0.44),
      0 0 12px rgba(64, 171, 241, 0.34);
  }
  50% {
    box-shadow:
      0 6px 18px rgba(15, 26, 44, 0.4),
      0 0 0 1px rgba(64, 171, 241, 0.68),
      0 0 22px rgba(64, 171, 241, 0.58);
  }
}

@keyframes gamerDrawerGlow {
  0%, 100% {
    box-shadow:
      0 6px 16px rgba(15, 44, 66, 0.35),
      0 0 0 1px rgba(64, 171, 241, 0.42),
      0 0 12px rgba(64, 171, 241, 0.34);
  }
  50% {
    box-shadow:
      0 6px 18px rgba(15, 44, 66, 0.4),
      0 0 0 1px rgba(64, 171, 241, 0.66),
      0 0 22px rgba(64, 171, 241, 0.56);
  }
}
