/* The exit tab GM mode v2d and the player's hybrid view share (ui/side-panel.js). The only control on the map:
   a small tab at the top; a tap slides Home and Settings down over the top of the map, a second tap tucks them away. */
.hx-exit { position: absolute; left: 0; right: 0; top: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.hx-exit > * { pointer-events: auto; }
.hx-exit *, .hx-exit *::before { box-sizing: border-box; }
.hx-tab { position: relative; width: 56px; height: 26px; margin-top: calc(4px + var(--hearth-safe-top, 0px)); padding: 0; border-radius: 0 0 14px 14px; border: 1px solid var(--c-umber-28); border-top: 0;
  background: rgb(from var(--c-night-07-b) r g b / 0.88); color: var(--c-gold-65); display: flex; align-items: center; justify-content: center; }
.hx-exit.open .hx-tab { margin-top: 0; }
.hx-tab::before { content: ""; position: absolute; inset: -10px -4px; } /* 44 dp to the finger */
.hx-tab svg { width: 16px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.hx-tab.open svg { transform: rotate(180deg); }
.hx-exitbar { display: flex; gap: 8px; width: 100%; padding: calc(8px + var(--hearth-safe-top, 0px)) 10px 8px; background: rgb(from var(--c-night-07) r g b / 0.94); border-bottom: 1px solid var(--c-umber-18); }
.hx-exitbar button { min-height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 Roboto, system-ui, sans-serif; }
.hx-exitbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hx-home { border: 1px solid var(--c-gold-79); background: linear-gradient(var(--c-gold-76-b), var(--c-gold-57)); color: var(--c-umber-07); }
.hx-set { border: 1px solid var(--c-gold-47-b); background: var(--c-night-07); color: var(--c-ink-88); }
html:root[data-palette][data-palette][data-palette] body .hx-home[class] { background: linear-gradient(var(--c-gold-76-b), var(--c-gold-57)) !important; color: var(--c-umber-07) !important; border-color: var(--c-gold-79) !important; }
@media (prefers-reduced-motion: reduce) { .hx-tab svg { transition: none; } }
