/* Generated from the AlphaTill repo, order-server/index.html, by publish-to-website.js. Edit it there. */
/* AlphaTill's typefaces, the same files alphatill.store serves. Where they are
   not there (a shop hosting this page itself) the system's own fonts stand in. */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope.woff2') format('woff2-variations'), url('/fonts/Manrope.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/Fraunces.woff2') format('woff2-variations'), url('/fonts/Fraunces.woff2') format('woff2');
  font-weight: 100 900; font-display: swap;
}
:root {
  /* alphatill.store's palette (css/alpha.css): cream ground, white cards with
     warm shadows, burgundy brand. A shop may set its own colour, which takes
     burgundy's place; green always means "go". */
  --shop: #68283d;
  --on-shop: #fdf6ef;
  --shop-ink: #68283d;
  --shop-tint: #f2e8ea;
  --shop-line: #d8c2c9;
  --go: #2f7a4f;
  --go-dark: #26653f;
  --on-go: #fdf6ef;
  --go-tint: #e4efe7;
  --go-ink: #1f5c38;
  --amber: #8f4f16;
  --amber-tint: #f6ecdc;
  --ground: #f6f1e6;
  --panel: #fffdf8;
  --panel-2: #ece4d4;
  --line: #ddd1ba;
  --line-soft: rgba(221, 209, 186, 0.6);
  --steel: #c9bb9f;
  --ink: #2c2620;
  --ink-2: #6d6357;
  --err: #b23b30;
  --err-tint: #f8e6e2;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r: 14px;
  --r-sm: 10px;
  --r-lg: 22px;
  /* warm shadows: a cool grey shadow on cream looks like dirt */
  --sh-sm: 0 1px 2px rgba(70, 55, 30, .06), 0 2px 6px rgba(70, 55, 30, .05);
  --sh: 0 2px 6px rgba(70, 55, 30, .06), 0 12px 28px rgba(70, 55, 30, .08);
  --sh-lg: 0 4px 12px rgba(70, 55, 30, .07), 0 28px 60px rgba(70, 55, 30, .16);
  --pad: 16px;
  --stick: 66px;            /* the pinned section rail (hidden at 1280px and wider) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--steel) var(--ground);
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 500 16px/1.5 var(--ui);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--shop-ink);
}
::selection { background: var(--shop-tint); color: var(--ink); }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, [role="button"], label.opt, .chip, .cat {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: not-allowed; }
a { color: var(--shop-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--shop-ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------------------------------------------------------------- header -- */
.head {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 0 14px;
}
.head-row { display: flex; align-items: center; gap: 14px; }
/* the shop's mark: its initials on its own colour, where a logo would sit */
.shop-tile {
  width: 52px; height: 52px; flex: none; border-radius: var(--r);
  background: var(--shop); color: var(--on-shop);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em;
  box-shadow: var(--sh-sm);
  transition: background-color 500ms var(--ease-out), color 500ms var(--ease-out);
}
body.shut .shop-tile { background: var(--panel-2); color: var(--ink-2); box-shadow: none; }
.shop-id { min-width: 0; flex: 1; }
.shop-name {
  margin: 0; font-family: var(--display); font-optical-sizing: auto; font-weight: 600;
  font-size: clamp(24px, 5.6vw, 34px); line-height: 1.06; letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.open-line { margin: 5px 0 0; font-size: 16px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 9px; }
.lamp { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--go); box-shadow: 0 0 0 4px var(--go-tint); }
.lamp.off { background: var(--steel); box-shadow: 0 0 0 4px var(--panel-2); }
.ring {
  flex: none; min-height: 46px; min-width: 46px; padding: 0 16px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--panel); border: 1.5px solid var(--line); color: var(--ink);
  font-weight: 700; font-size: 16px; text-decoration: none; font-variant-numeric: tabular-nums;
  transition: border-color 160ms ease, background-color 160ms ease, transform 120ms var(--ease-out);
}
.ring:active { transform: scale(0.96); }
.ring .ico { width: 20px; height: 20px; color: var(--shop-ink); }
@media (max-width: 639px) { .ring { padding: 0; } .ring span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.notice {
  margin: 12px 0 0; padding: 11px 14px; border-radius: var(--r-sm);
  background: var(--amber-tint); color: var(--ink); font-weight: 600; font-size: 16px;
  display: flex; gap: 10px; align-items: flex-start; max-width: 760px;
}
.notice .ico { color: var(--amber); width: 20px; height: 20px; margin-top: 1px; }

/* Collection or delivery: in the header on a phone, in "My order" on a computer */
.switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r); padding: 5px;
}
.switch-top { margin-top: 14px; max-width: 520px; }
.switch button {
  min-height: 54px; border-radius: var(--r-sm); padding: 4px 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: var(--ink-2); line-height: 1.15;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 120ms var(--ease-out);
}
.switch .sw { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 16px; }
.switch .sw .ico { width: 20px; height: 20px; }
.switch small { font-weight: 600; font-size: 14px; }
.switch button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--sh-sm), inset 0 0 0 2px var(--shop); }
.switch button[aria-pressed="true"] .sw .ico { color: var(--shop-ink); }
.switch button:active { transform: scale(0.97); }
.switch button.closed small { color: var(--err); }
body.on-status .switch-top { display: none; }

/* --------------------------------------------- category rail (phones) -- */
.rail {
  position: sticky; top: 0; z-index: 6;
  background: var(--ground);
  padding: 10px 0;
  transition: box-shadow 200ms ease;
}
.rail.stuck { box-shadow: 0 1px 0 var(--line), 0 8px 18px rgba(70, 55, 30, .07); }
.rail-track {
  display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--pad);
  scroll-snap-type: x proximity; scrollbar-width: none;
  scroll-padding-inline: var(--pad);
  max-width: 1400px; margin: 0 auto;
}
.rail-track::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  min-height: 46px; padding: 0 16px 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--sh-sm);
  font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms var(--ease-out);
}
.chip .ico { width: 20px; height: 20px; color: var(--shop-ink); transition: color 180ms ease; }
.chip[aria-current="true"] { background: var(--shop); border-color: var(--shop); color: var(--on-shop); }
.chip[aria-current="true"] .ico { color: currentColor; }
.chip:active { transform: scale(0.96); }
.chip.find-chip { width: 46px; padding: 0; justify-content: center; }
.rail-find { display: none; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); gap: 8px; align-items: center; }
.rail.searching .rail-track { display: none; }
.rail.searching .rail-find { display: flex; }
.rail-find .find-box { flex: 1; }
body.on-status .rail { display: none; }

/* ------------------------------------------------------------- search -- */
.find-box { position: relative; display: block; }
.find-box > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; width: 20px; height: 20px; }
.find-box input {
  width: 100%; min-height: 48px; padding: 0 46px 0 44px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--panel); font-size: 16px; font-weight: 600;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.find-box input::placeholder { color: var(--ink-2); font-weight: 500; }
.find-box input:focus { outline: none; border-color: var(--shop-ink); box-shadow: 0 0 0 4px var(--shop-tint); }
.find-box input::-webkit-search-cancel-button { display: none; }
.find-box .clear {
  position: absolute; right: 3px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-2);
}
.find-box .clear .ico { width: 18px; height: 18px; }
.find-box input:placeholder-shown ~ .clear { display: none; }
.close-find {
  flex: none; min-height: 46px; padding: 0 14px; border-radius: 12px; font-weight: 700; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line);
}

/* ------------------------------------------------------------- layout -- */
.layout { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad) 140px; }
.side { display: none; }
.aside { display: none; }
.box {
  background: var(--panel); border-radius: var(--r); padding: 16px;
  border: 1px solid var(--line-soft); box-shadow: var(--sh-sm);
}
.box-title {
  margin: 0 0 10px; display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.box-title .ico { width: 18px; height: 18px; color: var(--shop-ink); }
.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.cat {
  width: 100%; min-height: 50px; padding: 6px 12px 6px 6px; border-radius: 12px;
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px;
  text-align: left; font-weight: 700; font-size: 16px; color: var(--ink);
  transition: background-color 180ms ease, color 180ms ease, transform 120ms var(--ease-out);
}
.cat .ci {
  width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--shop-tint); color: var(--shop-ink);
  display: grid; place-items: center; transition: background-color 180ms ease, color 180ms ease;
}
.cat .ci .ico { width: 21px; height: 21px; }
.cat .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat .n { font-size: 14px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cat[aria-current="true"] { background: var(--shop); color: var(--on-shop); }
.cat[aria-current="true"] .ci { background: rgba(255, 255, 255, .16); color: var(--on-shop); }
.cat[aria-current="true"] .n { color: inherit; opacity: .8; }
.cat:active { transform: scale(0.98); }
/* the shop's offers */
.deals { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deal-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 12px;
  background: var(--shop-tint); color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.3;
}
.deal-item .ico { width: 20px; height: 20px; color: var(--shop-ink); margin-top: 1px; }
.deal-item.code { background: var(--ground); font-weight: 600; color: var(--ink-2); }
.offer-strip {
  list-style: none; margin: 4px calc(-1 * var(--pad)) 0; padding: 4px var(--pad) 6px;
  display: flex; align-items: flex-start; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  scroll-padding-inline: var(--pad);
}
.offer-strip::-webkit-scrollbar { display: none; }
.offer-strip .deal-item { flex: none; max-width: 78%; scroll-snap-align: start; background: var(--panel); border: 1px solid var(--shop-line); box-shadow: var(--sh-sm); }
.offer-strip .deal-item.code { border-color: var(--line); }
body.on-status .offer-strip { display: none; }

/* -------------------------------------------------------------- board -- */
.section { scroll-margin-top: calc(var(--stick) + 12px); padding-top: 28px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sec-head h2 {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-optical-sizing: auto; font-weight: 600;
  font-size: 26px; line-height: 1.1; letter-spacing: -0.015em;
}
.sec-head h2 .ico { width: 26px; height: 26px; color: var(--shop-ink); stroke-width: 1.7; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border-radius: var(--r);
  border: 1px solid var(--line-soft); box-shadow: var(--sh-sm);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.card:active:not(:has(.add:active)) { transform: scale(0.985); }
.dish-btn { display: flex; flex-direction: column; text-align: left; width: 100%; color: inherit; }
.card .dish-btn { flex: 1; padding: 7px 7px 0; }
.ph {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-sm); background: var(--panel-2);
}
.ph img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.03);
  transition: opacity 420ms var(--ease-out), transform 700ms var(--ease-out);
}
.ph img.lit { opacity: 1; transform: none; }
.ph.tile-ph { display: grid; place-items: center; background: var(--shop-tint); color: var(--shop-ink); }
.ph.tile-ph > .ico { width: 46px; height: 46px; stroke-width: 1.4; }
.card-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 5px 0; }
.dish {
  margin: 0; font-weight: 800; font-size: 17px; line-height: 1.25; letter-spacing: -0.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.desc {
  margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.35; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 8px 8px 12px; }
.price { font-weight: 800; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.sold {
  font-size: 14px; font-weight: 800; color: var(--ink-2);
  background: var(--panel-2); padding: 5px 9px; border-radius: 999px;
}
.add {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: var(--shop); color: var(--on-shop);
  display: grid; place-items: center;
  transition: transform 120ms var(--ease-out), filter 160ms ease, background-color 200ms ease;
}
.add .ico { width: 22px; height: 22px; stroke-width: 2.4; }
.add:active { transform: scale(0.9); }
.add:disabled { background: var(--panel-2); color: var(--ink-2); }
.card.out .ph img.lit { filter: grayscale(1); opacity: .75; }
.card.out .dish, .row.out .dish { color: var(--ink-2); }
.off .add:not(:disabled) { background: var(--panel-2); color: var(--ink-2); }
.in-order {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--shop); color: var(--on-shop); box-shadow: var(--sh-sm);
  font-weight: 800; font-size: 14px; padding: 4px 9px 4px 7px; border-radius: 999px;
}
.in-order .ico { width: 16px; height: 16px; }
.in-order.bump { animation: bump 300ms var(--ease-out); }
@keyframes bump { from { transform: scale(0.82); } to { transform: scale(1); } }
/* the corner ribbon on dishes this shop's customers order most */
.ribbon {
  position: absolute; top: 18px; right: -38px; z-index: 2; width: 140px; padding: 5px 0;
  transform: rotate(45deg); text-align: center;
  background: var(--shop); color: var(--on-shop); box-shadow: 0 2px 8px rgba(70, 55, 30, .2);
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  pointer-events: none;
}

/* dishes without a photo: a row, the section's sign where the photo would be */
.rows { display: grid; gap: 10px; }
.cards + .rows { margin-top: 12px; }
.row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px;
  background: var(--panel); border-radius: var(--r); padding-right: 12px;
  border: 1px solid var(--line-soft); box-shadow: var(--sh-sm);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.row:active:not(:has(.add:active)) { transform: scale(0.99); }
.row .dish-btn { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 0 12px 12px; min-height: 80px; }
.tile {
  position: relative; width: 54px; height: 54px; border-radius: 12px;
  background: var(--shop-tint); color: var(--shop-ink); display: grid; place-items: center;
}
.tile > .ico { width: 27px; height: 27px; stroke-width: 1.6; }
.tile .in-order { top: -7px; left: -7px; padding: 3px 7px 3px 5px; font-size: 13px; }
.tile .in-order .ico { width: 14px; height: 14px; }
.row-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-text .price { margin-top: 3px; font-size: 17px; }
.row-text .sold { align-self: flex-start; margin-top: 4px; }

/* popular here: a carousel of what this shop's customers order most */
.popular { padding-top: 22px; }
.pop-arrows { display: none; gap: 8px; }
.arrow {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--sh-sm); color: var(--ink);
  transition: opacity 160ms ease, transform 120ms var(--ease-out), background-color 160ms ease;
}
.arrow:active { transform: scale(0.92); }
.arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.pop-track {
  display: flex; gap: 12px; overflow-x: auto;
  margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad) 12px;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.pop-track::-webkit-scrollbar { display: none; }
.pop-track .card { flex: 0 0 min(250px, 70%); scroll-snap-align: start; }

/* ---------------------------------------------------------- basket bar -- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px var(--pad) calc(10px + var(--safe-b));
  background: linear-gradient(to top, var(--ground) 70%, rgba(246, 241, 230, 0)); /* taste-skill-ignore: the pinned bar fades into the board above it */
  transform: translateY(110%); visibility: hidden;
  transition: transform 320ms var(--ease-drawer), visibility 0s linear 320ms;
}
.bar.show { transform: none; visibility: visible; transition: transform 320ms var(--ease-drawer), visibility 0s; }
.bar button {
  width: 100%; max-width: 640px; margin: 0 auto; min-height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--go); color: var(--on-go); border-radius: var(--r);
  padding: 0 18px 0 12px; font-weight: 800; font-size: 18px;
  box-shadow: 0 8px 22px rgba(47, 122, 79, .28); /* taste-skill-ignore: the pinned order bar floats over the board */
  transition: transform 120ms var(--ease-out), background-color 160ms ease;
}
.bar button:active { transform: scale(0.98); }
.bar .count { display: inline-flex; align-items: center; gap: 10px; }
.bub {
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px;
  display: inline-grid; place-items: center; background: rgba(255, 255, 255, .18);
  font-variant-numeric: tabular-nums;
}
.bub.bump { animation: bump 300ms var(--ease-out); }
.bar .total { font-size: 20px; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- my order -- */
.aside-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.aside-head h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.015em; line-height: 1.1; }
.aside-head .n { font-weight: 700; color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.aside-body { padding: 0 20px 6px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.aside-foot { padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.aside .switch { margin-bottom: 14px; }
.deal {
  margin: 0 0 4px; padding: 11px 14px; border-radius: 12px;
  display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 16px; line-height: 1.35;
}
.deal .ico { width: 20px; height: 20px; margin-top: 1px; }
.deal.got { background: var(--go-tint); color: var(--go-ink); }
.deal.near { background: var(--shop-tint); color: var(--shop-ink); }
.empty { text-align: center; padding: 22px 8px 14px; color: var(--ink-2); }
.empty svg { width: 132px; height: 108px; margin: 0 auto 12px; display: block; }
.empty strong { display: block; color: var(--ink); font-size: 18px; font-weight: 800; margin-bottom: 4px; }

.lines { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.line {
  display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 3px 12px; align-items: start;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.line:last-child { border-bottom: 0; }
.line .th {
  grid-row: 1 / span 3; width: 50px; height: 50px; border-radius: var(--r-sm); overflow: hidden;
  background: var(--shop-tint); color: var(--shop-ink); display: grid; place-items: center;
}
.line .th img { width: 100%; height: 100%; object-fit: cover; }
.line .th .ico { width: 24px; height: 24px; stroke-width: 1.6; }
.line .nm { font-weight: 800; line-height: 1.3; }
.line .amt { font-weight: 800; font-variant-numeric: tabular-nums; }
.line .mods { grid-column: 2 / -1; margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.line .ctl { grid-column: 2 / -1; display: flex; align-items: center; margin-top: 6px; }

.stepper {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 3px;
}
.stepper button {
  width: 46px; height: 46px; border-radius: 9px; display: grid; place-items: center; color: var(--ink);
  transition: background-color 140ms ease, transform 120ms var(--ease-out);
}
.stepper button:active { transform: scale(0.9); }
.stepper button:disabled { color: var(--steel); }
.stepper output { min-width: 32px; text-align: center; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.stepper.sm button { width: 40px; height: 40px; }
.stepper.sm button .ico { width: 19px; height: 19px; }
.stepper.sm output { min-width: 28px; font-size: 16px; }

.totals { margin: 14px 0 0; display: grid; gap: 7px; font-size: 16px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.totals div > span:last-child { font-weight: 700; }
.totals .offer { color: var(--go-ink); font-weight: 700; }
.totals .grand { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--steel); align-items: flex-end; font-weight: 800; font-size: 18px; }
.totals .grand .big { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; gap: 2px; }
.totals .grand s { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.totals .grand b { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; }

/* the one green button: go */
.go {
  width: 100%; min-height: 58px; border-radius: var(--r);
  background: var(--go); color: var(--on-go);
  font-weight: 800; font-size: 18px; line-height: 1.15; padding: 0 20px; text-wrap: balance; text-align: center;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 6px 16px rgba(47, 122, 79, .22);
  transition: transform 120ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.go:active { transform: scale(0.98); }
.go .price { color: inherit; font-size: 20px; }
.go > span { white-space: nowrap; }
/* beside the stepper on a phone the button has least room: "Add to order £9.95"
   must still sit on one line at 360px wide */
.sheet-foot .go { padding: 0 16px; gap: 10px; }
@media (max-width: 400px) {
  .sheet-foot .stepper button { width: 42px; }
  .sheet-foot .stepper output { min-width: 26px; }
  .sheet-foot .go { font-size: 17px; }
  .sheet-foot .go .price { font-size: 18px; }
}
.go:disabled, .go[aria-disabled="true"] { background: var(--panel-2); color: var(--ink-2); box-shadow: none; justify-content: center; }
.go.busy { opacity: 0.75; }
.alert {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 12px;
  background: var(--err-tint); color: var(--err); font-weight: 600; font-size: 16px;
  display: flex; gap: 10px; align-items: flex-start;
}
.alert .ico { width: 20px; height: 20px; margin-top: 1px; }
.alert.info { background: var(--shop-tint); color: var(--ink); }
.alert.info .ico { color: var(--shop-ink); }

/* ---------------------------------------------------------------- sheets -- */
.layer { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.scrim { touch-action: none; position: absolute; inset: 0; background: rgba(44, 38, 32, 0.5); opacity: 0; transition: opacity 260ms ease; }
.layer.open .scrim { opacity: 1; }
.sheet {
  position: relative; width: 100%; max-width: 640px;
  max-height: 94dvh; display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--sh-lg); /* taste-skill-ignore: the sheet is a dialog over the page */
  transform: translateY(100%);
  transition: transform 340ms var(--ease-drawer);
}
.layer.open .sheet { transform: none; }
.layer.closing .sheet { transition-duration: 220ms; }
.grab { display: block; width: 100%; padding: 10px 0 6px; touch-action: none; flex: none; }
.grab::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--steel); margin: 0 auto; }
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--pad) 20px; flex: 1; min-height: 0; }
.sheet-head { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0 4px; }
.sheet-head .sh-t { flex: 1; min-width: 0; }
.sheet-title { margin: 0; font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: 26px; line-height: 1.12; letter-spacing: -0.015em; }
.sheet-sub { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink-2); font-weight: 600; }
.sheet-sub .price { font-size: 22px; }
.facts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  background: var(--ground); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink);
}
.facts .ico { width: 16px; height: 16px; color: var(--shop-ink); }
.x {
  width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--ground); border: 1px solid var(--line);
  display: grid; place-items: center; margin-right: -4px;
  transition: transform 120ms var(--ease-out), background-color 160ms ease;
}
.x:active { transform: scale(0.92); }
.sheet-photo { margin: 0 calc(-1 * var(--pad)) 14px; aspect-ratio: 16 / 10; background: var(--panel-2); overflow: hidden; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 360ms var(--ease-out); }
.sheet-photo img.lit { opacity: 1; }
.sheet-foot {
  touch-action: none; flex: none;
  padding: 12px var(--pad) calc(12px + var(--safe-b));
  background: var(--panel); border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center;
}

.block { margin-top: 20px; }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.block-title { margin: 0; font-size: 18px; font-weight: 800; padding: 0; }
.pill {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: var(--panel-2); color: var(--ink-2); white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease;
}
.pill .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.pill.need { background: var(--shop-tint); color: var(--shop-ink); }
.pill.done { background: var(--go-tint); color: var(--go-ink); }
.group { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.group legend { float: left; width: 100%; padding: 0; }
.group legend + * { clear: both; }
.opts { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.group.ask .opts { animation: ask 900ms var(--ease-out); }
@keyframes ask { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 25% { box-shadow: 0 0 0 4px var(--shop-line); } }
.opt {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  min-height: 56px; padding: 10px 14px; cursor: pointer; border-top: 1px solid var(--line);
  transition: background-color 160ms ease;
}
.opt:first-child { border-top: 0; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .mark {
  width: 24px; height: 24px; border-radius: 50%; background: var(--panel);
  border: 2px solid var(--steel); display: grid; place-items: center; color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease, transform 200ms var(--ease-out);
}
.opt .mark.box { border-radius: 7px; }
.opt .mark .ico { width: 15px; height: 15px; stroke-width: 3; }
.opt input:checked ~ .mark { background: var(--shop); border-color: var(--shop); color: var(--on-shop); }
.opt:has(input:checked) { background: var(--shop-tint); }
.opt input:checked ~ .lbl { font-weight: 800; }
.opt input:focus-visible ~ .mark { outline: 3px solid var(--shop-ink); outline-offset: 2px; }
.opt .lbl { font-weight: 600; }
.opt .extra { font-size: 16px; color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.opt.full { opacity: 0.5; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ingr {
  min-height: 44px; padding: 0 14px 0 11px; border-radius: 999px;
  background: var(--panel); border: 1.5px solid var(--line); font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms var(--ease-out);
}
.ingr:active { transform: scale(0.95); }
.ingr .ico { width: 17px; height: 17px; stroke-width: 2.6; color: var(--go); }
.ingr[aria-pressed="false"] { background: var(--err-tint); border-color: transparent; color: var(--err); text-decoration: line-through; }
.ingr[aria-pressed="false"] .ico { color: var(--err); }

.field { display: block; margin-top: 16px; }
.field > span, .field > label { display: block; font-weight: 800; font-size: 16px; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-size: 16px; padding: 13px 14px; border-radius: 12px;
  background: var(--panel); border: 1.5px solid var(--line);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--shop-ink); box-shadow: 0 0 0 4px var(--shop-tint); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px var(--err-tint); }
.hint { margin: 6px 0 0; font-size: 16px; color: var(--ink-2); }
.hint.bad { color: var(--err); font-weight: 700; }
.hint.good { color: var(--go-ink); font-weight: 700; }
.err-line { display: flex; gap: 6px; align-items: flex-start; }
.err-line .ico { width: 18px; height: 18px; margin-top: 1px; }
.swap {
  display: flex; width: fit-content; align-items: center; gap: 8px;
  min-height: 46px; margin-top: 10px; padding: 0 16px 0 12px; border-radius: 12px;
  background: var(--ink); color: var(--panel); font-weight: 700; font-size: 16px;
  transition: transform 120ms var(--ease-out);
}
.swap:active { transform: scale(0.97); }
.swap .ico { width: 20px; height: 20px; }
/* postcode with "Find address" beside it, as on the till */
.pc-row, .code-row { display: flex; gap: 8px; align-items: stretch; }
.pc-row input { flex: 1 1 140px; min-width: 0; max-width: 220px; }
.code-row input { flex: 1 1 140px; min-width: 0; max-width: 240px; text-transform: uppercase; }
.find {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 50px;
  padding: 0 16px; border-radius: 12px; background: var(--ink); color: var(--panel);
  font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform 120ms var(--ease-out), opacity 160ms ease;
}
.find .ico { width: 20px; height: 20px; }
.find:active:not(:disabled) { transform: scale(0.97); }
.find:disabled { opacity: 0.7; cursor: progress; }
.pick-title { margin: 12px 0 0; font-weight: 800; }
.picks { display: grid; gap: 6px; margin-top: 8px; }
.pick {
  text-align: left; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  background: var(--ground); border: 1px solid var(--line); font-size: 16px; font-weight: 600; line-height: 1.3;
  transition: transform 120ms var(--ease-out), border-color 160ms ease;
}
.pick:active { transform: scale(0.99); }
.field .err { margin: 6px 0 0; font-size: 16px; color: var(--err); font-weight: 700; display: flex; gap: 6px; align-items: flex-start; }
.field .err .ico { width: 18px; height: 18px; margin-top: 1px; }
.pay {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
  padding: 14px; border-radius: var(--r); background: var(--ground); border: 1px solid var(--line);
}
.pay strong { display: block; }
.pay span { font-size: 15px; color: var(--ink-2); }
/* card or cash: the same rows as a dish's choices, so there is nothing new to learn */
.pay-opt .lbl { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.pay-opt .lbl .ico { width: 26px; height: 26px; }
.pay-opt .extra { font-size: 15px; text-align: right; }
.card-wrap { margin-top: 12px; }
.card-box { min-height: 96px; }
.card-wait { margin: 0; min-height: 96px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-2); }
.card-wait.bad { color: var(--err); font-weight: 700; flex-direction: column; align-items: flex-start; justify-content: center; }
.card-wait.bad .ico { width: 20px; height: 20px; }
.card-safe { margin: 10px 0 0; display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.card-safe .ico { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--go); }
.alert.test { margin: 0 0 12px; }
.spin {
  width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 2px solid var(--steel); border-top-color: var(--shop-ink);
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------- status view -- */
.status {
  margin: 24px auto 0; max-width: 640px;
  background: var(--panel); border-radius: var(--r-lg); padding: 26px 22px 24px;
  border: 1px solid var(--line-soft); box-shadow: var(--sh);
}
body.on-status .layout { padding-bottom: 8px; }
body.on-status .foot { padding-bottom: calc(40px + var(--safe-b)); }
.status h2 { margin: 0; font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(34px, 8vw, 48px); line-height: 1.04; letter-spacing: -0.02em; }
.status h2:focus { outline: none; }
.status .says { margin: 12px 0 0; font-size: 18px; line-height: 1.5; max-width: 38ch; }
.status .ref { margin: 14px 0 0; font-size: 17px; color: var(--ink-2); font-weight: 600; }
.status .ref strong { color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.status .when { margin: 20px 0 0; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; flex-wrap: wrap; }
.status .when .ico { color: var(--shop-ink); }
.tick {
  position: relative; display: inline-block; overflow: hidden;
  background: var(--shop); color: var(--on-shop); font-weight: 800; font-size: 26px; line-height: 1;
  padding: 10px 14px; border-radius: 12px; font-variant-numeric: tabular-nums;
}
.tick.light::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--panel-2); animation: lamp-on 900ms var(--ease-out) 200ms both;
}
@keyframes lamp-on { 0% { opacity: 1; } 30% { opacity: 0.35; } 45% { opacity: 0.85; } 100% { opacity: 0; } }
.steps { list-style: none; margin: 26px 0 0; padding: 0; }
.steps li { position: relative; display: flex; align-items: center; gap: 14px; min-height: 50px; font-weight: 700; color: var(--ink-2); }
.steps li::before { content: ""; position: absolute; left: 10px; top: 35px; height: 30px; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps li.done::before { background: var(--shop); }
.steps .dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--steel); background: var(--panel); flex: none; display: grid; place-items: center; color: transparent; }
.steps .dot .ico { width: 13px; height: 13px; stroke-width: 3.2; }
.steps li.done { color: var(--ink); }
.steps li.done .dot { background: var(--shop); border-color: var(--shop); color: var(--on-shop); }
.steps li.now { color: var(--ink); font-weight: 800; }
.steps li.now .dot { border-color: var(--shop); }
.steps li.now .dot::before, .steps li.now .dot::after { content: ""; position: absolute; border-radius: 50%; }
.steps li.now .dot::before { inset: -7px; background: var(--shop-tint); z-index: -1; animation: glow 1.6s ease-in-out infinite; }
.steps li.now .dot::after { inset: 4px; background: var(--shop); }
@keyframes glow { 0%, 100% { transform: scale(0.72); opacity: 1; } 50% { transform: scale(1); opacity: 0.55; } }
.status .acts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  min-height: 52px; padding: 0 18px; border-radius: 12px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--panel); color: var(--ink); border: 1.5px solid var(--line);
  transition: transform 120ms var(--ease-out), background-color 160ms ease;
}
.btn .ico { width: 20px; height: 20px; color: var(--shop-ink); }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--go); color: var(--on-go); border-color: var(--go); }

/* --------------------------------------------------- loading / states -- */
.sk { display: block; background: var(--panel-2); border-radius: 6px; height: 14px; animation: dim 1.4s ease-in-out infinite; }
.sk.t { height: 18px; width: 72%; }
.sk.s { width: 40%; margin-top: 8px; }
.sk.h { height: 26px; width: 38%; margin: 0 0 14px; }
.sk-card .card-body { padding-bottom: 14px; }
.sk-card .ph { animation: dim 1.4s ease-in-out infinite; }
@keyframes dim { 50% { opacity: .55; } }
.state {
  margin-top: 24px; padding: 26px 22px; max-width: 560px;
  background: var(--panel); border-radius: var(--r-lg); border: 1px solid var(--line-soft); box-shadow: var(--sh-sm);
}
.state h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.12; letter-spacing: -0.015em; }
.state p { margin: 0 0 18px; font-size: 18px; color: var(--ink-2); }
.state p:last-child { margin-bottom: 0; }
.closed-note {
  margin: 16px 0 0; display: flex; gap: 10px; align-items: center;
  background: var(--amber-tint); color: var(--ink); padding: 13px 14px; border-radius: 12px; font-weight: 600;
}
.closed-note .ico { color: var(--amber); }

/* ---------------------------------------------------------------- footer -- */
.foot { max-width: 1400px; margin: 0 auto; padding: 34px var(--pad) calc(116px + var(--safe-b)); font-size: 16px; color: var(--ink-2); }
.foot p { margin: 0 0 6px; max-width: 62ch; }
.foot .credit { margin-top: 20px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.foot .credit img { width: 24px; height: 24px; }
.foot .credit a { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 17px; text-decoration: none; }
.foot .install { margin: 4px 0 14px; }

/* ------------------------------------------------------------ wider -- */
@media (min-width: 640px) {
  :root { --pad: 24px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pop-track .card { flex-basis: 260px; }
}
@media (min-width: 720px) {
  .layer { align-items: center; padding: 24px; }
  .sheet { border-radius: var(--r-lg); max-height: 90dvh; transform: translateY(24px) scale(0.98); opacity: 0;
    transition: transform 280ms var(--ease-out), opacity 200ms ease; }
  .layer.open .sheet { opacity: 1; }
  .grab { display: none; }
  .sheet-scroll { padding-top: 18px; padding-left: 24px; padding-right: 24px; }
  .sheet-foot { padding-left: 24px; padding-right: 24px; }
  .sheet-photo { margin: 0 0 16px; border-radius: var(--r); }
}
/* a dish with a photo opens as two panes, the photo beside its choices */
@media (min-width: 900px) {
  .sheet.wide { max-width: 940px; }
  .item-grid.has-photo { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .item-grid.has-photo .sheet-photo { position: sticky; top: 0; aspect-ratio: 1; margin: 0; }
}
/* a computer: the order sits beside the menu, always in view */
@media (min-width: 1024px) {
  :root { --stick: 66px; }
  .switch-top { display: none; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-bottom: 64px; }
  .aside {
    display: flex; flex-direction: column;
    position: sticky; top: calc(var(--stick) + 12px); margin-top: 22px;
    max-height: calc(100dvh - var(--stick) - 28px);
    background: var(--panel); border-radius: var(--r-lg);
    border: 1px solid var(--line-soft); box-shadow: var(--sh);
  }
  .bar { display: none; }
  .foot { padding-bottom: 44px; }
  .pop-track { margin: 0; padding: 2px 2px 12px; scroll-padding-inline: 2px; }
  .offer-strip { margin-left: 0; margin-right: 0; padding-left: 2px; padding-right: 2px; scroll-padding-inline: 2px; }
  .pop-track .card { flex-basis: calc((100% - 24px) / 3); }
  .pop-arrows { display: flex; }
  body.on-status .layout { display: block; }
  body.on-status .aside { display: none; }
}
/* wide: the menu on the left as well, as three columns */
@media (min-width: 1280px) {
  :root { --stick: 0px; }
  .rail { display: none; }
  .offer-strip { display: none; }
  .layout { grid-template-columns: 256px minmax(0, 1fr) 372px; gap: 26px; padding-top: 22px; }
  .side {
    display: grid; gap: 16px; align-content: start;
    position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; scrollbar-width: thin;
  }
  .aside { top: 16px; margin-top: 0; max-height: calc(100dvh - 32px); }
  .layout > main > .board > .section:first-child, .layout > main > .board > .popular:first-child { padding-top: 0; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
  body.on-status .side { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  .card:hover, .row:hover { transform: translateY(-3px); box-shadow: var(--sh); }
  .card:hover .ph img.lit { transform: scale(1.04); }
  .add:not(:disabled):hover { filter: brightness(1.12); }
  .chip:not([aria-current="true"]):hover { border-color: var(--shop-line); background: var(--shop-tint); }
  .cat:not([aria-current="true"]):hover { background: var(--shop-tint); }
  .opt:not(:has(input:checked)):hover { background: var(--ground); }
  .stepper button:not(:disabled):hover { background: var(--panel); }
  .switch button:not([aria-pressed="true"]):not(:disabled):hover { color: var(--ink); background: rgba(255, 253, 248, .6); }
  .ring:hover, .btn:hover, .x:hover, .arrow:not(:disabled):hover, .close-find:hover { background: var(--ground); }
  .btn.primary:hover, .go:not(:disabled):not([aria-disabled="true"]):hover, .bar button:hover { background: var(--go-dark); }
  .pick:hover { border-color: var(--shop-line); }
  .ingr[aria-pressed="true"]:hover { border-color: var(--steel); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .ph img, .sheet-photo img { transition: opacity 120ms linear !important; transform: none !important; }
}
