/* ══════════════════════════════════════════════════════════════
   INCOGNITO BURGER · app de commande, mobile d'abord
   Interface calquée sur les codes d'Uber Eats : blanc, noir, gris,
   lignes fines, coins arrondis, panneaux du bas, typo Inter.
══════════════════════════════════════════════════════════════ */
:root {
  --bg: #ffffff;
  --bg2: #f6f6f6;
  --line: #e6e6e6;
  --ink: #000000;
  --ink2: #545454;
  --ink3: #8a8a8a;
  --gold: #B99875;        /* l'or de la marque, en aplat */
  --gold-ink: #8A6A45;    /* l'or lisible sur blanc */
  --gold-soft: #F3EBE0;   /* fond or très clair */
  --tape: #F6C90E;        /* jaune ruban de police, derrière les titres */
  --red: #e11900;
  --r: 8px;
  --r2: 14px;
  --bar: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
:root { --brand: 'Barlow Condensed', 'Inter', system-ui, sans-serif; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: left; }
img { display: block; }
[hidden] { display: none !important; }

.app { max-width: 600px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; }
@media (min-width: 640px) { .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }
.screen { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }

/* ── écran 1 : en-tête restaurant ─────────────────────────── */
.cover {
  position: relative;
  height: 150px;
  background: #0a0a0a;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cover img { height: 132px; width: auto; }
.cover-back {
  position: absolute; top: 12px; left: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: #000;
  display: grid; place-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.cover-back svg { width: 20px; height: 20px; }

.store-head {
  position: relative;
  margin-top: -18px;
  background: var(--bg);
  border-radius: var(--r2) var(--r2) 0 0;
  padding: 18px 16px 12px;
}
.store-head h1 { font-family: var(--brand); font-size: 30px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.store-head .meta { margin-top: 4px; font-size: 14px; color: var(--ink2); }
.store-head .meta b { color: var(--ink); font-weight: 600; }
.store-head .status { margin-top: 6px; font-size: 13px; color: var(--ink2); display: flex; align-items: center; gap: 6px; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.status.off .dot { background: var(--ink3); }
.status b { color: var(--gold-ink); font-weight: 600; }
.status.off b { color: var(--ink2); }

/* bascule livraison / à emporter */
.toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg2); border-radius: 999px; padding: 3px; margin-top: 14px;
}
.toggle button {
  padding: 9px 12px; border-radius: 999px; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--ink2); transition: background .15s, color .15s;
}
.toggle button.on { background: #000; color: #fff; }

/* onglets de catégories */
.tabs {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: 4px; padding: 0 8px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none; padding: 14px 10px 12px;
  font-size: 14px; font-weight: 600; color: var(--ink2);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }

/* commander à nouveau */
.reorder {
  margin: 12px 16px 0;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r2);
  width: calc(100% - 32px);
}
.reorder-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--bg2); display: grid; place-items: center; flex: none; font-size: 18px; }
.reorder-txt { flex: 1; min-width: 0; }
.reorder-txt b { display: block; font-size: 14px; font-weight: 600; }
.reorder-txt span { display: block; font-size: 13px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reorder-go { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* sections du menu */
.menu-sec { scroll-margin-top: 48px; padding-top: 20px; }
.menu-sec h2 { font-family: var(--brand); font-size: 24px; font-weight: 900; margin-left: 16px; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.sec-sub { padding: 2px 16px 6px; font-size: 14px; color: var(--ink2); }

/* une ligne produit : texte à gauche, photo et + à droite */
.item {
  width: 100%;
  display: grid; grid-template-columns: 1fr 96px; gap: 14px; align-items: start;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.item:last-child { border-bottom: 0; }
.item-txt { min-width: 0; padding-top: 2px; }
.item-txt b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.item-txt .tag { display: inline-block; margin-top: 4px; font-family: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft); padding: 3px 9px; border-radius: 999px; }
.item-txt p {
  margin-top: 4px; font-size: 14px; color: var(--ink2); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-txt .price { margin-top: 6px; font-size: 14px; color: var(--ink); }
.item-txt .price span { color: var(--ink2); }
.item-pic { position: relative; width: 96px; height: 96px; }
.item-pic img { width: 96px; height: 96px; border-radius: var(--r); object-fit: cover; background: #fff; border: 1px solid var(--line); }
.plus {
  position: absolute; right: 6px; bottom: 6px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; color: #000; box-shadow: 0 1px 5px rgba(0,0,0,.28);
  display: grid; place-items: center;
}
.plus svg { width: 16px; height: 16px; }
.plus.has { background: #000; color: #fff; font-size: 13px; font-weight: 700; }
.plus:active { transform: scale(.94); }

.fine { padding: 18px 16px 8px; font-size: 12px; color: var(--ink3); line-height: 1.5; }

/* ── écran 2 : finaliser ─────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 40px 1fr 40px; align-items: center;
  height: 52px; padding: 0 8px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.topbar h1 { grid-column: 2; justify-self: center; font-family: var(--brand); font-size: 18px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.icon-btn:active { background: var(--bg2); }
.icon-btn svg { width: 22px; height: 22px; }

.card { padding: 18px 16px 8px; border-bottom: 8px solid var(--bg2); }
.card:last-of-type { border-bottom: 0; }
.card h2 { font-family: var(--brand); font-size: 21px; font-weight: 900; margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.card .toggle { margin: 10px 0 4px; }

.row {
  width: 100%;
  display: grid; grid-template-columns: 24px 1fr 20px; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.row:last-of-type, .row.static:last-child { border-bottom: 0; }
.row.static { cursor: default; }
.row-ico { width: 22px; height: 22px; }
.row-chev { width: 18px; height: 18px; color: var(--ink3); }
.row-txt { min-width: 0; }
.row-txt small { display: block; font-size: 12px; color: var(--ink2); margin-bottom: 1px; }
.row-txt b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-txt b.empty { color: var(--ink2); font-weight: 500; }
.row-txt span { display: block; font-size: 13px; color: var(--ink2); margin-top: 1px; }
.row.bad .row-txt b { color: var(--red); }

.err { display: none; color: var(--red); font-size: 13px; padding: 6px 0 2px; }
.err.show { display: block; }

.field { padding: 8px 0 10px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field label em { font-style: normal; font-weight: 400; color: var(--ink2); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 16px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2);
  -webkit-appearance: none; resize: none;
}
.field input:focus, .field textarea:focus { outline: none; border-color: #000; background: #fff; }
.field input.bad { border-color: var(--red); }

.hint { margin-top: 6px; font-size: 12px; color: var(--ink2); line-height: 1.4; }
.check, .field label.check { display: flex; align-items: center; gap: 10px; margin-top: 10px; margin-bottom: 0; font-size: 14px; font-weight: 500; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid #000; border-radius: 5px; margin: 0; flex: none; display: grid; place-items: center; }
.check input:checked { background: #000; }
.check input:checked::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.btn-black.busy { opacity: .75; pointer-events: none; }
.btn-black.busy span:first-child::after { content: '…'; }
.done .btn-black.off { display: none; }

.link-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0 6px; font-size: 14px; font-weight: 600; }
.link-btn svg { width: 18px; height: 18px; }

/* récapitulatif */
.sum {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.sum:last-child { border-bottom: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 30px; height: 30px; display: grid; place-items: center; }
.stepper button svg { width: 14px; height: 14px; }
.stepper b { min-width: 22px; text-align: center; font-size: 14px; }
.sum-txt { min-width: 0; }
.sum-txt b { display: block; font-size: 15px; font-weight: 600; }
.sum-txt span { display: block; font-size: 13px; color: var(--ink2); margin-top: 2px; }
.sum-txt button { font-size: 13px; font-weight: 600; text-decoration: underline; margin-top: 4px; }
.sum-price { font-size: 14px; font-weight: 500; white-space: nowrap; padding-top: 6px; }
.empty { padding: 14px 0; color: var(--ink2); font-size: 14px; }

.totals { font-size: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink2); }
.totals .free { color: var(--gold-ink); font-weight: 600; }
.totals .nudge { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 6px; padding: 9px 12px; background: var(--gold-soft); border-radius: var(--r); color: var(--gold-ink); font-size: 13px; }
.totals .nudge b { font-weight: 700; }
.totals .nudge .link-btn { padding: 0; color: var(--gold-ink); font-size: 13px; white-space: nowrap; }
.bar-nudge { text-align: center; font-size: 12px; color: var(--gold-ink); font-weight: 600; margin-bottom: 8px; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--ink); font-size: 16px; font-weight: 700; }

/* ── écran 3 : envoyée ───────────────────────────────────── */
.done { padding: 40px 20px 20px; text-align: center; }
.done-stamp {
  display: inline-block;
  margin: 0 auto 18px;
  padding: 8px 18px;
  border: 2px solid var(--gold-ink);
  color: var(--gold-ink);
  font-family: var(--brand);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 6px;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.done h1 { font-family: var(--brand); font-size: 26px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.done-num { margin-top: 4px; font-size: 14px; color: var(--ink2); }
.done-box { margin: 22px 0 14px; border: 1px solid var(--line); border-radius: var(--r2); text-align: left; }
.done-line { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.done-line:last-child { border-bottom: 0; }
.done-line small { display: block; font-size: 12px; color: var(--ink2); }
.done-line b { display: block; font-size: 15px; font-weight: 600; margin-top: 1px; }
.done-txt { font-size: 14px; color: var(--ink2); line-height: 1.5; margin-bottom: 20px; }
.done .btn-black { justify-content: center; margin-bottom: 10px; }

/* ── boutons ─────────────────────────────────────────────── */
.btn-black {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border-radius: 999px; background: #000; color: #fff;
  font-size: 16px; font-weight: 600; text-decoration: none; text-align: center;
}
.btn-black span { white-space: nowrap; }
.btn-black:active { transform: scale(.985); }
.btn-black.off { background: #c9c9c9; pointer-events: none; }
.btn-black .badge { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: #fff; color: #000; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.btn-black.wa { background: #1fa855; }
.btn-black.wa.off { background: #c9c9c9; }
.wa-ico { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn-white { width: 100%; padding: 14px 18px; border-radius: 999px; background: #fff; border: 1px solid #000; font-size: 16px; font-weight: 600; text-align: center; }
.btn-outline { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 16px; border-radius: 999px; border: 1px solid #000; background: #fff; font-size: 15px; font-weight: 600; }
.btn-outline svg { width: 20px; height: 20px; }
.btn-outline.busy { opacity: .6; }

/* barre du bas */
.bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.bottom > * { max-width: 568px; margin: 0 auto; }

/* ── panneau du bas ──────────────────────────────────────── */
.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet-back { position: absolute; inset: 0; background: rgba(0,0,0,.45); animation: fade .2s; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 600px;
  max-height: 92vh; display: flex; flex-direction: column;
  background: #fff; border-radius: 16px 16px 0 0; animation: up .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet-x { position: absolute; top: 10px; left: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); display: grid; place-items: center; }
.sheet-x svg { width: 18px; height: 18px; }
.sheet-body { overflow-y: auto; padding: 0 16px 16px; -webkit-overflow-scrolling: touch; }
.sheet-body.pad { padding-top: 56px; }
.sheet-foot { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.sheet-foot .btn-black { flex: 1; }
.sheet-foot .stepper { flex: none; }
.sheet-foot .stepper button { width: 38px; height: 42px; }

.sheet-img { width: 100%; height: 210px; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.sheet h2 { font-family: var(--brand); font-size: 26px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.sheet .price { font-size: 16px; margin-top: 4px; }
.sheet .desc { font-size: 14px; color: var(--ink2); margin-top: 6px; line-height: 1.45; }
.sheet .sub { font-size: 14px; color: var(--ink2); margin-top: 4px; }
.sheet .fixed { margin-top: 10px; font-size: 12px; color: var(--ink3); }

.opt-group { margin-top: 22px; }
.opt-group h3 { font-size: 16px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.opt-group h3 small { font-size: 12px; font-weight: 500; color: var(--ink2); }
.opt-group h3 small.req { color: var(--ink); background: var(--bg2); padding: 2px 8px; border-radius: 999px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt .opt-txt { flex: 1; min-width: 0; font-size: 15px; }
.opt .opt-txt span { display: block; font-size: 13px; color: var(--ink2); }
.opt .opt-price { font-size: 14px; color: var(--ink2); white-space: nowrap; }
.opt input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 2px solid #000; border-radius: 50%; flex: none; margin: 0; transition: border-width .12s; }
.opt input:checked { border-width: 7px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; background: #fff; }
.chip.on { background: #000; color: #fff; border-color: #000; }
.chip:disabled { opacity: .35; }

.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.slot-grid .chip { text-align: center; padding: 10px 4px; }
.slot-grid .chip small { display: block; font-size: 10px; color: var(--ink3); font-weight: 400; }
.slot-grid .chip.on small { color: rgba(255,255,255,.7); }

.sugg { list-style: none; margin-top: 6px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.sugg li { padding: 11px 13px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.sugg li:last-child { border-bottom: 0; }
.sugg li:active { background: var(--bg2); }
.sugg li b { display: block; font-weight: 600; }
.sugg li span { display: block; font-size: 12px; color: var(--ink2); }
.sugg li.none { color: var(--ink2); cursor: default; }
.geo-status { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
.geo-status.ok { border-color: var(--gold); }
.geo-status.bad { border-color: var(--red); color: var(--red); }
.geo-status b { display: block; }
.geo-status .clear { margin-left: auto; font-size: 12px; text-decoration: underline; color: var(--ink2); white-space: nowrap; }

.repaire { margin-top: 12px; padding: 12px 14px; background: var(--bg2); border-radius: var(--r); font-size: 14px; line-height: 1.5; }
.repaire b { display: block; font-weight: 600; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar) + 18px); transform: translateX(-50%) translateY(12px);
  z-index: 120; background: #000; color: #fff; font-size: 14px; font-weight: 500;
  padding: 10px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ── ruban de police derrière les titres ── */
.store-head h1, .menu-sec h2, .card h2, .sheet h2, .done h1, .topbar h1 {
  display: inline-block;
  background: var(--tape);
  color: #000;
  padding: 5px 12px 4px;
  transform: rotate(-1.4deg);
  transform-origin: left center;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 2px 2px 0 rgba(0,0,0,.12);
}
.done h1, .topbar h1 { transform-origin: center; }
.store-head h1 { margin-top: 2px; margin-bottom: 8px; }
.menu-sec h2 { margin-bottom: 6px; }
.sheet h2 { margin-bottom: 8px; }
.done h1 { margin-bottom: 6px; }

/* ══════════════════════════════════════════════════════════════
   ORDINATEUR : mise en page large, façon Uber Eats sur desktop
══════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  body { background: var(--bg2); }
  .app { max-width: 1120px; border: 0; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
  .cover { height: 220px; }
  .cover img { height: 170px; }
  .cover-back { top: 16px; left: 20px; width: 40px; height: 40px; }

  /* en-tête sur une ligne : nom et infos à gauche, bascule à droite */
  .store-head { display: grid; grid-template-columns: 1fr 340px; column-gap: 32px; align-items: center; padding: 26px 32px 14px; }
  .store-head h1 { grid-column: 1; font-size: 34px; justify-self: start; }   /* le ruban garde la largeur du texte */
  .store-head .meta, .store-head .status { grid-column: 1; }
  .store-head .toggle { grid-column: 2; grid-row: 1 / 4; margin-top: 0; }

  .tabs { padding: 0 24px; }
  .reorder { margin: 16px 32px 0; width: calc(100% - 64px); }
  .menu-sec h2 { margin-left: 32px; }
  .sec-sub { padding: 2px 32px 12px; }
  .fine { padding: 22px 32px 10px; }

  /* produits en deux colonnes de cartes */
  .items { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 32px 10px; }
  .item { border: 1px solid var(--line); border-radius: var(--r2); padding: 14px; grid-template-columns: 1fr 112px; }
  .item:last-child { border-bottom: 1px solid var(--line); }
  .item-pic, .item-pic img { width: 112px; height: 112px; }

  /* finaliser : détails à gauche, récap et total à droite, collés en haut */
  #scrCheckout { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 28px; align-items: start; padding: 0 32px calc(var(--bar) + 24px); }
  #scrCheckout .topbar { grid-column: 1 / -1; margin: 0 -32px 8px; padding: 0 24px; }
  .ck-right { position: sticky; top: 64px; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
  .ck-right .card { border-bottom: 1px solid var(--line); }
  .ck-right .card:last-of-type { border-bottom: 0; }
  .ck-left .card { border-bottom: 1px solid var(--line); padding-left: 0; padding-right: 0; }
  .ck-left .card:last-of-type { border-bottom: 0; }

  /* barres du bas : alignées sur l'app, bouton à droite */
  .bottom { padding-left: max(16px, calc((100% - 1120px) / 2 + 32px)); padding-right: max(16px, calc((100% - 1120px) / 2 + 32px)); }
  .bottom > * { max-width: none; }
  .bottom .btn-black { max-width: 440px; margin-left: auto; margin-right: 0; }
  .bar-nudge { text-align: right; padding-right: 24px; }
  .toast { bottom: calc(var(--bar) + 18px); }

  .done { max-width: 560px; margin: 0 auto; }
}
