/* ==========================================================================
   Hamm 2026 – UI demo stílusok
   Színek a core brand guide alapján: #CD2928 · #930A0A · #F7A02F · #A76C20
   Tipó: Ubuntu (Bold a címekhez / CTA-hoz, Bold Italic a szlogenhez)
   ========================================================================== */

:root {
  --red: #CD2928;
  --red-2: #E13A35;
  --red-dark: #930A0A;
  --orange: #F7A02F;
  --orange-2: #FFB449;
  --orange-dark: #A76C20;
  --green: #2E9E5B;
  --cream: #FAF6F0;

  /* világos mód */
  --bg: #FAF6F0;
  --surface: #FFFFFF;
  --surface-2: #F3ECE2;
  --surface-3: #EAE1D4;
  --text: #221A16;
  --muted: #7A6E66;
  --line: rgba(34, 26, 22, .08);
  --shadow: 0 10px 30px rgba(60, 30, 10, .10), 0 2px 6px rgba(60, 30, 10, .06);
  --shadow-sm: 0 4px 14px rgba(60, 30, 10, .08);
  --bite-color: var(--bg);
  --on-brand: #fff;

  --grad-brand: linear-gradient(135deg, #CD2928 0%, #930A0A 100%);
  --grad-sunset: linear-gradient(115deg, #CD2928 0%, #E0592B 58%, #F7A02F 100%);
  --grad-orange: linear-gradient(135deg, #F7A02F 0%, #A76C20 100%);
  --grad-soft: linear-gradient(180deg, rgba(247,160,47,.14), rgba(205,41,40,.06));

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);

  --tab-h: 64px;
  --font: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #15100E;
  --surface: #1F1815;
  --surface-2: #2A211C;
  --surface-3: #372C25;
  --text: #F6EFE7;
  --muted: #A89B91;
  --line: rgba(255, 255, 255, .08);
  --shadow: 0 12px 34px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  --grad-soft: linear-gradient(180deg, rgba(247,160,47,.12), rgba(205,41,40,.10));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #1a1412;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Desktop demo színpad + telefon keret ---------- */
.stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(205,41,40,.35), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, rgba(247,160,47,.28), transparent 60%),
    #1a1412;
  color: #F6EFE7;
}
.demo-panel { justify-self: end; max-width: 340px; }
.demo-panel h1 { font-size: 30px; line-height: 1.05; margin: 0 0 8px; }
.demo-panel h1 em { color: var(--orange); font-style: italic; }
.demo-panel p { color: rgba(246,239,231,.72); font-size: 15px; line-height: 1.5; margin: 0 0 18px; }
.demo-panel .logo { width: 120px; margin-bottom: 20px; }
.demo-links { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-links a, .demo-links button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: rgba(255,255,255,.08); color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.12); transition: background .2s;
}
.demo-links a:hover, .demo-links button:hover { background: rgba(255,255,255,.16); }
.demo-tips { margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; color: rgba(246,239,231,.62); display: grid; gap: 8px; }
.demo-tips li { display: flex; gap: 10px; }
.demo-tips li span:first-child { flex: none; }
.demo-right { justify-self: start; max-width: 300px; font-size: 13px; color: rgba(246,239,231,.55); line-height: 1.5; }
.demo-right b { color: #fff; }

.phone {
  position: relative;
  width: 402px; height: 874px;
  border-radius: 56px;
  background: #0b0908;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), inset 0 0 0 2px #2a2422, inset 0 0 0 4px #0b0908;
}
.phone::before { /* dynamic island */
  content: ''; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 112px; height: 32px; border-radius: 20px; background: #0b0908; z-index: 60;
}
.app {
  position: relative; width: 100%; height: 100%;
  border-radius: 44px; overflow: hidden; overflow: clip; /* clip: programozott görgetés (pl. input fókusz) se tolja el az appot */
  background: var(--bg); color: var(--text);
  transition: background .35s, color .35s;
  --safe-top: 56px;
  --safe-bottom: 20px;
}
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: var(--safe-top); z-index: 50;
  display: flex; justify-content: space-between; align-items: center; padding: 14px 30px 0;
  font-weight: 700; font-size: 15px; pointer-events: none;
}
.statusbar .icons { display: flex; gap: 6px; align-items: center; font-size: 13px; }

@media (max-width: 760px) {
  .stage { display: block; padding: 0; min-height: 100dvh; background: var(--bg); }
  .demo-panel, .demo-right { display: none; }
  .phone { width: 100%; height: 100dvh; border-radius: 0; padding: 0; box-shadow: none; background: var(--bg); }
  .phone::before { display: none; }
  .app { border-radius: 0; --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); }
  .statusbar { display: none; }
}
@media (min-width: 761px) and (max-height: 900px) {
  .phone { transform: scale(.9); }
}

/* ---------- Képernyők ---------- */
.screen {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  padding-top: var(--safe-top);
  padding-bottom: calc(var(--tab-h) + 96px + var(--safe-bottom));
  scroll-behavior: smooth;
  display: none;
  scrollbar-width: none;
}
.screen::-webkit-scrollbar { display: none; }
.screen.active { display: block; animation: screenIn .38s var(--ease-out); }
.screen.active.back { animation: screenBack .32s var(--ease-out); }
@keyframes screenIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes screenBack { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }

.container { padding: 0 18px; }
.section { margin-top: 26px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { font-size: 19px; margin: 0; letter-spacing: -.01em; }
.section-head .link { color: var(--red); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
[data-theme="dark"] .section-head .link { color: var(--orange); }

/* ---------- Fejléc ---------- */
.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px 4px;
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(var(--bg) 70%, transparent);
}
.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text);
  transition: transform .15s var(--ease-spring), background .2s;
}
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 22px; height: 22px; }
.brand-mark { width: 40px; height: 36px; flex: none; }
.city-chip {
  flex: 1; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px;
  border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 700; font-size: 15px;
  transition: transform .15s var(--ease-spring);
}
.city-chip:active { transform: scale(.97); }
.city-chip .pin { color: var(--red); font-size: 18px; }
.city-chip .chev { margin-left: auto; color: var(--muted); }
.city-chip small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); line-height: 1; margin-bottom: 2px; }

.greet { padding: 10px 18px 0; display: flex; justify-content: space-between; align-items: baseline; }
.greet h1 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.greet h1 em { font-style: italic; color: var(--red); }
[data-theme="dark"] .greet h1 em { color: var(--orange); }
.greet .pts { font-size: 13px; color: var(--muted); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.greet .pts b { color: var(--orange-dark); }
[data-theme="dark"] .greet .pts b { color: var(--orange); }

/* ---------- Napimenü blokk ---------- */
.daily {
  margin: 16px 18px 0;
  border-radius: var(--r-xl);
  background: var(--grad-sunset);
  color: #fff;
  box-shadow: 0 18px 40px rgba(205,41,40,.28);
  position: relative; overflow: hidden;
}
.daily::before { /* finom étel-minta mint a brand guide-on */
  content: ''; position: absolute; inset: 0; opacity: .10; pointer-events: none;
  background-image: radial-gradient(circle at 20% 30%, #fff 2px, transparent 3px), radial-gradient(circle at 70% 80%, #fff 2px, transparent 3px), radial-gradient(circle at 90% 20%, #fff 1.5px, transparent 2.5px);
  background-size: 90px 90px, 120px 120px, 70px 70px;
}
.daily-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 18px 0; position: relative; }
.daily-head .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.daily-head h2 { margin: 2px 0 0; font-size: 24px; font-style: italic; letter-spacing: -.01em; }
.daily-head h2 span { font-style: normal; font-weight: 400; opacity: .85; font-size: 16px; }
.daily-count {
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px); border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.22);
}
.daily-deadline { display: flex; align-items: center; gap: 10px; padding: 10px 18px 0; font-size: 13px; position: relative; }
.daily-deadline .bar { flex: 1; height: 6px; background: rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.daily-deadline .bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 999px; transition: width 1.2s var(--ease-out); }
.daily-deadline b { white-space: nowrap; }
.daily-filters { display: flex; gap: 8px; padding: 12px 18px 0; overflow-x: auto; scrollbar-width: none; position: relative; }
.daily-filters::-webkit-scrollbar { display: none; }
.daily-filters .chip {
  flex: none; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); color: #fff; transition: background .2s, transform .15s var(--ease-spring);
}
.daily-filters .chip:active { transform: scale(.94); }
.daily-filters .chip.on { background: #fff; color: var(--red-dark); }

.menu-rail {
  display: flex; gap: 12px; padding: 14px 18px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative;
}
.menu-rail::-webkit-scrollbar { display: none; }
.menu-card {
  flex: none; width: 262px; scroll-snap-align: start;
  background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: 14px;
  box-shadow: 0 10px 24px rgba(80,20,10,.18);
  display: grid; gap: 10px; text-align: left; position: relative;
  transition: transform .18s var(--ease-spring), box-shadow .2s;
}
.menu-card:active { transform: scale(.97); }
.menu-card.hidden { display: none; }
.menu-card .mc-top { display: flex; align-items: center; gap: 10px; }
.menu-card .mc-logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--surface-2); flex: none; }
.menu-card .mc-name { font-weight: 700; font-size: 14px; line-height: 1.15; }
.menu-card .mc-time { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-top: 2px; }
.menu-card .mc-time .ok { color: var(--green); font-weight: 700; }
.menu-card .mc-badges { margin-left: auto; display: flex; gap: 4px; flex: none; }
.menu-card .mc-top > div:nth-child(2) { min-width: 0; flex: 1; }
.menu-card .mc-badges .badge { width: 24px; height: 24px; font-size: 12px; }
.badge {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px;
  background: var(--surface-2);
}
.badge.hamm { background: rgba(205,41,40,.12); }
.badge.coupon { background: rgba(247,160,47,.18); }
.badge.veg { background: rgba(46,158,91,.14); }
.menu-card .mc-lines { display: grid; gap: 5px; font-size: 13.5px; line-height: 1.3; }
.menu-card .mc-lines div { display: grid; grid-template-columns: 22px 1fr; gap: 6px; align-items: start; }
.menu-card .mc-lines span { color: var(--muted); font-size: 12px; font-weight: 700; padding-top: 2px; }
.menu-card .mc-lines p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-card .mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.price { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.price small { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.price .fee { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.menu-card .menu-more {
  flex: none; width: 262px; scroll-snap-align: start; display: grid; place-items: center;
}
.menu-more {
  flex: none; width: 150px; scroll-snap-align: start; border-radius: var(--r-lg);
  background: rgba(255,255,255,.14); border: 1.5px dashed rgba(255,255,255,.5); color: #fff; font-weight: 700;
  display: grid; place-items: center; gap: 6px; text-align: center; padding: 14px; font-size: 14px;
}
.menu-more .n { font-size: 30px; }

/* ---------- Kategóriák ---------- */
.cat-rail { display: flex; gap: 10px; padding: 0 18px; overflow-x: auto; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat {
  flex: none; width: 84px; display: grid; gap: 6px; justify-items: center; text-align: center;
  font-size: 12px; font-weight: 700; color: var(--text); transition: transform .18s var(--ease-spring);
}
.cat:active { transform: scale(.92); }
.cat .tile {
  width: 66px; height: 66px; border-radius: 22px; display: grid; place-items: center; font-size: 30px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  background-image: var(--grad-soft);
}
.cat .tile img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.18)); }

/* ---------- Bannerek ---------- */
.banner-rail { display: flex; gap: 12px; padding: 0 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banner-rail::-webkit-scrollbar { display: none; }
.banner {
  flex: none; width: calc(100% - 20px); scroll-snap-align: start; border-radius: var(--r-lg); padding: 18px 18px 16px;
  color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.banner.red { background: var(--grad-brand); }
.banner.orange { background: var(--grad-orange); }
.banner.dark { background: linear-gradient(135deg, #3a2a22, #1a1412); }
.banner h3 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.banner p { margin: 4px 0 12px; font-size: 13px; opacity: .85; font-style: italic; font-weight: 700; }
.banner .emoji { font-size: 56px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.25)); }
.banner .cta { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); color: #221A16; font-weight: 700; font-size: 13px; }
.dots { display: flex; gap: 5px; justify-content: center; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--surface-3); transition: width .25s, background .25s; }
.dots i.on { width: 18px; background: var(--red); }

/* ---------- Étterem listák ---------- */
.view-toggle {
  display: inline-flex; background: var(--surface); border-radius: 12px; padding: 3px; box-shadow: var(--shadow-sm); position: relative;
}
.view-toggle button { width: 36px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); position: relative; z-index: 1; transition: color .2s; }
.view-toggle button.on { color: #fff; }
.view-toggle .thumb { position: absolute; top: 3px; left: 3px; width: 36px; height: 30px; border-radius: 9px; background: var(--grad-brand); transition: transform .3s var(--ease-spring); }
.view-toggle[data-view="list"] .thumb { transform: translateX(36px); }
.view-toggle svg { width: 18px; height: 18px; }

.sort-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.sort-rail::-webkit-scrollbar { display: none; }
.pill {
  flex: none; padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-sm); transition: transform .15s var(--ease-spring), background .2s, color .2s;
}
.pill:active { transform: scale(.94); }
.pill.on { background: var(--text); color: var(--bg); }

.rest-list { display: grid; gap: 12px; }
.rest-list[data-view="grid"] { grid-template-columns: 1fr 1fr; }
.rest-list[data-view="list"] { grid-template-columns: 1fr; }
.rest {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); text-align: left;
  display: grid; position: relative; transition: transform .2s var(--ease-spring), box-shadow .25s;
}
.rest:active { transform: scale(.97); }
.rest.opening { animation: restOpen .45s var(--ease-out) forwards; z-index: 5; }
@keyframes restOpen { 40% { transform: scale(1.04); box-shadow: 0 24px 50px rgba(0,0,0,.25); } 100% { transform: scale(1.04); opacity: .0; } }
.rest.hide { display: none; }
.rest .cover {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; font-size: 46px;
  background: var(--surface-2);
}
.rest .cover.red { background: radial-gradient(120% 100% at 80% 0%, #F7A02F 0%, #CD2928 45%, #930A0A 100%); }
.rest .cover.orange { background: radial-gradient(120% 100% at 80% 0%, #FFD08A 0%, #F7A02F 45%, #A76C20 100%); }
.rest .cover.green { background: radial-gradient(120% 100% at 80% 0%, #B9E4A6 0%, #5FB86E 45%, #2E6F3E 100%); }
.rest .cover.dark { background: radial-gradient(120% 100% at 80% 0%, #6b4a3a 0%, #3a2a22 50%, #1a1412 100%); }
.rest .cover .emoji { filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); transform: translateY(2px); transition: transform .3s var(--ease-spring); }
.rest:hover .cover .emoji { transform: translateY(-4px) scale(1.06); }
.rest .cover .badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.rest .cover .badges .badge { background: rgba(255,255,255,.92); color: #221A16; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.rest .cover .fav {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center;
  color: #b8aca4; transition: transform .25s var(--ease-spring);
}
.rest .cover .fav.on { color: var(--red); }
.rest .cover .fav.pop { animation: pop .45s var(--ease-spring); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.rest .cover .fav svg { width: 16px; height: 16px; }
.rest .cover .eta {
  position: absolute; bottom: 8px; right: 8px; background: rgba(20,14,12,.72); color: #fff; backdrop-filter: blur(6px);
  padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.rest .cover .closed {
  position: absolute; inset: 0; background: rgba(20,14,12,.55); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; backdrop-filter: grayscale(.6);
}
.rest .cover .closed span { background: var(--red); padding: 6px 12px; border-radius: 999px; }
.rest .body { padding: 10px 12px 12px; display: grid; gap: 4px; }
.rest .name { font-weight: 700; font-size: 14.5px; line-height: 1.2; display: flex; justify-content: space-between; gap: 8px; }
.rest .type { font-size: 12px; color: var(--muted); }
.rest .meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin-top: 2px; flex-wrap: wrap; }
.rest .meta .rating { color: var(--text); font-weight: 700; display: inline-flex; gap: 3px; align-items: center; }
.rest .meta .rating::before { content: '★'; color: var(--orange); }
.rest .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.rest .meta .fee0 { color: var(--green); font-weight: 700; }

/* lista nézet */
.rest-list[data-view="list"] .rest { grid-template-columns: 116px 1fr; }
.rest-list[data-view="list"] .rest .cover { aspect-ratio: auto; height: 100%; min-height: 104px; font-size: 38px; }
.rest-list[data-view="list"] .rest .cover .eta { display: none; }
.rest-list[data-view="list"] .rest .cover .badges { top: auto; bottom: 8px; }
.rest-list[data-view="list"] .rest .body { padding: 12px 14px; align-content: center; }
.rest-list[data-view="list"] .rest .name { font-size: 16px; }
.rest-list[data-view="list"] .rest .meta { margin-top: 6px; }
.rest-list[data-view="list"] .rest .meta .eta-inline { display: inline; }
.rest-list[data-view="grid"] .rest .meta .eta-inline { display: none; }

/* ---------- Lebegő dokk (kereső + kosár + accordion-bezáró) ---------- */
.dock {
  position: absolute; left: 14px; right: 14px; bottom: calc(var(--tab-h) + var(--safe-bottom) + 10px); z-index: 30;
  display: grid; gap: 10px; pointer-events: none;
}
.dock > * { pointer-events: auto; }
.dock-row { display: flex; gap: 10px; align-items: center; }
.search-pill {
  flex: 1; height: 52px; border-radius: 999px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px;
  background: var(--surface); box-shadow: 0 12px 30px rgba(40,20,10,.22), 0 0 0 1px var(--line);
  color: var(--muted); font-size: 14.5px; font-weight: 500; text-align: left;
  transition: transform .2s var(--ease-spring), box-shadow .2s, flex-basis .3s;
}
.search-pill:active { transform: scale(.98); }
.search-pill .q { flex: 1; }
.search-pill .filter { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--text); }
.search-pill svg { width: 20px; height: 20px; }
.cart-pill {
  flex: none; height: 52px; border-radius: 999px; padding: 0 16px 0 12px; display: none; align-items: center; gap: 8px;
  background: var(--grad-brand); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 30px rgba(147,10,10,.4);
  transform-origin: center;
}
.cart-pill.show { display: inline-flex; animation: cartIn .4s var(--ease-spring); }
.cart-pill.bump { animation: bump .4s var(--ease-spring); }
@keyframes cartIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.12) rotate(-3deg); } 100% { transform: scale(1); } }
.cart-pill .n { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 13px; }
.close-pill {
  justify-self: center; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; display: none; align-items: center; gap: 8px;
  background: var(--text); color: var(--bg); font-weight: 700; font-size: 13px; box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.close-pill.show { display: inline-flex; animation: cartIn .35s var(--ease-spring); }
.close-pill svg { width: 16px; height: 16px; }

/* ---------- Alsó tapadó navbar ---------- */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 40;
  height: calc(var(--tab-h) + var(--safe-bottom)); padding-bottom: var(--safe-bottom);
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.tab {
  display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); position: relative;
  transition: color .2s;
}
.tab svg { width: 24px; height: 24px; transition: transform .3s var(--ease-spring); }
.tab.on { color: var(--red); }
[data-theme="dark"] .tab.on { color: var(--orange); }
.tab.on svg { transform: translateY(-2px) scale(1.08); }
.tab.on::before { content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: currentColor; }
.tab .dotn { position: absolute; top: 8px; right: calc(50% - 18px); min-width: 16px; height: 16px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }

/* ---------- Hamm gombok ("bun" = zsemle gomb) ---------- */
.btn-bun {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; height: 50px; border-radius: 999px; font-weight: 700; font-size: 15.5px; color: #fff; letter-spacing: .01em;
  background: linear-gradient(180deg, #E8443E 0%, #CD2928 52%, #B51F1F 100%);
  box-shadow: 0 5px 0 #930A0A, 0 12px 22px rgba(147,10,10,.28), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), filter .2s;
  isolation: isolate;
}
.btn-bun::before { /* pirult zsemle-fény */
  content: ''; position: absolute; left: 12%; right: 12%; top: 4px; height: 40%; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,0)); pointer-events: none;
}
.btn-bun .seed { position: absolute; width: 6px; height: 3px; border-radius: 50%; background: rgba(255,230,180,.7); transform: rotate(-20deg); pointer-events: none; }
.btn-bun .seed:nth-child(1) { top: 9px; left: 22%; }
.btn-bun .seed:nth-child(2) { top: 7px; left: 55%; transform: rotate(25deg); }
.btn-bun .seed:nth-child(3) { top: 12px; left: 78%; transform: rotate(-5deg); }
.btn-bun:active { transform: translateY(4px); box-shadow: 0 1px 0 #930A0A, 0 4px 10px rgba(147,10,10,.25), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-bun.orange {
  background: linear-gradient(180deg, #FFB449 0%, #F7A02F 52%, #E08B22 100%); color: #3a1d05;
  box-shadow: 0 5px 0 #A76C20, 0 12px 22px rgba(167,108,32,.28), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-bun.orange:active { box-shadow: 0 1px 0 #A76C20, 0 4px 10px rgba(167,108,32,.25), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-bun.block { width: 100%; }
.btn-bun.sm { height: 40px; padding: 0 16px; font-size: 14px; }
/* harapás: a háttér színű "hiány" a gomb sarkán */
.btn-bun .bite {
  position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--bite-color);
  top: -10px; right: 14px; transform: scale(0); pointer-events: none; z-index: 2;
  box-shadow: -13px 6px 0 -6px var(--bite-color), 11px 8px 0 -7px var(--bite-color), -3px 14px 0 -8px var(--bite-color);
}
.btn-bun.bitten .bite { animation: bite .5s var(--ease-spring) forwards; }
.btn-bun.bitten { animation: chew .5s var(--ease-out); }
.btn-bun.healed .bite { animation: heal .35s var(--ease-out) forwards; }
@keyframes bite { 0% { transform: scale(0); } 55% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes heal { from { transform: scale(1); } to { transform: scale(0); } }
@keyframes chew { 0% { transform: translateY(4px) rotate(0); } 25% { transform: translateY(2px) rotate(-1.2deg); } 50% { transform: translateY(0) rotate(1deg); } 75% { transform: rotate(-.5deg); } 100% { transform: none; } }
.btn-bun .crumb { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #E8443E; pointer-events: none; z-index: 3; }
.btn-bun.orange .crumb { background: #F7A02F; }

/* ketchupos + gomb */
.btn-add {
  position: relative; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: var(--grad-brand); box-shadow: 0 6px 14px rgba(147,10,10,.3);
  transition: transform .15s var(--ease-spring);
}
.btn-add:active { transform: scale(.85); }
.btn-add svg { width: 20px; height: 20px; }
.btn-add.done { animation: bump .4s var(--ease-spring); }
.splash { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 20; }
.splash .drop { position: absolute; left: 0; top: 0; border-radius: 50% 50% 50% 0; background: var(--red); transform: translate(-50%, -50%); }
.splash .splat { position: absolute; left: 0; top: 0; border-radius: 50%; background: var(--red); transform: translate(-50%, -50%); opacity: .85; }
.flyer { position: absolute; z-index: 60; pointer-events: none; padding: 6px 10px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; box-shadow: 0 6px 14px rgba(147,10,10,.35); }

/* "átsütés" – tartsd nyomva gomb */
.btn-sear {
  position: relative; width: 100%; height: 56px; border-radius: 999px; overflow: hidden; color: #3a1d05; font-weight: 700; font-size: 16px;
  background: linear-gradient(180deg, #FFB449, #F7A02F 55%, #E08B22); box-shadow: 0 5px 0 #A76C20, 0 12px 22px rgba(167,108,32,.3);
  user-select: none; -webkit-user-select: none; touch-action: none; transition: transform .12s, box-shadow .12s;
}
.btn-sear:active { transform: translateY(3px); box-shadow: 0 2px 0 #A76C20, 0 6px 12px rgba(167,108,32,.3); }
.btn-sear .heat {
  position: absolute; inset: 0; background: linear-gradient(90deg, #7a3a12, #A76C20 60%, #CD2928); clip-path: inset(0 100% 0 0);
  background-image: repeating-linear-gradient(115deg, rgba(0,0,0,.28) 0 6px, transparent 6px 18px), linear-gradient(90deg, #7a3a12, #A76C20 60%, #CD2928);
}
.btn-sear .label { position: relative; z-index: 2; display: inline-flex; gap: 8px; align-items: center; height: 100%; justify-content: center; width: 100%; mix-blend-mode: normal; }
.btn-sear.hot .label { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.btn-sear .smoke { position: absolute; bottom: 60%; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.7); filter: blur(3px); pointer-events: none; }
.btn-sear.done { background: linear-gradient(180deg, #4b2a12, #3a1d05); color: #fff; box-shadow: 0 5px 0 #2a1305, 0 12px 22px rgba(0,0,0,.3); }
.btn-sear.done .heat { display: none; }
.btn-sear .hint { display: block; font-size: 11px; font-weight: 500; opacity: .8; }

/* ---------- Étterem oldal ---------- */
.hero { position: relative; margin-top: calc(-1 * var(--safe-top)); padding-top: var(--safe-top); }
.hero .cover {
  height: 210px; display: grid; place-items: center; font-size: 84px; position: relative;
  background: radial-gradient(120% 100% at 80% 0%, #F7A02F 0%, #CD2928 45%, #930A0A 100%);
}
.hero .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, var(--bg)); }
.hero .cover .emoji { position: relative; filter: drop-shadow(0 16px 20px rgba(0,0,0,.35)); z-index: 1; }
.hero .nav { position: absolute; top: calc(var(--safe-top) + 8px); left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 3; }
.hero .nav .icon-btn { background: rgba(255,255,255,.9); color: #221A16; }
.hero .nav .right { display: flex; gap: 8px; }
.hero .nav .icon-btn.fav.on { color: var(--red); }
.hero .nav .icon-btn.fav.pop { animation: pop .45s var(--ease-spring); }
.rest-info {
  margin: -60px 18px 0; position: relative; z-index: 2;
  background: var(--surface); border-radius: var(--r-xl); padding: 18px; box-shadow: var(--shadow);
}
.rest-info .row1 { display: flex; gap: 12px; align-items: flex-start; }
.rest-info .logo { width: 56px; height: 56px; border-radius: 18px; background: var(--surface-2); display: grid; place-items: center; font-size: 28px; flex: none; margin-top: -40px; box-shadow: 0 6px 14px rgba(0,0,0,.15); border: 3px solid var(--surface); }
.rest-info h1 { margin: 0; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.rest-info .type { color: var(--muted); font-size: 13px; margin-top: 2px; }
.rest-info .rating { margin-left: auto; text-align: right; flex: none; }
.rest-info .rating b { font-size: 20px; color: var(--red); display: block; line-height: 1; }
[data-theme="dark"] .rest-info .rating b { color: var(--orange); }
.rest-info .rating small { color: var(--muted); font-size: 11px; }
.rest-info .stars { color: var(--orange); font-size: 12px; letter-spacing: 1px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.stat { background: var(--surface-2); border-radius: 14px; padding: 8px 6px; text-align: center; display: grid; gap: 2px; }
.stat b { font-size: 14px; }
.stat span { font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.stat.ok b { color: var(--green); }
.rest-info .desc { margin: 12px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rest-info .desc.open { -webkit-line-clamp: unset; }
.rest-info .more { color: var(--red); font-weight: 700; font-size: 13px; margin-top: 4px; }
[data-theme="dark"] .rest-info .more { color: var(--orange); }
.rest-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tag { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); display: inline-flex; gap: 5px; align-items: center; }
.tag.red { background: rgba(205,41,40,.12); color: var(--red); }
[data-theme="dark"] .tag.red { color: #ff8a80; }
.tag.orange { background: rgba(247,160,47,.2); color: var(--orange-dark); }
[data-theme="dark"] .tag.orange { color: var(--orange); }

/* napimenü kiemelés az étterem oldalon */
.today-menu {
  margin: 16px 18px 0; border-radius: var(--r-lg); padding: 14px 16px; color: #fff; background: var(--grad-sunset);
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; box-shadow: 0 12px 28px rgba(205,41,40,.25);
}
.today-menu .eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; opacity: .85; }
.today-menu h3 { margin: 2px 0 4px; font-size: 16px; font-style: italic; }
.today-menu p { margin: 0; font-size: 13px; line-height: 1.35; opacity: .95; }
.today-menu .price { font-size: 22px; }
.today-menu .btn-bun { --bite-color: #D8532B; }

/* kategória-ugró sáv */
.cat-jump { display: flex; gap: 8px; padding: 0 18px; overflow-x: auto; scrollbar-width: none; margin-top: 16px; position: sticky; top: calc(var(--safe-top) + 0px); z-index: 15; padding-top: 8px; padding-bottom: 8px; background: linear-gradient(var(--bg) 80%, transparent); }
.cat-jump::-webkit-scrollbar { display: none; }

/* ---------- Accordion ---------- */
.acc-list { display: grid; gap: 10px; margin: 8px 18px 0; }
.acc { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: clip; transition: box-shadow .25s; }
.acc.open { box-shadow: var(--shadow); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; font-weight: 700; font-size: 16px;
  transition: background .2s;
}
.acc-head:active { background: var(--surface-2); }
.acc-head .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: var(--surface-2); flex: none; }
.acc-head .n { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 700; background: var(--surface-2); padding: 3px 8px; border-radius: 999px; }
.acc-head .chev { width: 22px; height: 22px; color: var(--muted); transition: transform .35s var(--ease-spring); flex: none; }
.acc.open .acc-head .chev { transform: rotate(180deg); color: var(--red); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.acc.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; min-height: 0; }
.acc-items { display: grid; gap: 2px; padding: 0 8px 10px; }
.item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 10px 8px; border-radius: 16px; text-align: left; width: 100%;
  transition: background .2s, transform .15s var(--ease-spring);
}
.item:active { background: var(--surface-2); transform: scale(.985); }
.item .img { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; background: var(--grad-soft); position: relative; }
.item .img .b { position: absolute; top: -6px; left: -6px; font-size: 10px; font-weight: 700; color: #fff; background: var(--red); padding: 2px 6px; border-radius: 999px; }
.item .img .b.ora { background: var(--orange); color: #3a1d05; }
.item .t { display: grid; gap: 3px; min-width: 0; }
.item .nm { font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.item .nm small { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 4px; }
.item .ds { font-size: 12.5px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .al { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.item .al span { font-size: 10.5px; color: var(--muted); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.item .al .tg { background: rgba(46,158,91,.14); }
.item .r { display: grid; justify-items: end; gap: 8px; }
.item .r .price { font-size: 15px; }
.item .r .old { font-size: 11px; color: var(--muted); text-decoration: line-through; font-weight: 400; margin-right: 4px; }

/* ---------- Alsó lapok (sheet) ---------- */
.scrim { position: absolute; inset: 0; background: rgba(20,14,12,.45); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.scrim.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--surface); border-radius: 28px 28px 0 0;
  transform: translateY(105%); transition: transform .45s var(--ease-out); max-height: 88%; display: flex; flex-direction: column;
  box-shadow: 0 -20px 60px rgba(0,0,0,.25); --bite-color: var(--surface);
}
.sheet.show { transform: none; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--surface-3); margin: 10px auto 0; flex: none; }
.sheet .sheet-body { overflow-y: auto; padding: 14px 20px 8px; scrollbar-width: none; }
.sheet .sheet-body::-webkit-scrollbar { display: none; }
.sheet .sheet-foot { padding: 12px 20px calc(16px + var(--safe-bottom)); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; flex: none; background: var(--surface); }
.sheet h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.sheet .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sheet .hero-img { height: 130px; border-radius: 20px; display: grid; place-items: center; font-size: 64px; background: var(--grad-soft); margin-bottom: 14px; }
.sheet p.desc { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 10px 0 0; }
.sheet .allerg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.sheet .allerg span { font-size: 12px; background: var(--surface-2); padding: 4px 9px; border-radius: 8px; color: var(--muted); }
.sheet h4 { margin: 18px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.opt { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; font-size: 14.5px; }
.opt:last-child { border-bottom: 0; }
.opt .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--surface-3); display: grid; place-items: center; transition: background .2s, border-color .2s, transform .2s var(--ease-spring); flex: none; }
.opt .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.5); transition: .2s var(--ease-spring); }
.opt.on .box { background: var(--red); border-color: var(--red); transform: scale(1.05); }
.opt.on .box svg { opacity: 1; transform: none; }
.opt .p { margin-left: auto; color: var(--muted); font-weight: 700; font-size: 13px; }
.note { width: 100%; border: 0; background: var(--surface-2); border-radius: 14px; padding: 12px 14px; font-size: 14px; resize: none; height: 64px; outline: none; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 4px; flex: none; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: 20px; font-weight: 700; transition: transform .15s var(--ease-spring); }
.stepper button:active { transform: scale(.85); }
.stepper b { min-width: 26px; text-align: center; font-size: 16px; }
.stepper b.tick { animation: tick .25s var(--ease-spring); }
@keyframes tick { 50% { transform: scale(1.3); } }

/* menü-részletező lap */
.menu-sheet .lines { display: grid; gap: 10px; margin-top: 14px; }
.menu-sheet .line { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.menu-sheet .line .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; font-size: 20px; }
.menu-sheet .line span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: block; }
.menu-sheet .line b { font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.menu-sheet .info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }

/* kosár lap */
.cart-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-line .img { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; font-size: 22px; }
.cart-line .nm { font-weight: 700; font-size: 14px; }
.cart-line .ex { font-size: 12px; color: var(--muted); }
.cart-line .r { display: grid; justify-items: end; gap: 6px; }
.cart-line .stepper button { width: 30px; height: 30px; font-size: 16px; }
.cart-line .stepper b { font-size: 14px; min-width: 20px; }
.cart-line.out { animation: lineOut .3s var(--ease-out) forwards; }
@keyframes lineOut { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; } }
.sum { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.sum div { display: flex; justify-content: space-between; }
.sum .total { color: var(--text); font-weight: 700; font-size: 18px; margin-top: 4px; }
.coupon { display: flex; gap: 8px; margin-top: 14px; }
.coupon input { flex: 1; border: 0; background: var(--surface-2); border-radius: 14px; padding: 12px 14px; font-size: 14px; outline: none; text-transform: uppercase; letter-spacing: .06em; }
.coupon button { padding: 0 14px; border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 13px; }
.empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty .e { font-size: 48px; }

/* ---------- Oldalmenü (drawer) ---------- */
.drawer {
  position: absolute; top: 0; bottom: 0; left: 0; width: 82%; max-width: 330px; z-index: 90; background: var(--surface);
  transform: translateX(-104%); transition: transform .42s var(--ease-out); display: flex; flex-direction: column; padding-top: var(--safe-top);
  box-shadow: 30px 0 80px rgba(0,0,0,.25);
}
.drawer.show { transform: none; }
.drawer-head { padding: 12px 20px 18px; background: var(--grad-brand); color: #fff; margin-top: calc(-1 * var(--safe-top)); padding-top: calc(var(--safe-top) + 12px); border-radius: 0 0 28px 0; }
.drawer-head img { width: 110px; margin-bottom: 14px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.2)); }
.drawer-head .u { display: flex; gap: 12px; align-items: center; }
.drawer-head .av { width: 44px; height: 44px; border-radius: 14px; background: var(--orange); color: #3a1d05; font-weight: 700; display: grid; place-items: center; }
.drawer-head .nm { font-weight: 700; font-size: 16px; }
.drawer-head .pts { font-size: 12px; opacity: .85; }
.drawer-list { padding: 12px 10px; display: grid; gap: 2px; overflow-y: auto; flex: 1; }
.d-item { display: flex; align-items: center; gap: 14px; padding: 12px 12px; border-radius: 14px; width: 100%; text-align: left; font-weight: 700; font-size: 15px; transition: background .2s; }
.d-item:active { background: var(--surface-2); }
.d-item .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 17px; }
.d-item .right { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; }
.d-sep { height: 1px; background: var(--line); margin: 8px 12px; }
.d-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 8px 12px 2px; }

/* téma váltó */
.theme-toggle { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; width: 100%; text-align: left; font-weight: 700; font-size: 15px; }
.theme-toggle .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 17px; }
.switch { margin-left: auto; width: 56px; height: 32px; border-radius: 999px; background: var(--surface-3); position: relative; transition: background .3s; flex: none; }
.switch::after { content: '☀️'; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 14px; transition: transform .35s var(--ease-spring), background .3s; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
[data-theme="dark"] .switch { background: var(--grad-brand); }
[data-theme="dark"] .switch::after { content: '🌙'; transform: translateX(24px); background: #2A211C; }
.seg { margin-left: auto; display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; }
.seg button { padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.drawer-foot { padding: 12px 20px calc(16px + var(--safe-bottom)); font-size: 11px; color: var(--muted); font-style: italic; font-weight: 700; }

/* ---------- Toast ---------- */
.toast {
  position: absolute; left: 50%; bottom: calc(var(--tab-h) + var(--safe-bottom) + 80px); transform: translate(-50%, 20px); z-index: 100;
  background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none;
  transition: .3s var(--ease-spring); white-space: nowrap; box-shadow: 0 12px 30px rgba(0,0,0,.3); display: flex; gap: 8px; align-items: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Placeholder képernyők ---------- */
.stub { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 20px 30px; gap: 8px; }
.stub .e { font-size: 72px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.15)); }
.stub h1 { margin: 6px 0 0; font-size: 24px; }
.stub p { color: var(--muted); margin: 0; line-height: 1.5; font-size: 14.5px; }
.stub .note { background: var(--surface-2); border-radius: 16px; padding: 12px; font-size: 12.5px; color: var(--muted); margin-top: 14px; height: auto; font-style: italic; font-weight: 700; }

/* konfetti / siker */
.confetti { position: absolute; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; z-index: 120; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
