/* Launcher line 13913 (es-avatares-wide-dock-one-menu-r1, ai.features.es_avatares_dock_one_menu): on /es/avatares-en-vivo
   from 1024 px up the shell's row of seven buttons under Mrs. NetShow's face folds into her one small ☰ menu. The bar
   itself is the menu's panel (the same buttons and handlers, now rows), hidden until the ☰ opens it; the ☰ shows while
   the pointer is over her plane, while the keyboard focus is in it, or after a tap (public/js/pages/es-avatares-dock-one-menu.js sets
   data-ns-one-menu-shown). Portrait tablets up to 1024 keep the shell's phone layout, so they are left out. Below that,
   main's bar: the ☰ is never drawn. Loaded only when the key is lit. */
.ns-one-menu-btn { display: none; }

@media (min-width: 1025px), (min-width: 1024px) and (orientation: landscape) {
    .ns-one-menu-btn { position: absolute; top: calc(var(--ns-panebar-h) + 10px); right: 10px; z-index: 49; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; background: rgba(10, 10, 20, .72); color: var(--ns-text); border: 1px solid var(--ns-border-strong); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
    .ns-host:hover .ns-one-menu-btn, .ns-host:has(:focus-visible) .ns-one-menu-btn, .ns-one-menu-btn:focus-visible, .ns-host[data-ns-one-menu-shown] .ns-one-menu-btn, .ns-one-menu-btn[aria-expanded="true"] { opacity: 1; pointer-events: auto; }
    .ns-one-menu-btn:hover, .ns-one-menu-btn[aria-expanded="true"] { border-color: var(--ns-gold); color: var(--ns-gold-light); }
    .ns-one-menu-btn:focus-visible { outline: 2px solid var(--ns-gold); outline-offset: 2px; }

    /* the panel: no row under her face, the seven controls as rows under the ☰ */
    #ns-planes[data-ns-es-dock-one-menu] .ns-bar { position: absolute; top: calc(var(--ns-panebar-h) + 60px); right: 10px; left: auto; z-index: 49; display: none; flex: none; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; width: 220px; max-width: calc(100% - 20px); min-height: 0; max-height: calc(100% - var(--ns-panebar-h) - 72px); overflow-y: auto; padding: 6px; background: var(--ns-surface); border: 1px solid var(--ns-border-strong); border-radius: 12px; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .85); }
    #ns-planes[data-ns-es-dock-one-menu] .ns-bar[data-ns-one-menu-open] { display: flex; }
    #ns-planes[data-ns-es-dock-one-menu] .ns-bar button { flex: none; flex-direction: row; justify-content: flex-start; gap: 10px; min-width: 0; min-height: 44px; width: 100%; padding: 8px 10px; border-radius: 8px; background: none; font-size: 14px; letter-spacing: .02em; text-transform: none; text-align: left; }
    #ns-planes[data-ns-es-dock-one-menu] .ns-bar button:hover, #ns-planes[data-ns-es-dock-one-menu] .ns-bar button[aria-pressed="true"], #ns-planes[data-ns-es-dock-one-menu] .ns-bar button[aria-expanded="true"] { background: var(--ns-elevated); color: var(--ns-gold-light); }
    #ns-planes[data-ns-es-dock-one-menu] .ns-host:not(.ns-w-narrow) .ns-bar button span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }

    /* folded to her 84 px strip (REDUCIR) the name bar is gone: the ☰ sits at the top and its rows keep main's icons */
    #ns-planes[data-ns-es-dock-one-menu] .ns-host.ns-w-narrow .ns-one-menu-btn { top: 8px; right: 50%; transform: translateX(50%); }
    #ns-planes[data-ns-es-dock-one-menu] .ns-host.ns-w-narrow .ns-bar { top: 60px; right: 4px; left: 4px; width: auto; max-width: none; max-height: calc(100% - 68px); padding: 4px; }
    #ns-planes[data-ns-es-dock-one-menu] .ns-host.ns-w-narrow .ns-bar button { justify-content: center; padding: 6px; }

    /* the menus the rows open (reach, Agente, Volumen) sit at the plane's foot, where the row used to be */
    #ns-planes[data-ns-es-dock-one-menu] .ns-pop, #ns-planes[data-ns-es-dock-one-menu] .ns-vol { bottom: 12px; }
    #ns-planes[data-ns-es-dock-one-menu] .ns-pop { max-height: calc(100% - var(--ns-panebar-h) - 24px); }
}

@media (prefers-reduced-motion: reduce) {
    .ns-one-menu-btn { transition: none; }
}
