/* Réglages › Abonnement (abo.js, owner 2026-12-03 ; maquettes design-lab/abonnement-app-garder-gratuit-5-designs.html :
   page design 4, tiroirs design 5 et design 3). Couleurs de l'app (thèmes clair et sombre), blocs à fin contour, sans fond gris. */
.abo { display: grid; gap: 14px; }
.abo-card, .abo-path { border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.abo-ch { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.abo-ch b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.abo-ch small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; line-height: 1.4; }
.abo-chip { display: inline-flex; align-items: center; flex: none; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.abo-chip.gold { background: var(--gold-soft); color: var(--gold); }
.abo-chip.green { background: var(--green-soft); color: var(--green); }
.abo-chip.red { background: var(--red-soft); color: var(--red); }
.abo-kv { margin-top: 14px; display: grid; gap: 9px; font-size: 14px; }
.abo-kv div { display: flex; justify-content: space-between; gap: 12px; }
.abo-kv span { color: var(--muted); }
.abo-kv b { font-weight: 700; text-align: end; color: var(--text); }
.abo-card .btn { margin-top: 14px; }
.abo-h { margin: 6px 2px -4px; font-size: 13px; font-weight: 800; color: var(--muted); }
.abo-path.rec { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.abo-path.out { border-style: dashed; }
.abo-ph { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.abo-ph b { font-size: 16px; font-weight: 800; color: var(--text); }
.abo-path p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.abo-path p.abo-pend { margin: 0; color: var(--text); font-weight: 600; }
.abo-path .btn { margin-top: 12px; }
.abo-link { display: block; margin: 8px auto 0; background: none; border: 0; padding: 6px 8px; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .3s; }
@media (hover: hover) { .abo-link:hover { color: var(--text); } }

/* Tiroirs (popSetup : tiroir du bas sur téléphone, au-dessus du bouton sur ordinateur) */
.abo-dlg { max-width: 430px; }
.abo-dh { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; color: var(--text); }
.abo-dlg > .btn { margin-top: 16px; }
.abo-dlg > .btn + .btn { margin-top: 0; }
.abo-seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--panel-2); }
.abo-seg button { flex: 1; border: 0; background: none; border-radius: 10px; padding: 10px 6px; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.abo-seg button[aria-pressed="true"] { background: var(--panel); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
@media (hover: hover) { .abo-seg button:not([aria-pressed="true"]):hover { background: var(--text); color: var(--bg); } }
.abo-tl { list-style: none; margin: 18px 0 0; padding: 0 0 0 32px; display: grid; gap: 16px; }
.abo-tl li { position: relative; }
.abo-tl li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: -23px; top: 20px; bottom: -16px; width: 2px; background: var(--gold); }
.abo-tl li.dash::after { background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px); }
.abo-tl .dot { position: absolute; inset-inline-start: -32px; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 2px var(--gold); }
.abo-tl li:first-child .dot { background: var(--gold); }
.abo-tl li.ok .dot { box-shadow: inset 0 0 0 6px var(--green); }
.abo-tl li.end .dot { box-shadow: inset 0 0 0 2px var(--red); }
.abo-tl b { display: block; font-size: 14.5px; color: var(--text); }
.abo-tl small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.abo-dlg[data-way="free"] .w-close, .abo-dlg[data-way="close"] .w-free { display: none; }
.abo-rs { display: flex; flex-wrap: wrap; gap: 8px; }
.abo-rs button { border: 1px solid var(--line); background: var(--panel); border-radius: 99px; padding: 8px 13px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--text); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.abo-rs button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
@media (hover: hover) { .abo-rs button:not([aria-pressed="true"]):hover { background: var(--text); border-color: var(--text); color: var(--bg); } }
.abo-ans { margin-top: 14px; border-radius: 16px; padding: 14px; background: var(--gold-soft); }
.abo-ans[hidden] { display: none; }
.abo-ans b { display: block; color: var(--gold); font-size: 15px; }
.abo-ans p { margin: 4px 0 0; font-size: 14px; color: var(--text); line-height: 1.5; }
