/* =========================================================
   #t10 — 3D menu · "night graffiti" theme
   ========================================================= */
:root {
  --bg: #0e0908;
  --bg-2: #140d0b;
  --surface: #1b1310;
  --surface-2: #251a16;
  --line: rgba(255, 232, 210, .09);
  --line-2: rgba(255, 232, 210, .17);
  --text: #fff3e6;
  --muted: #c9b3a1;
  --faint: #a08a7a;
  --yellow: #f3e14b;
  --yellow-ink: #1a1405;
  --pink: #f06cc4;
  --pink-ink: #1c0614;
  --red: #c8202f;
  --orange: #e0582f;
  --kraft: #dcb07b;
  --ink: #0b0706;
  --radius: 22px;
  --top: 60px;
  --f-display: "Bungee", "Rubik", system-ui, sans-serif;
  --f-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dw: 400;
  --lh: 1.55;
  --fit: #8ce99a;
  --mode-accent: var(--yellow);
  --mode-ink: var(--yellow-ink);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0e0908; } }
:root[data-theme="dark"] { --bg: #0e0908; }

html[data-lang="ku"], html[data-lang="ar"] {
  --f-display: "Noto Kufi Arabic", "Rubik", system-ui, sans-serif;
  --f-body: "Noto Kufi Arabic", "Rubik", system-ui, sans-serif;
  --dw: 900;
  --lh: 1.8;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 64px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: var(--lh);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
/* film grain + ambient spray glow */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40vmax 30vmax at 100% 0%, rgba(240, 108, 196, .10), transparent 70%),
    radial-gradient(38vmax 28vmax at 0% 35%, rgba(243, 225, 75, .06), transparent 70%),
    radial-gradient(50vmax 36vmax at 60% 100%, rgba(200, 32, 47, .12), transparent 70%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.display { font-family: var(--f-display); font-weight: var(--dw); letter-spacing: .005em; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left)); }
@media (min-width: 600px) { .container { padding-inline: 24px; } }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--yellow-ink); padding: 10px 14px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------- top bar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--top);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-inline: max(14px, env(safe-area-inset-left));
  background: rgba(14, 9, 8, .74);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-badge {
  flex: none; width: 60px; height: 36px; border-radius: 11px;
  background: linear-gradient(180deg, #d42534, #a8151f);
  display: grid; place-items: center; color: var(--kraft);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25), 0 0 0 1.5px var(--ink), 0 6px 18px rgba(200, 32, 47, .35);
}
.brand-badge svg { width: 42px; height: 18px; }
.brand-badge.lg { width: 104px; height: 60px; border-radius: 16px; }
.brand-badge.lg svg { width: 72px; height: 31px; }
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-text b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: 11.5px; color: var(--faint); }
.lang { display: flex; flex: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 700; line-height: 1; padding: 0 11px; min-height: 36px; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s;
}
.lang button[lang="ckb"], .lang button[lang="ar"] { font-family: "Noto Kufi Arabic", sans-serif; }
.lang button[lang="en"] { font-family: "Rubik", sans-serif; }
.lang button[aria-pressed="true"] { background: var(--yellow); color: var(--yellow-ink); }
@media (max-width: 380px) { .brand-text { display: none; } }

/* ---------------- hero ---------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 14px 0 26px; }
.wall { position: absolute; inset: 0 0 auto; height: 78%; z-index: -1; overflow: hidden; }
.wall-art { width: 100%; height: 100%; filter: blur(2.4px) saturate(1.05); transform: scale(1.04); }
.wall-letters text { font-family: "Bungee", sans-serif; font-size: 300px; paint-order: stroke; stroke: #0b0706; stroke-linejoin: round; }
.wall-letters .w-top { fill: #cfc43a; stroke-width: 22px; }
.wall-letters .w-bot { fill: #c9579f; stroke-width: 24px; }
.wall::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 58%, rgba(14, 9, 8, .05), rgba(14, 9, 8, .55) 100%),
    linear-gradient(180deg, rgba(14, 9, 8, .72) 0%, rgba(14, 9, 8, .35) 30%, rgba(14, 9, 8, .25) 55%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-areas: "copy" "stage" "dish"; gap: 4px; }
.hero-copy { grid-area: copy; padding-top: 6px; }
.hero-stage { grid-area: stage; }
.hero-dish { grid-area: dish; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--pink-ink); background: var(--pink); border: 2px solid var(--ink);
  padding: 5px 11px 5px 9px; border-radius: 999px; box-shadow: 0 3px 0 var(--ink);
}
.eyebrow .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.hero-title { font-size: clamp(30px, 8.6vw, 66px); line-height: 1.04; margin: 14px 0 8px; text-wrap: balance; text-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 10px 30px rgba(0, 0, 0, .5); }
html[data-lang="ku"] .hero-title, html[data-lang="ar"] .hero-title { line-height: 1.35; font-size: clamp(28px, 7.8vw, 58px); }
.hero-sub { color: #e8d5c4; font-size: 15px; max-width: 48ch; margin: 0; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }

.stage-wrap { position: relative; height: clamp(300px, 52vh, 500px); }
.stage-wrap::before {
  content: ""; position: absolute; inset: 14% 8% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 108, 196, .26), rgba(240, 108, 196, 0) 72%);
  filter: blur(8px); pointer-events: none;
}
.stage { position: absolute; inset: 0; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; cursor: grab; outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.stage canvas:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--yellow); }
.stage canvas:active { cursor: grabbing; }
.stage.detail canvas { touch-action: none; }
.stage-ph {
  position: absolute; left: 50%; top: 52%; width: min(74%, 440px); height: auto; translate: -50% -50%;
  filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .55)); transition: opacity .7s ease; pointer-events: none;
}
.stage.ready .stage-ph { opacity: 0; }
.stage:not(.ready) .stage-ph { animation: ph-bob 3.2s ease-in-out infinite; }
@keyframes ph-bob { 50% { translate: -50% -53%; } }
.drag-hint {
  position: absolute; left: 50%; bottom: 8px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: var(--text);
  background: rgba(14, 9, 8, .6); border: 1px solid var(--line-2); padding: 7px 13px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity .5s, translate .5s; pointer-events: none;
}
.drag-hint.hide { opacity: 0; translate: -50% 8px; }
.drag-hint .ic { width: 18px; height: 18px; }
.hero-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.round {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text); transition: background .2s, transform .15s;
}
.round:hover { background: var(--surface-2); }
.round:active { transform: scale(.94); }
.round.dark { background: rgba(14, 9, 8, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.round[aria-pressed="true"] { background: var(--yellow); color: var(--yellow-ink); border-color: var(--ink); }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 243, 230, .25); cursor: pointer; transition: width .3s, background .3s; }
.dots button[aria-selected="true"] { width: 28px; background: var(--yellow); }

.hero-dish {
  margin-top: 14px; padding: 16px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(37, 26, 22, .92), rgba(27, 19, 16, .92));
  border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.hd-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hd-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: .05em; }
.hd-kicker .ic { width: 15px; height: 15px; fill: var(--yellow); stroke: none; }
.hd-name { font-size: clamp(22px, 5.6vw, 30px); line-height: 1.15; margin: 0; }
.hd-alt, .dish-alt { margin: 3px 0 0; font-size: 12.5px; color: var(--faint); font-family: "Rubik", sans-serif; letter-spacing: .02em; }
.hd-alt:empty, .dish-alt:empty { display: none; }
.hd-desc { color: var(--muted); font-size: 14.5px; margin: 10px 0 14px; }
.hd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hd-actions .btn { white-space: nowrap; padding: 0 12px; font-size: 14.5px; }

@media (min-width: 960px) {
  .hero { padding: 26px 0 40px; }
  .wall { height: 100%; }
  .wall::after {
    background:
      linear-gradient(90deg, rgba(14, 9, 8, .92) 0%, rgba(14, 9, 8, .6) 38%, rgba(14, 9, 8, .15) 70%, rgba(14, 9, 8, .35) 100%),
      linear-gradient(180deg, rgba(14, 9, 8, .3), rgba(14, 9, 8, .1) 50%, var(--bg) 100%);
  }
  [dir="rtl"] .wall::after {
    background:
      linear-gradient(270deg, rgba(14, 9, 8, .92) 0%, rgba(14, 9, 8, .6) 38%, rgba(14, 9, 8, .15) 70%, rgba(14, 9, 8, .35) 100%),
      linear-gradient(180deg, rgba(14, 9, 8, .3), rgba(14, 9, 8, .1) 50%, var(--bg) 100%);
  }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "copy stage" "dish stage"; column-gap: 40px; align-items: end; min-height: min(760px, calc(100vh - var(--top) - 40px)); }
  .hero-copy { align-self: end; }
  .hero-dish { align-self: start; max-width: 520px; }
  .stage-wrap { height: min(640px, 76vh); }
  .hero-stage { align-self: center; }
  .hero-sub { font-size: 16.5px; }
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 16px; border-radius: 15px; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: 15px; line-height: 1.2; border: 2px solid var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
}
.btn .ic { width: 20px; height: 20px; stroke-width: 2.1; }
.btn-primary { background: var(--yellow); color: var(--yellow-ink); box-shadow: 0 4px 0 var(--ink), 0 12px 26px rgba(243, 225, 75, .16); }
.btn-ar { background: var(--pink); color: var(--pink-ink); box-shadow: 0 4px 0 var(--ink), 0 12px 26px rgba(240, 108, 196, .16); }
.btn-primary:active, .btn-ar:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-ghost { background: rgba(255, 243, 230, .05); color: var(--text); border-color: var(--line-2); min-height: 44px; }
.btn.grow { flex: 1; justify-content: space-between; padding-inline: 18px; }
.btn.done { background: #9be37a; }

/* ---------------- price ---------------- */
.price { margin: 0; font-family: var(--f-display); font-weight: var(--dw); color: var(--price, var(--yellow)); font-size: 17px; line-height: 1.1; white-space: nowrap; letter-spacing: .01em; }
.price small { font-family: var(--f-body); font-weight: 600; color: var(--faint); font-size: 11px; margin-inline-start: 4px; letter-spacing: 0; }
.price.big { font-size: 24px; }
.price.ink { color: var(--yellow-ink); font-size: 16px; }
.price.ink small { color: rgba(26, 20, 5, .65); }

/* ---------------- categories ---------------- */
.cats { position: sticky; top: var(--top); z-index: 30; background: rgba(14, 9, 8, .84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.cats-inner { display: flex; gap: 8px; overflow-x: auto; padding: 10px max(16px, env(safe-area-inset-left)); scrollbar-width: none; max-width: 1180px; margin-inline: auto; }
.cats-inner::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 15px 0 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted);
  font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chip .ic { width: 19px; height: 19px; }
.chip b { font-weight: 600; font-size: 12px; color: var(--faint); }
.chip[aria-current="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip[aria-current="true"] b { color: rgba(14, 9, 8, .55); }

/* ---------------- menu sections ---------------- */
.menu { padding-bottom: 40px; outline: none; }
.menu-section { padding-top: 30px; scroll-margin-top: calc(var(--top) + 70px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-title { font-size: clamp(28px, 7vw, 44px); line-height: 1.1; margin: 0; position: relative; padding-bottom: 8px; }
.sec-title::after {
  content: ""; position: absolute; inset-inline-start: -2px; bottom: -4px; width: min(100%, 220px); height: 14px;
  background: var(--accent, var(--yellow));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c30-6 62-7 98-5s74 3 118-2c-2 4-6 7-12 8-34 3-70 2-104 0s-66-1-96 3c-3 0-5-2-4-4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c30-6 62-7 98-5s74 3 118-2c-2 4-6 7-12 8-34 3-70 2-104 0s-66-1-96 3c-3 0-5-2-4-4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.sec-count { color: var(--faint); font-size: 13px; font-weight: 600; white-space: nowrap; padding-bottom: 10px; }

/* feature card (dishes with a photo / 3D model) */
.feature {
  position: relative; display: grid; grid-template-columns: 1fr; overflow: hidden; margin-bottom: 12px;
  border-radius: 26px; background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.hit { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.feature-media {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(90% 70% at 50% 110%, rgba(200, 32, 47, .75), transparent 62%),
    radial-gradient(60% 55% at 85% 0%, rgba(240, 108, 196, .28), transparent 70%),
    radial-gradient(55% 50% at 5% 10%, rgba(243, 225, 75, .18), transparent 70%),
    #1f1310;
}
.feature-media .tagword {
  position: absolute; inset-inline: -4%; top: 10%; text-align: center; font-family: "Bungee", sans-serif; font-size: clamp(64px, 20vw, 150px); line-height: .9;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 243, 230, .09); transform: rotate(-6deg); white-space: nowrap; pointer-events: none; direction: ltr;
}
.feature-media img { position: absolute; inset: 6% 0 4%; margin: auto; width: auto; height: auto; max-width: 80%; max-height: 90%; object-fit: contain; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .6)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.feature:hover .feature-media img { transform: rotate(-3deg) scale(1.04); }
.badge-3d {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px;
  background: var(--pink); color: var(--pink-ink); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  font: 800 12px/1 "Rubik", sans-serif; letter-spacing: .04em;
}
.badge-3d .ic { width: 15px; height: 15px; stroke-width: 2.3; }
.feature-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.feature-body .row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.f-name { font-size: 22px; line-height: 1.2; margin: 0; }
.f-desc { color: var(--muted); font-size: 14.5px; margin: 0; }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.f-actions { display: flex; gap: 8px; position: relative; z-index: 2; }
.f-actions .btn { min-height: 44px; font-size: 14px; padding: 0 14px; }
@media (min-width: 760px) {
  .feature { grid-template-columns: 1.1fr 1fr; }
  .feature-media { aspect-ratio: auto; height: 340px; }
  .feature-body { padding: 26px 28px; justify-content: center; }
  .f-name { font-size: 30px; }
}

/* compact item cards */
.grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, background .2s, transform .2s;
}
.card:hover { border-color: var(--line-2); background: #1f1613; }
.tile {
  position: relative; width: 78px; height: 78px; border-radius: 17px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .10), transparent 55%), var(--tile, #43191a);
  color: var(--kraft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.tile svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile::after { content: "#t10"; position: absolute; bottom: 4px; inset-inline-end: 7px; font: 400 8px/1 "Bungee", sans-serif; color: rgba(220, 176, 123, .35); direction: ltr; }
.card-body { min-width: 0; }
.card-name { font-weight: 700; font-size: 16px; line-height: 1.3; margin: 0; }
.card-desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 3px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.add {
  position: relative; z-index: 2; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); transition: background .2s, transform .12s;
}
.add:hover { background: #33241e; }
.add:active { transform: scale(.92); }
.add .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.add[data-qty]:not([data-qty="0"]) { background: var(--yellow); color: var(--yellow-ink); border-color: var(--ink); }
.add[data-qty]:not([data-qty="0"])::after {
  content: attr(data-qty); position: absolute; top: -7px; inset-inline-end: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
  display: grid; place-items: center; background: var(--pink); color: var(--pink-ink); border: 2px solid var(--ink); font: 800 11px/1 "Rubik", sans-serif;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 8px 3px 6px; border-radius: 99px; border: 1px solid; line-height: 1.4; }
.tag .ic { width: 13px; height: 13px; stroke-width: 2.2; }
.tag.best { color: var(--yellow); border-color: rgba(243, 225, 75, .35); }
.tag.best .ic { fill: var(--yellow); stroke: none; }
.tag.spicy { color: #ff8a5c; border-color: rgba(255, 138, 92, .35); }
.tag.new { color: var(--pink); border-color: rgba(240, 108, 196, .35); }
.card .tags { margin-top: 6px; }


/* picture cards (every dish with a 3D render) */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1080px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s, background .2s;
}
.pcard:hover { border-color: var(--line-2); background: #1f1613; transform: translateY(-2px); }
.pc-media {
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 100%, rgba(200, 32, 47, .55), transparent 70%),
    radial-gradient(60% 50% at 80% 0%, rgba(240, 108, 196, .16), transparent 70%),
    #221512;
}
.pc-media img { position: absolute; inset: 8% 8% 6%; margin: auto; width: auto; height: auto; max-width: 84%; max-height: 86%; object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .55)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover .pc-media img { transform: scale(1.05) rotate(-2deg); }
.badge-3d.sm { top: 8px; inset-inline-start: 8px; padding: 4px 8px 4px 6px; font-size: 11px; box-shadow: 0 2px 0 var(--ink); }
.badge-3d.sm .ic { width: 13px; height: 13px; }
.pc-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.pc-name { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; }
.pc-desc { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-lang="ku"] .pc-desc, html[data-lang="ar"] .pc-desc { line-height: 1.7; }
.pc-body .tags { margin-top: 2px; }
.pc-body .tag { font-size: 10.5px; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.pc-foot .price { font-size: 15px; }
.pc-foot .price small { font-size: 10px; }
.pc-foot .add { width: 38px; height: 38px; }
@media (min-width: 720px) { .pc-name { font-size: 16px; } .pc-desc { font-size: 13px; } .pc-body { padding: 12px 14px 14px; } }
.feature + .pgrid { margin-top: 0; }

/* ---------------- footer ---------------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 120px; background: linear-gradient(180deg, transparent, rgba(200, 32, 47, .07)); }
.foot-grid { display: grid; gap: 22px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-line { font-size: 20px; margin: 0; line-height: 1.3; }
.foot-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-info li, .foot-info a { display: flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot-info a:hover { color: var(--text); }
.foot-note { color: var(--faint); font-size: 12.5px; margin: 0; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: center; } }

/* ---------------- order bar ---------------- */
.order-bar {
  position: fixed; z-index: 50; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 9px; border-radius: 19px; cursor: pointer; text-align: start;
  background: var(--yellow); color: var(--yellow-ink); border: 2px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink), 0 22px 44px rgba(0, 0, 0, .5);
  transform: translateY(160%); transition: transform .45s cubic-bezier(.2, .9, .2, 1.1);
}
.order-bar:not(.show) { visibility: hidden; transition: transform .45s cubic-bezier(.2, .9, .2, 1.1), visibility 0s .45s; }
.order-bar.show { transform: none; }
.ob-icon { position: relative; width: 44px; height: 44px; border-radius: 13px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; }
.ob-icon b { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: var(--pink); color: var(--pink-ink); border: 2px solid var(--ink); display: grid; place-items: center; font: 800 11px/1 "Rubik", sans-serif; }
.ob-text { flex: 1; display: grid; line-height: 1.2; font-weight: 800; font-size: 15px; }
.ob-text small { font-weight: 600; font-size: 11.5px; opacity: .7; }
.ob-total { color: var(--yellow-ink); font-size: 17px; }
.ob-total small { color: rgba(26, 20, 5, .6); }
.order-bar.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.04); } }
@media (min-width: 720px) { .order-bar { inset-inline: auto 22px; width: 380px; } }

/* ---------------- sheets ---------------- */
.sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(5, 3, 2, .66); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; transition: opacity .3s; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel:focus { outline: none; }
.sheet-panel {
  position: relative; width: 100%; max-height: 94dvh; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 28px 28px 0 0;
  transform: translateY(104%); transition: transform .45s cubic-bezier(.2, .9, .2, 1);
  box-shadow: 0 -30px 80px rgba(0, 0, 0, .55);
}
.sheet.open .sheet-panel { transform: none; }

.dish-panel { height: 94dvh; }
.dish-stage {
  position: relative; flex: none; height: 46dvh; min-height: 290px; overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 58%, rgba(240, 108, 196, .18), transparent 62%),
    radial-gradient(70% 45% at 50% 105%, rgba(200, 32, 47, .45), transparent 70%),
    #120b0a;
}
.dish-stage .stage-ph { width: min(70%, 420px); }
.dish-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .45s; }
.dish-stage.photo .dish-photo { opacity: 1; pointer-events: auto; }
.dish-stage.photo .stage, .dish-stage.photo .stage-tools, .dish-stage.photo .stage-hint { opacity: 0; pointer-events: none; }
.dish-tile { position: absolute; inset: 0; display: grid; place-items: center; color: var(--kraft); background: radial-gradient(60% 60% at 50% 50%, var(--tile, #43191a), transparent 75%); }
.dish-tile svg { width: 34%; max-width: 180px; height: auto; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.stage-top { position: absolute; top: 12px; inset-inline: 12px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.seg { display: flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(14, 9, 8, .62); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--muted); min-height: 36px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; }
.seg button .ic { width: 17px; height: 17px; }
.seg button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.seg[hidden] { display: none; }
.stage-tools { position: absolute; bottom: 12px; inset-inline: 12px; display: flex; gap: 8px; align-items: center; z-index: 3; transition: opacity .3s; }
.pill-ar {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: var(--pink); color: var(--pink-ink); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-weight: 800; font-size: 13.5px;
}
.stage-hint { position: absolute; top: 60px; left: 50%; translate: -50% 0; margin: 0; font-size: 12px; color: var(--muted); background: rgba(14, 9, 8, .5); padding: 4px 10px; border-radius: 99px; white-space: nowrap; transition: opacity .4s; pointer-events: none; }
.stage-hint.hide { opacity: 0; }
.dish-side { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.dish-info { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 20px 10px; overscroll-behavior: contain; }
.dish-name { font-size: clamp(24px, 6.4vw, 34px); line-height: 1.2; margin: 8px 0 0; }
.dish-desc { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.dish-inside h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 20px 0 10px; }
.dish-inside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pairs h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 22px 0 10px; }
.pairs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pairs li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.pairs .tile { width: 44px; height: 44px; border-radius: 12px; }
.pairs .tile svg { width: 24px; height: 24px; }
.pairs .tile::after { display: none; }
.pairs .tile.has-img { background: radial-gradient(circle at 50% 30%, rgba(255, 243, 230, .12), transparent 70%), #2c211c; }
.pairs .tile img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
.pairs b { display: block; font-size: 14.5px; line-height: 1.3; }
.pairs .price { font-size: 13.5px; }
.pairs .add { width: 38px; height: 38px; }
.dish-inside li { padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; }
.dish-actions { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.stepper { display: flex; align-items: center; border-radius: 15px; border: 1px solid var(--line-2); background: var(--surface); }
.stepper button { width: 44px; height: 48px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.stepper output { min-width: 26px; text-align: center; font-weight: 800; font-size: 17px; font-family: "Rubik", sans-serif; }
@media (min-width: 900px) {
  .sheet { align-items: center; }
  .sheet-panel { width: min(1080px, 94vw); border-radius: 30px; border-bottom: 1px solid var(--line-2); transform: translateY(26px) scale(.98); opacity: 0; transition: transform .38s cubic-bezier(.2, .9, .2, 1), opacity .25s; }
  .sheet.open .sheet-panel { transform: none; opacity: 1; }
  .dish-panel { flex-direction: row; height: min(700px, 90vh); }
  .dish-stage { height: auto; flex: 1.2; }
  .dish-side { flex: 1; border-inline-start: 1px solid var(--line); }
  .dish-info { padding: 34px 32px 16px; }
  .dish-actions { padding: 16px 24px 20px; }
}

/* order sheet */
.order-panel { max-height: 86dvh; padding: 18px 18px calc(16px + env(safe-area-inset-bottom)); }
.order-head { display: flex; align-items: center; justify-content: space-between; }
.order-head h2 { margin: 0; font-size: 26px; }
.order-note { display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; color: var(--muted); font-size: 13.5px; }
.order-note .ic { color: #9be37a; }
.order-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 60px; }
.order-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.ol-name { font-weight: 700; font-size: 15.5px; }
.ol-unit { color: var(--faint); font-size: 12.5px; }
.ol-right { display: flex; align-items: center; gap: 10px; grid-row: span 2; }
.ol-right .stepper button { width: 38px; height: 40px; }
.order-empty { color: var(--faint); text-align: center; padding: 30px 0; }
.order-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; }
.order-total { display: grid; justify-items: end; gap: 2px; color: var(--muted); font-size: 13px; font-weight: 600; }
@media (min-width: 900px) { .order-panel { width: min(520px, 94vw); } }

/* qr */
.qr-panel { padding: 26px 24px calc(28px + env(safe-area-inset-bottom)); align-items: center; text-align: center; gap: 6px; }
.qr-panel h2 { font-size: 22px; margin: 12px 0 0; }
.qr-panel p { color: var(--muted); margin: 4px 0 0; max-width: 34ch; }
.qr-code { background: #fff; padding: 12px; border-radius: 18px; width: 220px; height: 220px; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--pink); }
.qr-code svg { width: 100%; height: 100%; }
.qr-close { position: absolute; top: 14px; inset-inline-end: 14px; }
@media (min-width: 900px) { .qr-panel { width: 420px; } }

/* toast */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); translate: -50% 20px; opacity: 0;
  padding: 10px 16px; border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px;
  transition: opacity .3s, translate .3s; pointer-events: none; white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}
.toast.show { opacity: 1; translate: -50% 0; }
.noscript { position: relative; z-index: 2; text-align: center; padding: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   GUEST MODES — "Who's eating today?"
   html[data-mode] = quick | fit | kids | chef | mood | all
   Each mode is its own menu: own colours, type, layout and cards.
   ========================================================= */
html[data-mode="quick"] { --mode-accent: #f3e14b; --mode-ink: #1a1405; }
html[data-mode="fit"]   { --mode-accent: #8ce99a; --mode-ink: #06200c; }
html[data-mode="chef"]  { --mode-accent: #d9a75a; --mode-ink: #1d1406; }
html[data-mode="kids"]  { --mode-accent: #4cc3ff; --mode-ink: #04212f; }
html[data-mode="mood"]  { --mode-accent: var(--ma); --mode-ink: #1a0b10; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-deco:empty { display: none; }

/* ---------- mode pill (top bar) ---------- */
.mode-pill {
  margin-inline-start: auto; flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; max-width: 46vw; padding: 0 10px 0 9px; border-radius: 999px; cursor: pointer;
  background: var(--mode-accent); color: var(--mode-ink); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  font-weight: 800; font-size: 13px; line-height: 1; white-space: nowrap; transition: transform .12s;
}
.mode-pill:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.mode-pill span { overflow: hidden; text-overflow: ellipsis; }
.mode-pill .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.mode-pill .mp-down { width: 15px; height: 15px; opacity: .7; }
html[data-mode="all"] .mode-pill { background: var(--surface); color: var(--text); border-color: var(--line-2); box-shadow: none; }
.topbar { gap: 8px; }
@media (max-width: 560px) { .brand-text { display: none; } }
@media (max-width: 420px) {
  .mode-pill .mp-down { display: none; }
  .mode-pill { padding: 0 11px 0 9px; }
  .lang button { padding: 0 8px; }
  .brand-badge { width: 52px; }
}

/* ---------- "who's eating" picker: every tile is a tiny poster of its menu ---------- */
.mode-panel { padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; }
.mode-panel .order-head h2 { margin: 0; font-size: clamp(24px, 6.4vw, 30px); line-height: 1.25; }
.mp-sub { color: var(--muted); margin: 4px 0 16px; font-size: 14px; }
.mp-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .mp-grid { grid-template-columns: 1fr 1fr; } .mtile-all { grid-column: 1 / -1; } }
@media (min-width: 900px) { .mode-panel { width: min(760px, 94vw); padding: 26px; } }
.mtile {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 26px; align-items: center; gap: 14px;
  padding: 12px 14px 12px 12px; border-radius: 22px; cursor: pointer; text-align: start; font: inherit;
  background: var(--surface); border: 2px solid var(--line-2); color: var(--text); transition: transform .12s, border-color .2s, background .2s;
}
.mtile:hover { border-color: var(--tc); }
.mtile:active { transform: scale(.98); }
.mt-art { position: relative; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.mt-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tc); color: var(--tci); border: 2px solid var(--ink); }
.mt-icon .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.mt-text { display: grid; gap: 2px; min-width: 0; }
.mt-text em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tc); }
html[data-lang="ku"] .mt-text em, html[data-lang="ar"] .mt-text em { letter-spacing: 0; font-size: 12px; }
.mt-text b { font-size: 17px; font-weight: 800; line-height: 1.3; }
.mt-text small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.mt-check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; }
.mt-check .ic { width: 16px; height: 16px; stroke-width: 3; }
.mtile[aria-pressed="true"] { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 9%, var(--surface)); }
.mtile[aria-pressed="true"] .mt-check { background: var(--tc); border-color: var(--tc); color: var(--tci); }
.m-quick { --tc: #f3e14b; --tci: #1a1405; }
.m-fit   { --tc: #8ce99a; --tci: #06200c; }
.m-kids  { --tc: #4cc3ff; --tci: #04212f; }
.m-chef  { --tc: #d9a75a; --tci: #1d1406; }
.m-mood  { --tc: #c59bff; --tci: #1a0b2e; }
.m-quick .mt-art { background: repeating-linear-gradient(-45deg, #f3e14b 0 9px, #1a1405 9px 18px); }
.m-fit .mt-art { background: radial-gradient(circle, transparent 0 22px, #8ce99a 23px 26px, transparent 27px), radial-gradient(circle, transparent 0 28px, rgba(108, 198, 255, .7) 29px 31px, transparent 32px), #0c1611; }
.m-fit .mt-icon { background: #0c1611; color: #8ce99a; border-color: #8ce99a; }
.m-kids .mt-art { background: radial-gradient(circle at 18% 22%, #ff6fae 0 5px, transparent 6px), radial-gradient(circle at 82% 26%, #59d98e 0 4px, transparent 5px), radial-gradient(circle at 76% 82%, #ffd23f 0 6px, transparent 7px), radial-gradient(circle at 20% 80%, #9b7bff 0 4px, transparent 5px), #dff3ff; }
.m-kids .mt-icon { border-radius: 50%; }
.m-chef .mt-art { background: radial-gradient(70% 60% at 50% 100%, rgba(217, 167, 90, .35), transparent 70%), #0b0a09; outline: 1px solid rgba(217, 167, 90, .7); outline-offset: -7px; }
.m-chef .mt-icon { background: transparent; color: #d9a75a; border: 0; }
.m-chef .mt-icon .ic { width: 30px; height: 30px; stroke-width: 1.6; }
.m-mood .mt-art { background: linear-gradient(135deg, #ff8a3d, #ff3d6e 38%, #a37bff 68%, #3fb6ff); }
.m-mood .mt-icon { background: rgba(255, 255, 255, .35); color: #1a0b2e; border-color: rgba(26, 11, 46, .5); }
.mtile-all {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 16px; cursor: pointer; font: inherit;
  border: 1px dashed var(--line-2); background: transparent; color: var(--muted); font-weight: 700; font-size: 14.5px;
}
.mtile-all[aria-pressed="true"] { border-style: solid; color: var(--text); }
.mtile-all .ic { width: 18px; height: 18px; }

/* ---------- mode panel (top of the menu) ---------- */
.mode-view { position: relative; z-index: 1; padding: 22px 0 8px; }
.mv-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.mv-icon { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--mode-accent); color: var(--mode-ink); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.mv-icon .ic { width: 27px; height: 27px; stroke-width: 2.1; }
.mv-title { font-size: clamp(22px, 6vw, 34px); line-height: 1.15; margin: 2px 0 0; }
html[data-lang="ku"] .mv-title, html[data-lang="ar"] .mv-title { line-height: 1.5; }
.mv-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.mv-h3 { display: flex; align-items: center; gap: 7px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 24px 0 10px; font-weight: 800; }
html[data-lang="ku"] .mv-h3, html[data-lang="ar"] .mv-h3 { letter-spacing: 0; font-size: 14px; }
.mv-h3 .ic { width: 17px; height: 17px; color: var(--mode-accent); }
.mv-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; margin: 12px 0 0; }
.mv-note .ic { width: 17px; height: 17px; color: var(--mode-accent); }

/* small shared pieces */
.thumb { position: relative; flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; color: var(--kraft);
  background: radial-gradient(70% 60% at 50% 100%, rgba(200, 32, 47, .45), transparent 70%), var(--surface-2); }
.thumb img, .nc-pic img, .gb-pic img, .kc-pic img, .hb-pic img, .hb-in-pic img, .mpk-pic img, .ms-pic img, .pl-pic img, .rl-pic img, .lo-pic img, .mp img {
  position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .45)); }
.thumb svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mins { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.mins .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.mins.fast { color: #8ee59a; }
.mins.mid { color: #f3e14b; }
.mins.slow { color: #ffa36b; }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: 13px; border-radius: 12px; position: relative; z-index: 2; white-space: nowrap; }
.btn.sm .ic { width: 17px; height: 17px; }
.hb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.stepper button:disabled { opacity: .35; cursor: default; }
.dish-mode h3, .hd-extra h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 20px 0 10px; }
html[data-lang="ku"] .dish-mode h3, html[data-lang="ar"] .dish-mode h3 { letter-spacing: 0; font-size: 14px; }
.hd-extra { display: grid; gap: 10px; margin: -4px 0 14px; }
.hd-step { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.hd-step b { color: var(--mode-accent); margin-inline-end: 4px; }
.taste { display: flex; flex-wrap: wrap; gap: 6px; }
.taste span { padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.6; }

/* order sheet: one block per mode at the top */
.order-mode { margin: 0 0 8px; }
.om-line { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; }
.om-line .ic { color: var(--mode-accent); }
.om-macros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.om-macros .nut-tile b { font-size: 18px; }
.om-split { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: 13.5px; }
.om-split > span { display: flex; gap: 8px; align-items: center; }
.om-split > span .ic { color: var(--mode-accent); }
.om-split .stepper button { width: 36px; height: 38px; }
.order-list li.ol-course { display: block; padding: 16px 0 2px; border: 0; color: var(--mode-accent); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
html[data-lang="ku"] .order-list li.ol-course, html[data-lang="ar"] .order-list li.ol-course { letter-spacing: 0; font-size: 13.5px; }

/* =========================================================
   QUICK — "Express": black + yellow menu board, built for speed
   ========================================================= */
html[data-mode="quick"] {
  --bg: #0c0b09; --bg-2: #13120e; --surface: #191712; --surface-2: #24211a;
  --line: rgba(255, 240, 180, .09); --line-2: rgba(255, 240, 180, .18);
  --text: #fffbea; --muted: #d3caa9; --faint: #a89f80;
}
html[data-mode="quick"] body::before { background: radial-gradient(40vmax 26vmax at 100% 0%, rgba(243, 225, 75, .10), transparent 70%), radial-gradient(36vmax 26vmax at 0% 60%, rgba(243, 225, 75, .05), transparent 70%); }
html[data-mode="quick"] .topbar { background: rgba(12, 11, 9, .88); }
html[data-mode="quick"] .cats { background: rgba(12, 11, 9, .92); }
html[data-mode="quick"] .chip[aria-current="true"] { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
html[data-mode="quick"] .hero { display: none; }
html[data-mode="quick"] .mode-view { padding-top: 0; background: linear-gradient(180deg, rgba(243, 225, 75, .08), transparent 340px); }
html[data-mode="quick"] .mode-view > .container { padding-top: 18px; }
html[data-mode="quick"] .footer { background: linear-gradient(180deg, transparent, rgba(243, 225, 75, .06)); }

.express { direction: ltr; background: var(--yellow); color: var(--yellow-ink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.ticker { display: flex; width: max-content; direction: ltr; animation: tick 30s linear infinite; }
[dir="rtl"] .ticker { animation-direction: reverse; }
.ticker span { white-space: nowrap; padding: 8px 0; font: 400 13px/1.3 "Bungee", "Rubik", sans-serif; letter-spacing: .05em; }
html[data-lang="ku"] .ticker span, html[data-lang="ar"] .ticker span { font-family: "Noto Kufi Arabic", sans-serif; font-weight: 800; letter-spacing: 0; direction: rtl; unicode-bidi: isolate; padding-inline: 0 6px; }
@keyframes tick { to { transform: translateX(-50%); } }

.qsteps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; counter-reset: q; }
.qsteps li { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; line-height: 1.3; }
.qsteps i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--yellow-ink); font: 400 13px/1 var(--f-display); font-style: normal; }
@media (max-width: 420px) { .qsteps li { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; font-size: 12px; } }

.qtime { margin: 14px 0 0; padding: 14px; border-radius: 20px; background: linear-gradient(135deg, rgba(243, 225, 75, .13), rgba(243, 225, 75, .03)); border: 1px solid rgba(243, 225, 75, .35); }
.qt-label { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; font-weight: 800; font-size: 15.5px; }
.qt-label .ic { color: var(--yellow); }
.qt-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.qt-seg button { min-height: 48px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: transform .12s; }
.qt-seg button .ic { width: 17px; height: 17px; }
.qt-seg button:active { transform: translateY(2px); }
.qt-seg button[aria-checked="true"] { background: var(--yellow); color: var(--yellow-ink); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }

/* combo board */
.combos { display: grid; gap: 10px; }
@media (min-width: 700px) { .combos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .combos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.combo { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); grid-template-areas: "n pics" "n body"; gap: 8px 12px; padding: 12px;
  border-radius: 22px; background: var(--surface); border: 2px solid var(--line-2); transition: border-color .2s; }
.combo:hover { border-color: rgba(243, 225, 75, .55); }
.combo-n { grid-area: n; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 16px; text-align: center;
  background: var(--yellow); color: var(--yellow-ink); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.combo-n small { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.combo-n b { font: 400 36px/1 var(--f-display); }
.combo-n.sm { width: 34px; height: 34px; border-radius: 10px; flex: none; box-shadow: 0 2px 0 var(--ink); }
.combo-n.sm b { font-size: 18px; }
.combo-pics { grid-area: pics; position: relative; height: 96px; display: flex; justify-content: center; align-items: flex-end; border-radius: 16px; overflow: hidden;
  background: radial-gradient(80% 80% at 50% 100%, rgba(243, 225, 75, .28), transparent 70%), var(--surface-2); }
.combo-pics .mp { position: relative; width: 34%; height: 82%; margin-inline: -4%; }
.combo-pics .mp:first-child { order: 2; width: 50%; height: 100%; z-index: 2; }
.combo-pics .mp:nth-child(2) { order: 1; }
.combo-pics .mp:nth-child(3) { order: 3; }
.combo-pics img { inset: auto 0 5% 0; margin: auto; width: 100%; height: 92%; object-position: center bottom; }
.combo-body { grid-area: body; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.combo-name { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; }
.combo-items { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.combo-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.combo-foot .price.big { font-size: 22px; }
.combo-add { width: 100%; min-height: 46px; margin-top: 6px; }
.q-none, .q-hidden { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--line-2); color: var(--muted); font-size: 14px; font-weight: 600; }
.q-none .ic, .q-hidden .ic { color: var(--yellow); }
.q-hidden { margin-top: 22px; }
.q-hidden span { flex: 1; min-width: 160px; }
.q-none span { flex: 1; min-width: 0; }
.q-none { flex-wrap: nowrap; }

/* grab & go strip */
.grab { display: grid; grid-auto-flow: column; grid-auto-columns: 136px; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left))); padding: 2px max(16px, env(safe-area-inset-left)) 6px; }
.grab::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .grab { margin-inline: -24px; padding-inline: 24px; } }
.grab-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); }
.gb-pic { position: relative; display: block; height: 80px; border-radius: 12px; background: radial-gradient(70% 70% at 50% 100%, rgba(142, 229, 154, .22), transparent 70%), var(--surface-2); }
.grab-card > b { font-size: 13.5px; line-height: 1.3; margin-top: 2px; }
.gb-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 2px; }
.gb-foot .price { font-size: 14px; }
.gb-foot .add { width: 34px; height: 34px; border-radius: 11px; }

/* last order */
.last-order { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 12px; margin-bottom: 4px;
  border-radius: 20px; background: var(--surface); border: 2px solid var(--mode-accent); }
.last-order .btn { grid-column: 1 / -1; }
.lo-pics { display: flex; }
.lo-pic { position: relative; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--surface); }
.lo-pic + .lo-pic { margin-inline-start: -12px; }
.lo-text { display: grid; gap: 1px; min-width: 0; }
.lo-text small { color: var(--faint); font-size: 12px; font-weight: 700; }
.lo-text b { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* compact rows (Quick lists, Fit ranking) */
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 760px) { .qlist { grid-template-columns: 1fr 1fr; } }
.qrow { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px 8px 8px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.qrow:hover { border-color: var(--line-2); }
.qr-main { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.qr-main b { font-size: 15px; line-height: 1.3; }
.qr-side { display: flex; align-items: center; gap: 10px; }
.qr-side .price { font-size: 15px; }
.qr-side .price small { font-size: 10px; }
html[data-mode="quick"] .qrow .mins { padding: 1px 8px 1px 6px; border-radius: 99px; border: 1px solid currentColor; }
.menu-section.board { padding-top: 22px; }
.menu-section.board .sec-head { align-items: center; padding: 10px 14px; margin-bottom: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); border-inline-start: 6px solid var(--yellow); }
.menu-section.board .sec-title { font-size: clamp(20px, 5.6vw, 28px); padding-bottom: 0; }
.menu-section.board .sec-title::after { display: none; }
.menu-section.board .sec-count { padding-bottom: 0; text-align: end; }
.dm-ready { display: inline-flex; gap: 8px; align-items: center; margin: 14px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; }
.dm-ready.fast .ic { color: #8ee59a; } .dm-ready.mid .ic { color: #f3e14b; } .dm-ready.slow .ic { color: #ffa36b; }
.dm-combos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dm-combos li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.dmc-main { flex: 1; display: grid; min-width: 0; }
.dmc-main b { font-size: 14.5px; }
.dmc-main small { color: var(--muted); font-size: 12px; line-height: 1.45; }

/* the order becomes a paper ticket */
html[data-mode="quick"] .order-list {
  --zz: radial-gradient(circle at 8px 0, transparent 6px, #000 6.5px) top / 16px 51% repeat-x, radial-gradient(circle at 8px 100%, transparent 6px, #000 6.5px) bottom / 16px 51% repeat-x;
  -webkit-mask: var(--zz); mask: var(--zz);
  background: #fffbea; color: #1a1405; padding: 14px 16px; border-radius: 4px;
}
html[data-mode="quick"] .order-list li { border-bottom-color: rgba(26, 20, 5, .25); }
html[data-mode="quick"] .order-list li:last-child { border-bottom: 0; }
html[data-mode="quick"] .order-list .ol-unit { color: #6d6447; }
html[data-mode="quick"] .order-list .ol-name { font-family: var(--f-display); font-weight: var(--dw); font-size: 15px; }
html[data-mode="quick"] .order-list .stepper { background: #fff; border-color: rgba(26, 20, 5, .2); }
html[data-mode="quick"] .order-list .stepper button { color: #1a1405; }
html[data-mode="quick"] .order-list .order-empty { color: #6d6447; }

/* =========================================================
   FIT — "Macro lab": dark green, sporty, numbers first
   ========================================================= */
html[data-mode="fit"] {
  --bg: #08100c; --bg-2: #0c1611; --surface: #111c16; --surface-2: #19271f;
  --line: rgba(190, 255, 210, .08); --line-2: rgba(190, 255, 210, .17);
  --text: #effff3; --muted: #b6cebe; --faint: #8fab99; --price: var(--text);
  --c-p: #8ce99a; --c-c: #6cc6ff; --c-f: #ffb35c;
}
html[data-mode="fit"][data-lang="en"] { --f-display: "Rubik", system-ui, sans-serif; --dw: 800; }
html[data-mode="fit"][data-lang="en"] .sec-title, html[data-mode="fit"][data-lang="en"] .mv-title,
html[data-mode="fit"][data-lang="en"] .hero-title, html[data-mode="fit"][data-lang="en"] .hd-name { font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
html[data-mode="fit"] body::before {
  background:
    radial-gradient(40vmax 30vmax at 100% 0%, rgba(140, 233, 154, .11), transparent 70%),
    radial-gradient(38vmax 28vmax at 0% 40%, rgba(108, 198, 255, .07), transparent 70%),
    radial-gradient(50vmax 36vmax at 60% 100%, rgba(140, 233, 154, .07), transparent 70%);
}
html[data-mode="fit"] .topbar { background: rgba(8, 16, 12, .86); }
html[data-mode="fit"] .cats { background: rgba(8, 16, 12, .9); }
html[data-mode="fit"] #wallTint stop:first-child { stop-color: #1f4a32; }
html[data-mode="fit"] #wallTint stop:last-child { stop-color: #0f2a1d; }
html[data-mode="fit"] .wall-letters .w-top { fill: #7fd98d; }
html[data-mode="fit"] .wall-letters .w-bot { fill: #49a8dc; }
html[data-mode="fit"] .wall::after { background: radial-gradient(70% 60% at 50% 58%, rgba(8, 16, 12, .1), rgba(8, 16, 12, .6) 100%), linear-gradient(180deg, rgba(8, 16, 12, .75), rgba(8, 16, 12, .3) 40%, var(--bg) 100%); }
html[data-mode="fit"] .eyebrow, html[data-mode="fit"] .badge-3d { background: var(--fit); color: #06200c; }
html[data-mode="fit"] .round[aria-pressed="true"] { background: var(--fit); color: #06200c; }
html[data-mode="fit"] .btn-ar, html[data-mode="fit"] .pill-ar { background: var(--c-c); color: #04202f; box-shadow: 0 4px 0 var(--ink), 0 12px 26px rgba(108, 198, 255, .16); }
html[data-mode="fit"] .btn-primary { background: var(--fit); color: #06200c; box-shadow: 0 4px 0 var(--ink), 0 12px 26px rgba(140, 233, 154, .16); }
html[data-mode="fit"] .order-bar, html[data-mode="fit"] .add[data-qty]:not([data-qty="0"]) { background: var(--fit); color: #06200c; }
html[data-mode="fit"] .ob-icon { color: var(--fit); }
html[data-mode="fit"] .ob-total, html[data-mode="fit"] .price.ink { color: #06200c; }
html[data-mode="fit"] .hd-kicker { color: var(--fit); }
html[data-mode="fit"] .hd-kicker .ic { fill: var(--fit); }
html[data-mode="fit"] .dots button[aria-selected="true"], html[data-mode="fit"] .lang button[aria-pressed="true"] { background: var(--fit); color: #06200c; }
html[data-mode="fit"] .chip[aria-current="true"] { background: var(--fit); color: #06200c; border-color: var(--fit); }
html[data-mode="fit"] .sec-title::after { background: var(--fit); }
html[data-mode="fit"] .stage-wrap::before { background: radial-gradient(closest-side, rgba(140, 233, 154, .2), rgba(140, 233, 154, 0) 72%); }
html[data-mode="fit"] .dish-stage { background: radial-gradient(80% 70% at 50% 58%, rgba(140, 233, 154, .16), transparent 62%), radial-gradient(70% 45% at 50% 105%, rgba(108, 198, 255, .2), transparent 70%), #0a130e; }
html[data-mode="fit"] .thumb, html[data-mode="fit"] .nc-pic, html[data-mode="fit"] .pairs .tile.has-img {
  background: radial-gradient(70% 60% at 50% 105%, rgba(70, 170, 110, .5), transparent 70%), radial-gradient(60% 50% at 85% 0%, rgba(108, 198, 255, .14), transparent 70%), #13201a;
}
html[data-mode="fit"] .footer { background: linear-gradient(180deg, transparent, rgba(140, 233, 154, .06)); }

/* goals */
.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) {
  .goals { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * max(16px, env(safe-area-inset-left))); padding: 2px max(16px, env(safe-area-inset-left)) 8px; }
  .goals::-webkit-scrollbar { display: none; }
}
.goal { position: relative; display: grid; gap: 3px; align-content: start; text-align: start; padding: 14px; border-radius: 20px; cursor: pointer; scroll-snap-align: start;
  background: var(--surface); border: 2px solid var(--line-2); color: var(--text); font: inherit; transition: border-color .2s, background .2s; }
.goal-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(140, 233, 154, .12); color: var(--fit); margin-bottom: 6px; }
.goal-ic .ic { width: 23px; height: 23px; stroke-width: 2.1; }
.goal b { font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.goal small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.goal-tg { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.goal-tg i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.goal[aria-checked="true"] { border-color: var(--fit); background: linear-gradient(160deg, rgba(140, 233, 154, .17), rgba(140, 233, 154, .03) 60%), var(--surface); box-shadow: 0 0 0 3px rgba(140, 233, 154, .14); }
.goal[aria-checked="true"] .goal-ic { background: var(--fit); color: #06200c; }
.goal[aria-checked="true"] .goal-tg i { background: rgba(140, 233, 154, .16); color: var(--text); }

/* meal tracker + top 5 */
.fit-grid { display: grid; gap: 4px 18px; margin-top: 14px; }
@media (min-width: 900px) { .fit-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; } .fit-top .mv-h3 { margin-top: 2px; } }
.tracker { padding: 16px; border-radius: 24px; background: radial-gradient(120% 90% at 100% 0%, rgba(140, 233, 154, .15), transparent 60%), var(--surface); border: 1px solid rgba(140, 233, 154, .32); }
.tr-head h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.tr-head p { margin: 3px 0 14px; color: var(--muted); font-size: 12.5px; }
.rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ring { display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.r-dial { position: relative; width: min(100%, 80px); aspect-ratio: 1; }
.r-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.r-bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 7; }
.r-fg { fill: none; stroke: var(--rc); stroke-width: 7; stroke-linecap: round; transition: stroke-dasharray .7s cubic-bezier(.2, .8, .2, 1); }
.ring.r-protein { --rc: var(--c-p); }
.ring.r-kcal { --rc: #f1eee2; }
.ring.r-carbs { --rc: var(--c-c); }
.ring.r-fat { --rc: var(--c-f); }
.ring.over { --rc: #ff6b5b; }
.ring.done .r-dial::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; box-shadow: 0 0 0 2px var(--c-p), 0 0 18px rgba(140, 233, 154, .45); }
.r-val { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1.05; }
.r-val b { font: 800 17px/1.05 "Rubik", "Noto Kufi Arabic", sans-serif; }
.r-val small { font-size: 9.5px; color: var(--faint); font-weight: 600; }
.r-lbl { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.ring.over .r-lbl { color: #ff8f80; }
.tr-msg { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; padding: 9px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; font-weight: 700; }
.tr-msg .ic { width: 18px; height: 18px; color: var(--fit); }
.tr-msg.good { background: rgba(140, 233, 154, .14); color: var(--fit); }
.tr-msg.over { color: #ff8f80; }
.tr-msg.over .ic { color: #ff8f80; }

.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank-row { position: relative; display: grid; grid-template-columns: 20px 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px 8px 8px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.rank-row:first-child { border-color: rgba(140, 233, 154, .45); }
.rank-n { font: 800 16px/1 "Rubik", "Noto Kufi Arabic", sans-serif; color: var(--faint); text-align: center; }
.rank-row:first-child .rank-n { color: var(--fit); }
.rank-main { display: grid; gap: 5px; min-width: 0; }
.rank-main > b { font-size: 14.5px; line-height: 1.3; }
.meter { display: block; height: 8px; border-radius: 99px; background: rgba(140, 233, 154, .14); overflow: hidden; }
.meter-bar { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #4fbf74, var(--fit)); }
.rank-val { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.rank-val b { font-size: 14px; color: var(--text); }
.rank-val small { color: var(--faint); font-size: 11.5px; }
.rank-row .qr-side { flex-direction: column; align-items: flex-end; gap: 6px; }

/* nutrition cards */
.menu-section.lab .sec-count { padding: 4px 10px; margin-bottom: 8px; border-radius: 99px; background: rgba(140, 233, 154, .1); color: var(--fit); border: 1px solid rgba(140, 233, 154, .3); }
.ngrid { display: grid; gap: 10px; }
@media (min-width: 760px) { .ngrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1140px) { .ngrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ncard { position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px 12px; align-items: start; padding: 12px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.ncard:hover { border-color: rgba(140, 233, 154, .35); }
.nc-pic { position: relative; width: 82px; height: 82px; border-radius: 18px; display: grid; place-items: center; color: var(--kraft); }
.nc-pic svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.nc-main { min-width: 0; }
.nc-name { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.3; }
.nc-big { display: flex; align-items: flex-end; gap: 5px; margin: 6px 0 7px; }
.nc-big > b { font: 800 32px/.9 "Rubik", "Noto Kufi Arabic", sans-serif; color: var(--c-p); }
.nc-big > span { display: grid; font-weight: 800; font-size: 13px; line-height: 1.05; color: var(--c-p); }
.nc-big > span small { color: var(--muted); font-weight: 600; font-size: 11px; }
.nc-big em { margin-inline-start: auto; font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.nc-big em b { color: var(--text); font-size: 15px; font-weight: 800; }
.split { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--surface-2); }
.split i { width: var(--w); flex: none; }
.sp-p { background: var(--c-p, #8ce99a); }
.sp-c { background: var(--c-c, #6cc6ff); }
.sp-f { background: var(--c-f, #ffb35c); }
.nc-row, .split-key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 7px 0 0; font-size: 12px; color: var(--muted); }
.k-p::before, .k-c::before, .k-f::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 5px; vertical-align: 0; }
.k-p::before { background: var(--c-p); } .k-c::before { background: var(--c-c); } .k-f::before { background: var(--c-f); }
.nc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.verdict { display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; border: 1px solid; line-height: 1.4; }
.v-good { color: #8ce99a; border-color: rgba(140, 233, 154, .45); background: rgba(140, 233, 154, .08); }
.v-ok { color: #ffd66b; border-color: rgba(255, 214, 107, .4); background: rgba(255, 214, 107, .06); }
.v-heavy { color: #ff9a8a; border-color: rgba(255, 154, 138, .4); background: rgba(255, 154, 138, .06); }
.verdict.big { font-size: 14px; padding: 8px 12px; margin: 14px 0 0; border-radius: 12px; }
.verdict.big .ic { width: 18px; height: 18px; }
.nc-rank { display: inline-flex; gap: 4px; align-items: center; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: #f3d36b; color: #2a2003; }
.nc-rank .ic { width: 13px; height: 13px; stroke-width: 2.3; }
.nc-dens { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.nc-side { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 1px dashed var(--line-2); }

/* hero HUD + dish sheet */
.hud { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(140, 233, 154, .07); border: 1px solid rgba(140, 233, 154, .28); }
.hud-big { display: flex; align-items: flex-end; gap: 4px; }
.hud-big b { font: 800 46px/.85 "Rubik", "Noto Kufi Arabic", sans-serif; color: var(--c-p); }
.hud-big span { display: grid; font-weight: 800; color: var(--c-p); line-height: 1.05; }
.hud-big small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.hud-side { flex: 1; display: grid; gap: 6px; justify-items: start; min-width: 0; }
.hud-side .split { width: 100%; }
.hud-side p { margin: 0; font-size: 12.5px; color: var(--muted); }
.nut { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nut-tile { display: grid; gap: 2px; padding: 10px 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); text-align: center; }
.nut-tile small { color: var(--faint); font-size: 11.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nut-tile b { font-size: 21px; font-weight: 800; line-height: 1.15; color: var(--text); }
.nut-tile b i { font-style: normal; font-size: 12px; color: var(--muted); margin-inline-start: 2px; font-weight: 600; }
.nut-tile.protein { border-color: var(--c-p, var(--fit)); box-shadow: inset 0 0 0 1px var(--c-p, var(--fit)); }
.nut-tile.protein b { color: var(--c-p, var(--fit)); }
.nut-tile.carbs b { color: var(--c-c, var(--text)); }
.nut-tile.fat b { color: var(--c-f, var(--text)); }
.dish-mode > .split { height: 12px; }
.dm-dens { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.dm-dens .ic { color: var(--fit); width: 18px; height: 18px; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tips li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.tips li > span { flex: 1; }
.tips li > .ic { color: var(--fit); }

/* =========================================================
   KIDS — "Playground": bright sky, sticker cards, a burger buddy
   ========================================================= */
html[data-mode="kids"] {
  --bg: #fff7e8; --bg-2: #fffaf2; --surface: #ffffff; --surface-2: #fff0d6;
  --line: rgba(60, 35, 20, .10); --line-2: rgba(60, 35, 20, .18);
  --text: #2b1a12; --muted: #6b5040; --faint: #7a5f4f; --price: #c2185b; --kraft: #a0663a;
  --k-blue: #2fa8e6; --k-ink: #2b1a12;
  color-scheme: light;
}
html[data-mode="kids"][data-lang="en"] .kc-name, html[data-mode="kids"][data-lang="en"] .mv-title { font-family: "Bungee", "Rubik", sans-serif; font-weight: 400; }
html[data-mode="kids"] body::before {
  background:
    radial-gradient(34vmax 26vmax at 100% 0%, rgba(255, 111, 174, .16), transparent 70%),
    radial-gradient(36vmax 26vmax at 0% 30%, rgba(76, 195, 255, .16), transparent 70%),
    radial-gradient(40vmax 30vmax at 70% 100%, rgba(255, 210, 63, .2), transparent 70%);
}
html[data-mode="kids"] body::after { opacity: .025; }
html[data-mode="kids"] :focus-visible { outline-color: var(--k-blue); }
html[data-mode="kids"] .topbar { background: rgba(255, 247, 232, .9); }
html[data-mode="kids"] .cats { background: rgba(255, 247, 232, .93); }
html[data-mode="kids"] .chip { background: #fff; color: var(--text); border-width: 2px; }
html[data-mode="kids"] .chip[aria-current="true"] { background: var(--k-ink); color: #fff; border-color: var(--k-ink); }
html[data-mode="kids"] .wall-art { display: none; }
html[data-mode="kids"] .wall { height: 100%;
  background:
    radial-gradient(circle at 3% 60%, #ffd23f 0 9px, transparent 10px),
    radial-gradient(circle at 97% 46%, #ff6fae 0 12px, transparent 13px),
    radial-gradient(circle at 94% 78%, #59d98e 0 7px, transparent 8px),
    radial-gradient(circle at 4% 88%, #9b7bff 0 8px, transparent 9px),
    linear-gradient(180deg, #bfe8ff 0%, #dff3ff 55%, var(--bg) 100%);
}
html[data-mode="kids"] .wall::after { background: linear-gradient(180deg, rgba(255, 247, 232, 0) 60%, var(--bg) 100%) !important; }
html[data-mode="kids"] .hero-title { color: var(--text); text-shadow: 0 3px 0 #ffd23f; }
html[data-mode="kids"] .hero-sub { color: var(--muted); text-shadow: none; }
html[data-mode="kids"] .eyebrow { background: #ffd23f; color: var(--k-ink); }
html[data-mode="kids"] .stage-wrap::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 72%); }
html[data-mode="kids"] .drag-hint, html[data-mode="kids"] .round.dark, html[data-mode="kids"] .seg, html[data-mode="kids"] .stage-hint { background: rgba(255, 255, 255, .92); color: var(--text); }
html[data-mode="kids"] .round { background: #fff; border: 2px solid var(--k-ink); }
html[data-mode="kids"] .round[aria-pressed="true"] { background: #ffd23f; color: var(--k-ink); }
html[data-mode="kids"] .pill-ar { color: var(--k-ink); border-color: var(--k-ink); }
html[data-mode="kids"] .dots button { background: rgba(43, 26, 18, .18); }
html[data-mode="kids"] .dots button[aria-selected="true"] { background: var(--k-blue); }
html[data-mode="kids"] .lang button[aria-pressed="true"] { background: #ffd23f; color: var(--k-ink); }
html[data-mode="kids"] .hero-dish { background: #fff; border: 3px solid var(--k-ink); box-shadow: 0 6px 0 var(--k-ink); }
html[data-mode="kids"] .hd-kicker { color: var(--price); }
html[data-mode="kids"] .hd-kicker .ic { fill: var(--price); }
html[data-mode="kids"] .badge-3d { background: #ffd23f; color: var(--k-ink); border-color: var(--k-ink); }
html[data-mode="kids"] .btn-ghost { background: rgba(43, 26, 18, .04); }
html[data-mode="kids"] .btn-primary { background: #59d98e; color: var(--k-ink); border-color: var(--k-ink); box-shadow: 0 4px 0 var(--k-ink); }
html[data-mode="kids"] .btn-ar { background: #ff6fae; color: var(--k-ink); border-color: var(--k-ink); box-shadow: 0 4px 0 var(--k-ink); }
html[data-mode="kids"] .order-bar { background: #59d98e; color: var(--k-ink); border-color: var(--k-ink); box-shadow: 0 5px 0 var(--k-ink), 0 18px 40px rgba(43, 26, 18, .2); }
html[data-mode="kids"] .ob-icon { background: var(--k-ink); color: #59d98e; }
html[data-mode="kids"] .ob-total, html[data-mode="kids"] .price.ink { color: var(--k-ink); }
html[data-mode="kids"] .add { background: #fff; border: 2px solid var(--k-ink); color: var(--k-ink); border-radius: 50%; }
html[data-mode="kids"] .add[data-qty]:not([data-qty="0"]) { background: #59d98e; color: var(--k-ink); }
html[data-mode="kids"] .add[data-qty]:not([data-qty="0"])::after { background: #ff6fae; }
html[data-mode="kids"] .dish-stage { background: radial-gradient(80% 70% at 50% 60%, #ffffff, transparent 65%), linear-gradient(180deg, #cdeeff, #fff3df); }
html[data-mode="kids"] .pairs .tile.has-img, html[data-mode="kids"] .thumb { background: radial-gradient(70% 60% at 50% 100%, #ffd6e8, transparent 72%), #fff4f9; }
html[data-mode="kids"] .thumb img, html[data-mode="kids"] .kc-pic img, html[data-mode="kids"] .hb-pic img { filter: drop-shadow(0 5px 5px rgba(43, 26, 18, .2)); }
html[data-mode="kids"] .footer { background: linear-gradient(180deg, transparent, rgba(76, 195, 255, .12)); }
html[data-mode="kids"] .mv-icon { background: #ffd23f; color: var(--k-ink); }
html[data-mode="kids"] .mode-view { background: linear-gradient(180deg, rgba(76, 195, 255, .1), transparent 300px); }
html[data-mode="kids"] .sheet-backdrop { background: rgba(43, 26, 18, .45); }

/* sky decorations */
.kd { position: absolute; }
.kd.cloud { width: 130px; opacity: .95; animation: k-drift 16s ease-in-out infinite alternate; }
.kd.c1 { top: 44%; inset-inline-start: -30px; }
.kd.c2 { top: 30%; inset-inline-end: -34px; width: 104px; animation-duration: 21s; }
.kd.star { width: 28px; animation: k-twinkle 2.6s ease-in-out infinite; }
.kd.s1 { top: 36%; inset-inline-end: 12%; }
.kd.s2 { top: 54%; inset-inline-start: 5%; width: 22px; animation-delay: .7s; }
.kd.s3 { top: 66%; inset-inline-end: 6%; width: 20px; animation-delay: 1.3s; }
@keyframes k-drift { to { transform: translateX(26px); } }
@keyframes k-twinkle { 50% { transform: scale(.75) rotate(18deg); opacity: .7; } }

/* hello + buddy */
.kid-hello { display: flex; align-items: flex-end; gap: 4px; }
.mascot { flex: none; width: 108px; }
.mascot-svg { display: block; width: 100%; height: auto; animation: k-bob 3.2s ease-in-out infinite; }
.m-hand { transform-box: fill-box; transform-origin: 0% 100%; animation: k-wave 1.8s ease-in-out infinite; }
@keyframes k-bob { 50% { transform: translateY(-4px); } }
@keyframes k-wave { 50% { transform: rotate(-22deg); } }
.bubble { position: relative; flex: 1; display: grid; gap: 2px; padding: 12px 16px; margin-bottom: 38px; border-radius: 24px; background: #fff; border: 3px solid var(--k-ink); box-shadow: 0 5px 0 var(--k-ink); }
.bubble::before { content: ""; position: absolute; bottom: -12px; inset-inline-start: 18px; width: 20px; height: 20px; background: #fff; border-inline-end: 3px solid var(--k-ink); border-bottom: 3px solid var(--k-ink); transform: rotate(45deg) skew(10deg, 10deg); }
[dir="rtl"] .bubble::before { transform: rotate(-45deg) skew(-10deg, -10deg); }
.bubble b { font-size: 19px; color: var(--price); line-height: 1.3; }
.bubble span { font-weight: 800; font-size: 16px; line-height: 1.45; }
.kid-sub { display: flex; gap: 6px; align-items: center; color: var(--muted); font-weight: 700; font-size: 13.5px; margin: 6px 0 8px; }
.kid-sub .ic { width: 18px; height: 18px; color: var(--k-blue); }
.kcats { display: grid; grid-auto-flow: column; grid-auto-columns: 94px; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left))); padding: 4px max(16px, env(safe-area-inset-left)) 12px; }
.kcats::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .kcats { margin-inline: 0; padding-inline: 0; grid-auto-columns: 110px; } }
.kcat { display: grid; justify-items: center; gap: 7px; padding: 0; border: 0; background: none; font: inherit; color: var(--text); cursor: pointer; }
.kc-pic { position: relative; display: block; width: 84px; height: 84px; border-radius: 50%; background: var(--kc); border: 3px solid var(--k-ink); box-shadow: 0 4px 0 var(--k-ink); transition: transform .12s, box-shadow .12s; }
.kc-pic img { inset: 12%; width: 76%; height: 76%; }
.kcat:hover .kc-pic { transform: translateY(-2px) rotate(-4deg); }
.kcat:active .kc-pic { transform: translateY(3px); box-shadow: 0 1px 0 var(--k-ink); }
.kcat b { font-weight: 800; font-size: 13.5px; line-height: 1.3; text-align: center; }

.kids-grid { display: flex; flex-direction: column; }
.kids-side { display: contents; }
.kids-side .game-card { order: 2; }
.kids-side .parents { order: 3; }
#kidsBox { order: 1; }
@media (min-width: 960px) {
  .kids-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 28px; align-items: start; }
  .kids-side { display: block; }
  #kidsBox .hbox { margin-top: 0; }
  .kcats { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .kcats .kc-pic { width: 72px; height: 72px; }
}
/* happy box */
.hbox { margin-top: 14px; padding: 16px; border-radius: 26px; background: #fff; border: 3px solid var(--k-ink, var(--ink)); box-shadow: 0 6px 0 var(--k-ink, var(--ink)); }
.hb-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.hb-title { display: flex; gap: 10px; align-items: center; margin: 0; font-size: clamp(19px, 5.4vw, 24px); line-height: 1.3; }
.hb-title .ic { width: 28px; height: 28px; color: #ff6fae; stroke-width: 2.1; flex: none; }
.hb-ready { margin: 4px 0 0; color: #187a44; font-size: 13.5px; font-weight: 800; }
.hb-visual { position: relative; flex: none; width: 128px; height: 112px; }
.hb-box { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; z-index: 2; }
.hb-items { position: absolute; left: 4%; right: 4%; bottom: 57px; height: 56px; display: flex; justify-content: center; align-items: flex-end; z-index: 1; }
.hb-in { position: relative; width: 38%; height: 100%; margin-inline: -6%; animation: k-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * 70ms); }
.hb-in:nth-child(odd) { height: 88%; }
.hb-in-pic { position: relative; display: block; width: 100%; height: 100%; }
.hb-in-pic img { inset: 0; width: 100%; height: 100%; object-position: center bottom; }
@keyframes k-pop { from { transform: translateY(26px) scale(.6); opacity: 0; } }
.hb-step h4 { margin: 14px 0 8px; font-size: 15px; font-weight: 800; }
.hb-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hb-opt { display: grid; justify-items: center; align-content: start; gap: 3px; padding: 8px 6px 10px; border-radius: 18px; cursor: pointer; font: inherit; color: var(--text);
  border: 2px solid var(--line-2); background: var(--bg); text-align: center; font-size: 13px; line-height: 1.35; transition: transform .12s, border-color .2s, box-shadow .2s; }
.hb-opt:active { transform: scale(.95); }
.hb-opt b { font-weight: 700; }
.hb-opt[aria-pressed="true"] { border-color: var(--k-blue, #2fa8e6); background: #e8f7ff; box-shadow: 0 4px 0 var(--k-blue, #2fa8e6); }
.hb-opt .price { font-size: 12.5px; }
.hb-opt .price small { font-size: 9.5px; }
.hb-pic { position: relative; display: block; width: 62px; height: 62px; }
.hb-pic img { inset: 0; width: 100%; height: 100%; }
.hb-opt.none .hb-pic { display: grid; place-items: center; width: 46px; height: 46px; margin: 8px 0; border-radius: 50%; background: var(--surface-2); }
.hb-opt.none .ic { width: 20px; height: 20px; }
.game-card { margin-top: 16px; width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 24px; cursor: pointer; text-align: start; font: inherit;
  background: linear-gradient(135deg, #5b3df5, #1b74b5); color: #fff; border: 3px solid var(--k-ink, var(--ink)); box-shadow: 0 5px 0 var(--k-ink, var(--ink)); transition: transform .12s; }
.game-card:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--k-ink, var(--ink)); }
.gc-icon { flex: none; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.gc-icon .ic { width: 32px; height: 32px; stroke-width: 2; }
.gc-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.gc-text b { font-size: 17px; line-height: 1.3; }
.gc-text small { font-size: 13px; opacity: .92; }
.gc-play { flex: none; padding: 10px 16px; border-radius: 99px; background: #ffd23f; color: #2b1a12; font-weight: 900; border: 2px solid var(--k-ink, var(--ink)); }
.parents { margin-top: 16px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 2px dashed var(--line-2); }
.parents h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; font-size: 15px; }
.parents h3 .ic { color: var(--k-blue); }
.parents ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.parents li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.parents li .ic { width: 18px; height: 18px; color: #1e8a4f; stroke-width: 2.6; margin-top: 2px; }

/* islands + sticker cards */
.menu-section.island { margin-top: 20px; padding: 16px 12px 16px; border-radius: 30px; background: var(--isl, #ffe3ef); border: 3px solid var(--k-ink); box-shadow: 0 6px 0 var(--k-ink); scroll-margin-top: calc(var(--top) + 76px); }
.menu-section.island:nth-of-type(5n+1) { --isl: #ffe3ef; }
.menu-section.island:nth-of-type(5n+2) { --isl: #dcf2ff; }
.menu-section.island:nth-of-type(5n+3) { --isl: #fff3c4; }
.menu-section.island:nth-of-type(5n+4) { --isl: #dcf8e6; }
.menu-section.island:nth-of-type(5n+5) { --isl: #ece4ff; }
.island .sec-head { justify-content: flex-start; align-items: center; gap: 12px; margin-bottom: 14px; }
.k-sticker { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 3px solid var(--k-ink); box-shadow: 0 3px 0 var(--k-ink); transform: rotate(-6deg); }
.k-sticker .ic { width: 31px; height: 31px; stroke-width: 2.1; color: var(--k-ink); }
.island:nth-of-type(even) .k-sticker { transform: rotate(5deg); }
.k-titles { min-width: 0; }
.island .sec-title { padding-bottom: 0; font-size: clamp(26px, 7vw, 38px); }
.island .sec-title::after { display: none; }
.k-secsub { margin: 0; font-weight: 800; color: var(--muted); font-size: 14px; }
.kgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .kgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1080px) { .kgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kcard { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 8px 8px 10px; border-radius: 24px; background: #fff; border: 3px solid var(--k-ink); box-shadow: 0 5px 0 var(--k-ink); transition: transform .18s; }
.kcard:hover { transform: translateY(-3px) rotate(-1deg); }
.kcard:nth-child(even):hover { transform: translateY(-3px) rotate(1deg); }
.kc-media { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 50% 58%, #fff 0 36%, transparent 37%), var(--isl, #ffe3ef); }
.kc-media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(43, 26, 18, .22)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.kcard:hover .kc-media img { transform: scale(1.06) rotate(-4deg); }
.kc-name { margin: 6px 4px 0; font-size: 15px; font-weight: 900; line-height: 1.3; }
html[data-lang="en"] .kc-name { font-size: 14px; line-height: 1.25; }
.kc-fun { margin: 0 4px; font-size: 12.5px; font-weight: 700; color: #b0154f; line-height: 1.45; }
.kc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding: 8px 2px 0; }
.kc-foot .price { padding: 4px 10px; border-radius: 99px; background: #ffd23f; color: var(--k-ink); border: 2px solid var(--k-ink); font-size: 14px; }
.kc-foot .price small { color: rgba(43, 26, 18, .72); font-size: 9.5px; }
.kc-foot .add { width: 38px; height: 38px; }
.kid-fun { display: inline-flex; gap: 8px; align-items: center; justify-self: start; margin: 0; padding: 8px 14px; border-radius: 16px; background: #fff4b8; border: 2px solid var(--k-ink); font-weight: 800; font-size: 14.5px; color: var(--k-ink); }
.kid-fun .ic { fill: #ffc531; stroke: var(--k-ink); width: 18px; height: 18px; }
.kid-fun.big { margin-top: 14px; font-size: 16px; }

/* game sheet */
.game-panel { padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; }
.game-panel .order-head h2 { margin: 0; font-size: 22px; line-height: 1.3; }
@media (min-width: 900px) { .game-panel { width: min(560px, 94vw); } }
.game { display: grid; gap: 10px; text-align: center; padding-top: 6px; }
.g-level { margin: 0; font-size: 18px; color: var(--price, var(--yellow)); }
.g-instr { margin: 0; color: var(--muted); font-size: 14px; }
.g-recipe { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.g-recipe li { display: grid; justify-items: center; gap: 2px; padding: 6px 4px; min-width: 56px; border-radius: 12px; border: 2px dashed var(--line-2); font-size: 11px; line-height: 1.3; opacity: .75; transition: transform .2s, opacity .2s; }
.g-recipe li.now { border-style: solid; border-color: var(--k-blue, #2fa8e6); background: rgba(76, 195, 255, .14); opacity: 1; transform: scale(1.08); }
.g-recipe li.done { opacity: .35; }
.gp { display: grid; place-items: center; height: 34px; }
.gp svg { width: 44px; height: auto; max-height: 34px; }
.g-plate { position: relative; height: 230px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(56% 14% at 50% 93%, rgba(43, 26, 18, .16), transparent 70%), linear-gradient(180deg, #e6f6ff, #fff3df); }
.g-stack { display: flex; flex-direction: column-reverse; align-items: center; width: 168px; }
.layer { display: block; width: 100%; margin-top: -5px; }
.layer.top { margin-top: -8px; }
.layer svg { display: block; width: 100%; height: auto; }
.layer.drop { animation: g-drop .45s cubic-bezier(.3, 1.45, .5, 1); }
@keyframes g-drop { from { transform: translateY(-140px); opacity: 0; } to { transform: none; opacity: 1; } }
.g-plate.won .g-stack { animation: g-wiggle .5s ease 2; }
@keyframes g-wiggle { 30% { transform: rotate(-4deg) scale(1.04); } 70% { transform: rotate(4deg) scale(1.04); } }
.confetti i { position: absolute; top: -12px; left: calc(var(--i) * 5.4% + 2%); width: 8px; height: 14px; border-radius: 2px;
  background: hsl(calc(var(--i) * 41deg) 90% 60%); animation: g-fall 1.8s ease-in calc(var(--i) * 45ms) forwards; }
@keyframes g-fall { to { transform: translateY(260px) rotate(560deg); opacity: 0; } }
.g-msg { margin: 0; min-height: 28px; display: flex; gap: 6px; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.g-msg .ic { fill: #ffc531; stroke: #b98400; }
.g-msg.oops { color: #d9480f; }
.g-pieces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.g-piece { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 78px; padding: 8px 2px; border-radius: 16px; cursor: pointer; font: inherit; color: var(--text);
  border: 2px solid var(--line-2); background: var(--surface); font-size: 11.5px; font-weight: 700; line-height: 1.25; transition: transform .1s; }
.g-piece:active { transform: scale(.92); }
.g-piece.shake { animation: g-shake .35s; border-color: #d9480f; }
@keyframes g-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.g-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   CHEF — "Kitchen notes": black + gold, serif, a printed magazine menu
   ========================================================= */
html[data-mode="chef"] {
  --bg: #0b0a09; --bg-2: #11100e; --surface: #171512; --surface-2: #211e1a;
  --line: rgba(232, 214, 190, .09); --line-2: rgba(232, 214, 190, .17);
  --text: #f4ede4; --muted: #c6baac; --faint: #9d9184; --price: #e2b66c;
  --serif: Georgia, "Times New Roman", serif;
}
html[data-mode="chef"][data-lang="en"] { --f-display: var(--serif); }
html[data-mode="chef"] .display { letter-spacing: 0; }
html[data-mode="chef"] body::before { background: radial-gradient(46vmax 30vmax at 100% 0%, rgba(217, 167, 90, .08), transparent 70%), radial-gradient(50vmax 36vmax at 0% 100%, rgba(217, 167, 90, .05), transparent 70%); }
html[data-mode="chef"] .wall-letters { display: none; }
html[data-mode="chef"] #wallTint stop:first-child { stop-color: #2a2119; }
html[data-mode="chef"] #wallTint stop:last-child { stop-color: #0b0a09; }
html[data-mode="chef"] .topbar { background: rgba(11, 10, 9, .82); }
html[data-mode="chef"] .cats { background: rgba(11, 10, 9, .9); }
html[data-mode="chef"] .hero-title { text-shadow: none; }
html[data-mode="chef"][data-lang="en"] .hero-title { font-weight: 400; letter-spacing: -.01em; }
html[data-mode="chef"] .eyebrow { background: transparent; color: var(--mode-accent); border: 1px solid var(--mode-accent); box-shadow: none; }
html[data-mode="chef"] .btn-primary { background: var(--mode-accent); color: var(--mode-ink); border-color: #000; box-shadow: 0 4px 0 #000; }
html[data-mode="chef"] .btn-ar { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
html[data-mode="chef"] .pill-ar { background: rgba(11, 10, 9, .7); color: var(--mode-accent); border: 1px solid var(--mode-accent); box-shadow: none; }
html[data-mode="chef"] .round[aria-pressed="true"] { background: var(--mode-accent); color: var(--mode-ink); border-color: #000; }
html[data-mode="chef"] .badge-3d { background: #0b0a09; color: var(--mode-accent); border: 1px solid var(--mode-accent); box-shadow: none; }
html[data-mode="chef"] .order-bar, html[data-mode="chef"] .add[data-qty]:not([data-qty="0"]) { background: var(--mode-accent); color: var(--mode-ink); }
html[data-mode="chef"] .ob-icon { color: var(--mode-accent); }
html[data-mode="chef"] .ob-total, html[data-mode="chef"] .price.ink { color: var(--mode-ink); }
html[data-mode="chef"] .hero-dish { background: rgba(23, 21, 18, .94); border-radius: 6px; }
html[data-mode="chef"] .hd-kicker { color: var(--mode-accent); }
html[data-mode="chef"] .hd-kicker .ic { fill: var(--mode-accent); }
html[data-mode="chef"] .dots button[aria-selected="true"], html[data-mode="chef"] .lang button[aria-pressed="true"] { background: var(--mode-accent); color: var(--mode-ink); }
html[data-mode="chef"] .chip { background: transparent; }
html[data-mode="chef"] .chip[aria-current="true"] { background: var(--mode-accent); color: var(--mode-ink); border-color: var(--mode-accent); }
.ch-n { font: italic 400 15px/1 var(--serif); min-width: 16px; text-align: center; }
html[data-lang="ku"] .ch-n, html[data-lang="ar"] .ch-n { font: 700 14px/1 "Noto Kufi Arabic", sans-serif; }
html[data-mode="chef"] .stage-wrap::before { background: radial-gradient(closest-side, rgba(217, 167, 90, .18), rgba(217, 167, 90, 0) 72%); }
html[data-mode="chef"] .stage-wrap::after { content: ""; position: absolute; left: 50%; top: 52%; width: min(70%, 430px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(217, 167, 90, .32); box-shadow: 0 0 0 12px rgba(217, 167, 90, .035), 0 0 0 13px rgba(217, 167, 90, .14); }
html[data-mode="chef"] .dish-stage { background: radial-gradient(70% 60% at 50% 60%, rgba(217, 167, 90, .15), transparent 65%), #0e0c0a; }
html[data-mode="chef"] .thumb, html[data-mode="chef"] .en-media { background: radial-gradient(70% 60% at 50% 100%, rgba(217, 167, 90, .28), transparent 70%), var(--surface-2); }
html[data-mode="chef"] .taste span { border-color: rgba(217, 167, 90, .4); color: #e8d3b0; }
html[data-mode="chef"] .sec-title::after { height: 2px; bottom: -2px; width: 72px; -webkit-mask: none; mask: none; background: var(--mode-accent); }
html[data-mode="chef"] .footer { background: linear-gradient(180deg, transparent, rgba(217, 167, 90, .05)); }
html[data-mode="chef"][data-lang="en"] .f-desc, html[data-mode="chef"][data-lang="en"] .hd-desc, html[data-mode="chef"][data-lang="en"] .dish-desc { font-family: var(--serif); font-style: italic; }

/* masthead + letter + printed tasting menu */
.masthead { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--mode-accent); font: 400 12px/1.4 var(--serif); letter-spacing: .3em; text-transform: uppercase; }
.masthead::before, .masthead::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 167, 90, .7)); }
.masthead::after { background: linear-gradient(270deg, transparent, rgba(217, 167, 90, .7)); }
html[data-lang="ku"] .masthead, html[data-lang="ar"] .masthead { font: 700 13px/1.4 "Noto Kufi Arabic", sans-serif; letter-spacing: 0; }
.chef-top { display: grid; gap: 14px; }
@media (min-width: 900px) { .chef-top { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.letter { position: relative; margin: 0; padding: 24px 22px 20px; border-radius: 4px 4px 26px 4px; background: #f2e8d6; color: #2a2016; box-shadow: 0 22px 46px rgba(0, 0, 0, .4); overflow: hidden; }
.letter::before { content: "“"; position: absolute; top: -26px; inset-inline-end: 12px; font: 400 150px/1 var(--serif); color: rgba(176, 124, 52, .2); }
.letter h2 { margin: 0 0 10px; font-size: 23px; line-height: 1.25; color: #2a2016; }
.letter blockquote { margin: 0; font: italic 400 16px/1.75 var(--serif); color: #4a3a2a; }
html[data-lang="ku"] .letter blockquote, html[data-lang="ar"] .letter blockquote { font: 500 14.5px/2 "Noto Kufi Arabic", sans-serif; }
.letter figcaption { margin-top: 14px; font: italic 400 15px/1.4 var(--serif); color: #74501b; text-align: end; }
html[data-lang="ku"] .letter figcaption, html[data-lang="ar"] .letter figcaption { font: 700 14px/1.6 "Noto Kufi Arabic", sans-serif; }
.menu-card { position: relative; padding: 24px 20px 20px; border-radius: 4px; text-align: center; background: #0e0d0b; border: 1px solid rgba(217, 167, 90, .55); outline: 1px solid rgba(217, 167, 90, .22); outline-offset: -8px; }
.mc-kicker { margin: 0; font: 400 13px/1.4 var(--serif); letter-spacing: .28em; text-transform: uppercase; color: var(--mode-accent); }
html[data-lang="ku"] .mc-kicker, html[data-lang="ar"] .mc-kicker { font: 800 15px/1.5 "Noto Kufi Arabic", sans-serif; letter-spacing: 0; }
.mc-sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
html[data-lang="en"] .mc-sub { font-family: var(--serif); font-style: italic; }
.orn { display: block; width: 130px; height: 14px; margin: 14px auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 14'%3E%3Cg fill='none' stroke='%23d9a75a' stroke-width='1.2'%3E%3Cpath d='M2 7h46M82 7h46'/%3E%3Cpath d='M65 1.5 70.5 7 65 12.5 59.5 7z'/%3E%3Ccircle cx='52' cy='7' r='2'/%3E%3Ccircle cx='78' cy='7' r='2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.mc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mc-course { position: relative; display: grid; gap: 3px; text-align: start; }
.mc-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
html[data-lang="ku"] .mc-label, html[data-lang="ar"] .mc-label { letter-spacing: 0; font-size: 12.5px; }
.mc-line { display: flex; align-items: baseline; gap: 8px; }
.mc-line b { font-size: 18px; font-weight: var(--dw); line-height: 1.3; }
.leader { flex: 1; min-width: 14px; border-bottom: 1px dotted rgba(217, 167, 90, .55); transform: translateY(-5px); }
.mc-line .price { font-size: 15px; }
.mc-course small { color: var(--muted); font-size: 13px; line-height: 1.5; }
html[data-lang="en"] .mc-course small { font-family: var(--serif); font-style: italic; }
.mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* flavour finder */
.finder { margin-top: 16px; padding: 18px 16px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line-2); }
.fi-head h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.fi-head p { margin: 4px 0 12px; color: var(--muted); font-size: 13.5px; }
.fi-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.fi-seg button { min-height: 40px; padding: 0 14px 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.fi-seg button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--fc); }
.fi-seg button[aria-checked="true"] { background: var(--mode-accent); color: var(--mode-ink); border-color: var(--mode-accent); }
.fi-seg button[aria-checked="true"]::before { background: var(--mode-ink); }
.pf-crunch { --fc: #e9b24c; } .pf-rich { --fc: #d07f4f; } .pf-heat { --fc: #ec5a43; } .pf-fresh { --fc: #7cc7a0; } .pf-sweet { --fc: #e58fb0; }
.fi-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 820px) { .fi-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fi-top li { position: relative; display: grid; grid-template-columns: 20px 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 14px; background: var(--surface-2); }
.fi-top .thumb { width: 52px; height: 52px; border-radius: 50%; }
.fi-n { font: italic 400 22px/1 var(--serif); color: var(--mode-accent); text-align: center; }
.fi-main { display: grid; gap: 5px; min-width: 0; }
.fi-main b { font-size: 14.5px; line-height: 1.3; }
.fi-top .price { font-size: 14px; }
.dots5 { display: inline-flex; gap: 3px; }
.dots5 b { width: 14px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .13); }
.dots5 b.on { background: var(--fc, var(--mode-accent)); }
.profile { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.profile li { display: grid; grid-template-columns: minmax(84px, max-content) auto; justify-content: start; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.profile .dots5 b { width: 24px; height: 7px; }
.profile.sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 16px; }
.profile.sm li { grid-template-columns: minmax(0, 1fr) auto; justify-content: stretch; gap: 8px; font-size: 12px; }
.profile.sm .dots5 b { width: 11px; height: 5px; }

/* chapters */
.menu-section.chapter { padding-top: 26px; }
.ch-head { text-align: center; padding: 22px 0 18px; }
.ch-num { margin: 0 0 6px; font: italic 400 16px/1.2 var(--serif); color: var(--mode-accent); letter-spacing: .08em; }
html[data-lang="ku"] .ch-num, html[data-lang="ar"] .ch-num { font: 700 14px/1.4 "Noto Kufi Arabic", sans-serif; letter-spacing: 0; }
.chapter .sec-title { display: inline-block; font-size: clamp(34px, 9.5vw, 58px); line-height: 1.1; padding-bottom: 16px; }
html[data-mode="chef"] .chapter .sec-title::after { inset-inline: 0; margin-inline: auto; width: 56px; }
.ch-intro { max-width: 60ch; margin: 8px auto 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
html[data-lang="en"] .ch-intro { font-family: var(--serif); font-style: italic; font-size: 16px; }
.spread { position: relative; display: grid; overflow: hidden; margin-bottom: 8px; border-radius: 6px; background: var(--surface); border: 1px solid rgba(217, 167, 90, .3); }
.sp-media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(70% 60% at 50% 72%, rgba(217, 167, 90, .3), transparent 70%), #0e0c0a; }
.sp-media img { position: absolute; inset: 6% 0 4%; margin: auto; width: auto; height: auto; max-width: 78%; max-height: 90%; object-fit: contain; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .65)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.spread:hover .sp-media img { transform: scale(1.04) rotate(-2deg); }
.sp-body { display: grid; gap: 10px; align-content: center; padding: 20px 18px 18px; }
.sp-kicker { display: flex; gap: 6px; align-items: center; margin: 0; color: var(--mode-accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
html[data-lang="ku"] .sp-kicker, html[data-lang="ar"] .sp-kicker { letter-spacing: 0; font-size: 13px; }
.sp-kicker .ic { width: 15px; height: 15px; fill: var(--mode-accent); stroke: none; }
.sp-name { margin: 0; font-size: clamp(28px, 7.4vw, 42px); line-height: 1.15; }
.sp-desc { margin: 0; color: var(--muted); font-size: 15px; }
.sp-quote { margin: 0; padding-inline-start: 14px; border-inline-start: 2px solid var(--mode-accent); color: #e9dcc8; font-size: 14.5px; line-height: 1.7; }
html[data-lang="en"] .sp-quote { font: italic 400 16px/1.65 var(--serif); }
.ec-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ec-foot .btn { min-height: 42px; font-size: 13.5px; padding: 0 12px; }
@media (min-width: 820px) {
  .spread { grid-template-columns: 1.1fr 1fr; }
  .sp-media { aspect-ratio: auto; min-height: 400px; }
  .sp-body { padding: 34px 32px; }
}
.entries { display: grid; }
@media (min-width: 900px) { .entries { grid-template-columns: 1fr 1fr; column-gap: 34px; } }
.entry { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.en-media { position: relative; width: 78px; height: 78px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(217, 167, 90, .4); color: var(--kraft); display: grid; place-items: center; }
.en-media img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .55)); }
.en-media svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.en-body { min-width: 0; }
.en-line { display: flex; align-items: baseline; gap: 8px; }
.en-name { margin: 0; font-size: 19px; line-height: 1.3; }
.en-line .price { font-size: 16px; }
.en-desc { margin: 4px 0 8px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
html[data-lang="en"] .en-desc { font-family: var(--serif); font-style: italic; font-size: 14.5px; }
.en-step { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.65; }
.en-step b { color: var(--mode-accent); font-weight: 700; margin-inline-end: 4px; }
.en-foot { position: relative; z-index: 2; display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 10px; }
.pair-card { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid rgba(217, 167, 90, .35); }
.pair-card b { display: block; font-size: 15px; line-height: 1.35; }
.pair-card small { color: var(--muted); font-size: 13px; line-height: 1.5; }
html[data-lang="en"] .pair-card small { font-family: var(--serif); font-style: italic; }
.chef-tip { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(217, 167, 90, .08); border-inline-start: 3px solid var(--mode-accent); color: #e9dcc8; font-size: 14px; line-height: 1.65; }
.chef-tip .ic { color: var(--mode-accent); flex: none; margin-top: 2px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 38px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--mode-accent); color: var(--mode-accent); font: 400 13px/1 Georgia, serif; }
html[data-lang="ku"] .steps li::before, html[data-lang="ar"] .steps li::before { content: counter(s, arabic-indic); font-family: "Noto Kufi Arabic", sans-serif; }

/* =========================================================
   MOOD — "Mood menu": night glass, the whole page takes the colour of your mood
   (--ma / --mb are set from the chosen mood in menu-modes.js)
   ========================================================= */
html[data-mode="mood"] {
  --ma: #ff8a3d; --mb: #ff3d6e;
  --bg: #0f0b1d; --bg-2: #151027; --surface: rgba(255, 255, 255, .055); --surface-2: rgba(255, 255, 255, .1);
  --line: rgba(230, 220, 255, .10); --line-2: rgba(230, 220, 255, .19);
  --text: #f8f4ff; --muted: #cdc4e6; --faint: #a89fc6; --price: #ffffff;
  --grad: linear-gradient(135deg, var(--ma), var(--mb));
}
html[data-mode="mood"][data-lang="en"] { --f-display: "Rubik", system-ui, sans-serif; --dw: 800; }
html[data-mode="mood"] body::before {
  background:
    radial-gradient(48vmax 34vmax at 100% 0%, color-mix(in srgb, var(--ma) 24%, transparent), transparent 70%),
    radial-gradient(44vmax 34vmax at 0% 55%, color-mix(in srgb, var(--mb) 18%, transparent), transparent 70%),
    radial-gradient(50vmax 36vmax at 60% 100%, color-mix(in srgb, var(--ma) 12%, transparent), transparent 70%);
}
html[data-mode="mood"] .topbar { background: rgba(15, 11, 29, .74); }
html[data-mode="mood"] .cats { background: rgba(15, 11, 29, .84); }
html[data-mode="mood"] .chip { background: rgba(255, 255, 255, .06); }
html[data-mode="mood"] .chip[aria-current="true"], html[data-mode="mood"] .lang button[aria-pressed="true"],
html[data-mode="mood"] .dots button[aria-selected="true"], html[data-mode="mood"] .mode-pill { background: var(--grad); color: var(--mode-ink); border-color: transparent; }
html[data-mode="mood"] .mode-pill { border: 2px solid var(--ink); }
html[data-mode="mood"] .btn-primary, html[data-mode="mood"] .order-bar, html[data-mode="mood"] .add[data-qty]:not([data-qty="0"]) { background: var(--grad); color: var(--mode-ink); }
html[data-mode="mood"] .btn-primary { box-shadow: 0 4px 0 var(--ink), 0 14px 30px -8px var(--ma); }
html[data-mode="mood"] .btn-ar { background: rgba(255, 255, 255, .1); color: var(--text); border-color: var(--line-2); box-shadow: none; }
html[data-mode="mood"] .pill-ar, html[data-mode="mood"] .round[aria-pressed="true"] { background: var(--grad); color: var(--mode-ink); border-color: var(--ink); }
html[data-mode="mood"] .ob-icon { color: var(--ma); }
html[data-mode="mood"] .ob-total, html[data-mode="mood"] .ob-total small, html[data-mode="mood"] .price.ink, html[data-mode="mood"] .price.ink small { color: var(--mode-ink); }
html[data-mode="mood"] .eyebrow, html[data-mode="mood"] .badge-3d { background: var(--grad); color: var(--mode-ink); }
html[data-mode="mood"] .hd-kicker { color: var(--ma); }
html[data-mode="mood"] .hd-kicker .ic { fill: var(--ma); }
html[data-mode="mood"] .wall { display: none; }
html[data-mode="mood"] .hero-title { text-shadow: none; background: linear-gradient(100deg, #fff 30%, color-mix(in srgb, var(--ma) 55%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-mode="mood"] .hero-sub { text-shadow: none; color: var(--muted); }
html[data-mode="mood"] .hero-dish { background: rgba(21, 16, 39, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
html[data-mode="mood"] .stage-wrap::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--ma) 32%, transparent), transparent 72%); }
html[data-mode="mood"] .dish-stage { background: radial-gradient(80% 70% at 50% 58%, color-mix(in srgb, var(--ma) 22%, transparent), transparent 62%), radial-gradient(70% 45% at 50% 105%, color-mix(in srgb, var(--mb) 30%, transparent), transparent 70%), #120d22; }
html[data-mode="mood"] .sheet-panel { background: #151027; }
html[data-mode="mood"] .thumb, html[data-mode="mood"] .pairs .tile.has-img { background: radial-gradient(70% 60% at 50% 100%, color-mix(in srgb, var(--ma) 40%, transparent), transparent 72%), rgba(255, 255, 255, .06); }
html[data-mode="mood"] .sec-title::after { background: var(--grad); }
html[data-mode="mood"] .footer { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ma) 8%, transparent)); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: m-float 16s ease-in-out infinite alternate; }
.blob.b1 { width: 62vmin; height: 62vmin; background: var(--ma); top: -14%; inset-inline-start: -18%; }
.blob.b2 { width: 54vmin; height: 54vmin; background: var(--mb); top: 22%; inset-inline-end: -20%; animation-duration: 19s; }
.blob.b3 { width: 40vmin; height: 40vmin; background: color-mix(in srgb, var(--ma) 50%, var(--mb)); bottom: -8%; left: 34%; opacity: .32; animation-duration: 23s; }
@keyframes m-float { to { transform: translate(6%, 8%) scale(1.08); } }

/* mood picker */
.moods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 720px) { .moods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .moods { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mood-tile { position: relative; isolation: isolate; display: grid; gap: 3px; align-content: start; text-align: start; min-height: 118px; padding: 12px; border-radius: 22px; cursor: pointer; overflow: hidden;
  font: inherit; color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); transition: transform .15s, box-shadow .25s; }
.mood-tile::before { content: ""; position: absolute; z-index: -1; inset: auto -24% -44% auto; width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); opacity: .32; filter: blur(16px); }
.mood-tile:active { transform: scale(.97); }
.mood-tile .mt-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px; background: linear-gradient(135deg, var(--a), var(--b)); color: #1a0b10; }
.mood-tile .mt-ic .ic { width: 23px; height: 23px; stroke-width: 2.1; }
.mood-tile b { font-size: 15.5px; font-weight: 800; line-height: 1.3; }
.mood-tile small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.mood-tile[aria-checked="true"] { background: linear-gradient(135deg, var(--a), var(--b)); color: #1a0b10; border-color: transparent; box-shadow: 0 16px 34px -14px var(--a); }
.mood-tile[aria-checked="true"]::before { display: none; }
.mood-tile[aria-checked="true"] small { color: rgba(26, 11, 16, .8); }
.mood-tile[aria-checked="true"] .mt-ic { background: rgba(255, 255, 255, .4); }

/* the chosen mood */
.mood-stage { margin-top: 14px; padding: 16px; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .15);
  background: linear-gradient(160deg, color-mix(in srgb, var(--ma) 22%, transparent), color-mix(in srgb, var(--mb) 10%, transparent) 60%), rgba(255, 255, 255, .04); }
.ms-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.ms-ic { flex: none; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #1a0b10; box-shadow: 0 10px 24px -10px var(--ma); }
.ms-ic .ic { width: 29px; height: 29px; stroke-width: 2.1; }
.ms-head h3 { margin: 0; font-size: clamp(24px, 6.6vw, 36px); line-height: 1.15; }
.ms-head p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.mset, .platter { display: grid; gap: 10px 12px; padding: 14px; margin-bottom: 10px; border-radius: 22px; background: rgba(12, 8, 26, .5); border: 1px solid rgba(255, 255, 255, .12); }
.mset { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.mset-pics { display: flex; }
.ms-pic { position: relative; display: block; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(70% 60% at 50% 100%, color-mix(in srgb, var(--ma) 45%, transparent), transparent 72%), rgba(255, 255, 255, .08); border: 2px solid #1b1430; }
.ms-pic + .ms-pic { margin-inline-start: -16px; }
.mset-body { display: grid; gap: 2px; min-width: 0; }
.mset-body b { font-size: 19px; line-height: 1.25; }
.mset-body span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.mset-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mpicks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 760px) { .mpicks { grid-template-columns: 1fr 1fr; } }
.mpick { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 18px; background: rgba(12, 8, 26, .42); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .2s; }
.mpick:hover { border-color: color-mix(in srgb, var(--ma) 60%, transparent); }
.mpk-pic { position: relative; display: block; width: 60px; height: 60px; border-radius: 16px; background: radial-gradient(70% 60% at 50% 100%, color-mix(in srgb, var(--ma) 45%, transparent), transparent 72%), rgba(255, 255, 255, .06); }
.mpk-main { display: grid; gap: 2px; min-width: 0; }
.mpk-main b { font-size: 15px; line-height: 1.3; }
.mpk-main small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.mpick .qr-side { flex-direction: column; align-items: flex-end; gap: 6px; }

/* sharing platter */
.pl-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pl-top small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.pl-top b { font-size: 19px; line-height: 1.3; }
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.35; min-width: 0; }
.pl-list b { color: var(--ma); }
.pl-pic { position: relative; flex: none; display: block; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.pl-note { color: var(--muted); font-size: 12.5px; margin: 0; }
.pl-each { color: var(--muted); font-weight: 700; font-size: 12.5px; }

/* surprise me: three reels */
.slot { display: grid; gap: 12px; }
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.reel { position: relative; display: grid; gap: 6px; align-content: start; min-height: 178px; padding: 10px 6px 12px; border-radius: 20px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(12, 8, 26, .55) 20%, rgba(12, 8, 26, .55) 80%, rgba(0, 0, 0, .35)); border: 2px solid rgba(255, 255, 255, .15); }
.reel > small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[data-lang="ku"] .reel > small, html[data-lang="ar"] .reel > small { letter-spacing: 0; font-size: 12px; }
.rl-face { display: grid; justify-items: center; gap: 4px; }
.rl-pic { position: relative; display: block; width: 78px; height: 78px; }
.rl-face b { font-size: 13px; line-height: 1.3; }
.rl-face .price { font-size: 13px; }
.rl-face .price small { font-size: 9px; }
.reel.rolling .rl-face { filter: blur(1.4px); animation: m-roll .1s linear infinite alternate; }
.reel.landed { border-color: var(--ma); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ma) 30%, transparent); animation: m-land .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes m-roll { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
@keyframes m-land { from { transform: translateY(-10px); } }
.slot-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* "everything else" */
.rest-head { padding-top: 34px; }
.rest-head h2 { margin: 0; font-size: clamp(22px, 6vw, 30px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
html[data-mode="mood"] .pcard { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
html[data-mode="mood"] .pcard:hover { background: rgba(255, 255, 255, .08); }
html[data-mode="mood"] .pc-media { background: radial-gradient(70% 55% at 50% 100%, color-mix(in srgb, var(--ma) 42%, transparent), transparent 70%), rgba(255, 255, 255, .03); }
html[data-mode="mood"] .pcard.fits { border-color: color-mix(in srgb, var(--ma) 65%, transparent); }
.fits-badge { position: absolute; bottom: 8px; inset-inline-start: 8px; z-index: 2; display: inline-flex; gap: 4px; align-items: center; padding: 3px 8px 3px 6px; border-radius: 99px; pointer-events: none;
  background: var(--grad); color: #1a0b10; font-size: 10.5px; font-weight: 800; line-height: 1.4; }
.fits-badge .ic { width: 12px; height: 12px; fill: currentColor; stroke-width: 1.5; }
@media (max-width: 380px) { .fits-badge { font-size: 0; padding: 4px; } .fits-badge .ic { width: 13px; height: 13px; } }
.mood-why { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 14px; font-weight: 700; font-size: 14px; line-height: 1.5;
  background: color-mix(in srgb, var(--ma) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ma) 42%, transparent); }
.mood-why .ic { flex: none; color: var(--ma); fill: var(--ma); width: 18px; height: 18px; margin-top: 2px; }
.mood-why.big { margin-top: 14px; font-size: 15px; }
.mood-why small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
}
