/* Layout: a wall of arched niches. By night they glow with lamplight behind the café's own
   mashrabiya lattice; by day the same lattice is turquoise wood and throws sun-shadow on white plaster.
   Mode lives on <html data-mode="night|day">; every colour below comes from these tokens. */
:root {
  color-scheme: dark;
  /* surfaces */
  --bg: #120d09;
  --bg-raise: #1b140f;
  --bg-reveal: #261c15;
  --sheet-1: #22180f;
  --sheet-2: #170f0a;
  --rail-bg: rgba(18, 13, 9, .98);
  --rail-fade: rgba(18, 13, 9, 0);
  --scrim: rgba(8, 5, 3, .66);
  --shadow: rgba(0, 0, 0, .8);
  /* text */
  --ink: #f4e7cf;
  --ink-2: #c3b093;
  --ink-3: #95826a;
  /* accents */
  --accent: #dcaa62;          /* prices, plates, borders */
  --brand: #66bcc3;           /* logo teal: selection, links */
  --brand-ink: #0b2326;
  --brand-soft: rgba(102, 188, 195, .16);
  --chip-on: #bfeef1;
  --line: rgba(244, 231, 207, .14);
  --line-2: rgba(220, 170, 98, .45);
  --line-3: rgba(220, 170, 98, .7);
  --btn-1: #ebc07a;
  --btn-2: #c98f3d;
  --btn-ink: #1d130b;
  --btn-glow: rgba(255, 170, 70, .6);
  --plate-1: #33251a;
  --plate-2: #1f1711;
  --add-1: #3a2a1c;
  --add-2: #20170f;
  --sadu: #9e2c22;
  --sadu-ink: #fff4e6;
  --err-ink: #ffb4a6;
  /* lit niche + glow */
  --niche-1: #fff6e3;
  --niche-2: #f3d9a6;
  --niche-3: #dfb06a;
  --niche-edge: rgba(255, 220, 160, .7);
  --niche-ledge-1: rgba(120, 66, 22, .18);
  --niche-ledge-2: rgba(90, 48, 14, .34);
  --niche-ground: rgba(70, 34, 8, .42);
  --glow: rgba(255, 170, 70, .26);
  --glow-strong: rgba(255, 175, 80, .5);
  --halo: radial-gradient(140% 50% at 50% 0%, rgba(255, 185, 100, .10), transparent 60%);
  /* lattice screen */
  --wood-1: #5b3c22;
  --wood-2: #2b1d13;
  --behind-1: rgba(255, 214, 140, .95);
  --behind-2: rgba(255, 168, 70, .55);
  --behind-3: rgba(120, 60, 20, .25);
  --behind-base: #3a2414;
  --art-ink: #2a1a10;
  --art-teal: #4fa3ab;
  --brick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='56'%3E%3Cg fill='none' stroke='%23ffe3b8' stroke-opacity='.05'%3E%3Cpath d='M0 .5H96M0 28.5H96M.5 0V28M48.5 28V56'/%3E%3C/g%3E%3C/svg%3E");
  --pano-bg: #f3efe6;

  --f-display: "Reem Kufi", "IBM Plex Sans Arabic", "Noto Kufi Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --arch: 50% 50% 12px 12px / 40% 40% 12px 12px;
  --gutter: 16px;
}

/* ---------- day: logo sky-teal on white plaster ---------- */
:root[data-mode="day"] {
  color-scheme: light;
  --bg: #f7f6f1;
  --bg-raise: #ffffff;
  --bg-reveal: #e3eff0;
  --sheet-1: #ffffff;
  --sheet-2: #f7f6f1;
  --rail-bg: rgba(247, 246, 241, .97);
  --rail-fade: rgba(247, 246, 241, 0);
  --scrim: rgba(19, 58, 63, .32);
  --shadow: rgba(19, 58, 63, .22);
  --ink: #143a3f;
  --ink-2: #47676a;
  --ink-3: #6f898b;
  --accent: #9a6532;
  --brand: #2c8c95;
  --brand-ink: #ffffff;
  --brand-soft: rgba(44, 140, 149, .11);
  --chip-on: #1d6b73;
  --line: rgba(20, 58, 63, .12);
  --line-2: rgba(44, 140, 149, .38);
  --line-3: rgba(44, 140, 149, .6);
  --btn-1: #5fbcc5;
  --btn-2: #2c8c95;
  --btn-ink: #ffffff;
  --btn-glow: rgba(44, 140, 149, .45);
  --plate-1: #ffffff;
  --plate-2: #eef6f6;
  --add-1: #ffffff;
  --add-2: #e9f4f5;
  --err-ink: #8a2318;
  --niche-1: #ffffff;
  --niche-2: #f2f8f8;
  --niche-3: #d4eaec;
  --niche-edge: rgba(81, 168, 177, .5);
  --niche-ledge-1: rgba(81, 168, 177, .08);
  --niche-ledge-2: rgba(81, 168, 177, .2);
  --niche-ground: rgba(20, 70, 76, .26);
  --glow: rgba(81, 168, 177, .2);
  --glow-strong: rgba(81, 168, 177, .42);
  --halo: radial-gradient(140% 50% at 50% 0%, rgba(140, 210, 216, .28), transparent 60%);
  --wood-1: #4aa6af;
  --wood-2: #2b7d86;
  --behind-1: rgba(255, 255, 255, 1);
  --behind-2: rgba(226, 244, 245, .95);
  --behind-3: rgba(176, 220, 224, .7);
  --behind-base: #9fd0d5;
  --brick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='56'%3E%3Cg fill='none' stroke='%232c8c95' stroke-opacity='.07'%3E%3Cpath d='M0 .5H96M0 28.5H96M.5 0V28M48.5 28V56'/%3E%3C/g%3E%3C/svg%3E");
  --pano-bg: #f3efe6;
}

* { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--ink); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
#root { min-height: 100%; }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.no-scroll { overflow: hidden; }

/* theme swap: a circle of the new light grows from the sun/moon button */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

.menu-view {
  position: relative;
  min-height: 100vh;
  padding-bottom: 120px;
  background: var(--halo), var(--brick), var(--bg);
  transform-origin: 50% 30vh;
}
/* by day the lattice throws its shadow across the top of the page */
.menu-view::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 760px;
  pointer-events: none;
  opacity: 0;
  background: var(--wood-2);
  -webkit-mask: var(--lattice) 0 0 / 230px auto repeat, linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-composite: source-in;
  mask: var(--lattice) 0 0 / 230px auto repeat, linear-gradient(180deg, #000, transparent 85%);
  mask-composite: intersect;
  transform: skewY(-8deg) translateY(-60px);
  transform-origin: 0 0;
}
:root[data-mode="day"] .menu-view::before { opacity: .07; }

/* ---------- top bar ---------- */
.top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 6px;
}
.top-logo { background: none; border: 0; padding: 0; width: 118px; flex: none; }
.top-logo svg { width: 100%; height: auto; display: block; }
.top-tools { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }

.plate {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 14px 7px;
  border-radius: 999px 999px 10px 10px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--plate-1), var(--plate-2));
  box-shadow: 0 6px 18px -8px var(--shadow);
  color: var(--ink);
}
.plate-k { font-size: 12px; color: var(--ink-2); }
.plate-n { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--accent); line-height: 1; }
.plate.pulse { animation: platePulse 1.4s var(--ease) 2; }
@keyframes platePulse { 50% { box-shadow: 0 0 0 6px var(--glow), 0 0 28px var(--glow-strong); } }

.track-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.track-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--brand-soft); }

/* sun / moon switch */
.mode {
  position: relative;
  width: 62px; height: 34px; flex: none;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #1c2340, #2c2a4a);
  overflow: hidden;
  transition: background .6s var(--ease), border-color .6s;
}
.mode::before { /* stars by night, a soft sky by day */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1.2px 1.2px at 14px 9px, #fff 99%, transparent),
    radial-gradient(1px 1px at 24px 22px, #fff 99%, transparent),
    radial-gradient(1.3px 1.3px at 10px 21px, #fff 99%, transparent),
    radial-gradient(1px 1px at 30px 12px, #fff 99%, transparent);
  opacity: .9;
  transition: opacity .5s ease;
}
.mode-knob {
  position: absolute; top: 3px; left: 3px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff7e0, #f1d79b);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 0 14px rgba(255, 220, 150, .45);
  transform: translateX(28px);
  transition: transform .6s var(--ease), background .6s;
}
.mode svg { width: 18px; height: 18px; position: absolute; transition: opacity .4s ease, transform .6s var(--ease); }
.mode .ico-moon { fill: #c9a24e; stroke: none; }
.mode .ico-sun { fill: none; stroke: #e39a1f; stroke-width: 1.8; stroke-linecap: round; opacity: 0; transform: rotate(-90deg) scale(.6); }
.mode .ico-sun circle { fill: #f6b632; stroke: none; }
:root[data-mode="day"] .mode { background: linear-gradient(180deg, #8fd4dc, #c9eef1); }
:root[data-mode="day"] .mode::before { opacity: 0; }
:root[data-mode="day"] .mode-knob { transform: translateX(0); background: radial-gradient(circle at 40% 35%, #fffef6, #fff1c9); box-shadow: 0 2px 8px rgba(19, 58, 63, .25), 0 0 16px rgba(255, 210, 90, .7); }
:root[data-mode="day"] .mode .ico-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
:root[data-mode="day"] .mode .ico-sun { opacity: 1; transform: none; }
[dir="rtl"] .mode-knob { left: 3px; }

/* ---------- backlit lattice screen (hero, item sheet) ---------- */
.screen { position: relative; overflow: hidden; }
.screen-light {
  position: absolute; inset: 0;
  background: radial-gradient(60% 75% at 50% 58%, var(--behind-1), var(--behind-2) 45%, var(--behind-3) 80%), var(--behind-base);
}
.screen-lattice {
  position: absolute; inset: -2px;
  background: linear-gradient(180deg, var(--wood-1), var(--wood-2));
  -webkit-mask: var(--lattice) center top / 148px auto repeat;
  mask: var(--lattice) center top / 148px auto repeat;
}
.arch-window {
  position: absolute;
  left: 50%;
  bottom: 0;
  margin: 0;
  transform: translateX(-50%);
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: var(--arch);
  overflow: hidden;
  background: radial-gradient(90% 70% at 50% 38%, var(--niche-1), var(--niche-2) 62%, var(--niche-3));
  box-shadow: 0 0 0 6px var(--bg-reveal), 0 0 0 7.5px var(--line-3), 0 0 60px 6px var(--glow-strong);
}

/* ---------- hero ---------- */
.hero { padding: 6px var(--gutter) 6px; display: grid; gap: 18px; }
.hero-screen {
  height: clamp(220px, 58vw, 340px);
  border-radius: 22px 22px 6px 6px;
  box-shadow: 0 30px 60px -30px var(--shadow);
}
.hero-window { width: min(56%, 250px); bottom: -2px; z-index: 1; }
.hero-window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-text { display: grid; gap: 6px; }
.eyebrow { font-size: 12.5px; color: var(--accent); }
.hero h1 { font-size: clamp(30px, 8.6vw, 44px); font-weight: 700; line-height: 1.15; }
.hero-sub { color: var(--ink-2); font-size: 15px; max-width: 34ch; }

/* ---------- category rail ---------- */
.rail {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  margin-top: 18px;
  background: linear-gradient(180deg, var(--rail-bg) calc(100% - 16px), var(--rail-fade));
  padding: 10px 0 18px;
}
.rail-in { position: relative; display: flex; gap: 6px; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.rail-in::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 74px;
  display: grid; justify-items: center; gap: 4px;
  background: none; border: 0; padding: 0;
  color: var(--ink-2);
  font-size: 13px; font-weight: 500;
}
.tab-arch {
  position: relative;
  width: 46px; height: 54px;
  display: grid; place-items: end center;
  padding-bottom: 6px;
  border-radius: var(--arch);
  border: 1.4px solid var(--line-2);
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s, color .4s;
}
.tab .ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-current="true"] { color: var(--ink); }
.tab[aria-current="true"] .tab-arch {
  color: var(--art-ink);
  border-color: var(--niche-edge);
  background: radial-gradient(90% 70% at 50% 38%, var(--niche-1), var(--niche-2) 62%, var(--niche-3));
  box-shadow: 0 0 22px 2px var(--glow-strong);
}
.tab-label { line-height: 1.2; }

/* ---------- sections ---------- */
.sections { padding: 0 var(--gutter); display: grid; gap: 34px; }
.sec { scroll-margin-top: 92px; display: grid; gap: 22px; }
.sec-head { display: grid; gap: 6px; position: relative; padding-top: 30px; }
.sec-head::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 18px;
  background: var(--accent);
  opacity: .32;
  -webkit-mask: var(--lattice) center / 70px auto repeat-x, linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-composite: source-in;
  mask: var(--lattice) center / 70px auto repeat-x, linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-composite: intersect;
}
:root[data-mode="day"] .sec-head::before { background: var(--brand); opacity: .4; }
.sec-title { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
.sec-head h2 { font-size: clamp(28px, 7.4vw, 38px); font-weight: 700; }
.sec-count { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.sec-note { color: var(--ink-2); font-size: 14.5px; max-width: 40ch; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; } }
@media (min-width: 980px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sections, .hero, .foot { max-width: 1100px; margin-inline: auto; }
}

/* ---------- item card ---------- */
.card { position: relative; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card-hit { position: absolute; inset: 0; z-index: 3; background: none; border: 0; border-radius: 14px; }
.niche {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: var(--arch);
  background: radial-gradient(90% 70% at 50% 38%, var(--niche-1), var(--niche-2) 62%, var(--niche-3));
  box-shadow:
    inset 0 0 0 1.5px var(--niche-edge),
    inset 0 -18px 26px -16px var(--niche-ledge-2),
    0 0 0 5px var(--bg-reveal),
    0 0 0 6px var(--line-2),
    0 0 36px 0 var(--glow);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.niche::after { /* ledge the item stands on */
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 9%;
  background: linear-gradient(180deg, var(--niche-ledge-1), var(--niche-ledge-2));
  border-top: 1px solid rgba(255, 255, 255, .55);
  pointer-events: none;
}
.niche::before { /* light sweep when the card arrives */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%);
  transform: translateX(-130%);
}
.drawing .niche::before { animation: sweep 1.3s .35s ease both; }
@keyframes sweep { to { transform: translateX(130%); } }
.ground { /* contact shadow under the photo */
  position: absolute; z-index: 1; left: 50%; bottom: 7%;
  width: 62%; height: 7%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--niche-ground), transparent);
  pointer-events: none;
}
.niche .art { position: relative; z-index: 1; width: 96%; height: auto; margin-bottom: 3%; overflow: visible; transition: transform .6s var(--ease); }
.niche .art-smoke { width: auto; height: 92%; }
.niche .art-sweet { width: 108%; margin-bottom: 1%; }
.photo { position: relative; z-index: 1; display: block; object-fit: contain; object-position: 50% 100%; transition: transform .6s var(--ease); }
.niche .photo { width: 100%; height: 100%; padding: 14% 7% 8%; }
.niche .photo.k-sweet { padding: 22% 2% 7%; }
.niche .photo.k-hookah { padding: 7% 10% 7%; }
.card:hover .niche, .card:focus-within .niche {
  box-shadow: inset 0 0 0 1.5px var(--niche-edge), inset 0 -18px 26px -16px var(--niche-ledge-2), 0 0 0 5px var(--bg-reveal), 0 0 0 6px var(--line-3), 0 0 46px 4px var(--glow-strong);
}
.card:hover .art, .card:hover .photo { transform: translateY(-3px) scale(1.03); }
.card:active .niche { transform: scale(.98); }

.badge {
  position: absolute; z-index: 2; top: 30%; inset-inline-start: -2px;
  font-size: 11px; font-weight: 600; line-height: 1;
  color: var(--sadu-ink);
  padding: 6px 9px 6px 8px;
  border-radius: 0 6px 6px 0;
  background:
    linear-gradient(135deg, transparent 37%, rgba(255, 236, 200, .22) 37% 63%, transparent 63%) 0 0 / 8px 8px,
    linear-gradient(225deg, transparent 37%, rgba(0, 0, 0, .18) 37% 63%, transparent 63%) 0 0 / 8px 8px,
    var(--sadu);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .45);
}
[dir="rtl"] .badge { border-radius: 6px 0 0 6px; }

.card-body { display: grid; gap: 4px; min-width: 0; }
.card-name { font-size: 17.5px; font-weight: 600; }
.card-desc { font-size: 13px; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.price { font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-family: var(--f-body); font-size: 11.5px; font-weight: 500; color: var(--ink-3); margin-inline-start: 2px; }
.add {
  position: relative; z-index: 4;
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  background: radial-gradient(circle at 50% 30%, var(--add-1), var(--add-2));
  color: var(--accent);
  font-size: 22px; line-height: 1;
  transition: transform .25s var(--ease), background .3s;
}
:root[data-mode="day"] .add { color: var(--brand); }
.add:active { transform: scale(.9); }
.add[data-n]::after {
  content: attr(data-n);
  position: absolute; top: -6px; inset-inline-end: -6px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  background: var(--brand); color: var(--brand-ink);
  font: 700 12px/20px var(--f-body);
  text-align: center;
}
.add.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.22); } }

.card.feat { grid-column: 1 / -1; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: end; gap: 18px; }
.card.feat .card-name { font-size: clamp(22px, 6vw, 28px); font-weight: 700; }
.card.feat .card-desc { -webkit-line-clamp: 4; font-size: 14px; }
.card.feat .card-foot { flex-direction: column; align-items: stretch; gap: 10px; }
.card.feat .add { width: auto; height: 44px; border-radius: 12px; font-family: var(--f-display); font-size: 16px; display: flex; gap: 8px; padding: 0 16px; }
@media (min-width: 640px) {
  .card.feat { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .card.feat .card-body { max-width: 440px; }
  .card.feat .card-foot { flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; }
  .rail-in { max-width: 760px; margin-inline: auto; justify-content: center; }
  .tab { flex: 0 0 104px; }
}
@media (max-width: 639px) {
  .card.end-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: end; gap: 18px; }
  .card.end-wide .niche { order: 2; }
  .card.end-wide .card-name { font-size: 22px; }
  .card.end-wide .card-desc { -webkit-line-clamp: 4; }
}

/* ---------- arrival motion ---------- */
.art .k { fill: none; stroke: var(--art-ink); stroke-linecap: round; stroke-linejoin: round; }
.steam, .smoke { fill: none; stroke: var(--art-ink); stroke-opacity: .22; stroke-width: 2; stroke-linecap: round; }
.pre .art .k { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pre .art .f, .pre .art .steam-g, .pre .art .smoke-g { opacity: 0; }
.pre .photo { opacity: 0; transform: translateY(16px) scale(.94); }
.pre .ground { opacity: 0; }
.drawing .art .k { stroke-dasharray: 1; animation: ink 1.15s var(--ease) both; }
.drawing .art .f { animation: fadeIn .55s .5s ease both; }
.drawing .art .steam-g, .drawing .art .smoke-g { animation: fadeIn .8s .9s ease both; }
.drawing .photo { animation: photoIn .9s .1s var(--ease) both; }
.drawing .ground { animation: fadeIn .9s .3s ease both; }
@keyframes ink { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes photoIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
.pre .card-body, .pre .badge { opacity: 0; transform: translateY(10px); }
.drawing .card-body, .drawing .badge { animation: rise .7s .25s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* steam and smoke also rise in the menu cards once they have appeared */
.card:not(.pre) .steam, .card:not(.pre) .smoke { transform-box: fill-box; transform-origin: 50% 100%; animation: steam 3.6s ease-in-out infinite; }
.card:not(.pre) .steam.s1 { animation-delay: 1.6s; }
.card:not(.pre) .smoke { animation-duration: 4.4s; }
.card:not(.pre) .smoke.s1 { animation-delay: 2.1s; }
.card:not(.pre) .ember { animation: ember 1.8s ease-in-out infinite alternate; }
.card:not(.pre) .ember.e2 { animation-duration: 2.3s; }
.card:nth-child(2n):not(.pre) .steam, .card:nth-child(2n):not(.pre) .smoke { animation-delay: .7s; }
/* live steam over hot drinks in the item sheet */
.vapor { position: absolute; z-index: 2; left: 50%; top: 10%; width: 40%; height: 34%; transform: translateX(-50%); pointer-events: none; }
.vapor i {
  position: absolute; bottom: 0; left: 40%;
  width: 22%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent);
  filter: blur(6px);
  opacity: 0;
  animation: vapor 3.6s ease-in-out infinite;
}
.vapor i:nth-child(2) { left: 55%; animation-delay: 1.2s; }
.vapor i:nth-child(3) { left: 30%; animation-delay: 2.3s; }
@keyframes vapor { 0% { opacity: 0; transform: translateY(30%) scaleX(.8); } 35% { opacity: .9; } 100% { opacity: 0; transform: translateY(-60%) scaleX(1.4); } }
:root[data-mode="day"] .vapor i { background: radial-gradient(closest-side, rgba(120, 170, 175, .35), transparent); }
.live .steam { transform-box: fill-box; transform-origin: 50% 100%; animation: steam 3.4s ease-in-out infinite; }
.live .steam.s1 { animation-delay: 1.5s; }
.live .smoke { transform-box: fill-box; transform-origin: 50% 100%; animation: steam 4.2s ease-in-out infinite; }
.live .smoke.s1 { animation-delay: 2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px) scaleX(.85); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-16px) scaleX(1.15); } }
.live .ember { animation: ember 1.8s ease-in-out infinite alternate; }
.live .ember.e2 { animation-duration: 2.3s; }
@keyframes ember { 0% { opacity: .35; } 40% { opacity: .9; } 70% { opacity: .55; } 100% { opacity: 1; } }

/* ---------- footer ---------- */
.foot { padding: 64px var(--gutter) 0; display: grid; gap: 26px; }
.story { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 18px; align-items: center; }
.story-arch { margin: 0; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--arch); overflow: hidden; box-shadow: 0 0 0 5px var(--bg-reveal), 0 0 0 6px var(--line-2), 0 0 40px var(--glow); }
.story-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(1.18) contrast(1.06) saturate(1.05); }
.story-text { display: grid; gap: 8px; }
.story-text h2 { font-size: 24px; }
.story-text p { color: var(--ink-2); font-size: 14px; }
.panorama { --pano-height: 150px; margin-inline: calc(var(--gutter) * -1); height: var(--pano-height); overflow: hidden; position: relative; border-block: 1px solid var(--line-2); background: var(--pano-bg); }
.panorama-stage { position: absolute; inset-block: 0; right: 0; height: 100%; width: max(100%, calc(var(--pano-height) * 7.12381)); }
.panorama img { position: absolute; inset: 0; height: 100%; width: 100%; max-width: none; object-fit: fill; transition: opacity 1s ease; }
.panorama-day { opacity: 0; }
.panorama-night { opacity: 1; }
:root[data-mode="day"] .panorama-day { opacity: 1; }
:root[data-mode="day"] .panorama-night { opacity: 0; }
.panorama.go .panorama-stage { animation: pan 70s ease-in-out infinite alternate; }
.panorama:not(.in-view) .panorama-stage { animation-play-state: paused; }
@keyframes pan { from { transform: translateX(0); } to { transform: translateX(var(--pan, 0px)); } }
.foot-note { text-align: center; color: var(--ink-3); font-size: 13px; }
.staff-link { justify-self: center; color: var(--ink-3); font-size: 12.5px; text-decoration: underline; text-underline-offset: 4px; padding: 6px 10px; }

/* ---------- cart bar ---------- */
.cartbar {
  position: fixed; z-index: 40;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px;
  padding: 9px 9px 9px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--sheet-1), var(--sheet-2));
  box-shadow: 0 18px 40px -12px var(--shadow);
  text-align: start;
  transform: translateY(160%);
  transition: transform .5s var(--ease);
  max-width: 560px;
  margin-inline: auto;
}
.cartbar:not(.show) { visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.cartbar.show { transform: none; }
.cb-count {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  color: var(--btn-ink);
  font: 700 18px/1 var(--f-display);
}
.cb-count.bump { animation: bump .5s var(--ease); }
.cb-text { display: grid; line-height: 1.3; flex: 1; min-width: 0; }
.cb-text b { font-family: var(--f-display); font-size: 17px; font-weight: 600; }
.cb-text small { color: var(--ink-2); font-size: 12px; }
.cb-total { font-family: var(--f-display); font-size: 18px; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- sheets ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .35s ease; }
.sheet.open .sheet-scrim { opacity: 1; }
.sheet-panel {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, var(--sheet-1), var(--sheet-2) 40%);
  box-shadow: 0 -20px 60px -20px var(--shadow);
  transform: translateY(105%);
  transition: transform .5s var(--ease);
  overflow: hidden;
}
.sheet.open .sheet-panel { transform: translateY(var(--drag, 0px)); }
.sheet.dragging .sheet-panel { transition: none; }

.is-stage { position: relative; flex: none; height: clamp(260px, 42vh, 350px); overflow: hidden; touch-action: none; }
.is-stage .screen-lattice { -webkit-mask-size: 132px auto; mask-size: 132px auto; }
.is-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; background: linear-gradient(180deg, transparent, var(--sheet-1)); pointer-events: none; z-index: 2; }
.is-window { width: min(64%, 250px); bottom: 0; display: flex; align-items: flex-end; justify-content: center; z-index: 1; }
.is-window::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 8%; background: linear-gradient(180deg, var(--niche-ledge-1), var(--niche-ledge-2)); border-top: 1px solid rgba(255, 255, 255, .55); }
.is-window .art { width: 94%; margin-bottom: 2%; overflow: visible; position: relative; z-index: 1; }
.is-window .art-smoke { width: auto; height: 92%; }
.is-window .art-sweet { width: 112%; margin-bottom: 4%; }
.is-window .photo { width: 100%; height: 100%; padding: 12% 6% 6%; }
.is-window .photo.k-sweet { padding: 26% 0 6%; }
.is-window .photo.k-hookah { padding: 6% 9% 6%; }
.is-window .ground { bottom: 5%; }
.sheet.open .is-window { animation: windowIn .7s var(--ease) both; }
@keyframes windowIn { from { transform: translateX(-50%) translateY(30px) scale(.94); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
.sheet.open .is-window .photo { animation: photoIn .9s .15s var(--ease) both; }
.sheet.open .is-stage .screen-light { animation: lampOn 1.2s ease both; }
@keyframes lampOn { 0% { opacity: .2; } 25% { opacity: .9; } 35% { opacity: .5; } 100% { opacity: 1; } }
.grab { position: absolute; top: 8px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 9px; background: rgba(255, 255, 255, .6); z-index: 3; }
.x {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--sheet-1);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px -8px var(--shadow);
}
.x svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.x-flat { position: static; background: transparent; box-shadow: none; }

.is-body { padding: 8px 20px 18px; overflow-y: auto; display: grid; gap: 12px; position: relative; overscroll-behavior: contain; }
.is-body .badge { position: static; justify-self: start; border-radius: 6px; }
.is-body h2 { font-size: clamp(26px, 7vw, 32px); font-weight: 700; }
.is-desc { color: var(--ink-2); font-size: 15px; }
.is-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.is-tags li { font-size: 12px; color: var(--accent); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 10px; }
.opt { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.opt legend { font-family: var(--f-display); font-size: 16px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.opt legend small { font-family: var(--f-body); font-size: 12px; color: var(--ink-3); font-weight: 400; margin-inline-start: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; gap: 6px; align-items: baseline;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
  transition: background .25s, border-color .25s, color .25s;
}
.chip span small { font-size: 11.5px; color: var(--ink-3); }
.chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--chip-on); }
.chip input:checked + span small { color: var(--brand); }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--ink-2); }
textarea {
  width: 100%;
  resize: none;
  font: inherit; font-size: 15px; line-height: 1.6;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
textarea::placeholder { color: var(--ink-3); }
textarea:focus { outline: none; border-color: var(--brand); }

.is-foot, .cart-foot {
  flex: none;
  display: flex; gap: 12px; align-items: center;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--sheet-2);
}
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; height: 50px; flex: none; }
.stepper button { width: 42px; height: 100%; border: 0; background: none; font-size: 22px; color: var(--accent); }
.stepper output { min-width: 26px; text-align: center; font: 700 18px var(--f-display); }
.primary {
  flex: 1;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  padding: 10px 16px;
  background: linear-gradient(180deg, var(--btn-1), var(--btn-2));
  color: var(--btn-ink);
  font-family: var(--f-display); font-size: 17px; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -10px var(--btn-glow);
  transition: transform .2s var(--ease), filter .2s;
}
.primary:active { transform: scale(.97); }
.primary[disabled] { filter: grayscale(.6) brightness(.8); cursor: default; }
.primary .sep { opacity: .5; margin-inline: 6px; }
.ghost { border: 1px solid var(--line-2); background: none; color: var(--accent); border-radius: 12px; padding: 9px 18px; font-family: var(--f-display); font-size: 15px; }

/* cart */
.cart-panel, .table-panel { padding-top: 6px; }
.cart-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px 12px; }
.cart-head h2 { font-size: 26px; flex: 1; }
.plate-lg { padding: 6px 12px 7px; }
.plate-edit { font-size: 11.5px; color: var(--brand); border-inline-start: 1px solid var(--line-2); padding-inline-start: 8px; margin-inline-start: 2px; }
.cart-scroll { overflow-y: auto; padding: 0 16px 16px; display: grid; gap: 16px; overscroll-behavior: contain; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; }
.line { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-art { position: relative; width: 58px; aspect-ratio: 4 / 5; border-radius: var(--arch); background: radial-gradient(90% 70% at 50% 38%, var(--niche-1), var(--niche-2) 62%, var(--niche-3)); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.line-art .art { width: 100%; }
.line-art .art-smoke { width: auto; height: 94%; }
.line-art .art-sweet { width: 120%; }
.line-art .steam-g, .line-art .smoke-g, .line-art .ground { display: none; }
.line-art .photo { width: 100%; height: 100%; padding: 10% 4% 6%; }
.line-art .photo.k-sweet { padding: 20% 0 6%; }
.line-main { min-width: 0; display: grid; gap: 2px; }
.line-name { font-family: var(--f-display); font-size: 16px; font-weight: 600; line-height: 1.3; }
.line-opts { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.line-price { font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; }
.mini-stepper { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 12px; height: 38px; }
.mini-stepper button { width: 32px; height: 100%; border: 0; background: none; color: var(--accent); font-size: 18px; }
.mini-stepper output { min-width: 18px; text-align: center; font: 700 15px var(--f-display); }
.cart-empty { display: grid; justify-items: center; gap: 12px; padding: 30px 0 10px; color: var(--ink-2); }
.cart-foot { flex-direction: column; align-items: stretch; gap: 8px; }
.sum { display: flex; justify-content: space-between; align-items: baseline; }
.sum span { color: var(--ink-2); }
.sum strong { font-family: var(--f-display); font-size: 24px; color: var(--accent); font-variant-numeric: tabular-nums; }
.pay-note { font-size: 12px; color: var(--ink-3); }
.err { font-size: 13px; color: var(--err-ink); background: rgba(158, 44, 34, .14); border: 1px solid rgba(200, 80, 60, .35); border-radius: 10px; padding: 8px 10px; }

/* table picker */
.table-hint { padding: 0 16px; color: var(--ink-2); font-size: 14px; }
.table-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 12px; padding: 16px 16px calc(22px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.tbl {
  aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: var(--arch);
  border: 1.4px solid var(--line-2);
  background: transparent;
  font: 700 22px/1 var(--f-display);
  color: var(--ink);
  display: grid; place-items: end center; padding-bottom: 14px;
  transition: background .3s, box-shadow .3s, color .3s;
}
.tbl[aria-pressed="true"] { color: var(--art-ink); background: radial-gradient(90% 70% at 50% 38%, var(--niche-1), var(--niche-2) 62%, var(--niche-3)); box-shadow: 0 0 24px var(--glow-strong); border-color: var(--niche-edge); }

/* ---------- order confirmation ---------- */
.done {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 24px var(--gutter);
  background: radial-gradient(70% 55% at 50% 40%, var(--glow), transparent 70%), var(--bg);
  opacity: 0;
  transition: opacity .4s ease;
}
.done.open { opacity: 1; }
.done-card { width: min(100%, 420px); display: grid; justify-items: center; gap: 12px; text-align: center; }
.done-art {
  position: relative;
  width: 160px; aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  background: radial-gradient(90% 70% at 50% 38%, var(--niche-1), var(--niche-2) 62%, var(--niche-3));
  box-shadow: 0 0 0 5px var(--bg-reveal), 0 0 0 6.5px var(--line-3), 0 0 60px 8px var(--glow-strong);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  margin-bottom: 8px;
}
.done-art .art { width: 96%; overflow: visible; }
.done-art .photo { width: 100%; height: 100%; padding: 12% 5% 6%; }
.done.open .done-art .photo { animation: photoIn 1s .3s var(--ease) both; }
.done.open .done-art .liquid { animation: pour 1.6s .5s var(--ease) both; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes pour { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.done h2 { font-size: 34px; font-weight: 700; }
.done-no { color: var(--ink-2); font-size: 15px; }
.done-no b { font-family: var(--f-display); color: var(--accent); font-size: 19px; }
.track { list-style: none; padding: 0; margin: 8px 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; position: relative; }
.track::before { content: ""; position: absolute; top: 13px; inset-inline: 16.6%; height: 2px; background: var(--line); }
.track li { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.track li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-raise); border: 2px solid var(--line); position: relative; z-index: 1; transition: background .4s, border-color .4s, box-shadow .4s; }
.track li.on { color: var(--ink); }
.track li.on::before { background: radial-gradient(circle, var(--niche-1), var(--btn-2)); border-color: var(--btn-1); box-shadow: 0 0 18px var(--glow-strong); }
.track li.now::before { animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 7px var(--glow), 0 0 22px var(--glow-strong); } }
.done-mode { font-size: 12px; color: var(--ink-3); max-width: 34ch; }
.done .primary { width: 100%; flex: none; margin-top: 8px; }

/* ---------- toast + flyer ---------- */
.toast {
  position: fixed; z-index: 90; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px));
  transform: translate(-50%, -150%);
  visibility: hidden;
  background: var(--sheet-1); border: 1px solid var(--line-2); color: var(--ink);
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
  box-shadow: 0 12px 30px -10px var(--shadow);
  transition: transform .45s var(--ease), visibility 0s .45s;
  white-space: nowrap;
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.flyer { position: fixed; z-index: 95; pointer-events: none; width: 64px; aspect-ratio: 4 / 5; border-radius: var(--arch); background: radial-gradient(90% 70% at 50% 38%, var(--niche-1), var(--niche-2) 62%, var(--niche-3)); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; box-shadow: 0 0 30px var(--glow-strong); }
.flyer .art { width: 100%; }
.flyer .art-smoke { width: auto; height: 94%; }
.flyer .art-sweet { width: 120%; }
.flyer .photo { width: 100%; height: 100%; padding: 8% 4% 6%; }
.flyer .ground { display: none; }

/* ---------- intro: the emblem draws itself, then the café door by day or by night ---------- */
.lg-plaque { fill: #1a110b; stroke: rgba(255, 214, 150, .35); stroke-width: 18; }
.logo .lg-teal { fill: var(--brand); }
.logo .lg-brown { fill: var(--accent); }
.lg-draw path { fill: none; stroke: #ffd796; stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }

.intro {
  position: fixed; inset: 0; z-index: 100;
  overflow: hidden;
  background: #0b0806;
  transition: opacity .8s ease;
  -webkit-tap-highlight-color: transparent;
}
.intro.day { background: #eef4f2; }
.intro.gone { opacity: 0; pointer-events: none; }

/* the veil the emblem is drawn on: mashrabiya lattice and a lamp-warm glow */
.backdrop { position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 44%, #2b1b10, #0b0806 72%); }
.intro.day .backdrop { background: radial-gradient(70% 50% at 50% 44%, #ffffff, #e4eeec 78%); }
.veil-lattice {
  position: absolute; inset: -40px;
  background: #e3b46b; opacity: .1;
  -webkit-mask: var(--lattice) center / 156px auto repeat;
  mask: var(--lattice) center / 156px auto repeat;
  animation: latticeDrift 18s linear infinite alternate;
}
.intro.day .veil-lattice { background: #2c8c95; opacity: .12; }
@keyframes latticeDrift { to { transform: translate3d(0, -40px, 0); } }
.veil-glow {
  position: absolute; left: 50%; top: 44%;
  width: 130vmin; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 186, 100, .26), rgba(255, 170, 80, .06) 55%, transparent);
  transform: translate(-50%, -50%) scale(.55); opacity: 0;
  transition: opacity 2.2s ease, transform 3.2s var(--ease);
}
.intro.day .veil-glow { background: radial-gradient(closest-side, rgba(95, 188, 197, .22), rgba(95, 188, 197, .05) 55%, transparent); }
.intro:not([data-stage="0"]) .veil-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* the door, framed to fill a phone; on wide screens it stands in the middle on its own blurred light */
.scene-blur { display: none; }
.scene {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 56.25vh);
  height: max(100vh, 177.78vw);
  transform: translate(-50%, -50%) scale(1.08);
  transform-origin: 50% 58%;
  transition: transform 4.6s cubic-bezier(.22, .61, .36, 1);
}
@media (min-aspect-ratio: 7/10) {
  .scene { width: 56.25vh; height: 100vh; }
  .scene-blur {
    display: block; position: absolute; inset: -8%;
    background: var(--intro-bg) center / cover no-repeat;
    filter: blur(36px) brightness(.5) saturate(1.1);
    opacity: 0; transition: opacity 1.6s ease;
  }
  .intro.day .scene-blur { filter: blur(36px) brightness(1.04) saturate(.9); }
  .intro[data-stage="scene"] .scene-blur, .intro[data-stage="ready"] .scene-blur, .intro[data-stage="open"] .scene-blur { opacity: 1; }
}
.intro[data-stage="scene"] .scene, .intro[data-stage="ready"] .scene { transform: translate(-50%, -50%) scale(1); }
.scene img, .scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.scene .s-closed { opacity: 0; transition: opacity 1.6s ease; }
.intro[data-stage="scene"] .s-closed, .intro[data-stage="ready"] .s-closed, .intro[data-stage="open"] .s-closed { opacity: 1; }
.scene .s-open, .scene .s-video { opacity: 0; }

/* lanterns breathe at night; by day the sun warms the plaster */
.lamp { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 1.8s ease .5s; }
.lamp::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 200, 115, .62), rgba(255, 170, 70, .14) 58%, transparent);
  animation: lamp 3.7s ease-in-out infinite alternate;
}
.intro[data-stage="scene"] .lamp, .intro[data-stage="ready"] .lamp, .intro[data-stage="open"] .lamp { opacity: 1; }
@keyframes lamp { 0%, 100% { opacity: .5; transform: scale(.94); } 28% { opacity: .85; } 57% { opacity: .6; } 80% { opacity: 1; transform: scale(1.05); } }
.beams {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0;
  background: radial-gradient(80% 45% at 92% 0%, rgba(255, 236, 190, .95), rgba(255, 236, 190, .25) 45%, transparent 70%);
  transition: opacity 2.4s ease .6s;
}
.intro[data-stage="ready"] .beams, .intro[data-stage="open"] .beams { opacity: 1; animation: sunBreath 6s 3s ease-in-out infinite alternate; }
@keyframes sunBreath { from { opacity: 1; } to { opacity: .55; } }

/* the emblem: drawn large, then one glide onto the sign over the door */
.mark { position: absolute; z-index: 2; transform-origin: 50% 50%; transition: transform 1.9s cubic-bezier(.65, 0, .25, 1); }
.intro[data-stage="scene"] .mark, .intro[data-stage="ready"] .mark, .intro[data-stage="open"] .mark { transform: var(--glide); }
.mark svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
.intro.day .mark svg { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)) drop-shadow(0 2px 3px rgba(20, 60, 66, .3)); }
.mark .lg-teal { fill: #6cc3ca; }
.mark .lg-brown { fill: #e3b46b; }
.intro.day .mark .lg-teal { fill: #2a8892; }
.intro.day .mark .lg-brown { fill: #9a6532; }
.intro.day .lg-draw path { stroke: #2a8892; }
.mark .lg-teal, .mark .lg-brown { opacity: 0; }
.intro:not([data-stage="0"]) .mark .lg-draw path { animation: ink 1.9s .2s cubic-bezier(.45, .05, .25, 1) forwards, inkOut .9s 2.3s ease forwards; }
.intro:not([data-stage="0"]) .mark .lg-teal, .intro:not([data-stage="0"]) .mark .lg-brown { animation: fadeIn 1s 1.8s ease forwards; }
.intro[data-stage="ready"] .mark .lg-draw path, .intro[data-stage="open"] .mark .lg-draw path { animation: none; opacity: 0; stroke-dashoffset: 0; }
.intro[data-stage="ready"] .mark .lg-teal, .intro[data-stage="ready"] .mark .lg-brown,
.intro[data-stage="open"] .mark .lg-teal, .intro[data-stage="open"] .mark .lg-brown { animation: none; opacity: 1; }
@keyframes inkOut { to { opacity: 0; } }
.mark .glint { position: absolute; inset: -12% -6%; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: linear-gradient(105deg, transparent 38%, rgba(255, 238, 205, .7) 50%, transparent 62%); transform: translateX(-130%); }
.intro.day .mark .glint { mix-blend-mode: normal; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%); }
.intro[data-stage="ready"] .mark .glint { animation: glintMove 1.6s .5s ease forwards; }
.intro.alone .mark .glint { animation: glintMove 1.3s ease forwards; }
@keyframes glintMove { 0% { opacity: 0; } 20%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(130%); } }
.mark-tag {
  position: absolute; z-index: 2; left: 0; right: 0;
  text-align: center; font-size: 15px; letter-spacing: .01em; color: #e9cf9f;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .7s ease, transform .9s var(--ease);
}
.intro.day .mark-tag { color: #1f5a60; }
.intro[data-stage="logo"] .mark-tag { opacity: 1; transform: none; transition-delay: 2s; }

/* «تفضّل» */
.intro-ui {
  position: absolute; z-index: 3;
  left: 0; right: 0; bottom: 0;
  padding: 110px var(--gutter) calc(30px + env(safe-area-inset-bottom, 0px));
  display: grid; justify-items: center; gap: 12px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(7, 5, 4, .74) 48%);
  opacity: 0; pointer-events: none;
  transition: opacity .8s ease, transform .6s var(--ease);
}
.intro.day .intro-ui { background: linear-gradient(180deg, transparent, rgba(240, 246, 244, .9) 48%); }
.intro[data-stage="ready"] .intro-ui { opacity: 1; pointer-events: auto; }
.intro-ui > * { opacity: 0; transform: translateY(12px); transition: opacity .8s ease, transform .8s var(--ease); }
.intro[data-stage="ready"] .intro-ui > * { opacity: 1; transform: none; }
.intro[data-stage="ready"] .intro-ui > :nth-child(1) { transition-delay: .5s; }
.intro[data-stage="ready"] .intro-ui > :nth-child(2) { transition-delay: .65s; }
.intro[data-stage="ready"] .intro-ui > :nth-child(3) { transition-delay: .8s; }
.intro-tag { font-size: 14px; color: #ffe6bf; }
.intro.day .intro-tag { color: #1f4f55; }
.intro-table { font-family: var(--f-display); font-size: 18px; color: #fff3df; padding: 2px 16px 4px; border-radius: 999px 999px 8px 8px; border: 1px solid rgba(227, 180, 107, .6); background: rgba(20, 12, 7, .55); }
.intro-table b { color: #e3b46b; font-size: 22px; }
.intro.day .intro-table { color: #143a3f; background: rgba(255, 255, 255, .75); border-color: rgba(44, 140, 149, .5); }
.intro.day .intro-table b { color: #2c8c95; }
.intro-enter {
  margin-top: 4px;
  min-width: 190px;
  padding: 13px 30px;
  border-radius: 999px 999px 14px 14px;
  border: 1px solid rgba(255, 230, 180, .8);
  background: linear-gradient(180deg, #ebc07a, #c98f3d);
  color: #1d130b;
  font: 700 19px var(--f-display);
  box-shadow: 0 12px 30px -8px rgba(255, 170, 70, .7);
}
.intro.day .intro-enter { background: linear-gradient(180deg, #5fbcc5, #2c8c95); color: #fff; border-color: rgba(255, 255, 255, .8); box-shadow: 0 12px 30px -8px rgba(44, 140, 149, .6); }
.intro[data-stage="ready"] .intro-enter { animation: breathe 2.6s 2s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 12px 40px 0 rgba(255, 180, 80, .8); } }
.intro.day[data-stage="ready"] .intro-enter { animation-name: breatheDay; }
@keyframes breatheDay { 50% { box-shadow: 0 12px 40px 0 rgba(44, 140, 149, .65); } }
.intro-skip { position: absolute; z-index: 3; top: calc(14px + env(safe-area-inset-top, 0px)); inset-inline-start: 14px; font-size: 12.5px; color: rgba(255, 236, 210, .75); background: rgba(10, 6, 4, .35); border: 0; border-radius: 999px; padding: 6px 12px; }
.intro.day .intro-skip { color: #1f4f55; background: rgba(255, 255, 255, .6); }

/* entering: the doors swing open, the camera walks in, the menu takes over */
.intro[data-stage="open"] .scene { transform: translate(-50%, -50%) scale(1.2); transition: transform 5.6s cubic-bezier(.45, 0, .2, 1); }
.intro[data-stage="open"].still .scene { transform: translate(-50%, -50%) scale(1.3); transition: transform 2.6s cubic-bezier(.5, 0, .2, 1); }
.intro.video .s-video { opacity: 1; }
.intro.still .s-open { opacity: 1; transition: opacity 1.2s ease; }

.entering { animation: enter 1.4s .1s var(--ease) both; }
@keyframes enter { from { transform: scale(1.06); opacity: .0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }

/* ---------- staff board ---------- */
.staff { min-height: 100vh; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 60px; background: var(--brick), var(--bg); display: grid; gap: 20px; align-content: start; max-width: 1200px; margin-inline: auto; }
.st-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.st-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.st-brand .logo { width: 92px; height: auto; flex: none; }
.st-brand h1 { font-size: 24px; }
.st-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.st-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fbf6a; box-shadow: 0 0 0 3px rgba(63, 191, 106, .2); }
.st-live.local::before { background: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.st-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.st-btn { border: 1px solid var(--line-2); background: transparent; color: var(--ink); border-radius: 12px; padding: 8px 14px; font-size: 13.5px; text-decoration: none; }
.st-btn[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.st-btn.brass { background: linear-gradient(180deg, var(--btn-1), var(--btn-2)); color: var(--btn-ink); border-color: transparent; font-weight: 600; }
.st-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st-stat { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--bg-raise); }
.st-stat b { display: block; font: 700 26px/1.2 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.st-stat span { font-size: 12.5px; color: var(--ink-2); }
.st-stat.new b { color: var(--accent); }
.st-h { font-size: 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.st-h small { font-family: var(--f-body); font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.st-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 10px; }
.st-tbl {
  position: relative;
  aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: var(--arch);
  border: 1.4px solid var(--line);
  background: transparent;
  color: var(--ink-3);
  font: 700 20px/1 var(--f-display);
  display: grid; place-items: end center; padding-bottom: 12px;
  transition: background .4s, box-shadow .4s, color .4s, border-color .4s;
}
.st-tbl.busy { color: var(--art-ink); border-color: var(--niche-edge); background: radial-gradient(90% 70% at 50% 38%, var(--niche-1), var(--niche-2) 62%, var(--niche-3)); box-shadow: 0 0 22px var(--glow-strong); }
.st-tbl.fresh { animation: tblPulse 1.4s ease-in-out infinite; }
@keyframes tblPulse { 50% { box-shadow: 0 0 0 5px var(--glow), 0 0 34px var(--glow-strong); } }
.st-tbl.sel { outline: 2px solid var(--brand); outline-offset: 3px; }
.st-tbl i { position: absolute; top: 18%; font-style: normal; font: 700 11px/18px var(--f-body); min-width: 18px; padding: 0 4px; border-radius: 9px; background: var(--sadu); color: #fff; }
.st-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; align-items: start; }
.ticket { position: relative; border-radius: 16px; background: linear-gradient(180deg, #fbf4e6, #f1e4cb); color: #2a1a10; padding: 14px 16px; display: grid; gap: 10px; box-shadow: 0 16px 34px -18px var(--shadow); animation: rise .5s var(--ease) both; }
:root[data-mode="day"] .ticket { background: linear-gradient(180deg, #ffffff, #f2f8f8); box-shadow: 0 0 0 1px var(--line), 0 16px 34px -18px var(--shadow); }
.ticket::before { content: ""; position: absolute; inset-inline: 14px; top: -6px; height: 12px; background: radial-gradient(circle at 6px 6px, var(--bg) 5px, transparent 5.5px) 0 0 / 14px 12px repeat-x; }
.ticket.new { box-shadow: 0 0 0 2px var(--btn-1), 0 16px 34px -18px var(--shadow), 0 0 30px var(--glow-strong); }
.ticket.served { opacity: .62; }
.tk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tk-table { display: grid; line-height: 1.1; }
.tk-table small { font-size: 11.5px; color: #7b6650; }
.tk-table b { font: 700 34px/1 var(--f-display); color: #2a1a10; }
.tk-meta { text-align: end; font-size: 12px; color: #7b6650; line-height: 1.5; }
.tk-meta b { display: block; font: 700 15px var(--f-display); color: #2a1a10; }
.tk-status { display: inline-block; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 1px 9px; }
.tk-status.s-new { background: #2a1a10; color: #ffc977; }
.tk-status.s-prep { background: #2f6f75; color: #e9fbfc; }
.tk-status.s-served { background: #d6c6a8; color: #4b3a29; }
.tk-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; border-block: 1px dashed rgba(42, 26, 16, .25); padding-block: 10px; }
.tk-items li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: baseline; font-size: 14.5px; line-height: 1.45; }
.tk-items .q { font: 700 15px var(--f-display); color: #9a5a1c; }
.tk-items .o { display: block; font-size: 12px; color: #7b6650; }
.tk-items .p { font-size: 12.5px; color: #7b6650; font-variant-numeric: tabular-nums; }
.tk-note { font-size: 13px; background: rgba(158, 44, 34, .1); border-inline-start: 3px solid var(--sadu); padding: 6px 10px; border-radius: 6px; }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tk-total { font: 700 18px var(--f-display); font-variant-numeric: tabular-nums; }
.tk-act { display: flex; gap: 6px; }
.tk-act button { border: 0; border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 13.5px; background: #2a1a10; color: #fbeed8; }
.tk-act button.alt { background: transparent; color: #7b6650; border: 1px solid rgba(42, 26, 16, .25); }
.st-empty { border: 1px dashed var(--line); border-radius: 18px; padding: 28px 20px; display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--ink-2); }
.st-empty h3 { font-size: 20px; color: var(--ink); }
.st-qr { border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px; background: var(--bg-raise); }
.st-qr summary { cursor: pointer; padding: 10px 0; font-family: var(--f-display); font-size: 16px; }
.qr-note { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; padding-bottom: 14px; }
.qr-card { background: #fbf3e4; color: #2a1a10; border-radius: 14px; padding: 10px; display: grid; justify-items: center; gap: 4px; text-align: center; }
.qr-card svg { width: 100%; height: auto; }
.qr-card b { font: 700 18px var(--f-display); }
.qr-card small { font-size: 11px; color: #7b6650; }

/* ---------- suggestions + charcoal ---------- */
.pairs { display: grid; gap: 10px; min-width: 0; }
.pairs[hidden], .charcoal[hidden] { display: none; }
.pairs h3 { font-family: var(--f-display); font-size: 21px; font-weight: 700; line-height: 1.6; color: var(--ink); margin: 8px 0 2px; }
.pair-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
.pair-row::-webkit-scrollbar { display: none; }
.pair {
  flex: 0 0 auto; width: 128px; scroll-snap-align: start;
  display: grid; justify-items: center; gap: 4px; padding: 8px 6px 10px;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-raise);
  color: var(--ink); font: inherit; text-align: center; position: relative;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.pair:active { transform: scale(.97); }
.pair:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pair-art { width: 100%; aspect-ratio: 4 / 4.2; border-radius: var(--arch); background: radial-gradient(90% 70% at 50% 38%, var(--niche-1), var(--niche-2) 62%, var(--niche-3)); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.pair-art .art { width: 100%; }
.pair-art .art-smoke { width: auto; height: 94%; }
.pair-art .art-sweet { width: 118%; }
.pair-art .steam-g, .pair-art .smoke-g, .pair-art .ground { display: none; }
.pair-name { font-family: var(--f-display); font-size: 17px; font-weight: 600; line-height: 1.65; }
.pair-price { font-family: var(--f-display); font-size: 15px; line-height: 1.6; color: var(--accent); font-variant-numeric: tabular-nums; }
.pair-add { position: absolute; top: 6px; inset-inline-start: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--btn-1, var(--brand)), var(--btn-2, var(--brand))); color: var(--btn-ink); font: 700 16px/1 var(--f-body); }
.pair.done { border-color: var(--brand); background: var(--brand-soft); }
.pair.done .pair-add { font-size: 0; }
.pair.done .pair-add::after { content: '✓'; font-size: 13px; }
.charcoal-btn {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: start;
  padding: 10px 14px; border: 1px dashed var(--line-2); border-radius: 16px;
  background: none; color: var(--ink); font: inherit;
  transition: background .3s, border-color .3s;
}
.charcoal-btn b { display: block; font-family: var(--f-display); font-size: 16px; font-weight: 600; }
.charcoal-btn small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.charcoal-btn[aria-pressed="true"] { border-style: solid; border-color: var(--brand); background: var(--brand-soft); }
.charcoal-btn[aria-pressed="true"] small { color: var(--brand); }
.charcoal-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.charcoal-ico { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, #ff9a3c, #c2410c 62%, #3a1608); box-shadow: 0 0 14px rgba(255, 140, 50, .55); animation: ember 1.8s ease-in-out infinite alternate; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .pre .art .k { stroke-dashoffset: 0; }
  .pre .art .f, .pre .card-body, .pre .badge, .pre .photo, .pre .ground { opacity: 1; transform: none; }
  .panorama.go .panorama-stage { animation: none; }
  .panorama img { transition: none; }
  .vapor { display: none; }
}

/* Table service stays in view while browsing the menu. */
.service-actions { position: sticky; top: 0; z-index: 40; height: 76px; padding: 10px var(--gutter); background: var(--bg); }
.service-actions-in { display: flex; gap: 10px; max-width: 760px; margin-inline: auto; height: 56px; }
.service-action { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-raise); color: var(--ink); font: 600 18px/1.6 var(--f-display); cursor: pointer; }
.service-action svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-action:hover { border-color: var(--accent); background: var(--brand-soft); }
.service-action:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.service-action:active { transform: translateY(1px); }
.rail { top: 76px; }

/* Original portraits move to the story only in night mode. */
.story-portraits { display: flex; align-items: flex-start; gap: 14px; margin-top: 12px; padding: 3px; }
:root[data-mode="day"] .story-portraits { display: none; }
.heritage-portrait { position: relative; flex: 0 0 auto; width: clamp(62px, 8vw, 78px); aspect-ratio: 4 / 5; margin: 0; padding: 5px; border: 1px solid #b88d4f; border-radius: 48% 48% 5px 5px / 28% 28% 5px 5px; background: linear-gradient(125deg, #d2ae73, #664725 35%, #a57a43 66%, #4a321d); box-shadow: 0 5px 12px rgba(0,0,0,.28); }
.heritage-portrait::after { content: ""; position: absolute; inset: 3px; border: 1px solid #e0bc7d; border-radius: inherit; pointer-events: none; }
.heritage-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; border-radius: inherit; background: #e9e1d2; }


/* فاصلة من نقشة المشربية الأصلية بين الأقسام، تتبع الوضع الليلي والنهاري. */
.sec-head { padding-top: 0; }
.sec-head::before { content: none; }
.section-divider { height: 28px; background: var(--accent); opacity: .6;
  -webkit-mask: var(--lattice) center / 76px auto repeat-x; mask: var(--lattice) center / 76px auto repeat-x; }
:root[data-mode="day"] .section-divider { background: var(--brand); opacity: .65; }
.upcoming { padding: 12px 0 26px; color: var(--ink-2); }
.upcoming p { font-family: var(--f-display); color: var(--ink); font-size: 19px; margin-bottom: 7px; }
.upcoming span { display: block; font-size: 14px; line-height: 1.8; }
#isAdd:disabled { cursor: default; opacity: .65; }

/* Same Abu Halloub visual identity; room for comfortable touch and review. */
.add,.x,.mini-stepper button {min-width:44px;min-height:44px;}
.mini-stepper {flex-wrap:nowrap;}
.line-edit {border:0;background:transparent;color:var(--accent);padding:8px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px;}
.line-problem {display:block;color:var(--sadu);font-size:14px;}
.menu-update {padding:10px 16px;margin:0;color:var(--ink);background:var(--bg);font-size:14px;}
.service-actions-in {max-width:760px;}
.service-action {flex:1;}
