/* Kitchen Plus marketing site.

   The page is the app's own ledger, scaled up: Fraunces for what is said
   (headings, dish names, the one big figure), Manrope for what is measured,
   cream and ink with one accent, hairlines instead of boxes. The tokens are
   the app's (mobile/lib/theme/visual_config.dart) so the site and the app
   cannot look like two products. Pinned light, as the app is. */

@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/Manrope-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/Manrope-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/Manrope-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/Manrope-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/Manrope-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --page: #FAF8F4;
  --surface: #FFFFFF;
  --subtle: #F2EFE9;
  --chip-on: #E6E1D8;
  --line: #E6E1D8;
  --ink: #0B0B0B;
  --muted: #6B6B6B;
  --accent: #C53F2E;
  --accent-dark: #8E2417;
  --success: #0A7A42;
  --warning: #B54A00;
  --amber: #8A5A00;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --chip-shadow: 0 1px 0 rgba(0,0,0,.04), 0 2px 6px rgba(20,16,10,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 500 17px/1.55 var(--sans); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* Paper: a whisper of grain so the cream reads as a page, not a fill. */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p, h1, h2, h3, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--page); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------ type */
.display { font: 500 clamp(40px, 4.8vw, 70px)/1.04 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.display em { font-style: normal; color: var(--accent); }
h2.display { font-size: clamp(34px, 4.6vw, 62px); }
.h3 { font: 600 24px/1.2 var(--serif); letter-spacing: -.01em; }
.kicker { font: 800 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #33312E; max-width: 34em; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* split headline words */
.w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; transform: translateY(0); transition: transform .9s var(--ease), opacity .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .split-wait .w > span { transform: translateY(105%); opacity: 0; }

/* ------------------------------------------------------------ controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ink { background: var(--ink); color: var(--page); }
.btn-ghost { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.link { background: none; border: 0; padding: 6px 2px; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.link:hover { text-decoration-color: var(--ink); }

/* The app's AppPillTabs: chips on the page, no tray. Unselected is a lit
   dome on a contact shadow; selected is a pressed well a step darker. */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; }
.pills-scroll::-webkit-scrollbar { display: none; }
.pill {
  flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  font: 700 14px/1 var(--sans); white-space: nowrap;
  background: linear-gradient(#fff, #FBFAF7); box-shadow: var(--chip-shadow);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.pill:hover { transform: translateY(-1px); }
.pill[aria-pressed="true"] {
  background: linear-gradient(#D9D3C8, var(--chip-on) 45%, #EEEAE3);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12); transform: none;
}
.pill span { color: var(--muted); font-weight: 600; margin-left: 2px; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }

/* ------------------------------------------------------------ progress + nav */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); z-index: 90; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.nav {
  position: sticky; top: 0; z-index: 80; display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter); background: color-mix(in srgb, var(--page) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.stuck { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 20px/1 var(--serif); letter-spacing: -.01em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.nav-links a:hover, .nav-links a.on { background: var(--subtle); }
.nav-links i { font: 500 13px var(--serif); color: var(--accent); font-style: normal; margin-right: 3px; }
@media (max-width: 960px) { .nav-links { display: none; } .nav { justify-content: space-between; } }

/* ------------------------------------------------------------ hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vw, 80px) var(--gutter) 48px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { display: grid; gap: 24px; }
.stores { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
/* Apple's and Google's badges at one height, Apple's first: both brand
   guides ask for that when the two appear together. */
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge-apple, .badge-play { display: inline-block; line-height: 0; }
.badge-apple img, .badge-play img { height: 50px; width: auto; }
.store-note { font-size: 14px; line-height: 1.5; color: #33312E; }
.store-note span { color: var(--muted); }

.machine { position: relative; display: grid; gap: 14px; }
.machine-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.currency { display: inline-flex; gap: 6px; }
.currency button { width: 40px; height: 40px; border-radius: 999px; border: 0; font: 700 15px var(--sans); background: linear-gradient(#fff, #FBFAF7); box-shadow: var(--chip-shadow); }
.currency button[aria-pressed="true"] { background: linear-gradient(#D9D3C8, var(--chip-on) 45%, #EEEAE3); box-shadow: inset 0 1px 2px rgba(0,0,0,.12); }
.replay { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font-weight: 700; font-size: 14px; padding: 8px 4px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.replay svg { width: 18px; height: 18px; }
.replay.ready { opacity: 1; pointer-events: auto; }

.machine-body { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 20px; align-items: start; }
.receipt-slot { position: relative; padding-top: 10px; overflow: hidden; }
.receipt-slot::before { content: ""; position: absolute; top: 0; left: -6px; right: -6px; height: 12px; border-radius: 6px; background: var(--ink); z-index: 2; }
.receipt {
  position: relative; background: #fff; padding: 20px 18px 30px; font: 500 12px/1.5 var(--mono); color: #222; letter-spacing: .02em;
  --zig: 8px;
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - var(--zig)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/calc(var(--zig) * 2) var(--zig) repeat-x;
          mask: linear-gradient(#000 0 0) top/100% calc(100% - var(--zig)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/calc(var(--zig) * 2) var(--zig) repeat-x;
  box-shadow: inset 0 0 0 1px var(--line);
}
.r-store { font-weight: 700; text-align: center; letter-spacing: .12em; }
.r-meta { text-align: center; color: #777; font-size: 11px; margin: 2px 0 12px; }
.r-lines { border-top: 1px dashed #bbb; border-bottom: 1px dashed #bbb; padding: 8px 0; display: grid; gap: 2px; }
.r-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; gap: 6px; padding: 1px 4px; margin: 0 -4px; border-radius: 3px; transition: background .3s, color .3s; }
.r-lines li.read { background: #FBEFEC; color: var(--accent-dark); }
.r-lines li::after { content: ""; }
.r-lines li.read::after { content: "✓"; }
.r-lines li span:first-child { overflow: hidden; text-overflow: clip; white-space: nowrap; }
.r-total { display: flex; justify-content: space-between; font-weight: 700; margin-top: 8px; }
.r-thanks { text-align: center; color: #999; margin-top: 10px; font-size: 11px; letter-spacing: .2em; }
.sweep { position: absolute; left: 0; right: 0; top: 0; height: 64px; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(197,63,46,.16) 70%, rgba(197,63,46,.55) 96%, transparent); }

.shelves { display: grid; gap: 14px; }
.shelf { border-top: 1px solid var(--line); padding-top: 10px; }
.shelf-name { font: 800 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.shelf-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; display: grid; justify-items: center; text-align: center; gap: 2px; padding: 8px 4px 9px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tile img { width: 44px; height: 44px; object-fit: contain; }
.tile-name { font: 700 12px/1.2 var(--sans); }
.tile-days { font: 700 11px/1.2 var(--sans); }
.js .shelves .tile { opacity: 0; transform: scale(.9); }
.js .shelves .tile.in { opacity: 1; transform: none; transition: opacity .25s, transform .45s var(--ease); }
.d-urgent { color: var(--warning); } .d-soon { color: var(--amber); } .d-fine { color: var(--success); }
.machine-caption { min-height: 1.5em; font-weight: 700; font-size: 14px; }
.ghost { position: fixed; z-index: 70; pointer-events: none; margin: 0; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .machine { max-width: 620px; }
}
@media (max-width: 560px) {
  .machine-body { grid-template-columns: minmax(0, 1fr); }
  .receipt-slot { width: min(100%, 260px); margin: 0 auto; }
  .shelf-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .tile img { width: 40px; height: 40px; }
  .tile-name { font-size: 11px; }
}

/* ------------------------------------------------------------ tickers */
.ticker { position: relative; overflow: hidden; }
.ticker-track { display: flex; gap: 32px; width: max-content; animation: tick 80s linear infinite; }
.ticker-track.reverse { animation-direction: reverse; animation-duration: 140s; }
.ticker.paused .ticker-track { animation-play-state: paused; }
@media (hover: hover) { .ticker:hover .ticker-track { animation-play-state: paused; } }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker-pause { position: absolute; right: 10px; bottom: 8px; z-index: 2; background: var(--surface); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 5px 10px; }

/* the foods, along the top of the page */
.ticker-foods { border-bottom: 1px solid var(--line); background: var(--surface); padding: 12px 0 10px; }
.ticker-foods figure { display: grid; justify-items: center; gap: 2px; }
.ticker-foods img { width: 52px; height: 52px; object-fit: contain; }
.ticker-foods figcaption { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ticker-foods .ticker-pause { top: 50%; bottom: auto; transform: translateY(-50%); }
.ticker-foods::before, .ticker-foods::after, .ticker-recipes::before, .ticker-recipes::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1; pointer-events: none; }
.ticker-foods::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.ticker-foods::after { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }

/* the dishes, under the hero */
.ticker-recipes { margin-top: 64px; padding: 22px 0 26px; border-block: 1px solid var(--line); }
.ticker-recipes::before { left: 0; background: linear-gradient(90deg, var(--page), transparent); }
.ticker-recipes::after { right: 0; background: linear-gradient(-90deg, var(--page), transparent); }
.ticker-head { max-width: var(--max); margin: 0 auto 16px; padding: 0 var(--gutter); display: flex; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.ticker-recipes .ticker-track { gap: 18px; }
.dish { width: 200px; display: grid; gap: 8px; }
.dish img { width: 200px; height: 112px; object-fit: cover; border-radius: 14px; background: var(--subtle); }
.dish figcaption { display: grid; gap: 1px; }
.dish b { font: 600 17px/1.2 var(--serif); }
.dish span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------------ chapters */
.chapter { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--gutter) 0; scroll-margin-top: 40px; }
.chapter-head { position: relative; display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.shown { opacity: 1; transform: none; }

/* I. keep */
.keep-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.keep-card { padding: 22px clamp(16px, 2.4vw, 28px) 18px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.keep-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 8px; margin: 0 -8px; border-top: 1px solid var(--line); border-radius: 10px; transition: background .3s; }
.keep-list li.due { background: #FBEFEC; }
.k-flag { grid-column: 2 / 3; font-size: 12.5px; font-weight: 800; color: var(--accent); min-height: 0; }
.k-flag:empty { display: none; }
.day-step { display: flex; gap: 6px; }
.keep-list li:first-child { border-top: 0; }
.keep-list img { width: 56px; height: 56px; object-fit: contain; grid-row: span 2; }
.k-name { font: 600 19px/1.2 var(--serif); }
.k-place { font-size: 13px; color: var(--muted); font-weight: 600; }
.k-days { grid-row: span 2; text-align: right; display: grid; justify-items: end; gap: 6px; }
.k-fig { font: 800 17px/1.1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-bar { grid-column: 2 / 3; height: 3px; background: var(--subtle); border-radius: 3px; overflow: hidden; }
.k-bar i { display: block; height: 100%; width: var(--w, 0%); background: currentColor; transition: width .8s var(--ease); }
.k-act { min-height: 34px; padding: 0 12px; font-size: 13px; }
.keep-list .k-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.keep-card .fine { margin-top: 10px; }

.notes { display: grid; gap: 12px; padding-top: 6px; }
.note { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 12px 14px; border-radius: 20px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 10px 30px -12px rgba(30,20,10,.22), inset 0 0 0 1px rgba(0,0,0,.05); }
.note img { border-radius: 9px; }
.note-app { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--muted); display: flex; justify-content: space-between; }
.note-app span { font-weight: 600; letter-spacing: 0; }
.note-title { font-weight: 800; font-size: 15px; }
.note-body { font-size: 14px; color: #333; }
.notes [data-notes] { display: contents; }
.note { opacity: 0; transform: translateY(-18px) scale(.97); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.note.in { opacity: 1; transform: none; }
.notes-cap { font-size: 14px; color: var(--muted); padding: 4px 4px 0; }

@media (max-width: 860px) { .keep-grid { grid-template-columns: minmax(0, 1fr); } }

/* II. cook */
.cook { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pantry { position: sticky; top: 84px; }
.pantry-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.count { color: var(--ink); margin-left: 4px; }
.pantry-actions { display: flex; gap: 12px; }
.food-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.food {
  position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 4px 9px; border: 0; border-radius: 16px;
  background: linear-gradient(#fff, #FBFAF7); box-shadow: var(--chip-shadow);
  transition: transform .15s, background .2s, box-shadow .2s;
}
.food:hover { transform: translateY(-2px); }
.food img { width: 48px; height: 48px; object-fit: contain; transition: transform .3s var(--ease), filter .3s, opacity .3s; filter: grayscale(.85); opacity: .55; }
.food span { font: 700 12px/1.2 var(--sans); color: var(--muted); }
.food[aria-pressed="true"] { background: linear-gradient(#D9D3C8, var(--chip-on) 45%, #EEEAE3); box-shadow: inset 0 1px 2px rgba(0,0,0,.12); transform: none; }
.food[aria-pressed="true"] img { filter: none; opacity: 1; transform: scale(1.06); }
.food[aria-pressed="true"] span { color: var(--ink); }
.food[aria-pressed="true"]::after { content: ""; position: absolute; top: 7px; right: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
.food.pop img { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.25) rotate(-6deg); } }

.results { display: grid; gap: 16px; min-width: 0; }
.figure-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.figure { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.figure-num { font: 500 clamp(64px, 9vw, 120px)/.9 var(--serif); letter-spacing: -.035em; font-variant-numeric: lining-nums tabular-nums; }
.figure-word { font: 600 clamp(18px, 1.8vw, 22px)/1.2 var(--serif); max-width: 9em; }
.figure-side { font-size: 15px; color: var(--muted); padding-bottom: 8px; }
.figure-side b { color: var(--ink); font-weight: 800; }

.recipes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.rec { display: grid; gap: 8px; animation: in .5s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes in { from { opacity: 0; transform: translateY(12px); } }
.rec-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--subtle); border: 0; padding: 0; width: 100%; }
.rec-thumb img, .rec-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.rec-thumb img { transition: transform .6s var(--ease); }
.rec-thumb:hover img { transform: scale(1.04); }
.rec-thumb .play { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.6); display: grid; place-items: center; }
.rec-thumb .play::before { content: ""; border-left: 11px solid #fff; border-block: 7px solid transparent; margin-left: 3px; }
.rec-title { font: 600 19px/1.2 var(--serif); letter-spacing: -.005em; }
.rec-meta { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; gap: 6px 10px; flex-wrap: wrap; align-items: center; }
.rec-meta .need { color: var(--warning); font-weight: 700; }
.rec-meta .ok { color: var(--success); font-weight: 700; }
.mini { min-height: 30px; padding: 0 12px; font-size: 12.5px; border-radius: 999px; border: 0; font-weight: 800; background: var(--accent); color: #fff; }
.mini:disabled { background: var(--subtle); color: var(--muted); cursor: default; }
.recipes-foot { display: grid; justify-items: start; gap: 10px; }
.recipes-empty { grid-column: 1 / -1; padding: 30px 0; color: var(--muted); }

@media (max-width: 960px) {
  .cook { grid-template-columns: minmax(0, 1fr); }
  .pantry { position: static; }
}
@media (max-width: 560px) {
  .recipes { grid-template-columns: 1fr; gap: 14px; }
  .rec { grid-template-columns: 128px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; }
  .rec-thumb { grid-row: span 2; border-radius: 12px; }
  .rec-thumb .play { width: 26px; height: 26px; left: 6px; bottom: 6px; }
  .rec-thumb .play::before { border-left-width: 8px; border-block-width: 5px; }
  .rec-title { font-size: 17px; }
  .food img { width: 42px; height: 42px; }
  .food span { font-size: 11px; }
}

/* III. import */
.import { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pills-stack { margin-bottom: 26px; }
.import-steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.import-steps li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--muted); transition: color .3s; }
.import-steps li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); }
.import-steps li.doing { color: var(--ink); }
.import-steps li.doing::before { box-shadow: inset 0 0 0 2px var(--accent); border-top-color: transparent; animation: spin 1s linear infinite; background: conic-gradient(var(--accent) 0 25%, transparent 0); -webkit-mask: radial-gradient(circle, transparent 7px, #000 7.5px); mask: radial-gradient(circle, transparent 7px, #000 7.5px); }
.import-steps li.done { color: var(--ink); }
.import-steps li.done::before { box-shadow: none; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
.import-steps li.skipped { color: var(--muted); }
.import-steps li.skipped::before { box-shadow: none; background: var(--subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8h7' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100%; }
@keyframes spin { to { transform: rotate(1turn); } }

.import-stage { display: grid; gap: 14px; }
.link-field { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; overflow: hidden; white-space: nowrap; }
.link-field svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.link-field span { overflow: hidden; text-overflow: clip; }
.caret { width: 2px; height: 20px; background: var(--accent); flex: none; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.recipe-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); overflow: hidden; transition: opacity .4s, transform .5s var(--ease); }
.recipe-card.hidden { opacity: 0; transform: translateY(14px); }
.rc-art { position: relative; min-height: 300px; background: var(--subtle); overflow: hidden; }
.rc-art::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(78%, 280px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.45); }
.rc-art img { position: absolute; width: 38%; height: auto; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.14)); animation: float 6s ease-in-out infinite; }
.rc-art img:nth-child(1) { left: 16%; top: 28%; }
.rc-art img:nth-child(2) { right: 14%; top: 34%; animation-delay: -2s; }
.rc-art img:nth-child(3) { left: 33%; top: 52%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(2deg); } }
.rc-body { padding: 22px clamp(16px, 2.4vw, 28px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.rc-title { font: 600 clamp(26px, 3vw, 34px)/1.1 var(--serif); letter-spacing: -.015em; }
.rc-ledger { border-block: 1px solid var(--line); padding: 10px 0; }
.rc-fig { font: 500 30px/1 var(--serif); }
.rc-lines { display: grid; }
.rc-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--subtle); font-size: 14.5px; animation: in .4s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.rc-lines .m { color: var(--muted); font-size: 13px; }
.rc-lines .s { font-size: 12px; font-weight: 800; min-width: 58px; text-align: right; }
.rc-lines .have { color: var(--success); }
.rc-lines .need { color: var(--warning); }
.rc-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.rc-saved { opacity: 0; transition: opacity .3s; }
.rc-saved.on { opacity: 1; }

@media (max-width: 960px) { .import { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) {
  .recipe-card { grid-template-columns: minmax(0, 1fr); }
  .rc-art { min-height: 190px; }
  .rc-art::before { width: 170px; }
  .rc-art img { width: 32%; }
}

/* IV. log */
.log { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.plate-wrap { position: relative; display: grid; gap: 12px; }
.photo-frame { position: relative; width: 100%; max-width: 540px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 50px -28px rgba(40,30,20,.45); }
.plate-photo { width: 100%; height: auto; display: block; }
.plate g[data-food] { transition: opacity .3s, filter .3s; }
.plate.focusing g[data-food] { opacity: .45; }
.plate.focusing g[data-food].focus { opacity: 1; }
.photo-frame .scan-band { position: absolute; left: 0; right: 0; top: 0; height: 22%; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(197,63,46,.12) 70%, rgba(197,63,46,.5) 97%, transparent); }
.pins { position: absolute; inset: 0; pointer-events: none; }
.pin { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 0; pointer-events: auto;
  background: var(--ink); color: #fff; font: 800 13px/30px var(--sans); text-align: center; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0,0,0,.25);
  transform: scale(0); transition: transform .45s var(--ease), background .2s; }
.pin.in { transform: scale(1); }
.pin.focus { background: var(--accent); transform: scale(1.2); }
.pin.off { background: #fff; color: var(--muted); box-shadow: 0 0 0 2px var(--line), 0 6px 14px rgba(0,0,0,.15); }

.log-card { padding: 22px clamp(16px, 2.4vw, 28px); }
.log-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.log-total .figure-num { font-size: clamp(56px, 7vw, 88px); }
.log-rows li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 70px; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); transition: background .2s; border-radius: 6px; }
.log-rows li.focus { background: var(--subtle); }
.js .log-rows li { opacity: 0; transform: translateY(8px); }
.js .log-rows li.in { opacity: 1; transform: none; transition: opacity .4s, transform .5s var(--ease), background .2s; }
.l-n { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 11px/22px var(--sans); text-align: center; }
.l-n.off { background: var(--subtle); color: var(--muted); }
.l-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.l-name small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.l-g { display: inline-flex; align-items: center; gap: 4px; }
.l-g button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--subtle); font-weight: 800; font-size: 16px; line-height: 1; }
.l-g button:hover { background: var(--chip-on); }
.l-g output { min-width: 50px; text-align: center; font-weight: 700; font-size: 14px; }
.l-k { text-align: right; font-weight: 800; font-size: 15px; white-space: nowrap; }
.l-k.off { font-weight: 600; font-size: 12px; color: var(--muted); }
.macros { display: grid; gap: 10px; margin: 16px 0 12px; }
.macro { display: grid; grid-template-columns: 70px 1fr 56px; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.macro .bar { height: 3px; background: var(--subtle); border-radius: 3px; overflow: hidden; }
.macro .bar i { display: block; height: 100%; background: var(--ink); width: var(--w, 0%); transition: width .6s var(--ease); }
.macro b { text-align: right; }

@media (max-width: 900px) { .log { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) {
  .log-rows li { grid-template-columns: 22px minmax(0, 1fr) auto 64px; gap: 6px; }
  .l-g output { min-width: 40px; font-size: 13px; }
  .l-g button { width: 26px; height: 26px; }
  .l-k { font-size: 13.5px; }
  .l-k.off { white-space: normal; }
}

/* III. count */
.tally { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(56px, 8vw, 96px); }
.qlog { padding: 22px clamp(16px, 2.4vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.qlog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.qlog-field { display: flex; gap: 8px; align-items: center; }
.qlog-field input { flex: 1; min-width: 0; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--subtle); font: 600 16px var(--sans); color: var(--ink); }
.qlog-field input:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.mic { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; position: relative; }
.mic svg { width: 20px; height: 20px; }
.mic.on { background: var(--accent); color: #fff; box-shadow: none; }
.mic.on::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 1s var(--ease) infinite; }
.qlog-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qlog-chips .pill { min-height: 34px; font-size: 13px; padding: 0 12px; }
.today { border-top: 1px solid var(--ink); padding-top: 12px; display: grid; gap: 6px; }
.today-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.today-total .figure-num { font-size: clamp(52px, 6vw, 76px); }
.today-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.today-rows li.fresh { animation: in .45s var(--ease) both; background: linear-gradient(90deg, #FBEFEC, transparent 70%); }
.t-name { font-weight: 700; font-size: 15px; }
.t-name small { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.t-k { font-weight: 800; font-size: 15px; white-space: nowrap; }
.t-k.off { font-weight: 600; font-size: 12.5px; color: var(--muted); }
.t-x { width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; }
.t-x:hover { background: var(--subtle); color: var(--ink); }
.nutrients { display: grid; gap: 8px; margin-top: 8px; }
.ways { display: grid; counter-reset: w; border-top: 1px solid var(--ink); }
.ways li { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ways li::before { counter-increment: w; content: counter(w); grid-row: span 2; font: 500 26px/1 var(--serif); color: var(--accent); }
.ways b { font: 600 20px/1.2 var(--serif); }
.ways span { font-size: 15px; color: #33312E; }
.sub-head { font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--serif); letter-spacing: -.01em; margin-bottom: 20px; }
.week { margin-top: clamp(56px, 8vw, 96px); }
.week-head { display: grid; gap: 4px; margin-bottom: 20px; }
.week-head .sub-head { margin: 0; }
.week-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.week-card { padding: 20px clamp(16px, 2.4vw, 26px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; min-width: 0; }
.wb-plot { position: relative; height: 220px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; padding-bottom: 22px; }
.wb-col { position: relative; height: 100%; display: grid; align-items: end; }
.wb-bar { position: relative; display: block; height: var(--h); background: var(--ink); border-radius: 6px 6px 2px 2px; transform-origin: bottom; }
.js .week:not(.shown) .wb-bar { transform: scaleY(0); }
.wb-bar { transition: transform .9s var(--ease); }
.wb-col:nth-child(3) .wb-bar { transition-delay: .06s; } .wb-col:nth-child(4) .wb-bar { transition-delay: .12s; } .wb-col:nth-child(5) .wb-bar { transition-delay: .18s; }
.wb-col:nth-child(6) .wb-bar { transition-delay: .24s; } .wb-col:nth-child(7) .wb-bar { transition-delay: .3s; } .wb-col:nth-child(8) .wb-bar { transition-delay: .36s; }
.wb-bar.none { background: none; border: 1.5px dashed #CFC8BB; }
.wb-bar b { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.wb-day { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.wb-avg { position: absolute; left: 0; right: 0; bottom: calc(22px + (100% - 22px) * var(--y)); border-top: 1.5px dashed var(--accent); z-index: 1; pointer-events: none; }
.wb-key { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.wb-dash { width: 22px; border-top: 2px dashed var(--accent); }
.wb-gap { width: 10px; }
.slots { display: grid; gap: 8px; }
.slot-row { display: grid; grid-template-columns: 76px repeat(7, 1fr); gap: 6px; align-items: center; }
.slot-name { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sq { aspect-ratio: 1; border-radius: 7px; max-width: 30px; }
.sq.home { background: var(--ink); }
.sq.out { background: var(--surface); box-shadow: inset 0 0 0 3px var(--accent); }
.sq.none { border: 1.5px dashed #CFC8BB; }
.sq-day { font-size: 11px; font-weight: 700; color: var(--muted); max-width: 30px; text-align: center; }
.slots-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.slots-key span { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.slots-key .k-home { background: var(--ink); } .slots-key .k-out { box-shadow: inset 0 0 0 2px var(--accent); } .slots-key .k-none { border: 1.5px dashed #CFC8BB; }
@media (max-width: 900px) { .tally, .week-grid { grid-template-columns: minmax(0, 1fr); } }

/* V. shop */
.shop { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.list-card { padding: 20px clamp(16px, 2.4vw, 26px); display: grid; gap: 14px; }
.list-add { display: flex; gap: 8px; }
.list-add input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--subtle); font: 600 15px var(--sans); color: var(--ink); }
.list-add input:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.list li { display: grid; grid-template-columns: 30px 44px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); animation: in .35s var(--ease) both; }
.list .check { width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; box-shadow: inset 0 0 0 1.5px #C9C3B8; transition: background .2s; }
.list .check:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.list li.got .check { background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; box-shadow: none; }
.list img, .list .initial { width: 44px; height: 44px; object-fit: contain; }
.list .initial { display: grid; place-items: center; border-radius: 50%; background: var(--subtle); font: 600 18px var(--serif); color: var(--muted); }
.list .li-name { font-weight: 700; }
.list .li-name small { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.list li.got .li-name { color: var(--muted); text-decoration: line-through; text-decoration-color: #C9C3B8; }
.list li.leaving { animation: out .45s var(--ease) forwards; }
@keyframes out { to { opacity: 0; transform: translateX(30px); } }
.empty { display: none; padding: 8px 0; }
.empty.on { display: block; }

.nfc { display: grid; gap: 12px; justify-items: start; }
.nfc-art { position: relative; width: 100%; height: 220px; border-radius: var(--radius); background: var(--subtle); overflow: hidden; margin-bottom: 8px; }
.jar { position: absolute; left: 22%; top: 50%; transform: translateY(-50%); display: grid; justify-items: center; }
.jar img { width: 120px; height: 120px; object-fit: contain; }
.tag { margin-top: -10px; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px rgba(0,0,0,.1); display: grid; place-items: center; font: 800 12px var(--sans); position: relative; }
.tag::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.tag.ping::after { animation: ping 1s var(--ease) 2; }
@keyframes ping { from { opacity: .9; transform: scale(.9); } to { opacity: 0; transform: scale(1.8); } }
.phone-edge { position: absolute; right: -30px; top: 30px; width: 150px; height: 300px; border-radius: 34px; background: var(--ink); box-shadow: inset 0 0 0 6px #2a2a2a; transition: transform .6s var(--ease); }
.phone-edge::before { content: ""; position: absolute; inset: 12px; border-radius: 24px; background: linear-gradient(160deg, #FAF8F4, #F2EFE9); }
.phone-edge.tap { transform: translateX(-110px) rotate(-8deg); }

@media (max-width: 900px) { .shop { grid-template-columns: minmax(0, 1fr); } }

/* close + footer */
.close { max-width: var(--max); margin: clamp(90px, 12vw, 150px) auto 0; padding: clamp(40px, 6vw, 72px) var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 32px; border-top: 1px solid var(--ink); }
.close-copy { display: grid; gap: 20px; justify-items: start; }
.close .display { font-size: clamp(44px, 7vw, 100px); }

.foot { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 110px; display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; align-items: center; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 10px; font: 600 18px var(--serif); }
.foot-brand img { border-radius: 7px; }
.foot-links { display: flex; gap: 6px 22px; justify-content: flex-end; flex-wrap: wrap; font-weight: 700; font-size: 14px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot .fine { grid-column: 1 / -1; }
@media (max-width: 640px) { .foot { grid-template-columns: minmax(0, 1fr); } .foot-links { justify-content: flex-start; } }

/* the dock */
.dock {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 85;
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(11,11,11,.92); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
  transform: translate(-50%, 140%); transition: transform .5s var(--ease);
}
.dock.on { transform: translate(-50%, 0); }
.dock a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 14px 6px 6px; border-radius: 999px; white-space: nowrap; }
.dock a:hover { background: rgba(255,255,255,.1); }
.dock-list { padding-left: 14px !important; border-left: 1px solid rgba(255,255,255,.18); border-radius: 0 999px 999px 0 !important; }
.dock-faces { display: flex; }
.dock-faces img { width: 32px; height: 32px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; box-shadow: 0 0 0 2px #0B0B0B; }
.dock-faces img + img { margin-left: -10px; }
.dock.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: translate(-50%, -8px) scale(1.04); } }

/* ------------------------------------------------------------ reduce motion */
.still *, .still *::before, .still *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ticker-track { animation: none; }
  .loop-dot { display: none; }
  .numeral { animation: none; }
}
