/* closed popup must stay hidden — never paint without showModal (2026-11-09 ghost-panel guard) */
dialog.mv-full.mv-pop:not([open]) { display: none !important; }
/* /menu viewer (MENU-FILES-SPEC.md, Django 2026-11-04): the designed menu files as images; no item/price HTML. */
.mv { padding: var(--space-5) 0 var(--space-7); }
.mv .wrap { max-width: calc(820px + 2 * var(--space-4)); }
.mv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-4); margin-bottom: var(--space-4); }
.mv-head h1 { margin: 0; }
.mv-hours { margin: 0; width: 100%; color: var(--color-muted); }
.mv-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-5); padding: 0; list-style: none; }
@media (min-width: 64rem) { .mv-tabs + .mv-menu { padding-top: 22px; } }   /* logos-menu2: desktop tabs-to-"Food" gap halved (91 -> ~46px; the section's own top padding was most of it) */
.mv-tabs a, .mv-dl { min-height: 48px; display: inline-flex; align-items: center; }
.mv-menu { margin: 0 0 var(--space-7); scroll-margin-top: var(--space-4); }
.mv-menu h2 { margin: 0 0 var(--space-3); }
.mv-open { display: block; line-height: 0; }
.mv-open img { display: block; width: 100%; height: auto; background: var(--color-surface); }
.mv-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-top: var(--space-2); }
.mv-cap p { margin: 0; color: var(--color-muted); }
.mv-dl { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mv-text { margin-top: var(--space-3); }
.mv-text summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; }
.mv-text pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: var(--step--1, 0.875rem); }
.mv-bar { display: none; }
@media (max-width: 63.99rem) {
  .mv .wrap { padding-left: 8px; padding-right: 8px; }
  .mv-head .btn { display: none; }
  .mv-bar { display: flex; position: sticky; bottom: 0; z-index: 30; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--color-bg); border-top: var(--border-width, 1px) solid var(--color-line); }
  .mv-bar .btn { flex: 1; min-height: 48px; }
}
/* logos-menu2: full-size view is an overlay with a >= 48px close control; browser back also closes it (history entry). */
.mv-full { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #111; color: #fff; overflow: auto; overscroll-behavior: contain; }
.mv-full::backdrop { background: rgba(0,0,0,0.85); }
.mv-full-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; background: rgba(17,17,17,0.92); }
.mv-full-bar p { margin: 0; font-size: 0.9375rem; }
.mv-close { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 56px; min-height: 56px; padding: 0 18px; border: 2px solid #fff; border-radius: 999px; background: #fff; color: #111; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.mv-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mv-full img { display: block; width: 100%; max-width: 2400px; height: auto; margin: 0 auto; touch-action: pan-x pan-y pinch-zoom; }
/* menu-popup (2026-11-05): the home page's View menu overlay reuses .mv-full; Food/Drinks switches sit in its top bar. */
/* Caelan 11:10 AM: stays inside the site window (a centred panel over the dimmed page) with a calm entrance. */
.mv-full.mv-pop { inset: 0; margin: auto; width: min(1100px, calc(100vw - 32px)); height: calc(100dvh - 32px); max-height: calc(100dvh - 32px); border-radius: 14px; box-shadow: 0 24px 64px rgba(0,0,0,0.5); }
.mv-pop::backdrop { position: fixed; inset: 0; width: 100%; height: 100%; background: #000; }
@media (max-width: 47.99rem) { .mv-full.mv-pop { width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; } }
html:has(.mv-pop[open]) { overflow: hidden; }
@keyframes mv-pop-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes mv-pop-fade { from { opacity: 0; } to { opacity: 1; } }
.mv-pop[open] { animation: mv-pop-in 260ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.mv-pop[open]::backdrop { animation: mv-pop-fade 260ms ease-out; }
@media (prefers-reduced-motion: reduce) { .mv-pop[open], .mv-pop[open]::backdrop { animation: none; } }
.mv-pop .mv-full-bar { flex-wrap: wrap; }
.mv-pop-tabs { display: flex; gap: 8px; }
.mv-pop-tab { min-height: 56px; min-width: 56px; padding: 0 20px; border: 2px solid #fff; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.mv-pop-tab[aria-pressed="true"] { background: #fff; color: #111; }
.mv-pop-tab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mv-pop-pg { margin: 0 auto; max-width: 1100px; }
.mv-pop-pg[hidden] { display: none; }
.mv-pop-pg figcaption { padding: 12px 16px 24px; text-align: center; }
.mv-pop-dl { display: inline-flex; align-items: center; min-height: 48px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media print { .mv-full, .mv-bar, .mv-tabs, .site-header, .door-footer, .mv-text { display: none; } }

/* mamasu popup-fit (Caelan t1095u 2026-11-09): panel hugs the menu (no empty black below), full-viewport dark backdrop,
   desktop fit-whole default + Zoom to read / Fit whole page, View full size (2400) on every size. Teton Thai / Zoo Thai pattern. */
.mv-full.mv-pop { height: fit-content; max-height: calc(100dvh - 32px); }
@media (max-width: 47.99rem) { .mv-full.mv-pop { height: fit-content; max-height: calc(100dvh - 16px); } }
.mv-pop-pg figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; }
.mv-pop-zoom { display: none; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; padding: 0 16px; border: 2px solid #fff; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.mv-pop-zoom[aria-pressed="true"] { background: #fff; color: #111; }
.mv-pop-zoom:focus-visible, .mv-pop-fullbtn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mv-pop-fullbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; padding: 0 20px; border: 2px solid #fff; border-radius: 999px; background: #fff; color: #111; font: inherit; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
@media (max-width: 47.99rem) { .mv-pop-pg figcaption { flex-direction: column; gap: 10px; padding: 16px 16px 28px; } }
@media (min-width: 64rem) {
  .mv-pop-zoom { display: inline-flex; }
  /* bar (72) + caption (84) + slack; image is 1700x1314 */
  .mv-full.mv-pop { --mv-chrome: 164px; --mv-fit-w: min(1100px, calc(100vw - 32px), calc((100dvh - 32px - var(--mv-chrome)) * 1700 / 1314)); }
  /* IMPORTANT: display:flex only when [open] — bare flex overrides UA display:none on a closed <dialog> (ghost panel bug). */
  .mv-full.mv-pop[open] { display: flex; flex-direction: column; overflow: hidden; width: fit-content; min-width: min(620px, calc(100vw - 32px)); max-width: calc(100vw - 32px); }
  .mv-full.mv-pop > .mv-full-bar { flex: 0 0 auto; flex-wrap: nowrap; }
  .mv-pop-tabs { margin-right: auto; }
  .mv-full.mv-pop > .mv-pop-pg { flex: 0 1 auto; min-height: 0; width: 100%; max-width: none; overflow: hidden; }
  .mv-full.mv-pop > .mv-pop-pg[hidden] { display: none; }
  .mv-full.mv-pop > .mv-pop-pg picture { display: block; }
  .mv-full.mv-pop > .mv-pop-pg img { width: var(--mv-fit-w); max-width: 100%; height: auto; margin: 0 auto; cursor: zoom-in; }
  /* Zoomed: the earlier full-width (≤1100px) read, vertical scroll inside the panel */
  .mv-full.mv-pop.mv-pop--zoomed { width: min(1100px, calc(100vw - 32px)); }
  .mv-full.mv-pop.mv-pop--zoomed > .mv-pop-pg { overflow: auto; overscroll-behavior: contain; }
  .mv-full.mv-pop.mv-pop--zoomed > .mv-pop-pg img { width: 100%; cursor: zoom-out; }
}
