/* Booking V1 — site public. Couleurs dérivées du thème quark2 (clair/sombre automatique).
   Les règles sont préfixées .bk-ui / .bk-auth pour l'emporter sur Pico CSS (Blades). */
:root {
  --bk-text: var(--q2-text, #1f2937);
  --bk-strong: var(--q2-text-strong, #0b1220);
  --bk-muted: var(--q2-text-muted, #6b7280);
  --bk-bg: var(--q2-bg, #ffffff);
  --bk-elev: var(--q2-bg-elev, #ffffff);
  --bk-soft: var(--q2-bg-muted, #f3f4f6);
  --bk-line: var(--q2-border-ring, #e5e7eb);
  --bk-line-strong: var(--q2-border-strong, #d1d5db);
  --bk-inv: var(--q2-bg-inverse, #111827);
  --bk-inv-text: var(--q2-text-inverse, #ffffff);
  --bk-shadow: var(--q2-shadow-card, 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06));
  --bk-ok: #15803d; --bk-ok-bg: rgba(22,163,74,.12);
  --bk-warn: #b45309; --bk-warn-bg: rgba(245,158,11,.16);
  --bk-err: #b91c1c; --bk-err-bg: rgba(220,38,38,.12);
  --bk-r: 18px;
}
:root[data-theme="dark"] { --bk-ok: #4ade80; --bk-warn: #fbbf24; --bk-err: #f87171; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bk-ok: #4ade80; --bk-warn: #fbbf24; --bk-err: #f87171; } }

/* ---------- en-tête / pied de page (surcharges du thème) ---------- */
.bk-brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none !important; color: var(--bk-strong) !important; }
.bk-brand img { max-height: 42px; width: auto; }
.bk-brand-mark { display: inline-flex; color: var(--bk-strong); }
/* Le thème impose fill à tout SVG de .navbar-brand : on rétablit le dessin de l'icône. */
#header .bk-brand .bk-brand-mark svg, #header .bk-brand .bk-brand-mark svg * { fill: none !important; }
#header .bk-brand .bk-brand-mark svg .bk-mark-bg { fill: currentColor !important; opacity: .15; }
#header .bk-brand .bk-brand-mark svg { height: 30px; width: 30px; }
.bk-brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.1; max-width: 16rem; }
.bk-footer p { font-size: .9rem; color: var(--bk-muted); margin: 0; }
.bk-footer a { color: inherit; }
.bk-testbar { background: var(--bk-warn-bg); color: var(--bk-warn); border: 1px solid currentColor; border-radius: 12px; padding: .55rem .9rem; font-size: .9rem; font-weight: 600; margin: 0 0 1rem; text-align: center; }
html.bk-noscroll, html.bk-noscroll body { overflow: hidden; }

/* ---------- base ---------- */
.bk-ui { color: var(--bk-text); font-size: 1rem; line-height: 1.5; }
.bk-ui *, .bk-ui *::before, .bk-ui *::after { box-sizing: border-box; }
.bk-ui h1, .bk-ui h2, .bk-ui h3 { color: var(--bk-strong); letter-spacing: -.01em; margin: 0; font-weight: 800; }
/* Le thème ajoute un trait décoratif avant chaque h2 : inadapté aux cartes et fiches. */
.bk-ui h2::before, .bk-ui h3::before, .bk-auth h2::before { content: none !important; display: none !important; }
.bk-card-body > .bk-badge, .bk-sheet-head > .bk-badge { align-self: flex-start; }
.bk-ui p { margin: 0 0 .6rem; }
.bk-ui a { color: var(--bk-strong); }
.bk-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bk-muted); margin: 0 0 .35rem !important; }
.bk-muted { color: var(--bk-muted); }
.bk-ui .small, .bk-muted.small { font-size: .86rem; }
.bk-loading { padding: 3rem 1rem; text-align: center; color: var(--bk-muted); }
.bk-page-content { margin-top: 2rem; }

/* ---------- boutons ---------- */
.bk-ui .bk-btn, .bk-auth .bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .6rem 1.15rem; margin: 0; width: auto;
  border: 1px solid var(--bk-inv); border-radius: 999px; background: var(--bk-inv); color: var(--bk-inv-text);
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  box-shadow: none; transition: transform .12s ease, opacity .12s ease;
}
.bk-ui .bk-btn:hover { transform: translateY(-1px); }
.bk-ui .bk-btn:focus-visible { outline: 3px solid var(--q2-focus-ring, #93c5fd); outline-offset: 2px; }
.bk-ui .bk-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.bk-ui .bk-btn.ghost, .bk-auth .bk-btn.ghost { background: transparent; color: var(--bk-strong); border-color: var(--bk-line-strong); }
.bk-ui .bk-btn.sm { min-height: 38px; padding: .45rem .95rem; font-size: .9rem; }
.bk-ui .bk-btn.lg { min-height: 52px; font-size: 1.02rem; }
.bk-ui .bk-btn.block { display: flex; width: 100%; }
.bk-ui .bk-link { background: none; border: 0; padding: .25rem 0; margin: 0; width: auto; min-height: 0; color: var(--bk-strong); text-decoration: underline; font: inherit; font-size: .9rem; cursor: pointer; box-shadow: none; }
.bk-ui .bk-link.danger { color: var(--bk-err); }
.bk-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .8rem; }

/* ---------- badges, alertes ---------- */
.bk-badge { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; padding: .2rem .65rem; font-size: .78rem; font-weight: 700; background: var(--bk-soft); color: var(--bk-text); white-space: nowrap; }
.bk-badge.ok { background: var(--bk-ok-bg); color: var(--bk-ok); }
.bk-badge.warn { background: var(--bk-warn-bg); color: var(--bk-warn); }
.bk-badge.danger { background: var(--bk-err-bg); color: var(--bk-err); }
.bk-badge.muted { color: var(--bk-muted); }
.bk-badge.theme { background: color-mix(in srgb, var(--bk-a) 16%, transparent); color: color-mix(in srgb, var(--bk-a) 75%, var(--bk-strong)); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.bk-alert { border-radius: 12px; padding: .75rem 1rem; margin-top: .8rem; font-size: .93rem; font-weight: 600; }
.bk-alert.error { background: var(--bk-err-bg); color: var(--bk-err); }
.bk-alert.ok { background: var(--bk-ok-bg); color: var(--bk-ok); }
.bk-alert.warn { background: var(--bk-warn-bg); color: var(--bk-warn); }
.bk-empty { border: 1px dashed var(--bk-line-strong); border-radius: var(--bk-r); padding: 1.6rem; text-align: center; color: var(--bk-muted); }
.bk-empty.small { padding: 1rem; }
.bk-callout { background: var(--bk-soft); border-radius: 16px; padding: 1.1rem 1.2rem; }
.bk-callout p { color: var(--bk-muted); margin: .3rem 0 0; }

/* ---------- accueil / activités ---------- */
.bk-hero { padding: 1.2rem 0 1.6rem; max-width: 46rem; }
.bk-hero h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); line-height: 1.05; margin: .1rem 0 .7rem; }
.bk-hero.compact h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.bk-lead { font-size: 1.08rem; color: var(--bk-muted); }
.bk-lead a { font-weight: 700; }
.bk-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.bk-ui .bk-chip { margin: 0; width: auto; min-height: 36px; padding: .35rem .95rem; border-radius: 999px; border: 1px solid var(--bk-line-strong); background: transparent; color: var(--bk-text); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; box-shadow: none; }
.bk-ui .bk-chip.on { background: var(--bk-inv); color: var(--bk-inv-text); border-color: var(--bk-inv); }

.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.bk-card { display: flex; flex-direction: column; background: var(--bk-elev); border: 1px solid var(--bk-line); border-radius: 22px; overflow: hidden; box-shadow: var(--bk-shadow); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.bk-card:hover { transform: translateY(-3px); }
.bk-card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.bk-card-body h2 { font-size: 1.3rem; line-height: 1.2; }
.bk-card-body .bk-btn { margin-top: auto; }
.bk-tagline { color: var(--bk-muted); margin: 0 !important; }
.bk-skel { min-height: 360px; background: linear-gradient(90deg, var(--bk-soft) 25%, var(--bk-elev) 50%, var(--bk-soft) 75%); background-size: 300% 100%; animation: bk-shimmer 1.3s infinite; cursor: default; }
@keyframes bk-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.bk-cover { position: relative; height: 170px; overflow: hidden; color: rgba(255,255,255,.9); background: linear-gradient(135deg, var(--bk-a), var(--bk-b)); display: flex; align-items: center; justify-content: center; }
.bk-cover.big { height: 200px; border-radius: 18px; margin-bottom: 1.1rem; }
.bk-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bk-cover-art { width: 96px; height: 96px; position: relative; z-index: 1; filter: drop-shadow(0 6px 18px rgba(0,0,0,.18)); }
.bk-cover-dots { position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(circle at 1px 1px, #fff 1.4px, transparent 0); background-size: 18px 18px; mask-image: linear-gradient(120deg, transparent 20%, #000 90%); }
.bk-cover::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -70px; top: -90px; background: rgba(255,255,255,.14); }

.bk-next { display: flex; gap: .8rem; align-items: center; margin-top: .2rem; }
.bk-datebox { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; padding: .35rem 0; border-radius: 14px; background: var(--bk-soft); line-height: 1.05; }
.bk-datebox span { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bk-muted); font-weight: 700; }
.bk-datebox strong { font-size: 1.35rem; color: var(--bk-strong); }
.bk-datebox.sm { width: 52px; }
.bk-datebox.sm strong { font-size: 1.2rem; }
.bk-next-txt { display: flex; flex-direction: column; gap: .05rem; font-size: .93rem; }
.bk-next-txt strong { color: var(--bk-strong); font-size: 1rem; }
.bk-fillrow { display: flex; align-items: center; gap: .55rem; }
.bk-fill { flex: 1; max-width: 180px; height: 7px; border-radius: 999px; background: var(--bk-soft); overflow: hidden; }
.bk-fill span { display: block; height: 100%; border-radius: 999px; background: var(--bk-inv); }
.bk-fill.is-full span { background: var(--bk-warn); }
.bk-fill-txt { font-size: .8rem; color: var(--bk-muted); font-weight: 600; min-width: 3.2em; }
.bk-mypass { font-size: .88rem; font-weight: 700; color: var(--bk-ok) !important; margin: 0 !important; }

/* ---------- fenêtre modale ---------- */
.bk-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.bk-modal-backdrop { position: absolute; inset: 0; background: rgba(8,12,20,.55); opacity: 0; transition: opacity .2s ease; }
.bk-modal-panel { position: relative; width: 100%; max-width: 760px; max-height: 94vh; overflow-y: auto; overscroll-behavior: contain; background: var(--bk-bg); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); transform: translateY(24px); opacity: 0; transition: transform .22s ease, opacity .22s ease; }
.bk-modal.open .bk-modal-backdrop { opacity: 1; }
.bk-modal.open .bk-modal-panel { transform: none; opacity: 1; }
.bk-modal-body { padding: 1.1rem 1.1rem 1.6rem; }
.bk-ui .bk-modal-x { position: sticky; top: .7rem; float: right; z-index: 3; width: 40px; height: 40px; min-height: 0; margin: .7rem .7rem 0 0; padding: 0; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: none; }
@media (min-width: 720px) {
  .bk-modal { align-items: center; padding: 2rem; }
  .bk-modal-panel { border-radius: 24px; max-height: calc(100vh - 4rem); }
  .bk-modal-body { padding: 1.4rem 1.8rem 2rem; }
}
.bk-sheet-head { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; }
.bk-sheet-head h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.1; }
.bk-facts { list-style: none; margin: .2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; color: var(--bk-text); font-size: .95rem; }
.bk-facts li { margin: 0; list-style: none; }
.bk-desc { color: var(--bk-text); margin-top: .4rem; }
.bk-h3 { font-size: 1.1rem; margin: 1.3rem 0 .7rem !important; }
.bk-occs { display: flex; flex-direction: column; gap: .6rem; margin-bottom: .6rem; }
.bk-occ { display: flex; align-items: center; gap: .9rem; padding: .75rem .85rem; border: 1px solid var(--bk-line); border-radius: 16px; background: var(--bk-elev); }
.bk-occ.is-off { opacity: .8; }
.bk-occ-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.bk-occ-main strong { color: var(--bk-strong); }
.bk-occ-main > span { font-size: .9rem; color: var(--bk-muted); }
.bk-occ-act { flex: none; }

.bk-passbox { margin-top: 1.4rem; padding: 1.1rem; border-radius: 18px; background: var(--bk-soft); }
.bk-passbox .bk-h3 { margin-top: 0 !important; }
.bk-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; margin-top: .6rem; }
.bk-ui .bk-plan { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; margin: 0; width: 100%; min-height: 0; padding: .9rem 1rem; border-radius: 16px; border: 1px solid var(--bk-line-strong); background: var(--bk-elev); color: var(--bk-text); font: inherit; text-align: left; cursor: pointer; box-shadow: none; transition: border-color .15s ease, transform .12s ease; }
.bk-ui .bk-plan:hover { border-color: var(--bk-inv); transform: translateY(-1px); }
.bk-plan-n { font-size: 1.8rem; font-weight: 800; color: var(--bk-strong); line-height: 1; }
.bk-plan-l { font-size: .88rem; color: var(--bk-muted); }
.bk-plan strong { font-size: 1.15rem; color: var(--bk-strong); margin-top: .35rem; }
.bk-plan small { font-size: .78rem; color: var(--bk-muted); }

/* ---------- étape de réservation ---------- */
.bk-step { margin-top: 1.4rem; padding: 1.2rem; border: 1px solid var(--bk-line); border-radius: 20px; background: var(--bk-elev); scroll-margin-top: 1rem; }
.bk-step-head { margin-bottom: .9rem; }
.bk-step-head h3 { font-size: 1.2rem; }
.bk-passuse { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem 1rem; border-radius: 16px; background: var(--bk-ok-bg); }
.bk-passuse strong { display: block; color: var(--bk-strong); }
.bk-passuse span { font-size: .88rem; color: var(--bk-muted); }
.bk-or { display: flex; align-items: center; gap: .7rem; color: var(--bk-muted); font-size: .85rem; margin: 1rem 0 !important; }
.bk-or::before, .bk-or::after { content: ""; flex: 1; height: 1px; background: var(--bk-line); }
.bk-prices { display: flex; flex-direction: column; }
.bk-price { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--bk-line); }
.bk-price > div:first-child { display: flex; flex-direction: column; }
.bk-price strong { color: var(--bk-strong); }
.bk-price span { font-size: .9rem; color: var(--bk-muted); }
.bk-stepper { display: inline-flex; align-items: center; gap: .35rem; flex: none; }
.bk-ui .bk-stepper button { width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; border: 1px solid var(--bk-line-strong); background: var(--bk-elev); color: var(--bk-strong); font: inherit; font-size: 1.3rem; font-weight: 600; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: none; }
.bk-ui .bk-stepper input { width: 56px; height: 40px; margin: 0; padding: 0 .2rem; text-align: center; font: inherit; font-weight: 700; font-size: 1.05rem; border-radius: 12px; border: 1px solid var(--bk-line-strong); background: var(--bk-bg); color: var(--bk-strong); -moz-appearance: textfield; }
.bk-ui .bk-stepper input::-webkit-outer-spin-button, .bk-ui .bk-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-field { display: flex; flex-direction: column; gap: .35rem; margin: .9rem 0 0; }
.bk-field label { font-weight: 700; font-size: .92rem; color: var(--bk-strong); margin: 0; }
.bk-ui .bk-field input, .bk-ui .bk-field textarea { width: 100%; height: auto; margin: 0; padding: .65rem .8rem; border-radius: 12px; border: 1px solid var(--bk-line-strong); background: var(--bk-bg); color: var(--bk-text); font: inherit; }
.bk-ui .bk-field input { min-height: 44px; }
.bk-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.1rem 0 .9rem; font-size: 1.05rem; }
.bk-total strong { font-size: 1.5rem; color: var(--bk-strong); }
.bk-success { text-align: center; }
.bk-success .bk-row { justify-content: center; }
.bk-check { width: 64px; height: 64px; margin: 0 auto .8rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: #fff; background: #16a34a; }
.bk-check.ko { background: #dc2626; }

/* ---------- mon compte ---------- */
.bk-tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .3rem; margin-bottom: 1.1rem; scrollbar-width: thin; }
.bk-ui .bk-tabs button { flex: none; margin: 0; width: auto; min-height: 40px; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--bk-line-strong); background: transparent; color: var(--bk-text); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; box-shadow: none; }
.bk-ui .bk-tabs button.on { background: var(--bk-inv); color: var(--bk-inv-text); border-color: var(--bk-inv); }
.bk-tabs button span { display: inline-block; min-width: 1.4em; padding: 0 .35em; margin-left: .25em; border-radius: 999px; background: color-mix(in srgb, currentColor 18%, transparent); font-size: .78rem; }
.bk-list { display: flex; flex-direction: column; gap: .7rem; }
.bk-item { display: grid; grid-template-columns: auto 1fr; gap: .4rem .9rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--bk-line); border-radius: 18px; background: var(--bk-elev); }
.bk-item-main { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.bk-item-main strong { color: var(--bk-strong); }
.bk-item-main > span { font-size: .92rem; }
.bk-item-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.bk-item-msg { grid-column: 1 / -1; }
.bk-item-msg:empty { display: none; }
@media (min-width: 640px) {
  .bk-item { grid-template-columns: auto 1fr auto; }
  .bk-item-act { grid-column: auto; justify-content: flex-end; }
}
.bk-passes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.bk-pass { padding: 1.2rem; border-radius: 20px; border: 1px solid var(--bk-line); background: var(--bk-elev); box-shadow: var(--bk-shadow); }
.bk-pass.is-off { opacity: .7; box-shadow: none; }
.bk-pass-top { display: flex; justify-content: space-between; gap: 1rem; }
.bk-pass-top h3 { font-size: 1.15rem; }
.bk-pass-count { text-align: right; line-height: 1; }
.bk-pass-count strong { font-size: 2.3rem; color: var(--bk-strong); }
.bk-pass-count span { color: var(--bk-muted); font-weight: 700; }
.bk-meter { height: 9px; border-radius: 999px; background: var(--bk-soft); overflow: hidden; margin: .9rem 0 .5rem; }
.bk-meter span { display: block; height: 100%; background: linear-gradient(90deg, #22c55e, #16a34a); border-radius: 999px; }
.bk-pass details { margin-top: .6rem; }
.bk-pass summary { cursor: pointer; font-weight: 700; font-size: .9rem; }
.bk-moves { list-style: none; margin: .5rem 0 0; padding: 0; font-size: .88rem; }
.bk-moves li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--bk-line); list-style: none; }
.bk-moves .plus { color: var(--bk-ok); }
.bk-moves .minus { color: var(--bk-muted); }
.bk-card-flat { padding: 1.2rem; border: 1px solid var(--bk-line); border-radius: 20px; background: var(--bk-elev); max-width: 640px; }
.bk-dl { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0 0 1rem; }
.bk-dl dt { color: var(--bk-muted); font-weight: 600; }
.bk-dl dd { margin: 0; color: var(--bk-strong); word-break: break-word; }
.bk-check-row { display: flex; align-items: center; gap: .6rem; margin: 1rem 0; font-size: .95rem; }
.bk-ui .bk-check-row input { width: 20px; height: 20px; margin: 0; flex: none; }
.bk-table-wrap { overflow-x: auto; border: 1px solid var(--bk-line); border-radius: 16px; }
.bk-ui .bk-table { width: 100%; border-collapse: collapse; margin: 0; font-size: .93rem; }
.bk-ui .bk-table th, .bk-ui .bk-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--bk-line); text-align: left; background: transparent; color: var(--bk-text); }
.bk-ui .bk-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bk-muted); }
.bk-ui .bk-table .num { text-align: right; white-space: nowrap; }

/* ---------- paiement ---------- */
.bk-narrow { max-width: 520px; margin: 1rem auto; }
.bk-paycard { text-align: center; padding: 2rem 1.4rem; border: 1px solid var(--bk-line); border-radius: 24px; background: var(--bk-elev); box-shadow: var(--bk-shadow); }
.bk-paycard h1 { font-size: 1.9rem; margin: .2rem 0 .6rem; }
.bk-paycard .bk-row { justify-content: center; }
.bk-spinner { width: 44px; height: 44px; margin: 0 auto 1rem; border-radius: 50%; border: 4px solid var(--bk-soft); border-top-color: var(--bk-inv); animation: bk-spin .9s linear infinite; }
@keyframes bk-spin { to { transform: rotate(360deg); } }

/* ---------- connexion / inscription ---------- */
.bk-auth { display: flex; justify-content: center; padding: 1rem 0 2rem; }
.bk-auth-card { width: 100%; max-width: 520px; padding: 1.6rem 1.4rem; border: 1px solid var(--bk-line); border-radius: 24px; background: var(--bk-elev); box-shadow: var(--bk-shadow); }
.bk-auth-card h1 { font-size: 1.8rem; letter-spacing: -.015em; margin: .1rem 0 .6rem; color: var(--bk-strong); }
.bk-auth-intro { color: var(--bk-muted); font-size: .95rem; margin-bottom: 1rem; }
.bk-auth-intro p { margin: 0; }
.bk-auth-alt { margin: 1.2rem 0 0; text-align: center; color: var(--bk-muted); }
.bk-auth-alt a { font-weight: 700; color: var(--bk-strong); }
.bk-auth .form-field { margin-bottom: .9rem; }
.bk-auth label { font-weight: 700; font-size: .92rem; color: var(--bk-strong); }
.bk-auth input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { border-radius: 12px; }
.bk-auth .form-label-wrapper, .bk-auth .form-label { margin-bottom: .3rem; }
.bk-auth .checkboxes label, .bk-auth .form-input-wrapper label { font-weight: 500; }
.bk-auth [type=submit], .bk-auth .button { border-radius: 999px; font-weight: 700; }
.bk-auth #grav-login, .bk-auth .login-form { box-shadow: none; border: 0; background: transparent; padding: 0; margin: 0; max-width: none; }
.bk-auth h1 + .form-field { margin-top: 1rem; }

/* ---------- divers mobile ---------- */
@media (max-width: 520px) {
  .bk-occ { flex-wrap: wrap; }
  .bk-occ-act { width: 100%; }
  .bk-occ-act .bk-btn { width: 100%; }
  .bk-brand-name { font-size: .95rem; max-width: 11rem; }
  .bk-cover { height: 150px; }
}
@media (prefers-reduced-motion: reduce) { .bk-card, .bk-modal-panel, .bk-modal-backdrop, .bk-ui .bk-btn { transition: none; } .bk-skel { animation: none; } }
