/* GamePC: stable desktop hand-off for the HERNÍ POČÍTAČE mega menu. */
@media (min-width: 992px) {
  /* Keep the panel's hit area stationary while its visibility changes. */
  #header#header :is(#navigation, .menu-helper) .menu-item-711 > .menu-level-2 {
    transform: translate(-50%) !important;
  }

  /* Keep the panel open while the pointer crosses the native menu boundary. */
  #header#header :is(#navigation, .menu-helper) .menu-item-711.gpc-mega-hold > .menu-level-2 {
    visibility: visible !important;
    transform: translate(-50%) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /*
   * The native menu removes its expanded state as soon as the pointer briefly
   * leaves the trigger. This short rail bridges the trigger and fixed panel.
   * It is a pseudo-child of the trigger item, so it keeps the same hover state.
   */
  #header#header :is(#navigation, .menu-helper) .menu-level-1 > .menu-item-711::after {
    position: fixed !important;
    z-index: 1099 !important;
    top: calc(var(--gpc-retail-menu-top, 103px) - 2px) !important;
    right: 0 !important;
    left: 0 !important;
    display: none !important;
    width: 100vw !important;
    height: 14px !important;
    content: "";
    pointer-events: auto !important;
  }

  #header#header :is(#navigation, .menu-helper) .menu-level-1 > .menu-item-711:is(:hover, .exp, .gpc-mega-hold)::after {
    display: block !important;
  }
}
