/* Shared by the customer app and the owner dashboard. */
:root {
  --bg: #FFF6EA;
  --surface: #FFFFFF;
  --ink: #2B1A12;
  --muted: #7A6558;
  --line: #F0DFCC;
  --accent: #D9480F;
  --accent-2: #F06A12;
  --accent-ink: #FFFFFF;
  --turmeric: #FFB627;
  --turmeric-ink: #3A1F05;
  --good: #2B8A3E;
  --warn: #A65A00;
  --danger: #C92A2A;
  --tile-s: 70%;
  --tile-l: 90%;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 252, 247, 0.84);
  --glass-line: rgba(255, 255, 255, 0.75);
  --dock-bg: rgba(255, 255, 255, 0.7);
  --blob-1: rgba(255, 182, 39, 0.34);
  --blob-2: rgba(240, 106, 18, 0.20);
  --blob-3: rgba(112, 190, 110, 0.16);
  --shadow: 0 10px 30px rgba(120, 60, 20, 0.16);
  --pad-b: 110px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17110E; --surface: #261D18; --ink: #FBF1E7; --muted: #BFA99A; --line: rgba(255, 235, 215, 0.11);
    --accent: #FF8A3D; --accent-2: #FFA45C; --accent-ink: #2B1204; --turmeric: #FFC247; --turmeric-ink: #3A1F05;
    --good: #7ADB8B; --warn: #FFC15A; --danger: #FF8F85; --tile-s: 45%; --tile-l: 27%;
    --glass: rgba(255, 240, 225, 0.07); --glass-strong: rgba(36, 27, 22, 0.82); --glass-line: rgba(255, 235, 215, 0.12);
    --dock-bg: rgba(40, 30, 24, 0.66);
    --blob-1: rgba(255, 170, 60, 0.16); --blob-2: rgba(255, 110, 40, 0.14); --blob-3: rgba(90, 190, 120, 0.09);
    --shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17110E; --surface: #261D18; --ink: #FBF1E7; --muted: #BFA99A; --line: rgba(255, 235, 215, 0.11);
  --accent: #FF8A3D; --accent-2: #FFA45C; --accent-ink: #2B1204; --turmeric: #FFC247; --turmeric-ink: #3A1F05;
  --good: #7ADB8B; --warn: #FFC15A; --danger: #FF8F85; --tile-s: 45%; --tile-l: 27%;
  --glass: rgba(255, 240, 225, 0.07); --glass-strong: rgba(36, 27, 22, 0.82); --glass-line: rgba(255, 235, 215, 0.12);
  --dock-bg: rgba(40, 30, 24, 0.66);
  --blob-1: rgba(255, 170, 60, 0.16); --blob-2: rgba(255, 110, 40, 0.14); --blob-3: rgba(90, 190, 120, 0.09);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-top: calc(20px + env(safe-area-inset-top, 0px));
  padding-bottom: var(--pad-b);
  -webkit-tap-highlight-color: transparent;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 560px; margin: 0 auto; }
.wrap.wide { max-width: 900px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--font-display); text-wrap: balance; letter-spacing: -0.01em; }
[hidden] { display: none !important; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-r { display: flex; align-items: center; gap: 8px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.datepill { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.hello { color: var(--muted); margin-top: 2px; }
.themebtn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: var(--surface); }
.themebtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notice { margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-size: 14px; background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.notice.closed { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }

/* Banners */
.banners { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 16px; }
.banners::-webkit-scrollbar { display: none; }
.banner { position: relative; flex: 0 0 100%; scroll-snap-align: start; border-radius: 22px; padding: 18px 20px; min-height: 156px; background: var(--b-bg); color: var(--b-fg); overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.banner .kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.banner h2 { font-size: 26px; line-height: 1.1; font-weight: 800; max-width: 11em; }
.banner p { font-size: 14px; opacity: 0.85; max-width: 16em; }
.banner .art { position: absolute; right: 14px; bottom: 4px; font-size: 68px; line-height: 1; pointer-events: none; }
.banner .use { margin-top: auto; background: var(--b-fg); color: var(--b-bg); font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 999px; position: relative; }
.b1 { --b-bg: var(--turmeric); --b-fg: var(--turmeric-ink); }
.b2 { --b-bg: var(--accent); --b-fg: var(--accent-ink); }
.b3 { --b-bg: var(--ink); --b-fg: var(--bg); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots span { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width 0.2s, background 0.2s; }
.dots span.on { width: 18px; background: var(--accent); }

/* Sections */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 26px 0 12px; }
.sec-head h2 { font-size: 21px; font-weight: 800; }
.sec-sub { font-size: 13px; color: var(--muted); text-align: right; }
.title { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.empty-s { color: var(--muted); padding: 18px 14px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; }

.tile { display: grid; place-items: center; background: hsl(var(--h) var(--tile-s) var(--tile-l)); border-radius: 14px; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: contain; padding: 4px; border-radius: inherit; display: block; }

/* Daily menu rows */
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; }
.row .tile { width: 56px; height: 56px; font-size: 28px; }
.row .name { font-weight: 600; }
.row .desc { font-size: 13px; color: var(--muted); }
.row .meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.chip { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; color: var(--muted); background: color-mix(in srgb, var(--muted) 14%, transparent); }
.chip.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); }

/* Snack grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.snack { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.snack .tile { aspect-ratio: 4 / 3; font-size: 40px; }
.snack .name { font-weight: 600; margin-top: 2px; }
.snack .desc { font-size: 12px; color: var(--muted); }
.snack .foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 4px; }
.foot-note { margin-top: 26px; font-size: 13px; color: var(--muted); text-align: center; }

/* Steppers */
.add { height: 34px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 600; background: transparent; }
.add:active { background: var(--accent); color: var(--accent-ink); }
.add:disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.step { display: inline-flex; align-items: center; height: 34px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.step button { width: 34px; height: 34px; font-size: 18px; line-height: 1; color: inherit; }
.step button:disabled { opacity: 0.4; cursor: default; }
.step span { min-width: 18px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Cart bar */
.cartbar { position: fixed; left: 50%; transform: translateX(-50%); width: min(calc(100% - 32px), 528px); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); text-align: left; }
.cartbar small { display: block; font-size: 12px; opacity: 0.85; }
.cartbar strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.cartbar .go { font-weight: 600; }

/* Dock */
.dock { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 20; display: flex; gap: 4px; padding: 6px; border-radius: 28px; background: var(--dock-bg); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dock button { position: relative; width: 80px; padding: 8px 0 7px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); transition: background 0.2s, color 0.2s; }
.dock button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dock button[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.badge { position: absolute; top: 5px; right: 22px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--turmeric); color: var(--turmeric-ink); font-size: 10px; line-height: 16px; text-align: center; }

/* Orders */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 10px; }
.card.live { border-color: var(--accent); }
.card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card .oid { font-weight: 700; }
.card .when { font-size: 12px; color: var(--muted); }
.status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.status.done { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.status.bad { background: color-mix(in srgb, var(--muted) 16%, transparent); color: var(--muted); }
.card .lines { margin-top: 8px; color: var(--muted); font-size: 14px; }
.card .who2 { margin-top: 8px; font-size: 14px; }
.prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; }
.prog i { height: 5px; border-radius: 9px; background: var(--line); }
.prog i.on { background: var(--accent); }
.prog-label { font-size: 13px; margin-top: 6px; font-weight: 500; }
.card .foot2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.link { color: var(--accent); font-weight: 600; font-size: 14px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.sub-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }

/* Profile */
.who { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.who .n { font-weight: 700; font-size: 18px; }
.who .s { color: var(--muted); font-size: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .lab { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 16px; resize: vertical; }
.field textarea { min-height: 84px; }
.btn { width: 100%; height: 50px; border-radius: 16px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 16px; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn.sm { width: auto; height: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn.ghost.warn { color: var(--danger); border-color: var(--danger); }
.info { display: grid; gap: 8px; margin-top: 18px; }
.info div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.info span:first-child { color: var(--muted); }
.note { font-size: 12px; color: var(--muted); margin-bottom: 14px; }

/* Sheets (cart and editor) */
.sheet { position: fixed; inset: 0; z-index: 40; }
.backdrop { position: absolute; inset: 0; background: rgba(10, 15, 12, 0.5); }
.panel { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 560px); max-height: 90dvh; overflow-y: auto; background: var(--surface); border-radius: 26px 26px 0 0; padding: 18px max(18px, env(safe-area-inset-left, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)); animation: up 0.25s ease-out; }
@keyframes up { from { transform: translate(-50%, 28px); opacity: 0; } }
.panel .ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.panel .ph h2 { font-size: 22px; font-weight: 800; }
.x { width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 14%, transparent); font-size: 20px; line-height: 1; }
.crow { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.crow .nm { font-weight: 600; }
.crow .lp { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.codebox { margin-top: 14px; }
.coderow { display: flex; gap: 8px; }
.coderow input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 0 14px; height: 44px; font-size: 16px; text-transform: uppercase; }
.coderow button { padding: 0 16px; height: 44px; border-radius: 12px; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 600; }
.applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); font-weight: 600; }
.hint { font-size: 13px; margin-top: 6px; color: var(--muted); }
.hint.err { color: var(--danger); }
.sum { margin: 14px 0; }
.line { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.line.disc { color: var(--good); }
.line.total { color: var(--ink); font-weight: 700; font-size: 17px; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 6px; }
.deliver { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); margin-bottom: 12px; font-size: 14px; }
.deliver b { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.place-err { color: var(--danger); font-size: 13px; margin-bottom: 8px; }

/* Toast */
.toast { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -10px); max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 60; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Dashboard */
.a-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.a-top .brand { font-size: 24px; }
.a-top .sub { color: var(--muted); font-size: 13px; }
.a-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px 0 18px; padding-bottom: 2px; }
.a-tabs::-webkit-scrollbar { display: none; }
.a-tabs button, .chips button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--muted); }
.a-tabs button[aria-current="page"], .chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.a-tabs .n { display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 5px; border-radius: 99px; background: var(--turmeric); color: var(--turmeric-ink); font-size: 11px; line-height: 18px; text-align: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chips button { padding: 6px 12px; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.stat .k { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.a-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 10px; }
.a-head h2 { font-size: 19px; font-weight: 800; }
.a-head:first-child { margin-top: 0; }
.panelrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-top: 10px; }
.panelrow .t { font-weight: 600; }
.panelrow .d { font-size: 13px; color: var(--muted); }
.ogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.ogrid .card { margin: 0; }
.arow { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 8px; }
.arow.off .ab, .arow.off .tile { opacity: 0.5; }
.arow .tile { width: 48px; height: 48px; font-size: 24px; }
.arow .ab { min-width: 0; }
.arow .name { font-weight: 600; overflow-wrap: anywhere; }
.arow .desc { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.ar { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (min-width: 560px) {
  .arow { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .ar { grid-column: auto; justify-content: flex-end; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.mini { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 30px; }
.mini button { width: 30px; height: 30px; font-size: 16px; }
.mini span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; }
.sw { position: relative; flex: none; width: 46px; height: 28px; border-radius: 99px; background: var(--line); transition: background 0.2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.2s; }
.sw[aria-checked="true"] { background: var(--good); }
.sw[aria-checked="true"]::after { transform: translateX(18px); }
.swatch { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--b-bg); color: var(--b-fg); align-items: center; justify-content: center; font-size: 24px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.styles { display: flex; gap: 10px; margin-bottom: 14px; }
.styles button { width: 56px; height: 40px; border-radius: 12px; background: var(--b-bg); border: 3px solid transparent; }
.styles button[aria-pressed="true"] { border-color: var(--ink); }
.photo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.photo .tile { width: 72px; height: 72px; font-size: 34px; }
.e-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.check { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }


/* ---------- Additions for the real app ---------- */
body { min-height: 100vh; }
.vd { width: 14px; height: 14px; border: 1.5px solid var(--good); border-radius: 3px; display: inline-grid; place-items: center; flex: none; }
.vd::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.vd.nv { border-color: var(--danger); }
.vd.nv::after { background: var(--danger); }
.name-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.name-line .name { min-width: 0; overflow-wrap: anywhere; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--warn); }
.tools { display: flex; gap: 8px; margin-top: 16px; align-items: center; }
.search { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 0 14px; height: 44px; font-size: 16px; }
.pill { height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pill[aria-pressed="true"] { border-color: var(--good); color: var(--good); }
.banners + .dots { margin-bottom: 0; }
.opts { display: grid; gap: 8px; margin-bottom: 12px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; text-align: left; width: 100%; background: var(--surface); }
.opt[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.opt .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.opt[aria-checked="true"] .dot { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.opt .t { font-weight: 600; }
.opt .d { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.opt > div { min-width: 0; }
.addr-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 8px; }
.addr-row .t { font-weight: 600; }
.addr-row .d { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.addr-row > div:first-child { min-width: 0; }
.addr-row .acts { flex: none; }
.sec-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; display: block; }
.textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 10px 14px; font-size: 16px; min-height: 56px; resize: vertical; }
.timeline { display: grid; gap: 0; margin-top: 12px; }
.tl { display: grid; grid-template-columns: 20px 1fr; gap: 10px; position: relative; padding-bottom: 12px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: -2px; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl .pt { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.tl.done .pt { background: var(--accent); border-color: var(--accent); }
.tl.now .pt { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.tl.done::before { background: var(--accent); }
.tl .tt { font-size: 14px; font-weight: 600; }
.tl .ts { font-size: 12px; color: var(--muted); }
.tl.todo .tt { color: var(--muted); font-weight: 500; }
.eta { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--turmeric) 24%, transparent); font-weight: 600; font-size: 14px; }
.payinfo { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--bg); font-size: 14px; display: grid; gap: 8px; }
.payinfo code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.rate { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.stars { display: flex; gap: 4px; margin: 6px 0 8px; }
.stars button { font-size: 28px; line-height: 1; color: var(--line); }
.stars button[aria-pressed="true"] { color: var(--turmeric); }
.stars-static { color: var(--turmeric); letter-spacing: 2px; }
.cancel-note { margin-top: 8px; font-size: 13px; color: var(--danger); }
.hint.ok { color: var(--good); }
.login-sub { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.linkrow { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; align-items: center; }
.loginbox { max-width: 380px; margin: 12vh auto 0; }
.loginbox h1 { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
a.link { text-decoration: none; }
.btn-row { display: flex; gap: 8px; margin-top: 10px; }
.btn-row .btn { flex: 1; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.chart .bar { fill: var(--accent); }
.chart .bar.today { fill: var(--turmeric); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.card-plain { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-top: 10px; }
.toprow { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.toprow:last-child { border-bottom: 0; }
.badge-paid { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.badge-unpaid { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.snd { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
textarea.big { min-height: 96px; }
#print-area { display: none; }
@media print {
  body * { visibility: hidden; }
  #print-area, #print-area * { visibility: visible; }
  #print-area { display: block; position: absolute; left: 0; top: 0; width: 72mm; color: #000; background: #fff; font: 12px/1.35 monospace; }
  #print-area h3 { margin: 0 0 4px; font-size: 15px; }
  #print-area .l { display: flex; justify-content: space-between; gap: 8px; }
  #print-area hr { border: 0; border-top: 1px dashed #000; margin: 6px 0; }
}


/* ---------- Theme v2: warm orange, glass, bouncy motion ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 320px at 8% 4%, var(--blob-1), transparent 70%),
    radial-gradient(380px 360px at 96% 28%, var(--blob-2), transparent 70%),
    radial-gradient(420px 360px at 20% 96%, var(--blob-3), transparent 70%);
}
.row, .snack, .card, .card-plain, .stat, .panelrow, .arow, .addr-row, .opt, .search, .pill, .themebtn, .datepill, .a-tabs button, .chips button {
  background: var(--glass);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(10px) saturate(1.25); backdrop-filter: blur(10px) saturate(1.25);
}
.row, .snack, .card, .card-plain, .stat, .panelrow, .arow { box-shadow: 0 4px 14px rgba(120, 60, 20, 0.06); }
:root[data-theme="dark"] .row, :root[data-theme="dark"] .snack, :root[data-theme="dark"] .card, :root[data-theme="dark"] .card-plain,
:root[data-theme="dark"] .stat, :root[data-theme="dark"] .panelrow, :root[data-theme="dark"] .arow { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
.a-tabs button[aria-current="page"], .chips button[aria-pressed="true"] { background: var(--ink); }
.opt[aria-checked="true"] { background: color-mix(in srgb, var(--accent) 10%, var(--glass)); }
.btn, .cartbar, .dock button[aria-current="page"], .step, .avatar { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.btn.ghost { background: transparent; }
.btn { box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn.ghost, .btn:disabled { box-shadow: none; }
.cartbar { background: linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 97%, transparent), color-mix(in srgb, var(--accent) 97%, transparent)); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, 0.28); }
.dock { border-color: var(--glass-line); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
.card.live { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent), 0 6px 18px rgba(120, 60, 20, 0.1); }
.b2 { --b-bg: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.b1 { --b-bg: linear-gradient(135deg, #FFC84A, #FFA41B); }
.b3 { --b-bg: linear-gradient(135deg, #3A2418, #1F120C); --b-fg: #FFF1E2; }
.banner { box-shadow: 0 10px 26px rgba(120, 60, 20, 0.16); }
.banner .use { background: color-mix(in srgb, var(--b-fg) 92%, transparent); color: #2B1A12; }
.b2 .use, .b3 .use { color: #2B1A12; background: #FFF1E2; }
.b1 .use { background: #3A1F05; color: #FFE9C2; }
.banner .art { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.18)); }
.panel { background: var(--glass-strong); -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); border: 1px solid var(--glass-line); border-bottom: 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18); }
.backdrop { background: rgba(30, 14, 6, 0.38); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: fade 0.25s ease-out; }
.field input, .field textarea, .field select, .textarea, .coderow input { background: color-mix(in srgb, var(--surface) 70%, transparent); border-color: var(--line); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus, .textarea:focus, .coderow input:focus, .search:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.toast { background: var(--glass-strong); color: var(--ink); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow); transition: opacity 0.2s, transform 0.45s var(--spring); transform: translate(-50%, -24px) scale(0.9); }
.toast.show { transform: translate(-50%, 0) scale(1); }
.status { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
:root[data-theme="dark"] .status { color: var(--accent-2); }
.link, .add, .coderow button, .btn.ghost { color: var(--accent); }
.eta { background: color-mix(in srgb, var(--turmeric) 22%, transparent); }

/* Motion */
.btn, .add, .step button, .themebtn, .pill, .chips button, .a-tabs button, .opt, .coderow button, .x, .stars button, .cartbar, .mini button {
  transition: transform 0.35s var(--spring), background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.btn:active, .add:active, .pill:active, .chips button:active, .a-tabs button:active, .opt:active, .coderow button:active, .x:active, .cartbar:active { transform: scale(0.94); }
.cartbar:active { transform: translateX(-50%) scale(0.96); }
.step button:active, .mini button:active { transform: scale(0.8); }
.themebtn:active { transform: rotate(30deg) scale(0.85); }
.stars button:active { transform: scale(1.35) rotate(-8deg); }
.dock button { transition: transform 0.4s var(--spring), background 0.25s, color 0.25s; }
.dock button:active { transform: scale(0.88); }
.dock button[aria-current="page"] svg { animation: hop 0.55s var(--spring); }
.dock button[aria-current="page"] { box-shadow: 0 6px 14px color-mix(in srgb, var(--accent) 35%, transparent); }
.panel { animation: sheetup 0.5s var(--spring); }
.cartbar:not([hidden]) { animation: barpop 0.55s var(--spring); }
.badge { animation: pop 0.5s var(--spring); }
#tab-home, #tab-orders, #tab-profile { animation: tabin 0.45s var(--spring); }
.pop { animation: pop 0.45s var(--spring); }
.intro .banner, .intro .row, .intro .snack, .intro .sec-head { animation: rise 0.6s var(--spring) both; }
.intro .banner { animation-delay: 0.02s; }
.intro .row:nth-child(1), .intro .snack:nth-child(1) { animation-delay: 0.08s; }
.intro .row:nth-child(2), .intro .snack:nth-child(2) { animation-delay: 0.14s; }
.intro .row:nth-child(3), .intro .snack:nth-child(3) { animation-delay: 0.2s; }
.intro .row:nth-child(4), .intro .snack:nth-child(4) { animation-delay: 0.26s; }
.intro .row:nth-child(n+5), .intro .snack:nth-child(n+5) { animation-delay: 0.32s; }
.tl.now .pt { animation: ring 1.8s ease-out infinite; }
.card.live .status { animation: breathe 2.2s ease-in-out infinite; }
.prog i { transition: background 0.4s; }
.sw::after { transition: transform 0.4s var(--spring); }
.tile img { transition: transform 0.5s var(--spring); }
.row:active .tile img, .snack:active .tile img { transform: scale(1.12) rotate(-3deg); }
.banner .art { animation: float 3.6s ease-in-out infinite; }
@keyframes fade { from { opacity: 0; } }
@keyframes sheetup { 0% { transform: translate(-50%, 100%); opacity: 0.4; } 100% { transform: translate(-50%, 0); opacity: 1; } }
@keyframes barpop { 0% { transform: translate(-50%, 40px) scale(0.85); opacity: 0; } 100% { transform: translate(-50%, 0) scale(1); opacity: 1; } }
@keyframes pop { 0% { transform: scale(0.6); } 100% { transform: scale(1); } }
@keyframes hop { 0% { transform: translateY(4px) scale(0.8); } 100% { transform: translateY(0) scale(1); } }
@keyframes tabin { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px) scale(0.96); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes breathe { 50% { transform: scale(1.06); } }
@keyframes float { 50% { transform: translateY(-5px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Item detail sheet ---------- */
.row[data-act="detail"], .snack[data-act="detail"] { cursor: pointer; transition: transform 0.35s var(--spring), box-shadow 0.2s; }
.row[data-act="detail"]:active, .snack[data-act="detail"]:active { transform: scale(0.975); }
.row .step, .row .add, .snack .step, .snack .add { position: relative; z-index: 1; }
.panel.tall { max-height: 92dvh; padding-top: 0; padding-bottom: 0; padding-left: 0; padding-right: 0; overflow-x: hidden; }
.dx { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--glass-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--glass-line); }
.gal-wrap { position: relative; }
.gal-c { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal-c::-webkit-scrollbar { display: none; }
.gal-c .slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; border-radius: 0; font-size: 96px; }
.gal-c .slide img { padding: 0; }
.gal-c .slide img.png { object-fit: contain; padding: 18px; }
.gal-c .slide img.photo { object-fit: cover; }
.gal-wrap .dots { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; }
.gal-wrap .dots span { background: rgba(255, 255, 255, 0.6); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.gal-wrap .dots span.on { background: #fff; }
.d-info { padding: 16px 18px 6px; }
.d-name { align-items: center; gap: 8px; }
.d-name h2 { font-size: 24px; font-weight: 800; line-height: 1.15; }
.d-info .meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.price.big { font-size: 20px; }
.d-text { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.d-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px)); margin-top: 12px; background: var(--glass-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.d-act .add, .d-act .step { height: 44px; min-width: 120px; justify-content: center; }
.d-act .add { font-size: 16px; padding: 0 28px; }
.d-act .step button { width: 44px; height: 44px; font-size: 22px; }
.d-act .step span { min-width: 30px; font-size: 17px; }
.gal { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.gal .gi { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gal .gi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal .gi button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 14px; line-height: 1; }
.gal .gadd { width: 64px; height: 64px; border-radius: 12px; border: 1.5px dashed var(--line); font-size: 26px; color: var(--muted); }

/* ---------- Photos: full-bleed, no cutout; photo fades to text ---------- */
.tile img, .gal-c .slide img, .gal-c .slide img.png, .gal-c .slide img.photo { object-fit: cover; padding: 0; border-radius: inherit; }
.row { grid-template-columns: 68px minmax(0, 1fr) auto; }
.row .tile { width: 68px; height: 68px; }
.swap { position: relative; }
.swap img { transition: opacity 0.7s ease; transition-delay: var(--d, 0s); }
.swap-t { position: absolute; inset: 0; display: flex; align-items: center; padding: 12px; font-size: 14px; font-weight: 500; line-height: 1.4; text-align: left; color: var(--ink); background: hsl(var(--h) var(--tile-s) var(--tile-l)); opacity: 0; transition: opacity 0.7s ease; transition-delay: var(--d, 0s); overflow: hidden; }
.swap-t span { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
#snacks.flip .swap img { opacity: 0; }
#snacks.flip .swap-t { opacity: 1; }

/* ---------- Minimal product cards: big photo, name and price only ---------- */
.grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
.pcard { display: block; min-width: 0; cursor: pointer; background: none; border: 0; box-shadow: none; padding: 0; border-radius: 22px; transition: transform 0.35s var(--spring); }
.pcard:active { transform: scale(0.96); }
.pcard:focus-visible { outline-offset: 4px; }
.pimg { position: relative; aspect-ratio: 1 / 1; width: 100%; border-radius: 22px; font-size: 64px; box-shadow: 0 8px 22px rgba(120, 60, 20, 0.14); }
.pimg img { transition: transform 0.6s var(--spring); }
.pcard:hover .pimg img { transform: scale(1.05); }
.pimg .vd { position: absolute; top: 10px; left: 10px; width: 16px; height: 16px; background: rgba(255, 255, 255, 0.92); border-radius: 4px; }
.pimg .qty { position: absolute; top: 8px; right: 8px; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); font-weight: 700; font-size: 13px; line-height: 26px; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); }
.pimg .soldtag { position: absolute; inset: auto 10px 10px 10px; text-align: center; padding: 5px 0; border-radius: 99px; background: rgba(30, 20, 15, 0.72); color: #fff; font-size: 12px; font-weight: 600; }
.pcard.out .pimg img { filter: grayscale(0.9); opacity: 0.6; }
.ptxt { display: flex; flex-direction: column; gap: 1px; padding: 10px 4px 2px; }
.pname { font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.2; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptxt .price { font-size: 15px; color: var(--muted); font-weight: 600; }
.intro .pcard { animation: rise 0.6s var(--spring) both; }
.intro .pcard:nth-child(2) { animation-delay: 0.06s; } .intro .pcard:nth-child(3) { animation-delay: 0.12s; } .intro .pcard:nth-child(4) { animation-delay: 0.18s; } .intro .pcard:nth-child(n+5) { animation-delay: 0.24s; }

/* ---------- Item sheet: photo fills everything, text fades in on a soft overlay ---------- */
:root { --ov: #FFF8EF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ov: #1B1410; } }
:root[data-theme="dark"] { --ov: #1B1410; }
.panel.tall { height: min(88dvh, 720px); max-height: none; overflow: hidden; background: var(--ov); }
#d-body, .dfull { height: 100%; }
.dfull { position: relative; }
.gal-wrap { position: absolute; inset: 0; }
.gal-c { height: 100%; }
.gal-c .slide { aspect-ratio: auto; height: 100%; font-size: 120px; }
.gal-c .slide.big-emoji { align-items: flex-start; padding-top: 22%; }
.gal-wrap .dots { top: 16px; bottom: auto; }
.dover { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; padding: 120px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, var(--ov) 0%, var(--ov) 52%, color-mix(in srgb, var(--ov) 0%, transparent) 100%);
  animation: ovin 0.8s ease 0.25s both; }
.dover > * { pointer-events: auto; }
.d-info { padding: 0; }
.d-text { max-height: 22dvh; overflow-y: auto; color: var(--ink); opacity: 0.8; }
.d-foot { position: static; padding: 0; margin-top: 16px; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.d-foot .btn.ghost { background: color-mix(in srgb, var(--surface) 60%, transparent); }
@keyframes ovin { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Rating pill ---------- */
.rpill { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 9px 0 7px; border-radius: 99px; background: #1E8E3E; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); font-variant-numeric: tabular-nums; }
.rpill svg { width: 12px; height: 12px; fill: #fff; flex: none; }
.rpill.inline { position: static; box-shadow: none; }
.rpill small { font-weight: 600; opacity: 0.85; font-size: 11px; }
.pimg .soldtag { inset: 50% auto auto 50%; transform: translate(-50%, -50%); padding: 6px 16px; }

/* ---------- Spin the wheel ---------- */
.wheel { position: relative; width: min(300px, 80vw); margin: 6px auto 16px; }
.wsvg { width: 100%; display: block; overflow: visible; filter: drop-shadow(0 10px 20px rgba(120, 60, 20, 0.28)); }
.wptr { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 2; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 28px solid var(--ink); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3)); }
.wres { text-align: center; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 10%, transparent); margin-bottom: 12px; }
.wres.win { background: color-mix(in srgb, var(--turmeric) 30%, transparent); }
.wres b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.wres span { color: var(--muted); font-size: 14px; }
