/* Marketplace design system: Super admin, Area manager, Vendor app + marketplace storefront.
   Self-contained (the portals do not load app.css / admin.css). Motion respects prefers-reduced-motion. */
:root {
  --p: #E8590C; --p2: #FF922B; --p-soft: #FFF1E6; --p-ink: #B03F00;
  --ink: #17122B; --ink2: #2A2146; --ink3: #3B3160;
  --bg: #F5F3FA; --card: #FFFFFF; --card2: #FBFAFE; --line: #E7E3F1; --line2: #F0EDF7;
  --text: #1C1633; --muted: #6C6784; --faint: #A09BB8;
  --ok: #12B76A; --ok-soft: #E3F8EE; --warn: #F79009; --warn-soft: #FEF1DB; --bad: #F04438; --bad-soft: #FDE7E5;
  --info: #2E90FA; --info-soft: #E3F0FF; --teal: #0CA678; --teal-soft: #DDF6EE; --violet: #7048E8; --violet-soft: #ECE6FD;
  --r: 18px; --r-s: 12px; --r-l: 26px;
  --sh: 0 1px 2px rgba(23,18,43,.05), 0 8px 24px -8px rgba(23,18,43,.10);
  --sh-l: 0 2px 4px rgba(23,18,43,.06), 0 24px 48px -16px rgba(23,18,43,.22);
  --ease: cubic-bezier(.22,1,.36,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --font: "Inter", ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --side-w: 262px;
  color-scheme: light;
}
body[data-portal="vendor"]  { --p: #F76707; --p2: #FFA94D; --p-soft: #FFF0E3; --p-ink: #B34700; --ink: #1D130C; --ink2: #33210F; --ink3: #4A3016; }
body[data-portal="manager"] { --p: #0CA678; --p2: #38D9A9; --p-soft: #E3F8F0; --p-ink: #087F5B; --ink: #0A1F1D; --ink2: #0F3330; --ink3: #164744; }
body[data-portal="driver"]  { --p: #1C7ED6; --p2: #4DABF7; --p-soft: #E7F5FF; --p-ink: #1864AB; --ink: #08182B; --ink2: #0D2B4A; --ink3: #133C66; }
body[data-portal="super"]   { --p: #E8590C; --p2: #FF922B; --ink: #15102B; --ink2: #241A47; --ink3: #352A63; }
body.dark { --bg: #0E0B1A; --card: #181329; --card2: #1D1731; --line: #2C2547; --line2: #241E3B; --text: #EEEAFB; --muted: #A59FC2; --faint: #6E6892;
  --p-soft: color-mix(in srgb, var(--p) 16%, #181329); --ok-soft: #0F2F22; --warn-soft: #3A2A0B; --bad-soft: #3A1512; --info-soft: #0E2540; --teal-soft: #0C2F27; --violet-soft: #231B45;
  --sh: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -10px rgba(0,0,0,.6); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.mp { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.mp img { max-width: 100%; display: block; }
body.mp a { color: inherit; }
body.mp h1, body.mp h2, body.mp h3, body.mp h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
body.mp p { margin: 0 0 .8em; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: .84rem; } .tiny { font-size: .74rem; }
.right { text-align: right; } .center { text-align: center; }
.row { display: flex; align-items: center; gap: 12px; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; } .grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 14px; } .gap-s { gap: 8px; } .mt { margin-top: 18px; } .mb { margin-bottom: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { display: inline-flex; vertical-align: middle; flex: none; } .ico svg { display: block; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--p) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

/* ── Shell ───────────────────────────────── */
.mp-shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.mp-side { position: sticky; top: 0; height: 100vh; overflow: hidden auto; color: #fff; padding: 20px 14px 18px; display: flex; flex-direction: column; gap: 4px; z-index: 30;
  background: radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--p) 55%, transparent) 0%, transparent 55%), radial-gradient(90% 50% at 100% 100%, color-mix(in srgb, var(--p2) 30%, transparent) 0%, transparent 60%), linear-gradient(180deg, var(--ink2), var(--ink)); }
.mp-side::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.mp-brand { display: flex; align-items: center; gap: 12px; padding: 6px 10px 18px; text-decoration: none; position: relative; }
.mp-brand .logo { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--p), var(--p2)); box-shadow: 0 8px 22px -6px var(--p); font-weight: 900; font-size: 1.15rem; color: #fff; animation: logoPulse 4s ease-in-out infinite; }
.mp-brand b { display: block; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.1; }
.mp-brand small { display: block; opacity: .65; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
@keyframes logoPulse { 0%, 100% { box-shadow: 0 8px 22px -6px var(--p); } 50% { box-shadow: 0 8px 34px -2px var(--p2); } }
.mp-nav { display: flex; flex-direction: column; gap: 3px; position: relative; }
.mp-nav .grp { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .45; padding: 14px 12px 6px; }
.mp-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; text-decoration: none; font-weight: 600; font-size: .92rem; color: rgba(255,255,255,.74); position: relative; transition: background .25s var(--ease), color .25s, transform .25s var(--ease); }
.mp-nav a:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(3px); }
.mp-nav a[aria-current="page"] { color: #fff; background: linear-gradient(90deg, color-mix(in srgb, var(--p) 80%, transparent), color-mix(in srgb, var(--p) 20%, transparent)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 10px 24px -12px var(--p); }
.mp-nav a[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--p2); box-shadow: 0 0 14px var(--p2); }
.mp-nav .badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--p); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; animation: badgePop 2.4s ease-in-out infinite; }
@keyframes badgePop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.mp-side .foot { margin-top: auto; position: relative; padding-top: 14px; }
.mp-side .me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.08); }
.mp-side .me .av { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--p2), var(--p)); flex: none; overflow: hidden; }
.mp-side .me .av img { width: 100%; height: 100%; object-fit: cover; }
.mp-side .me b { display: block; font-size: .88rem; line-height: 1.2; } .mp-side .me small { opacity: .6; font-size: .74rem; }
.mp-side .me button { margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; transition: background .2s; } .mp-side .me button:hover { background: rgba(255,255,255,.2); }
.mp-credit { text-align: center; font-size: .7rem; opacity: .4; margin-top: 12px; } .mp-credit a { text-decoration: none; }

.mp-main { min-width: 0; display: flex; flex-direction: column; }
.mp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line2); }
.mp-top h1 { font-size: 1.3rem; font-weight: 800; }
.mp-top .crumb { font-size: .78rem; color: var(--muted); display: block; margin-bottom: 2px; }
.mp-top .sp { flex: 1; }
.mp-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; place-items: center; color: var(--text); }
.top-btn { width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; color: var(--text); cursor: pointer; position: relative; transition: transform .25s var(--spring), box-shadow .25s; text-decoration: none; }
.top-btn:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.top-btn .dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 0 var(--bad); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: .82rem; }
.live-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: ping 1.8s infinite; }
.live-pill.off i { background: var(--faint); animation: none; }
.mp-page { padding: 26px 28px 48px; max-width: 1480px; width: 100%; }
.mp-scrim { display: none; }

/* ── Reveal motion ───────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
.pop-in { animation: popIn .5s var(--spring) both; animation-delay: var(--d, 0ms); }
@keyframes popIn { from { opacity: 0; transform: scale(.88) translateY(10px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.shimmer { background: linear-gradient(100deg, var(--line2) 30%, var(--card) 50%, var(--line2) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Cards ───────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: var(--sh); padding: 20px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--sh-l); }
.card.flush { padding: 0; overflow: hidden; }
.card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; } .card-h h2, .card-h h3 { font-size: 1.04rem; font-weight: 800; } .card-h .sp { flex: 1; }
.glow { position: relative; } .glow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a, 0deg), var(--p), var(--p2), transparent 40%, var(--p)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinA 6s linear infinite; pointer-events: none; opacity: .9; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinA { to { --a: 360deg; } }
.grid { display: grid; gap: 18px; } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } .g-side { grid-template-columns: minmax(0, 1fr) 340px; }

/* hero banner on dashboards */
.hero { border-radius: var(--r-l); padding: 26px 30px; color: #fff; position: relative; overflow: hidden; margin-bottom: 20px; isolation: isolate;
  background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--p2) 70%, transparent), transparent 60%), radial-gradient(60% 100% at 0% 100%, color-mix(in srgb, var(--p) 80%, transparent), transparent 60%), linear-gradient(120deg, var(--ink2), var(--ink)); box-shadow: var(--sh-l); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(40px); z-index: -1; animation: floaty 9s ease-in-out infinite; }
.hero::before { width: 240px; height: 240px; right: 8%; top: -80px; background: var(--p2); opacity: .45; }
.hero::after { width: 200px; height: 200px; left: 30%; bottom: -100px; background: var(--p); opacity: .5; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, 18px) scale(1.15); } }
.hero h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; } .hero p { opacity: .8; margin: 6px 0 0; max-width: 56ch; }
.hero .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero .glass-stat { display: flex; gap: 22px; margin-top: 20px; flex-wrap: wrap; } .hero .glass-stat div { padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); } .hero .glass-stat b { display: block; font-size: 1.35rem; } .hero .glass-stat small { opacity: .7; font-size: .76rem; }

/* KPI */
.kpi { position: relative; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.kpi .top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: .84rem; }
.kpi .bub { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--p-soft); color: var(--p); transition: transform .4s var(--spring); } .kpi:hover .bub { transform: rotate(-8deg) scale(1.12); }
.kpi.c-ok .bub { background: var(--ok-soft); color: var(--ok); } .kpi.c-info .bub { background: var(--info-soft); color: var(--info); } .kpi.c-violet .bub { background: var(--violet-soft); color: var(--violet); } .kpi.c-teal .bub { background: var(--teal-soft); color: var(--teal); } .kpi.c-warn .bub { background: var(--warn-soft); color: var(--warn); }
.kpi .val { font-size: 1.85rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi .val small { font-size: .9rem; font-weight: 700; color: var(--muted); margin-right: 3px; }
.kpi .delta { font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); align-self: flex-start; } .kpi .delta.neg { background: var(--bad-soft); color: var(--bad); } .kpi .delta.flat { background: var(--line2); color: var(--muted); }
.kpi .spark { position: absolute; right: 0; bottom: 0; width: 55%; height: 52px; opacity: .9; pointer-events: none; }
.kpi::after { content: ""; position: absolute; width: 120px; height: 120px; right: -30px; top: -40px; border-radius: 50%; background: radial-gradient(var(--p-soft), transparent 70%); opacity: .8; pointer-events: none; }

/* ── Buttons & forms ─────────────────────── */
.btn { --b: var(--p); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 13px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: none; position: relative; overflow: hidden; transition: transform .25s var(--spring), box-shadow .25s, background .25s, filter .25s; white-space: nowrap; color: var(--text); background: var(--card); border-color: var(--line); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh); } .btn:active { transform: translateY(0) scale(.97); }
.btn.pri { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--p), var(--p2)); box-shadow: 0 10px 24px -10px var(--p); } .btn.pri:hover { filter: brightness(1.06); box-shadow: 0 14px 30px -10px var(--p); }
.btn.ok { color: #fff; background: linear-gradient(135deg, #0CA678, #38D9A9); border-color: transparent; box-shadow: 0 10px 24px -12px var(--teal); }
.btn.bad { color: var(--bad); background: var(--bad-soft); border-color: transparent; } .btn.dark { color: #fff; background: var(--ink2); border-color: transparent; }
.btn.ghost { background: transparent; } .btn.s { padding: 7px 12px; font-size: .82rem; border-radius: 10px; } .btn.l { padding: 14px 24px; font-size: 1rem; border-radius: 15px; } .btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .rip { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: scale(0); animation: rip .6s linear; pointer-events: none; } @keyframes rip { to { transform: scale(4); opacity: 0; } }
.fld { display: block; margin-bottom: 14px; } .fld > span { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; letter-spacing: .01em; } .fld small { display: block; margin-top: 5px; color: var(--faint); font-size: .76rem; }
.inp, .fld input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]):not([type=range]), .fld select, .fld textarea { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card2); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s, background .2s; }
.fld textarea { min-height: 92px; resize: vertical; } .fld input:focus, .fld select:focus, .fld textarea:focus, .inp:focus { outline: 0; border-color: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 18%, transparent); background: var(--card); }
.frow { display: grid; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: 14px; }
.sw { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; } .sw input { position: absolute; opacity: 0; width: 0; height: 0; }
.sw .tr { width: 46px; height: 27px; border-radius: 99px; background: var(--line); position: relative; transition: background .3s; flex: none; } .sw .tr::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .35s var(--spring); }
.sw input:checked + .tr { background: var(--ok); } .sw input:checked + .tr::after { transform: translateX(19px); } .sw input:focus-visible + .tr { outline: 3px solid color-mix(in srgb, var(--p) 55%, transparent); outline-offset: 2px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--line2); gap: 2px; flex-wrap: wrap; } .seg a, .seg button { padding: 8px 14px; border-radius: 10px; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .84rem; color: var(--muted); cursor: pointer; text-decoration: none; transition: background .25s, color .25s, box-shadow .25s; } .seg .on, .seg a[aria-current] { background: var(--card); color: var(--text); box-shadow: var(--sh); }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; } .radio-cards label { cursor: pointer; } .radio-cards input { position: absolute; opacity: 0; } .radio-cards .rc { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: all .25s var(--ease); background: var(--card2); } .radio-cards .rc b { display: block; font-size: .92rem; } .radio-cards .rc small { color: var(--muted); font-size: .78rem; } .radio-cards input:checked + .rc { border-color: var(--p); background: var(--p-soft); box-shadow: 0 8px 22px -12px var(--p); transform: translateY(-2px); }

/* ── Chips / badges ──────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; font-size: .76rem; font-weight: 800; background: var(--line2); color: var(--muted); white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.ok, .chip.delivered, .chip.active { background: var(--ok-soft); color: var(--ok); } .chip.warn, .chip.pending, .chip.processing { background: var(--warn-soft); color: #B86A00; } .chip.bad, .chip.cancelled, .chip.failed, .chip.suspended { background: var(--bad-soft); color: var(--bad); }
.chip.info, .chip.confirmed, .chip.ready_for_pickup { background: var(--info-soft); color: var(--info); } .chip.violet, .chip.out_for_delivery { background: var(--violet-soft); color: var(--violet); } .chip.teal { background: var(--teal-soft); color: var(--teal); } .chip.pri { background: var(--p-soft); color: var(--p-ink); }
.chip.pending i, .chip.out_for_delivery i, .chip.live i { animation: blink 1.2s infinite; } @keyframes blink { 50% { opacity: .25; } }
.by { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 800; padding: 3px 10px; border-radius: 8px; } .by.vendor { background: var(--teal-soft); color: var(--teal); } .by.platform { background: var(--p-soft); color: var(--p-ink); } .by.pickup { background: var(--violet-soft); color: var(--violet); }

/* ── Tables / lists ──────────────────────── */
.tbl-wrap { overflow-x: auto; } table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--faint); font-weight: 800; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--card); }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line2); vertical-align: middle; } .tbl tbody tr { transition: background .2s; } .tbl tbody tr:hover { background: var(--card2); } .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; }
.ent { display: flex; align-items: center; gap: 12px; min-width: 0; } .ent .ph { width: 44px; height: 44px; border-radius: 13px; background: var(--p-soft); color: var(--p); display: grid; place-items: center; font-weight: 900; flex: none; overflow: hidden; } .ent .ph img { width: 100%; height: 100%; object-fit: cover; } .ent b { display: block; line-height: 1.2; } .ent small { color: var(--muted); font-size: .78rem; }
.list > * { padding: 12px 0; border-bottom: 1px solid var(--line2); } .list > *:last-child { border-bottom: 0; padding-bottom: 0; } .list > *:first-child { padding-top: 0; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); } .empty .big { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 24px; background: var(--p-soft); color: var(--p); display: grid; place-items: center; animation: floaty2 3.2s ease-in-out infinite; } @keyframes floaty2 { 50% { transform: translateY(-8px) rotate(-4deg); } }
.bar-line { height: 8px; border-radius: 99px; background: var(--line2); overflow: hidden; } .bar-line > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--p), var(--p2)); width: 0; transition: width 1.2s var(--ease); }
.rank { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; } .rank .n { width: 30px; height: 30px; border-radius: 10px; background: var(--p-soft); color: var(--p); display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.rank:nth-child(1) .n { background: linear-gradient(135deg, #FFD43B, #FAB005); color: #6B4E00; }

/* ── Charts ──────────────────────────────── */
.chart { position: relative; width: 100%; } .chart svg { width: 100%; height: auto; overflow: visible; display: block; }
.chart .grid-l { stroke: var(--line); stroke-dasharray: 3 5; } .chart .ax { fill: var(--faint); font-size: 11px; font-weight: 600; }
.chart .ln { fill: none; stroke: var(--p); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.chart.in .ln { transition: stroke-dashoffset 1.8s var(--ease); stroke-dashoffset: 0; }
.chart .area { opacity: 0; transition: opacity 1.2s .5s; } .chart.in .area { opacity: 1; }
.chart .bar { transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--spring); transition-delay: var(--d, 0ms); } .chart.in .bar { transform: scaleY(1); }
.chart .pt { fill: var(--card); stroke: var(--p); stroke-width: 3; opacity: 0; transition: opacity .3s, r .2s; } .chart .pt.show { opacity: 1; }
.chart .cross { stroke: var(--p); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0; transition: opacity .2s; } .chart .cross.show { opacity: .6; }
.tip { position: absolute; pointer-events: none; transform: translate(-50%, -110%); background: var(--ink); color: #fff; padding: 7px 11px; border-radius: 10px; font-size: .78rem; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity .15s; z-index: 5; box-shadow: var(--sh-l); } .tip.show { opacity: 1; } .tip small { display: block; opacity: .65; font-weight: 600; }
.donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; } .donut { width: 168px; height: 168px; position: relative; flex: none; } .donut svg { transform: rotate(-90deg); width: 100%; height: 100%; } .donut circle { fill: none; stroke-width: 18; stroke-linecap: round; transition: stroke-dasharray 1.4s var(--ease); }
.donut .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } .donut .mid b { font-size: 1.6rem; font-weight: 900; display: block; line-height: 1; } .donut .mid small { color: var(--muted); font-size: .75rem; }
.legend { display: grid; gap: 9px; flex: 1; min-width: 150px; } .legend div { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; } .legend i { width: 11px; height: 11px; border-radius: 4px; flex: none; } .legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.heat { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; } .heat i { aspect-ratio: 1; border-radius: 6px; background: color-mix(in srgb, var(--p) calc(var(--v, 0) * 100%), var(--line2)); transform: scale(0); transition: transform .5s var(--spring); transition-delay: calc(var(--i) * 18ms); } .heat.in i { transform: scale(1); } .heat-ax { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; font-size: .62rem; color: var(--faint); text-align: center; margin-top: 4px; }

/* ── Maps ────────────────────────────────── */
.mpmap { position: relative; width: 100%; height: 420px; border-radius: var(--r); overflow: hidden; background: #E9EEF4; border: 1px solid var(--line); touch-action: none; cursor: grab; user-select: none; isolation: isolate;
  background-image: linear-gradient(rgba(23,18,43,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(23,18,43,.05) 1px, transparent 1px), radial-gradient(120% 90% at 30% 20%, #F3F6FA, #DCE5EE); background-size: 48px 48px, 48px 48px, 100% 100%; }
.mpmap.big { height: 560px; } .mpmap.sm { height: 300px; } .mpmap.dragging { cursor: grabbing; } .mpmap.draw { cursor: crosshair; }
.mpmap .tiles, .mpmap .ov, .mpmap .mk { position: absolute; inset: 0; } .mpmap .tiles img { position: absolute; width: 256px; height: 256px; max-width: none; opacity: 0; transition: opacity .15s; user-select: none; -webkit-user-drag: none; } .mpmap .tiles img.ok { opacity: 1; }
.mpmap .ov { width: 100%; height: 100%; pointer-events: none; overflow: visible; } .mpmap .ov * { pointer-events: auto; }
.mpmap .poly { stroke-width: 2.5; stroke-linejoin: round; transition: fill-opacity .3s; cursor: pointer; } .mpmap .poly:hover { fill-opacity: .38; }
.mpmap .poly.draw-new { stroke-dasharray: 8 6; animation: dash 1s linear infinite; } @keyframes dash { to { stroke-dashoffset: -28; } }
.mpmap .vtx { fill: #fff; stroke-width: 3; cursor: move; transition: r .15s; } .mpmap .vtx:hover { r: 9; }
.mpmap .plbl { font-weight: 800; font-size: 13px; fill: var(--ink); paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 4px; text-anchor: middle; pointer-events: none; }
.mpmap .mk .m { position: absolute; transform: translate(-50%, -100%); pointer-events: auto; cursor: pointer; }
.pin { width: 40px; height: 48px; position: relative; filter: drop-shadow(0 6px 8px rgba(0,0,0,.28)); animation: drop .6s var(--spring) both; } @keyframes drop { from { transform: translateY(-30px) scale(.4); opacity: 0; } }
.pin::before { content: ""; position: absolute; left: 50%; top: 0; width: 38px; height: 38px; margin-left: -19px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c, var(--p)); border: 3px solid #fff; }
.pin span { position: absolute; left: 0; right: 0; top: 4px; height: 30px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: .8rem; z-index: 1; overflow: hidden; border-radius: 50%; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 22px; height: 8px; margin-left: -11px; border-radius: 50%; background: var(--c, var(--p)); opacity: .35; filter: blur(3px); animation: pinpulse 2s infinite; } @keyframes pinpulse { 50% { transform: scale(2); opacity: 0; } }
.rider-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); border: 3px solid #fff; box-shadow: 0 0 0 0 var(--teal); animation: ping 1.6s infinite; transform: translate(-50%, -50%) !important; }
.mpmap .zoom { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; z-index: 3; } .mpmap .zoom button, .mpmap .mtool button { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 1.2rem; font-weight: 800; cursor: pointer; box-shadow: var(--sh); transition: transform .2s var(--spring); } .mpmap .zoom button:hover, .mpmap .mtool button:hover { transform: scale(1.1); }
.mpmap .mtool { position: absolute; left: 12px; top: 12px; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; } .mpmap .mtool button { width: auto; padding: 0 14px; font-size: .82rem; display: inline-flex; align-items: center; gap: 6px; height: 38px; } .mpmap .mtool button.on { background: var(--p); color: #fff; border-color: var(--p); }
.mpmap .hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 99px; font-size: .82rem; font-weight: 700; z-index: 3; animation: fadeUp .5s var(--ease); max-width: 90%; text-align: center; }
.mpmap .attr { position: absolute; right: 6px; bottom: 4px; font-size: 10px; color: #555; background: rgba(255,255,255,.75); padding: 1px 6px; border-radius: 6px; z-index: 2; }
.maplegend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; } .maplegend span { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; } .maplegend i { width: 12px; height: 12px; border-radius: 4px; }

/* ── Flashes / toasts / modal ────────────── */
.flashes { position: fixed; top: 16px; right: 16px; z-index: 200; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast, .flashes .notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--sh-l); font-weight: 600; font-size: .9rem; animation: toastIn .55s var(--spring) both; border-left: 5px solid var(--faint); }
.notice.success, .toast.ok { border-left-color: var(--ok); } .notice.error, .toast.bad { border-left-color: var(--bad); } .notice.info, .toast.info { border-left-color: var(--info); } .toast.pri { border-left-color: var(--p); background: linear-gradient(135deg, var(--ink2), var(--ink)); }
.notice button { margin-left: auto; background: none; border: 0; color: inherit; opacity: .6; font-size: 1.2rem; cursor: pointer; } .toast.out, .notice.out { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px) scale(.9); } } @keyframes toastOut { to { opacity: 0; transform: translateX(60px) scale(.9); } }
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(15,10,35,.55); backdrop-filter: blur(6px); animation: fadeIn .25s; } @keyframes fadeIn { from { opacity: 0; } }
.modal .box { background: var(--card); color: var(--text); border-radius: var(--r-l); padding: 26px; width: min(480px, 100%); box-shadow: var(--sh-l); animation: popIn .45s var(--spring); max-height: 90vh; overflow: auto; } .modal h3 { font-size: 1.2rem; margin-bottom: 8px; }
.confetti { position: fixed; top: -12px; width: 10px; height: 14px; z-index: 300; pointer-events: none; animation: fall linear forwards; } @keyframes fall { to { transform: translate3d(var(--x), 105vh, 0) rotate(var(--r)); opacity: .9; } }

/* ── Login / auth screens ────────────────── */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.auth-art { position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
  background: radial-gradient(80% 80% at 80% 10%, color-mix(in srgb, var(--p2) 75%, transparent), transparent 60%), radial-gradient(70% 70% at 10% 90%, color-mix(in srgb, var(--p) 85%, transparent), transparent 60%), linear-gradient(135deg, var(--ink2), var(--ink)); }
.auth-art .blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; z-index: -1; animation: floaty 10s ease-in-out infinite; } .auth-art .b1 { width: 320px; height: 320px; background: var(--p2); top: -90px; right: -60px; } .auth-art .b2 { width: 260px; height: 260px; background: var(--p); bottom: -80px; left: 20%; animation-delay: -5s; }
.auth-art h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.05; max-width: 14ch; } .auth-art p { opacity: .8; max-width: 38ch; font-size: 1.05rem; }
.auth-art .floaters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 420px; margin-top: 26px; } .auth-art .floaters div { aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 3px solid rgba(255,255,255,.25); box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); animation: floaty2 4s ease-in-out infinite; } .auth-art .floaters div:nth-child(2) { animation-delay: -1.3s; transform: translateY(14px); } .auth-art .floaters div:nth-child(3) { animation-delay: -2.6s; } .auth-art .floaters img { width: 100%; height: 100%; object-fit: cover; }
.auth-form { display: grid; place-items: center; padding: 32px; background: var(--bg); } .auth-card { width: min(420px, 100%); } .auth-card h2 { font-size: 1.7rem; font-weight: 900; margin-bottom: 6px; } .auth-card .sub { color: var(--muted); margin-bottom: 24px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; } .auth-tabs a { padding: 7px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: .8rem; text-decoration: none; color: var(--muted); transition: all .25s; } .auth-tabs a:hover { color: var(--p); border-color: var(--p); transform: translateY(-2px); } .auth-tabs a.on { background: var(--p); color: #fff; border-color: var(--p); }

/* ── Order board (vendor / manager) ──────── */
.board { display: grid; grid-template-columns: repeat(5, minmax(250px, 1fr)); gap: 16px; align-items: start; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.col { background: color-mix(in srgb, var(--line2) 70%, transparent); border-radius: var(--r); padding: 12px; min-height: 160px; scroll-snap-align: start; border: 1px dashed transparent; }
.col-h { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; font-weight: 800; } .col-h .ct { margin-left: auto; min-width: 26px; height: 26px; padding: 0 8px; display: grid; place-items: center; border-radius: 99px; background: var(--card); font-size: .8rem; box-shadow: var(--sh); }
.col-h .dotc { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.oc { background: var(--card); border-radius: 16px; padding: 14px; box-shadow: var(--sh); border: 1px solid var(--line2); margin-bottom: 12px; position: relative; overflow: hidden; animation: popIn .5s var(--spring) both; transition: transform .3s var(--ease), box-shadow .3s; } .oc:hover { transform: translateY(-3px) rotate(-.2deg); box-shadow: var(--sh-l); }
.oc.is-new { border-color: var(--p); animation: popIn .5s var(--spring) both, newGlow 1.6s ease-in-out infinite; } @keyframes newGlow { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--p) 25%, transparent), var(--sh); } }
.oc.late { border-color: var(--bad); } .oc .no { font-weight: 900; letter-spacing: -.01em; } .oc .timer { margin-left: auto; font-weight: 800; font-size: .8rem; padding: 3px 9px; border-radius: 99px; background: var(--line2); } .oc.late .timer { background: var(--bad-soft); color: var(--bad); }
.oc ul { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 5px; font-size: .88rem; } .oc li { display: flex; gap: 8px; } .oc li b { color: var(--p); min-width: 24px; } .oc .meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; } .oc .acts { display: flex; gap: 8px; margin-top: 10px; } .oc .acts .btn { flex: 1; }
.oc .prog { height: 4px; border-radius: 4px; background: var(--line2); margin-top: 10px; overflow: hidden; } .oc .prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--p), var(--p2)); border-radius: inherit; transition: width 1s var(--ease); }
.track { display: flex; gap: 0; margin: 14px 0 6px; } .track .st { flex: 1; text-align: center; font-size: .72rem; font-weight: 700; color: var(--faint); position: relative; } .track .st::before { content: ""; display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--line); margin: 0 auto 6px; position: relative; z-index: 1; transition: all .4s var(--spring); } .track .st::after { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px; background: var(--line); } .track .st:first-child::after { display: none; }
.track .st.done { color: var(--text); } .track .st.done::before { background: var(--ok); box-shadow: 0 0 0 5px var(--ok-soft); } .track .st.done::after { background: var(--ok); } .track .st.now::before { background: var(--p); box-shadow: 0 0 0 6px color-mix(in srgb, var(--p) 25%, transparent); animation: ping 1.6s infinite; }

/* ── Vendor / area cards ─────────────────── */
.vcard { display: block; text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--sh); transition: transform .4s var(--ease), box-shadow .4s; }
.vcard:hover { transform: translateY(-6px); box-shadow: var(--sh-l); }
.vcard .cv { height: 120px; position: relative; background: linear-gradient(135deg, var(--c, var(--p)), var(--ink2)); overflow: hidden; } .vcard .cv img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); } .vcard:hover .cv img { transform: scale(1.08); } .vcard .cv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45)); }
.vcard .cv .chip { position: absolute; left: 12px; top: 12px; z-index: 2; backdrop-filter: blur(8px); background: rgba(255,255,255,.88); }
.vcard .bd { padding: 0 16px 16px; margin-top: -26px; position: relative; z-index: 2; } .vcard .lg { width: 54px; height: 54px; border-radius: 16px; border: 3px solid var(--card); background: var(--c, var(--p)); color: #fff; display: grid; place-items: center; font-weight: 900; overflow: hidden; box-shadow: var(--sh); margin-bottom: 8px; } .vcard .lg img { width: 100%; height: 100%; object-fit: cover; }
.vcard h3 { font-size: 1.05rem; font-weight: 800; } .vcard .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: .8rem; color: var(--muted); font-weight: 600; } .vcard .meta span { display: inline-flex; align-items: center; gap: 4px; } .vcard .stars { color: #F59F00; }
.vcard.off { filter: grayscale(.6); opacity: .8; }
.stat-line { display: flex; gap: 18px; flex-wrap: wrap; }

.page-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.search-box { position: relative; flex: 1; min-width: 200px; max-width: 360px; } .search-box input { padding-left: 42px; } .search-box .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.dish-thumb { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; background: var(--p-soft); }
.upload { display: grid; place-items: center; text-align: center; gap: 6px; border: 2px dashed var(--line); border-radius: 16px; padding: 18px; cursor: pointer; color: var(--muted); transition: all .25s; position: relative; overflow: hidden; background: var(--card2); } .upload:hover { border-color: var(--p); color: var(--p); background: var(--p-soft); } .upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; } .upload img { max-height: 120px; border-radius: 12px; }

/* ── Storefront (marketplace) ────────────── */
.mk-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding: 64px 0 74px;
  background: radial-gradient(60% 90% at 85% 0%, rgba(255,146,43,.85), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(232,89,12,.9), transparent 60%), linear-gradient(135deg, #2A1A55, #15102B); }
.mk-hero .blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; animation: floaty 11s ease-in-out infinite; } .mk-hero .b1 { width: 380px; height: 380px; background: #FF922B; opacity: .5; right: -80px; top: -120px; } .mk-hero .b2 { width: 300px; height: 300px; background: #7048E8; opacity: .5; left: -60px; bottom: -120px; animation-delay: -5s; }
.mk-hero .inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.mk-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; } .mk-hero h1 em { font-style: normal; background: linear-gradient(90deg, #FFD8A8, #FFA94D, #FF6B6B, #FFD8A8); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradMove 5s linear infinite; } @keyframes gradMove { to { background-position: 250% 0; } }
.mk-hero p.lead { font-size: 1.15rem; opacity: .85; max-width: 46ch; margin: 18px 0 26px; }
.area-box { background: rgba(255,255,255,.12); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; padding: 16px; max-width: 540px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
.area-box .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; opacity: .75; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.area-box .chips { display: flex; flex-wrap: wrap; gap: 8px; } .achip { padding: 9px 15px; border-radius: 99px; background: rgba(255,255,255,.14); border: 1.5px solid transparent; color: #fff; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .25s var(--spring); display: inline-flex; gap: 8px; align-items: center; text-decoration: none; } .achip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255,255,255,.25); } .achip:hover { transform: translateY(-3px) scale(1.04); background: rgba(255,255,255,.24); } .achip.on { background: #fff; color: #2A1A55; border-color: #fff; }
.area-box .locate { margin-top: 12px; width: 100%; padding: 13px; border-radius: 15px; border: 0; background: linear-gradient(135deg, #FF922B, #E8590C); color: #fff; font: inherit; font-weight: 800; cursor: pointer; display: flex; gap: 10px; align-items: center; justify-content: center; box-shadow: 0 14px 30px -12px #E8590C; transition: transform .25s var(--spring); } .area-box .locate:hover { transform: translateY(-3px); } .area-box .locate.busy .ico { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.mk-visual { position: relative; height: 420px; } .mk-visual .plate { position: absolute; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255,255,255,.9); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); animation: floaty2 5s ease-in-out infinite; } .mk-visual .plate img { width: 100%; height: 100%; object-fit: cover; }
.mk-visual .p1 { width: 270px; height: 270px; left: 12%; top: 2%; } .mk-visual .p2 { width: 200px; height: 200px; right: 2%; top: 24%; animation-delay: -1.5s; } .mk-visual .p3 { width: 170px; height: 170px; left: 30%; bottom: 0; animation-delay: -3s; }
.mk-visual .mtag { position: absolute; background: #fff; color: #17122B; border-radius: 16px; padding: 10px 14px; font-weight: 800; font-size: .85rem; box-shadow: 0 16px 30px -12px rgba(0,0,0,.45); display: flex; align-items: center; gap: 8px; animation: floaty2 4s ease-in-out infinite; z-index: 2; } .mk-visual .t1 { left: 0; bottom: 24%; animation-delay: -.8s; } .mk-visual .t2 { right: 0; top: 4%; animation-delay: -2s; } .mk-visual .mtag i { width: 9px; height: 9px; border-radius: 50%; background: #12B76A; animation: ping 1.6s infinite; }
.mk-sec { padding: 52px 0 6px; } .mk-sec h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; letter-spacing: -.03em; } .mk-sec .sub { color: var(--muted); margin: 6px 0 24px; }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.mk-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; align-items: center; } .fchip { padding: 9px 16px; border-radius: 99px; background: var(--card); border: 1.5px solid var(--line); font-weight: 700; font-size: .86rem; text-decoration: none; color: var(--text); cursor: pointer; transition: all .25s var(--spring); } .fchip:hover { transform: translateY(-2px); border-color: var(--p); color: var(--p); } .fchip.on { background: var(--p); color: #fff; border-color: var(--p); box-shadow: 0 10px 22px -10px var(--p); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; } .steps .st { padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line2); box-shadow: var(--sh); position: relative; overflow: hidden; } .steps .st .n { position: absolute; right: 14px; top: -6px; font-size: 5rem; font-weight: 900; color: var(--p-soft); line-height: 1; } .steps .st .bub { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; display: grid; place-items: center; margin-bottom: 14px; box-shadow: 0 12px 24px -10px var(--p); position: relative; } .steps h3 { font-size: 1.05rem; margin-bottom: 6px; position: relative; }
.cta-band { margin: 56px 0 20px; border-radius: var(--r-l); padding: 38px; color: #fff; position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, #2A1A55, #15102B); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .cta-band::before { content: ""; position: absolute; width: 300px; height: 300px; right: -60px; top: -120px; border-radius: 50%; background: var(--p2); filter: blur(60px); opacity: .6; z-index: -1; } .cta-band h2 { font-size: 1.8rem; font-weight: 900; } .cta-band p { opacity: .8; margin: 6px 0 0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 10px 0; } .marquee .track { display: flex; gap: 14px; width: max-content; animation: marq 45s linear infinite; margin: 0; } .marquee:hover .track { animation-play-state: paused; } @keyframes marq { to { transform: translateX(-50%); } }
.mq { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 99px; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--sh); text-decoration: none; color: var(--text); white-space: nowrap; transition: transform .25s var(--spring); } .mq:hover { transform: translateY(-3px); } .mq img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; } .mq b { display: block; font-size: .88rem; } .mq small { color: var(--muted); font-size: .75rem; }
/* vendor storefront page */
.vh { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: 40px 0 0; background: linear-gradient(135deg, var(--c, var(--p)), var(--ink2)); }
.vh .bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.vh .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,20,.78) 0%, rgba(10,8,20,.38) 45%, rgba(10,8,20,.05) 100%); }
.vh:has(.bg) { min-height: clamp(240px, 30vw, 360px); display: flex; align-items: flex-end; padding-top: 24px; } .vh:has(.bg) .wrap { width: 100%; }
.vh .in { display: flex; gap: 22px; align-items: flex-end; flex-wrap: wrap; padding-bottom: 26px; } .vh .lg { width: 104px; height: 104px; border-radius: 28px; border: 4px solid #fff; background: var(--c, var(--p)); display: grid; place-items: center; font-size: 2rem; font-weight: 900; overflow: hidden; box-shadow: var(--sh-l); animation: popIn .6s var(--spring); } .vh .lg img { width: 100%; height: 100%; object-fit: cover; }
.vh h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -.03em; } .vh .facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } .vh .facts span { padding: 6px 13px; border-radius: 99px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: .82rem; display: inline-flex; gap: 6px; align-items: center; }
.vnav { position: sticky; top: 56px; z-index: 12; background: color-mix(in srgb, var(--paper, #fff) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line2); } .vnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; } .vnav a { padding: 8px 16px; border-radius: 99px; font-weight: 800; font-size: .86rem; text-decoration: none; color: var(--muted); white-space: nowrap; transition: all .25s; } .vnav a:hover { color: var(--p); } .vnav a.on { background: var(--p); color: #fff; }
.menu-sec { padding-top: 28px; scroll-margin-top: 120px; } .menu-sec h2 { font-size: 1.45rem; font-weight: 900; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; } .menu-sec h2 small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.dish { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line2); border-radius: var(--r); padding: 12px; box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s; position: relative; overflow: hidden; } .dish:hover { transform: translateY(-4px); box-shadow: var(--sh-l); }
.dish .im { width: 124px; height: 124px; border-radius: 16px; overflow: hidden; flex: none; background: var(--p-soft); position: relative; } .dish .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); } .dish:hover .im img { transform: scale(1.12) rotate(1deg); }
.dish .tx { display: flex; flex-direction: column; min-width: 0; flex: 1; } .dish h3 { font-size: 1.02rem; font-weight: 800; } .dish p { color: var(--muted); font-size: .84rem; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .dish .ft { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; } .dish .pr { font-weight: 900; font-size: 1.1rem; } .dish .pr s { color: var(--faint); font-size: .8rem; font-weight: 600; margin-right: 5px; }
.dish .add { width: 42px; height: 42px; border-radius: 14px; border: 0; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 20px -8px var(--p); transition: transform .3s var(--spring); } .dish .add:hover { transform: scale(1.14) rotate(90deg); } .dish .add:active { transform: scale(.9); } .dish .add.added { background: var(--ok); animation: popIn .4s var(--spring); }
.dish .off-tag { position: absolute; inset: 0; background: rgba(255,255,255,.7); display: grid; place-items: center; backdrop-filter: grayscale(1); text-align: center; padding: 0 12px; font-weight: 800; font-size: .86rem; line-height: 1.25; color: #B42318; }
.dish .badge-s { position: absolute; left: 6px; top: 6px; background: #FF4D4F; color: #fff; padding: 2px 8px; border-radius: 8px; font-size: .72rem; font-weight: 800; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1180px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main, .g-side { grid-template-columns: 1fr; } .mk-hero .inner { grid-template-columns: 1fr; } .mk-visual { display: none; } }
@media (max-width: 900px) {
  .mp-shell { grid-template-columns: 1fr; } .mp-side { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform .45s var(--ease); box-shadow: var(--sh-l); } body.nav-open .mp-side { transform: none; }
  body.nav-open .mp-scrim { display: block; position: fixed; inset: 0; background: rgba(10,6,25,.55); backdrop-filter: blur(3px); z-index: 25; animation: fadeIn .3s; } .mp-burger { display: grid; }
  .mp-top { padding: 12px 16px; } .mp-page { padding: 18px 16px 40px; } .g3, .g2 { grid-template-columns: 1fr; } .auth { grid-template-columns: 1fr; } .auth-art { display: none; } .frow { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(5, 82vw); } .hero { padding: 22px 20px; } .live-pill span.t { display: none; }
}
@media (max-width: 560px) { .g4 { grid-template-columns: 1fr 1fr; gap: 12px; } .kpi .val { font-size: 1.45rem; } .kpi .spark { display: none; } .dgrid { grid-template-columns: 1fr; } .dish .im { width: 104px; height: 104px; } .mk-hero { padding: 40px 0 50px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } [data-reveal] { opacity: 1; transform: none; } .chart .ln { stroke-dashoffset: 0; } .chart .bar { transform: none; } }
@media print { .mp-side, .mp-top, .flashes { display: none; } .mp-shell { display: block; } .card { box-shadow: none; } }

/* map polygon draw-in */
.mpmap .poly.in-anim { stroke-dasharray: 1; stroke-dashoffset: 1; animation: polyDraw 1.8s var(--ease) .15s forwards; }
@keyframes polyDraw { to { stroke-dashoffset: 0; } }
.mpmap .m .pin span img { width: 100%; height: 100%; object-fit: cover; }
.area-pick { display: grid; gap: 10px; } .area-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card2); border: 1.5px solid var(--line); cursor: pointer; transition: all .25s var(--ease); text-decoration: none; } .area-row:hover, .area-row.on { border-color: var(--c); transform: translateX(4px); background: color-mix(in srgb, var(--c) 8%, var(--card)); } .area-row i { width: 14px; height: 14px; border-radius: 5px; background: var(--c); flex: none; }
.pw { display: flex; gap: 8px; align-items: center; } .pw .inp { flex: 1; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .9rem; } .kv dt { color: var(--muted); font-weight: 600; } .kv dd { margin: 0; font-weight: 700; text-align: right; }
.credbox { background: var(--ink); color: #fff; border-radius: 16px; padding: 16px 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; line-height: 1.8; position: relative; overflow: hidden; } .credbox b { color: var(--p2); }
.stepper-s { display: flex; align-items: center; gap: 4px; background: var(--line2); border-radius: 12px; padding: 3px; } .stepper-s button { width: 30px; height: 30px; border: 0; border-radius: 9px; background: var(--card); cursor: pointer; font-weight: 800; color: var(--text); } .stepper-s b { min-width: 24px; text-align: center; }

/* storefront chrome */
.topnav .areachip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; background: var(--p-soft, #FFF0E6); color: var(--p, #E8590C); font-weight: 800; border: 1.5px solid transparent; transition: all .25s var(--spring); }
.topnav .areachip:hover { transform: translateY(-2px); border-color: var(--p, #E8590C); }

.hero .btn:not(.pri) { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); } .hero .btn:not(.pri):hover { background: rgba(255,255,255,.26); }
.kpi .spark { position: absolute; right: 12px; bottom: 10px; width: 46%; height: 36px; opacity: .8; pointer-events: none; }
.dish .pr { display: flex; flex-direction: column; line-height: 1.15; } .dish .pr s { margin: 0 0 2px; }

/* tables: keep cells on one line, let the name column breathe */
table.tbl { min-width: 760px; } .tbl td { white-space: nowrap; } .tbl td.wrap, .tbl td .wrap { white-space: normal; }
.tbl .ent { min-width: 230px; } .tbl .ent > div:last-child { min-width: 0; } .tbl .ent a { text-decoration: none; color: inherit; } .tbl .ent a:hover b { color: var(--p); }
.tbl .ent b { display: block; line-height: 1.25; } .tbl .ent small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.tbl td a:not(.btn) { text-decoration: none; } .tbl td a:not(.btn):hover { text-decoration: underline; }
.tbl td .chip { white-space: nowrap; } .tbl td .row.gap-s { flex-wrap: nowrap; }
.tbl td.small, .tbl td .small { font-size: .84rem; }
.tbl td { padding: 11px 12px; font-size: .86rem; } .tbl th { padding: 10px 12px; }
.tbl td .chip { max-width: 210px; overflow: hidden; text-overflow: ellipsis; display: inline-flex; }
.tbl .ent { min-width: 210px; } .tbl .ent small { max-width: 240px; }
.page-actions { flex-wrap: wrap; align-items: center; gap: 10px; }
.page-actions select.inp, .page-actions .inp[type=text] { width: auto; min-width: 160px; max-width: 240px; }
.page-actions .search-box { flex: 0 1 260px; } .page-actions .search-box .inp { width: 100%; max-width: none; }
.tbl .ent small b { display: inline; } .tbl .ent small .stars { margin-left: 2px; }
.tbl .ent small { white-space: nowrap; }
.page-actions .search-box { flex: 0 1 210px; } .page-actions select.inp { min-width: 140px; max-width: 200px; }
.tbl .ent { min-width: 0; } .tbl .ent small { max-width: 190px; } .tbl td .chip { max-width: 160px; } .tbl td, .tbl th { padding-left: 10px; padding-right: 10px; }

/* map type switch + fallback notice */
.mpmap .lsw { position: absolute; right: 60px; top: 12px; z-index: 3; display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 6px 18px -6px rgba(20,10,50,.35); backdrop-filter: blur(8px); }
.mpmap .lsw button { border: 0; background: transparent; font: inherit; font-weight: 800; font-size: .78rem; padding: 7px 13px; border-radius: 9px; cursor: pointer; color: #4a4560; transition: all .2s; }
.mpmap .lsw button:hover { color: var(--p); } .mpmap .lsw button.on { background: var(--p); color: #fff; box-shadow: 0 6px 14px -6px var(--p); }
.mpmap.sat .plbl { fill: #fff; stroke: rgba(10,10,30,.75); } .mpmap.sat { background: #1b2a2f; }
.mpmap .attr { z-index: 2; }
.mpmap .mapfail { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; background: #fff; color: #17122B; border-radius: 16px; padding: 16px 20px; max-width: 78%; text-align: center; box-shadow: 0 20px 40px -16px rgba(0,0,0,.45); display: grid; gap: 4px; font-size: .86rem; }
.mpmap .mapfail[hidden] { display: none; }
@media (max-width: 560px) { .mpmap .lsw { right: auto; left: 12px; top: auto; bottom: 34px; } .mpmap .mtool { top: 12px; } }

/* hero slider */
.mk-slider { position: relative; height: 440px; border-radius: 28px; overflow: hidden; background: #1b1530; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.14); isolation: isolate; outline-offset: 4px; }
.sl-track { position: absolute; inset: 0; }
.sl-slide { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .8s ease, transform .9s var(--ease, ease), visibility 0s .8s; }
.sl-slide.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; z-index: 1; }
.sl-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl-slide.on > img { animation: slKen 9s ease-out forwards; }
@keyframes slKen { from { transform: scale(1); } to { transform: scale(1.12); } }
.sl-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,6,22,.05) 30%, rgba(10,6,22,.82) 100%), linear-gradient(90deg, rgba(10,6,22,.45), transparent 60%); }
.sl-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 30px 56px; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.sl-cap > * { opacity: 0; transform: translateY(16px); }
.sl-slide.on .sl-cap > * { animation: slUp .6s var(--ease, ease) forwards; }
.sl-slide.on .sl-cap > *:nth-child(2) { animation-delay: .12s; } .sl-slide.on .sl-cap > *:nth-child(3) { animation-delay: .22s; } .sl-slide.on .sl-cap > *:nth-child(4) { animation-delay: .32s; } .sl-slide.on .sl-cap > *:nth-child(1) { animation-delay: .04s; }
@keyframes slUp { to { opacity: 1; transform: none; } }
.sl-v { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 12px 5px 5px; border-radius: 99px; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); font-weight: 800; font-size: .82rem; }
.sl-v img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; } .sl-v em { font-style: normal; color: #FFD43B; }
.sl-cap b { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
.sl-cap small { font-size: .95rem; opacity: .86; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sl-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.sl-pr { font-weight: 900; font-size: 1.15rem; } .sl-m { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: .85rem; opacity: .9; }
.sl-go { margin-left: 4px; background: var(--c, #E8590C); color: #fff; padding: 9px 18px; border-radius: 99px; font-weight: 800; font-size: .88rem; box-shadow: 0 8px 20px -6px var(--c, #E8590C); transition: transform .2s; }
.sl-slide:hover .sl-go { transform: translateY(-2px) scale(1.04); }
.sl-nav { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(20,12,40,.45); color: #fff; backdrop-filter: blur(10px); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .25s, background .2s, transform .2s; }
.sl-nav.prev { left: 14px; } .sl-nav.next { right: 14px; }
.mk-slider:hover .sl-nav, .mk-slider:focus-within .sl-nav { opacity: 1; } .sl-nav:hover { background: rgba(20,12,40,.75); transform: scale(1.08); }
.sl-dots { position: absolute; z-index: 3; left: 30px; bottom: 22px; display: flex; gap: 8px; }
.sl-dots button { width: 34px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.sl-dots i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.sl-dots .on i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: slBar var(--dur, 5.5s) linear forwards; }
.mk-slider.paused .sl-dots .on i::after { animation-play-state: paused; }
@keyframes slBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sl-badge { position: absolute; z-index: 3; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #17122B; padding: 7px 13px; border-radius: 99px; font-weight: 800; font-size: .8rem; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
@media (max-width: 1180px) { .mk-slider { height: 380px; } }
@media (max-width: 640px) { .mk-slider { height: 340px; border-radius: 22px; } .sl-cap { padding: 18px 18px 50px; } .sl-dots { left: 18px; } .sl-nav { opacity: 1; width: 36px; height: 36px; margin-top: -18px; } }
@media (prefers-reduced-motion: reduce) { .sl-slide, .sl-slide.on > img, .sl-slide.on .sl-cap > * { animation: none !important; transition: none !important; } .sl-cap > * { opacity: 1; transform: none; } }

/* location chip + popover */
.locwrap { position: relative; margin-left: auto; margin-right: 6px; }
.locwrap .areachip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 14px; background: var(--p-soft, #FFF0E6); color: var(--p, #E8590C); border: 1.5px solid transparent; cursor: pointer; font: inherit; text-align: left; transition: border-color .2s, transform .2s; max-width: 250px; }
.locwrap .areachip:hover { border-color: var(--p, #E8590C); transform: translateY(-1px); }
.locwrap .pinI { width: 28px; height: 28px; border-radius: 50%; background: var(--p, #E8590C); color: #fff; display: grid; place-items: center; flex: none; }
.locwrap .pinI svg { width: 15px; height: 15px; }
.locwrap .lc2 { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; } .locwrap .lc2 small { font-size: .66rem; font-weight: 700; opacity: .75; } .locwrap .lc2 b { font-size: .84rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.locwrap .chev { transform: rotate(90deg); display: grid; transition: transform .2s; } .locwrap [aria-expanded="true"] .chev { transform: rotate(-90deg); }
.locwrap .areachip.none .pinI { animation: pulseRing 2s infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(232,89,12,.5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(232,89,12,0); } }
.locpop { position: absolute; top: calc(100% + 10px); right: 0; width: 310px; background: #fff; color: #17122B; border-radius: 20px; padding: 14px; box-shadow: 0 24px 60px -14px rgba(20,10,50,.4), 0 0 0 1px rgba(20,10,50,.08); z-index: 60; transform-origin: top right; animation: popIn .22s var(--ease, ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.96); } }
.locpop .lp-h { font-weight: 900; padding: 4px 6px 10px; }
.locpop .lp-me { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 14px; padding: 11px 14px; background: var(--p, #E8590C); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.locpop .lp-me.busy { opacity: .7; } .locpop .lp-me .ico { display: grid; }
.locpop .lp-list { display: grid; gap: 4px; margin: 10px 0 6px; }
.locpop .lp-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; color: inherit; text-decoration: none; font-weight: 700; font-size: .9rem; } .locpop .lp-list a:hover, .locpop .lp-list a.on { background: #F5F2FB; }
.locpop .lp-list i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; } .locpop .lp-list small { display: block; font-weight: 600; color: #6E6788; font-size: .74rem; }
.locpop .lp-all { display: block; text-align: center; padding: 8px; font-weight: 700; font-size: .84rem; color: var(--p, #E8590C); text-decoration: none; }
@media (max-width: 760px) { .locwrap { margin-left: 0; } .locwrap .lc2 small { display: none; } .locwrap .areachip { max-width: 170px; } .locpop { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; } }
.mk-slider .sl-dots button { background: none !important; border-radius: 0 !important; box-shadow: none !important; width: 34px; height: 22px; min-width: 0; }

/* slider fallbacks */
.sl-slide { background: linear-gradient(135deg, var(--c, #E8590C), #1b1530 75%); }
.mk-slider.empty { background: linear-gradient(135deg, #2a1d57, #4b1d6b 55%, #a8420f); }
.sl-brand { opacity: 1; visibility: visible; transform: none; background: none; display: block; }
.sl-brand .orb { position: absolute; border-radius: 50%; filter: blur(2px); animation: orbF 9s ease-in-out infinite; }
.sl-brand .o1 { width: 220px; height: 220px; right: -40px; top: -30px; background: radial-gradient(circle at 30% 30%, #FFB15C, #E8590C 70%); }
.sl-brand .o2 { width: 140px; height: 140px; right: 120px; bottom: 60px; background: radial-gradient(circle at 30% 30%, #B197FC, #6741D9 70%); animation-delay: -3s; }
.sl-brand .o3 { width: 90px; height: 90px; left: 40%; top: 40px; background: radial-gradient(circle at 30% 30%, #8CE99A, #2F9E44 70%); animation-delay: -6s; }
@keyframes orbF { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-18px, 22px) scale(1.08); } }
.sl-brand .sl-cap > * { animation: slUp .6s var(--ease, ease) forwards; } .sl-brand .sl-go { cursor: pointer; }

/* location card (home hero) */
.loc-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(16px); border-radius: 24px; padding: 18px; display: grid; gap: 14px; max-width: 560px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.5); }
.lc-top { display: flex; align-items: center; gap: 14px; }
.lc-pin { width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, #FF922B, #E8590C); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 10px 22px -8px #E8590C; }
.lc-pin.none { animation: pulseRing 2s infinite; }
.lc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; } .lc-txt small { font-size: .74rem; font-weight: 700; opacity: .7; } .lc-txt b { font-size: 1.15rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lc-sub { font-size: .82rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.lc-change { border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; font: inherit; font-weight: 800; font-size: .86rem; padding: 8px 16px; border-radius: 99px; cursor: pointer; transition: background .2s, transform .2s; } .lc-change:hover { background: #fff; color: #17122B; transform: translateY(-1px); }
.lc-for { font-size: .84rem; background: rgba(255,212,59,.16); color: #FFE066; padding: 7px 12px; border-radius: 12px; display: flex; align-items: center; gap: 8px; }
.lc-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lcard-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; transition: transform .2s, background .2s; white-space: nowrap; } .lcard-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.2); }
.lcard-btn.pri { background: linear-gradient(135deg, #FF922B, #E8590C); border-color: transparent; box-shadow: 0 12px 26px -10px #E8590C; } .lcard-btn .ico { display: grid; } .lcard-btn.busy { opacity: .7; }
.lc-areas { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); }
.lc-a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px 6px 12px; border-radius: 99px; background: rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: .82rem; text-decoration: none; border: 1px solid transparent; transition: background .2s, transform .2s; }
.lc-a i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); } .lc-a em { font-style: normal; font-size: .72rem; background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 99px; }
.lc-a:hover { transform: translateY(-2px); background: rgba(255,255,255,.2); } .lc-a.on { background: #fff; color: #17122B; } .lc-a.on em { background: #F1EDFA; }
@media (max-width: 520px) { .lc-act { grid-template-columns: 1fr; } .lc-change { padding: 8px 13px; } }

/* location picker modal */
body.lm-open { overflow: hidden; }
.lm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 18px; background: rgba(15,10,35,.6); backdrop-filter: blur(6px); animation: fadeIn .25s; }
.lm[hidden] { display: none; }
.lm-box { background: #fff; color: #17122B; border-radius: 26px; width: min(980px, 100%); max-height: calc(100vh - 36px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0,0,0,.6); animation: popIn .4s var(--spring, ease); }
.lm-box header { display: flex; gap: 12px; align-items: flex-start; padding: 20px 24px 14px; } .lm-box header h3 { font-size: 1.3rem; font-weight: 900; margin: 0; } .lm-box header p { margin: 3px 0 0; color: #6E6788; font-size: .9rem; }
.lm-x { margin-left: auto; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #F1EDFA; color: #17122B; cursor: pointer; display: grid; place-items: center; flex: none; } .lm-x:hover { background: #E5DEF5; }
.lm-body { display: grid; grid-template-columns: 380px 1fr; gap: 0; min-height: 0; flex: 1; overflow: hidden; }
.lm-form { padding: 6px 24px 22px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.lm-map { min-height: 440px; height: 100%; border-radius: 0; }
.lm-detect { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #FF922B, #E8590C); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 12px 26px -12px #E8590C; }
.lm-search { position: relative; display: flex; align-items: center; gap: 8px; border: 1.5px solid #E5DEF5; border-radius: 14px; padding: 0 12px; background: #FBFAFE; } .lm-search:focus-within { border-color: #E8590C; background: #fff; }
.lm-search input { flex: 1; border: 0; background: none; padding: 12px 0; font: inherit; outline: none; min-width: 0; color: inherit; }
.lm-search ul { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 18px 44px -12px rgba(20,10,50,.35), 0 0 0 1px #EEE9F8; } .lm-search ul[hidden] { display: none; }
.lm-search li button { width: 100%; text-align: left; border: 0; background: none; padding: 10px; border-radius: 10px; font: inherit; font-size: .88rem; cursor: pointer; color: inherit; } .lm-search li button:hover { background: #F5F2FB; } .lm-search li.none { padding: 10px; color: #6E6788; font-size: .85rem; }
.lm-quick { display: flex; flex-wrap: wrap; gap: 8px; } .lm-quick button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px; border: 1.5px solid #E5DEF5; background: #fff; font: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; color: inherit; } .lm-quick button:hover { border-color: var(--c); background: #FBFAFE; } .lm-quick i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.lm-status { font-size: .86rem; font-weight: 700; padding: 10px 12px; border-radius: 12px; background: #F5F2FB; color: #6E6788; } .lm-status.good { background: #E6F8EC; color: #1F7A3E; } .lm-status.bad { background: #FFF0E6; color: #B4470A; }
.lm-f { display: grid; gap: 5px; } .lm-f span { font-size: .8rem; font-weight: 800; color: #4A4366; } .lm-f input { border: 1.5px solid #E5DEF5; border-radius: 12px; padding: 11px 13px; font: inherit; background: #FBFAFE; color: inherit; outline: none; width: 100%; box-sizing: border-box; } .lm-f input:focus { border-color: #E8590C; background: #fff; }
.lm-sw { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 12px 14px; border: 1.5px dashed #D8CFF0; border-radius: 14px; } .lm-sw input { position: absolute; opacity: 0; } .lm-sw b { font-size: .9rem; }
.lm-sw .tr { width: 40px; height: 24px; border-radius: 99px; background: #D8CFF0; position: relative; flex: none; transition: background .2s; } .lm-sw .tr::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 4px rgba(0,0,0,.2); } .lm-sw input:checked + .tr { background: #E8590C; } .lm-sw input:checked + .tr::after { transform: translateX(16px); } .lm-sw input:focus-visible + .tr { outline: 2px solid #E8590C; outline-offset: 2px; }
.lm-gift { display: grid; gap: 10px; animation: popIn .25s; } .lm-gift[hidden] { display: none; } .lm-note { margin: 0; font-size: .8rem; color: #6E6788; }
.lm-ok { margin-top: auto; padding: 14px; border: 0; border-radius: 14px; background: #17122B; color: #fff; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; transition: transform .2s, background .2s; } .lm-ok:hover:not(:disabled) { transform: translateY(-2px); background: #E8590C; } .lm-ok:disabled { opacity: .35; cursor: not-allowed; }
@media (max-width: 820px) { .lm { padding: 0; align-items: end; } .lm-box { border-radius: 24px 24px 0 0; max-height: 94vh; } .lm-body { grid-template-columns: 1fr; overflow-y: auto; } .lm-map { order: -1; min-height: 240px; height: 240px; } .lm-form { overflow: visible; } }
.mpmap .mapfail { left: 12px; right: auto; top: auto; bottom: 34px; transform: none; max-width: min(340px, 80%); text-align: left; padding: 10px 14px; pointer-events: none; }
.mk-hero .inner > * { min-width: 0; } .loc-card { box-sizing: border-box; width: 100%; }
@media (max-width: 760px) { .locwrap { flex: 1 1 auto; min-width: 0; margin: 0 8px; } .locwrap .areachip { max-width: 100%; width: 100%; } .locwrap .lc2 { min-width: 0; } }
.lc-act { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lcard-btn { white-space: normal; min-width: 0; text-align: center; }
@media (max-width: 520px) { .lc-act { grid-template-columns: minmax(0, 1fr); } .loc-card { padding: 14px; } .lc-txt b { font-size: 1.02rem; } }
.lm-search { flex-wrap: wrap; } .lm-search ul { position: static; flex-basis: 100%; margin: 0 -12px; width: calc(100% + 24px); max-height: 230px; overflow-y: auto; border-radius: 0 0 14px 14px; box-shadow: none; border-top: 1px solid #EEE9F8; padding: 4px; }
.lm-search li button { display: grid; gap: 1px; } .lm-search li button b { font-size: .9rem; } .lm-search li button small { color: #6E6788; font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-search input[type=search] { border: 0 !important; box-shadow: none !important; background: none !important; -webkit-appearance: none; appearance: none; padding: 12px 0 !important; border-radius: 0 !important; } .lm-search input::-webkit-search-cancel-button { display: none; }
.lm-addrline { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 14px; background: #FFF7F0; border: 1.5px solid #FFE0C7; animation: popIn .25s; } .lm-addrline[hidden] { display: none; }
.lm-addrline .pi { width: 30px; height: 30px; border-radius: 50%; background: #E8590C; color: #fff; display: grid; place-items: center; flex: none; } .lm-addrline small { display: block; font-size: .72rem; font-weight: 800; color: #B4470A; } .lm-addrline b { font-size: .9rem; line-height: 1.35; display: block; word-break: break-word; }
.lm-addrline.busy b { color: #8A8299; font-weight: 600; animation: lmPulse 1.1s infinite; } @keyframes lmPulse { 50% { opacity: .45; } }
.footer .staff-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; } .footer .staff-links span { opacity: .6; font-weight: 700; } .footer .staff-links a { opacity: .85; text-decoration: none; } .footer .staff-links a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 760px) {
  .topbar .wrap { flex-wrap: wrap; row-gap: 6px; }
  .topbar .brand { flex: 1 1 0; min-width: 0; overflow: hidden; }
  .topbar .locwrap { order: 9; flex: 1 1 100%; margin: 0 0 2px; }
  .topbar .locwrap .areachip { width: 100%; max-width: none; padding: 5px 12px 5px 6px; }
  .topbar .locwrap .lc2 { flex: 1; } .topbar .locwrap .lc2 small { display: block; }
  .topbar .locwrap .chev { margin-left: auto; }
}
@media (max-width: 560px) { .brand.brand-wide-name .bname { display: none; } .brand.brand-wide-name img { max-width: min(220px, 52vw); } }

/* mobile: location becomes a compact pin button in the header; hero card slims down */
.lcard-btn .sh { display: none; }
@media (max-width: 760px) {
  .topbar .wrap { flex-wrap: nowrap; }
  .topbar .locwrap { order: 0; flex: none; margin: 0; }
  .topbar .locwrap .areachip { width: 44px; height: 44px; max-width: none; padding: 0; border-radius: 50%; justify-content: center; background: var(--p-soft, #FFF0E6); border: 1.5px solid var(--line, #eee); position: relative; }
  .topbar .locwrap .lc2, .topbar .locwrap .chev { display: none; }
  .topbar .locwrap .pinI { width: 30px; height: 30px; }
  .topbar .locwrap .areachip:not(.none) .pinI::after { content: ""; position: absolute; right: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #2F9E44; border: 2px solid #fff; }
  .topbar .brand { flex: 1 1 0; min-width: 0; }
  .loc-card { padding: 14px; gap: 12px; border-radius: 20px; }
  .lc-pin { width: 40px; height: 40px; border-radius: 13px; } .lc-pin svg { width: 18px; height: 18px; }
  .lc-act { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lcard-btn { padding: 11px 8px; font-size: .86rem; } .lcard-btn .lg { display: none; } .lcard-btn .sh { display: inline; }
  .lc-areas { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 12px 14px 2px; scrollbar-width: none; } .lc-areas::-webkit-scrollbar { display: none; } .lc-a { flex: none; }
}
@media (max-width: 520px) { .lc-act { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Checkout: delivery pin map */
.co-map { margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); overflow: hidden; }
.co-map[hidden] { display: none; }
.co-map-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; }
.co-map-head b { display: inline-flex; align-items: center; gap: 6px; }
.co-map-box { height: 280px; position: relative; background: #e9e4dc; touch-action: pan-y; }
.co-map .small { margin: 0; padding: 8px 12px 10px; }
@media (max-width: 560px) { .co-map-box { height: 240px; } }

/* Store location picker: search results */
.mres { position: absolute; left: 0; top: 100%; z-index: 30; margin: 4px 0 0; padding: 6px; list-style: none; width: min(420px, 100%); max-height: 260px; overflow: auto; background: var(--paper, #fff); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.mres[hidden] { display: none; }
.mres li.none { padding: 10px 12px; color: var(--muted, #6b625b); font-size: .9rem; }
.mres button { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 9px 12px; cursor: pointer; font: inherit; color: inherit; }
.mres button:hover, .mres button:focus-visible { background: var(--surface, #f6f0e8); }
.mres button b { display: block; } .mres button small { color: var(--muted, #6b625b); }

/* ── Auth scenes (super admin + rider) ───── */
.auth-mob { display: none; align-items: center; gap: 10px; margin-bottom: 18px; } .auth-mob .logo { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; display: grid; place-items: center; font-weight: 900; }
.auth-art .grid-bg { position: absolute; inset: -40px; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); animation: gridmove 14s linear infinite; }
@keyframes gridmove { to { background-position: 44px 44px, 44px 44px; } }
.scene { position: relative; margin-top: 28px; max-width: 440px; min-height: 230px; }
.sc-super .sk { position: absolute; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); box-shadow: 0 18px 36px -14px rgba(0,0,0,.55); min-width: 150px; animation: floaty2 5s ease-in-out infinite; }
.sc-super .sk small { display: block; font-size: .72rem; opacity: .75; font-weight: 600; } .sc-super .sk b { font-size: 2rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; display: block; }
.sc-super .k1 { left: 0; top: 0; } .sc-super .k2 { right: 0; top: 54px; animation-delay: -1.7s; } .sc-super .k3 { left: 40px; top: 138px; animation-delay: -3.2s; }
.sc-super .sp { display: block; height: 22px; margin-top: 6px; background: linear-gradient(90deg, transparent, var(--p2)); clip-path: polygon(0 90%, 14% 60%, 28% 75%, 44% 35%, 60% 55%, 78% 15%, 100% 30%, 100% 100%, 0 100%); animation: sparkgrow 2.4s ease-in-out infinite alternate; }
@keyframes sparkgrow { from { transform: scaleY(.55); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
.sc-super .pulse { position: absolute; top: 16px; right: 16px; width: 10px; height: 10px; border-radius: 50%; background: #51CF66; box-shadow: 0 0 0 0 rgba(81,207,102,.7); animation: ping 1.8s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 14px rgba(81,207,102,0); } }
.sc-super .orbit { position: absolute; right: 20px; bottom: -10px; width: 120px; height: 120px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.3); animation: spin 14s linear infinite; }
.sc-super .orbit span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--p2); top: -6px; left: calc(50% - 6px); box-shadow: 0 0 16px var(--p2); } .sc-super .orbit span:nth-child(2) { top: auto; bottom: -6px; background: #fff; } .sc-super .orbit span:nth-child(3) { top: calc(50% - 6px); left: -6px; background: #51CF66; }
@keyframes spin { to { transform: rotate(360deg); } }
.sc-driver svg { width: 100%; height: auto; overflow: visible; } .sc-driver .trail { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 5s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sc-driver .eta { position: absolute; left: 0; bottom: 0; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); animation: floaty2 4.5s ease-in-out infinite; } .sc-driver .eta small { display: block; opacity: .75; font-size: .72rem; } .sc-driver .eta b { font-size: 1.05rem; }
@media (max-width: 900px) { .auth-mob { display: flex; } }
@media (prefers-reduced-motion: reduce) { .auth-art .grid-bg, .scene *, .scene { animation: none !important; } .sc-driver .trail { stroke-dashoffset: 0; } }
.co-legend { display: flex; gap: 14px; margin: 6px 0 0; } .co-legend i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-style: normal; font-size: .62rem; font-weight: 800; margin-right: 4px; }
.totals > div.dist-box { display: block; margin: 2px 0 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--p, #E8590C) 7%, var(--card, #fff)); border: 1px solid color-mix(in srgb, var(--p, #E8590C) 18%, transparent); font-size: .86rem; animation: dbIn .35s ease; }
.totals > div.dist-box[hidden] { display: none; }
.dist-box .db-head { display: flex; align-items: center; gap: 8px; font-weight: 700; } .dist-box .db-head svg { color: var(--p, #E8590C); flex: none; } .dist-box .db-head span { flex: 1; } .dist-box .db-head b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.dist-box ul { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px dashed color-mix(in srgb, var(--p, #E8590C) 30%, transparent); display: grid; gap: 6px; }
.dist-box li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--muted, #666); } .dist-box li b { color: var(--text, #222); font-weight: 600; white-space: nowrap; }
.dist-box li.tot { margin-top: 2px; padding-top: 7px; border-top: 1px solid color-mix(in srgb, var(--p, #E8590C) 22%, transparent); color: var(--text, #222); font-weight: 800; } .dist-box li.tot b { font-weight: 800; color: var(--p, #E8590C); font-size: .98rem; }
.dist-box .db-note { margin: 0; display: flex; gap: 8px; align-items: flex-start; color: var(--muted, #666); line-height: 1.4; } .dist-box .db-note svg { flex: none; margin-top: 2px; color: var(--p, #E8590C); }
@keyframes dbIn { from { opacity: 0; transform: translateY(-4px); } }
.img-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--p-soft); border: 1px dashed color-mix(in srgb, var(--p) 30%, transparent); font-size: .82rem; } .img-spec > div { display: grid; gap: 2px; } .img-spec b { color: var(--p-ink, var(--p)); } .img-spec span { font-weight: 700; } .img-spec small { color: var(--muted); } .img-spec p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .78rem; }
@media (max-width: 560px) { .img-spec { grid-template-columns: 1fr; } }

/* Business types on the storefront */
.tabs-types{display:flex;gap:8px;overflow-x:auto;padding:2px 0 14px;margin-bottom:4px;scrollbar-width:none}.tabs-types::-webkit-scrollbar{display:none}
.ttab{flex:none;display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1.5px solid var(--line,#e5e0d8);border-radius:999px;background:var(--card,#fff);color:inherit;text-decoration:none;font-weight:700;transition:border-color .2s,background .2s,color .2s}.ttab small{font-weight:700;opacity:.6}.ttab:hover{border-color:var(--brand,#E8590C)}.ttab.on{background:var(--brand,#E8590C);border-color:var(--brand,#E8590C);color:#fff}
.tgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.tt{display:flex;flex-direction:column;gap:4px;padding:18px;border:1px solid var(--line,#e5e0d8);border-radius:18px;background:var(--card,#fff);color:inherit;text-decoration:none;transition:transform .25s,box-shadow .25s,border-color .25s}.tt:hover{transform:translateY(-3px);border-color:var(--brand,#E8590C);box-shadow:0 12px 28px -14px rgba(0,0,0,.25)}.tt .ti{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:color-mix(in srgb,var(--brand,#E8590C) 14%,transparent);color:var(--brand,#E8590C);margin-bottom:6px}.tt small{color:var(--muted,#777)}
.vtype{z-index:2;position:absolute;right:10px;top:10px;display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.92);color:#222;font-size:.74rem;font-weight:700;backdrop-filter:blur(6px)}
.dish .off-pill { display: inline-block; max-width: 100%; padding: 6px 12px; border-radius: 999px; background: #FDECEA; border: 1px solid #F5C2BD; box-shadow: 0 4px 12px rgba(180,35,24,.15); }

.vlinks{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}.vlinks a,.vlinks span{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;font-size:.85rem;color:inherit;text-decoration:none;background:var(--surface,#fff)}.vlinks a:hover{border-color:var(--c,var(--accent))}
.vgal{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}.vgal img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;display:block}.vgal .gi{display:grid;gap:4px;font-size:.78rem}.vgal.pub{margin:16px 0 0;grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
.vhrs{margin:12px 0 0;font-size:.88rem}.vhrs summary{cursor:pointer;display:inline-flex;gap:6px;align-items:center;padding:6px 12px;border:1px solid var(--line);border-radius:999px}.vhrs table{margin:8px 0 0;border-collapse:collapse}.vhrs td{padding:4px 18px 4px 0}.vhrs tr.on{font-weight:700}
.cta-band.rider{margin-top:16px;background:linear-gradient(120deg,#0B3D2A,#0A1F17)}

/* Home hero headline: Tamil-friendly line height, brand wordmark between the two lines */
.mk-hero h1.hero-ti{display:grid;gap:10px;margin-top:16px;font-size:clamp(1.65rem,3.4vw,2.7rem);line-height:1.32;letter-spacing:0;font-weight:800;text-wrap:balance}
.hero-ti .ht-a{display:block;max-width:20ch;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.hero-ti .ht-brand{display:flex;align-items:center;gap:12px;font-size:clamp(2.1rem,4.4vw,3.4rem);line-height:1.1;letter-spacing:-.03em;font-weight:900}
.hero-ti .ht-brand img{width:clamp(52px,6vw,72px);height:auto;aspect-ratio:1;box-sizing:border-box;padding:5px;background:#fff;border-radius:50%;box-shadow:0 0 0 4px rgba(255,255,255,.22),0 10px 28px -6px rgba(0,0,0,.5);flex:none}
.hero-ti .ht-brand::after{content:"";flex:1;min-width:24px;max-width:140px;height:2px;border-radius:2px;background:linear-gradient(90deg,rgba(255,216,168,.85),transparent)}
.mk-hero p.hero-sub{font-size:clamp(1.05rem,1.8vw,1.3rem);line-height:1.6;font-weight:500;opacity:.92;max-width:44ch;margin:14px 0 26px;text-wrap:balance}
@media (max-width:560px){.hero-ti .ht-a{max-width:none}}
@media (max-width:1180px){.mk-hero .inner{grid-template-columns:minmax(0,1fr)}.loc-card{max-width:100%}.lc-act{flex-wrap:wrap}.lc-areas{flex-wrap:nowrap;overflow-x:auto}}
.loc-card > * { min-width: 0; } .lc-areas { max-width: 100%; }

/* Customer delivery-pin map: a preview you tap to open a full-screen chooser */
.co-map-wrap { position: relative; }
.co-map-open { position: absolute; inset: 0; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; -webkit-tap-highlight-color: transparent; }
.co-map-open span { margin-bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--ink, #1D130C); color: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); transition: transform .2s; }
.co-map-open:hover span, .co-map-open:focus-visible span { transform: translateY(-2px); }
.co-map-open:focus-visible { outline: 3px solid var(--p, #E8590C); outline-offset: -3px; }
.co-map-box .zoom, .co-map-box .lsw { display: none; }
.co-lock, .co-lock body { overflow: hidden; }
.co-full { position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column; background: var(--paper, #fff); height: 100vh; height: 100dvh; }
.co-full[hidden] { display: none; }
.co-full-top { display: flex; align-items: center; gap: 12px; padding: 12px 14px; padding-top: max(12px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line, #e5e5e5); }
.co-full-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line, #ddd); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.co-full-search { display: flex; gap: 8px; padding: 10px 14px; margin: 0; }
.co-full-search input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line, #ddd); border-radius: 12px; font: inherit; }
.co-full-map { position: relative; flex: 1; min-height: 0; }
.co-full-host.mpmap, .co-full-host { position: absolute; inset: 0; height: 100%; border: 0; border-radius: 0; }
.co-full-pin { position: absolute; left: 50%; top: 50%; width: 36px; height: 48px; margin: -48px 0 0 -18px; z-index: 4; pointer-events: none; filter: drop-shadow(0 6px 6px rgba(0,0,0,.35));
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 48'><path d='M18 0C8 0 0 8 0 18c0 13 18 30 18 30s18-17 18-30C36 8 28 0 18 0z' fill='%23E8590C'/><circle cx='18' cy='18' r='7' fill='white'/></svg>") center / contain no-repeat; }
.co-full-tip { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); margin: 0; z-index: 4; max-width: calc(100% - 24px); padding: 7px 14px; border-radius: 999px; background: rgba(29,19,12,.88); color: #fff; font-size: .8rem; font-weight: 700; text-align: center; pointer-events: none; }
.co-full-me { position: absolute; right: 12px; bottom: 14px; z-index: 4; padding: 10px 14px; border-radius: 999px; border: 0; background: #fff; font: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(0,0,0,.4); }
.co-full-sheet { padding: 12px 14px; padding-bottom: max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line, #e5e5e5); display: grid; gap: 10px; background: var(--paper, #fff); }
.co-full-addr { margin: 0; min-height: 1.3em; font-weight: 600; font-size: .92rem; }
.co-full-ok { padding: 14px; font-size: 1rem; }
@media (min-width: 900px) { .co-full { inset: 5vh 8vw; height: auto; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); } }
/* Mouse devices: the checkout mini-map can be dragged, zoomed and clicked directly; only the pill opens the full-screen chooser. Touch keeps the whole-map tap. */
@media (hover: hover) and (pointer: fine) {
  .co-map-open { pointer-events: none; }
  .co-map-open span { pointer-events: auto; }
  .co-map-box .zoom { display: grid; }
  .co-map-box { touch-action: none; }
}
/* Install help sheet (shared with the shop CSS, restated here because the portal pages only load this file). */
.ios-sheet { position: fixed; inset: 0; z-index: 120; background: rgba(8,14,28,.55); display: flex; align-items: flex-end; justify-content: center; }
.ios-sheet[hidden] { display: none; }
.ios-card { position: relative; background: var(--card); color: var(--text); width: min(100%, 520px); border-radius: 22px 22px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); box-shadow: var(--sh); }
@media (min-width: 640px) { .ios-sheet { align-items: center; } .ios-card { border-radius: 22px; } }
.ios-card h3 { margin: 0 34px 12px 0; }
.ios-card ol { padding-left: 20px; margin: 0 0 16px; display: grid; gap: 8px; line-height: 1.45; }
.ios-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--line2); color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* Live tracking: the rider seen from above, centred on the reported position and turned to face the way it is travelling */
.mpmap .mk .m:has(.trk-rider) { transform: translate(-50%, -50%); z-index: 5; pointer-events: none; }
.trk-rider { position: relative; width: 40px; height: 60px; display: grid; place-items: center; }
.trk-rider::before { content: ""; position: absolute; inset: 8px -8px; border-radius: 50%; background: rgba(72,170,67,.3); animation: trkPulse 2s ease-out infinite; z-index: -1; }
.trk-flip { display: grid; transition: transform .6s ease; transform-origin: 50% 50%; }
.trk-bob { animation: trkBob .45s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.trk-tread { animation: trkTread .35s linear infinite; }
.trk-lines { animation: trkWind .5s linear infinite; }
@keyframes trkPulse { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@keyframes trkBob { from { transform: scale(1); } to { transform: scale(1.025); } }
@keyframes trkTread { to { stroke-dashoffset: -5; } }
@keyframes trkWind { from { transform: translateY(-3px); opacity: 0; } 40% { opacity: 1; } to { transform: translateY(5px); opacity: 0; } }
/* The rider's motion is information (it shows the order is moving), so it keeps running even where the phone asks to reduce motion */
@media (prefers-reduced-motion: reduce) {
  .trk-bob { animation: trkBob .45s ease-in-out infinite alternate !important; }
  .trk-tread { animation: trkTread .35s linear infinite !important; }
  .trk-lines { animation: trkWind .6s linear infinite !important; }
  .trk-rider::before { animation: trkPulse 2.2s ease-out infinite !important; }
}
