/* comptoir app preview: the restaurant's own ordering app, in a phone, built from its Uber Eats page.
   Outside the phone: the site's tokens (Hanken Grotesk, black, comptoir blue).
   Inside the phone: a native-looking iOS app in the restaurant's colour (--b, taken from its photos). */
.ap { background: #15120f; color: var(--white); min-height: 100vh; }
.ap [hidden] { display: none !important; }

.ap-bg { position: fixed; inset: 0; z-index: 0; background: #15120f center / cover no-repeat; transition: background-image .3s; }
.ap-bg.photo { filter: blur(18px) saturate(1.1); transform: scale(1.12); }
.ap-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,8,6,.92) 0%, rgba(10,8,6,.78) 45%, rgba(10,8,6,.55)); }

.ap-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gutter) 16px; }
.ap-top .wordmark { color: var(--white); }
.ap-tag { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }

.ap-main {
  position: relative; z-index: 1; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: start;
  padding: 8px var(--gutter) 64px;
}
@media (max-width: 900px) { .ap-main { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-inline: 16px; } }

/* Left column */
.ap-side { display: grid; gap: 22px; align-content: start; padding-top: clamp(0px, 4vw, 48px); min-width: 0; }
.ap-intro { display: grid; gap: 14px; }
.ap-logo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.ap-logo img { width: 100%; height: 100%; object-fit: cover; }
.ap-side h1 { font-size: clamp(38px, 5vw, 64px); text-wrap: balance; }
.ap-lead { color: rgba(255,255,255,.75); max-width: 30em; }
.ap-search { position: relative; max-width: 520px; }
.ap-search input {
  width: 100%; height: 56px; padding: 0 18px 0 50px; border: 0; border-radius: 999px;
  background: var(--white); color: var(--black); font: 500 17px var(--sans); -webkit-appearance: none; appearance: none;
}
.ap-search input::-webkit-search-cancel-button { display: none; }
.ap-search input:focus { outline: 3px solid var(--glaze); outline-offset: 2px; }
.ap-search-icon { position: absolute; left: 18px; top: 28px; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--black); stroke-width: 2.2; stroke-linecap: round; }
.ap-results { list-style: none; margin: 8px 0 0; padding: 6px; position: absolute; inset: 100% 0 auto; z-index: 5; background: var(--white); color: var(--black); border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.35); max-height: 360px; overflow: auto; }
.ap-results button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.ap-results button:hover, .ap-results button:focus-visible { background: #f2f2ee; }
.ap-results img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #eee; flex: none; }
.ap-results b { display: block; font-weight: 600; }
.ap-results small { color: var(--grey); font-size: 13px; }
.ap-results .empty { padding: 12px; color: var(--grey); font-size: 15px; }
.ap-err { color: #ffb4a8; font-size: 15px; }
.ap-try { justify-self: start; background: none; border: 0; padding: 0; color: rgba(255,255,255,.8); font: 500 15px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.ap-steps { display: grid; gap: 14px; max-width: 520px; }
.ap-steps-title { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ap-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ap-steps li { counter-increment: s; }
.ap-steps button {
  width: 100%; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; text-align: left; align-items: center;
  padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05);
  color: var(--white); font: inherit; cursor: pointer; transition: background .15s, border-color .15s;
}
.ap-steps button::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.12); }
.ap-steps button span { font-weight: 600; font-size: 15px; }
.ap-steps button small { color: rgba(255,255,255,.6); font-size: 12.5px; line-height: 1.3; }
.ap-steps button:hover { background: rgba(255,255,255,.1); }
.ap-steps button[aria-current="step"] { background: var(--white); color: var(--black); border-color: var(--white); }
.ap-steps button[aria-current="step"]::before { background: var(--b, var(--glaze)); color: #fff; }
.ap-steps button[aria-current="step"] small { color: var(--grey); }
.ap-note { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.45; }
.ap-qr { display: flex; align-items: center; gap: 16px; margin-top: 6px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); max-width: 520px; }
.ap-qr canvas, .ap-qr img { width: 112px; height: 112px; padding: 8px; border-radius: 12px; background: #fff; flex: none; image-rendering: pixelated; }
.ap-qr b { display: block; font-size: 16px; margin-bottom: 4px; }
.ap-qr p { font-size: 13.5px; color: rgba(255,255,255,.7); }
.ap-qr a { color: var(--white); font-weight: 600; }
.ap-open { display: none; }
@media (max-width: 900px) { .ap-qr { display: none; } .ap-open { display: inline-flex; } }
.ap-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.ap-cta { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--glaze); color: var(--on-glaze); font-weight: 600; text-decoration: none; }
.ap-link { color: var(--white); font-weight: 500; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .ap-side { padding-top: 0; }
  .ap-steps { order: 3; }
  .ap-steps ol { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .ap-steps ol::-webkit-scrollbar { display: none; }
  .ap-steps li { flex: none; scroll-snap-align: start; }
  .ap-steps button { width: auto; grid-template-columns: 22px auto; padding: 8px 12px; }
  .ap-steps button::before { width: 22px; height: 22px; font-size: 12px; grid-row: auto; }
  .ap-steps button small { display: none; }
}

/* ---- The phone ------------------------------------------------------------------------------ */
.ap-stage { display: flex; justify-content: center; min-width: 0; }
.ap-fit { width: calc(414px * var(--s, 1)); height: calc(868px * var(--s, 1)); }
.phone {
  width: 414px; height: 868px; padding: 12px; border-radius: 66px; background: #0d0d0f;
  box-shadow: 0 0 0 2px #3a3a3e, 0 40px 90px rgba(0,0,0,.55);
  transform: scale(var(--s, 1)); transform-origin: top left;
}
.phone-screen {
  --b: #3b6fe6; --b-dark: #2a55bd; --b-soft: #eef2fd; --b-ink: #ffffff;
  --top: 54px; /* room for the status bar drawn in the frame; the phone's own safe area in ?view=app */
  position: relative; width: 390px; height: 844px; border-radius: 54px; overflow: hidden;
  background: #fff; color: #111;
  font: 15px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; isolation: isolate;
}
:where(.phone-screen) button { font: inherit; color: inherit; }
.island { position: absolute; z-index: 30; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.a-status { position: absolute; z-index: 29; inset: 0 0 auto; height: 54px; padding: 18px 30px 0 44px; display: flex; justify-content: space-between; font-weight: 600; font-size: 16px; color: #111; pointer-events: none; transition: color .2s; }
.status-icons { display: flex; gap: 6px; align-items: center; }
.status-icons svg { height: 12px; width: auto; fill: currentColor; }
.phone-screen.on-brand .a-status { color: #fff; }
.home-bar { position: absolute; z-index: 40; bottom: 8px; left: 50%; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #111; pointer-events: none; }

.screens { position: absolute; inset: 0; }
.a-scr { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; background: #fff; animation: in .28s ease both; }
.a-scr::-webkit-scrollbar { display: none; }
.a-scr.back { animation-name: inback; }
.a-scr.up { animation-name: up; }
@keyframes in { from { transform: translateX(28px); opacity: 0; } }
@keyframes inback { from { transform: translateX(-28px); opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .a-scr, .a-sheet { animation: none !important; } }
.has-tabs .a-scr { bottom: 84px; }

.empty-app { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #8a8a8e; background: #f5f5f7; }

/* Shared pieces */
.mono { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--b); font-weight: 800; font-size: 17px; letter-spacing: -.02em; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.mono-lg { width: 76px; height: 76px; font-size: 30px; background: var(--b); color: #fff; }
.mono-xl { width: 104px; height: 104px; font-size: 40px; background: #fff; color: var(--b); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
/* The Uber Eats logo, when the restaurant has one: a white circle, the logo inside. */
.mono.has-logo { background: #fff; overflow: hidden; padding: 0; }
.mono.has-logo img { width: 100%; height: 100%; object-fit: cover; }

/* Launch screen: the banner under the brand colour, the logo, the name */
.splash { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 14px; color: #fff; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--b) 72%, transparent), color-mix(in srgb, var(--b-dark) 92%, transparent)), var(--banner, linear-gradient(var(--b), var(--b))) center / cover;
  animation: fade .3s both; }
.splash b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.splash small { font-size: 14px; opacity: .85; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; cursor: pointer; flex: none; position: relative; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.ghost { background: transparent; }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--b); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.a-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border: 0; border-radius: 14px; background: var(--b); color: var(--b-ink); font-weight: 600; font-size: 16px; cursor: pointer; }
.a-btn:disabled { opacity: .45; cursor: not-allowed; }
.a-btn.black { background: #000; color: #fff; }
/* Cart bar: count, label, total */
.a-btn.cartbar { display: grid; grid-template-columns: auto 1fr auto; padding: 0 18px; text-align: center; box-shadow: 0 8px 24px color-mix(in srgb, var(--b) 35%, transparent); }
.cb-n { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 13px; }
.toast { position: absolute; z-index: 32; left: 50%; top: calc(var(--top) + 6px); display: flex; align-items: center; gap: 8px; max-width: 86%; padding: 10px 16px; border-radius: 999px; background: #111; color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.25); transform: translate(-50%, -16px); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #4cd964; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.toast span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The Apple Pay mark: Apple logo + "Pay" */
.apay { display: inline-flex; align-items: center; gap: 1px; font-weight: 600; letter-spacing: -.01em; }
.apay svg { width: .82em; height: 1em; fill: currentColor; margin-top: -.18em; }
.a-btn .apay { font-size: 19px; }
.apay-badge { padding: 3px 8px; border: 1px solid #111; border-radius: 6px; background: #fff; color: #111; font-size: 13px; }
.a-btn.line { background: #fff; color: var(--b); box-shadow: inset 0 0 0 1.5px var(--b); }
.a-btn.split { justify-content: space-between; padding: 0 20px; }
.a-btn .count { min-width: 26px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 13px; }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 15px; border: 0; background: var(--b); color: var(--b-ink); font-weight: 600; font-size: 13px; cursor: pointer; }
.pill.soft { background: var(--b-soft); color: var(--b-dark); }
.dock { position: sticky; bottom: 0; z-index: 5; padding: 12px 16px 16px; background: linear-gradient(rgba(255,255,255,0), #fff 30%); }
.has-tabs .dock { padding-bottom: 12px; }
.no-tabs .dock { padding-bottom: 34px; }
.price { font-variant-numeric: tabular-nums; }
.muted2 { color: #8a8a8e; }
.ph { background: linear-gradient(135deg, var(--b), var(--b-dark)); display: grid; place-items: center; color: rgba(255,255,255,.9); font-weight: 800; }

/* Tabs */
.tabs { position: absolute; z-index: 20; inset: auto 0 0; height: 84px; padding: 8px 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,.96); border-top: 1px solid #ececef; backdrop-filter: blur(12px); }
.tabs button { border: 0; background: none; display: grid; justify-items: center; align-content: start; gap: 3px; font-size: 11px; font-weight: 500; color: #9a9aa0; cursor: pointer; }
.tabs svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.tabs button[aria-current="page"] { color: var(--b); }
.tabs button[aria-current="page"] svg { fill: var(--b); stroke: var(--b); }
.tabs button[aria-current="page"] svg circle:nth-of-type(n) { fill: var(--b); }

/* 1. Home */
/* The header: the Uber Eats banner as a cover, darkened at the top so the status bar and the text stay readable.
   Without a banner, the brand colour. */
.h-head { position: relative; padding: calc(var(--top) + 4px) 16px 84px; color: var(--b-ink); background: linear-gradient(170deg, var(--b) 10%, var(--b-dark)); }
.h-head[style] { padding-bottom: 168px; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 42%, rgba(0,0,0,0) 62%), var(--banner) center / cover; }
.h-where { text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.h-head[style]::after { display: none; }
.h-head::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 85% 0%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.h-bar { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr 40px; align-items: center; gap: 10px; }
.h-where { border: 0; background: none; color: inherit; text-align: center; cursor: pointer; line-height: 1.25; }
.h-where small { display: block; font-size: 12px; opacity: .8; }
.h-where b { font-size: 15px; }
.h-where b::after { content: " \2304 "; font-weight: 400; }
.h-card { position: relative; z-index: 2; margin: -60px 16px 0; padding: 18px 18px 16px; background: #fff; border-radius: 18px; box-shadow: 0 6px 24px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06); }
.h-hello { text-align: center; font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 14px; }
.h-credit { display: flex; justify-content: space-between; align-items: center; padding: 12px 6px 0; border-top: 1px solid #f0f0f2; }
.h-credit b { display: block; font-size: 22px; font-weight: 700; }
.h-credit small { color: #6c6c70; font-size: 13px; }
.h-sec { padding: 26px 16px 0; }
.h-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.h-title h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.h-title button { border: 0; background: none; padding: 0; font-size: 14px; font-weight: 600; color: var(--b); cursor: pointer; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding: 0 16px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
/* Categories: round photos, like the app's own menu tabs */
.cats { display: flex; gap: 14px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 74px; display: grid; justify-items: center; gap: 7px; border: 0; padding: 0; background: none; cursor: pointer; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; color: #2c2c30; }
.cat-img { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: var(--b-soft); display: grid; place-items: center; font-weight: 800; color: var(--b); box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Featured: cards with the next one peeking in */
.feat { flex: 0 0 76%; scroll-snap-align: start; cursor: pointer; outline-offset: 3px; }
.feat-img { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #f2f2f4; aspect-ratio: 4 / 3; }
.feat-img img, .feat-img .ph { width: 100%; height: 100%; object-fit: cover; font-size: 54px; }
.feat b { display: block; margin-top: 10px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat .price { display: block; color: #6c6c70; font-size: 14px; margin-top: 2px; }
/* Quick add */
.qadd { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 22px; font-weight: 400; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .15s; }
.qadd:active { transform: scale(.9); }
/* Offers: a row of photo cards */
.promos .promo { flex: 0 0 82%; scroll-snap-align: start; position: relative; height: 150px; padding: 16px; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; color: #fff; background: #222 center / cover; }
.promos .promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.1)); }
.promos .promo > * { position: relative; }
.promos .promo strong { display: block; font-size: 21px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; max-width: 85%; }
.promos .promo p { margin-top: 6px; font-size: 13px; opacity: .85; max-width: 85%; }
.pill.light { background: #fff; color: #111; }

/* 2. Menu */
.m-head { position: sticky; top: 0; z-index: 6; background: #fff; padding-top: var(--top); box-shadow: 0 1px 0 #efeff1; }
.m-bar { display: flex; align-items: center; gap: 4px; padding: 4px 12px 8px 16px; }
.m-where { flex: 1; min-width: 0; border: 0; background: none; text-align: left; cursor: pointer; line-height: 1.25; }
.m-where small { display: block; font-size: 12px; color: #6c6c70; }
.m-where b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.a-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 12px; scrollbar-width: none; }
.a-chips::-webkit-scrollbar { display: none; }
.a-chips button { flex: none; height: 34px; padding: 0 14px; border-radius: 17px; border: 0; background: #f2f2f4; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.a-chips button.on { background: #111; color: #fff; }
.m-search { margin: 0 16px 10px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; background: #f2f2f4; border-radius: 12px; }
.m-search input { flex: 1; border: 0; background: none; font: inherit; outline: none; }
.m-sec { padding: 22px 16px 0; }
.m-sec h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 4px; text-transform: none; }
.a-row { position: relative; display: grid; grid-template-columns: 1fr 104px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #efeff2; text-align: left; cursor: pointer; }
.a-row:last-child { border-bottom: 0; }
.a-row.no-img { grid-template-columns: 1fr 40px; }
.a-row b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 3px; }
.a-row p { color: #6c6c70; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.a-row .price { font-weight: 600; font-size: 14.5px; }
.row-img { position: relative; display: block; width: 104px; height: 104px; border-radius: 14px; overflow: hidden; background: #f2f2f4; }
.a-row.no-img .row-img { width: 40px; height: 40px; background: none; overflow: visible; }
.row-img img { width: 100%; height: 100%; object-fit: cover; }
.row-img .qadd { right: 6px; bottom: 6px; width: 30px; height: 30px; font-size: 20px; }
.a-row.no-img .qadd { position: static; box-shadow: inset 0 0 0 1.5px #d4d4d8; }
.a-row.out { opacity: .5; }
.tag-out { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: #f2f2f4; color: #6c6c70; font-size: 11px; font-weight: 600; }

/* 3. Item */
.i-hero { position: relative; height: 320px; background: #f2f2f4; }
.i-hero img, .i-hero .ph { width: 100%; height: 100%; object-fit: cover; font-size: 90px; }
.i-nav { position: absolute; z-index: 2; inset: var(--top) 16px auto; display: flex; justify-content: space-between; }
.i-nav .icon-btn { box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.i-body { position: relative; margin-top: -22px; padding: 22px 16px 8px; border-radius: 22px 22px 0 0; background: #fff; }
.i-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.i-title h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; text-transform: none; }
.i-title .price { font-size: 18px; font-weight: 600; }
.i-desc { color: #48484c; font-size: 14px; margin-top: 8px; }
.i-desc button { border: 0; background: none; padding: 0; color: var(--b); font-weight: 600; cursor: pointer; }
.grp { margin-top: 22px; }
.grp-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.grp-h b { font-size: 16px; }
.grp-h span { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #f2f2f4; color: #6c6c70; }
.grp-h span.req { background: var(--b-soft); color: var(--b-dark); }
.grp-h span.ok { background: #e7f6ea; color: #1d7a35; }
.grp > small { display: block; color: #8a8a8e; font-size: 12.5px; margin-bottom: 8px; }
.a-opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; border: 0; border-radius: 12px; background: #f6f6f8; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s, background .15s; }
.a-opt .mark { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #b9b9bf; flex: none; display: grid; place-items: center; }
.a-opt.multi .mark { border-radius: 6px; }
.a-opt[aria-checked="true"] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--b); }
.a-opt[aria-checked="true"] .mark { background: var(--b); box-shadow: none; }
.a-opt[aria-checked="true"] .mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.a-opt.multi[aria-checked="true"] .mark::after { width: 10px; height: 6px; border-radius: 0; background: none; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.a-opt span { flex: 1; }
.a-opt em { font-style: normal; color: #6c6c70; font-size: 13.5px; }
.skel { height: 46px; border-radius: 12px; margin-bottom: 8px; background: linear-gradient(90deg, #f2f2f4 25%, #e9e9ec 50%, #f2f2f4 75%); background-size: 200% 100%; animation: sh 1.2s infinite linear; }
@keyframes sh { to { background-position: -200% 0; } }
.a-note { width: 100%; min-height: 64px; margin-top: 22px; padding: 12px 14px; border: 0; border-radius: 12px; background: #f6f6f8; font: inherit; resize: none; outline: none; }
.qty { display: flex; justify-content: center; align-items: center; gap: 22px; padding: 18px 0 4px; }
.step { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px #c9c9ce; display: grid; place-items: center; cursor: pointer; font-size: 20px; line-height: 1; }
.step:disabled { opacity: .35; cursor: default; }
.qty output { font-size: 17px; font-weight: 600; min-width: 18px; text-align: center; }

/* 4. Cart */
.c-head { position: sticky; top: 0; z-index: 6; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: var(--top) 12px 8px; background: #fff; text-align: center; font-weight: 600; font-size: 17px; }
.c-pick { margin: 6px 16px 0; padding: 14px; border-radius: 16px; background: #f6f6f8; display: grid; gap: 10px; }
.c-line { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.c-line svg { width: 18px; height: 18px; fill: none; stroke: #6c6c70; stroke-width: 2; flex: none; }
.c-line span { flex: 1; color: #6c6c70; }
.c-line b { text-align: right; font-weight: 600; }
.c-line button { border: 0; background: none; padding: 0; color: var(--b); cursor: pointer; }
/* The three modes, at the top of the cart */
.c-mode { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 11px; background: #e9e9ee; }
.c-mode button { height: 32px; border: 0; border-radius: 8px; background: none; font-size: 13px; font-weight: 600; color: #6c6c70; cursor: pointer; }
.c-mode button[aria-pressed="true"] { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.c-missing { color: var(--b); }
.c-hint { padding: 9px 12px; border-radius: 10px; background: #fff6d6; font-size: 13px; }
.c-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 16px; border-bottom: 1px solid #f0f0f2; }
.c-item img, .c-item .ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; font-size: 22px; }
.c-item b { font-size: 15px; font-weight: 600; }
.c-item small { display: block; color: #8a8a8e; font-size: 12.5px; margin: 2px 0 8px; }
.c-item .price { font-weight: 600; }
.c-step { display: inline-flex; align-items: center; gap: 14px; }
.c-step .step { width: 28px; height: 28px; font-size: 16px; }
.c-step svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.c-sec { padding: 20px 16px 0; }
.c-sec h4 { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.also { flex: 0 0 136px; border: 0; padding: 0; border-radius: 14px; background: #fff; overflow: hidden; text-align: center; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 3px 12px rgba(0,0,0,.06); scroll-snap-align: start; }
.also img, .also .ph { width: 100%; height: 96px; object-fit: cover; font-size: 28px; }
.also b { display: block; font-size: 13px; padding: 8px 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.also span { display: block; font-size: 12.5px; color: #6c6c70; }
.also em { display: block; font-style: normal; color: var(--b); font-weight: 600; font-size: 12.5px; padding: 2px 0 10px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-radius: 14px; background: #f6f6f8; font-size: 14.5px; }
.switch { width: 50px; height: 30px; border-radius: 15px; border: 0; background: #e3e3e8; position: relative; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.switch[aria-checked="true"] { background: #34c759; }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.totals { margin: 14px 16px 0; padding: 14px; border-radius: 14px; background: #f6f6f8; display: grid; gap: 8px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; }
.totals .zero { color: #1d7a35; font-weight: 600; }
.totals .grand { padding-top: 10px; border-top: 1px dashed #d4d4d8; font-size: 17px; font-weight: 700; }
.c-empty { display: grid; justify-items: center; gap: 12px; padding: 120px 32px; text-align: center; color: #6c6c70; }

/* Sheets */
.sheet-backdrop { position: absolute; inset: 0; z-index: 25; background: rgba(0,0,0,.4); animation: fade .2s both; }
@keyframes fade { from { opacity: 0; } }
.a-sheet { position: absolute; z-index: 26; inset: auto 0 0; max-height: 88%; overflow-y: auto; scrollbar-width: none; padding: 10px 16px 34px; border-radius: 22px 22px 0 0; background: #fff; animation: up .3s ease both; }
.a-sheet::before { content: ""; display: block; width: 36px; height: 5px; border-radius: 3px; background: #d4d4d8; margin: 0 auto 12px; }
.a-sheet h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; text-transform: none; }
.a-sheet .sub { color: #6c6c70; font-size: 14px; margin: 6px 0 16px; }
.field-label { font-size: 13px; color: #6c6c70; margin-bottom: 6px; }
.tel { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: 12px; background: #f6f6f8; margin-bottom: 14px; font-size: 16px; }
.tel .cc { color: #111; white-space: nowrap; }
.tel .num { flex: 1; color: #111; letter-spacing: .02em; }
.tel .num:empty::before { content: attr(data-ph); color: #b0b0b6; } /* the market's example number (app-preview.js) */
.tel .caret { width: 2px; height: 20px; background: var(--b); animation: blink 1s steps(1) infinite; margin-left: -8px; }
@keyframes blink { 50% { opacity: 0; } }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 16px -10px -26px; padding: 8px 8px 30px; background: #d1d3d9; }
.keypad button { height: 48px; border: 0; border-radius: 8px; background: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 1px 0 rgba(0,0,0,.3); display: grid; place-items: center; line-height: 1; }
.keypad button small { display: block; font-size: 9px; letter-spacing: .15em; font-weight: 600; }
.keypad .blank { background: transparent; box-shadow: none; }
.confirm-logo { display: flex; justify-content: center; margin: 4px 0 10px; }
.confirm-ico { width: 52px; height: 52px; margin: 4px auto 10px; border-radius: 50%; background: var(--b-soft); display: grid; place-items: center; }
.confirm-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--b); stroke-width: 2; }
.a-sheet .center { text-align: center; }
.a-earn { display: block; width: max-content; margin: 10px auto 16px; padding: 4px 12px; border-radius: 8px; background: #111; color: #fff; font-size: 12.5px; font-weight: 600; }
.box { padding: 14px; border-radius: 14px; background: #f6f6f8; margin-bottom: 10px; }
.box-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.box small { display: block; color: #8a8a8e; font-size: 13px; margin-top: 3px; }
.applepay { display: inline-flex; align-items: center; padding: 1px 6px; border: 1px solid #111; border-radius: 4px; font-size: 11px; font-weight: 600; }
.check { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #111; color: #fff; font-size: 11px; margin-right: 8px; }

.brewing { position: absolute; inset: 0; z-index: 35; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 0 32px; text-align: center; background: #fff; font-weight: 600; animation: fade .2s both; }
.brewing p { font-weight: 500; color: #48484c; }
.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); box-shadow: 0 0 0 14px color-mix(in srgb, var(--b) 18%, transparent); } }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #e3e3e8; border-top-color: var(--b); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* 6. Order received: the restaurant's banner, its logo, the order just paid */
.d-hero { position: relative; height: 210px; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 45%), var(--banner, linear-gradient(170deg, var(--b), var(--b-dark))) center / cover; }
.d-close { position: absolute; top: var(--top); right: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.d-wrap { padding: 0 16px 30px; display: grid; gap: 14px; }
.d-top { text-align: center; display: grid; justify-items: center; gap: 8px; margin-top: -46px; position: relative; }
.d-logo { width: 88px; height: 88px; font-size: 32px; box-shadow: 0 0 0 4px #fff, 0 8px 24px rgba(0,0,0,.18); }
.d-ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: #e7f6ea; color: #1d7a35; font-size: 13px; font-weight: 600; }
.d-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.d-top h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; text-transform: none; }
.d-top p { color: #6c6c70; }
.d-ready { padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 18px rgba(0,0,0,.07); display: grid; gap: 12px; }
.d-when { display: flex; justify-content: space-between; align-items: center; }
.d-when small { display: block; color: #6c6c70; font-size: 13px; }
.d-when b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.d-bar { height: 6px; border-radius: 3px; background: #ececef; overflow: hidden; }
.d-bar i { display: block; width: 42%; height: 100%; border-radius: 3px; background: var(--b); animation: grow 1.4s ease both; }
@keyframes grow { from { width: 0; } }
.d-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); font-size: 11.5px; color: #9a9aa0; text-align: center; }
.d-steps li.on { color: #111; font-weight: 600; }
.d-steps li.now { color: var(--b-dark); }
.d-ready > p { font-size: 13px; color: #6c6c70; }
.d-card { padding: 16px; border-radius: 18px; background: #f6f6f8; }
.d-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.d-line { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid #e9e9ec; font-size: 14.5px; }
.d-qty { font-weight: 700; color: var(--b-dark); }
.d-line small { display: block; color: #8a8a8e; font-size: 12.5px; }
.d-total { display: flex; justify-content: space-between; padding-top: 12px; font-size: 16px; }
.d-paid { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; color: #6c6c70; font-size: 13px; }
.d-pick { padding: 0; overflow: hidden; }
.d-map { position: relative; height: 150px; overflow: hidden; background: #eceae6; }
.d-pick-body { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; }
.d-pick-body small { display: block; color: #6c6c70; font-size: 13px; }
.d-pick-body .pill { flex: none; }
.pts { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, var(--b), var(--b-dark)); color: #fff; }
.pts b { display: block; font-size: 18px; }
.pts small { font-size: 13px; opacity: .85; }
.d-actions { display: grid; gap: 10px; margin-top: 4px; }

/* 7. Account */
.a-wrap { min-height: 100%; padding: calc(var(--top) + 16px) 22px 30px; display: grid; align-content: start; gap: 14px; }
.a-skip { justify-self: end; border: 0; background: none; font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; }
.a-logo { justify-self: center; margin: 30px 0 4px; display: grid; justify-items: center; gap: 8px; }
.a-logo b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--b); }
.a-wrap h3 { text-align: center; font-size: 28px; font-weight: 700; letter-spacing: -.02em; text-transform: none; }
.a-wrap .sub { text-align: center; color: #6c6c70; margin-bottom: 8px; }
.or { display: flex; align-items: center; gap: 12px; color: #9a9aa0; font-size: 13px; margin: 8px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #e5e5ea; }
.social { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 14px; border: 0; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.social.apple { background: #000; color: #fff; }
.social.google { background: #fff; box-shadow: inset 0 0 0 1px #e0e0e5; }
.social svg { width: 18px; height: 18px; }
.a-perks { margin-top: 26px; padding: 4px 16px; border-radius: 20px; background: #f6f6f8; text-align: left; }
.a-perks > small { display: block; padding: 14px 0 4px; color: #8a8a8e; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.a-perk { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #e9e9ec; }
.a-perks > small + .a-perk { border-top: 0; }
.a-perk-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #fff; color: var(--b); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.a-perk-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a-perk b { display: block; font-size: 14.5px; font-weight: 600; color: #111; letter-spacing: -.01em; }
.a-perk em { display: block; margin-top: 1px; font-style: normal; font-size: 12.5px; color: #8a8a8e; }

/* 8. Location */
.l-map { position: relative; height: 260px; overflow: hidden; background: #eceae6; }
.l-map::after, .d-map::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.d-map::after { background: linear-gradient(rgba(246,246,248,0), #f6f6f8); }
/* The vector map, once loaded, covers the fallback tiles */
.gl, .gl.maplibregl-map { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; } /* MapLibre's own CSS sets position: relative */
.gl.on { opacity: 1; }
.gl canvas { outline: none; }
.l-tiles { position: absolute; display: grid; grid-template-columns: repeat(4, 256px); }
/* OpenStreetMap is busy and colourful: muted to a light grey so the restaurant stands out */
.l-tiles img { width: 256px; height: 256px; filter: grayscale(.92) brightness(1.07) contrast(.88); }
.l-attr { position: absolute; z-index: 2; right: 6px; bottom: 4px; font-size: 9px; color: #666; background: rgba(255,255,255,.75); padding: 0 4px; border-radius: 3px; }
.pin { position: absolute; z-index: 1; left: 50%; top: 50%; width: 52px; height: 60px; margin: -60px 0 0 -26px; }
.pin-halo { position: absolute; left: 50%; bottom: -14px; width: 64px; height: 28px; margin-left: -32px; border-radius: 50%; background: color-mix(in srgb, var(--b) 22%, transparent); animation: halo 2s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.pin-head { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--b); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0,0,0,.28); }
.pin-head.has-logo { background: #fff; }
.pin-head img { width: 100%; height: 100%; object-fit: cover; }
.pin-tail { position: absolute; left: 50%; bottom: 0; width: 14px; height: 14px; margin-left: -7px; background: #fff; transform: rotate(45deg); border-radius: 0 0 3px 0; box-shadow: 2px 2px 4px rgba(0,0,0,.15); z-index: -1; }
.pin-sm { transform: scale(.8); transform-origin: 50% 100%; }
.l-map .icon-btn { position: absolute; right: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.a-seg { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 16px 0; padding: 4px; border-radius: 14px; background: #f2f2f4; }
.a-seg button { height: 38px; border: 0; border-radius: 10px; background: none; font-size: 13.5px; font-weight: 600; color: #6c6c70; cursor: pointer; line-height: 1.1; }
.a-seg button[aria-pressed="true"] { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.l-rows { margin: 14px 16px 0; display: grid; gap: 10px; }
.a-store-k { font-size: 11.5px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--b-dark) !important; }
/* Livraison: the address; Sur place: the table */
.addr { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--b); }
.addr svg { width: 20px; height: 20px; fill: none; stroke: var(--b); stroke-width: 2; flex: none; }
.addr input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; outline: none; color: #111; }
.tbl { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--b-soft); }
.tbl b { display: block; font-size: 16px; }
.tbl small { color: #48484c; font-size: 12.5px; }
.tbl-n { min-width: 34px; text-align: center; font-size: 22px; }
.a-store { padding: 14px; border-radius: 16px; border: 1px solid #e5e5ea; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.05); display: grid; gap: 3px; }
.a-store b { font-size: 16px; }
.a-store small { color: #48484c; font-size: 13px; }
.a-store .pill { justify-self: start; margin-top: 8px; height: 28px; background: #fff; color: var(--b-dark); box-shadow: inset 0 0 0 1px var(--b); }
.a-store .pill.on { background: var(--b); color: #fff; }

/* ?view=app: the app alone, full screen, to try on a phone (the QR code beside the preview opens it). */
.ap-solo { background: #fff; }
.ap-solo .ap-bg, .ap-solo .ap-top, .ap-solo .ap-side { display: none !important; }
.ap-solo .ap-main { display: block; max-width: none; padding: 0; }
.ap-solo .ap-fit { width: 100vw; height: 100dvh; }
.ap-solo .phone { width: 100%; height: 100%; padding: 0; border-radius: 0; box-shadow: none; background: #fff; transform: none; }
.ap-solo .phone-screen { width: 100%; height: 100%; border-radius: 0; --top: max(12px, env(safe-area-inset-top, 0px)); }
.ap-solo .island, .ap-solo .a-status, .ap-solo .home-bar { display: none; }
.ap-solo.ap-chrome .phone-screen { --top: 54px; }
.ap-solo.ap-chrome .island, .ap-solo.ap-chrome .home-bar { display: block; }
.ap-solo.ap-chrome .a-status { display: flex; }
.ap-solo .tabs { height: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); }
.ap-solo .has-tabs .a-scr { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
.ap-solo .no-tabs .dock, .ap-solo .a-sheet { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

/* PayTo (en-AU): a choice of payment at checkout, PayTo first with its bonus points */
.payto { display: inline-block; height: 18px; width: auto; vertical-align: -3px; }
.a-btn .payto { height: 20px; margin-left: 4px; filter: invert(1); }
.payto-lg { height: 20px; }
.apay-badge.payto { height: 24px; padding: 3px 6px; box-sizing: border-box; }
.apay-lg { font-size: 17px; }
.cardmark { font-weight: 600; }
.pms { display: grid; gap: 8px; margin-bottom: 12px; }
.pm { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 12px 14px; border: 1.5px solid #e6e6ea; border-radius: 14px; background: #fff; text-align: left; font: inherit; color: #111; cursor: pointer; }
.pm[aria-checked="true"] { border-color: #111; background: #fafafa; }
.pm-dot { width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%; border: 2px solid #c7c7cc; }
.pm[aria-checked="true"] .pm-dot { border: 6px solid #111; }
.pm-body { display: grid; gap: 2px; }
.pm-h { font-size: 16px; }
.pm small { color: #8a8a8e; font-size: 12.5px; }
.pm-tag { justify-self: start; margin-top: 4px; padding: 3px 9px; border-radius: 99px; background: #e3f7ee; color: #00804f; font-size: 12px; font-weight: 700; }

/* ---- Video menu, picks, diets, languages, reviews, upsell, tips, after-payment perks ---------------
   One language for all of it: soft #f6f6f8 cards, the brand colour for actions, glass on photos. */

/* Menu header: the video button and the diet chips */
.m-diets .m-video, .m-diets .m-lang { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px 0 8px; border: 0; border-radius: 14px; background: #111; color: #fff; font-weight: 600; font-size: 12.5px; line-height: 1; cursor: pointer; flex: none; }
.m-diets .m-lang { background: #f2f2f4; color: #111; padding: 0 10px 0 7px; }
.m-lang svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.m-sep { flex: none; width: 1px; height: 18px; margin: 0 2px; background: #e3e3e7; }
.m-video svg { width: 14px; height: 14px; fill: currentColor; }
.m-diets { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; }
.m-diets::-webkit-scrollbar { display: none; }
.m-diets-ic { display: none; flex: none; display: grid; place-items: center; width: 28px; height: 28px; color: #8a8a8e; }
.m-diets-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.m-diets button { flex: none; height: 28px; padding: 0 11px; border: 1px solid #e3e3e7; border-radius: 14px; background: #fff; color: #3a3a3c; font-size: 12.5px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.m-diets button[aria-pressed="true"] { border-color: var(--b); background: var(--b-soft); color: var(--b-dark); font-weight: 600; }
.a-chips button[hidden] { display: none; }

/* Diet marks on a dish */
.dts { display: flex; gap: 4px; margin: 1px 0 5px; }
.dt { display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 5px; border-radius: 5px; background: #f0f0f2; color: #3a3a3c; font-weight: 700; font-size: 10px; line-height: 1; font-style: normal; letter-spacing: .02em; }
.dt-v { background: #e6f5ea; color: #1d7a35; }
.dt-h { background: #fdeceb; padding: 0 4px; }
.i-dts { margin: 8px 0 0; }
.a-row b .dts { display: inline-flex; margin: 0 0 0 6px; vertical-align: 2px; }

/* Picked for you: each card says why */
.m-picks { padding: 16px 16px 6px; }
.m-picks-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.m-picks-h h3 { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.m-picks-h h3 svg { width: 17px; height: 17px; fill: var(--b); stroke: none; }
.m-picks-h button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: #6c6c70; font-size: 12.5px; cursor: pointer; padding: 4px; }
.m-picks-h button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pick { flex: 0 0 46%; scroll-snap-align: start; cursor: pointer; }
.pick-img { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #f2f2f4; }
.pick-img img, .pick-img .ph { width: 100%; height: 100%; object-fit: cover; font-size: 40px; }
.pick-why { position: absolute; left: 7px; top: 7px; right: 7px; width: max-content; max-width: calc(100% - 14px); padding: 4px 8px; border-radius: 8px; font-weight: 600; font-size: 10.5px; line-height: 1.2; font-style: normal; color: #fff; background: rgba(20,20,20,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick b { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick .price { font-size: 13px; color: #6c6c70; }
.m-none { display: grid; justify-items: center; gap: 8px; padding: 48px 28px; text-align: center; }
.m-none b { font-size: 16px; }
.m-none small { color: #8a8a8e; font-size: 13px; line-height: 1.4; }

/* The video menu: one dish per screen, full bleed */
[data-scr="reels"] { background: #000; overflow: hidden; }
.reels { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.reels::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #000; }
.reel-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.reel.on .reel-media { animation: reelmove 7s ease-in-out infinite alternate; }
@keyframes reelmove { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.28) translate(-3%, -4%); } }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 48%, rgba(0,0,0,.82) 100%); }
.r-top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: calc(var(--top) + 2px) 14px 0; color: #fff; pointer-events: none; }
.r-top > * { pointer-events: auto; }
.r-top b { flex: 1; font-size: 15px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.r-top .r-logo { width: 34px; height: 34px; font-size: 13px; }
.icon-btn.glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.reel-side { position: absolute; right: 12px; bottom: 150px; display: grid; gap: 14px; }
.reel-act { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; }
.reel-act svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.reel-act[aria-pressed="true"] { color: #ff3b5c; }
.reel-act[aria-pressed="true"] svg { fill: currentColor; }
.reel-info { position: absolute; left: 16px; right: 70px; bottom: 96px; color: #fff; }
.reel-sec { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; opacity: .85; margin-bottom: 6px; }
.reel-sec .dt { background: rgba(255,255,255,.2); color: #fff; }
.reel-info h3 { font-size: 26px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.reel-info p { margin-top: 6px; font-size: 13.5px; line-height: 1.35; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel-buy { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.reel-buy .price { font-size: 18px; font-weight: 700; }
.reel-buy .pill { height: 34px; padding: 0 16px; font-size: 14px; }
.reel-bar { position: absolute; left: 16px; right: 16px; bottom: 84px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.reel-bar i { display: block; height: 100%; width: 0; background: #fff; }
.reel.on .reel-bar i { animation: reelbar 7s linear infinite; }
@keyframes reelbar { to { width: 100%; } }
.reel-hint { position: absolute; z-index: 4; left: 50%; top: calc(var(--top) + 58px); transform: translateX(-50%); padding: 7px 12px; border-radius: 99px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; backdrop-filter: blur(8px); animation: hint 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes hint { 50% { transform: translate(-50%, -6px); } }
.reel-dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; }
@media (prefers-reduced-motion: reduce) { .reel.on .reel-media, .reel.on .reel-bar i, .reel-hint { animation: none; } }

/* Dish page: pairs well with, reviews */
.i-sec { margin-top: 22px; }
.i-sec h4 { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.i-rev-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.i-rev-h h4 { margin: 0; }
.i-rev-h small { color: #6c6c70; font-size: 12.5px; text-align: right; }
.rev { padding: 12px 0; border-bottom: 1px solid #efeff2; }
.rev:last-child { border-bottom: 0; }
.rev-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.rev-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--b-soft); color: var(--b-dark); font-weight: 700; font-size: 12px; }
.rev-stars { color: #f5a623; font-size: 12px; letter-spacing: 1px; }
.rev-h em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 600; color: #8a8a8e; padding: 2px 7px; border-radius: 6px; background: #f2f2f4; }
.rev p { margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: #3a3a3c; }

/* Cart: one dish to add in a tap */
.c-up { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; margin: 14px 16px 0; padding: 10px 12px 10px 10px; border-radius: 16px; background: var(--b-soft); }
.c-up img, .c-up .ph { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; font-size: 18px; }
.c-up b { display: block; font-size: 14px; line-height: 1.25; }
.c-up small { display: flex; align-items: center; gap: 4px; margin-top: 3px; color: var(--b-dark); font-size: 12px; font-weight: 600; }
.c-up small svg { width: 12px; height: 12px; fill: currentColor; }

/* Payment: the tip */
.tips { margin: 2px 0 12px; }
.tips-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.tips-h b { font-size: 15px; }
.tips-h small { color: #8a8a8e; font-size: 12.5px; }
.tips-o { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tips-o button { display: grid; place-items: center; align-content: center; gap: 1px; height: 52px; border: 1.5px solid #e6e6ea; border-radius: 12px; background: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.1; color: #111; cursor: pointer; }
.tips-o button small { font-size: 11px; font-weight: 500; color: #8a8a8e; }
.tips-o button[aria-pressed="true"] { border-color: #111; background: #111; color: #fff; }
.tips-o button[aria-pressed="true"] small { color: rgba(255,255,255,.7); }

/* After paying */
.d-card > small { display: block; margin: -4px 0 12px; color: #6c6c70; font-size: 13px; line-height: 1.4; }
.stars { display: flex; gap: 6px; }
.stars button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .15s; }
.stars button:active { transform: scale(.9); }
.stars svg { width: 24px; height: 24px; fill: #e2e2e6; stroke: none; transition: fill .15s; }
.stars button.on svg { fill: #f5a623; }
.x-google { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: #fff; color: #111; text-decoration: none; }
.x-google b { display: block; font-size: 14px; }
.x-google small { color: #8a8a8e; font-size: 12px; }
.x-google i { font-style: normal; color: #c7c7cc; font-size: 22px; }
.g-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px #e6e6ea; font: 800 18px/1 Arial, sans-serif; background-image: conic-gradient(from -40deg, #ea4335 0 25%, #fbbc05 0 45%, #34a853 0 70%, #4285f4 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-logo.sm { width: 22px; height: 22px; font-size: 15px; box-shadow: none; }
.pass { margin: 2px 0 12px; padding: 16px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--b), var(--b-dark)); box-shadow: 0 10px 24px color-mix(in srgb, var(--b) 30%, transparent); }
.pass-top { display: flex; align-items: center; gap: 10px; }
.pass-top b { flex: 1; font-size: 16px; }
.pass-logo { width: 34px; height: 34px; font-size: 13px; }
.pass-pts { text-align: right; font-size: 24px; font-weight: 800; line-height: 1; }
.pass-pts small, .pass-bot small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-bottom: 3px; }
.pass-bot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 22px; font-size: 14px; font-weight: 600; }
.pass-qr { width: 52px; height: 52px; padding: 5px; border-radius: 8px; background: #fff; }
.pass-qr img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.x-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wbtn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 0; border-radius: 12px; background: #000; color: #fff; text-align: left; cursor: pointer; }
.wbtn span { display: grid; font-size: 13.5px; font-weight: 600; line-height: 1.05; }
.wbtn span small { font-size: 9.5px; font-weight: 500; opacity: .8; }
.wbtn-ic { width: 16px; height: 18px; fill: #fff; }
.wbtn.done { background: #1d7a35; }
.x-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #e9f7f0; }
.x-row b { display: block; font-size: 14px; line-height: 1.25; }
.x-row small { display: block; margin-top: 3px; color: #3c6b55; font-size: 12.5px; line-height: 1.35; }
.x-payto .payto-lg { height: 26px; width: auto; }
.x-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border: 0; border-radius: 18px; background: #f6f6f8; text-align: left; font: inherit; color: #111; cursor: pointer; }
.x-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--b); color: var(--b-ink); margin-bottom: 2px; }
.x-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.x-tile b { font-size: 14px; line-height: 1.2; }
.x-tile small { color: #6c6c70; font-size: 12px; line-height: 1.35; }
.x-tile em { margin-top: auto; padding-top: 4px; font-style: normal; color: var(--b); font-size: 13px; font-weight: 700; }

/* Sheets: why these, language, share */
.sh-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--b-soft); margin-bottom: 10px; }
.sh-ic svg { width: 22px; height: 22px; fill: var(--b); }
.langs { display: grid; gap: 8px; }
.langs .pm { align-items: center; }
.story { position: relative; width: 62%; margin: 4px auto 16px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.story-img, .story-img img, .story-img .ph { width: 100%; height: 100%; object-fit: cover; }
.story-tag { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 99px; background: #fff; color: #111; font-size: 13px; white-space: nowrap; }
.story-logo { width: 24px; height: 24px; font-size: 10px; }
.story-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-btn.ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7); color: #fff; }

/* Food photos play like short looping clips: a slow camera move, a soft light passing over.
   Only inside frames that crop (cards, rows, the dish page); drinks and small thumbnails stay still. */
.row-img img.live, .feat-img img.live, .pick-img img.live, .i-hero img.live, .also img.live, .story-img img.live { animation: lv0 9s ease-in-out infinite alternate; transform-origin: 50% 60%; will-change: transform; }
.row-img img.lv1, .feat-img img.lv1, .pick-img img.lv1, .i-hero img.lv1, .also img.lv1 { animation-name: lv1; }
.row-img img.lv2, .feat-img img.lv2, .pick-img img.lv2, .i-hero img.lv2, .also img.lv2 { animation-name: lv2; }
@keyframes lv0 { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-2.5%, -2%); } }
@keyframes lv1 { from { transform: scale(1.14) translate(2%, 1%); } to { transform: scale(1.04) translate(-1%, -1%); } }
@keyframes lv2 { from { transform: scale(1.06) rotate(-.6deg); } to { transform: scale(1.18) rotate(.6deg) translate(1.5%, -2%); } }
.row-img, .feat-img, .pick-img, .i-hero { overflow: hidden; }
.row-img:has(img.live)::after, .feat-img:has(img.live)::after, .pick-img:has(img.live)::after, .i-hero:has(img.live)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
  animation: sheen 6s ease-in-out infinite;
}
.i-hero:has(img.live)::after { z-index: 0; }
.row-img .qadd, .feat-img .qadd, .pick-img .qadd, .pick-why { z-index: 2; }
@keyframes sheen { 0%, 55% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
@media (prefers-reduced-motion: reduce) { img.live { animation: none !important; } .row-img::after, .feat-img::after, .pick-img::after, .i-hero::after { animation: none !important; display: none; } }


/* ---- Design pass: one system ----------------------------------------------------------------------
   Radius: 999 for actions, 20 for cards, 14 for small cards. Type: 22/20/16/14/12.5, tight tracking on
   titles. Buttons are pills. Sections breathe at 28px. Shadows are soft and single. */
.phone-screen { font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; }
.a-btn { border-radius: 999px; height: 54px; font-size: 16.5px; letter-spacing: -.01em; transition: transform .12s, filter .15s; }
.a-btn:active { transform: scale(.98); }
.a-btn:not(:disabled):hover { filter: brightness(1.06); }
.a-btn.cartbar { padding: 0 8px 0 8px; box-shadow: 0 10px 28px color-mix(in srgb, var(--b) 38%, transparent); }
.a-btn.cartbar .cb-n { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 14px; }
.a-btn.cartbar .price { padding-right: 12px; }
.a-btn.split { padding: 0 24px; }
.dock { padding: 14px 16px 18px; background: linear-gradient(rgba(255,255,255,0), #fff 35%); }

/* Home */
.h-card { margin: -64px 16px 0; padding: 16px 16px 18px; border-radius: 22px; box-shadow: 0 12px 32px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.05); }
.h-hello { display: flex; justify-content: space-between; align-items: center; text-align: left; font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.h-loyal { padding: 14px; border-radius: 16px; background: var(--b-soft); }
.h-loyal-t { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 4px 6px; }
.h-loyal-t b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--b-dark); line-height: 1; }
.h-loyal-t small { font-size: 13px; color: var(--b-dark); opacity: .75; font-weight: 600; }
.h-loyal-t em { grid-column: 1 / -1; font-style: normal; font-size: 12.5px; color: #6c6c70; }
.h-meter { height: 6px; margin-top: 10px; border-radius: 99px; background: color-mix(in srgb, var(--b) 15%, #fff); overflow: hidden; }
.h-meter i { display: block; height: 100%; border-radius: 99px; background: var(--b); }
.h-sec { padding: 28px 16px 0; }
.h-title { margin-bottom: 14px; }
.h-title h2 { font-size: 21px; font-weight: 750; letter-spacing: -.025em; }
.cat { flex-basis: 76px; font-weight: 600; font-size: 12px; color: #1c1c1e; }
.cat-img { width: 72px; height: 72px; box-shadow: 0 4px 14px rgba(0,0,0,.10); }
.feat { flex-basis: 72%; }
.feat-img { border-radius: 20px; aspect-ratio: 5 / 4; }
.feat b { font-size: 16px; margin-top: 12px; }
.promos .promo { border-radius: 20px; height: 158px; }
.promos .promo strong { font-size: 22px; }

/* Menu */
.m-head { box-shadow: none; border-bottom: 1px solid #f0f0f2; }
.a-chips button { height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.m-sec { padding-top: 6px; }
.m-sec h3 { font-size: 21px; font-weight: 750; letter-spacing: -.025em; }
.a-row { grid-template-columns: 1fr 112px; gap: 16px; padding: 16px 0; }
.a-row b { font-size: 16px; }
.row-img { width: 112px; height: 112px; border-radius: 18px; }
.row-img .qadd, .qadd { width: 34px; height: 34px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.pick-img { border-radius: 20px; }

/* Dish */
.i-hero { height: 360px; }
.i-body { border-radius: 26px 26px 0 0; margin-top: -26px; padding: 24px 18px 8px; }
.i-title h3 { font-size: 25px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.i-title .price { font-size: 18px; font-weight: 700; }

/* Cart, sheets, after paying */
.c-pick { border-radius: 20px; }
.c-item img, .c-item .ph { border-radius: 14px; }
.also { border-radius: 18px; }
.a-sheet { border-radius: 28px 28px 0 0; padding: 10px 18px 34px; }
.box, .totals { border-radius: 18px; }
.pm, .tips-o button { border-radius: 16px; }
.d-card, .pts, .x-row, .x-tile { border-radius: 22px; }
.pill { height: 32px; padding: 0 15px; border-radius: 999px; }

/* Tab bar: the current tab gets a soft pill behind its icon */
.tabs { background: rgba(255,255,255,.92); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); }
.tabs button { font-weight: 600; }
.tabs button svg { width: 52px; height: 30px; padding: 3px 13px; border-radius: 999px; box-sizing: border-box; transition: background .2s; }
.tabs button[aria-current="page"] svg { background: var(--b-soft); }

/* AI Tips */
.ai-mark { display: inline-flex; align-items: center; gap: 5px; }
.ai-mark svg, .ai-why svg { width: 14px; height: 14px; fill: var(--b); flex: none; }
.tips-o { padding-top: 9px; }
.tips-o button { position: relative; height: 56px; }
.tips-o button.ai { border-color: var(--b); background: var(--b-soft); color: var(--b-dark); }
.tips-o button.ai small { color: var(--b-dark); opacity: .75; }
.tips-o button.ai[aria-pressed="true"] { background: var(--b); border-color: var(--b); color: #fff; }
.tips-o button.ai[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.ai-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 7px; border-radius: 99px; background: var(--b); color: #fff; font-weight: 700; font-size: 9.5px; line-height: 1.3; font-style: normal; letter-spacing: .02em; white-space: nowrap; }
.ai-why { display: flex; align-items: center; gap: 6px; margin: 8px 2px 0; color: #8a8a8e; font-size: 12px; line-height: 1.35; }

/* Confirmation: earn more points, a quiet list */
.x-earn { padding: 6px 16px 4px; border-radius: 22px; background: #f6f6f8; }
.x-earn h4 { font-size: 16px; font-weight: 700; margin: 12px 0 2px; }
.x-li { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 14px 0; border: 0; border-top: 1px solid #e9e9ec; background: none; text-align: left; font: inherit; color: #111; cursor: pointer; }
.x-earn h4 + .x-li { border-top: 0; }
.x-li-t b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.x-li-t small { display: block; margin-top: 2px; color: #8a8a8e; font-size: 12.5px; }
.x-li > i { font-style: normal; font-size: 22px; color: #c7c7cc; }
.x-pts { font-style: normal; padding: 1px 6px; border-radius: 99px; background: var(--b-soft); color: var(--b-dark); font-size: 11px; font-weight: 700; }
.x-coupon { display: grid; place-items: center; width: 48px; height: 32px; border-radius: 7px; background: var(--b); color: #fff;
  -webkit-mask: radial-gradient(circle 5px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 5px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; }
.x-coupon b { font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.x-cam { display: grid; place-items: center; width: 40px; height: 40px; margin-left: 4px; border-radius: 12px; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.x-cam svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Powered by: quiet, at the very bottom; full strength on hover */
.powered { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px auto 4px; padding: 6px 10px; width: max-content; color: #a1a1a6; font-size: 11.5px; font-weight: 500; text-decoration: none; opacity: .8; transition: opacity .2s, color .2s; }
.powered:hover { opacity: 1; color: #111; }
.powered-mark { display: inline-block; height: 12px; aspect-ratio: 4.3; background: currentColor; -webkit-mask: var(--logo) no-repeat center / contain; mask: var(--logo) no-repeat center / contain; }
