/* RAPZODY V15.36 — PASS DE COMBAT (pass.js)
   Même identité que le jeu (Inter, noir, rouge Rapzody, or). Couleurs de la saison : --p1, --p2.
   Raretés : commun (gris), rare (bleu), épique (violet), légendaire (or). Téléphone d'abord. */

.bp { --p1: #ff202b; --p2: #ffc857;
    --r-c: #8b909a; --r-r: #3fa9ff; --r-e: #b46bff; --r-l: #ffc23a;
    --bp-panel: #111115; --bp-line: rgba(255,255,255,.08); --bp-mut: #9a9aa3;
    --col: 96px; --tile-h: 120px; --node: 32px;
    display: grid; gap: 14px; padding-bottom: 8px; }
.bp h1, .bp h2, .bp h3 { text-shadow: none; }
.bp .card { margin: 0; }
.bp svg { display: block; }

/* ---------- Barres ---------- */
.bp-bar { position: relative; display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.bp-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--p1), var(--p2)); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.bp-bar.big { height: 10px; box-shadow: inset 0 1px 2px rgba(0,0,0,.5); }

/* ---------- Boutons ---------- */
.bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: #1c1c22; color: #fff; font: 800 14px/1 Inter, sans-serif; cursor: pointer; transition: transform .12s, filter .15s, background .15s; }
.bp-btn:hover { background: #24242b; }
.bp-btn:active { transform: scale(.97); }
.bp-btn svg { width: 16px; height: 16px; }
.bp-btn.gold { border: 0; background: linear-gradient(180deg, #ffd978, #f5b52e); color: #1a1200; box-shadow: 0 6px 20px rgba(255,194,58,.3), inset 0 1px 0 rgba(255,255,255,.6); }
.bp-btn.gold:hover { filter: brightness(1.06); }
.bp-btn.prem { border-color: rgba(255,194,58,.5); color: #ffd978; background: rgba(255,194,58,.08); }
.bp-btn.wide { width: 100%; min-height: 50px; font-size: 15px; }
.bp-btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; filter: grayscale(.4); }

/* ---------- En-tête de saison ---------- */
.bp-hero { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.1);
    background: radial-gradient(130% 120% at 0% 0%, color-mix(in srgb, var(--p1) 38%, transparent), transparent 55%),
                radial-gradient(100% 90% at 100% 100%, color-mix(in srgb, var(--p2) 18%, transparent), transparent 60%), #0b0b0e; }
.bp-hero-bg i { position: absolute; top: -50%; width: 26%; height: 200%; background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 60%); transform: rotate(22deg); }
.bp-hero-bg i:nth-child(1) { left: 10%; } .bp-hero-bg i:nth-child(2) { left: 46%; opacity: .6; } .bp-hero-bg i:nth-child(3) { left: 80%; opacity: .4; }
.bp-hero-in { position: relative; padding: 18px 16px 16px; }
.bp-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bp-kicker { display: inline-flex; align-items: center; gap: 7px; color: #fff; font: 900 11px/1 Inter, sans-serif; letter-spacing: .16em; }
.bp-kicker svg { width: 16px; height: 16px; color: var(--p2); }
.bp-timer { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 99px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.1); color: #e6e6ea; font: 800 12px/1 Inter, sans-serif; font-variant-numeric: tabular-nums; }
.bp-timer i { width: 7px; height: 7px; border-radius: 50%; background: #42e695; box-shadow: 0 0 8px #42e695; }
.bp-hero h1 { margin: 14px 0 18px; color: #fff; font: italic 900 clamp(34px, 9vw, 56px)/.95 Inter, sans-serif !important; letter-spacing: -.045em; }
.bp-level { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.bp-medal-lvl { position: relative; display: grid; place-items: center; width: 68px; height: 74px; clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%);
    background: linear-gradient(160deg, color-mix(in srgb, var(--p2) 85%, #fff), var(--p1) 70%); }
.bp-medal-lvl::before { content: ""; position: absolute; inset: 3px; clip-path: inherit; background: linear-gradient(160deg, #1a1a20, #0a0a0d); }
.bp-medal-lvl small, .bp-medal-lvl b, .bp-medal-lvl em { position: relative; }
.bp-medal-lvl small { position: absolute; top: 15px; color: var(--p2); font: 900 8px/1 Inter, sans-serif; letter-spacing: .16em; }
.bp-medal-lvl b { margin-top: 10px; color: #fff; font: 900 30px/1 Inter, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.bp-medal-lvl em { position: absolute; bottom: 6px; color: var(--p2); font: 900 10px/1 Inter, sans-serif; font-style: normal; }
.bp-level-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.bp-level-row span { color: #cfcfd6; font: 700 13px/1 Inter, sans-serif; }
.bp-level-row b { color: #fff; font: 900 15px/1 Inter, sans-serif; font-variant-numeric: tabular-nums; }
.bp-level-row small { color: var(--bp-mut); font-weight: 700; font-size: 12px; }
.bp-level-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.bp-level-tags span { padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.06); color: #b5b5bd; font: 800 10.5px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.bp-level-tags span.on { background: linear-gradient(180deg, #ffd978, #f5b52e); color: #1a1200; }
.bp-claim-all { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin-top: 16px; border: 0; border-radius: 14px;
    background: linear-gradient(180deg, #ffd978, #f5b52e); color: #1a1200; font: 900 15px/1 Inter, sans-serif; cursor: pointer; box-shadow: 0 8px 26px rgba(255,194,58,.35), inset 0 1px 0 rgba(255,255,255,.6); }
.bp-claim-all b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: #1a1200; color: #ffd978; font-size: 12px; }
.bp-claim-all:active { transform: scale(.985); }

/* ---------- Aperçu de la récompense choisie ---------- */
.bp-spot { --rc: var(--r-c); position: relative; overflow: hidden; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border-radius: 20px;
    background: radial-gradient(90% 120% at 0% 50%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 65%), var(--bp-panel); border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent); }
.bp-spot.r-r { --rc: var(--r-r); } .bp-spot.r-e { --rc: var(--r-e); } .bp-spot.r-l { --rc: var(--r-l); }
.bp-spot-vis { display: grid; place-items: center; min-height: 112px; }
.bp-spot-vis > svg, .bp-spot-vis > .bp-ico, .bp-spot-vis > .bp-medal, .bp-spot-vis > .bp-item { width: 96px; height: 96px; }
.bp-spot.big { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.bp-spot.big .bp-spot-vis { width: min(230px, 70vw); }
.bp-spot.big .bp-mini { width: 100%; }
.bp-spot-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bp-spot.big .bp-spot-tags, .bp-spot.big .bp-spot-act { justify-content: center; }
.bp-rar { padding: 4px 8px; border-radius: 6px; font: 900 10px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #0b0b0e; background: var(--r-c); }
.bp-rar.r-r { background: var(--r-r); } .bp-rar.r-e { background: var(--r-e); color: #fff; } .bp-rar.r-l { background: linear-gradient(90deg, #ffe7a0, var(--r-l)); }
.bp-where { color: var(--bp-mut); font: 700 12px/1 Inter, sans-serif; }
.bp-spot h2 { margin: 8px 0 6px; color: #fff; font: 900 21px/1.15 Inter, sans-serif; letter-spacing: -.02em; }
.bp-spot p { margin: 0; color: #b9b9c1; font-size: 13.5px; line-height: 1.45; }
.bp-spot-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.bp-need { color: #cfcfd6; font: 700 13px/1 Inter, sans-serif; } .bp-need b { color: #fff; }
.bp-owned { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; background: rgba(66,230,149,.12); color: #7df0b6; font: 800 13px/1 Inter, sans-serif; }
.bp-owned svg { width: 14px; height: 14px; }
.bp-owned.eq { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Visuels des récompenses ---------- */
.bp-ico { display: grid; place-items: center; font-size: 40px; line-height: 1; }
.bp-medal { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-size: 30px; line-height: 1;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.25), rgba(0,0,0,.6) 70%); border: 3px solid var(--r-e); box-shadow: 0 0 18px color-mix(in srgb, var(--r-e) 45%, transparent), inset 0 0 10px rgba(0,0,0,.6); }
.bp-spot .bp-medal { font-size: 48px; }
.bp-item { display: grid; place-items: center; overflow: hidden; border-radius: 12px; }
.bp-item > * { max-width: 100%; max-height: 100%; }
.bp-mini { display: block; width: 100%; pointer-events: none; }
.bp-mini .rzk { max-width: none !important; }

/* ---------- Piste des paliers ---------- */
.bp-pass { padding: 16px 0 12px; border-radius: 20px; background: var(--bp-panel); border: 1px solid var(--bp-line); overflow: hidden; }
.bp-pass-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px 12px; }
.bp-pass-head h2, .bp-sec-head h2, .bp-coll h2 { margin: 0; color: #fff; font: 900 17px/1.2 Inter, sans-serif; letter-spacing: -.01em; }
.bp-legend { display: flex; gap: 10px; }
.bp-legend span { display: inline-flex; align-items: center; gap: 5px; color: var(--bp-mut); font: 700 11px/1 Inter, sans-serif; }
.bp-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--r-c); }
.bp-legend .r-r::before { background: var(--r-r); } .bp-legend .r-e::before { background: var(--r-e); } .bp-legend .r-l::before { background: var(--r-l); }
@media (max-width: 420px) { .bp-legend { display: none; } }

.bp-rows { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); }
.bp-labels { display: grid; grid-template-rows: var(--tile-h) calc(var(--node) + 20px) var(--tile-h); padding: 4px 0 0 6px; }
.bp-labels span { display: flex; align-items: center; justify-content: center; gap: 4px; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--bp-mut); font: 900 10px/1 Inter, sans-serif; letter-spacing: .2em; }
.bp-labels span:last-child { grid-row: 3; }
.bp-labels .prem { color: var(--r-l); }
.bp-labels svg { width: 12px; height: 12px; transform: rotate(90deg); }
.bp-scroll { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; padding: 4px 16px 10px 8px; -webkit-overflow-scrolling: touch; }
.bp-scroll::-webkit-scrollbar { height: 6px; } .bp-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 9px; }
.bp-cols { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: var(--col); width: calc(var(--col) * var(--n)); }
.bp-rail { position: absolute; left: 0; right: 0; top: calc(var(--tile-h) + 10px + var(--node) / 2 - 2px); height: 4px; background: rgba(255,255,255,.08); border-radius: 9px; }
.bp-rail i { position: absolute; left: calc(var(--col) / 2); top: 0; bottom: 0; max-width: calc(100% - var(--col) / 2); border-radius: inherit; background: linear-gradient(90deg, var(--p1), var(--p2)); box-shadow: 0 0 12px color-mix(in srgb, var(--p2) 55%, transparent); }
.bp-col { display: grid; grid-template-rows: var(--tile-h) calc(var(--node) + 20px) var(--tile-h); justify-items: center; align-items: center; padding: 0 4px; scroll-snap-align: center; }
.bp-node { position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%; background: #1b1b21; border: 2px solid rgba(255,255,255,.14); color: #8a8a93; font: 900 12px/1 Inter, sans-serif; font-variant-numeric: tabular-nums; }
.bp-col.mile .bp-node { width: calc(var(--node) + 8px); height: calc(var(--node) + 8px); border-color: color-mix(in srgb, var(--r-l) 60%, transparent); color: var(--r-l); font-size: 13px; }
.bp-col.on .bp-node { background: linear-gradient(160deg, var(--p2), var(--p1)); border-color: transparent; color: #fff; }
.bp-col.cur .bp-node { background: #fff; border-color: var(--p2); color: #111; box-shadow: 0 0 0 5px color-mix(in srgb, var(--p2) 30%, transparent); }
.bp-col.bonus .bp-node { font-size: 16px; }

.bp-tile { --rc: var(--r-c); position: relative; width: 100%; height: var(--tile-h); display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; padding: 10px 6px 9px; border-radius: 14px; cursor: pointer; text-align: center;
    background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 20%, #17171c), #141418 70%); border: 1px solid color-mix(in srgb, var(--rc) 38%, transparent); color: #fff; font: inherit;
    transition: transform .15s, border-color .15s, box-shadow .15s; }
.bp-tile.r-r { --rc: var(--r-r); } .bp-tile.r-e { --rc: var(--r-e); } .bp-tile.r-l { --rc: var(--r-l); }
.bp-tile.r-l { background: linear-gradient(180deg, color-mix(in srgb, var(--r-l) 30%, #17171c), #16130c 75%); }
.bp-tile::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--rc); opacity: .9; }
.bp-tile:hover { transform: translateY(-2px); }
.bp-tile.sel { border-color: #fff; box-shadow: 0 0 0 2px #fff, 0 10px 24px rgba(0,0,0,.5); }
.bp-tile.empty { background: transparent; border: 1px dashed rgba(255,255,255,.05); cursor: default; }
.bp-tile.empty::after { display: none; }
.bp-tile-vis { display: grid; place-items: center; min-height: 0; overflow: hidden; }
.bp-tile-vis > svg { width: 50px; height: 50px; }
.bp-tile-vis .bp-ico { font-size: 34px; }
.bp-tile-vis .bp-medal { width: 50px; font-size: 24px; border-width: 2px; }
.bp-tile-vis .bp-item { width: 64px; height: 64px; }
.bp-tile.cos .bp-tile-vis { align-items: start; }
.bp-tile.cos .bp-mini { width: 62px; margin-top: -4px; }
.bp-tile-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #e6e6ea; font: 800 11px/1.2 Inter, sans-serif; overflow-wrap: anywhere; }
.bp-st { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; }
.bp-st svg { width: 12px; height: 12px; }
.bp-st.ok { background: #42e695; color: #062b18; }
.bp-st.lock { background: rgba(0,0,0,.7); color: #ffd978; border: 1px solid rgba(255,194,58,.4); }
.bp-st.new { top: -4px; right: -4px; width: 14px; height: 14px; background: var(--r-l); border: 2px solid var(--bp-panel); box-shadow: 0 0 10px var(--r-l); }
.bp-tile.s-claimed .bp-tile-vis, .bp-tile.s-claimed .bp-tile-name { opacity: .45; }
.bp-tile.s-locked .bp-tile-vis { filter: saturate(.55) brightness(.8); }
.bp-tile.s-future { opacity: .82; }
.bp-tile.s-ready { border-color: var(--r-l); box-shadow: 0 0 0 1px var(--r-l), 0 0 18px color-mix(in srgb, var(--r-l) 35%, transparent); animation: bpReady 2s ease-in-out infinite; }
@keyframes bpReady { 50% { box-shadow: 0 0 0 1px var(--r-l), 0 0 28px color-mix(in srgb, var(--r-l) 55%, transparent); } }

/* ---------- Premium ---------- */
.bp-prem { position: relative; overflow: hidden; display: grid; gap: 4px; padding: 18px 16px 16px; border-radius: 22px; border: 1px solid rgba(255,194,58,.45);
    background: radial-gradient(120% 80% at 50% 0%, rgba(255,194,58,.18), transparent 60%), linear-gradient(180deg, #17130a, #0d0c09); }
.bp-prem-art { position: relative; height: 170px; margin: -2px auto 6px; width: 100%; max-width: 360px; }
.bp-fan { position: absolute; top: 4px; left: 50%; width: 112px; transform-origin: 50% 120%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.bp-fan.f0 { transform: translateX(-125%) rotate(-12deg); }
.bp-fan.f1 { transform: translateX(-50%) translateY(-6px); z-index: 2; width: 122px; }
.bp-fan.f2 { transform: translateX(25%) rotate(12deg); }
.bp-prem-k { display: inline-flex; align-items: center; gap: 6px; color: #ffd978; font: 900 11px/1 Inter, sans-serif; letter-spacing: .16em; }
.bp-prem-k svg { width: 14px; height: 14px; }
.bp-prem h2 { margin: 8px 0 10px; color: #fff; font: italic 900 24px/1.1 Inter, sans-serif; letter-spacing: -.03em; }
.bp-prem-txt ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.bp-prem-txt li { position: relative; padding-left: 22px; color: #cfcab8; font-size: 13.5px; line-height: 1.4; }
.bp-prem-txt li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2.5px solid #ffd978; border-bottom: 2.5px solid #ffd978; transform: rotate(-45deg); }
.bp-prem-txt li b { color: #fff; }
.bp-prem small { display: block; margin-top: 10px; color: #9f9a88; font-size: 12px; text-align: center; }
.bp-prem small b { color: #ffd978; }
@media (min-width: 760px) {
    .bp-prem { grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 24px; padding: 22px 26px; }
    .bp-prem-art { height: 190px; margin: 0; }
    .bp-prem small { text-align: left; }
}

/* ---------- Sections communes ---------- */
.bp-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bp-sec-head span { color: var(--bp-mut); font: 700 12.5px/1 Inter, sans-serif; }

/* ---------- Défis de la semaine ---------- */
.bp-weeks { padding: 16px; }
.bp-wk-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 12px 0; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.04); }
.bp-wk-tabs button { min-height: 34px; border: 0; border-radius: 9px; background: transparent; color: #b5b5bd; font: 800 12px/1 Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.bp-wk-tabs button.on { background: #fff; color: #111; }
.bp-wk-tabs button.lock:not(.on), .bp-wk-tabs button.past:not(.on) { color: #6f6f78; }
.bp-wk-msg { display: flex; align-items: center; gap: 8px; margin: 4px 0; color: #b5b5bd; font-size: 13.5px; }
.bp-wk-msg svg { width: 16px; height: 16px; color: var(--bp-mut); }
.bp-wk-msg b { color: #fff; }
.bp-chal { list-style: none; margin: 0; padding: 0; display: grid; }
.bp-chal li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--bp-line); }
.bp-chal li:first-child { border-top: 0; }
.bp-chal-i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 18px; }
.bp-chal-i svg { width: 16px; height: 16px; }
.bp-chal li.done .bp-chal-i { background: rgba(66,230,149,.14); color: #42e695; }
.bp-chal-b b { display: block; color: #fff; font: 700 13.5px/1.3 Inter, sans-serif; }
.bp-chal li.done .bp-chal-b b { color: #8d8d96; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.bp-chal-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 7px; }
.bp-chal-row small { color: var(--bp-mut); font: 800 11.5px/1 Inter, sans-serif; font-variant-numeric: tabular-nums; }
.bp-xp { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--p2) 40%, transparent); background: color-mix(in srgb, var(--p2) 10%, transparent); color: var(--p2); font: 900 12px/1 Inter, sans-serif; font-style: normal; white-space: nowrap; cursor: pointer; }
.bp-xp span { font-size: 15px; margin-left: 2px; }
.bp-xp.done { border-color: transparent; background: rgba(66,230,149,.1); color: #42e695; cursor: default; }

/* ---------- Ta carte (collection) ---------- */
.bp-coll { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; }
.bp-coll-card { padding-top: 4px; }
.bp-coll-card .rzk { max-width: none !important; }
.bp-coll p { margin: 6px 0 12px; color: var(--bp-mut); font-size: 13px; line-height: 1.4; }
.bp-coll h3 { margin: 12px 0 8px; color: #cfcfd6; font: 900 11px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.bp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: #18181d; color: #e6e6ea; font: 700 12.5px/1 Inter, sans-serif; cursor: pointer; }
.bp-chip svg { width: 13px; height: 13px; }
.bp-chip.on { background: #fff; color: #111; border-color: #fff; }
.bp-chip.lock { cursor: default; color: #6f6f78; border-style: dashed; background: transparent; flex-direction: row; }
.bp-chip.lock small { color: #5d5d66; font-size: 10.5px; font-weight: 700; }
@media (max-width: 480px) {
    .bp-coll { grid-template-columns: minmax(0, 1fr); }
    .bp-coll-card { width: 170px; margin: 0 auto; }
}

/* ---------- Boosts ---------- */
.bp-boost { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; }
.bp-boost-i svg { width: 44px; height: 44px; }
.bp-boost b { display: block; color: #fff; font: 900 15px/1.2 Inter, sans-serif; }
.bp-boost small { display: block; margin-top: 3px; color: var(--bp-mut); font-size: 12.5px; line-height: 1.4; }

/* ---------- Aide ---------- */
.bp-help { padding: 14px 16px; }
.bp-help summary { cursor: pointer; color: #fff; font: 800 14px/1.3 Inter, sans-serif; }
.bp-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 12px 0; }
.bp-help-grid div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); }
.bp-help-grid b { display: block; color: var(--p2); font: 900 18px/1.1 Inter, sans-serif; font-variant-numeric: tabular-nums; }
.bp-help-grid span { display: block; margin-top: 4px; color: #b5b5bd; font-size: 12px; line-height: 1.3; }
.bp-help p { margin: 0; color: var(--bp-mut); font-size: 12.5px; line-height: 1.5; }

/* ---------- Carte de l'accueil ---------- */
.bp-dash { --p1: #ff202b; --p2: #ffc857; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; cursor: pointer; font: inherit; text-align: left; color: #fff;
    border: 1px solid color-mix(in srgb, var(--p1) 35%, transparent); background: linear-gradient(110deg, color-mix(in srgb, var(--p1) 18%, #111114), #111114 60%); }
.bp-dash:active { transform: scale(.99); }
.bp-dash.ready { border-color: #ffc23a; box-shadow: 0 0 20px rgba(255,194,58,.2); }
.bp-dash-lvl { display: grid; place-items: center; width: 48px; height: 52px; clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%); background: linear-gradient(160deg, var(--p2), var(--p1)); }
.bp-dash-lvl small { margin-top: 8px; font: 900 7px/1 Inter, sans-serif; letter-spacing: .14em; color: rgba(255,255,255,.85); }
.bp-dash-lvl b { margin-top: -10px; font: 900 20px/1 Inter, sans-serif; }
.bp-dash-main { display: grid; gap: 7px; min-width: 0; }
.bp-dash-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.bp-dash-top b { font: 900 14px/1.2 Inter, sans-serif; }
.bp-dash-top em { color: var(--bp-mut, #9a9aa3); font: 700 11.5px/1 Inter, sans-serif; font-style: normal; white-space: nowrap; }
.bp-dash-next { overflow: hidden; color: #c9c9d0; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.bp-hot { color: #ffc23a; }
.bp-dash-go { color: #7d7d84; font-size: 24px; line-height: 1; }
.pass-count { background: #ffc23a !important; color: #1a1200 !important; }

/* ---------- Bandeau ---------- */
#passBanner { box-sizing: border-box; position: fixed; z-index: 389; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 16px;
    background: linear-gradient(180deg, #1b1710, #120f0a); border: 1px solid rgba(255,194,58,.6); box-shadow: 0 14px 34px rgba(0,0,0,.6), 0 0 28px rgba(255,194,58,.18);
    transform: translate(-50%, 14px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s; }
#passBanner.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .35s cubic-bezier(.2,.9,.3,1.3), opacity .2s ease; }
#passBanner.pb-fire { border-color: rgba(255,106,26,.7); background: linear-gradient(180deg, #1d120c, #120b08); }
#passBanner.pb-legend { border-color: #ffd978; background: linear-gradient(110deg, #2a1f08, #120f0a 60%); box-shadow: 0 14px 34px rgba(0,0,0,.6), 0 0 36px rgba(255,194,58,.4); }
#passBanner .pb-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,194,58,.14); color: #ffd978; }
#passBanner .pb-ico svg { width: 20px; height: 20px; }
#passBanner .pb-main { display: grid; gap: 2px; min-width: 0; flex: 1; }
#passBanner .pb-main b { color: #fff; font: 900 13px/1.25 Inter, sans-serif; letter-spacing: .04em; }
#passBanner .pb-main small { color: #cfcab8; font-size: 12px; line-height: 1.35; }
#passBanner button { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 0; background: #ffd978; color: #1a1200; font: 900 12px/1 Inter, sans-serif; cursor: pointer; white-space: nowrap; }
@media (min-width: 900px) { #passBanner { bottom: 24px; } }

/* ---------- Ordinateur ---------- */
@media (min-width: 760px) {
    .bp { --col: 120px; --tile-h: 140px; }
    .bp-hero-in { padding: 24px 26px 22px; }
    .bp-level { max-width: 560px; }
    .bp-claim-all { max-width: 320px; }
    .bp-spot { grid-template-columns: 150px minmax(0, 1fr); padding: 20px 22px; }
    .bp-spot.big { grid-template-columns: 220px minmax(0, 1fr); justify-items: stretch; text-align: left; }
    .bp-spot.big .bp-spot-tags, .bp-spot.big .bp-spot-act { justify-content: flex-start; }
    .bp-spot.big .bp-spot-vis { width: 100%; }
    .bp-spot-vis > svg, .bp-spot-vis > .bp-ico, .bp-spot-vis > .bp-medal, .bp-spot-vis > .bp-item { width: 120px; height: 120px; }
    .bp-coll { grid-template-columns: 170px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    #passBanner, #passBanner.on { transition: none; }
    .bp-tile.s-ready { animation: none; }
    .bp-bar > i { transition: none; }
}

/* ---------- Titres (plaque) ---------- */

/* ---------- V15.36 : images générées (Higgsfield) ---------- */
.bp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; opacity: .9; }
.bp-hero-img + .bp-hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,8,.92) 0%, rgba(6,6,8,.7) 45%, rgba(6,6,8,.15) 100%), linear-gradient(0deg, rgba(6,6,8,.85), transparent 55%); }
.bp-hero-img + .bp-hero-bg i { display: none; }
@media (max-width: 759px) { .bp-hero-img { object-position: 82% 40%; opacity: .75; } }
.bp-ic { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.bp-ic > img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; }
.bp-ic > svg { display: none; width: 100%; height: 100%; }
.bp-ic.noimg > svg { display: block; }
.bp-tile-vis > .bp-ic { width: 58px; height: 58px; }
.bp-spot-vis > .bp-ic { width: 112px; height: 112px; }
.bp-boost-i .bp-ic { width: 44px; height: 44px; }
@media (min-width: 760px) { .bp-spot-vis > .bp-ic { width: 130px; height: 130px; } }
/* plaque de titre (image) : le nom du titre s'affiche sous la case, comme les autres récompenses */
.bp-plate { display: block; width: 92%; aspect-ratio: 520 / 170; padding: 0; border: 0; border-radius: 0; background: url("/static/pass/plate.webp") center / contain no-repeat; box-shadow: none; }
.bp-plate.leg { filter: drop-shadow(0 0 10px rgba(255,194,58,.45)); }

/* ---------- Premium par parrainage : progression des 5 potes ---------- */
.bp-ref { display: flex; gap: 8px; margin: 2px 0 10px; }
.bp-ref span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px dashed rgba(255,217,120,.35); color: #8f8a78; font: 900 14px/1 Inter, sans-serif; }
.bp-ref span.wait { border-style: solid; border-color: rgba(255,217,120,.6); color: #ffd978; }
.bp-ref span.on { border: 0; background: linear-gradient(180deg, #ffd978, #f5b52e); color: #1a1200; box-shadow: 0 0 14px rgba(255,194,58,.4); }
.bp-ref span svg { width: 18px; height: 18px; }
.bp-ref-txt { margin: 0 0 14px; color: #cfcab8; font-size: 13px; line-height: 1.45; }
.bp-ref-txt b { color: #fff; }

/* ---------- Contacts de légende ---------- */
.bp-contact { position: relative; display: grid; place-items: center; width: 56px; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #3a3a46, #121218 70%); border: 2px solid var(--r-r); box-shadow: 0 0 14px color-mix(in srgb, var(--r-r) 40%, transparent); }
.bp-contact.t4 { border-color: var(--r-e); box-shadow: 0 0 14px color-mix(in srgb, var(--r-e) 45%, transparent); }
.bp-contact.t5 { border-color: var(--r-l); box-shadow: 0 0 16px color-mix(in srgb, var(--r-l) 50%, transparent); background: radial-gradient(circle at 35% 30%, #4a3d1a, #15120a 70%); }
.bp-contact b { color: #fff; font: 900 18px/1 Inter, sans-serif; letter-spacing: -.02em; }
.bp-contact i { position: absolute; bottom: -7px; padding: 2px 5px; border-radius: 99px; background: #0b0b0e; color: var(--r-l); font: 900 7px/1 Inter, sans-serif; font-style: normal; letter-spacing: .5px; white-space: nowrap; }
.bp-spot-vis > .bp-contact { width: 104px; }
.bp-spot-vis > .bp-contact b { font-size: 34px; }
.bp-spot-vis > .bp-contact i { font-size: 11px; bottom: -9px; }
