/* DAOQUAN_MENU_FIXED_R295: only the existing bottom navigation is positioned.
   Keep the R142 artwork, button coordinates, routing and keyboard policy.
   Reels must use the same viewport anchor as the other tabs; never its shell.
   The R142 picture includes transparent space below its gold frame, so retain
   its original 2048/470 navigation box and 2048/682 image geometry. */
@media screen {
  #app > .shell > .bottom-nav.dq-menu-r142 {
    --dq-menu-side-r295: max(8px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 2px !important;
    /* Six px lower on a 34px iPhone safe area; tappable slots still clear it. */
    bottom: max(2px, calc(env(safe-area-inset-bottom, 0px) - 4px)) !important;
    left: 50% !important;
    width: min(calc(100% - 2 * var(--dq-menu-side-r295)), 414px) !important;
    max-width: 414px !important;
    aspect-ratio: 2048 / 470 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    transform: translate3d(-50%, 0, 0) !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
    animation: none !important;
    transition: none !important;
    overflow-anchor: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  @media (max-width: 340px) {
    #app > .shell > .bottom-nav.dq-menu-r142 {
      --dq-menu-side-r295: max(6px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    }
  }
}
