/* Oz OTC 香港门户：侧栏滑动高亮与单组折叠。 */
html[data-bnw-motion-brand="ozotc"] .portal-sidebar nav[aria-label="Merchant navigation"].bnw-hk-nav-ready {
  position: relative;
  isolation: isolate;
  --bnw-nav-border: rgba(214, 167, 58, .72);
  --bnw-nav-accent: #d6a73a;
  --bnw-nav-shadow: 0 10px 24px rgba(66, 0, 9, .28), 0 1px 0 rgba(255, 255, 255, .08);
  --bnw-nav-bg: radial-gradient(circle at 78% 18%, rgba(255, 228, 167, .20), transparent 40%), linear-gradient(135deg, #5a1820, #701d28);
  --bnw-nav-dot-bg: #26070b;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready > a,
html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready > details {
  position: relative;
  z-index: 1;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready > details,
html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready > details[open] {
  background: transparent;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready a,
html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready summary {
  position: relative;
  z-index: 2;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready a.active,
html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready a[aria-current="page"] {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 0;
  height: 0;
  border: 1px solid var(--bnw-nav-border);
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background: var(--bnw-nav-bg);
  box-shadow: inset 3px 0 0 var(--bnw-nav-accent), var(--bnw-nav-shadow);
  transform: translate3d(0, 0, 0);
  will-change: transform, width, height;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-indicator::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -38%;
  width: 36%;
  opacity: .46;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-indicator.is-visible {
  opacity: 1;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-indicator.is-animated {
  transition:
    transform 420ms cubic-bezier(.22, 1.28, .36, 1),
    width 340ms cubic-bezier(.22, 1, .36, 1),
    height 340ms cubic-bezier(.22, 1, .36, 1),
    border-radius 260ms ease,
    opacity 140ms ease;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-indicator.is-moving::after {
  animation: bnw-hk-nav-sheen 420ms ease-out both;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready .portal-nav-group summary::after {
  transition: transform 230ms cubic-bezier(.22, 1, .36, 1);
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready .portal-nav-children {
  box-sizing: border-box;
  overflow: hidden;
  transform-origin: top;
  transition:
    height 280ms cubic-bezier(.22, 1, .36, 1),
    opacity 190ms ease,
    transform 260ms cubic-bezier(.22, 1, .36, 1);
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready .portal-nav-children a {
  position: relative;
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready .portal-nav-children a::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid var(--bnw-nav-border);
  border-radius: 999px;
  background: var(--bnw-nav-dot-bg);
  transform: translateY(-50%);
}

html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready .portal-nav-group.bnw-is-opening .portal-nav-children a {
  animation: bnw-hk-nav-child-in 260ms cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(var(--bnw-item-index, 0) * 34ms);
}

@keyframes bnw-hk-nav-sheen {
  from { transform: translateX(0) skewX(-18deg); }
  to { transform: translateX(430%) skewX(-18deg); }
}

@keyframes bnw-hk-nav-child-in {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-indicator,
  html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready .portal-nav-children,
  html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready .portal-nav-group summary::after,
  html[data-bnw-motion-brand="ozotc"] .portal-sidebar .bnw-hk-nav-ready .portal-nav-children a {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
  }
}

