/* www.dineopz.com - same family as DineOpz Local: dark-first, brand orange, system fonts, no external assets. */
:root {
  --bg: #070a12; --bg2: #0c1220; --card: rgba(255,255,255,.04); --card-b: rgba(255,255,255,.09); --card-h: rgba(255,255,255,.07);
  --text: #eef2f8; --muted: #9aa6ba; --brand: #f97316; --brand2: #fb923c; --brand3: #ea580c; --gold: #fbbf24;
  --ok: #34d399; --warn: #fbbf24; --bad: #f87171; --radius: 18px; --shadow: 0 30px 80px -30px rgba(0,0,0,.75);
  --veg: #16a34a; --nonveg: #b91c1c;
}
@media (prefers-color-scheme: light) {
html:not([data-theme=dark]) { --bg: #f7f8fb; --bg2: #eef1f6; --card: #ffffff; --card-b: #e3e8ef; --card-h: #f4f6fa; --text: #0b1220; --muted: #556074;
          --shadow: 0 30px 60px -30px rgba(15,23,42,.25); }
}
html[data-theme=light] { --bg: #f7f8fb; --bg2: #eef1f6; --card: #ffffff; --card-b: #e3e8ef; --card-h: #f4f6fa; --text: #0b1220; --muted: #556074;
          --shadow: 0 30px 60px -30px rgba(15,23,42,.25); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
html { background: var(--bg); }
body { margin: 0; background: transparent; color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .4em; }
p { margin: 0 0 .8em; }
.in { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand2); outline-offset: 3px; border-radius: 6px; }
.card { background: var(--card); border: 1px solid var(--card-b); border-radius: var(--radius); padding: 22px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--card-b); }
.nav .in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; }
.links { display: flex; align-items: center; gap: 4px; }
.links a:not(.btn), .burger nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 10px; }
.links a:not(.btn):hover, .burger nav a:not(.btn):hover { color: var(--text); background: var(--card); }
.links .btn { margin-left: 8px; }
.burger { display: none; }
.burger summary { list-style: none; cursor: pointer; padding: 10px; }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }
.burger nav { position: absolute; left: 0; right: 0; top: 64px; display: flex; flex-direction: column; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--card-b); }
@media (max-width: 900px) { .links { display: none; } .burger { display: block; } }

/* buttons, pills, fields */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 700; font-size: .95rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand3)); padding: 11px 18px; border-radius: 12px; box-shadow: 0 10px 30px -12px rgba(249,115,22,.7); transition: transform .15s ease, box-shadow .15s ease, opacity .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(249,115,22,.85); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--card-b); box-shadow: none; }
.btn.lg { padding: 14px 22px; font-size: 1.02rem; }
.btn.block { display: flex; width: 100%; margin-top: 10px; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { background: none; border: 0; color: var(--brand2); font: inherit; font-weight: 600; cursor: pointer; padding: 6px 0; }
.icon { background: var(--card); border: 1px solid var(--card-b); color: var(--text); border-radius: 10px; width: 36px; height: 36px; cursor: pointer; font-size: 1rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-b); color: var(--muted); }
.pill.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.pill.ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.pill.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.field { display: block; font-weight: 600; font-size: .9rem; margin: 12px 0 4px; }
.field input, .field textarea, .tools input[type=search], .search input { display: block; width: 100%; margin-top: 6px; font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--card-b); border-radius: 12px; padding: 11px 13px; }
.field input:focus, .field textarea:focus, .tools input:focus, .search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.end { justify-content: flex-end; }
.err { color: var(--bad); font-weight: 600; min-height: 1.2em; margin: 10px 0 0; }
.ok-note { color: var(--ok); font-weight: 600; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(249,115,22,.22), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgba(251,191,36,.10), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 800; color: var(--brand2); margin: 0 0 12px; }
.eyebrow a { color: inherit; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 850; }
.grad { background: linear-gradient(120deg, var(--brand2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.search { display: flex; gap: 10px; margin: 26px 0 16px; max-width: 560px; }
.search input { margin: 0; padding: 14px 16px; border-radius: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: .84rem; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--card-b); background: var(--card); }
.chips li::before { content: "✓ "; color: var(--ok); }
.hero-art { position: relative; display: flex; justify-content: center; }
.phone { width: 320px; border-radius: 30px; padding: 22px; background: linear-gradient(180deg, var(--bg2), var(--bg)); border: 1px solid var(--card-b); box-shadow: var(--shadow), 0 0 0 8px color-mix(in srgb, var(--card-b) 50%, transparent); animation: rise .8s ease both; }
.ph-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ph-line { display: flex; justify-content: space-between; font-size: .9rem; padding: 7px 0; border-bottom: 1px dashed var(--card-b); }
.ph-total { display: flex; justify-content: space-between; padding: 12px 0 4px; font-size: 1.05rem; }
.ph-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 14px 0; }
.ph-steps li { flex: 1; text-align: center; font-size: .68rem; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--card-b); }
.ph-steps li.done { border-color: var(--ok); color: var(--text); }
.ph-steps li.now { border-color: var(--brand); color: var(--brand2); }
.ph-token { text-align: center; font-size: .86rem; color: var(--muted); background: var(--card); border-radius: 12px; padding: 10px; }
.ph-token b { color: var(--text); font-size: 1.1rem; }
.float { position: absolute; font-size: .82rem; font-weight: 700; padding: 9px 13px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--card-b); box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.f1 { left: 0; top: 18%; } .f2 { right: 0; bottom: 14%; animation-delay: -2.5s; }
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } .hero { padding: 48px 0 36px; } }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: color-mix(in srgb, var(--bg2) 72%, transparent); border-top: 1px solid var(--card-b); border-bottom: 1px solid var(--card-b); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.rcard { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-b); transition: transform .15s ease, border-color .15s, background .15s; }
.rcard:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 50%, var(--card-b)); background: var(--card-h); }
.rbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rbody b { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmeta { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.arrow { color: var(--brand2); font-weight: 800; }
.ravatar { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-weight: 850; color: #fff; font-size: 1.1rem; }
.ravatar.lg { width: 72px; height: 72px; border-radius: 20px; font-size: 1.5rem; }
.hue-0 { background: linear-gradient(135deg, #f97316, #c2410c); } .hue-1 { background: linear-gradient(135deg, #e11d48, #9f1239); }
.hue-2 { background: linear-gradient(135deg, #8b5cf6, #5b21b6); } .hue-3 { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.hue-4 { background: linear-gradient(135deg, #10b981, #047857); } .hue-5 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.hue-6 { background: linear-gradient(135deg, #ec4899, #9d174d); } .hue-7 { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.empty { padding: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.steps .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand3)); margin-bottom: 12px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.features h3, .steps h3 { font-size: 1.08rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .steps, .features { grid-template-columns: 1fr; } }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; background: radial-gradient(600px 200px at 100% 0, rgba(249,115,22,.2), transparent 70%), var(--card); }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
@media (max-width: 760px) { .cta { flex-direction: column; align-items: flex-start; } }
.faq { border-bottom: 1px solid var(--card-b); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; }
.prose { padding: 56px 20px; }
.empty-page { padding: 80px 20px; }

/* store */
.store-head { padding: 24px 0 18px; background: radial-gradient(700px 300px at 90% -20%, rgba(249,115,22,.18), transparent 60%); }
.cats-bar { position: sticky; top: 64px; z-index: 30; border-bottom: 1px solid var(--card-b); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.back { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; }
.store-title { display: flex; align-items: center; gap: 16px; margin: 12px 0; }
.store-title h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; }
.store-title p { margin: 2px 0; }
.store-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.tools { display: flex; gap: 12px; align-items: center; }
.tools input[type=search] { margin: 0; max-width: 420px; }
.toggle { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; white-space: nowrap; cursor: pointer; }
.toggle input { accent-color: var(--veg); width: 18px; height: 18px; }
.cats { display: flex; gap: 6px; overflow-x: auto; padding: 12px 20px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--muted); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--card-b); background: var(--card); }
.cats a:hover { color: var(--text); border-color: var(--brand); }
.menu-wrap { padding-bottom: 120px; }
.mcat { padding-top: 22px; scroll-margin-top: 130px; }
.mcat h2 { font-size: 1.25rem; }
.mlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.mitem { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-b); }
.mitem.off { opacity: .55; }
.mi-main { min-width: 0; }
.mi-name { font-weight: 700; margin: 0 0 4px; display: flex; gap: 8px; align-items: baseline; }
.mi-price { font-weight: 700; margin: 6px 0 0; }
.vg { flex: none; width: 14px; height: 14px; border: 2px solid; border-radius: 3px; position: relative; top: 2px; }
.vg::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: currentColor; }
.vg.veg { color: var(--veg); } .vg.nonveg { color: var(--nonveg); }
.add { flex: none; font: inherit; font-weight: 800; font-size: .88rem; color: var(--brand2); background: color-mix(in srgb, var(--brand) 12%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); border-radius: 10px; padding: 8px 16px; cursor: pointer; min-width: 84px; transition: background .15s; }
.add:hover, .add.on { background: var(--brand); color: #fff; }
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--bg) 40%); }
.cartbar-btn { display: flex; width: calc(100% - 40px); justify-content: space-between; align-items: center; gap: 12px; font: inherit; font-weight: 700; color: #fff; border: 0; cursor: pointer; padding: 15px 20px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), var(--brand3)); box-shadow: 0 18px 40px -14px rgba(249,115,22,.9); animation: rise .3s ease both; }

/* sheets (native dialog) */
dialog.sheet { width: min(520px, 100vw); max-height: 92vh; padding: 0; border: 1px solid var(--card-b); border-radius: 22px; background: var(--bg2); color: var(--text); box-shadow: var(--shadow); }
dialog.sheet::backdrop { background: rgba(3,6,12,.65); backdrop-filter: blur(3px); }
@media (max-width: 560px) { dialog.sheet { margin: auto 0 0; border-radius: 22px 22px 0 0; width: 100vw; max-width: 100vw; } }
.sheet-body { padding: 22px; }
.sheet-body h3 { margin: 0; }
.vopts { display: grid; gap: 8px; margin: 16px 0; }
.vopt { display: flex; justify-content: space-between; font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--card-b); border-radius: 12px; padding: 13px 15px; cursor: pointer; }
.vopt:hover { border-color: var(--brand); }
.clines { list-style: none; padding: 0; margin: 14px 0; }
.clines li { display: grid; grid-template-columns: 1fr auto 90px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--card-b); }
.clines .lp { text-align: right; font-weight: 700; }
.step { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--card-b); border-radius: 10px; padding: 2px; }
.step button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--card); color: var(--text); font-size: 1.1rem; cursor: pointer; }
.step button:hover { background: var(--brand); color: #fff; }
.total { font-size: 1.1rem; margin: 14px 0 4px; }

/* order page */
.order-page { padding: 40px 20px 80px; }
.order-page h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.order-page.bad h1 { color: var(--bad); }
.token { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px; margin: 14px 0; border-radius: 16px; background: color-mix(in srgb, var(--brand) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.token b { font-size: 2.2rem; color: var(--brand2); letter-spacing: .02em; }
.timeline { display: flex; list-style: none; padding: 0; margin: 20px 0; gap: 6px; }
.timeline li { flex: 1; text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); padding-top: 12px; border-top: 4px solid var(--card-b); transition: border-color .3s, color .3s; }
.timeline li.done { border-color: var(--ok); color: var(--text); }
.timeline li.now { border-color: var(--brand); color: var(--brand2); }
.timeline li.off { opacity: .4; }
.olines { list-style: none; padding: 0; margin: 10px 0 16px; }
.olines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--card-b); }
.olines li.tot { border: 0; font-size: 1.08rem; padding-top: 14px; }

/* footer */
.foot { border-top: 1px solid var(--card-b); padding: 40px 0 28px; margin-top: 20px; }
.foot .in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.foot-brand p { color: var(--muted); max-width: 440px; font-size: .92rem; margin-top: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-content: flex-start; }
.foot nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; }
.foot nav a:hover { color: var(--text); }
.legal { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; margin: 0; }
@media (max-width: 760px) { .foot .in { grid-template-columns: 1fr; } .mlist { grid-template-columns: 1fr; } .tools { flex-wrap: wrap; } }

/* pay & pickup */
.paybox { margin: 16px 0 6px; }
.paybox .btn { font-size: 1.08rem; }
.paybox p { margin: 8px 0 0; }

/* Animated restaurant backdrop (ported from DineOpz Local login screen). Decorative, fixed, behind all content. */
.bd { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bd-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.bd-a { width: 520px; height: 520px; left: -160px; top: -180px; background: radial-gradient(circle, rgba(249,115,22,.55), rgba(249,115,22,0) 70%); animation: bd-drift 22s ease-in-out infinite; }
.bd-b { width: 600px; height: 600px; right: -220px; bottom: -240px; background: radial-gradient(circle, rgba(234,88,12,.45), rgba(234,88,12,0) 70%); animation: bd-drift 26s ease-in-out -8s infinite reverse; }
.bd-c { width: 640px; height: 640px; left: 50%; top: 50%; margin: -320px 0 0 -320px; opacity: .35; background: radial-gradient(circle, rgba(99,102,241,.35), rgba(99,102,241,0) 65%); }
.bd-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 20%, transparent 75%); }
.bd-ring { position: absolute; left: 50%; top: 52%; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); transform: translate(-50%,-50%); }
.bd-r1 { width: 620px; height: 620px; }
.bd-r2 { width: 860px; height: 860px; border-color: rgba(249,115,22,.08); border-style: dashed; animation: bd-spin 120s linear infinite; }
.bd-r3 { width: 1120px; height: 1120px; border-color: rgba(255,255,255,.04); }
.bd-i { position: absolute; display: flex; align-items: center; justify-content: center; animation: bd-float var(--d,12s) ease-in-out var(--w,0s) infinite; will-change: transform; }
.bd-i > svg { width: 100%; height: 100%; }
.bd-tile { border-radius: 18px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); }
.bd-tile > svg { width: 52%; height: 52%; }
.bd-s { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fdba74; box-shadow: 0 0 10px 2px rgba(251,146,60,.55); animation: bd-twinkle var(--d,5s) ease-in-out var(--w,0s) infinite; }
.bd-i1{left:6%;top:14%;width:64px;height:64px;color:rgba(251,146,60,.85);--r:-8deg;--d:13s;--w:0s}
.bd-i2{left:18%;top:32%;width:30px;height:30px;color:rgba(255,255,255,.18);--r:14deg;--d:11s;--w:-3s}
.bd-i3{left:9%;top:58%;width:56px;height:56px;color:rgba(253,186,116,.75);--r:6deg;--d:15s;--w:-6s}
.bd-i4{left:20%;top:78%;width:34px;height:34px;color:rgba(255,255,255,.16);--r:-12deg;--d:12s;--w:-2s}
.bd-i5{left:4%;top:86%;width:40px;height:40px;color:rgba(251,146,60,.45);--r:10deg;--d:14s;--w:-5s}
.bd-i6{left:27%;top:10%;width:28px;height:28px;color:rgba(255,255,255,.14);--r:-18deg;--d:10s;--w:-1s}
.bd-i7{left:82%;top:12%;width:66px;height:66px;color:rgba(251,146,60,.85);--r:8deg;--d:14s;--w:-4s}
.bd-i8{left:72%;top:28%;width:30px;height:30px;color:rgba(255,255,255,.18);--r:-10deg;--d:12s;--w:-7s}
.bd-i9{left:88%;top:44%;width:58px;height:58px;color:rgba(253,186,116,.75);--r:-6deg;--d:16s;--w:-2s}
.bd-i10{left:77%;top:64%;width:34px;height:34px;color:rgba(255,255,255,.16);--r:12deg;--d:11s;--w:-6s}
.bd-i11{left:90%;top:80%;width:54px;height:54px;color:rgba(251,146,60,.7);--r:10deg;--d:13s;--w:-3s}
.bd-i12{left:70%;top:88%;width:28px;height:28px;color:rgba(255,255,255,.14);--r:-14deg;--d:10s;--w:-8s}
.bd-i13{left:34%;top:92%;width:26px;height:26px;color:rgba(255,255,255,.12);--r:8deg;--d:12s;--w:-4s}
.bd-i14{left:64%;top:6%;width:26px;height:26px;color:rgba(255,255,255,.12);--r:20deg;--d:11s;--w:-9s}
.bd-i15{left:96%;top:24%;width:28px;height:28px;color:rgba(255,255,255,.13);--r:-20deg;--d:13s;--w:-2s}
.bd-i16{left:2%;top:36%;width:28px;height:28px;color:rgba(255,255,255,.13);--r:16deg;--d:12s;--w:-7s}
.bd-i17{left:62%;top:94%;width:30px;height:30px;color:rgba(251,146,60,.35);--r:0deg;--d:14s;--w:-5s}
.bd-i18{left:38%;top:4%;width:24px;height:24px;color:rgba(255,255,255,.12);--r:-6deg;--d:10s;--w:-3s}
.bd-s1{left:14%;top:24%;--d:4s;--w:0s}
.bd-s2{left:30%;top:66%;--d:6s;--w:-2s}
.bd-s3{left:24%;top:46%;--d:5s;--w:-4s}
.bd-s4{left:68%;top:18%;--d:5s;--w:-1s}
.bd-s5{left:84%;top:56%;--d:6s;--w:-3s}
.bd-s6{left:74%;top:76%;--d:4s;--w:-5s}
.bd-s7{left:46%;top:8%;--d:7s;--w:-2s}
.bd-s8{left:56%;top:90%;--d:5s;--w:-6s}
.bd-s9{left:92%;top:66%;--d:6s;--w:-1s}
@keyframes bd-float { 0%, 100% { transform: translate3d(0,0,0) rotate(var(--r,0deg)); } 50% { transform: translate3d(0,-14px,0) rotate(calc(var(--r,0deg) + 4deg)); } }
@keyframes bd-drift { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(40px,30px,0) scale(1.08); } }
@keyframes bd-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes bd-twinkle { 0%, 100% { opacity: .15; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-color-scheme: light) {
:where(html:not([data-theme=dark])) .bd-grid { background-image: radial-gradient(rgba(15,23,42,.10) 1px, transparent 1px); }
:where(html:not([data-theme=dark])) .bd-ring { border-color: rgba(15,23,42,.07); }
:where(html:not([data-theme=dark])) .bd-glow { opacity: .35; }
:where(html:not([data-theme=dark])) .bd-i:not(.bd-tile) { filter: invert(1) brightness(.35); }
:where(html:not([data-theme=dark])) .bd-tile { border-color: rgba(15,23,42,.08); background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.55)); box-shadow: 0 18px 40px -22px rgba(15,23,42,.35); }
}
:where(html[data-theme=light]) .bd-grid { background-image: radial-gradient(rgba(15,23,42,.10) 1px, transparent 1px); }
:where(html[data-theme=light]) .bd-ring { border-color: rgba(15,23,42,.07); }
:where(html[data-theme=light]) .bd-glow { opacity: .35; }
:where(html[data-theme=light]) .bd-i:not(.bd-tile) { filter: invert(1) brightness(.35); }
:where(html[data-theme=light]) .bd-tile { border-color: rgba(15,23,42,.08); background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.55)); box-shadow: 0 18px 40px -22px rgba(15,23,42,.35); }
@media (max-width: 1024px) { .bd-sm { display: none; } }
@media (max-width: 640px) { .bd-i { display: none; } .bd-r1 { width: 420px; height: 420px; } .bd-r2 { width: 600px; height: 600px; } .bd-r3 { display: none; } }

/* Gold "only on DineOpz" treatment (ported from dineopzlocal.com #only) */
.section.only { background: radial-gradient(900px 420px at 50% 0, rgba(251,191,36,.08), transparent 70%); }
.eyebrow.gold { color: var(--gold); }
.features .card, .steps .card { transition: transform .2s, border-color .2s, background .2s; }
.features .card:hover, .steps .card:hover { transform: translateY(-3px); border-color: rgba(249,115,22,.45); }
.card.o { position: relative; overflow: hidden; padding-top: 30px; background: linear-gradient(160deg, rgba(251,191,36,.07), var(--card) 45%); border-color: rgba(251,191,36,.22); }
.card.o::after { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); background-size: 200% 100%; animation: o-sweep 5s linear infinite; }
.card.o:hover { border-color: rgba(251,191,36,.5); }
.card.o .onum { position: absolute; right: 18px; top: 10px; font-size: 3rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; color: rgba(251,191,36,.12); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(251,191,36,.35); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.badge::before { content: ""; width: 9px; height: 10px; border: 2px solid currentColor; border-radius: 2px 2px 3px 3px; border-top-width: 4px; }
.only .note { margin: 28px 0 0; color: var(--muted); font-size: .85rem; text-align: center; }
@keyframes o-sweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-color-scheme: light) {
:where(html:not([data-theme=dark])) .card.o { background: linear-gradient(160deg, rgba(251,191,36,.12), var(--card) 45%); border-color: rgba(217,119,6,.3); }
:where(html:not([data-theme=dark])) .badge, :where(html:not([data-theme=dark])) .eyebrow.gold { color: #b45309; }
:where(html:not([data-theme=dark])) .card.o .onum { color: rgba(217,119,6,.14); }
}
:where(html[data-theme=light]) .card.o { background: linear-gradient(160deg, rgba(251,191,36,.12), var(--card) 45%); border-color: rgba(217,119,6,.3); }
:where(html[data-theme=light]) .badge, :where(html[data-theme=light]) .eyebrow.gold { color: #b45309; }
:where(html[data-theme=light]) .card.o .onum { color: rgba(217,119,6,.14); }

/* ===== 2026-11 legibility: the animation lives in the gutters, content sits on "ink glass" ===== */
.bd-fx { position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 680px), rgba(0,0,0,.1) calc(50% - 560px), rgba(0,0,0,.1) calc(50% + 560px), #000 calc(50% + 680px), #000 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 680px), rgba(0,0,0,.1) calc(50% - 560px), rgba(0,0,0,.1) calc(50% + 560px), #000 calc(50% + 680px), #000 100%); }
:root { --glass: linear-gradient(180deg, rgba(20,27,43,.86), rgba(12,17,29,.92)); --glass-b: rgba(255,255,255,.08); --glass-hi: rgba(251,146,60,.28); }
@media (prefers-color-scheme: light) {
html:not([data-theme=dark]) { --glass: linear-gradient(180deg, rgba(255,255,255,.94), rgba(250,251,253,.9)); --glass-b: rgba(15,23,42,.08); --glass-hi: rgba(234,88,12,.25); }
}
html[data-theme=light] { --glass: linear-gradient(180deg, rgba(255,255,255,.94), rgba(250,251,253,.9)); --glass-b: rgba(15,23,42,.08); --glass-hi: rgba(234,88,12,.25); }
.card, .mi, .mgrp, .store-head .tools input, .cartbar-btn { background: var(--glass); border-color: var(--glass-b);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.card { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 50px -30px rgba(0,0,0,.6); }
.card.o { background: linear-gradient(160deg, rgba(251,191,36,.10), rgba(16,22,36,.9) 42%); }
@media (prefers-color-scheme: light) {
:where(html:not([data-theme=dark])) .card.o { background: linear-gradient(160deg, rgba(251,191,36,.16), rgba(255,255,255,.95) 42%); }
}
:where(html[data-theme=light]) .card.o { background: linear-gradient(160deg, rgba(251,191,36,.16), rgba(255,255,255,.95) 42%); }
h1, h2, .eyebrow { text-shadow: 0 2px 22px color-mix(in srgb, var(--bg) 85%, transparent); }

/* ===== logos ===== */
.rlogo { flex: none; width: 54px; height: 54px; border-radius: 16px; object-fit: contain; background: #fff; padding: 4px; box-shadow: 0 10px 26px -14px rgba(0,0,0,.6); }
.rlogo.lg { width: 72px; height: 72px; border-radius: 20px; padding: 6px; }

/* ===== category navigation ===== */
.cats-row { display: flex; align-items: center; gap: 10px; }
.cats-row .cats { flex: 1; padding-left: 0; padding-right: 0; }
.cats a span { font-size: .72rem; font-weight: 800; color: var(--brand2); margin-left: 4px; }
.expand-all { flex: none; font: inherit; font-size: .82rem; font-weight: 700; color: var(--text); background: var(--card); border: 1px solid var(--card-b); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.expand-all:hover { border-color: var(--brand); }
.menu-wrap { padding-top: 18px; padding-bottom: 40px; }
.mgrp { border: 1px solid var(--glass-b); border-radius: 20px; margin: 0 0 12px; scroll-margin-top: 136px; overflow: hidden; position: relative; }
.mgrp::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--brand2), var(--brand3)); opacity: 0; transition: opacity .2s; }
.mgrp[open]::before { opacity: 1; }
.mgrp > summary, .msub > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.mgrp > summary::-webkit-details-marker, .msub > summary::-webkit-details-marker { display: none; }
.mgrp > summary { padding: 18px 20px; }
.mgrp > summary:hover .g-name { color: var(--brand2); }
.g-name { font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; transition: color .15s; }
.g-meta { color: var(--muted); font-size: .82rem; font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chev { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--card-b); position: relative; transition: transform .25s, background .2s; }
.chev::after { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: translate(-50%, -50%) rotate(45deg); }
details[open] > summary .chev { transform: rotate(180deg); background: color-mix(in srgb, var(--brand) 16%, transparent); }
.g-body { padding: 0 14px 14px; animation: gopen .28s ease; }
@keyframes gopen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.msub { margin-top: 6px; }
.msub > summary { padding: 12px 8px 10px; font-weight: 800; font-size: .98rem; color: var(--text); border-top: 1px dashed var(--card-b); }
.msub > summary .g-meta { flex: 1; }
.msub > summary .chev { width: 24px; height: 24px; }
.msub > summary .chev::after { width: 6px; height: 6px; }

/* ===== dish cards ===== */
.mlist { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px; }
.mi { display: flex; gap: 16px; justify-content: space-between; padding: 16px; border-radius: 18px; border: 1px solid var(--glass-b); min-height: 150px; transition: border-color .2s, transform .2s; }
.mi:hover { border-color: var(--glass-hi); }
.mi-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.mi-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; min-height: 18px; }
.diet { flex: none; width: 16px; height: 16px; border: 1.6px solid; border-radius: 4px; position: relative; background: #fff; }
.diet::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.diet.veg { color: #16a34a; } .diet.veg::after { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.diet.nonveg { color: #b91c1c; } .diet.nonveg::after { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid currentColor; top: 45%; }
.diet.egg { color: #ca8a04; } .diet.egg::after { width: 7px; height: 9px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: currentColor; }
.mbadge { font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; line-height: 1.5; }
.b-best { color: #fff; background: linear-gradient(135deg, var(--brand2), var(--brand3)); }
.b-best::before { content: "\2605 "; }
.b-chef { color: var(--gold); border: 1px solid rgba(251,191,36,.45); background: rgba(251,191,36,.08); }
.b-new { color: #38bdf8; border: 1px solid rgba(56,189,248,.45); }
.b-soft { color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); }
.spice { height: 14px; background-repeat: repeat-x; background-size: 12px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M7.5 2.2c.2-.9.9-1.4 1.6-1.2-.6.3-.9.8-.9 1.4 1.4.5 2.2 1.9 1.9 3.7C9.5 9.9 6.4 13 2.4 13.4c-.9.1-1.2-.9-.4-1.3C5.2 10.6 6.2 7.6 6 4.6c.1-1.2.7-2.1 1.5-2.4z' fill='%23ef4444'/%3E%3C/svg%3E"); }
.spice.s1 { width: 12px; } .spice.s2 { width: 24px; } .spice.s3 { width: 36px; }
.mi-name { margin: 0; font-size: 1.05rem; font-weight: 750; line-height: 1.3; letter-spacing: -.01em; color: var(--text); }
.mi-paren { display: block; margin-top: 2px; font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.mi-price { margin: 8px 0 0; font-weight: 800; font-size: 1.12rem; display: flex; align-items: baseline; gap: 6px; }
.mi-price .from { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pr { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr .cu { font-size: .78em; font-weight: 700; margin-right: 1px; opacity: .85; }
.pr .pd { font-size: .72em; opacity: .8; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.vchip { display: inline-flex; align-items: baseline; gap: 6px; font-size: .8rem; padding: 3px 9px; border-radius: 9px; border: 1px solid var(--card-b); background: color-mix(in srgb, var(--bg) 40%, transparent); }
.vchip span:first-child { color: var(--muted); font-weight: 600; }
.vchip .pr { font-weight: 800; }
.mi-desc { margin: 8px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mi-side { flex: none; width: 148px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; position: relative; }
.mi-img { width: 148px; height: 124px; object-fit: cover; border-radius: 16px; box-shadow: 0 14px 30px -16px rgba(0,0,0,.7); background: var(--bg2); }
.mi .add { position: relative; margin-top: -20px; min-width: 104px; padding: 9px 16px; border-radius: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; font-size: .84rem;
  color: var(--brand3); background: #fff; border: 1px solid rgba(249,115,22,.35); box-shadow: 0 10px 22px -10px rgba(0,0,0,.55); }
.mi.noimg .add { margin-top: 26px; }
.mi .add:hover, .mi .add.on { color: #fff; background: linear-gradient(135deg, var(--brand2), var(--brand3)); border-color: transparent; }
.mi .add.on { text-transform: none; }
.mi .add:disabled { color: var(--muted); background: var(--card); box-shadow: none; cursor: not-allowed; }
.mi-custom { margin-top: 6px; font-size: .68rem; color: var(--muted); font-weight: 600; }
.mi-out { margin-top: -16px; position: relative; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #475569; padding: 6px 12px; border-radius: 10px; }
.mi.noimg .mi-out { margin-top: 26px; }
.mi.off { border-style: dashed; }
.mi.off .mi-img { filter: grayscale(1) brightness(.75); }
.mi.off .mi-name, .mi.off .mi-price { opacity: .6; }
.stock-note { margin: 0 auto 10px; padding: 10px 14px; border-radius: 12px; color: #fde68a; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.35); font-weight: 600; font-size: .9rem; }
@media (prefers-color-scheme: light) {
:where(html:not([data-theme=dark])) .stock-note { color: #92400e; }
:where(html:not([data-theme=dark])) .mi .add { background: #fff; }
:where(html:not([data-theme=dark])) .diet { background: #fff; }
}
:where(html[data-theme=light]) .stock-note { color: #92400e; }
:where(html[data-theme=light]) .mi .add { background: #fff; }
:where(html[data-theme=light]) .diet { background: #fff; }
@media (max-width: 760px) {
  .mlist { grid-template-columns: 1fr; }
  .mi { padding: 14px; gap: 12px; min-height: 0; }
  .mi-side { width: 118px; } .mi-img { width: 118px; height: 104px; }
  .mi .add { min-width: 92px; padding: 8px 12px; }
  .g-meta { display: none; } .mgrp > summary { padding: 16px; }
  .expand-all { padding: 6px 10px; font-size: .76rem; }
}
.mi .mi-name { display: block; }
.mi-side { width: 132px; } .mi-img { width: 132px; height: 112px; }
.vchip { padding: 3px 8px; gap: 5px; }
.spice { height: 15px; background-size: 13px 15px; } .spice.s1 { width: 13px; } .spice.s2 { width: 26px; } .spice.s3 { width: 39px; }
@media (max-width: 760px) { .g-name, .msub > summary > span:first-child { flex: 1; } }
.maint { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.maint h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 8px 0; }
.maint img { border-radius: 14px; margin-bottom: 8px; }

/* ===== 2026-11 v8: discovery, recommended rail, my orders ===== */
.mylink { position: relative; }
.obadge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand2), var(--brand3)); animation: opulse 2s ease-in-out infinite; }
@keyframes opulse { 50% { box-shadow: 0 0 0 6px rgba(249,115,22,.18); } }
.citybar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.citybar .loc { width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); box-shadow: inset 0 0 0 4px var(--bg); }
.citychips { display: flex; gap: 8px; flex-wrap: wrap; }
.cchip { font: inherit; font-size: .84rem; font-weight: 700; color: var(--text); background: var(--glass, var(--card)); border: 1px solid var(--card-b); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.cchip span { color: var(--brand2); font-size: .74rem; margin-left: 3px; }
.cchip.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--brand2), var(--brand3)); }
.cchip.on span { color: #fff; }
.cityhide { display: none !important; }
.recent { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.recent-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rchip { font-size: .84rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(249,115,22,.5); color: var(--brand2); }
.rchip::before { content: "\21BB  "; }
.rgrid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.rgrid .rcard { display: block; padding: 0; overflow: hidden; border-radius: 20px; background: var(--glass, var(--card)); border: 1px solid var(--glass-b, var(--card-b)); transition: transform .2s, border-color .2s, box-shadow .2s; }
.rgrid .rcard:hover { transform: translateY(-4px); border-color: rgba(249,115,22,.45); box-shadow: 0 24px 50px -28px rgba(249,115,22,.55); }
.rcover { position: relative; display: block; aspect-ratio: 16 / 8; background: radial-gradient(120% 120% at 20% 0%, rgba(249,115,22,.35), transparent 60%), linear-gradient(135deg, #1f2937, #0f172a); }
.rcover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.rgrid .rcard:hover .rcover img { transform: scale(1.05); }
.rcover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,10,18,.65)); }
.rcover .pill { position: absolute; left: 12px; top: 12px; z-index: 1; backdrop-filter: blur(8px); }
.rrow { display: flex; gap: 12px; align-items: flex-start; padding: 0 14px 14px; margin-top: -26px; position: relative; z-index: 1; }
.rrow .rlogo, .rrow .ravatar { border: 3px solid var(--bg2); }
.rrow .rbody { padding-top: 30px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rrow .rmeta { display: flex; gap: 10px; flex-wrap: wrap; }
.rail-wrap { padding-top: 18px; }
.rail-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.rail-head h2 { margin: 0; font-size: 1.2rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 220px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rc { scroll-snap-align: start; border-radius: 18px; overflow: hidden; background: var(--glass, var(--card)); border: 1px solid var(--glass-b, var(--card-b)); display: flex; flex-direction: column; }
.rc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.rc-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.rc-body b { font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; }
.rc-foot .from { font-size: .66rem; color: var(--muted); text-transform: uppercase; margin-right: 4px; font-weight: 700; }
.rc .add.sm { margin: 0; min-width: 0; padding: 6px 12px; font-size: .76rem; border-radius: 10px; }
.orders-page { padding-top: 28px; padding-bottom: 40px; }
.olist { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.ocard { border-radius: 18px; padding: 14px 16px; background: var(--glass, var(--card)); border: 1px solid var(--glass-b, var(--card-b)); }
.ocard-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; color: inherit; }
.ocard-top > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.ostat { flex: none; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-b); }
.st-accepted .ostat, .st-received .ostat, .st-paid .ostat { color: #fbbf24; border-color: rgba(251,191,36,.4); }
.st-ready .ostat { color: #fff; background: var(--ok); border-color: transparent; animation: opulse 2s infinite; }
.st-completed .ostat { color: var(--ok); }
.st-declined .ostat, .st-cancelled .ostat, .st-expired .ostat { color: var(--muted); }
.oitems { margin: 8px 0; }
.ocard-foot { display: flex; align-items: center; gap: 10px; }
.ocard-foot b { margin-right: auto; }
.otoken { font-weight: 800; color: var(--brand2); }
.btn.sm { padding: 7px 12px; font-size: .82rem; }
.oactions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.linkbtn { font: inherit; background: none; border: 0; color: var(--brand2); cursor: pointer; text-decoration: underline; padding: 0; }
.ocard-top, .ocard-top:hover { text-decoration: none; }
.ocard-top b { color: var(--text); }

/* ===== 2026-11 v9: ratings, hours, phone history ===== */
.pill.star { color: #fbbf24; border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.08); }
.pill.link { color: var(--brand2); text-decoration: none; }
.rcover .rstar { left: auto; right: 12px; }
.cchip.near::before { content: "◎ "; }
.rate { margin: 16px 0 6px; padding: 14px; border-radius: 14px; border: 1px solid rgba(251,191,36,.3); background: rgba(251,191,36,.06); }
.rate p { margin: 0 0 8px; }
.stars { display: flex; gap: 6px; }
.stars button { font-size: 1.8rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 2px; transition: transform .1s, color .1s; }
.stars button:hover, .stars button.on, .stars:hover button:not(:hover ~ button) { color: #fbbf24; }
.stars button:hover { transform: scale(1.15); }
.stars button:disabled { cursor: default; transform: none; }
.phonebox { padding: 16px; margin-top: 16px; }
.phonebox .prow { display: flex; gap: 8px; margin-top: 8px; }
.phonebox input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--card-b); background: var(--bg2); color: var(--text); }

/* ===== v10: location, search tabs, filters, dish results, menu typography ===== */
.nav .in { gap: 14px; }
.locbtn { margin-right: auto; display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; max-width: 340px; font: inherit; color: var(--text); background: none; border: 0; padding: 8px 4px; cursor: pointer; }
.locbtn b { font-size: .86rem; font-weight: 800; border-bottom: 2px solid var(--brand); padding-bottom: 1px; }
.locbtn span[data-loc-label] { font-size: .9rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.locbtn:hover span[data-loc-label] { color: var(--text); }
.lchev { flex: none; width: 8px; height: 8px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-3px) rotate(45deg); }
@media (max-width: 560px) { .locbtn { max-width: 52vw; } .locbtn b { display: none; } .logo span { display: none; } }
.locsheet .btn.wide { width: 100%; justify-content: center; margin: 16px 0 6px; }
.locsheet input[type=search] { width: 100%; margin: 10px 0 8px; font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--card-b); border-radius: 12px; padding: 11px 14px; }
.loclist { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; }
.loclist button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: inherit; text-align: left; color: var(--text); background: none; border: 0; border-bottom: 1px solid var(--card-b); padding: 12px 6px; cursor: pointer; }
.loclist button:hover { color: var(--brand2); }
.loclist .lcity { font-weight: 750; }
.loclist .larea { padding-left: 22px; font-size: .92rem; color: var(--muted); }
.stabs { display: flex; gap: 22px; border-bottom: 1px solid var(--card-b); margin: 0 0 14px; }
.stabs button { font: inherit; font-weight: 700; font-size: .98rem; color: var(--muted); background: none; border: 0; padding: 10px 2px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.stabs button.on { color: var(--text); border-bottom-color: var(--brand); }
.stabs button span { font-size: .76rem; color: var(--brand2); margin-left: 3px; }
.fbar { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: none; }
.fbar::-webkit-scrollbar { display: none; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: .86rem; font-weight: 650; color: var(--text); background: var(--glass, var(--card)); border: 1px solid var(--card-b); border-radius: 12px; padding: 8px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.fchip:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--card-b)); }
.fchip[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 16%, transparent); }
.fchip[aria-pressed="true"]::after { content: "\00D7"; font-weight: 800; margin-left: 2px; }
.fchip .diet { width: 14px; height: 14px; }
.fchip.bolt::before { content: ""; width: 9px; height: 14px; background: var(--brand); clip-path: polygon(60% 0, 0 58%, 45% 58%, 35% 100%, 100% 40%, 55% 40%); }
.fchip.clr { color: var(--brand2); border-style: dashed; }
.fchip.sel { padding: 0; }
.fchip.sel select { font: inherit; font-weight: 650; color: inherit; background: transparent; border: 0; padding: 8px 32px 8px 14px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.fchip.sel select option { color: #0b1220; }
.pveg { color: var(--veg); font-weight: 700; }
.pill.star small { font-size: .7em; opacity: .85; }
.dres { display: grid; gap: 16px; }
.dgrp { border-radius: 20px; background: var(--glass, var(--card)); border: 1px solid var(--glass-b, var(--card-b)); padding: 16px 0 16px 16px; }
.dhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; padding-right: 16px; margin-bottom: 12px; }
.dhead > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.dhead b { font-size: 1.05rem; font-weight: 750; letter-spacing: -.01em; }
.dhead .arr { font-size: 1.25rem; color: var(--muted); transition: transform .15s, color .15s; }
.dhead:hover .arr { transform: translateX(3px); color: var(--brand2); }
.drow { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 4px 0; scroll-snap-type: x proximity; scrollbar-width: thin; }
.dcard { flex: none; width: min(340px, 82vw); display: flex; gap: 12px; justify-content: space-between; padding: 14px; border-radius: 16px; border: 1px solid var(--card-b); background: var(--card); scroll-snap-align: start; }
.dc-body { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dc-body h4 { margin: 2px 0 0; font-size: .98rem; font-weight: 650; line-height: 1.35; letter-spacing: -.005em; text-wrap: pretty; }
.dc-price { margin: auto 0 0; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.dc-side { flex: none; width: 118px; display: flex; flex-direction: column; align-items: center; }
.dc-side img { width: 118px; height: 100px; object-fit: cover; border-radius: 14px; background: var(--bg2); }
.dcard .add { position: relative; display: inline-flex; justify-content: center; min-width: 96px; margin-top: -18px; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 800; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand3); background: #fff; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.dcard.noimg .dc-side { justify-content: flex-end; }
.dcard.noimg .add { margin-top: 0; }
.dcard .add.soft { color: #64748b; }
.dcard .add:hover:not(.soft) { color: #fff; background: linear-gradient(135deg, var(--brand2), var(--brand3)); }
/* menu typography: lighter, calmer names; price and Add share the last row when there is no photo */
.g-name { font-size: 1.12rem; font-weight: 750; }
.msub > summary { font-size: .95rem; font-weight: 700; }
.mi-name { font-size: 1rem; font-weight: 650; line-height: 1.38; letter-spacing: -.005em; text-wrap: pretty; overflow-wrap: anywhere; }
.mi-paren { font-size: .78rem; font-weight: 500; }
.mi-price { font-size: .98rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.mi-desc { font-size: .84rem; line-height: 1.5; }
.mi .add { min-width: 96px; padding: 8px 14px; border-radius: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .05em; }
.mi-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mi-foot .mi-price { margin: 0; }
.mi-act { display: flex; flex-direction: column; align-items: center; }
.mi-foot .add, .mi-foot .mi-out { margin-top: 0; }
.mi.noimg { min-height: 0; }
.dres > *, .dgrp { min-width: 0; }
.dgrp { overflow: hidden; }
/* v11: unmistakable Sold out / Closed */
.mi-out, .dcard .mi-out { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: -18px; padding: 7px 12px; border-radius: 10px; font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: repeating-linear-gradient(-45deg, #dc2626 0 10px, #b91c1c 10px 20px); border: 1px solid #fecaca33; box-shadow: 0 8px 20px -8px rgba(220,38,38,.7); }
.mi-out::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; background: linear-gradient(45deg, transparent 42%, #fff 42% 58%, transparent 58%); }
.mi.noimg .mi-out, .mi-foot .mi-out, .dcard.noimg .mi-out { margin-top: 0; }
.mi.off, .dcard.off { border: 1px solid rgba(220,38,38,.55); border-style: solid; background: linear-gradient(180deg, rgba(220,38,38,.07), transparent 60%), var(--glass, var(--card)); }
.mi.off .mi-name, .mi.off .mi-price, .dcard.off h4, .dcard.off .dc-price { opacity: .75; }
.mi.off .mi-img, .dcard.off img { filter: grayscale(1) brightness(.6); }
.pill.closed { color: #fff; background: #dc2626; border-color: #dc2626; font-weight: 800; }
.rcard.closed .rcover img { filter: grayscale(.85) brightness(.55); }
.rcard.closed .rcover { position: relative; }
.closed-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: 6px 18px; border: 3px solid #ef4444; border-radius: 10px; color: #fff; background: rgba(185,28,28,.85);
  font-size: 1.05rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); pointer-events: none; }

.rcard.closed .rbody b { color: var(--muted); }
.dgrp.closed { border-color: rgba(220,38,38,.45); }
.dgrp .pill.closed { margin-left: 8px; font-size: .68rem; padding: 2px 8px; vertical-align: 2px; }
.dgrp.closed .dc-side img { filter: grayscale(.8) brightness(.65); }
.dcard .add.shut { color: #fff; background: #dc2626; border-color: #dc2626; }
/* v13: menu-item Add = same size as the Recommended rail's Add */
.mi .add { min-width: 0; padding: 6px 12px; font-size: .76rem; border-radius: 10px; letter-spacing: normal; text-transform: none; }
.mi .mi-side .add { margin-top: -16px; }
/* v14: menu-item tiles = Recommended tile size (photo on top, 200-220px wide) */
.mlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.mi { flex-direction: column; justify-content: flex-start; gap: 0; padding: 0; min-height: 0; border-radius: 18px; overflow: hidden; max-width: 260px; }
.mi-side { order: -1; width: 100%; position: relative; display: block; }
.mi-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 0; box-shadow: none; }
.mi .mi-side .add, .mi .mi-side .mi-out { position: absolute; right: 10px; bottom: 10px; margin: 0; box-shadow: 0 6px 16px -6px rgba(0,0,0,.7); }
.mi-side .mi-custom { position: absolute; left: 10px; bottom: 12px; margin: 0; padding: 2px 8px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.mi-body { padding: 10px 12px 12px; }
.mi-tags { margin-bottom: 4px; }
.mi-name { font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mi-paren { display: inline; margin: 0; font-size: .74rem; }
.mi-price { margin-top: 6px; font-size: .92rem; }
.mi .vchips { display: none; }
.mi-desc { margin-top: 4px; font-size: .78rem; -webkit-line-clamp: 2; }
.mi-foot { padding-top: 8px; }
@media (max-width: 760px) {
  .mlist { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .mi-body { padding: 8px 10px 10px; } .mi .mi-side .add, .mi .mi-side .mi-out { right: 8px; bottom: 8px; } .mi-side .mi-custom { display: none; }
  .mi { padding: 0; max-width: none; }
  .mi-side { width: 100%; } .mi-img { width: 100%; height: auto; }
  .mi .add { min-width: 0; padding: 6px 12px; }
}
.mi-img { height: 160px; object-fit: cover; }
@media (max-width: 760px) { .mi-img { height: 120px; } }
/* v15: category tabs (one category at a time) */
.mgrp { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.mgrp::before { display: none; }
.g-title { display: none; margin: 18px 2px 10px; font-size: 1.05rem; font-weight: 800; }
.msearching .g-title { display: block; }
.msub { margin-top: 16px; }
.mlist + .msub, .g-title + .msub { margin-top: 4px; }
.s-title { margin: 6px 2px 10px; font-size: .95rem; font-weight: 750; color: var(--text); display: flex; align-items: center; gap: 8px; }
.s-title span { font-size: .72rem; color: var(--brand2); font-weight: 800; }
.s-title::after { content: ""; flex: 1; height: 1px; background: var(--card-b); }
.cats-row { position: relative; }
.cats { gap: 8px; padding: 12px 0; scroll-padding: 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); }
.cats a { position: relative; padding: 9px 16px; font-size: .9rem; font-weight: 700; color: var(--muted); border: 1px solid var(--card-b); background: var(--glass, var(--card)); transition: color .15s, background .2s, border-color .2s, transform .15s; }
.cats a:hover { color: var(--text); border-color: color-mix(in srgb, var(--brand) 50%, var(--card-b)); }
.cats a span { display: inline-block; min-width: 20px; margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: .72rem; font-weight: 800; text-align: center; color: var(--brand2); background: color-mix(in srgb, var(--brand) 14%, transparent); }
.cats a.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--brand2), var(--brand3)); box-shadow: 0 10px 22px -10px rgba(249,115,22,.8); transform: translateY(-1px); }
.cats a.on span { color: var(--brand3); background: #fff; }
.cats a.on::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; background: var(--brand3); transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1; }
.cats a.none { opacity: .45; }
.cats a:focus-visible { outline: 2px solid var(--brand2); outline-offset: 2px; }
.menu-wrap { padding-top: 10px; min-height: 40vh; }
/* v16: breathing room */
.mlist { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px 18px; }
.mi { max-width: none; border-radius: 20px; }
.mi-body { padding: 14px 16px 16px; gap: 0; }
.mi-tags { margin-bottom: 8px; gap: 8px; }
.mi-name { font-size: .98rem; line-height: 1.38; }
.mi-price { margin-top: 8px; }
.mi-desc { margin-top: 8px; font-size: .8rem; line-height: 1.55; }
.mi-foot { padding-top: 12px; }
.msub { margin-top: 28px; }
.s-title { margin: 0 2px 14px; }
.g-title { margin: 26px 2px 14px; }
.menu-wrap { padding-top: 18px; }
.rail-wrap { padding-bottom: 6px; }
@media (max-width: 760px) {
  .mlist { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 12px; }
  .mi-body { padding: 10px 12px 12px; }
  .mi-name { font-size: .92rem; }
  .mi-desc { display: none; }
}
.rail { grid-auto-columns: minmax(240px, 270px); gap: 18px; }
.rc-body { padding: 14px 16px 16px; gap: 8px; }
@media (max-width: 760px) { .rail { grid-auto-columns: minmax(160px, 46vw); gap: 12px; } .rc-body { padding: 10px 12px 12px; } }
/* menu tiles and Recommended tiles share one column grid: 4 / 3 / 2 per row */
.mlist { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 18px; }
.rail { grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; }
@media (max-width: 1000px) { .mlist { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rail { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 760px) { .mlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; } .rail { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; } }
.rc-foot { justify-content: flex-start; gap: 4px; }
.rc-foot .add.sm { margin-left: auto; }
/* v17: theme switch (cookie -> <html data-theme>, no flash, no JS needed to render) */
:root { color-scheme: dark; }
@media (prefers-color-scheme: light) { html:not([data-theme=dark]) { color-scheme: light; } }
html[data-theme=light] { color-scheme: light; }
.cartbar-btn { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand3)); border-color: transparent; }
.themebtn { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; margin-left: 6px; border-radius: 12px; border: 1px solid var(--card-b); background: var(--card); color: var(--text); cursor: pointer; transition: transform .15s, border-color .15s; }
.themebtn:hover { border-color: var(--brand2); transform: rotate(-12deg); }
.themebtn svg { width: 18px; height: 18px; }
.themebtn .t-sun, .themebtn .t-moon, .themebtn .t-auto { display: none; }
html[data-theme=light] .themebtn .t-sun, html[data-theme=dark] .themebtn .t-moon, html:not([data-theme=light]):not([data-theme=dark]) .themebtn .t-auto { display: block; }
.navend { display: flex; align-items: center; gap: 4px; }
html.tswap, html.tswap * { transition: background-color .3s ease, color .3s ease, border-color .3s ease, fill .3s ease !important; }
/* v17: contrast pass (WCAG AA) - text-safe accents in light, safe ink for orange-on-white everywhere */
:root { --ink: #c2410c; --on-brand: linear-gradient(135deg, #c2410c, #9a3412); }
@media (prefers-color-scheme: light) { html:not([data-theme=dark]) { --brand2: #c2410c; --ok: #047857; --gold: #a16207; --warn: #b45309; --bad: #b91c1c; } }
html[data-theme=light] { --brand2: #c2410c; --ok: #047857; --gold: #a16207; --warn: #b45309; --bad: #b91c1c; }
.skip { background: var(--ink); }
.add, .mi .add, .dcard .add, .rc .add { color: var(--ink); }
.add.on, .mi .add.on, .rc .add.on, .add.sm.on { color: #fff; background: var(--on-brand); border-color: transparent; }
.mbadge.b-best { color: #fff; background: var(--on-brand); }
.cats a.on span, .cchip.on span { color: var(--ink); }
.cchip.on { background: var(--on-brand); color: #fff; }
.add.sm:not(.on), .rc .add.sm:not(.on) { color: var(--brand2); }
@media (prefers-color-scheme: light) { :where(html:not([data-theme=dark])) .mbadge.b-new { color: #0369a1; border-color: rgba(3,105,161,.35); } :where(html:not([data-theme=dark])) .pill.star { color: #92400e; } }
:where(html[data-theme=light]) .mbadge.b-new { color: #0369a1; border-color: rgba(3,105,161,.35); }
:where(html[data-theme=light]) .pill.star { color: #92400e; }
/* pills on cover photos: dark glass chip, readable on any photo in both themes */
.rcover .pill, .rcover .pill.ok, .rcover .pill.star { background: rgba(8,12,22,.74); border-color: rgba(255,255,255,.14); color: #f8fafc; }
.rcover .pill.ok { color: #6ee7b7; } .rcover .pill.star { color: #fcd34d; } .rcover .pill.closed { background: #dc2626; color: #fff; }
@media (prefers-color-scheme: light) { :where(html:not([data-theme=dark])) .pveg { color: #15803d; } }
:where(html[data-theme=light]) .pveg { color: #15803d; }
.obadge { background: var(--on-brand); color: #fff; }
/* Super Admin */
.adm { padding-top: 40px; }
.adm .narrow { max-width: 1000px; }
.adm-card { margin: 0 0 18px; }
.adm-card h2 { font-size: 1.15rem; margin-bottom: 12px; }
.adm-form { display: grid; gap: 12px; margin-top: 12px; max-width: 460px; }
.adm-form.inline { margin-top: 16px; }
.adm-form label { display: grid; gap: 6px; font-weight: 650; font-size: .9rem; }
.adm-form label.chk { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.adm-form input:not([type=checkbox]), .adm-form select { font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--card-b); border-radius: 12px; padding: 11px 14px; }
.adm-form input:focus { outline: 2px solid var(--brand2); outline-offset: 1px; }
.adm-form .btn { justify-self: start; }
.btn.danger { background: linear-gradient(135deg, #dc2626, #991b1b); box-shadow: 0 10px 30px -12px rgba(220,38,38,.7); }
.adm-msg { padding: 12px 16px; border-radius: 12px; font-weight: 650; }
.adm-msg.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.adm-msg.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); }
.adm-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.adm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.adm-grid .adm-card { margin: 0; }
.adm-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.adm-dl dt { color: var(--muted); font-size: .88rem; }
.adm-dl dd { margin: 0; font-weight: 600; }
.adm-mode.live { color: #fff; background: #15803d; border-color: #15803d; }
.adm-mode.test { color: #1f2937; background: #fcd34d; border-color: #fcd34d; }
.adm-more { margin-top: 14px; border-top: 1px solid var(--card-b); padding-top: 10px; }
.adm-more summary { cursor: pointer; font-weight: 700; color: var(--brand2); }
.adm-secret code, .adm-codes code { font-size: 1.05rem; letter-spacing: .08em; font-weight: 700; }
.adm-secret { padding: 14px; border-radius: 12px; background: var(--bg2); border: 1px dashed var(--card-b); word-break: break-all; }
.adm-codes { columns: 2; gap: 24px; margin: 14px 0 18px; }
.adm-tbl { overflow-x: auto; }
.adm-tbl table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.adm-tbl th, .adm-tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--card-b); white-space: nowrap; }
.adm-tbl th { color: var(--muted); font-weight: 700; }
.adm-tbl tr.bad td { color: var(--bad); }
.adm-ops { margin-bottom: 18px; }
.adm-ops > .adm-top h2 { margin: 0; }
.adm-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 4px 0 18px; }
.adm-kpi { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--card-b); }
.adm-kpi span { color: var(--muted); font-size: .8rem; font-weight: 650; }
.adm-kpi b { font-size: 1.35rem; line-height: 1.2; }
.adm-kpi small { color: var(--muted); font-size: .78rem; }
.adm-ops .adm-grid { margin-bottom: 18px; }
.admin .locbtn { visibility: hidden; }
/* v19: compact, centred cart bar */
.cartbar { pointer-events: none; background: none; padding: 0 16px calc(18px + env(safe-area-inset-bottom)); }
.cartbar-btn { pointer-events: auto; width: 100%; max-width: 480px; margin: 0 auto; padding: 13px 18px 13px 20px; border-radius: 999px; font-size: .95rem;
  box-shadow: 0 16px 36px -12px rgba(234,88,12,.75), 0 0 0 1px rgba(255,255,255,.08) inset; }
.cartbar-btn > :last-child { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.2); }
/* v20: Pickup | Order & dine-in | Reserve a table */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 18px 0 4px; max-width: 760px; }
.modes button { display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; color: var(--text); background: var(--glass, var(--card)); border: 1.5px solid var(--card-b);
  border-radius: 16px; padding: 12px 14px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s, box-shadow .2s; }
.modes button:hover:not([disabled]) { border-color: color-mix(in srgb, var(--brand) 55%, var(--card-b)); transform: translateY(-1px); }
.modes button[disabled] { opacity: .45; cursor: not-allowed; }
.modes svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.modes span { display: flex; flex-direction: column; line-height: 1.25; }
.modes b { font-size: .95rem; }
.modes small { font-size: .76rem; color: var(--muted); }
.modes button.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--glass, var(--card))); box-shadow: 0 10px 26px -14px rgba(249,115,22,.8); }
.modes button.on svg { color: var(--brand2); }
.mode-note { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; font-size: .88rem; background: color-mix(in srgb, var(--brand) 10%, transparent); border: 1px dashed color-mix(in srgb, var(--brand) 45%, transparent); max-width: 760px; }
.mode-resv .cats-bar, .mode-resv [data-menu-tools], .mode-resv .menu-wrap, .mode-resv .rail-wrap, .mode-resv [data-cartbar], .mode-resv [data-stock-note] { display: none !important; }
.resv-panel { padding: 8px 0 40px; display: grid; gap: 16px; max-width: 760px; }
.resv-card h2, .resv-done h2 { margin: 0 0 6px; }
.resv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; margin-top: 10px; }
.resv-panel select, .dine-fields select { width: 100%; font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--card-b); border-radius: 12px; padding: 10px 12px; }
.resv-panel select option, .dine-fields select option { color: #0b1220; }
.resv-done { border-width: 2px; }
.resv-terms { margin: 10px 0; padding: 10px 12px; border: 1px solid var(--card-b); border-radius: 10px; background: var(--glass); }
.resv-terms p { margin: 0 0 8px; }
.resv-terms label.chk { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; cursor: pointer; }
.resv-terms label.chk input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.resv-hold { margin-top: 6px; font-weight: 600; }
.resv-done.rs-confirmed { border-color: var(--ok); }
.resv-done.rs-declined, .resv-done.rs-expired { border-color: var(--bad); }
.resv-done .row { gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.dine-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 0 12px; }
.dine-badge { margin: 4px 0 0; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 10%, transparent); font-size: .92rem; }
.osec-h { font-size: 1.1rem; margin: 28px 0 12px; }
.rcardx .ostat { white-space: nowrap; }
.rs-confirmed .ostat { color: var(--ok); } .rs-declined .ostat, .rs-expired .ostat { color: var(--bad); }
/* order progress: red (placed) -> amber (accepted / cooking) -> green (ready / done), animated icon on the live stage */
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding: 0; margin: 22px 0; position: relative; --lv: #dc2626; }
.stepper.lv-red { --lv: #dc2626; } .stepper.lv-amber { --lv: #f59e0b; } .stepper.lv-green { --lv: #16a34a; } .stepper.lv-bad { --lv: #94a3b8; }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .78rem; color: var(--muted); }
.stepper li::before { content: ""; position: absolute; top: 22px; left: -50%; width: 100%; height: 3px; background: var(--card-b); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before { background: var(--lv); transition: background .4s; }
.stepper .sic { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--card-b); color: var(--muted); transition: all .4s; }
.stepper svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.stepper li.done .sic { background: var(--lv); border-color: var(--lv); color: #fff; }
.stepper li.now .sic { border-color: var(--lv); color: var(--lv); background: color-mix(in srgb, var(--lv) 14%, var(--bg2)); box-shadow: 0 0 0 0 color-mix(in srgb, var(--lv) 55%, transparent); animation: dz-ring 1.8s ease-out infinite; }
.stepper li.now b, .stepper li.done b { color: var(--text); }
.stepper li.now b { color: var(--lv); }
.stepper.lv-bad li { opacity: .5; }
@keyframes dz-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lv) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.stepper li.now .i-paper { animation: dz-print 1.4s ease-in-out infinite; }
.stepper li.now .i-line { animation: dz-blink 1.4s ease-in-out infinite; }
.stepper li.now .i-check, .stepper li.done .i-check { stroke-dasharray: 14; stroke-dashoffset: 0; }
.stepper li.now .i-check { animation: dz-draw 1.6s ease-in-out infinite; }
.stepper li.now .i-steam { animation: dz-steam 1.6s ease-in-out infinite; }
.stepper li.now .i-flame { animation: dz-flame .5s ease-in-out infinite alternate; }
.stepper li.now .i-bell { transform-origin: 12px 4px; animation: dz-ring-bell 1s ease-in-out infinite; }
@keyframes dz-print { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes dz-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes dz-draw { 0% { stroke-dashoffset: 14; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes dz-steam { 0% { transform: translateY(2px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(-3px); opacity: 0; } }
@keyframes dz-flame { from { opacity: .5; } to { opacity: 1; } }
@keyframes dz-ring-bell { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .stepper *, .stepper li .sic { animation: none !important; } }
@media (max-width: 560px) { .stepper .sic { width: 38px; height: 38px; } .stepper li::before { top: 18px; } .stepper li { font-size: .7rem; } .modes { grid-template-columns: 1fr; } }
.resv-panel select, .dine-fields select { min-height: 46px; }
.resv-grid .field input { min-height: 46px; }
@media (max-width: 560px) {
  .modes { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .modes button { flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 6px; }
  .modes small { display: none; }
  .modes b { font-size: .78rem; }
  .modes svg { width: 22px; height: 22px; }
}
/* v22: one button scale (sm 32 / md 40 / lg 46 px) */
.btn { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 12px; box-shadow: 0 8px 22px -12px rgba(249,115,22,.65); }
.btn.sm { min-height: 32px; padding: 0 12px; font-size: .8rem; border-radius: 10px; }
.btn.lg { min-height: 46px; padding: 0 20px; font-size: .98rem; border-radius: 14px; }
.btn.block { min-height: 44px; }
.links .btn { min-height: 36px; padding: 0 14px; font-size: .86rem; }
.search { align-items: center; }
.search input { padding: 11px 14px; border-radius: 12px; }
.search .btn { min-height: 44px; }
.paybox .btn { font-size: 1rem; }
/* v22: home toolbar - location (segmented) + sort on one line, quick filters below */
.sec-sub { margin: 6px 0 0; }
.sec-head .recent { margin: 0; align-self: end; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 10px; }
.toolbar .citybar { margin: 0; padding: 0; min-width: 0; flex: 1 1 auto; }
.citychips.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--glass, var(--card)); border: 1px solid var(--card-b); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.citychips.seg::-webkit-scrollbar { display: none; }
.citychips.seg .cchip { border: 0; background: none; border-radius: 9px; padding: 7px 12px; font-size: .86rem; min-height: 34px; box-shadow: none; }
.citychips.seg .cchip span { font-size: .72rem; color: var(--muted); margin-left: 3px; }
.citychips.seg .cchip.on { background: var(--on-brand); color: #fff; }
.citychips.seg .cchip.on span { color: rgba(255,255,255,.85); }
.toolbar .sortsel { flex: none; }
.toolbar .sortsel select { padding: 8px 32px 8px 12px; font-size: .86rem; }
.fbar { align-items: center; gap: 6px; padding-bottom: 12px; }
.fbar-l { flex: none; margin-right: 2px; }
.fbar .fchip { padding: 6px 11px; font-size: .8rem; border-radius: 999px; min-height: 32px; }
.fbar .fchip .diet { width: 12px; height: 12px; }
@media (max-width: 760px) { .toolbar { flex-direction: column; align-items: stretch; } .toolbar .sortsel { align-self: flex-start; } .sec-head .recent { justify-content: flex-start; } }
/* v22: time picker (period tabs + chip grid), day chips, guest stepper */
.field > span:first-child { font-weight: 600; font-size: .9rem; }
.slotpick { margin-top: 8px; }
.sp-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--card-b); width: fit-content; max-width: 100%; overflow-x: auto; }
.sp-tabs button { font: inherit; font-size: .82rem; font-weight: 700; color: var(--muted); background: none; border: 0; border-radius: 9px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.sp-tabs button span { font-size: .7rem; opacity: .75; }
.sp-tabs button.on { color: #fff; background: var(--on-brand); }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; margin-top: 8px; }
.sp-chip { display: flex; flex-direction: column; align-items: center; gap: 1px; font: inherit; font-weight: 700; font-size: .88rem; font-variant-numeric: tabular-nums; color: var(--text); background: var(--glass, var(--card)); border: 1px solid var(--card-b); border-radius: 10px; padding: 8px 4px; cursor: pointer; transition: border-color .15s, background .15s; }
.sp-chip small { font-size: .66rem; font-weight: 600; color: var(--muted); }
.sp-chip:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--card-b)); }
.sp-chip.on { color: #fff; background: var(--on-brand); border-color: transparent; }
.sp-chip.on small { color: rgba(255,255,255,.85); }
.daychips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 2px; scrollbar-width: thin; }
.dchip { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 64px; font: inherit; color: var(--text); background: var(--glass, var(--card)); border: 1px solid var(--card-b); border-radius: 12px; padding: 7px 10px; cursor: pointer; }
.dchip b { font-size: .86rem; } .dchip small { font-size: .7rem; color: var(--muted); }
.dchip.on { color: #fff; background: var(--on-brand); border-color: transparent; } .dchip.on small { color: rgba(255,255,255,.85); }
.numstep { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 3px; border: 1px solid var(--card-b); border-radius: 12px; background: var(--bg2); }
.numstep button { width: 36px; height: 36px; font: inherit; font-size: 1.2rem; font-weight: 700; color: var(--text); background: var(--glass, var(--card)); border: 1px solid var(--card-b); border-radius: 9px; cursor: pointer; }
.numstep button:disabled { opacity: .35; cursor: not-allowed; }
.numstep output { min-width: 34px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.dine-fields { grid-template-columns: 1fr; gap: 6px; }
.resv-grid { align-items: end; }
.numstep { display: flex; width: fit-content; }
.sp-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 92px)); }
.btn:not(.ghost):not(.danger) { background: linear-gradient(135deg, #ea580c, #c2410c); }

/* v28 — compact restaurant cards: 1.5in (144px) square photo tile + details; no overlap */
.rgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.rgrid > * { min-width: 0; }
.rgrid .rcard { display: grid; grid-template-columns: 1.5in minmax(0, 1fr); align-items: center; gap: 0; padding: 10px; border-radius: 18px; }
.rgrid .rcover { width: 1.5in; height: 1.5in; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.rgrid .rcover::after { background: linear-gradient(180deg, rgba(7,10,18,.25), transparent 35%, transparent 55%, rgba(7,10,18,.7)); }
.rgrid .rcover .pill { left: 6px; right: 6px; top: auto; bottom: 6px; justify-content: center; text-align: center; font-size: .6rem; line-height: 1.2; padding: 3px 6px; white-space: normal; }
.rgrid .rcover .rstar { left: auto; right: 6px; top: 6px; bottom: auto; font-size: .62rem; padding: 2px 6px; }
.rgrid .rcover .rstar small { display: none; }
.rgrid .closed-tag { font-size: .62rem; padding: 3px 8px; border-width: 2px; border-radius: 7px; letter-spacing: .14em; }
.rgrid .rrow { margin: 0; padding: 4px 6px 4px 14px; align-items: flex-start; gap: 10px; }
.rgrid .rrow .rbody { padding-top: 0; }
.rgrid .rrow .rlogo, .rgrid .rrow .ravatar { width: 38px; height: 38px; border-radius: 11px; font-size: .8rem; border-width: 2px; }
.rgrid .rrow .rbody b { font-size: .98rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; white-space: normal; text-overflow: clip; }
.rgrid .rrow .rbody .small { font-size: .78rem; }
.rgrid .rrow .rbody > .muted { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rgrid .rrow .rmeta { gap: 2px 10px; }

/* v30 (2026-11-30) - Super Admin: full-width shell, sticky status bar + section menu, action list, dense grids */
body.admin .foot { display: none; }
body.admin .nav .adm-brand { color: var(--muted); font-weight: 700; font-size: .9rem; letter-spacing: .04em; }
.adm-in { padding-top: 16px; }
.adm-in > .in.narrow { max-width: 1480px; }
.adm-in > .in > .eyebrow { display: none; }
body.admin .nav .in { max-width: 1480px; }
.adm-in > .in > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.adm-in .adm-msg { margin: 0 0 12px; }
.adm-bar { position: sticky; top: 72px; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  padding: 9px 12px; margin: 0 0 18px; border-radius: 14px; border: 1px solid var(--card-b);
  background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); }
.adm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; color: var(--muted); background: var(--bg2); border: 1px solid var(--card-b); white-space: nowrap; }
.adm-chip b { color: var(--text); font-weight: 750; }
.adm-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.adm-chip.ok i { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.adm-chip.warn i { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 22%, transparent); }
.adm-chip.bad i { background: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 22%, transparent); }
.adm-who { display: flex; align-items: center; gap: 10px; }
.adm-who form { margin: 0; }
.adm-shell { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; align-items: start; }
.adm-nav { position: sticky; top: 132px; display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-b); }
.adm-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.adm-nav a:hover, .adm-nav a:focus-visible { background: var(--bg2); color: var(--brand2); }
.adm-nav em { font-style: normal; font-size: .7rem; font-weight: 800; min-width: 20px; text-align: center; padding: 2px 7px; border-radius: 999px; background: var(--bad); color: #fff; }
.adm-sec { scroll-margin-top: 140px; margin-bottom: 30px; }
.adm-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--card-b); }
.adm-sec-h h2 { font-size: .8rem; margin: 0; text-transform: uppercase; letter-spacing: .14em; color: var(--brand2); }
.adm-cols { display: grid; gap: 16px; margin-bottom: 16px; align-items: stretch; }
.adm-cols.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adm-cols.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm-cols.c-sec { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.adm-in .adm-card { margin: 0 0 16px; padding: 18px 20px; }
.adm-in .adm-cols > .adm-card { margin: 0; }
.adm-in .adm-card h2 { font-size: 1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.adm-in .adm-form { max-width: none; }
.adm-in .adm-ops > .adm-top { display: none; }
.adm-in .adm-kpis { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; margin: 0; }
.adm-in .adm-kpi { padding: 12px 14px; }
.adm-in .adm-kpi b { font-size: 1.5rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.adm-in .adm-kpi:nth-child(-n+4) b { background: linear-gradient(90deg, #fbbf24, #f97316 60%, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.adm-in .adm-tbl td { font-variant-numeric: tabular-nums; }
.adm-alerts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.adm-alerts li { display: grid; gap: 2px; padding: 9px 12px 9px 14px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--card-b); border-left: 4px solid var(--muted); }
.adm-alerts li.bad { border-left-color: var(--bad); }
.adm-alerts li.warn { border-left-color: var(--warn); }
.adm-alerts li.info { border-left-color: #60a5fa; }
.adm-alerts li b { font-size: .9rem; }
.adm-alerts li span { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.adm-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: .74rem; }
.adm-allclear { color: var(--ok); font-weight: 700; margin: 0; }
@media (max-width: 1200px) { .adm-cols.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .adm-bar { position: static; }
  .adm-shell { grid-template-columns: 1fr; gap: 14px; }
  .adm-nav { top: 72px; z-index: 20; display: flex; overflow-x: auto; gap: 4px; padding: 6px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .adm-nav a { white-space: nowrap; padding: 7px 10px; }
  .adm-cols.c2, .adm-cols.c3, .adm-cols.c-sec { grid-template-columns: 1fr; }
}
.adm-fs { border: 1px solid var(--card-b); border-radius: 12px; padding: 10px 12px 12px; margin: 0; display: grid; gap: 10px; }
.adm-fs legend { font-weight: 700; font-size: .85rem; padding: 0 6px; }
