/* Line 16361 (fix-visitor-invest-20260929-r1, ai.features.invest_stage_one_menu; visitor test of 29 Sep, row 8): on the /invest
   pages the shell's row of eight buttons under Mrs. NetShow (TALK, TEXT, MUTE, VOL, AGENT, FULL, MIN, OWN THE STAGE; at 375 the
   labels ran together) folds into her one small ☰ menu at every width. From 1025 px up that is line 13913's one menu as it is
   (public/css/pages/es-avatares-dock-one-menu.css and its script, which the layout loads for any page that asks); this file
   carries the same rule to phones and portrait tablets: no row under her, the same buttons and handlers are the ☰'s rows,
   and the ☰ shows on hover or focus; a touch screen has no hover (and her live face keeps a tap from reaching the menu
   script's own touch rule), so there the one small ☰ simply stays in her corner. In the phone sliver the ☰ takes the bar's place, so her invite
   and her line get the width back. Loaded only when the key is lit. */
@media (max-width: 1024px) {
    #ns-planes[data-ns-es-dock-one-menu] .ns-one-menu-btn { position: absolute; top: calc(var(--ns-panebar-h) + 8px); right: 10px; z-index: 58; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; background: var(--ns-surface); color: var(--ns-text); border: 1px solid var(--ns-border-strong); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
    #ns-planes[data-ns-es-dock-one-menu] .ns-host[data-ns-one-menu-shown] .ns-one-menu-btn, #ns-planes[data-ns-es-dock-one-menu] .ns-host:has(:focus-visible) .ns-one-menu-btn, #ns-planes[data-ns-es-dock-one-menu] .ns-one-menu-btn[aria-expanded="true"], #ns-planes[data-ns-es-dock-one-menu] .ns-one-menu-btn:focus-visible { opacity: 1; pointer-events: auto; }
    #ns-planes[data-ns-es-dock-one-menu] .ns-one-menu-btn:focus-visible { outline: 2px solid var(--ns-gold); outline-offset: 2px; }

    #ns-planes[data-ns-es-dock-one-menu] .ns-bar { position: absolute; top: calc(var(--ns-panebar-h) + 58px); right: 10px; left: auto; bottom: auto; z-index: 58; 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) - 70px); 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, .5); }
    #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, #ns-planes[data-ns-es-dock-one-menu] .ns-bar .ns-bar-slot button { display: flex; flex: none; flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; min-width: 0; min-height: 44px; width: 100%; height: auto; padding: 8px 10px; border-radius: 8px; background: none; color: var(--ns-text); font-size: 14px; letter-spacing: .02em; text-transform: none; text-align: left; }
    #ns-planes[data-ns-es-dock-one-menu] .ns-bar button[hidden] { display: none; }
    #ns-planes[data-ns-es-dock-one-menu] .ns-bar .ns-bar-slot { display: block; }
    #ns-planes[data-ns-es-dock-one-menu] .ns-bar button span { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; }
    #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); }
    /* the menus the rows open (reach, host, volume) 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; }

    /* the phone sliver (96 px): the ☰ sits at its right edge, the panel opens upward over the page */
    #ns-planes[data-ns-es-dock-one-menu].ns-host-sliver .ns-one-menu-btn { top: 26px; right: 10px; }
    #ns-planes[data-ns-es-dock-one-menu].ns-host-sliver .ns-bar { position: fixed; top: auto; bottom: 104px; right: 10px; }
    #ns-planes[data-ns-es-dock-one-menu][data-invest-phone-starts-sliver].ns-host-sliver .ns-invite:not([hidden]),
    #ns-planes[data-ns-es-dock-one-menu][data-invest-phone-starts-sliver].ns-host-sliver .inv-host-note { right: 62px; }
}

@media (max-width: 1024px) and (hover: none) {
    #ns-planes[data-ns-es-dock-one-menu] .ns-one-menu-btn { opacity: 1; pointer-events: auto; }
}

@media (prefers-reduced-motion: reduce) {
    #ns-planes[data-ns-es-dock-one-menu] .ns-one-menu-btn { transition: none; }
}
