/* Site de commande La Caisse : la couleur --brand vient de chaque restaurant. */
:root {
  --brand: rgb(33 75 50); --on-brand: #fff; --brand-ink: var(--brand);
  --brand-soft: color-mix(in srgb, var(--brand) 7%, #fff);
  --bg: #fff; --surface: #fff; --sunk: #f2f2f0; --ink: #222; --muted: #6b6b6b;
  --line: #e4e4e0; --good: #1c7c43; --bad: #c8322b; --warn: #94600a;
  --r: 6px; --r-l: 10px;
  --head: 64px; --gut: clamp(14px, 3vw, 32px); --tabs: 50px;
  --font: Ubuntu, "Segoe UI", Roboto, system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.25,1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + var(--tabs) - 10px); }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; font-weight: 700; }
p { font-weight: 400; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.wrap { padding: 0 var(--gut); }

/* En-tête à la couleur du restaurant */
.header { position: sticky; top: 0; z-index: 40; height: var(--head); background: var(--brand); color: var(--on-brand); }
.head-in { height: 100%; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .01em; }
.brand img { height: 42px; width: auto; max-width: 90px; object-fit: contain; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head-actions { display: flex; align-items: center; gap: 2px; flex: none; }
.icon-btn { display: inline-grid; place-items: center; grid-auto-flow: column; gap: 5px; min-width: 42px; height: 42px; padding: 0 8px; font-weight: 500; font-size: 13px; position: relative; }
.head-user { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 10px; font-weight: 500; font-size: 14px; }
.head-cart em { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #fff; color: #222; font: 700 11px/18px var(--font); text-align: center; }
@media (min-width: 1120px) { .head-cart { display: none; } }

/* Accueil */
.banner { background: var(--sunk); }
.banner img { width: 100%; height: auto; max-height: 340px; object-fit: cover; }
.home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 22px; padding-bottom: 40px; }
@media (min-width: 1120px) { .home { grid-template-columns: minmax(0, 1fr) 340px; } }
.home-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.home h1 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; }
.status { display: block; margin-top: 3px; font-size: 14px; font-weight: 500; }
.status.open { color: var(--good); } .status.closed { color: var(--bad); }
.offer { display: block; width: 100%; margin-top: 14px; padding: 11px 14px; text-align: left; background: var(--brand-soft); color: var(--brand-ink); border-left: 3px solid var(--brand); font-size: 14.5px; }
.families { display: flex; gap: 12px; margin-top: 16px; padding: 3px; overflow-x: auto; scrollbar-width: none; }
.families::-webkit-scrollbar { display: none; }
.family { flex: none; width: 78px; text-align: center; }
.family .media { display: grid; width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; }
.family.on .media { box-shadow: 0 0 0 2px var(--brand); }
.family .media-ph { width: 22px; height: 22px; }
.family b { display: block; margin-top: 7px; color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.2; }
.family.on b { color: var(--brand-ink); font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (min-width: 620px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1500px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1850px) { .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 2300px) { .tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.tile { display: block; text-align: left; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--surface); transition: border-color .15s; }
.tile:hover { border-color: var(--brand); }
.tile .media { aspect-ratio: 1; display: grid; }
.tile b { display: flex; align-items: center; min-height: 52px; padding: 8px 12px; font-size: 14.5px; line-height: 1.2; text-transform: uppercase; }

.seg { display: inline-flex; border: 1px solid var(--brand); border-radius: var(--r); overflow: hidden; }
.seg button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; font-weight: 500; font-size: 14px; color: var(--brand-ink); white-space: nowrap; }
.seg button.on { background: var(--brand); color: var(--on-brand); }
.seg.wide { display: flex; margin-bottom: 12px; } .seg.wide button { flex: 1; height: 46px; }
.pill-info { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; color: var(--muted); }

/* Carte : onglets de catégories */
.tabs { position: sticky; top: var(--head); z-index: 30; display: flex; align-items: stretch; height: var(--tabs); background: #fff; border-bottom: 1px solid var(--line); max-width: 100%; }
.tab-btn { position: relative; flex: none; width: 50px; display: grid; place-items: center; color: var(--ink); }
.tab-btn:first-child { border-right: 1px solid var(--line); } .tab-btn:last-child { border-left: 1px solid var(--line); }
.tab-btn em { position: absolute; top: 7px; right: 7px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--brand); color: var(--on-brand); font: 700 10.5px/16px var(--font); text-align: center; }
.rail { position: relative; flex: 1; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.rail::-webkit-scrollbar, .quick::-webkit-scrollbar { display: none; }
.rail button { flex: none; padding: 0 15px; font-weight: 500; font-size: 14px; color: var(--muted); white-space: nowrap; text-transform: uppercase; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
.rail button.on { color: var(--brand-ink); border-bottom-color: var(--brand); font-weight: 700; }
.toolbar { display: flex; gap: 8px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); min-width: 0; background: #fff; }
.search:focus-within { border-color: var(--brand); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); }
.tool { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; font-size: 14px; }
.tool em { font-style: normal; font-weight: 700; color: var(--brand-ink); }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.view-toggle button { width: 42px; display: grid; place-items: center; color: var(--muted); }
.view-toggle button.on { background: var(--sunk); color: var(--ink); }
.quick { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 10px; align-items: center; }
.chip { flex: none; height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: var(--r); font-size: 13.5px; background: #fff; white-space: nowrap; }
.chip:hover { border-color: #bbb; }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip.off { border-color: var(--bad); color: var(--bad); text-decoration: line-through; }
.chip-sep { flex: none; width: 1px; height: 18px; background: var(--line); margin: 0 3px; }

/* Plats */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 16px 0 40px; }
@media (min-width: 1120px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.cat-section { padding-top: 20px; }
.cat-head { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 2px solid var(--ink); }
.cat-head h2 { font-size: 20px; line-height: 1.15; text-transform: uppercase; }
.cat-head span { color: var(--muted); font-size: 14px; }
.cards.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .cards.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1500px) { .cards.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1850px) { .cards.grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 2300px) { .cards.grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cards.list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 820px) { .cards.list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: border-color .15s; }
@media (hover: hover) { .card:hover { border-color: #bdbdb8; } }
.card.in-cart { border-color: var(--brand); }
.card-media { position: relative; cursor: pointer; }
.media { position: relative; overflow: hidden; background: var(--sunk); display: grid; place-items: center; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media-ph { color: #bbb; width: 26px; height: 26px; }
.card .media { aspect-ratio: 4/3; }
.card-tags { position: absolute; top: 0; left: 0; display: flex; z-index: 2; }
.tag { padding: 3px 8px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 500; }
.tag.promo { background: var(--bad); }
.fav { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; z-index: 2; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.fav.on svg { fill: currentColor; }
.card-body { padding: 10px 12px 0; flex: 1; cursor: pointer; }
.card h3 { font-weight: 500; font-size: 15.5px; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 10px 12px; min-height: 54px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.price b { font-weight: 700; font-size: 16px; color: var(--brand-ink); }
.price small { color: var(--muted); font-size: 12px; }
.price s { color: var(--muted); font-size: 13px; }
.price.big b { font-size: 21px; }
.add { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); background: var(--brand); color: var(--on-brand); }
.add b { font-size: 15px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--brand); border-radius: var(--r); height: 36px; color: var(--brand-ink); }
.stepper button { width: 32px; height: 34px; display: grid; place-items: center; }
.stepper span { min-width: 18px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper.mini { height: 30px; border-color: var(--line); color: var(--ink); }
.stepper.mini button { width: 29px; height: 28px; font-size: 13px; }
.stepper.big { height: 50px; border-color: var(--line); color: var(--ink); flex: none; }
.stepper.big button { width: 46px; height: 48px; }
.cards.list > .card { display: grid; grid-template-columns: minmax(0, 1fr) 116px; grid-template-rows: 1fr auto; }
.cards.list .card-media { position: static; grid-column: 2; grid-row: 1 / 3; }
.cards.list .card.tagged .card-body { padding-top: 30px; }
.cards.list .media { aspect-ratio: auto; height: 100%; min-height: 116px; }
.cards.list .card-body { grid-column: 1; grid-row: 1; }
.cards.list .card-foot { grid-column: 1; grid-row: 2; padding: 2px 10px 10px 12px; min-height: 46px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); display: grid; justify-items: center; gap: 8px; }
.empty .ic { width: 30px; height: 30px; }
.empty h3 { font-size: 19px; color: var(--ink); }

/* Panier */
.cart-aside { display: none; }
@media (min-width: 1120px) { .cart-aside { display: block; } .cart-aside > div { position: sticky; top: calc(var(--head) + var(--tabs) + 14px); max-height: calc(100vh - var(--head) - var(--tabs) - 28px); display: flex; } .home .cart-aside > div { top: calc(var(--head) + 14px); max-height: calc(100vh - var(--head) - 28px); } .cart-aside .cart-box { flex: 1; overflow-y: auto; scrollbar-width: thin; } }
.cart-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; }
.sheet .cart-box { border: 0; padding: 0; }
.cart-box h2 { font-size: 18px; display: flex; align-items: center; gap: 7px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cart-box h2 em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 15px; }
.cart-box h2 em::before { content: "("; } .cart-box h2 em::after { content: ")"; }
.cart-empty { text-align: center; padding: 26px 8px 12px; color: var(--muted); }
.cart-empty .ic { display: none; }
.cart-empty strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 3px; }
.lines { display: grid; gap: 13px; margin-top: 12px; }
.line { display: flex; gap: 10px; }
.line .media { width: 54px; height: 54px; border-radius: var(--r); flex: none; }
.line-main { flex: 1; min-width: 0; }
.line-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14.5px; }
.line-top b { font-weight: 500; line-height: 1.25; } .line-top span { font-weight: 700; white-space: nowrap; }
.line small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
.line .stepper { margin-top: 6px; }
.cart-sug { margin-top: 16px; }
.cart-sug h4, .also h3 { font-size: 14px; margin-bottom: 8px; }
.sug-row, .also-row { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sug-row::-webkit-scrollbar, .also-row::-webkit-scrollbar { display: none; }
.sug, .also-item { position: relative; flex: none; width: 108px; text-align: left; }
.sug .media, .also-item .media { display: grid; height: 74px; border-radius: var(--r); margin-bottom: 5px; }
.sug b, .also-item b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; font-size: 12.5px; line-height: 1.2; }
.sug small, .also-item small { color: var(--muted); font-size: 12px; }
.sug i, .also-item i { position: absolute; top: 48px; right: 4px; width: 23px; height: 23px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); border-radius: 4px; z-index: 2; font-size: 11px; }
.free-bar { margin-top: 14px; font-size: 13px; color: var(--muted); }
.free-bar span { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.free-bar div { height: 4px; background: var(--sunk); overflow: hidden; }
.free-bar i { display: block; height: 100%; background: var(--brand); transition: width .3s var(--ease); }
.sum { margin: 14px 0 12px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 5px; font-size: 14.5px; }
.sum > div { display: flex; justify-content: space-between; gap: 10px; }
.sum span { color: var(--muted); } .sum b { font-weight: 500; }
.sum .good, .sum .good span { color: var(--good); }
.sum .grand { font-size: 18px; margin-top: 4px; } .sum .grand span { color: var(--ink); font-weight: 700; } .sum .grand b { font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: var(--r); font-weight: 500; font-size: 15px; white-space: nowrap; }
.btn.primary { background: var(--brand); color: var(--on-brand); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { border: 1px solid var(--line); background: #fff; }
.btn.danger { color: var(--bad); }
.btn.grow { flex: 1; width: 100%; } .btn.big { height: 52px; font-size: 16px; }
.btn.split { justify-content: space-between; } .btn.split b { font-weight: 700; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.cart-pill { position: fixed; left: 0; right: 0; bottom: 0; transform: translateY(110%); z-index: 35; transition: transform .25s var(--ease); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.cart-pill.show { transform: none; }
.pill { display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; padding: 0 15px; border-radius: var(--r); background: var(--brand); color: var(--on-brand); font-weight: 500; }
.pill em { font-style: normal; font-weight: 700; }
.pill em::after { content: " ·"; }
.pill span { flex: 1; text-align: left; } .pill b { font-weight: 700; }
@media (min-width: 1120px) { .cart-pill { display: none; } }
.fly { position: fixed; z-index: 90; object-fit: cover; border-radius: 6px; pointer-events: none; }

/* Pied de page */
.foot { background: var(--brand); color: var(--on-brand); padding: 24px var(--gut) 86px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 56px; }
.foot h4 { font-size: 14px; text-transform: uppercase; margin-bottom: 3px; }
.foot-social { display: flex; gap: 12px; font-size: 18px; }
.foot small { display: block; margin: 18px 0 0; opacity: .8; } .foot small a { text-decoration: underline; }
@media (min-width: 1120px) { .foot { padding-bottom: 24px; } }

/* Feuilles */
.sheet-wrap { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.sheet-back { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; }
.sheet { position: relative; display: flex; flex-direction: column; width: 100%; max-height: 92dvh; background: var(--surface); border-radius: 12px 12px 0 0; transform: translateY(30px); opacity: 0; transition: transform .22s var(--ease), opacity .18s; overflow: hidden; }
.sheet-wrap.in .sheet-back { opacity: 1; }
.sheet-wrap.in .sheet { transform: none; opacity: 1; }
@media (min-width: 720px) {
  .sheet-wrap { align-items: center; padding: 24px; }
  .sheet { max-width: 580px; border-radius: var(--r-l); max-height: 88vh; transform: translateY(10px); }
  .sheet-wrap.small .sheet { max-width: 420px; }
  .sheet-wrap.side { justify-content: flex-end; padding: 0; }
  .sheet-wrap.side .sheet { max-width: 400px; height: 100%; max-height: none; border-radius: 0; transform: translateX(24px); }
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 8px 10px 18px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 19px; }
.sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 12px 18px 16px; }
.sheet-body.pad { display: grid; gap: 8px; }
.sheet-foot { display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.icon-btn.float { position: absolute; top: 8px; right: 8px; background: #fff; border-radius: var(--r); z-index: 4; }
.confirm { padding: 20px; } .confirm h2 { font-size: 19px; margin-bottom: 6px; }
.confirm p { color: var(--muted); } .confirm-row { display: flex; gap: 8px; margin-top: 16px; } .confirm-row .btn { flex: 1; }
.filters section { padding: 13px 0; border-bottom: 1px solid var(--line); } .filters section:first-child { padding-top: 0; } .filters section:last-child { border: 0; }
.filters h3 { font-size: 15px; margin-bottom: 9px; }
.wrap-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hint { color: var(--muted); font-size: 13px; margin: 4px 0 9px; display: flex; gap: 6px; align-items: flex-start; }
.hint.err { color: var(--bad); margin: 8px 0 0; }
.hint.warn { margin: 11px 0 0; font-size: 12.5px; }
.range-val { display: flex; justify-content: space-between; font-size: 14.5px; }
.range-val b { font-weight: 500; }
.range { position: relative; height: 34px; margin-top: 3px; }
.range::before, .range-fill { content: ""; position: absolute; top: 15px; height: 4px; }
.range::before { left: 0; right: 0; background: var(--sunk); } .range-fill { background: var(--brand); }
.range input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; appearance: none; -webkit-appearance: none; pointer-events: none; height: 34px; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--brand); cursor: grab; }
.range input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--brand); cursor: grab; }

/* Fiche plat */
.p-sheet .sheet-body { padding: 0; }
.p-hero { aspect-ratio: 16/10; max-height: 300px; width: 100%; }
.p-info { padding: 14px 18px 6px; }
.p-info h2 { font-size: 22px; line-height: 1.15; }
.p-info p { margin-top: 5px; color: var(--muted); }
.p-info .price { margin-top: 8px; }
.opt-group { padding: 10px 18px 8px; border-top: 8px solid var(--sunk); margin-top: 8px; }
.opt-group header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.opt-group h3, .also h3 { font-size: 16px; margin: 0; }
.also { padding: 12px 18px 16px; border-top: 8px solid var(--sunk); } .also h3 { margin-bottom: 10px; }
.opt-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; flex: none; }
.opt-badge.req { color: var(--warn); }
.opt-badge.ok { color: var(--good); }
.opts { display: grid; }
.opt { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 6px 0; cursor: pointer; border-bottom: 1px solid var(--line); }
.opt:last-child { border: 0; }
.opt.dim { opacity: .42; }
.opt-name { flex: 1; }
.opt-price { color: var(--muted); font-size: 14px; white-space: nowrap; }
.mark { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; border: 1.5px solid #aaa; font-size: 12px; color: var(--on-brand); font-style: normal; }
.mark.radio { border-radius: 50%; }
.on > .mark, .choice.on .mark { background: var(--brand); border-color: var(--brand); }
textarea, .field input, .field select, .promo-row input { width: 100%; border: 1px solid var(--line); outline: 0; background: #fff; border-radius: var(--r); padding: 11px 12px; resize: vertical; }
textarea:focus, .field input:focus, .promo-row input:focus { border-color: var(--brand); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.shake { animation: shake .35s; }
.shake .opt-badge.req { color: var(--bad); font-weight: 700; }

/* Pages */
.page { max-width: 1060px; margin: auto; padding: 10px var(--gut) 60px; }
.page.center { min-height: 60vh; display: grid; place-items: center; }
.page h1 { font-size: clamp(23px, 3vw, 30px); line-height: 1.12; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); padding: 6px 0; margin-bottom: 6px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
@media (min-width: 940px) { .co-grid { grid-template-columns: minmax(0, 1fr) 350px; align-items: start; } .co-side { position: sticky; top: calc(var(--head) + 14px); } }
.co-main { display: grid; gap: 12px; }
.co-card, .recap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; }
.co-card h2, .recap h2 { font-size: 17px; margin-bottom: 11px; }
.choice-list { display: grid; gap: 6px; }
.choice { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 10px 12px; text-align: left; border-radius: var(--r); border: 1px solid var(--line); }
.choice span { flex: 1; min-width: 0; }
.choice b { font-weight: 500; }
.choice.on { border-color: var(--brand); background: var(--brand-soft); }
.choice.cta { border-color: var(--brand); color: var(--brand-ink); font-weight: 500; }
.choice.sm { min-height: 44px; font-size: 14px; }
.choice small { color: var(--brand-ink); font-size: 13px; text-decoration: underline; }
.choice.static { cursor: default; }
.addr-more { display: inline-flex; align-items: center; gap: 4px; }
.addr-more svg { width: 15px; height: 15px; flex: none; }
.addr-more.open svg { transform: rotate(180deg); }
.saved.open { animation: againIn .3s var(--spring-soft); }
.saved { margin-top: 12px; } .saved h3 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.day { display: grid; justify-items: center; padding: 7px 0; border-radius: var(--r); border: 1px solid var(--line); }
.day small { color: var(--muted); font-size: 12px; } .day b { font-size: 16px; }
.day.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); } .day.on small { color: inherit; }
.field { display: grid; gap: 4px; } .field > span { font-size: 13px; color: var(--muted); }
.field.time { margin-top: 10px; max-width: 240px; }
.auth { display: grid; gap: 10px; }
.auth .seg.wide { margin-bottom: 0; } .auth .seg button:disabled { opacity: .45; cursor: not-allowed; }
.phone { display: flex; gap: 6px; } .phone select { width: 92px; flex: none; border: 1px solid var(--line); outline: 0; background: #fff; border-radius: var(--r); padding: 0 6px; }
.pwd { position: relative; } .pwd input { padding-right: 46px; } .pwd .icon-btn { position: absolute; right: 0; top: 1px; }
.otp { text-align: center; font-weight: 700; font-size: 24px; letter-spacing: .4em; }
.link { color: var(--brand-ink); font-size: 14px; justify-self: start; text-decoration: underline; text-underline-offset: 2px; margin-top: 8px; }
.auth .link, .me .link, .promo-ok .link { margin-top: 0; }
.auth-alt { text-align: center; color: var(--muted); font-size: 14px; } .auth-alt button { color: var(--brand-ink); text-decoration: underline; }
.me { display: flex; align-items: center; gap: 10px; } .me > div { flex: 1; display: grid; } .me b { font-weight: 500; } .me small { color: var(--muted); }
.me > .ic { display: none; }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pay { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line); }
.pay.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); font-weight: 500; }
.promo-row { display: flex; gap: 7px; } .promo-row .btn { height: auto; }
.promo-ok { display: flex; align-items: center; gap: 10px; color: var(--good); } .promo-ok > div { flex: 1; display: grid; } .promo-ok small { color: var(--muted); }
.recap-lines { display: grid; gap: 8px; font-size: 14.5px; max-height: 300px; overflow-y: auto; }
.recap-lines li { display: flex; gap: 8px; } .recap-lines em { font-style: normal; color: var(--muted); }
.recap-lines div { flex: 1; min-width: 0; display: grid; } .recap-lines b { font-weight: 400; } .recap-lines small { color: var(--muted); font-size: 12.5px; }
.recap-lines span { white-space: nowrap; font-weight: 500; }
.co-cart { display: flex; align-items: center; gap: 10px; width: 100%; margin: 12px 0; padding: 12px 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.co-cart > svg { width: 20px; height: 20px; flex: none; }
.co-cart span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.co-cart b { font-weight: 500; }
.co-cart small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.co-cart small.short { color: var(--bad); }
.co-cart em { font-style: normal; color: var(--brand-ink); font-size: 14px; font-weight: 500; }
.co-cart em + svg { width: 16px; height: 16px; flex: none; margin-left: -6px; color: var(--brand-ink); }
@media (min-width: 940px) { .co-cart { display: none; } }
.recap-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.recap-head h2 { margin: 0; }
.recap-head .link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; margin-top: 0; }
.recap-head .link svg { width: 15px; height: 15px; flex: none; }
.recap .lines { margin-top: 0; }
.recap.busy .lines, .recap.busy .cart-sug, .recap.busy .recap-head .link { pointer-events: none; opacity: .55; }
@media (min-width: 940px) { .recap .lines { max-height: 330px; overflow-y: auto; padding-right: 8px; } }

/* Adresse */
.addr { display: grid; gap: 10px; }
.addr-search { position: relative; display: flex; gap: 7px; z-index: 5; min-width: 0; }
@media (max-width: 430px) { .addr-search .tool { padding: 0 12px; } .addr-search .tool-l { display: none; } }
.addr-go { flex: none; width: 32px; height: 32px; margin-right: -6px; display: grid; place-items: center; border-radius: 8px; background: var(--brand); color: var(--on-brand); }
.addr-go svg { width: 17px; height: 17px; }
.addr-go.busy { opacity: .55; pointer-events: none; }
.addr-res { position: absolute; left: 0; right: 0; top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px; }
.addr-res button { display: flex; gap: 8px; align-items: flex-start; text-align: left; width: 100%; padding: 9px; font-size: 14px; }
.addr-res button:hover { background: var(--sunk); }
.map-box { position: relative; height: 240px; border-radius: var(--r); overflow: hidden; background: var(--sunk); }
#map { position: absolute; inset: 0; }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 500; color: var(--brand-ink); font-size: 30px; pointer-events: none; }
.map-pin svg { fill: #fff; }
.addr-info p { font-size: 14.5px; }
.zone { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; margin-top: 3px; }
.zone.ok { color: var(--good); } .zone.ko { color: var(--bad); } .zone.wait { color: var(--muted); }
.addr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }

/* Suivi */
.track { max-width: 660px; }
.track-hero { border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--r); padding: 18px; margin-bottom: 12px; }
.track-hero.bad { border-top-color: var(--bad); }
.track-hero small { color: var(--muted); } .track-hero h1 { margin: 4px 0; }
.track-hero p { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.timeline { display: flex; margin-top: 18px; }
.timeline li { flex: 1; position: relative; display: grid; justify-items: center; gap: 5px; text-align: center; font-size: 12.5px; color: #999; }
.timeline li::before { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline span { position: relative; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sunk); }
.timeline b { font-weight: 500; }
.timeline small { margin-top: -3px; color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.track .recap-lines { max-height: none; gap: 10px; }
.track .recap-lines li { align-items: center; }
.track .recap-lines .media { flex: none; width: 46px; height: 46px; border-radius: var(--r); }
.track .recap-lines .media-ph { width: 19px; height: 19px; }
.timeline li.done, .timeline li.now { color: var(--ink); }
.timeline li.done::before, .timeline li.now::before { background: var(--brand); }
.timeline li.done span { background: var(--brand-soft); color: var(--brand-ink); }
.timeline li.now span { background: var(--brand); color: var(--on-brand); }
.driver { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--r); padding: 11px 13px; margin-bottom: 12px; }
.driver b { flex: 1; font-weight: 500; }
.track-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .track-actions .btn { flex: 1; }
.order-list { margin-top: 14px; border-top: 1px solid var(--line); }
.order-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.order-row img { width: 44px; height: 44px; border-radius: var(--r); object-fit: cover; }
.order-row > span { flex: 1; display: grid; } .order-row b { font-weight: 500; } .order-row small { color: var(--muted); font-size: 13px; }
.order-row .order-r { flex: none; text-align: right; }

/* Notation de fin de commande */
.review { margin-bottom: 12px; }
.review h2 { margin-bottom: 4px; }
.stars { display: flex; }
.star { width: 30px; height: 34px; display: grid; place-items: center; color: #c4c4be; }
.star.on { color: var(--brand-ink); }
.star.on svg { fill: currentColor; }
.stars.big .star { width: 46px; height: 46px; font-size: 25px; }
#review-more { margin-top: 10px; }
.review-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; border-top: 1px solid var(--line); font-size: 14.5px; }
.review .field { margin: 10px 0 12px; }

/* Fidélité */
.loyalty { padding: 28px 24px; text-align: center; }
.loyalty-art { display: block; width: 150px; height: 150px; margin: 8px auto 28px; }
.loyalty p { font-size: 16px; line-height: 1.55; text-align: justify; }
.head-loyalty { font-size: 15px; }
@media (max-width: 719px) { .loyalty-sheet .sheet { height: 100dvh; max-height: none; border-radius: 0; } }

/* Aucun service disponible */
.service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 4px 0 8px; }
.service-card { display: grid; justify-items: center; gap: 5px; padding: 18px 8px; text-align: center; background: var(--sunk); border: 1px solid var(--line); border-radius: var(--r-l); color: var(--muted); }
.service-card > .ic { width: 42px; height: 42px; }
.service-card strong { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 500; }
.service-card small { font-size: 12.5px; line-height: 1.3; }

/* Connexion, inscription et code : popup centrée sur tous les écrans */
.sheet-wrap.auth-pop { align-items: center; padding: 16px; }
.auth-pop .sheet { max-width: 420px; max-height: calc(100dvh - 32px); border-radius: var(--r-l); transform: translateY(14px) scale(.97); opacity: 0; }
.auth-pop .sheet-body { padding-bottom: 20px; }
.otp-sheet .sheet-back { pointer-events: none; }
/* Installation de l'application */
#install-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 14px; background: var(--brand-soft); font-size: 14px; }
#install-bar[hidden] { display: none; }
#install-bar > svg { width: 20px; height: 20px; flex: none; color: var(--brand-ink); }
#install-bar span { flex: 1; min-width: 0; line-height: 1.25; }
#install-bar .btn { height: 34px; padding: 0 12px; font-size: 13.5px; flex: none; }
#install-bar .icon-btn { flex: none; }
.ios-steps { display: grid; gap: 10px; }
.ios-steps li { display: flex; align-items: center; gap: 10px; }
.ios-steps svg { width: 20px; height: 20px; flex: none; color: var(--brand-ink); }

/* Divers */
.toast { position: fixed; top: calc(var(--head) + 8px); left: 50%; transform: translate(-50%, -20px); z-index: 95; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 28px); padding: 11px 14px; border-radius: var(--r); background: #222; color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: transform .2s var(--ease), opacity .18s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err .ic { color: #ff9c92; }
.spin { display: inline-block; width: 18px; height: 18px; border: 2.5px solid color-mix(in srgb, currentColor 32%, transparent); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
.spin.dark { color: var(--muted); } .spin.big { width: 32px; height: 32px; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot { padding: 0 var(--gut); }
.sk { background: var(--sunk); border-radius: var(--r); }
.sk-banner { aspect-ratio: 1080/250; border-radius: 0; margin: 0 calc(var(--gut) * -1); }
.sk-title { height: 30px; width: min(280px, 70%); margin: 22px 0; }
.sk-row { display: none; }
.sk-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); } .sk-grid .sk { aspect-ratio: 1/1.15; }
@media (max-width: 640px) {
  :root { --head: 56px; --tabs: 46px; }
  .brand { font-size: 16px; gap: 8px; } .brand img { height: 36px; }
  .head-user span, .icon-btn.lang span { display: none; }
  .view-toggle { display: none; }
  .home { padding-top: 16px; }
  .card h3 { font-size: 14.5px; }
  .tab-btn { width: 44px; }
  .rail button { padding: 0 12px; font-size: 13.5px; }
}
/* Commander à nouveau */
.again { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 14px; margin-top: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; animation: againIn .36s var(--spring-soft); }
@keyframes againIn { from { opacity: 0; transform: translateY(8px); } }
.again-pics { display: flex; flex: none; }
.again-pics .media { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.again-pics .media + .media { margin-left: -14px; }
.again-pics .media-ph { width: 20px; height: 20px; }
.again-text strong { display: block; font-weight: 500; font-size: 15.5px; }
.again-text small { display: flex; gap: 4px; margin-top: 2px; color: var(--muted); font-size: 13px; }
.again-text small span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.again-text small b { flex: none; font-weight: 400; }
.again-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 136px; padding: 10px 14px; border: 1px solid var(--brand-ink); border-radius: var(--r-l); background: #fff; color: var(--brand-ink); font-weight: 500; font-size: 14px; white-space: nowrap; transition: transform .16s var(--ease), background-color .16s; }
.again-btn:active { transform: scale(.94); }
@media (hover: hover) { .again-btn:not(.done):hover { background: var(--brand-soft); } }
@media (max-width: 479.98px) {
  .again { grid-template-columns: auto minmax(0, 1fr); }
  .again-pics { grid-row: 1 / 3; }
  .again-pics .media { width: 42px; height: 42px; }
  .again-btn { grid-column: 2; justify-self: start; margin-top: 8px; }
}
.again-label { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.again-label svg { width: 16px; height: 16px; flex: none; transition: transform .45s var(--spring-soft); }
@media (hover: hover) { .again-btn:hover .again-label svg { transform: rotate(180deg); } .track-again:hover .again-label svg { transform: rotate(-200deg); } }
.again-ok { display: none; align-items: center; justify-content: center; gap: 6px; width: 100%; }
.again-ok svg { width: 17px; height: 17px; }
.done > .again-idle { display: none; }
.done > .again-ok { display: inline-flex; animation: popIn .38s var(--spring); }
.again-btn.done, .track-again.done { background: var(--good); border-color: var(--good); color: #fff; }
.track-again { width: 100%; margin-top: 12px; height: 52px; font-size: 16px; }
.track-again.done { animation: popIn .34s var(--spring-soft); }

/* Animations et micro-animations */
:root { --spring: cubic-bezier(.34,1.56,.64,1); --spring-soft: cubic-bezier(.22,1.2,.36,1); }
@supports not selector(::view-transition) { #view-home:not([hidden]), #view-menu:not([hidden]), #view-page:not([hidden]) { animation: viewIn .26s ease-out; } }
@keyframes viewIn { from { opacity: 0; } }
.btn, .add, .chip, .seg button, .fav, .pill, .pay, .choice, .day, .sug, .also-item, .tab-btn, .tool, .stepper button, .icon-btn, .star, .order-row { transition: transform .16s var(--ease), background-color .16s, border-color .16s, color .16s, filter .16s; }
.btn:not(:disabled):active, .add:active, .chip:active, .seg button:active, .pill:active, .pay:active, .choice:active, .day:active, .sug:active, .also-item:active, .tab-btn:active, .tool:active, .icon-btn:active { transform: scale(.95); }
.stepper button:active, .fav:active, .star:active { transform: scale(.8); }
.opt:active .mark { transform: scale(.85); }
.mark { transition: transform .14s, background-color .14s, border-color .14s; }

.card { transition: border-color .15s, transform .22s var(--ease), box-shadow .22s; }
.tile { transition: border-color .15s, transform .22s var(--ease), box-shadow .22s; }
.card .media img, .tile .media img { transition: transform .5s var(--ease); }
.tile:active { transform: scale(.97); }
@media (hover: hover) {
  .card:hover, .tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgb(0 0 0 / .08); }
  .card:hover .media img, .tile:hover .media img { transform: scale(1.05); }
}
.card.rv, .tile.rv { opacity: 0; transform: translateY(14px); }
.card.rv.seen, .tile.rv.seen { opacity: 1; transform: none; transition: opacity .38s ease-out var(--d, 0ms), transform .5s var(--spring-soft) var(--d, 0ms); }

.rail button.on { border-bottom-color: transparent; }
.rail button { transition: color .2s; }
.rail-ink { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--brand); opacity: 0; transition: transform .34s var(--ease), width .34s var(--ease); }

@keyframes popIn { from { transform: scale(.55); opacity: .4; } to { transform: none; opacity: 1; } }
.pop, .opt.just .mark, .opt-badge.just { animation: popIn .36s var(--spring); }
.seg button.on, .choice.on, .pay.on, .day.on, .promo-ok { animation: popIn .26s var(--spring-soft); }
.line-in { animation: lineIn .36s var(--spring-soft); }
@keyframes lineIn { from { transform: translateX(16px); opacity: .2; } to { transform: none; opacity: 1; } }

.free-bar em { font-style: normal; } .free-bar b { color: var(--ink); }
.free-bar div { height: 6px; border-radius: 3px; }
.free-bar i { position: relative; border-radius: 3px; overflow: hidden; transition: width .55s var(--spring-soft); }
.free-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .6), transparent) no-repeat -60px 0 / 60px 100%; animation: shine 1.8s linear infinite; }
@keyframes shine { to { background-position: 320px 0; } }
.min-bar span { color: var(--bad); align-items: flex-start; } .min-bar span svg { width: 15px; height: 15px; flex: none; margin-top: 1px; } .min-bar b { color: var(--bad); font-weight: 700; }
.free-bar.won span { color: var(--good); font-weight: 500; }
.free-bar.won i { background: var(--good); }
.free-bar.won i::after { animation: none; }

.cart-pill { transition: transform .42s var(--spring-soft); }
.fly { border-radius: 50%; box-shadow: 0 6px 16px rgb(0 0 0 / .2); }
.sheet-back { transition: opacity .24s; }
.sheet { transition: transform .22s ease-in, opacity .2s; }
.sheet-wrap.in .sheet { transition: transform .38s var(--spring-soft), opacity .18s; }
@media (max-width: 719px) { .sheet { transform: translateY(100%); opacity: 1; } .sheet-wrap.in .sheet { transition: transform .4s var(--ease), opacity .18s; } }
.toast { transition: transform .38s var(--spring), opacity .18s; }
.p-hero img { animation: heroIn .7s var(--ease); }
@keyframes heroIn { from { transform: scale(1.09); } to { transform: none; } }
#review-more:not([hidden]) { animation: viewIn .3s ease-out; }
.star { transition: transform .16s var(--ease), color .15s; }

.status.open::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: dotPulse 1.8s infinite; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.timeline li.now span { animation: nowPulse 1.6s infinite; }
@keyframes nowPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 11px transparent; } }
.timeline li.now::before { transform-origin: left; animation: lineGrow .7s var(--ease) both; }
@keyframes lineGrow { from { transform: scaleX(0); } }
.tick { display: block; width: 64px; height: 64px; margin: 0 auto 10px; }
.tick circle { fill: var(--good); transform-box: fill-box; transform-origin: center; animation: popIn .5s var(--spring) both; }
.tick path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: tickDraw .4s .3s ease-out forwards; }
@keyframes tickDraw { to { stroke-dashoffset: 0; } }
.sk { position: relative; overflow: hidden; }
.sk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .65), transparent 70%); transform: translateX(-100%); animation: skMove 1.3s infinite; }
@keyframes skMove { to { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
