/* Yum — "Market" brand (docs/BRAND.md)
   Layout: every section sits on its own ground (plate, tint, full colour, aubergine) so the page never reads empty;
   photo-led cards; mega menu; recipe pages tinted by the dish's own palette. */
:root {
  --chili: #FF3D2E; --chili-ink: #D92617; --chili-soft: #FFE6E1;
  --saffron: #FFB703; --saffron-soft: #FFF2CC;
  --basil: #16A05A; --basil-ink: #0E7A43; --basil-soft: #DDF5E6;
  --mango: #FF8A1F; --mango-soft: #FFE8D2;
  --beet: #D81B60; --beet-soft: #FCE1EC;
  --berry: #4C3CC9; --berry-soft: #E7E4FF;
  --aub: #2A1240; --aub-2: #3A1D55;
  --ink: #1E1428; --ink-2: #5B4F66; --ink-3: #8D8296;
  --plate: #FFFCF7; --card: #FFFFFF; --line: #EEE6EF; --sunk: #F7F1F5;
  --on-color: #FFFFFF;
  --shadow: 0 1px 2px rgb(42 18 64 / .06), 0 10px 30px -14px rgb(42 18 64 / .22);
  --shadow-lg: 0 2px 6px rgb(42 18 64 / .08), 0 30px 70px -28px rgb(42 18 64 / .45);
  --f-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans CJK SC", "Malgun Gothic", "Microsoft YaHei", sans-serif;
  --f-logo: "Bagel Fat One", "Bricolage Grotesque", system-ui, sans-serif;
  --r-xl: 28px; --r: 18px; --r-sm: 12px; --max: 1320px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --chili: #FF5546; --chili-ink: #FF7A6E; --chili-soft: #3A1520;
  --saffron: #FFC233; --saffron-soft: #3A2A0E;
  --basil: #2DC775; --basil-ink: #5BE09A; --basil-soft: #10301F;
  --mango: #FF9A3D; --mango-soft: #3A2214;
  --beet: #F0447F; --beet-soft: #3A1226;
  --berry: #8F84FF; --berry-soft: #241D4D;
  --aub: #120A1A; --aub-2: #1C1128;
  --ink: #F7F0FA; --ink-2: #C7BAD0; --ink-3: #998CA3;
  --plate: #1A1022; --card: #241632; --line: #36254A; --sunk: #20142C;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -14px rgb(0 0 0 / .7);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / .3), 0 30px 70px -28px rgb(0 0 0 / .9);
  color-scheme: dark;
} }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--plate); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; font-family: var(--f-display); letter-spacing: -.03em; }
h1 { font-weight: 800; font-size: clamp(2.3rem, 6vw, 4.6rem); }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-weight: 700; font-size: 1.15rem; letter-spacing: -.015em; }
p { margin: 0; }
:lang(zh) :is(h1,h2,h3,h4), :lang(ja) :is(h1,h2,h3,h4), :lang(ko) :is(h1,h2,h3,h4) { letter-spacing: 0; font-family: var(--f-body); font-weight: 800; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--plate); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.muted { color: var(--ink-2); }
.fine { font-size: .8rem; color: var(--ink-3); }
.sel { user-select: all; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { display: inline-flex; gap: .5em; align-items: center; font: 800 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--chili-ink); }
.eyebrow a { text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }

/* sections = colour bands */
main { display: block; }
.band { padding-block: clamp(44px, 7vw, 88px); }
.band--tight { padding-block: clamp(28px, 4vw, 48px); }
.band > .wrap { display: flex; flex-direction: column; gap: 28px; }
.bg-plate { background: var(--plate); }
.bg-chili { background: var(--chili); color: var(--on-color); }
.bg-saffron { background: var(--saffron); color: #1E1428; }
.bg-basil { background: var(--basil); color: var(--on-color); }
.bg-mango { background: var(--mango); color: #1E1428; }
.bg-beet { background: var(--beet); color: var(--on-color); }
.bg-berry { background: var(--berry); color: var(--on-color); }
.bg-aub { background: var(--aub); color: #F7F0FA; }
.bg-chili-soft { background: var(--chili-soft); }
.bg-saffron-soft { background: var(--saffron-soft); }
.bg-basil-soft { background: var(--basil-soft); }
.bg-mango-soft { background: var(--mango-soft); }
.bg-beet-soft { background: var(--beet-soft); }
.bg-berry-soft { background: var(--berry-soft); }
.bg-aub .muted, .bg-chili .muted, .bg-basil .muted, .bg-beet .muted, .bg-berry .muted { color: rgb(255 255 255 / .8); }
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sec-h p { max-width: 60ch; font-size: 1.05rem; }
.sec-h > div { display: flex; flex-direction: column; gap: 8px; }

/* buttons, pills, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 2px solid transparent; border-radius: 999px; padding: .8em 1.3em; font-weight: 800; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s, box-shadow .15s; line-height: 1.1; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--chili { background: var(--chili); color: #fff; box-shadow: 0 10px 24px -10px var(--chili); }
.btn--chili:hover { background: var(--chili-ink); }
.btn--ink { background: var(--ink); color: var(--plate); }
.btn--white { background: #fff; color: #1E1428; }
.btn--ghost { background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); }
.bg-aub .btn--ghost, .bg-chili .btn--ghost, .bg-berry .btn--ghost { border-color: rgb(255 255 255 / .4); color: #fff; }
.btn--sm { padding: .55em 1em; font-size: .85rem; }
.btn--icon { padding: .75em; }
.btn--block { width: 100%; }
.btn--timer { background: var(--saffron-soft); color: var(--ink); }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline-flex; gap: .3em; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .35em; font-size: .78rem; font-weight: 700; padding: .35em .75em; border-radius: 999px; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.pill .ic { width: 1em; height: 1em; }
.pill--vegan, .pill--vegetarian, .pill--health { background: var(--basil-soft); color: var(--basil-ink); }
.pill--gluten-free, .pill--dairy-free { background: var(--saffron-soft); color: var(--ink); }
.pill--warn { background: var(--mango-soft); color: var(--ink); }
.pill--temp { background: var(--chili-soft); color: var(--chili-ink); }
.pill--kcal { background: var(--chili); color: #fff; }
.chip { border: 2px solid var(--line); background: var(--card); border-radius: 999px; padding: .55em 1.05em; font-size: .9rem; font-weight: 700; cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; text-align: left; }
.chip:hover { border-color: var(--chili); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--chili); color: #fff; border-color: var(--chili); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ticker */
.ticker { background: var(--aub); color: #F7F0FA; overflow: hidden; font-weight: 700; font-size: .85rem; }
.ticker__track { display: flex; gap: 40px; width: max-content; padding-block: 9px; animation: marquee 48s linear infinite; }
.ticker__track span { display: inline-flex; gap: .6em; align-items: center; white-space: nowrap; }
.ticker__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* header + mega menu */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--plate); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--plate); }
.top__in { display: flex; align-items: center; gap: 18px; padding-block: 12px; }
.logo { font: 400 2rem/1 var(--f-logo); letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--saffron); }
.logo--xl { font-size: clamp(4rem, 12vw, 9rem); }
.nav { display: flex; gap: 2px; margin-left: 8px; align-items: center; }
.nav__a { display: inline-flex; align-items: center; gap: .45em; padding: .6em .95em; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.nav__a:hover, .nav__a[aria-expanded="true"] { color: var(--ink); background: var(--sunk); }
.nav__a[aria-current="page"] { color: var(--chili-ink); }
.nav__a .chev { width: .9em; height: .9em; transition: transform .2s; }
.nav__a[aria-expanded="true"] .chev { transform: rotate(180deg); }
.top__right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.lang { position: relative; }
.lang__btn { display: inline-flex; gap: .4em; align-items: center; border: 2px solid var(--line); background: var(--card); border-radius: 999px; padding: .45em .85em; font-weight: 800; font-size: .82rem; cursor: pointer; }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); list-style: none; margin: 0; padding: 8px; min-width: 200px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; z-index: 60; }
.lang__list a { display: block; padding: .5em .8em; border-radius: 10px; text-decoration: none; font-weight: 600; }
.lang__list a:hover, .lang__list a[aria-current] { background: var(--sunk); }
.lang__list a[aria-current] { color: var(--chili-ink); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 50; }
.mega__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 32px; padding-block: 28px 32px; }
.mega__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mega__col h4 { font: 800 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.mega__links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.mega__links a, .mega__list a { display: flex; align-items: center; gap: .55em; text-decoration: none; font-weight: 600; padding: .35em 0; border-radius: 8px; }
.mega__links a:hover, .mega__list a:hover { color: var(--chili-ink); }
.mega__links .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.mega__links small { color: var(--ink-3); font-weight: 600; }
.mega__list { display: flex; flex-direction: column; }
.mega__feat { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 260px; text-decoration: none; color: #fff; display: flex; align-items: flex-end; background: var(--c1, var(--chili)); }
.mega__feat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mega__feat:hover > img { transform: scale(1.05); }
.mega__feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(20 8 30 / .85)); }
.mega__feat > span { position: relative; z-index: 1; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.mega__feat b { font: 800 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; }
.burger { display: none; }
@media (max-width: 1020px) {
  .nav, .top__cta { display: none; }
  .burger { display: inline-flex; }
  .mega { position: fixed; inset: 0; top: 0; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); }
  .mega__in { grid-template-columns: 1fr; gap: 24px; padding-block: 20px 120px; }
  .mega__close { display: inline-flex !important; }
}
.mega__close { display: none; align-self: flex-end; }
.tabbar { display: none; }
@media (max-width: 860px) {
  .tabbar { display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; justify-content: space-around; background: var(--card); border-top: 1px solid var(--line); padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); box-shadow: 0 -10px 30px -18px rgb(42 18 64 / .35); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; font-size: .68rem; font-weight: 700; color: var(--ink-2); padding: .4em .2em; border-radius: 12px; text-align: center; }
  .tabbar a .ic { width: 1.45em; height: 1.45em; }
  .tabbar a[aria-current="page"] { color: var(--chili); }
  .tabbar a.tabbar__ask { color: #fff; background: var(--chili); margin-top: -18px; border-radius: 18px; box-shadow: 0 10px 20px -8px var(--chili); }
  body { padding-bottom: 76px; }
}
.langbar { background: var(--berry); color: #fff; }
.langbar__in { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: .92rem; padding-block: 10px; font-weight: 600; }
.notice { background: var(--saffron-soft); border-radius: var(--r-sm); padding: 12px 16px; font-size: .92rem; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--plate); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero__blob--1 { width: 520px; height: 520px; background: var(--saffron-soft); top: -160px; left: -120px; }
.hero__blob--2 { width: 460px; height: 460px; background: var(--chili-soft); bottom: -200px; right: 30%; }
.hero__blob--3 { width: 380px; height: 380px; background: var(--basil-soft); top: 10%; right: -120px; }
@media (prefers-reduced-motion: no-preference) { .hero__blob { animation: float 18s ease-in-out infinite alternate; } .hero__blob--2 { animation-delay: -6s; } .hero__blob--3 { animation-delay: -12s; } }
@keyframes float { to { transform: translate(40px, 30px) scale(1.08); } }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 5vw, 64px); }
@media (max-width: 1020px) { .hero__in { grid-template-columns: 1fr; } }
.hero__txt { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero__h { display: flex; flex-direction: column; }
.hero__dish { color: var(--chili); display: inline-block; min-height: 1.05em; }
.hero__dish.is-out { opacity: 0; transform: translateY(.2em) rotate(-2deg); }
@media (prefers-reduced-motion: no-preference) { .hero__dish { transition: opacity .35s, transform .35s; } }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 56ch; }
.mosaic { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 12px; aspect-ratio: 1; min-width: 0; }
.mosaic a { position: relative; border-radius: 22px; overflow: hidden; background: var(--c1, var(--sunk)); box-shadow: var(--shadow); }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; border-radius: 30px; }
.mosaic a > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .6s; }
.mosaic a:hover > img { transform: scale(1.06); }
.mosaic__tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; background: rgb(255 255 255 / .92); color: #1E1428; border-radius: 999px; padding: .3em .7em; font-size: .75rem; font-weight: 800; display: inline-flex; gap: .4em; }
.mosaic__tag b { color: var(--chili-ink); }
.mosaic__badge { position: absolute; z-index: 2; background: var(--card); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: .9rem; }
.mosaic__badge .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; }
.mosaic__badge--a { left: -14px; top: 18%; } .mosaic__badge--a .ic { background: var(--basil); }
.mosaic__badge--b { right: -10px; bottom: 30%; } .mosaic__badge--b .ic { background: var(--chili); }
@media (prefers-reduced-motion: no-preference) { .mosaic__badge { animation: bob 5s ease-in-out infinite alternate; } .mosaic__badge--b { animation-delay: -2.5s; } }
@keyframes bob { to { transform: translateY(-10px); } }
@media (max-width: 600px) { .mosaic__badge { display: none; } }

/* chat */
.chat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: clamp(12px, 2vw, 18px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.chat__log { display: flex; flex-direction: column; gap: 18px; max-height: min(62vh, 720px); overflow-y: auto; overscroll-behavior: contain; padding: 4px; }
.chat__log:empty { display: none; }
.msg { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.msg__av { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font: 400 1.05rem/1 var(--f-logo); background: var(--chili); color: #fff; }
.msg--user { flex-direction: row-reverse; }
.msg--user .msg__av { background: var(--berry-soft); color: var(--berry); font: 800 .85rem/1 var(--f-body); }
.msg__b { min-width: 0; max-width: min(780px, 100%); display: flex; flex-direction: column; gap: 10px; }
.msg--user .msg__b { background: var(--ink); color: var(--plate); padding: 10px 16px; border-radius: 20px 20px 6px 20px; }
.msg--assistant .msg__t { background: var(--sunk); padding: 14px 18px; border-radius: 6px 20px 20px 20px; }
.msg__t { line-height: 1.65; overflow-wrap: anywhere; }
.msg__t p + p, .msg__t ul, .msg__t ol, .msg__t h4 { margin-top: .6em; }
.msg__t ul, .msg__t ol { padding-left: 1.3em; margin-bottom: 0; }
.msg__t li + li { margin-top: .3em; }
.msg__t li::marker { color: var(--chili); font-weight: 800; }
.msg__t h4 { font-size: 1.05rem; color: var(--chili-ink); }
.msg__t strong { font-weight: 800; }
.msg__t a[data-ref] { color: var(--chili-ink); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.msg__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.msg__next { display: flex; gap: 8px; flex-wrap: wrap; }
.msg__next .chip { font-size: .85rem; border-color: var(--chili-soft); background: var(--chili-soft); }
.msg__note { font-size: .82rem; color: var(--ink-3); }
.cursor { display: inline-block; width: .55em; height: 1.1em; background: var(--chili); border-radius: 2px; vertical-align: -.15em; margin-left: 2px; animation: blinkc 1s steps(2) infinite; }
@keyframes blinkc { 50% { opacity: 0; } }
.typing { display: inline-flex; gap: 5px; padding: 8px 0; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--chili); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; background: var(--saffron); } .typing i:nth-child(3) { animation-delay: .3s; background: var(--basil); }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chat__chips .chip:nth-child(6n+1):hover { border-color: var(--chili); } .chat__chips .chip:nth-child(6n+2):hover { border-color: var(--basil); } .chat__chips .chip:nth-child(6n+3):hover { border-color: var(--saffron); } .chat__chips .chip:nth-child(6n+4):hover { border-color: var(--beet); }
.chat__form { display: flex; gap: 10px; align-items: flex-end; background: var(--sunk); border-radius: 22px; padding: 8px 8px 8px 18px; border: 2px solid transparent; transition: border-color .15s, box-shadow .15s; }
.chat__form:focus-within { border-color: var(--chili); box-shadow: 0 0 0 6px var(--chili-soft); }
.chat__form textarea { flex: 1; min-width: 0; border: 0; background: transparent; resize: none; padding: 10px 0; font-size: 1.05rem; line-height: 1.45; max-height: 220px; outline: none; }
.chat__send { flex: none; width: 50px; height: 50px; border-radius: 16px; border: 0; background: var(--chili); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .12s, background-color .15s; }
.chat__send:hover { background: var(--chili-ink); transform: rotate(-8deg); }
.chat__send:disabled { opacity: .45; cursor: default; transform: none; }
.chat__send .ic { width: 22px; height: 22px; }
.chat__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .76rem; color: var(--ink-3); }

/* marquee of cuisines */
.cmarq { overflow: hidden; background: var(--saffron); padding-block: 14px; }
.cmarq__track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.cmarq:hover .cmarq__track { animation-play-state: paused; }
.cmarq a { display: inline-flex; align-items: center; gap: .6em; background: #fff; color: #1E1428; text-decoration: none; padding: .55em 1.1em .55em .55em; border-radius: 999px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 16px -10px rgb(0 0 0 / .4); }
.cmarq a img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--c1); }
@media (prefers-reduced-motion: reduce) { .ticker__track, .cmarq__track { animation: none; flex-wrap: wrap; width: auto; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font-weight: 700; font-size: .92rem; opacity: .9; }

/* recipe cards */
.rcard { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--card); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; min-width: 0; }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rcard__media { position: relative; aspect-ratio: 4 / 3.4; background: var(--c1, var(--sunk)); overflow: hidden; }
.rcard__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.rcard:hover .rcard__media > img { transform: scale(1.06); }
.rcard__kcal { position: absolute; z-index: 1; top: 12px; left: 12px; background: var(--chili); color: #fff; border-radius: 999px; padding: .3em .75em; font: 800 .8rem/1.2 var(--f-body); box-shadow: 0 6px 14px -6px rgb(0 0 0 / .4); font-variant-numeric: tabular-nums; }
.rcard__diet { position: absolute; z-index: 1; top: 12px; right: 12px; background: var(--basil); color: #fff; border-radius: 999px; padding: .3em .7em; font-size: .74rem; font-weight: 800; }
.rcard__body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rcard__meta { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.rcard__meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--c2, var(--chili)); display: inline-block; }
.rcard__title { font: 800 1.22rem/1.15 var(--f-display); letter-spacing: -.02em; }
:lang(zh) .rcard__title, :lang(ja) .rcard__title, :lang(ko) .rcard__title { font-family: var(--f-body); }
.rcard__sub { font-size: .9rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__facts { margin-top: auto; padding-top: 8px; display: flex; gap: 14px; font-size: .86rem; color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.rcard__facts span { display: inline-flex; gap: .35em; align-items: center; }
.rcard--lg { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.rcard--lg .rcard__media { aspect-ratio: auto; min-height: 380px; }
.rcard--lg .rcard__body { padding: clamp(22px, 3.5vw, 44px); justify-content: center; gap: 14px; }
.rcard--lg .rcard__title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.rcard--lg .rcard__sub { -webkit-line-clamp: 3; font-size: 1.08rem; }
.rcard--lg .rcard__facts { font-size: 1rem; }
.rcard--lg .rcard__cta { align-self: flex-start; margin-top: 6px; }
@media (max-width: 760px) { .rcard--lg { grid-template-columns: 1fr; } .rcard--lg .rcard__media { min-height: 0; aspect-ratio: 4 / 3; } }
.rcard--sm .rcard__sub { display: none; }
.rcard--sm .rcard__title { font-size: 1.05rem; }
.rcard--sm .rcard__body { padding: 12px 14px 14px; }

.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin-inline: -4px; scrollbar-width: thin; }
.shelf > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.more { display: inline-flex; align-items: center; gap: .35em; font-weight: 800; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.bg-plate .more, .bg-chili-soft .more, .bg-saffron-soft .more, .bg-basil-soft .more, .bg-mango-soft .more, .bg-beet-soft .more, .bg-berry-soft .more { color: var(--chili-ink); }
.empty { color: var(--ink-2); padding: 24px 0; }

/* tiles (categories) */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 14px; }
.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; text-decoration: none; color: #fff; display: flex; align-items: flex-end; padding: 18px; isolation: isolate; transition: transform .25s; }
.tile:hover { transform: translateY(-3px) rotate(-.4deg); }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tile:hover > img { transform: scale(1.07); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / .55)); }
.tile b { font: 800 1.35rem/1.1 var(--f-display); letter-spacing: -.02em; }
.tile small { display: block; font-weight: 700; opacity: .9; }
.tile--a { grid-column: span 2; grid-row: span 2; } .tile--a b { font-size: 2rem; }
.tile--b { grid-column: span 2; } .tile--c { grid-column: span 2; }
.tile--solid::after { display: none; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } .tile--a { grid-column: span 2; } .tile--b, .tile--c { grid-column: span 1; } }

/* how it works */
.steps3 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .steps3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps3 { grid-template-columns: 1fr; } }
.step3 { border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.step3 .ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: rgb(255 255 255 / .25); }
.step3 h3 { font-size: 1.3rem; }
.step3 p { opacity: .9; }

/* world strip */
.cuisines { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cuisine { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 999px; background: var(--card); text-decoration: none; font-weight: 800; box-shadow: var(--shadow); transition: transform .2s; }
.cuisine:hover { transform: translateY(-2px); }
.cuisine img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--c1); flex: none; }
.cuisine__n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cuisine__c { font: 800 .8rem/1 var(--f-display); color: #fff; background: var(--chili); border-radius: 999px; padding: .35em .6em; }

/* promo band */
.promo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } }
.promo__txt { display: flex; flex-direction: column; gap: 16px; }
.promo__txt p { font-size: 1.1rem; }
.promo__ring { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.promo__ring div { background: rgb(255 255 255 / .14); border-radius: var(--r); padding: 18px; }
.promo__ring b { font: 800 2rem/1 var(--f-display); display: block; }

/* page header */
.page-h { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.page-h p { font-size: 1.12rem; opacity: .92; }

/* filters */
.filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; align-items: end; }
.filters__bar { display: flex; gap: 16px; align-items: center; }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 0 14px; min-width: 0; }
.search input { border: 0; background: transparent; outline: none; padding: 12px 0; flex: 1; min-width: 0; }
.search:focus-within { border-color: var(--chili); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.field select, .field input { width: 100%; background: var(--card); color: var(--ink); border: 2px solid var(--line); border-radius: 14px; padding: 11px 12px; min-width: 0; }
.field select:focus, .field input:focus { border-color: var(--chili); outline: none; }

/* recipe page */
.rhero { position: relative; color: #fff; background: var(--d1, var(--aub)); overflow: hidden; isolation: isolate; }
.rhero__img { position: absolute; inset: 0; z-index: -2; }
.rhero__img img { width: 100%; height: 100%; object-fit: cover; }
.rhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(20 8 30 / .88) 0%, rgb(20 8 30 / .6) 45%, rgb(20 8 30 / .05) 100%); }
@media (max-width: 860px) { .rhero::after { background: linear-gradient(180deg, rgb(20 8 30 / .15) 0%, rgb(20 8 30 / .9) 62%); } }
.rhero__in { min-height: min(78vh, 680px); display: flex; align-items: flex-end; padding-block: 48px; }
.rhero__txt { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.rhero .eyebrow { color: var(--saffron); }
.rhero__sub { font-size: 1.2rem; font-weight: 600; opacity: .95; }
.rhero__sum { opacity: .88; max-width: 58ch; }
.rhero .pill { background: rgb(255 255 255 / .16); color: #fff; backdrop-filter: blur(6px); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.fact { background: rgb(255 255 255 / .14); backdrop-filter: blur(8px); border-radius: 16px; padding: 10px 14px; min-width: 96px; }
.fact dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; opacity: .8; }
.fact dd { margin: 2px 0 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.fact--kcal { background: var(--chili); }
.fact--kcal dd b { font: 800 2rem/1 var(--f-display); }
.fact--kcal small { display: block; font-weight: 600; opacity: .85; font-size: .78rem; }
.rhead__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }

.rbody { display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: clamp(20px, 4vw, 52px); align-items: start; }
@media (max-width: 980px) { .rbody { grid-template-columns: 1fr; } }
.rside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; min-width: 0; }
@media (max-width: 980px) { .rside { position: static; } }
.panel { background: var(--card); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; box-shadow: var(--shadow); }
.panel__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel__h h2 { font-size: 1.45rem; }
.seg { display: inline-flex; background: var(--sunk); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: .4em .9em; border-radius: 999px; font-size: .82rem; font-weight: 800; cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--chili); color: #fff; }
.servings { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--sunk); border-radius: 999px; padding: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--card); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.stepper button:hover { background: var(--chili); color: #fff; }
.stepper output { min-width: 2.2ch; text-align: center; font: 800 1.2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.kcal-total { font-size: .88rem; margin-top: -6px; }
.ing-group h3 { font: 800 .74rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--dish, var(--chili-ink)); margin: 8px 0 4px; }
.ings { list-style: none; margin: 0; padding: 0; }
.ings li { border-bottom: 1px dashed var(--line); }
.ings li:last-child { border-bottom: 0; }
.ings label { display: grid; grid-template-columns: 22px 92px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; cursor: pointer; }
.ings input { width: 18px; height: 18px; accent-color: var(--basil); transform: translateY(3px); }
.ings .q { font-weight: 800; font-variant-numeric: tabular-nums; }
.ings .n small { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.4; }
.ings input:checked ~ span { text-decoration: line-through; color: var(--ink-3); }
.allergens h3 { font: 800 .74rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 8px; }
.ntable { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.ntable th { text-align: left; font-weight: 700; padding: 7px 0; }
.ntable td { padding: 7px 0; text-align: right; white-space: nowrap; }
.ntable tr { border-bottom: 1px solid var(--line); }
.ntable tr.sub th { padding-left: 14px; font-weight: 500; color: var(--ink-2); }
.ntable .pct { width: 100px; color: var(--ink-3); font-size: .8rem; }
.bar { display: inline-block; width: 46px; height: 7px; border-radius: 4px; background: var(--sunk); margin-right: 6px; vertical-align: middle; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--chili)); border-radius: 4px; }
.nnote { background: var(--basil-soft); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.nnote h3 { color: var(--basil-ink); font-size: .95rem; }
.nnote p { font-size: .92rem; }
.macros { display: flex; height: 12px; border-radius: 6px; overflow: hidden; }
.macros i { display: block; height: 100%; }
.macros__k { display: flex; gap: 12px; flex-wrap: wrap; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.macros__k span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; background: var(--c); }

.rmain { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.block { display: flex; flex-direction: column; gap: 16px; }
.block > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.ticks li { background: var(--card); border-radius: 14px; padding: 12px 14px; font-size: .94rem; box-shadow: var(--shadow); border-left: 4px solid var(--dish, var(--chili)); }
.mise { margin: 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 8px; }
.mise li { counter-increment: m; background: var(--saffron-soft); border-radius: 14px; padding: 12px 14px 12px 50px; position: relative; }
.mise li::before { content: counter(m); position: absolute; left: 12px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--saffron); color: #1E1428; font: 800 .85rem/26px var(--f-display); text-align: center; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.step__n { width: 48px; height: 48px; border-radius: 16px; background: var(--dish, var(--chili)); color: #fff; display: grid; place-items: center; font: 800 1.2rem/1 var(--f-display); }
.step__b { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step__b h3 { font-size: 1.25rem; }
.step__b > p { font-size: 1.05rem; line-height: 1.7; max-width: 70ch; }
.uses { display: flex; flex-wrap: wrap; gap: 6px; }
.use { background: var(--saffron-soft); border-radius: 999px; padding: .25em .75em; font-size: .84rem; font-weight: 700; }
.cue, .tip { border-radius: 14px; padding: 10px 14px; font-size: .95rem; max-width: 70ch; }
.cue { background: var(--basil-soft); }
.cue b { color: var(--basil-ink); margin-right: .3em; }
.tip { background: var(--berry-soft); }
.tip b { color: var(--berry); margin-right: .3em; }
.step__tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.step__tools:empty { display: none; }
.step video { border-radius: 16px; width: 100%; max-width: 600px; }
.mistakes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.mistake { background: var(--chili-soft); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mistake__p { font-weight: 800; }
.mistake__f { font-size: .95rem; }
.mistake__f b { color: var(--basil-ink); margin-right: .3em; }
.block--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.block--split > div { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; }
.block--split > div:nth-child(1) { background: var(--mango-soft); }
.block--split > div:nth-child(2) { background: var(--berry-soft); }
.block--split > div:nth-child(3) { background: var(--basil-soft); }
.block--split h2 { font-size: 1.15rem; }
.vars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.var { background: var(--card); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); border-top: 5px solid var(--dish, var(--saffron)); }
.var p { font-size: .95rem; color: var(--ink-2); }

/* cook mode */
.cook { position: fixed; inset: 0; z-index: 90; background: var(--aub); color: #F7F0FA; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gut-r) calc(env(safe-area-inset-bottom, 0px) + 12px) var(--gut); }
.cook__top { display: flex; align-items: center; gap: 12px; max-width: 980px; width: 100%; margin: 0 auto; }
.cook__title { font-weight: 800; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cook__count { font-variant-numeric: tabular-nums; opacity: .8; font-weight: 800; }
.cook .btn--ghost { border-color: rgb(255 255 255 / .3); color: #fff; }
.cook__progress { height: 8px; background: rgb(255 255 255 / .12); border-radius: 4px; overflow: hidden; max-width: 980px; width: 100%; margin: 12px auto 0; }
.cook__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--chili)); width: 0; transition: width .3s; }
.cook__body { flex: 1; overflow-y: auto; max-width: 980px; width: 100%; margin: 0 auto; padding: clamp(20px, 5vh, 56px) 0; display: flex; flex-direction: column; gap: 20px; }
.cook__step { font: 800 .9rem/1 var(--f-body); color: var(--saffron); text-transform: uppercase; letter-spacing: .12em; }
.cook__h { font: 800 clamp(1.9rem, 4.5vw, 3.2rem)/1.05 var(--f-display); letter-spacing: -.03em; }
.cook__text { font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.5; max-width: 42ch; }
.cook .cue { background: rgb(45 199 117 / .18); color: #fff; } .cook .cue b { color: #7BF0B2; }
.cook .tip { background: rgb(143 132 255 / .18); color: #fff; } .cook .tip b { color: #C9C3FF; }
.cook .use { background: rgb(255 194 51 / .2); color: #fff; font-size: 1rem; padding: .4em .9em; }
.cook__uses { display: flex; flex-wrap: wrap; gap: 8px; }
.cook__timer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--saffron); color: #1E1428; border-radius: 24px; padding: 16px 22px; align-self: flex-start; }
.cook__clock { font: 800 clamp(2.6rem, 6vw, 4rem)/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cook__timer.is-done { background: var(--chili); color: #fff; }
.cook__timer .btn--ghost { border-color: rgb(0 0 0 / .2); color: inherit; }
.cook__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 980px; width: 100%; margin: 0 auto; }
.cook__nav .btn { padding: 1em 1.6em; font-size: 1.05rem; }
.cook__awake { font-size: .82rem; display: inline-flex; gap: .4em; align-items: center; opacity: .8; }
@media (max-width: 600px) { .cook__awake { display: none !important; } }

/* fridge */
.fridge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .fridge { grid-template-columns: 1fr; } }
.fridge__pick { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; min-width: 0; background: var(--card); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .fridge__pick { position: static; } }
.fridge__pick .chips { max-height: 56vh; overflow-y: auto; }
.fridge__bar { display: flex; justify-content: space-between; }
.grid--list { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.fit { font-size: .8rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: var(--mango-soft); align-self: flex-start; }
.fit--all { background: var(--basil); color: #fff; }
.res { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* world */
.world { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 960px) { .world { grid-template-columns: 1fr; } }
.globe { position: sticky; top: 92px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
@media (max-width: 960px) { .globe { position: static; } }
.globe canvas { width: 100%; max-width: 580px; aspect-ratio: 1; touch-action: none; cursor: grab; }
.globe canvas:active { cursor: grabbing; }
.globe__hint { font-size: .85rem; }
.world__list { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.wc { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 100px; }
.wc h2 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 1.8rem; }
.wc h2 .cnt { font: 800 .85rem/1 var(--f-display); background: var(--chili); color: #fff; padding: .35em .65em; border-radius: 999px; }
.wc.is-active h2 { color: var(--chili-ink); }

/* eat well */
.eat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .eat { grid-template-columns: 1fr; } }
.calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field--wide { grid-column: 1 / -1; }
.calc__out { background: var(--chili); color: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.calc__out .muted { color: rgb(255 255 255 / .88); }
.calc__out .fine { color: rgb(255 255 255 / .78); }
.calc__kcal { font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1.05 var(--f-display); letter-spacing: -.02em; }
.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.meal { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: 20px; background: var(--sunk); text-decoration: none; transition: transform .2s; }
.meal:hover { transform: translateX(4px); }
.meal__img { position: relative; width: 92px; height: 92px; border-radius: 16px; overflow: hidden; background: var(--c1, var(--sunk)); }
.meal__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.meal__k { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--chili-ink); }
.meal__t { font-weight: 800; }
.meal__s { font-size: .85rem; color: var(--ink-2); }
.meal__kcal { font: 800 1.25rem/1 var(--f-display); font-variant-numeric: tabular-nums; text-align: right; }
.meal__kcal small { display: block; font: 700 .75rem var(--f-body); color: var(--ink-3); }
.plan__total { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.diets__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.diet { border-radius: 24px; padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: transform .2s; min-height: 190px; }
.diet:hover { transform: translateY(-3px); }
.diet h3 { font-size: 1.35rem; }
.diet p { opacity: .9; font-size: .95rem; }
.diet .more { margin-top: auto; }
.disclaimer { font-size: .9rem; border-left: 4px solid var(--saffron); padding: 4px 0 4px 16px; max-width: 80ch; }

/* legal + brand */
.legal { max-width: 780px; display: flex; flex-direction: column; gap: 24px; }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal h2 { font-size: 1.35rem; }
.legal p { color: var(--ink-2); line-height: 1.75; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.swatch { border-radius: 22px; padding: 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; box-shadow: var(--shadow); }
.swatch b { font: 800 1.2rem/1.1 var(--f-display); }
.swatch code { font-size: .82rem; opacity: .85; }
.typespec { display: grid; gap: 14px; }
.typespec div { background: var(--card); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }

/* 404 */
.nf { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }

/* footer */
.foot { background: var(--aub); color: #F7F0FA; }
.foot a { text-decoration: none; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 56px 32px; }
@media (max-width: 960px) { .foot__top { grid-template-columns: 1fr 1fr; } }
.foot__brand { display: flex; flex-direction: column; gap: 14px; }
.foot__brand .logo { color: #fff; font-size: 3.4rem; }
.foot__brand p { color: rgb(247 240 250 / .8); max-width: 36ch; }
.foot__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.foot__col h4 { font: 800 .76rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); margin-bottom: 4px; }
.foot__col a, .foot__col button { color: rgb(247 240 250 / .85); font-weight: 600; text-align: left; }
.foot__col a:hover { color: #fff; text-decoration: underline; }
.foot__langs { display: flex; flex-wrap: wrap; gap: 6px; }
.foot__langs a { background: rgb(255 255 255 / .1); padding: .3em .7em; border-radius: 999px; font-size: .85rem; }
.foot__bottom { border-top: 1px solid rgb(255 255 255 / .12); padding-block: 18px 28px; font-size: .8rem; color: rgb(247 240 250 / .65); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot__mark { overflow: hidden; line-height: .8; }
.foot__mark span { display: block; font: 400 clamp(6rem, 24vw, 20rem)/0.8 var(--f-logo); letter-spacing: -.03em; background: linear-gradient(90deg, var(--chili), var(--saffron), var(--basil), var(--berry), var(--beet)); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; transform: translateY(18%); }

/* cookie, toast */
.cookie { position: fixed; z-index: 95; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin-left: auto; background: var(--card); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; font-size: .92rem; }
@media (max-width: 860px) { .cookie { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); } }
.cookie__btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.toast { position: fixed; z-index: 99; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--plate); padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
@media (max-width: 860px) { .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
.yt { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 640px; border-radius: 16px; overflow: hidden; background: #000; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* motion: elements are visible by default; JS arms .rv only below the fold */
@media (prefers-reduced-motion: no-preference) {
  .rv.is-armed { opacity: 0; transform: translateY(14px); }
  .rv { transition: opacity .55s ease-out, transform .55s ease-out; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- Yum Plus, account, planner, list ---------- */
.plus-pill { display: inline-flex; align-items: center; gap: .4em; padding: .5em .95em; border-radius: 999px; background: linear-gradient(135deg, var(--saffron), var(--mango)); color: #1E1428; font-weight: 800; font-size: .85rem; text-decoration: none; box-shadow: 0 8px 18px -10px var(--mango); }
.plus-pill--sm { padding: .25em .6em; font-size: .72rem; box-shadow: none; }
.acct { position: relative; }
.acct.is-in::after { content: ""; position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--basil); border: 2px solid var(--plate); }
.acct.is-plus::after { background: var(--saffron); }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.danger { color: var(--chili-ink) !important; }
.plus-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
@media (max-width: 1020px) { .plus-hero { grid-template-columns: 1fr; } }
.bill { display: inline-flex; background: rgb(255 255 255 / .1); border-radius: 999px; padding: 4px; gap: 4px; align-self: flex-start; }
.bill button { border: 0; background: transparent; color: #fff; font-weight: 800; padding: .6em 1.1em; border-radius: 999px; cursor: pointer; display: inline-flex; gap: .5em; align-items: center; }
.bill button[aria-pressed="true"] { background: #fff; color: #1E1428; }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; align-items: stretch; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.plan-card { position: relative; background: var(--card); color: var(--ink); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); }
.plan-card h2 { display: flex; gap: .4em; align-items: center; font-size: 1.6rem; }
.plan-card--plus { background: linear-gradient(160deg, #fff 0%, #fff 55%, var(--saffron-soft) 100%); outline: 3px solid var(--saffron); }
@media (prefers-color-scheme: dark) { .plan-card--plus { background: linear-gradient(160deg, var(--card) 0%, var(--card) 55%, var(--saffron-soft) 100%); } }
.plan-card--plus h2 .ic { color: var(--mango); }
.ribbon { position: absolute; top: -14px; right: 20px; background: var(--chili); color: #fff; font-weight: 800; font-size: .78rem; padding: .45em .9em; border-radius: 999px; box-shadow: 0 8px 16px -8px var(--chili); }
.price { display: flex; align-items: baseline; gap: .4em; margin: 0; }
.price b { font: 800 2.6rem/1 var(--f-display); letter-spacing: -.03em; }
.price span { color: var(--ink-2); font-weight: 700; }
.flist { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 9px; }
.flist li { display: flex; gap: .6em; align-items: flex-start; font-weight: 600; }
.flist li .ic { color: var(--basil); margin-top: 2px; }
.flist li.off { color: var(--ink-3); } .flist li.off .ic { color: var(--ink-3); }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }
.why__c { background: #fff; color: #1E1428; border-radius: var(--r-xl); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 14px 30px -18px rgb(0 0 0 / .4); }
.why__c b .ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--chili); color: #fff; }
.why__c:nth-child(2) b .ic { background: var(--basil); } .why__c:nth-child(3) b .ic { background: var(--berry); } .why__c:nth-child(4) b .ic { background: var(--beet); }
.why__c p { color: #5B4F66; }
.ctable-wrap { overflow-x: auto; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.ctable { width: 100%; border-collapse: collapse; background: var(--card); min-width: 520px; }
.ctable th, .ctable td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.ctable thead th { font: 800 1.05rem var(--f-display); }
.ctable td { text-align: center; } .ctable thead th:not(:first-child) { text-align: center; }
.ctable .hl { background: var(--saffron-soft); }
.ctable .yes .ic { color: var(--basil); width: 1.4em; height: 1.4em; margin: auto; } .ctable .no .ic { color: var(--ink-3); margin: auto; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); }
.faq summary { font-weight: 800; cursor: pointer; font-size: 1.05rem; }
.faq p { margin-top: 10px; color: var(--ink-2); }
.toast-card { position: fixed; z-index: 96; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(520px, calc(100vw - 32px)); background: var(--ink); color: var(--plate); border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow-lg); font-weight: 600; }
@media (max-width: 860px) { .toast-card { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
.auth { max-width: 520px; }
.auth__msg { background: var(--basil-soft); border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.acct { display: grid; gap: 18px; }
#acct-in.acct { grid-template-columns: 1fr; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.upsell { background: linear-gradient(135deg, var(--aub), var(--aub-2)); color: #F7F0FA; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.upsell h4 { font: 800 1.15rem var(--f-display); color: var(--saffron); }
.upsell .btn { align-self: flex-start; }
.pl-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .pl-sum { grid-template-columns: 1fr 1fr; } }
.pl-sum div { background: var(--card); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.pl-sum span { display: block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.pl-sum b { font: 800 1.8rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.pl-sum b.over { color: var(--chili-ink); } .pl-sum b.ok { color: var(--basil-ink); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; position: relative; }
@media (max-width: 1100px) { .week { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
.day { background: var(--card); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); min-width: 0; transition: filter .3s, opacity .3s; }
.day header { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.day h3 { font-size: 1rem; }
.day__kcal { font: 800 .8rem var(--f-display); color: var(--chili-ink); font-variant-numeric: tabular-nums; }
.day.is-locked { filter: blur(3px) saturate(.6); opacity: .55; pointer-events: none; }
.slot { border-radius: 14px; background: var(--sunk); padding: 8px; display: flex; flex-direction: column; gap: 6px; min-height: 92px; }
.slot__k { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.slot__add { border: 2px dashed var(--line); background: transparent; border-radius: 12px; padding: 10px; font-weight: 700; font-size: .82rem; color: var(--ink-2); cursor: pointer; display: flex; gap: .4em; align-items: center; justify-content: center; width: 100%; }
.slot__add:hover { border-color: var(--basil); color: var(--basil-ink); }
.meal-mini { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; align-items: center; text-decoration: none; }
.meal-mini img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--c1, var(--line)); }
.meal-mini b { display: block; font-size: .84rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.meal-mini small { font-size: .74rem; color: var(--chili-ink); font-weight: 800; }
.meal-mini__x { border: 0; background: transparent; color: var(--ink-3); cursor: pointer; padding: 4px; border-radius: 8px; }
.meal-mini__x:hover { color: var(--chili-ink); background: var(--card); }
.lock { position: relative; margin-top: -40px; display: flex; justify-content: center; z-index: 2; }
.lock__in { background: var(--aub); color: #F7F0FA; border-radius: 24px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; max-width: 520px; box-shadow: var(--shadow-lg); }
.lock__in .ic { width: 36px; height: 36px; color: var(--saffron); }
.picker { border: 0; border-radius: 26px; padding: 0; width: min(640px, calc(100vw - 24px)); max-height: min(80vh, 760px); background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); }
.picker::backdrop { background: rgb(20 8 30 / .55); backdrop-filter: blur(3px); }
.picker__in { padding: 18px; display: flex; flex-direction: column; gap: 12px; max-height: min(80vh, 760px); }
.picker__list { overflow-y: auto; display: grid; gap: 6px; }
.picker__list button { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; border: 0; background: var(--sunk); border-radius: 14px; padding: 8px; cursor: pointer; }
.picker__list button:hover { background: var(--basil-soft); }
.picker__list img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--c1); }
.picker__list b { display: block; } .picker__list small { color: var(--ink-2); }
.picker__list em { font: 800 .9rem var(--f-display); font-style: normal; color: var(--chili-ink); }
.slist { max-width: 760px; }
.slist__add { display: flex; gap: 8px; }
.slist__add input { flex: 1; min-width: 0; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--card); }
.slist__add input:focus { outline: none; border-color: var(--chili); }
.slist__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.slist__items h4 { font: 800 .74rem var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 10px 0 2px; }
.slist__items label { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--sunk); cursor: pointer; font-weight: 600; }
.slist__items input { width: 20px; height: 20px; accent-color: var(--basil); flex: none; }
.slist__items input:checked + span { text-decoration: line-through; color: var(--ink-3); }
[data-save][aria-pressed="true"] { background: var(--chili); color: #fff; }
[data-save][aria-pressed="true"] .ic { fill: currentColor; }

/* header bands: copy on the left, a fan of dishes on the right (no empty half) */
.page-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; } .fan { display: none !important; } }
.fan { position: relative; height: 300px; }
.fan span { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: var(--c1); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .55); border: 5px solid rgb(255 255 255 / .9); }
.fan span img { width: 100%; height: 100%; object-fit: cover; }
.fan span b { position: absolute; left: 10px; bottom: 10px; background: #fff; color: #1E1428; border-radius: 999px; padding: .25em .7em; font: 800 .78rem var(--f-body); }
.fan span:nth-child(1) { left: 0; top: 20px; transform: rotate(-8deg); }
.fan span:nth-child(2) { left: 24%; top: -10px; transform: rotate(3deg); z-index: 1; }
.fan span:nth-child(3) { right: 0; top: 40px; transform: rotate(10deg); }
@media (prefers-reduced-motion: no-preference) { .fan span { transition: transform .4s; } .fan:hover span:nth-child(1) { transform: rotate(-12deg) translateX(-10px); } .fan:hover span:nth-child(3) { transform: rotate(14deg) translateX(10px); } }

/* ---------- collections, ratings, voice, print ---------- */
.colls { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.coll { position: relative; border-radius: var(--r-xl); padding: 16px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; text-decoration: none; overflow: hidden; transition: transform .2s; }
.coll:hover { transform: translateY(-3px); }
.coll__pics { display: flex; }
.coll__pics span { width: 74px; height: 74px; border-radius: 50%; overflow: hidden; border: 4px solid rgb(255 255 255 / .9); margin-right: -18px; background: var(--c1); box-shadow: 0 10px 20px -10px rgb(0 0 0 / .5); }
.coll__pics img { width: 100%; height: 100%; object-fit: cover; }
.coll__t b { display: block; font: 800 1.35rem/1.1 var(--f-display); letter-spacing: -.02em; }
.coll__t small { font-weight: 700; opacity: .85; }
.rate { flex-direction: row !important; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.rate h2 { font-size: 1.3rem; }
.stars { display: flex; gap: 2px; }
.stars button { border: 0; background: none; font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; padding: 2px; transition: transform .15s, color .15s; }
.stars button:hover { transform: scale(1.15); }
.stars button.on { color: var(--saffron); }
#made-btn[aria-pressed="true"] { background: var(--basil); box-shadow: none; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--chili); }
.cook__voice { display: inline-flex; gap: 8px; }
.cook__voice [aria-pressed="true"] { background: var(--saffron); color: #1E1428; border-color: var(--saffron); }
.cook__listen { max-width: 980px; width: 100%; margin: 10px auto 0; color: var(--saffron); font-weight: 700; display: flex; gap: .5em; align-items: center; }
@media (prefers-reduced-motion: no-preference) { .cook__listen .ic { animation: blink 1.2s infinite; } }
.install { position: fixed; z-index: 94; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 860px) { .install { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); } }

@media print {
  .ticker, .top, .tabbar, .langbar, .foot, .cook, .rhead__cta, .rate, .shelf, .band.bg-aub, .mega, .toast, .toast-card, .install, #copy-list, .seg, .stepper, .step__tools, .fan { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .rhero { color: #000; background: none; } .rhero::after, .rhero__img { display: none; }
  .rhero__in { min-height: 0; padding-block: 0 12px; }
  .band { padding-block: 8px !important; background: #fff !important; }
  .rbody { grid-template-columns: 1fr 1.6fr; } .rside { position: static; }
  .panel, .step, .var, .mistake, .ticks li { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .step__n { background: #000 !important; }
  a { text-decoration: none; }
}
