/* Rafet : mise en page de grand site marchand (blocs blancs sur fond gris), vert du drapeau sénégalais comme couleur de marque */
:root {
  --page: #F1F1F2;      /* fond général gris clair */
  --card: #FFFFFF;      /* blocs */
  --soft: #F5F5F5;      /* fonds de photo, champs */
  --ink: #111111;       /* texte et couleur de marque */
  --muted: #6B6B6B;
  --line: #E3E3E3;
  --hover: #2B2B2B;
  --brand: #00853F;       /* vert du drapeau */
  --brand-hover: #006B32;
  --brand-soft: #E6F4EC;
  --on-ink: #FFFFFF;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --r: 6px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; line-height: 1.45;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 40px; } }
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
}

/* Bandeau du haut */
.topbar { background: var(--brand); color: var(--on-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.topbar .wrap { padding-block: 7px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; }
.topbar span + span::before { content: "·"; margin-right: 18px; opacity: .6; }
@media (max-width: 640px) { .topbar span + span { display: none; } }

/* En-tête */
.top { position: sticky; top: 0; z-index: 5; background: var(--card); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.top .wrap { display: flex; align-items: center; gap: 10px 16px; padding-block: 10px; flex-wrap: wrap; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 27px; letter-spacing: -0.04em; color: var(--brand); display: flex; align-items: baseline; text-decoration: none; margin-right: 6px; }
.logo i { display: inline-block; width: 8px; height: 8px; background: var(--brand); margin-left: 2px; }
.search { order: 3; flex: 1 1 100%; min-width: 0; display: flex; margin: 0; }
.search .sfield { position: relative; flex: 1; min-width: 0; }
.search input { width: 100%; height: 42px; border: 1px solid #BDBDBD; border-right: 0; background: var(--card); border-radius: var(--r) 0 0 var(--r); padding: 0 12px 0 38px; }
.search input:focus { outline: none; border-color: var(--brand); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.sbtn { height: 42px; border: 0; border-radius: 0 var(--r) var(--r) 0; background: var(--brand); color: var(--on-ink); font-weight: 700; padding: 0 16px; }
.sbtn:hover { background: var(--brand-hover); }
.hlinks { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hlink { display: none; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 8px 10px; border-radius: var(--r); }
.hlink:hover { background: var(--soft); }
@media (min-width: 900px) {
  .search { order: 0; flex: 1 1 auto; max-width: 620px; }
  .hlinks { margin-left: 0; }
  .hlink { display: inline-flex; }
}

/* Accueil : catégories à gauche, bannière, encarts */
.home { display: grid; gap: 12px; padding-top: 12px; }
.home-top { display: grid; gap: 12px; }
@media (min-width: 900px) {
  .home-top { grid-template-columns: 220px minmax(0, 1fr) 220px; }
  .home-top.filtered { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
}
.side { display: none; background: var(--card); border-radius: var(--r); padding: 8px 0; }
@media (min-width: 900px) { .side { display: block; } }
.side button { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 7px 14px; font-size: 14px; text-align: left; }
.side button:hover, .side button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-hover); font-weight: 700; }
.hero { background: var(--brand); color: var(--on-ink); border-radius: var(--r); padding: 26px 22px; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 180px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border: 36px solid rgba(255,255,255,.07); border-radius: 50%; }
.hero h1 { font-family: var(--font-display); font-size: clamp(24px, 4vw, 34px); line-height: 1.08; margin: 0; letter-spacing: -0.02em; text-wrap: balance; max-width: 18ch; position: relative; }
.hero p { margin: 0; opacity: .85; max-width: 44ch; position: relative; }
.hero .btn { align-self: flex-start; position: relative; }
.perks { display: none; gap: 12px; }
@media (min-width: 900px) { .perks { display: grid; } }
.perk { background: var(--card); border-radius: var(--r); padding: 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.perk svg { flex: none; margin-top: 2px; }
.perk b { display: block; font-size: 14px; }
.perk span { color: var(--muted); }

/* Catégories en icônes (mobile) */
.cats { display: flex; gap: 8px; overflow-x: auto; background: var(--card); border-radius: var(--r); padding: 12px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .cats { display: none; } }
.cat { flex: none; width: 70px; display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 0; font-size: 12px; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.2; }
.cat .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; border: 2px solid transparent; }
.cat[aria-pressed="true"] .ic { background: var(--brand); color: var(--on-ink); }

/* Sections avec bandeau titre */
.sec { background: var(--card); border-radius: var(--r); overflow: hidden; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--brand); color: var(--on-ink); flex-wrap: wrap; }
.sec-h h2 { font-size: 16.5px; font-weight: 700; margin: 0; }
.sec-h.light { background: var(--card); color: var(--ink); border-bottom: 1px solid var(--line); }
.sec-more { background: none; border: 0; color: inherit; font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; padding: 0; text-decoration: none; }
.sec-b { padding: 12px; }
.rowscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%); gap: 10px; overflow-x: auto; padding: 12px; scrollbar-width: thin; }
@media (min-width: 640px) { .rowscroll { grid-auto-columns: minmax(160px, 23%); } }
@media (min-width: 1000px) { .rowscroll { grid-auto-columns: calc((100% - 50px) / 6); } }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters select { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 7px 10px; font-size: 14px; font-weight: 500; }
.count { color: var(--muted); font-size: 13.5px; margin-left: auto; }

/* Grille d'annonces */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.card { position: relative; min-width: 0; text-decoration: none; color: inherit; display: block; border-radius: var(--r); padding: 6px; background: var(--card); transition: box-shadow .15s; }
.card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.16); }
.ph { position: relative; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: var(--soft); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.heart { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.badge { position: absolute; left: 6px; top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--brand); color: var(--on-ink); padding: 3px 7px; border-radius: 3px; }
.badge.sold { background: var(--card); color: var(--ink); border: 1px solid var(--ink); }
.meta { padding: 8px 2px 2px; display: grid; gap: 2px; min-width: 0; }
.tt { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; min-height: 2.6em; }
.price { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.sub { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc { display: inline-flex; align-items: center; gap: 3px; }
.more { display: flex; justify-content: center; padding: 16px 0 4px; }

/* Squelettes de chargement */
.skel { background: var(--card); border-radius: var(--r); padding: 6px; }
.skel .ph, .skel .line { background: var(--soft); animation: pulse 1.2s ease-in-out infinite; }
.skel .line { height: 11px; border-radius: 4px; margin-top: 8px; }
@keyframes pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .skel .ph, .skel .line, .card { animation: none; transition: none; } }

/* Pages hors accueil : un bloc blanc */
.page { background: var(--card); border-radius: var(--r); padding: 16px; margin-top: 12px; }
@media (min-width: 900px) { .page { padding: 22px 26px; } }
.page > .h1:first-child, .page > .prof:first-child, .page > .detail:first-child { margin-top: 0; padding-top: 0; }
.h1 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin: 6px 0 6px; text-wrap: balance; }
.lead { color: var(--muted); margin: 0 0 18px; max-width: 60ch; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); background: var(--soft); border-radius: var(--r); }
.empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.empty .btn { margin-top: 12px; }

/* Boutons : noir plein ou contour */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r); padding: 12px 18px; font-weight: 700; border: 1.5px solid var(--ink); background: var(--card); text-decoration: none; color: var(--ink); text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.btn:hover { background: var(--soft); }
.btn.brand, .btn.action, .btn.wa { background: var(--brand); color: var(--on-ink); border-color: var(--brand); }
.btn.brand:hover, .btn.action:hover, .btn.wa:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.light { background: var(--card); color: var(--ink); border-color: var(--card); }
.btn.danger { border-color: var(--line); color: var(--muted); }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn[aria-disabled="true"] { border-color: var(--line); color: var(--muted); }
.link { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Moyens de paiement (indications : le paiement se fait entre acheteur et vendeur) */
.pays { display: flex; flex-wrap: wrap; gap: 6px; }
.pay { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 4px; border: 1px solid var(--line); background: var(--card); }
.pay i { display: none; }
.trust { display: flex; align-items: flex-start; gap: 10px; background: var(--soft); border-radius: var(--r); padding: 12px; font-size: 13.5px; }
.trust svg { flex: none; margin-top: 1px; }
.trust b { display: block; font-size: 14px; }

/* Onglets du bas (mobile) */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
@media (min-width: 900px) { .tabs { display: none; } }
.tabs .in { max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.tab { padding: 8px 4px 9px; display: grid; justify-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tab[aria-current="page"] { color: var(--brand); font-weight: 700; }
.tab .plus { width: 40px; height: 28px; border-radius: var(--r); background: var(--brand); color: var(--on-ink); display: grid; place-items: center; }

/* Fiche article */
.detail { display: grid; gap: 20px; }
@media (min-width: 860px) { .detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.gallery { display: grid; gap: 8px; min-width: 0; }
.gallery .main { aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { flex: none; width: 62px; height: 62px; padding: 0; border-radius: 4px; overflow: hidden; border: 2px solid transparent; background: var(--soft); }
.thumbs button[aria-pressed="true"] { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dbody { display: grid; gap: 14px; min-width: 0; }
.drow { display: flex; align-items: flex-start; gap: 12px; }
.drow h1 { font-size: 21px; font-weight: 600; margin: 0; flex: 1; min-width: 0; text-wrap: balance; line-height: 1.3; }
.dprice { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: -6px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; padding: 14px 0; border-block: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 12.5px; }
.facts dd { margin: 0; font-weight: 600; }
.desc { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.seller { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.seller:hover { border-color: var(--ink); }
.av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--on-ink); background: var(--brand); font-family: var(--font-display); }
.seller .who { flex: 1; min-width: 0; }
.seller .who b { display: block; }
.acts { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.acts.own { grid-template-columns: 1fr 1fr; }
.acts.own > :first-child { grid-column: 1 / -1; }
.lbl2 { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: -6px; text-transform: uppercase; letter-spacing: .04em; }
.iconbtn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; }
.iconbtn[aria-pressed="true"] { border-color: var(--ink); }
.adminbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border: 1.5px dashed var(--ink); border-radius: var(--r); padding: 10px 12px; font-size: 13.5px; }
.adminbar b { margin-right: auto; }

/* Tiroir */
.sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet .bd { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.panel { position: relative; background: var(--card); width: 100%; max-width: 520px; max-height: 92%; overflow-y: auto; border-radius: 12px 12px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 700px) { .sheet { align-items: center; } .panel { border-radius: 10px; max-height: 88%; } }
.close { position: sticky; top: 10px; float: right; margin: 10px 10px -46px 0; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); display: grid; place-items: center; }
.pbody { padding: 18px 18px 22px; display: grid; gap: 14px; }
.copyrow { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 6px 6px 12px; }
.sharegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.steps { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.copyrow code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }

/* Formulaires */
.form { display: grid; gap: 16px; max-width: 620px; }
.field { display: grid; gap: 6px; }
.field label, .lbl { font-weight: 600; font-size: 14px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { border: 1px solid #BDBDBD; background: var(--card); border-radius: var(--r); padding: 11px 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hint { color: var(--muted); font-size: 13px; }
.drop { border: 1.5px dashed #BDBDBD; border-radius: var(--r); padding: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--soft); }
.th { position: relative; width: 76px; height: 76px; }
.th img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; display: block; }
.th button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: var(--on-ink); font-size: 14px; line-height: 1; display: grid; place-items: center; }
.err { color: var(--ink); font-size: 13.5px; font-weight: 700; margin: 0; padding: 8px 10px; border-left: 3px solid var(--ink); background: var(--soft); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px; font-weight: 600; font-size: 14px; cursor: pointer; }
.checks input, .field input[type="radio"] { accent-color: var(--brand); width: 17px; height: 17px; margin: 0; }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: grid; place-items: center; padding: 0 12px; background: var(--soft); border: 1px solid #BDBDBD; border-right: 0; border-radius: var(--r) 0 0 var(--r); font-weight: 600; }
.prefix input { border-radius: 0 var(--r) var(--r) 0 !important; }

/* Connexion */
.auth { max-width: 420px; margin: 0 auto; display: grid; gap: 14px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 1.5px solid var(--ink); background: var(--card); border-radius: var(--r); padding: 12px; font-weight: 700; }
.sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.seg button { border: 0; background: var(--card); padding: 10px; font-weight: 700; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--on-ink); }

/* Espace vendeur et admin */
.prof { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; }
.prof .av { width: 58px; height: 58px; font-size: 21px; }
.prof h1 { font-family: var(--font-display); font-size: 23px; margin: 0; }
.section-t { font-size: 15px; font-weight: 700; margin: 26px 0 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .04em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.stat span { color: var(--muted); font-size: 13px; }
.stat b { display: block; font-family: var(--font-display); font-size: 27px; font-variant-numeric: tabular-nums; }
.box { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 14px; }
.rows { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: flex; gap: 12px; align-items: center; padding: 12px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row img { width: 64px; height: 64px; border-radius: 4px; object-fit: cover; flex: none; background: var(--soft); }
.row .info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.row .info a { font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .ops { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.row .ops .btn { padding: 7px 10px; font-size: 12px; }
@media (max-width: 520px) { .row { flex-wrap: wrap; } .row .ops { width: 100%; justify-content: flex-start; } }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; border: 1px solid var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pill.on { background: var(--brand); color: var(--on-ink); border-color: var(--brand); }
.pill.gold { border-color: var(--ink); color: var(--ink); }
.bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.goalrow { display: grid; gap: 6px; }
.goalrow div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.goalrow span { color: var(--muted); font-variant-numeric: tabular-nums; }
.cols { display: flex; align-items: flex-end; gap: 4px; height: 120px; border-bottom: 1px solid var(--line); }
.cols i { flex: 1; background: #9E9E9E; border-radius: 3px 3px 0 0; min-height: 2px; }
.cols i:last-child { background: var(--brand); }
.axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 6px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.switch input { width: 46px; height: 26px; accent-color: var(--brand); flex: none; }
.tips { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; max-width: 680px; }
.tips li { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.tips b { display: block; margin-bottom: 2px; }
.price-tag { display: flex; justify-content: space-between; align-items: center; background: var(--soft); border-radius: var(--r); padding: 12px 14px; }
.notice { background: var(--soft); border-radius: var(--r); padding: 16px; margin-top: 12px; }

#toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 30; background: var(--ink); color: var(--on-ink); padding: 11px 18px; border-radius: var(--r); font-weight: 600; font-size: 14px; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ask { display: block; text-align: center; font-size: 14px; color: var(--brand); font-weight: 600; margin-top: -4px; }
