* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; }
.wrap {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 440px;
  margin: 0 auto;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.top { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; }
.top img { width: 34px; height: 34px; border-radius: 10px; object-fit: contain; background: #fff; }
.cafe { font-weight: 700; font-size: 16px; }
.sheet { background: var(--card); color: var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 0 24px 50px -24px var(--shadow); }
.pager { --hero: var(--accent); --hero-ink: var(--accent-ink); background: var(--hero); color: var(--hero-ink); padding: 20px 20px 34px; text-align: center; position: relative; transition: background .3s; }
.pager::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 12px;
  background: radial-gradient(circle at 8px 12px, var(--card) 7px, transparent 7.5px) 0 0 / 16px 12px repeat-x; }
.hero-label { margin: 18px 0 0; font-size: 16px; opacity: .8; font-weight: 600; }
.tk { margin-top: 4px; }
.tk .num { display: block; font-size: clamp(48px, calc((min(100vw, 440px) - 100px) / (var(--n, 3) * .64)), 128px); font-weight: 800; line-height: 1.1; direction: ltr; font-variant-numeric: tabular-nums; }
.pager.done { filter: grayscale(.85); padding: 14px 20px 26px; }
/* collected: the big number is no longer the point — a small pill keeps the thank-you content high */
.pager.done .hero-label { display: none; }
.pager.done .tk { margin-top: 10px; }
.pager.done .tk .num { display: inline-block; font-size: 20px; font-weight: 700; line-height: 1; padding: 8px 18px; border-radius: 999px; background: color-mix(in srgb, var(--hero-ink) 12%, transparent); }
.pager.done .tk .num::before { content: '#'; opacity: .6; margin-inline-end: 2px; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---- ready: full green screen, number in a white disc ---- */
.sheet:has(.pager.ringing) { background: var(--ready); color: var(--night); }
.pager.ringing { background: transparent !important; color: var(--night) !important; padding-bottom: 8px; }
.pager.ringing::after, .pager.ringing .hero-label { display: none; }
.pager.ringing .tk { width: min(62vw, 230px); aspect-ratio: 1; margin: 26px auto 10px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--night); animation: ringpulse 1.1s ease-out infinite; }
.pager.ringing .tk .num { font-size: clamp(40px, calc(min(62vw, 230px) / (var(--n, 3) * .64 + .5)), 104px); }
@keyframes ringpulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.65); } 100% { box-shadow: 0 0 0 28px rgba(255,255,255,0); } }
.sheet:has(.pager.ringing) .panel { color: var(--night); }
.sheet:has(.pager.ringing) .sub { color: var(--night); opacity: .8; }
.sheet:has(.pager.ringing) .title { font-size: 34px; font-weight: 800; }
.sheet:has(.pager.ringing) .btn { background: var(--night); color: #fff; }
.btn.link { background: transparent; color: inherit; text-decoration: underline; font-weight: 600; font-size: 15px; padding: 8px; }
@media (prefers-reduced-motion: reduce) { .pager.ringing .tk { animation: none; } }


/* ---- panel ---- */
.panel { padding: 22px 20px 24px; text-align: center; }
.title { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.sub { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.sub:empty { display: none; }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.actions:empty { display: none; }
.btn {
  appearance: none; border: 0; border-radius: 14px; padding: 15px 18px;
  font-size: 17px; font-weight: 700; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  transition: transform .12s ease, opacity .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.ghost { background: transparent; color: color-mix(in srgb, var(--ink) 72%, var(--bg)); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.btn.ok { background: var(--ready); color: var(--ready-ink); }
.btn svg { width: 20px; height: 20px; }
.ios-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; text-align: right; }
.ios-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.6; }
.ios-steps small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.ios-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--link); }
.ios-ic svg { width: 22px; height: 22px; }
.ios-ic img { width: 30px; height: 30px; border-radius: 8px; }
.ios-arrow { position: fixed; left: 50%; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 40; width: 48px; height: 48px; margin-left: -24px;
  border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px var(--shadow);
  pointer-events: none; animation: ios-nudge 1.3s ease-in-out infinite; }
.ios-arrow svg { width: 26px; height: 26px; }
.ios-arrow.up { bottom: auto; top: calc(8px + env(safe-area-inset-top)); }
.ios-arrow.up svg { transform: rotate(180deg); }
@keyframes ios-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
.ios-arrow.up { animation-name: ios-nudge-up; }
@keyframes ios-nudge-up { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .ios-arrow { animation: none; } }
.install-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 16px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 28px var(--shadow); }
.install-bar .ios-ic { flex: none; }
body.has-a2hs { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.install-bar img { width: 40px; height: 40px; border-radius: 10px; }
.install-txt { flex: 1; display: flex; flex-direction: column; text-align: right; line-height: 1.4; }
.install-txt small { color: var(--muted); font-size: 12px; }
.install-go { border: 0; border-radius: 12px; padding: 10px 16px; font: inherit; font-weight: 700; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.install-x { border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; }
.safari-alert { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; text-align: center;
  border: 2px solid var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); }
.safari-alert b { font-size: 19px; color: var(--amber); }
.safari-alert span, .safari-alert small { font-size: 14px; line-height: 1.6; }
.safari-alert a.btn { text-decoration: none; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); margin: 14px auto 0; }
.chip.warn { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }

.steps { text-align: right; margin: 14px 0 0; padding: 0 22px 0 0; line-height: 2; font-size: 15px; }
.ic { width: 18px; height: 18px; vertical-align: -3px; color: var(--link); }
.note { margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--bg); font-size: 14px; color: var(--muted); line-height: 1.7; text-align: right; }
.note b { color: var(--ink); }

.sheet { display: flex; flex-direction: column; min-height: calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
.panel { flex: 1; display: flex; flex-direction: column; }
.foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; }
.foot img { width: 22px; height: 22px; border-radius: 6px; }

/* ---- entry: "what is your bill number?" ---- */
.hero-entry { display: none; }
.pager.entry { text-align: start; padding: 18px 26px 44px; }
.pager.entry .top { justify-content: flex-start; }
.pager.entry .tk, .pager.entry .hero-label { display: none; }
.pager.entry .hero-entry { display: block; margin-top: 26px; }
.hero-entry h1 { margin: 0 0 8px; font-size: clamp(34px, 11vw, 46px); font-weight: 800; line-height: 1.2; }
.hero-entry p { margin: 0; font-size: 18px; opacity: .75; }
.sheet:has(.pager.entry) .panel > .title, .sheet:has(.pager.entry) .panel > .sub { display: none; }
.sheet:has(.pager.entry) .panel { padding: 22px 28px 20px; }
.sheet:has(.pager.entry) .btn { background: var(--night); color: #fff; width: 100%; padding: 20px; font-size: 20px; border-radius: 20px; }
.inv-input { display: block; width: 100%; border: 0; border-bottom: 5px solid var(--night); border-radius: 0; background: transparent; color: var(--night); text-align: center; direction: ltr; font: inherit; font-size: clamp(84px, 28vw, 118px); font-weight: 800; line-height: 1.2; padding: 10px 0 4px; outline: 0; font-variant-numeric: tabular-nums; }
.inv-input::placeholder { color: color-mix(in srgb, var(--night) 16%, transparent); }
.inv-hint { margin: 12px 0 0; color: var(--called); font-weight: 600; text-align: center; min-height: 1.6em; }
.entry-note { margin: 16px 0 0; color: var(--muted); text-align: center; font-size: 16px; }
@media (prefers-color-scheme: dark) { .inv-input { color: var(--ink); border-bottom-color: var(--ink); } .inv-input::placeholder { color: color-mix(in srgb, var(--ink) 18%, transparent); } .sheet:has(.pager.entry) .btn { background: var(--accent); color: var(--accent-ink); } }

/* ---- app: other active orders ---- */
.others { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.others:empty { display: none; }
.mini {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink);
}
.mini.sel { border-color: var(--ink); }
.mini .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); }
.mini.ready .dot { box-shadow: 0 0 0 3px var(--accent); }
.mini b { font-variant-numeric: tabular-nums; }
.mini small { color: var(--muted); }

/* ---- app: code entry ---- */
.code-row { display: flex; gap: 8px; margin-top: 4px; }
.code-row input {
  flex: 1; min-width: 0; text-align: center; font-size: 24px; letter-spacing: 6px; direction: ltr;
  padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.code-row .btn { padding: 10px 16px; font-size: 15px; }
.err { color: var(--red); font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.err:empty { display: none; }

/* ---- app: scanner ---- */
.scanner { position: fixed; inset: 0; background: #000; z-index: 50; display: flex; flex-direction: column; }
.scanner video { flex: 1; width: 100%; object-fit: cover; min-height: 0; }
.scanner .frame {
  position: absolute; left: 50%; top: 45%; width: min(70vw, 280px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 24px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); outline: 3px solid rgba(255,255,255,.9);
}
.scanner .bar {
  position: absolute; inset: auto 0 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 10px; align-items: center; color: #fff; text-align: center;
}
.scanner .bar p { margin: 0; font-size: 15px; }
.scanner .btn.ghost { color: #fff; border-color: rgba(255,255,255,.4); width: 100%; max-width: 360px; }

/* ---- end-of-order button (café's own link) ---- */
.btn.cta { text-decoration: none; width: 100%; }
.cta-icon { display: inline-flex; }
.cta-icon svg { width: 22px; height: 22px; }

/* ---- queue progress (waiting screen) ---- */
.queue-box { margin-bottom: 18px; padding: 16px; border-radius: 18px; background: var(--bg); text-align: center; }
.queue-ahead { font-size: 28px; font-weight: 800; line-height: 1.3; }
.queue-ahead.next { color: var(--ok); }
.queue-last { margin-top: 6px; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }

/* ---- café social icons (end screen, menu page) ---- */
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); border: 1px solid var(--line); text-decoration: none; transition: transform .12s ease; }
.social-ic:active { transform: scale(.94); }
.social-ic svg { width: 22px; height: 22px; }
.btn.menu-link { text-decoration: none; }
/* one quiet row: menu + social icons together */
.end-more { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.end-more .btn.menu-link { width: auto; flex: 1 1 140px; }
.end-more .social-row { flex: 0 1 auto; gap: 8px; }
.end-more .social-ic { width: 44px; height: 44px; }
.end-more:has(> .social-row:only-child) .social-ic { width: 48px; height: 48px; }

/* ---- offers: bell, sheet, opt-in card ---- */
.bell { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: color-mix(in srgb, var(--hero-ink) 12%, transparent); color: var(--hero-ink); }
.bell svg { width: 22px; height: 22px; }
.bell-badge { position: absolute; top: -3px; inset-inline-start: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.pager.ringing .bell { color: var(--night); background: rgba(255,255,255,.35); }
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: var(--scrim); }
.offers-sheet { position: fixed; inset-inline: 0; bottom: 0; z-index: 61; max-width: 440px; margin: 0 auto; max-height: 82vh; overflow-y: auto; background: var(--card); color: var(--ink);
  border-radius: 24px 24px 0 0; padding: 18px 18px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px -10px var(--shadow); animation: sheet-in .22s ease; text-align: right; }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .offers-sheet { animation: none; } }
.offers-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.offers-head h2 { margin: 0; font-size: 20px; }
.offers-x { border: 0; background: var(--bg); color: var(--muted); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.offers-body { display: flex; flex-direction: column; gap: 12px; }
.offer { border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.offer-cafe { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.offer-cafe img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: #fff; }
.offer-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); }
.offer h3 { margin: 2px 0 0; font-size: 18px; }
.offer p { margin: 0; line-height: 1.7; color: var(--ink); }
.offer-ends { color: var(--amber); font-weight: 600; }
.offer-stop { align-self: flex-start; border: 0; background: transparent; color: var(--muted); text-decoration: underline; font: inherit; font-size: 13px; padding: 4px 0; cursor: pointer; }
.offers-empty { margin: 0; color: var(--muted); line-height: 1.7; text-align: center; padding: 10px 0; }
.offers-following { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; border-top: 1px solid var(--line); }
.offers-following small { color: var(--muted); }
.offers-follow-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.follow-slot:empty { display: none; }
/* one compact row for the offers opt-in and the install ask */
.offer-banner { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); text-align: start; }
.offer-banner-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.offer-banner-ic svg { width: 20px; height: 20px; }
.offer-banner-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.offer-banner-txt b { font-size: 15px; line-height: 1.4; }
.offer-banner-txt small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.offer-banner-act { display: flex; align-items: center; gap: 4px; }
.offer-banner .btn.sm { width: auto; padding: 9px 18px; font-size: 15px; border-radius: 12px; background: var(--ink); color: var(--bg); }
.offer-banner-x { border: 0; background: transparent; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.offer-banner.done { background: color-mix(in srgb, var(--ok) 10%, var(--bg)); }
.offer-banner.install-card { flex-wrap: wrap; }
.offer-banner.install-card > :last-child:not(.offer-banner-act):not(.offer-banner-txt) { flex-basis: 100%; }


/* ---- digital menu page (/c/:slug/menu) ---- */
.menu-head { padding-bottom: 30px; }
.menu-head .top { min-height: 44px; }
.menu-head .top img { width: 44px; height: 44px; }
.menu-head h1 { margin: 14px 0 0; font-size: 30px; font-weight: 800; }
.menu-sticky { position: sticky; top: 0; z-index: 3; background: var(--card); border-bottom: 1px solid var(--line); }
.menu-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; }
.menu-chips:empty { display: none; }
.menu-sticky:has(> .menu-pages[hidden]):has(> .menu-chips:empty) { display: none; }
.menu-chip { flex: none; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.menu-chip.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.menu-body { padding: 8px 16px 0; text-align: right; }
.menu-sec { scroll-margin-top: 64px; padding-top: 14px; }
.menu-sec h2 { margin: 0 0 10px; font-size: 20px; }
.menu-items { display: flex; flex-direction: column; gap: 10px; }
.menu-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--menu-radius, 18px); background: var(--card); }
.menu-item img { width: 84px; height: 84px; flex: none; border-radius: calc(var(--menu-radius, 18px) * .8); object-fit: cover; background: var(--bg); }
.menu-item-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.menu-item-txt b { font-size: 17px; }
.menu-item-txt p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.menu-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.menu-item.off { opacity: .6; }
.menu-off { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
.menu-social { padding: 20px 16px 0; }
.menu-empty { color: var(--muted); text-align: center; padding: 30px 10px; line-height: 1.8; }

/* ---- menu page: back to my order ---- */
.menu-back { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; }
.menu-back a { color: inherit; text-decoration: none; font-weight: 700; }
.menu-back-st { cursor: default; }
.menu-back.ready { background: var(--ready); color: var(--ready-ink); }
.menu-back.ready .menu-back-st { font-weight: 800; cursor: pointer; text-decoration: underline; }
.has-back .menu-sticky { top: 41px; }
.has-back .menu-sec { scroll-margin-top: 105px; }
.has-tabs .menu-sec { scroll-margin-top: 112px; }
.has-back.has-tabs .menu-sec { scroll-margin-top: 150px; }
.offers-head { cursor: grab; }
.offers-head::before { content: ''; position: absolute; top: 8px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 2px; background: var(--line); }
.offers-sheet { padding-top: 24px; }
.offers-head { position: relative; }

/* iPhone install: share button + short steps; extras behind a disclosure */
.btn.ios-share { margin-top: 16px; width: 100%; gap: 8px; }
.ios-steps .en, .ios-tip .en, .ios-help .en { font-size: 12px; color: var(--muted); white-space: nowrap; }
.ios-tip { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; text-align: right; font-size: 14px; line-height: 1.7;
  border: 1.5px solid var(--amber); background: color-mix(in srgb, var(--amber) 10%, transparent); }
.ios-tip b { color: var(--amber); }
.ios-help { margin-top: 14px; text-align: right; font-size: 14px; color: var(--muted); }
.ios-help summary { cursor: pointer; padding: 6px 0; font-weight: 600; }
.ios-help p { margin: 4px 0 0; line-height: 1.7; }
.ios-help b { color: var(--ink); }
.offers-sheet .ios-steps { margin-top: 4px; }

/* ---- designed menus (a café's own look: fonts, colours, background, pages, artwork) ---- */
.menu-art-top { display: block; width: 100%; max-height: 210px; object-fit: contain; margin: 0 auto 6px; }
.menu-wordmark { display: block; max-width: min(78%, 300px); max-height: 120px; object-fit: contain; margin: 10px auto 0; }
.menu-art-bottom { display: block; max-width: min(78%, 320px); max-height: 280px; object-fit: contain; margin: 22px auto 0; }
.menu-pages { display: flex; gap: 6px; padding: 10px 16px 0; overflow-x: auto; scrollbar-width: none; }
.menu-page-tab { flex: 1 0 auto; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 16px; padding: 8px 14px; cursor: pointer; }
.menu-page-tab.sel { color: var(--ink); border-bottom-color: var(--accent); }
.themed { color: var(--ink); font-family: var(--menu-font); }
.themed h1, .themed h2, .themed .menu-page-tab { font-family: var(--menu-head-font); }
.themed .sheet { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; min-height: 0; }
.themed .menu-head { background: transparent !important; color: var(--ink) !important; padding: 6px 0 16px; border-bottom: 2px solid var(--accent); filter: none; }
.themed .menu-head::after { display: none; }
.themed .menu-head h1 { font-weight: 800; }
.themed .menu-sticky { background: var(--bg); border-bottom-color: var(--line); }
.themed .menu-chip { background: transparent; border-color: var(--line); font-family: var(--menu-font); }
.themed .menu-chip.sel { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.themed .menu-sec h2 { color: var(--ink); }
.hs-underline .menu-sec h2::after, .hs-brush .menu-sec h2::after { content: ''; display: block; height: 4px; width: 62%; margin-top: 4px; background: var(--accent); border-radius: 2px; }
.hs-brush .menu-sec h2::after { height: 6px; border-radius: 60% 30% 55% 25% / 100% 100% 40% 40%; transform: rotate(-1.2deg); }
.themed .panel { padding-top: 10px; }
.themed .foot, .themed .menu-empty { color: var(--muted); }
/* "name (note) ───── price" rows, like a printed menu */
.l-leader .menu-items { gap: 2px; }
.leader-row { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border: 0; border-radius: 0; background: transparent; flex-wrap: wrap; }
.leader-row b { font-size: 17px; font-weight: 600; }
.leader-row .menu-note { color: var(--muted); font-size: 14px; }
.leader-row .leader-line { flex: 1; min-width: 18px; align-self: center; border-bottom: 1px solid var(--accent); opacity: .75; }
.leader-row .menu-price { font-size: 17px; }
/* photo cards in two columns */
.l-grid .menu-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.l-grid .menu-item { flex-direction: column; padding: 0; overflow: hidden; }
.l-grid .menu-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.l-grid .menu-item-txt { padding: 10px 12px 12px; }
@media (min-width: 720px) {
  .themed.cols .wrap { max-width: 980px; }
  .themed.cols .menu-body { column-count: 3; column-gap: 32px; column-rule: 1px solid var(--line); }
  .themed.cols .menu-sec { break-inside: avoid; }
}
